@biggive/components 202510071303.0.0 → 202510090844.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.
- package/dist/biggive/biggive-branded-image.entry.esm.js.map +1 -1
- package/dist/biggive/biggive-totalizer.entry.esm.js.map +1 -1
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/{p-fac022f5.entry.js → p-017213b7.entry.js} +2 -2
- package/dist/biggive/{p-85cef4a8.entry.js → p-02c185d8.entry.js} +2 -2
- package/dist/biggive/{p-61040e5b.entry.js → p-05d3e278.entry.js} +2 -2
- package/dist/biggive/{p-3730c93a.entry.js → p-08dc71b8.entry.js} +2 -2
- package/dist/biggive/{p-dc53ed01.entry.js → p-13ef6975.entry.js} +2 -2
- package/dist/biggive/{p-30cd947d.entry.js → p-189ba82e.entry.js} +2 -2
- package/dist/biggive/{p-439bcc0a.entry.js → p-21fe4b8b.entry.js} +2 -2
- package/dist/biggive/{p-439bcc0a.entry.js.map → p-21fe4b8b.entry.js.map} +1 -1
- package/dist/biggive/p-305de854.entry.js +2 -0
- package/dist/biggive/{p-b475a9cc.entry.js → p-370c3325.entry.js} +2 -2
- package/dist/biggive/{p-e6c4b911.entry.js → p-37d85d10.entry.js} +2 -2
- package/dist/biggive/{p-ffe152e6.entry.js → p-3b238cbe.entry.js} +2 -2
- package/dist/biggive/{p-77563d74.entry.js → p-3e0126fb.entry.js} +2 -2
- package/dist/biggive/{p-89357ab8.entry.js → p-40e8be63.entry.js} +2 -2
- package/dist/biggive/{p-e3c36f38.entry.js → p-50a8cbe1.entry.js} +2 -2
- package/dist/biggive/{p-49676468.entry.js → p-57e9e1c7.entry.js} +2 -2
- package/dist/biggive/{p-46ea0e58.entry.js → p-57f7d23a.entry.js} +2 -2
- package/dist/biggive/{p-e6c4653b.entry.js → p-584f5bcc.entry.js} +2 -2
- package/dist/biggive/{p-5691f35c.entry.js → p-5c5473c6.entry.js} +2 -2
- package/dist/biggive/{p-acb51be8.entry.js → p-5cd5f052.entry.js} +2 -2
- package/dist/biggive/{p-4af7f004.entry.js → p-5fc1d432.entry.js} +2 -2
- package/dist/biggive/{p-1a120921.entry.js → p-6c040c1b.entry.js} +2 -2
- package/dist/biggive/{p-9185da87.entry.js → p-6e551767.entry.js} +2 -2
- package/dist/biggive/{p-a8c92e59.entry.js → p-77a2e711.entry.js} +2 -2
- package/dist/biggive/{p-a158dbb6.entry.js → p-77f63565.entry.js} +2 -2
- package/dist/biggive/p-7e35c7ff.entry.js +2 -0
- package/dist/biggive/p-7e35c7ff.entry.js.map +1 -0
- package/dist/biggive/{p-94e7f420.entry.js → p-81f1c5a6.entry.js} +2 -2
- package/dist/biggive/{p-18139f5b.entry.js → p-8b251b74.entry.js} +2 -2
- package/dist/biggive/{p-45d6d77c.entry.js → p-965e8414.entry.js} +2 -2
- package/dist/biggive/{p-f7171576.entry.js → p-9759fb2e.entry.js} +2 -2
- package/dist/biggive/{p-3dbd9134.entry.js → p-998ff73a.entry.js} +2 -2
- package/dist/biggive/{p-4adf954f.entry.js → p-b1bbdf28.entry.js} +2 -2
- package/dist/biggive/{p-54698ce1.entry.js → p-b45154d7.entry.js} +2 -2
- package/dist/biggive/p-c13dbeed.entry.js +2 -0
- package/dist/biggive/{p-e087681b.entry.js → p-c5c201f7.entry.js} +2 -2
- package/dist/biggive/{p-e6b9567a.entry.js → p-ce345420.entry.js} +2 -2
- package/dist/biggive/{p-5550b80a.entry.js → p-d333acf0.entry.js} +2 -2
- package/dist/biggive/{p-748ac552.entry.js → p-d3d4dd66.entry.js} +2 -2
- package/dist/biggive/{p-c864528e.entry.js → p-d5d1f1b2.entry.js} +2 -2
- package/dist/biggive/{p-b02f33ce.entry.js → p-e52450dc.entry.js} +2 -2
- package/dist/biggive/{p-9846a411.entry.js → p-ead3ac43.entry.js} +2 -2
- package/dist/biggive/p-f3fabed1.entry.js +2 -0
- package/dist/biggive/{p-64152a84.entry.js → p-f7d78109.entry.js} +2 -2
- package/dist/cjs/biggive-branded-image.cjs.entry.js +2 -2
- package/dist/cjs/biggive-branded-image.entry.cjs.js.map +1 -1
- package/dist/cjs/biggive-button.cjs.entry.js +1 -1
- package/dist/cjs/biggive-call-to-action.cjs.entry.js +1 -1
- package/dist/cjs/biggive-campaign-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-campaign-highlights.cjs.entry.js +1 -1
- package/dist/cjs/biggive-container-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +2 -2
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/biggive-grid.cjs.entry.js +1 -1
- package/dist/cjs/biggive-heading-banner.cjs.entry.js +3 -3
- package/dist/cjs/biggive-heading.cjs.entry.js +1 -1
- package/dist/cjs/biggive-hero-image.cjs.entry.js +2 -2
- package/dist/cjs/biggive-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-button.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/biggive-image.cjs.entry.js +1 -1
- package/dist/cjs/biggive-main-menu.cjs.entry.js +1 -1
- package/dist/cjs/biggive-misc-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-column.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-columns.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-section.cjs.entry.js +2 -2
- package/dist/cjs/biggive-popup.cjs.entry.js +1 -1
- package/dist/cjs/biggive-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/biggive-quote.cjs.entry.js +3 -3
- package/dist/cjs/biggive-sheet.cjs.entry.js +1 -1
- package/dist/cjs/biggive-social-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -2
- package/dist/cjs/biggive-table.cjs.entry.js +2 -2
- package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
- package/dist/cjs/biggive-timeline.cjs.entry.js +2 -2
- package/dist/cjs/biggive-totalizer-ticker-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-totalizer.cjs.entry.js +2 -2
- package/dist/cjs/biggive-totalizer.entry.cjs.js.map +1 -1
- package/dist/cjs/biggive-video-feature.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/philco-footer.cjs.entry.js +1 -1
- package/dist/cjs/philco-main-menu.cjs.entry.js +1 -1
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +1 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +20 -1
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js.map +1 -1
- package/dist/collection/components/biggive-button/biggive-button.js +1 -1
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +1 -1
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +2 -2
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +1 -1
- package/dist/collection/components/biggive-container-card/biggive-container-card.js +1 -1
- package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +1 -1
- package/dist/collection/components/biggive-form/biggive-form.js +1 -1
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +2 -2
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +1 -1
- package/dist/collection/components/biggive-grid/biggive-grid.js +1 -1
- package/dist/collection/components/biggive-heading/biggive-heading.js +1 -1
- package/dist/collection/components/biggive-heading-banner/biggive-heading-banner.js +3 -3
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +2 -2
- package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +2 -2
- package/dist/collection/components/biggive-image/biggive-image.js +1 -1
- package/dist/collection/components/biggive-image-button/biggive-image-button.js +2 -2
- package/dist/collection/components/biggive-image-card/biggive-image-card.js +2 -2
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +1 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +1 -1
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +1 -1
- package/dist/collection/components/biggive-nav-group/biggive-nav-group.js +1 -1
- package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +1 -1
- package/dist/collection/components/biggive-page-column/biggive-page-column.js +1 -1
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +1 -1
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -2
- package/dist/collection/components/biggive-popup/biggive-popup.js +1 -1
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +1 -1
- package/dist/collection/components/biggive-quote/biggive-quote.js +3 -3
- package/dist/collection/components/biggive-sheet/biggive-sheet.js +1 -1
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +1 -1
- package/dist/collection/components/biggive-tab/biggive-tab.js +1 -1
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +2 -2
- package/dist/collection/components/biggive-table/biggive-table.js +2 -2
- package/dist/collection/components/biggive-text-input/biggive-text-input.js +1 -1
- package/dist/collection/components/biggive-timeline/biggive-timeline.js +2 -2
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +3 -2
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +1 -1
- package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +1 -1
- package/dist/collection/components/biggive-video/biggive-video.js +1 -1
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +1 -1
- package/dist/collection/components/philco-footer/philco-footer.js +1 -1
- package/dist/collection/components/philco-main-menu/philco-main-menu.js +1 -1
- package/dist/components/biggive-branded-image.js +3 -2
- package/dist/components/biggive-branded-image.js.map +1 -1
- package/dist/components/biggive-button2.js +1 -1
- package/dist/components/biggive-call-to-action.js +1 -1
- package/dist/components/biggive-campaign-card.js +2 -2
- package/dist/components/biggive-campaign-highlights.js +1 -1
- package/dist/components/biggive-container-card.js +1 -1
- package/dist/components/biggive-cookie-banner.js +1 -1
- package/dist/components/biggive-form-field-select2.js +2 -2
- package/dist/components/biggive-form.js +1 -1
- package/dist/components/biggive-formatted-text.js +1 -1
- package/dist/components/biggive-grid.js +1 -1
- package/dist/components/biggive-heading-banner.js +3 -3
- package/dist/components/biggive-heading.js +1 -1
- package/dist/components/biggive-hero-image.js +2 -2
- package/dist/components/biggive-icon-button.js +2 -2
- package/dist/components/biggive-image-button.js +2 -2
- package/dist/components/biggive-image-card.js +2 -2
- package/dist/components/biggive-image-feature.js +1 -1
- package/dist/components/biggive-image.js +1 -1
- package/dist/components/biggive-main-menu.js +1 -1
- package/dist/components/biggive-misc-icon2.js +1 -1
- package/dist/components/biggive-nav-group.js +1 -1
- package/dist/components/biggive-nav-item.js +1 -1
- package/dist/components/biggive-page-column.js +1 -1
- package/dist/components/biggive-page-columns.js +1 -1
- package/dist/components/biggive-page-section.js +2 -2
- package/dist/components/biggive-popup2.js +1 -1
- package/dist/components/biggive-progress-bar2.js +1 -1
- package/dist/components/biggive-quote.js +3 -3
- package/dist/components/biggive-sheet.js +1 -1
- package/dist/components/biggive-social-icon2.js +1 -1
- package/dist/components/biggive-tab.js +1 -1
- package/dist/components/biggive-tabbed-content.js +2 -2
- package/dist/components/biggive-table.js +2 -2
- package/dist/components/biggive-text-input.js +1 -1
- package/dist/components/biggive-timeline.js +2 -2
- package/dist/components/biggive-totalizer-ticker-item.js +1 -1
- package/dist/components/biggive-totalizer.js +2 -2
- package/dist/components/biggive-totalizer.js.map +1 -1
- package/dist/components/biggive-video-feature.js +1 -1
- package/dist/components/biggive-video.js +1 -1
- package/dist/components/philco-footer.js +1 -1
- package/dist/components/philco-main-menu.js +1 -1
- package/dist/esm/biggive-branded-image.entry.js +2 -2
- package/dist/esm/biggive-branded-image.entry.js.map +1 -1
- package/dist/esm/biggive-button.entry.js +1 -1
- package/dist/esm/biggive-call-to-action.entry.js +1 -1
- package/dist/esm/biggive-campaign-card.entry.js +2 -2
- package/dist/esm/biggive-campaign-highlights.entry.js +1 -1
- package/dist/esm/biggive-container-card.entry.js +1 -1
- package/dist/esm/biggive-cookie-banner.entry.js +1 -1
- package/dist/esm/biggive-form-field-select.entry.js +2 -2
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +1 -1
- package/dist/esm/biggive-grid.entry.js +1 -1
- package/dist/esm/biggive-heading-banner.entry.js +3 -3
- package/dist/esm/biggive-heading.entry.js +1 -1
- package/dist/esm/biggive-hero-image.entry.js +2 -2
- package/dist/esm/biggive-icon-button.entry.js +2 -2
- package/dist/esm/biggive-image-button.entry.js +2 -2
- package/dist/esm/biggive-image-card.entry.js +2 -2
- package/dist/esm/biggive-image-feature.entry.js +1 -1
- package/dist/esm/biggive-image.entry.js +1 -1
- package/dist/esm/biggive-main-menu.entry.js +1 -1
- package/dist/esm/biggive-misc-icon.entry.js +1 -1
- package/dist/esm/biggive-nav-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -1
- package/dist/esm/biggive-page-column.entry.js +1 -1
- package/dist/esm/biggive-page-columns.entry.js +1 -1
- package/dist/esm/biggive-page-section.entry.js +2 -2
- package/dist/esm/biggive-popup.entry.js +1 -1
- package/dist/esm/biggive-progress-bar.entry.js +1 -1
- package/dist/esm/biggive-quote.entry.js +3 -3
- package/dist/esm/biggive-sheet.entry.js +1 -1
- package/dist/esm/biggive-social-icon.entry.js +1 -1
- package/dist/esm/biggive-tab.entry.js +1 -1
- package/dist/esm/biggive-tabbed-content.entry.js +2 -2
- package/dist/esm/biggive-table.entry.js +2 -2
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-timeline.entry.js +2 -2
- package/dist/esm/biggive-totalizer-ticker-item.entry.js +1 -1
- package/dist/esm/biggive-totalizer.entry.js +2 -2
- package/dist/esm/biggive-totalizer.entry.js.map +1 -1
- package/dist/esm/biggive-video-feature.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/esm/biggive.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/philco-footer.entry.js +1 -1
- package/dist/esm/philco-main-menu.entry.js +1 -1
- package/dist/types/components/biggive-branded-image/biggive-branded-image.d.ts +5 -0
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.js +59 -58
- package/hydrate/index.mjs +59 -58
- package/package.json +1 -1
- package/dist/biggive/p-5b4f72a5.entry.js +0 -2
- package/dist/biggive/p-5b4f72a5.entry.js.map +0 -1
- package/dist/biggive/p-6de1208d.entry.js +0 -2
- package/dist/biggive/p-92a814c9.entry.js +0 -2
- package/dist/biggive/p-ecf38419.entry.js +0 -2
- /package/dist/biggive/{p-fac022f5.entry.js.map → p-017213b7.entry.js.map} +0 -0
- /package/dist/biggive/{p-85cef4a8.entry.js.map → p-02c185d8.entry.js.map} +0 -0
- /package/dist/biggive/{p-61040e5b.entry.js.map → p-05d3e278.entry.js.map} +0 -0
- /package/dist/biggive/{p-3730c93a.entry.js.map → p-08dc71b8.entry.js.map} +0 -0
- /package/dist/biggive/{p-dc53ed01.entry.js.map → p-13ef6975.entry.js.map} +0 -0
- /package/dist/biggive/{p-30cd947d.entry.js.map → p-189ba82e.entry.js.map} +0 -0
- /package/dist/biggive/{p-6de1208d.entry.js.map → p-305de854.entry.js.map} +0 -0
- /package/dist/biggive/{p-b475a9cc.entry.js.map → p-370c3325.entry.js.map} +0 -0
- /package/dist/biggive/{p-e6c4b911.entry.js.map → p-37d85d10.entry.js.map} +0 -0
- /package/dist/biggive/{p-ffe152e6.entry.js.map → p-3b238cbe.entry.js.map} +0 -0
- /package/dist/biggive/{p-77563d74.entry.js.map → p-3e0126fb.entry.js.map} +0 -0
- /package/dist/biggive/{p-89357ab8.entry.js.map → p-40e8be63.entry.js.map} +0 -0
- /package/dist/biggive/{p-e3c36f38.entry.js.map → p-50a8cbe1.entry.js.map} +0 -0
- /package/dist/biggive/{p-49676468.entry.js.map → p-57e9e1c7.entry.js.map} +0 -0
- /package/dist/biggive/{p-46ea0e58.entry.js.map → p-57f7d23a.entry.js.map} +0 -0
- /package/dist/biggive/{p-e6c4653b.entry.js.map → p-584f5bcc.entry.js.map} +0 -0
- /package/dist/biggive/{p-5691f35c.entry.js.map → p-5c5473c6.entry.js.map} +0 -0
- /package/dist/biggive/{p-acb51be8.entry.js.map → p-5cd5f052.entry.js.map} +0 -0
- /package/dist/biggive/{p-4af7f004.entry.js.map → p-5fc1d432.entry.js.map} +0 -0
- /package/dist/biggive/{p-1a120921.entry.js.map → p-6c040c1b.entry.js.map} +0 -0
- /package/dist/biggive/{p-9185da87.entry.js.map → p-6e551767.entry.js.map} +0 -0
- /package/dist/biggive/{p-a8c92e59.entry.js.map → p-77a2e711.entry.js.map} +0 -0
- /package/dist/biggive/{p-a158dbb6.entry.js.map → p-77f63565.entry.js.map} +0 -0
- /package/dist/biggive/{p-94e7f420.entry.js.map → p-81f1c5a6.entry.js.map} +0 -0
- /package/dist/biggive/{p-18139f5b.entry.js.map → p-8b251b74.entry.js.map} +0 -0
- /package/dist/biggive/{p-45d6d77c.entry.js.map → p-965e8414.entry.js.map} +0 -0
- /package/dist/biggive/{p-f7171576.entry.js.map → p-9759fb2e.entry.js.map} +0 -0
- /package/dist/biggive/{p-3dbd9134.entry.js.map → p-998ff73a.entry.js.map} +0 -0
- /package/dist/biggive/{p-4adf954f.entry.js.map → p-b1bbdf28.entry.js.map} +0 -0
- /package/dist/biggive/{p-54698ce1.entry.js.map → p-b45154d7.entry.js.map} +0 -0
- /package/dist/biggive/{p-92a814c9.entry.js.map → p-c13dbeed.entry.js.map} +0 -0
- /package/dist/biggive/{p-e087681b.entry.js.map → p-c5c201f7.entry.js.map} +0 -0
- /package/dist/biggive/{p-e6b9567a.entry.js.map → p-ce345420.entry.js.map} +0 -0
- /package/dist/biggive/{p-5550b80a.entry.js.map → p-d333acf0.entry.js.map} +0 -0
- /package/dist/biggive/{p-748ac552.entry.js.map → p-d3d4dd66.entry.js.map} +0 -0
- /package/dist/biggive/{p-c864528e.entry.js.map → p-d5d1f1b2.entry.js.map} +0 -0
- /package/dist/biggive/{p-b02f33ce.entry.js.map → p-e52450dc.entry.js.map} +0 -0
- /package/dist/biggive/{p-9846a411.entry.js.map → p-ead3ac43.entry.js.map} +0 -0
- /package/dist/biggive/{p-ecf38419.entry.js.map → p-f3fabed1.entry.js.map} +0 -0
- /package/dist/biggive/{p-64152a84.entry.js.map → p-f7d78109.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"biggive-totalizer.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,mhOAAmhO;;MCOliOA,kBAAgB,iBAAAC,kBAAA,CAAA,MAAA,gBAAA,SAAA,WAAA,CAAA;AAL7B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAMU,QAAA,IAAgB,CAAA,gBAAA,GAAW,CAAC;AAGpC;;AAEG;AACK,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC;AAC9B;;AAEG;AACK,QAAA,IAAa,CAAA,aAAA,GAAW,SAAS;AAEzC;;AAEG;AACK,QAAA,IAAiB,CAAA,iBAAA,GAAW,OAAO;AAE3C;;AAEG;AACK,QAAA,IAAe,CAAA,eAAA,GAAW,WAAW;AAE7C;;AAEG;AACK,QAAA,IAAmB,CAAA,mBAAA,GAAW,OAAO;AA8G9C;IAvGS,QAAQ,CAAC,UAAkB,EAAE,cAAsB,EAAA;;AACzD,QAAA,IAAI,cAAc,KAAK,IAAI,CAAC,gBAAgB,EAAE;;;YAG5C;;QAGF,IAAI,OAAO,GAAqB,EAAE;AAClC,QAAA,KAAK,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE,C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AAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,cAAc,EAAA,CAAQ,CAC7B,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,EAE/C,CAAA,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,EAAO,CAAA,EAC5D,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,EAAA,CAAO,CACxD,CACF,CACF,CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveTotalizer","__stencil_proxyCustomElement"],"sources":["src/components/biggive-totalizer/biggive-totalizer.scss?tag=biggive-totalizer&encapsulation=shadow","src/components/biggive-totalizer/biggive-totalizer.tsx"],"sourcesContent":["@include backgrounds();\n@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n @include standard-font();\n\n --ticker-end-left: -200%;\n}\n\n@keyframes ticker {\n 0% {\n transform: translate3d(0, 0, 0);\n }\n\n 100% {\n transform: translate3d(var(--ticker-end-left), 0, 0);\n }\n}\n\n.container {\n position: absolute;\n left: 0;\n right: 0;\n z-index: 1;\n\n .main-message-wrap {\n position: absolute;\n z-index: 1;\n padding: $spacer-2 $spacer-4;\n left: 0;\n top: 0;\n @include font-size-large();\n font-weight: 600;\n max-width: 33.3%;\n }\n\n .ticker-wrap {\n @include font-size-medium();\n padding: calc($spacer-2 - 4px) $spacer-4 $spacer-2 0;\n min-height: 17px;\n overflow: hidden;\n position: relative;\n\n .sleeve {\n will-change: transform; // https://web.dev/stick-to-compositor-only-properties-and-manage-layer-count/\n display: inline-flex;\n position: absolute;\n top: 4px;\n height: 24px;\n min-width: 100%;\n left: 100%;\n white-space: nowrap;\n\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: ticker;\n // TS overrides the specific timings once the width of ticker elements is known.\n animation-duration: 10s;\n\n @media (prefers-reduced-motion) {\n animation-name: none !important; // Turn off movement when needed for a11y.\n }\n }\n\n .sleeve-delayed-copy {\n // We set between 0 and 3 copies to `display: inline-flex` in TS, depending on the size\n // of the items and container.\n display: none;\n white-space: nowrap;\n max-height: 24px;\n }\n }\n}\n\n@media screen and (max-width: $screen-tablet-max) {\n .container {\n .main-message-wrap {\n @include font-size-medium();\n padding: $spacer-2;\n }\n }\n}\n","import { Component, Element, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'biggive-totalizer',\n styleUrl: 'biggive-totalizer.scss',\n shadow: true,\n})\nexport class BiggiveTotalizer {\n private lastWrapperWidth: number = 0;\n\n @Element() host: HTMLBiggiveTotalizerElement;\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Primary banner colour\n */\n @Prop() primaryColour: string = 'primary';\n\n /**\n * Primary text colour\n */\n @Prop() primaryTextColour: string = 'white';\n\n /**\n * Secondary banner colour\n */\n @Prop() secondaryColour: string = 'secondary';\n\n /**\n * Secondary text colour\n */\n @Prop() secondaryTextColour: string = 'black';\n\n /**\n * Primary message\n */\n @Prop() mainMessage: string;\n\n private setSpeed(itemsWidth: number, containerWidth: number) {\n if (containerWidth === this.lastWrapperWidth) {\n // Some browsers fire 'resize' overzealously on scroll; we don't want to cause extra paints if nothing\n // relevant changed.\n return;\n }\n\n let sleeves: HTMLDivElement[] = [];\n for (const ii in [1, 2, 3, 4]) {\n const sleeve = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_' + ii) as HTMLDivElement | null;\n if (sleeve) {\n sleeves.push(sleeve);\n // Restart the animation(s) on window resize to reduce the chance of jankiness.\n // https://stackoverflow.com/a/45036752/2803757\n sleeve.style.animationName = 'none';\n }\n }\n\n this.lastWrapperWidth = containerWidth;\n\n if (sleeves.length === 0) {\n console.log('sleeves missing, skipping setSpeed()');\n return;\n }\n\n // We've seen the initial calculation exclude the ~30px per set of values end padding before,\n // and it's safe to err on the side of more copies to reduce the chance of abrupt early loop\n // ends, so we add a buffer of 40px to the calculation when deciding how many copies to use.\n // const sleeveCount = Math.max(1, Math.min(4, Math.ceil((2 * (40 + itemsWidth)) / containerWidth)));\n // TODO Ultimately we'd like to get multiple copies working, or simplify. This\n // has proven very hard to iterate on pending a fix for DON-867 because\n // there is Angular-specific behaviour breaking the contents of copies.\n const sleeveCount = 1;\n this.host.style.setProperty('--ticker-end-left', `-${(sleeveCount + 1) * 100}%`);\n\n const duration = Math.round((itemsWidth / 30) * sleeveCount);\n\n for (let ii = 1; ii <= sleeveCount; ii++) {\n const sleeve = sleeves[ii - 1];\n if (sleeve) {\n sleeve.style.animationDuration = duration + 's';\n // https://stackoverflow.com/a/45847760\n sleeve.style.animationDelay = (duration / (sleeveCount - 1)) * (ii - 1) + 's';\n sleeve.style.display = 'inline-flex';\n sleeve.style.animationName = 'ticker';\n }\n }\n }\n\n componentDidLoad() {\n const wrapper = this.host.shadowRoot?.querySelector('.ticker-wrap') as HTMLDivElement;\n\n const tickerItemsInternalWrapper: HTMLDivElement | null = this.host.querySelector(`[slot=\"ticker-items\"]`);\n const sleeve1: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_1');\n const sleeve2: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_2');\n const sleeve3: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_3');\n const sleeve4: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_4');\n\n if (!tickerItemsInternalWrapper || !sleeve1) {\n console.log('tickerItemsInternalWrapper or sleeve1 is missing, skipping totalizer animation setup');\n return;\n }\n\n // Deep clone [all children of] the ticker items internal wrapper and append them, so the ticker can show items without\n // a blank break. Sleeve 2 and up will animate on delays per https://stackoverflow.com/a/45847760.\n setTimeout(() => {\n sleeve2 && sleeve2.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n sleeve3 && sleeve3.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n sleeve4 && sleeve4.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n }, 800);\n\n setTimeout(() => {\n // In Angular contexts, it seems like we need to leave a little time before the calculations work.\n // Not totally clear why yet.\n this.setSpeed(tickerItemsInternalWrapper.clientWidth, wrapper.clientWidth);\n }, 300);\n\n window.addEventListener('resize', () => {\n this.setSpeed(tickerItemsInternalWrapper.clientWidth, wrapper.clientWidth);\n });\n }\n\n render() {\n return (\n <div class={'container space-below-' + this.spaceBelow}>\n <div>\n <div class=\"banner\">\n <div class={'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour}>{this.mainMessage}</div>\n <div class={'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour}>\n <div id=\"sleeve_1\" class=\"sleeve\">\n <slot name=\"ticker-items\"></slot>\n </div>\n <div id=\"sleeve_2\" class=\"sleeve sleeve-delayed-copy\">\n {/* Contents for these 3 are copied in TS and copies shown or hidden based on available space */}\n </div>\n <div id=\"sleeve_3\" class=\"sleeve sleeve-delayed-copy\"></div>\n <div id=\"sleeve_4\" class=\"sleeve sleeve-delayed-copy\"></div>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"biggive-totalizer.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,iiOAAiiO;;MCOhjOA,kBAAgB,iBAAAC,kBAAA,CAAA,MAAA,gBAAA,SAAA,WAAA,CAAA;AAL7B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAMU,QAAA,IAAgB,CAAA,gBAAA,GAAW,CAAC;AAGpC;;AAEG;AACK,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC;AAC9B;;AAEG;AACK,QAAA,IAAa,CAAA,aAAA,GAAW,SAAS;AAEzC;;AAEG;AACK,QAAA,IAAiB,CAA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AAG,IAAI,CAAC,mBAAmB,IAAG,IAAI,CAAC,WAAW,CAAO,EAChJ,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,gCAAgC,GAAG,IAAI,CAAC,aAAa,GAAG,eAAe,GAAG,IAAI,CAAC,iBAAiB,EAAA,EAC1G,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,QAAQ,EAAA,EAC/B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,cAAc,EAAA,CAAQ,CAC7B,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,EAE/C,CAAA,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,EAAO,CAAA,EAC5D,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAC,UAAU,EAAC,KAAK,EAAC,4BAA4B,EAAA,CAAO,CACxD,CACF,CACF,CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BiggiveTotalizer","__stencil_proxyCustomElement"],"sources":["src/components/biggive-totalizer/biggive-totalizer.scss?tag=biggive-totalizer&encapsulation=shadow","src/components/biggive-totalizer/biggive-totalizer.tsx"],"sourcesContent":["@include backgrounds();\n@include spacers();\n@include text-colours();\n\n:host {\n display: contents;\n @include standard-font();\n\n --ticker-end-left: -200%;\n}\n\n@keyframes ticker {\n 0% {\n transform: translate3d(0, 0, 0);\n }\n\n 100% {\n transform: translate3d(var(--ticker-end-left), 0, 0);\n }\n}\n\n.container {\n position: absolute;\n left: 0;\n right: 0;\n z-index: 1;\n\n .main-message-wrap {\n position: absolute;\n z-index: 1;\n padding: $spacer-2 $spacer-4;\n left: 0;\n top: 0;\n @include font-size-large();\n font-weight: 600;\n max-width: 33.3%;\n }\n\n .ticker-wrap {\n @include font-size-medium();\n padding: calc($spacer-2 - 4px) $spacer-4 $spacer-2 0;\n min-height: 17px;\n overflow: hidden;\n position: relative;\n\n .sleeve {\n will-change: transform; // https://web.dev/stick-to-compositor-only-properties-and-manage-layer-count/\n display: inline-flex;\n position: absolute;\n top: 4px;\n height: 24px;\n min-width: 100%;\n left: 100%;\n white-space: nowrap;\n\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: ticker;\n // TS overrides the specific timings once the width of ticker elements is known.\n animation-duration: 10s;\n\n @media (prefers-reduced-motion) {\n animation-name: none !important; // Turn off movement when needed for a11y.\n }\n }\n\n .sleeve-delayed-copy {\n // We set between 0 and 3 copies to `display: inline-flex` in TS, depending on the size\n // of the items and container.\n display: none;\n white-space: nowrap;\n max-height: 24px;\n }\n }\n}\n\n@media screen and (max-width: $screen-tablet-max) {\n .container {\n .main-message-wrap {\n font-size: 15px;\n line-height: 20px;\n max-width: 42%;\n padding: $spacer-2;\n }\n }\n}\n","import { Component, Element, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'biggive-totalizer',\n styleUrl: 'biggive-totalizer.scss',\n shadow: true,\n})\nexport class BiggiveTotalizer {\n private lastWrapperWidth: number = 0;\n\n @Element() host: HTMLBiggiveTotalizerElement;\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Primary banner colour\n */\n @Prop() primaryColour: string = 'primary';\n\n /**\n * Primary text colour\n */\n @Prop() primaryTextColour: string = 'white';\n\n /**\n * Secondary banner colour\n */\n @Prop() secondaryColour: string = 'secondary';\n\n /**\n * Secondary text colour\n */\n @Prop() secondaryTextColour: string = 'black';\n\n /**\n * Primary message\n */\n @Prop() mainMessage: string;\n\n private setSpeed(itemsWidth: number, containerWidth: number) {\n if (containerWidth === this.lastWrapperWidth) {\n // Some browsers fire 'resize' overzealously on scroll; we don't want to cause extra paints if nothing\n // relevant changed.\n return;\n }\n\n let sleeves: HTMLDivElement[] = [];\n for (const ii in [1, 2, 3, 4]) {\n const sleeve = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_' + ii) as HTMLDivElement | null;\n if (sleeve) {\n sleeves.push(sleeve);\n // Restart the animation(s) on window resize to reduce the chance of jankiness.\n // https://stackoverflow.com/a/45036752/2803757\n sleeve.style.animationName = 'none';\n }\n }\n\n this.lastWrapperWidth = containerWidth;\n\n if (sleeves.length === 0) {\n console.log('sleeves missing, skipping setSpeed()');\n return;\n }\n\n // We've seen the initial calculation exclude the ~30px per set of values end padding before,\n // and it's safe to err on the side of more copies to reduce the chance of abrupt early loop\n // ends, so we add a buffer of 40px to the calculation when deciding how many copies to use.\n // const sleeveCount = Math.max(1, Math.min(4, Math.ceil((2 * (40 + itemsWidth)) / containerWidth)));\n // TODO Ultimately we'd like to get multiple copies working, or simplify. This\n // has proven very hard to iterate on pending a fix for DON-867 because\n // there is Angular-specific behaviour breaking the contents of copies.\n const sleeveCount = 1;\n this.host.style.setProperty('--ticker-end-left', `-${(sleeveCount + 1) * 100}%`);\n\n const duration = Math.round((itemsWidth / 30) * sleeveCount);\n\n for (let ii = 1; ii <= sleeveCount; ii++) {\n const sleeve = sleeves[ii - 1];\n if (sleeve) {\n sleeve.style.animationDuration = duration + 's';\n // https://stackoverflow.com/a/45847760\n sleeve.style.animationDelay = (duration / (sleeveCount - 1)) * (ii - 1) + 's';\n sleeve.style.display = 'inline-flex';\n sleeve.style.animationName = 'ticker';\n }\n }\n }\n\n componentDidLoad() {\n const wrapper = this.host.shadowRoot?.querySelector('.ticker-wrap') as HTMLDivElement;\n\n const tickerItemsInternalWrapper: HTMLDivElement | null = this.host.querySelector(`[slot=\"ticker-items\"]`);\n const sleeve1: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_1');\n const sleeve2: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_2');\n const sleeve3: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_3');\n const sleeve4: HTMLDivElement | null | undefined = this.host.shadowRoot?.querySelector('.ticker-wrap #sleeve_4');\n\n if (!tickerItemsInternalWrapper || !sleeve1) {\n console.log('tickerItemsInternalWrapper or sleeve1 is missing, skipping totalizer animation setup');\n return;\n }\n\n // Deep clone [all children of] the ticker items internal wrapper and append them, so the ticker can show items without\n // a blank break. Sleeve 2 and up will animate on delays per https://stackoverflow.com/a/45847760.\n setTimeout(() => {\n sleeve2 && sleeve2.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n sleeve3 && sleeve3.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n sleeve4 && sleeve4.appendChild(tickerItemsInternalWrapper.cloneNode(true));\n }, 800);\n\n setTimeout(() => {\n // In Angular contexts, it seems like we need to leave a little time before the calculations work.\n // Not totally clear why yet.\n this.setSpeed(tickerItemsInternalWrapper.clientWidth, wrapper.clientWidth);\n }, 300);\n\n window.addEventListener('resize', () => {\n this.setSpeed(tickerItemsInternalWrapper.clientWidth, wrapper.clientWidth);\n });\n }\n\n render() {\n return (\n <div class={'container space-below-' + this.spaceBelow}>\n <div>\n <div class=\"banner\">\n <div class={'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour}>{this.mainMessage}</div>\n <div class={'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour}>\n <div id=\"sleeve_1\" class=\"sleeve\">\n <slot name=\"ticker-items\"></slot>\n </div>\n <div id=\"sleeve_2\" class=\"sleeve sleeve-delayed-copy\">\n {/* Contents for these 3 are copied in TS and copies shown or hidden based on available space */}\n </div>\n <div id=\"sleeve_3\" class=\"sleeve sleeve-delayed-copy\"></div>\n <div id=\"sleeve_4\" class=\"sleeve sleeve-delayed-copy\"></div>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -46,7 +46,7 @@ const BiggiveVideoFeature$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveVide
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
const youtubeClass = this.videoUrl.includes('youtube.com') ? ' youtube' : '';
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '4b7f4e9e453260c9ea419ef37d820ec7eb7b6e78', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '7dac63b6a269337f068ce3fa3fae713cec34dcbd', class: "sleeve" }, h("div", { key: 'f65db889bca63474e806f7bc38b8a658f6eba9d1', class: "content-wrap" }, h("div", { key: 'ab442afbefc1821ce9f87415e712553275768bc2', class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { key: '0484b8ce74ccf7613b709f0d6edcbd9978bf825a', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: 'bbd9d77c104f94d26ca1261c3b8a742235d32b50', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.buttonLabel != null && this.buttonUrl != null ? (h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })) : null), h("div", { key: '29e8b124290d8e25318ff30ca27da56e4d624e6a', class: "graphic-wrap" }, this.videoUrl !== null && this.videoUrl !== undefined ? (h("div", { class: 'video-wrap' + youtubeClass, innerHTML: VideoService.getEmbedHtml(this.videoUrl, this.mainTitle) })) : null))));
|
|
50
50
|
}
|
|
51
51
|
static get style() { return biggiveVideoFeatureCss; }
|
|
52
52
|
}, [257, "biggive-video-feature", {
|
|
@@ -24,7 +24,7 @@ const BiggiveVideo$1 = /*@__PURE__*/ proxyCustomElement(class BiggiveVideo exten
|
|
|
24
24
|
this.videoUrl = '';
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: 'feec8b6bb9f56d174b0ba82dae8c9dbd0d9c7a2a', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '31564a74c0bfe6f83e6cd6513f86a944770fa501', class: "video-wrap", innerHTML: VideoService.getEmbedHtml(this.videoUrl, null) })));
|
|
28
28
|
}
|
|
29
29
|
static get style() { return biggiveVideoCss; }
|
|
30
30
|
}, [257, "biggive-video", {
|
|
@@ -16,7 +16,7 @@ const PhilcoFooter$1 = /*@__PURE__*/ proxyCustomElement(class PhilcoFooter exten
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const HeadingTag = `h${this.headingLevel}`;
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '99a8cc3911e0b82e35062cf6838506d478f82645', class: "footer" }, h("div", { key: '17ad7debf0d0d0d21b4ed961faf6ea986727e9d2', class: "row row-logo" }, h("div", { key: '6b80097a24d6da5dfc7cb577c0fd66512b975152', class: "logo" }, h("img", { key: '250c7ecf3aeb132810e5ecc36da6603829f6c407', src: getAssetPath('/assets/images/philco/Philcologo-black.png'), alt: "PhilCo" }))), h("div", { key: '0835d6c9023ecf88824c6de422d498bf71ad0fa5', class: "row row-top" }, h("nav", { key: '3ab177af10afb0a3767fc5046247a0f7bc5fe6ad', class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { key: 'c8fd4bce4998ccefb659a9b56208a524451607cd', class: "heading", id: "footer-primary-heading" }, h("div", { key: '66a08ded708ae78e3fa3046e05865298bb45f471', slot: "nav-primary-title" }, "Contact")), h("ul", { key: '4b52a8f0d6a4c655313d488319fbc916b0417df9', slot: "nav-primary" }, h("li", { key: '153299029b16533cc3746a453b7fc6133d1b2005' }, "PhilCo@biggive.org"))), h("nav", { key: 'eb3d44c05658b4a969dca3006d1429e8469d7d29', class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading" }, h(HeadingTag, { key: 'e8f85803f1b01285452a6e8e6d8b6917da02e2f7', class: "heading", id: "footer-secondary-heading" }, h("div", { key: 'f434c3a0f99113f12e918f0e5c3c4a2f5565310c', slot: "nav-secondary-title" }, "Philco Site")), h("ul", { key: '13005f0564a7a139c3d48299faf5bbb74d3c6b37', slot: "nav-secondary" }, h("li", { key: '1a124e65c281db213e70b9ddc701b851d5d5dcc8' }, h("a", { key: '34315f53ef122b3b31bfb283a209b194fa9453c2', href: makeURL('Philco', this.philcoUrlPrefix, '/') }, "Home")), h("li", { key: '1fd09f434e6214c0e6fba3ea4bd6d2fabe7f7a7a' }, h("a", { key: '20c5b4c56f464c29c44ade53fe3a603b4968e298', href: makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), h("li", { key: 'f9e31beefe13f5986dead9300232d7efb8d46f05' }, h("a", { key: '17ce1153ff5e633b6cf0e7a569f8fc6f654f0dcd', href: makeURL('Philco', this.philcoUrlPrefix, 'sign-up') }, "Sign Up")))), h("nav", { key: 'baf14f30d4bc7900a5d9ee887677abbc34fee395', class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { key: 'eea48f29695a024d35b0808ca8593688d112dd26', class: "heading", id: "footer-tertiary-heading" }, h("div", { key: '34bb4616d603f4c65f82929d865a91d295c84b59', slot: "nav-tertiary-title" }, "Guide")), h("ul", { key: '62919b65c55cea3e273e6f6c086c55b9bcba83ac', slot: "nav-tertiary" }, h("li", { key: '78b039c574c6fd9c81e5dfc6dbb7ff8580ed4ab8' }, h("a", { key: '9e89b93c6c2679a3311e7845b91990fe88500a46', href: "https://drive.google.com/file/d/1D1GnstpMKnnES1aYj05EVE9_lQtLZLwj/view", target: "_blank" }, "Download the guide"))))), h("div", { key: '974b015d51da9adcf9aefc848ca6a0dbbd60392c', class: "row row-bottom" }, h("div", { key: '59a61c9e45ba5548941b85d8f84a785a87bfede6', class: "postscript-wrap" }, h("nav", { key: '0ff5babcac137eabde7b9ccbff0adc26f04a4b91', class: "nav nav-postscript", "aria-label": "Legal" }, h("ul", { key: '25621f0074e261de456abf90468d87badb37f02b', slot: "nav-postscript" }, h("li", { key: 'e0d7c2a5d78f6208797b9660728f2300df9919ee' }, h("a", { key: '0a6099234c95a11ab11f23a484fbef58cffe5a49', href: makeURL('Philco', this.philcoUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), h("li", { key: 'ceb6461435285a4961158a59304521586691c239' }, h("a", { key: '53b75d2ccc88a29f4a7acdada7ef5b4da2abf0ff', href: makeURL('Philco', this.philcoUrlPrefix, 'privacy') }, "Privacy Statement")), h("li", { key: '25a511e59c6b7155aa15525dc33b6c8b75a1156c' }, h("a", { key: '7ce909c5e2528c8fd2d10ad7b1f73c736f13ea55', href: makeURL('Philco', this.philcoUrlPrefix, 'privacy#cookies') }, "Cookies Statement"))))), h("p", { key: 'bdb8084756f7b0d9c57b2ed1d45d9be4d9eb303e' }, "\u00A9 2007 \u2013 ", this.year, " The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
20
20
|
}
|
|
21
21
|
get host() { return this; }
|
|
22
22
|
static get style() { return philcoFooterCss; }
|
|
@@ -31,7 +31,7 @@ const PhilcoMainMenu$1 = /*@__PURE__*/ proxyCustomElement(class PhilcoMainMenu e
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const homePageLink = '/';
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '780bfd92b7d8020edb6ff6a7cb8c0035576bcff0' }, h("nav", { key: '41e88a55533ffc026a38ff4b1bcd1fd7df5b01c6', role: "navigation", "aria-label": "Main Menu" }, h("div", { key: 'cc4a69da9b4f361a94274d7e9a4fd3099c652e1f', class: "navbar" }, h("div", { key: '4504af49e7f9958f672625bcfbf238402cfec5e0', class: "logo" }, h("a", { key: 'e2f135f2387aea36ea329acaaceafb2f6d14ce44', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }, h("img", { key: 'f9d368764f2d8c5bf288167e53bad8f588e359c7', src: getAssetPath('/assets/images/philco/Philcologo-white.png'), alt: "PhilCo" }))), h("biggive-misc-icon", { key: 'c3108d2b9734ccf00f4b77fe7f8482e13bef8385', class: "bx bx-menu", "background-colour": "transparent", "icon-colour": "white", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { key: 'c53c765fb6b0bef211275620bbfc99aa1e6df04e', class: "nav-links" }, h("div", { key: '8f566fb3fe36345c8d9979c2d230acac2bbdee73', class: "sidebar-logo" }, h("a", { key: '8f7ab7c9b40b40ec8f313cbdef13ae4bc9356ddb', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }), h("biggive-misc-icon", { key: '3c23c848809ecab9e8d17d285625aed25b9234f1', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "white", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { key: 'dae941e22808e9cb4a56413b197a8c53d0b8cba2', id: "nav-primary" }, h("ul", { key: 'd267badb9b2328ee668da883eef2f9d94dcf3988', class: "links", slot: "nav-primary" }, h("li", { key: '9bab273c8fca7cf3a17fe4876dcee3127a8c0d5b' }, h("a", { key: 'd40b10936e26d6295acfde5458bdc67cec444625', href: makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), h("li", { key: '9a16ef4f048721780429ff1491f7e37995b2b832' }, h("a", { key: 'f774b5b32efcda120bb2ceae5aec85925b100a87', href: makeURL('Philco', this.philcoUrlPrefix, 'news') }, "News")), h("li", { key: '2f61dc8d84bc0d7dfb159a2fabac45fca2102289', class: "signup" }, h("biggive-button", { key: '88a88dca32ab12054933751ca829a6a9065abe27', label: "Sign up", "site-design": "philco", "colour-scheme": "philco-white", rounded: true, url: makeURL('Philco', this.philcoUrlPrefix, 'sign-up') })))))))));
|
|
35
35
|
}
|
|
36
36
|
get host() { return this; }
|
|
37
37
|
static get style() { return philcoMainMenuCss; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-D977ETvr.js';
|
|
2
2
|
|
|
3
|
-
const biggiveBrandedImageCss = "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 .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}}";
|
|
3
|
+
const biggiveBrandedImageCss = "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}}";
|
|
4
4
|
|
|
5
5
|
const BiggiveBrandedImage = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -23,7 +23,7 @@ const BiggiveBrandedImage = class {
|
|
|
23
23
|
* `role="presentation"` every time instead of accepting alt text.
|
|
24
24
|
*/
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '1146fb4fac9a3cd7e4c8f1de5c85db8ecdd99ec3', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'c99ad5ccc2dbd1338fbd6aef5031bcd64c82c0a9', class: "slug" }, this.slug), h("div", { key: 'daf950d7f6a76c5024a90f04f7be1e8f017d93a2', class: "image-wrap" }, this.imageUrl !== undefined && this.imageUrl !== null ? (this.imageAlt == null && this.imageHeightPercent == null ? (h("img", { src: this.imageUrl })) : this.imageAlt == null && this.imageHeightPercent != null ? (h("img", { src: this.imageUrl, style: { height: this.imageHeightPercent + 'cqw' } })) : this.imageAlt != null && this.imageHeightPercent == null ? (h("img", { src: this.imageUrl, alt: this.imageAlt })) : (h("img", { src: this.imageUrl, alt: this.imageAlt, style: { height: this.imageHeightPercent + 'cqw' } }))) : null), this.logoUrl !== undefined && this.logoUrl !== null ? h("div", { class: "logo-wrap", style: { 'background-image': "url('" + this.logoUrl + "')" } }) : null, this.charityName !== undefined && this.charityName !== null ? h("h3", { class: "title" }, this.charityName) : null, this.charityLocation !== undefined && this.charityLocation !== null ? h("div", { class: "charity-info" }, this.charityLocation) : null));
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
BiggiveBrandedImage.style = biggiveBrandedImageCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biggive-branded-image.entry.js","sources":["src/components/biggive-branded-image/biggive-branded-image.scss?tag=biggive-branded-image&encapsulation=shadow","src/components/biggive-branded-image/biggive-branded-image.tsx"],"sourcesContent":["@include image-alignment();\n@include spacers();\n\n:host {\n display: contents;\n}\n\n.container {\n @include standard-font();\n position: relative;\n .slug {\n text-align: center;\n font-weight: bold;\n background-color: $colour-secondary-green;\n color: $colour-black;\n padding: $spacer-1 $spacer-3;\n width: 100%;\n margin: -17px auto 17px auto;\n transform: translateY(50%);\n box-sizing: border-box;\n }\n\n img {\n width: 100%;\n }\n\n .logo-wrap {\n border-radius: 50%;\n width: 120px;\n height: 120px;\n transform: translateY(-50%);\n margin-top: 30px;\n margin-bottom: -30px; // Breathing space before charity name etc.\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n background-color: #FFFFFF;\n\n @media screen and (max-width: $screen-tablet-max) {\n width: 100px;\n height: 100px;\n }\n\n @media screen and (max-width: $screen-mobile-max) {\n width: 70px;\n height: 70px;\n margin-top: 20px;\n }\n }\n\n #charityName {\n color: $colour-primary-blue;\n display: block;\n margin-bottom: 5px;\n width: fit-content; // so link doesn't go full width\n }\n\n #charityName, .charity-info {\n font-size: 17px;\n\n @media screen and (max-width: $screen-tablet-max) {\n font-size: 16px;\n }\n\n @media screen and (max-width: $screen-mobile-max) {\n font-size: 15px;\n }\n\n @media screen and (max-width: $screen-mobile-small) {\n font-size: 14px;\n }\n }\n}\n","import { Component, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'biggive-branded-image',\n styleUrl: 'biggive-branded-image.scss',\n shadow: true,\n})\nexport class BiggiveBrandedImage {\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Full URL of a image.\n */\n @Prop() imageUrl: string = '';\n\n /**\n * Alt-text for image, or null if the author has not supplied an alt-text. Should always be a string\n * (but may be empty) when authoring new content.\n */\n @Prop() imageAlt!: string | null;\n\n /**\n * Full URL of the logo.\n */\n @Prop() logoUrl: string = '';\n\n /**\n * Slug\n */\n @Prop() slug: string;\n\n /**\n * Charity name\n */\n @Prop() charityName: string;\n\n /**\n * Charity location\n */\n @Prop() charityLocation: string;\n\n /**\n * Link to the charity's website\n * @deprecated We should stop passing this soon, and will link to charity URLs alongside socials.\n */\n @Prop() charityUrl: string;\n\n /**\n * This is only used as a background, presentational \"bonus\" so we are setting\n * `role=\"presentation\"` every time instead of accepting alt text.\n */\n render() {\n return (\n <div class={'container space-below-' + this.spaceBelow}>\n {<div class=\"slug\">{this.slug}</div>}\n {this.imageUrl !== undefined && this.imageUrl !== null ? (\n
|
|
1
|
+
{"version":3,"file":"biggive-branded-image.entry.js","sources":["src/components/biggive-branded-image/biggive-branded-image.scss?tag=biggive-branded-image&encapsulation=shadow","src/components/biggive-branded-image/biggive-branded-image.tsx"],"sourcesContent":["@include image-alignment();\n@include spacers();\n\n:host {\n display: contents;\n}\n\n.container {\n @include standard-font();\n position: relative;\n container-type: inline-size;\n .slug {\n text-align: center;\n font-weight: bold;\n background-color: $colour-secondary-green;\n color: $colour-black;\n padding: $spacer-1 $spacer-3;\n width: 100%;\n margin: -17px auto 17px auto;\n transform: translateY(50%);\n box-sizing: border-box;\n }\n\n img {\n width: 100%;\n }\n\n .logo-wrap {\n border-radius: 50%;\n width: 120px;\n height: 120px;\n transform: translateY(-50%);\n margin-top: 30px;\n margin-bottom: -30px; // Breathing space before charity name etc.\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n background-color: #FFFFFF;\n\n @media screen and (max-width: $screen-tablet-max) {\n width: 100px;\n height: 100px;\n }\n\n @media screen and (max-width: $screen-mobile-max) {\n width: 70px;\n height: 70px;\n margin-top: 20px;\n }\n }\n\n #charityName {\n color: $colour-primary-blue;\n display: block;\n margin-bottom: 5px;\n width: fit-content; // so link doesn't go full width\n }\n\n #charityName, .charity-info {\n font-size: 17px;\n\n @media screen and (max-width: $screen-tablet-max) {\n font-size: 16px;\n }\n\n @media screen and (max-width: $screen-mobile-max) {\n font-size: 15px;\n }\n\n @media screen and (max-width: $screen-mobile-small) {\n font-size: 14px;\n }\n }\n}\n","import { Component, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'biggive-branded-image',\n styleUrl: 'biggive-branded-image.scss',\n shadow: true,\n})\nexport class BiggiveBrandedImage {\n /**\n * Space below component\n */\n @Prop() spaceBelow: number = 0;\n /**\n * Full URL of a image.\n */\n @Prop() imageUrl: string = '';\n\n /**\n * Image height as a percentage of width. If set used to set height in CSS without the need\n * to wait for the image to load, avoiding layout shift further down the page.\n */\n @Prop() imageHeightPercent!: number | null;\n\n /**\n * Alt-text for image, or null if the author has not supplied an alt-text. Should always be a string\n * (but may be empty) when authoring new content.\n */\n @Prop() imageAlt!: string | null;\n\n /**\n * Full URL of the logo.\n */\n @Prop() logoUrl: string = '';\n\n /**\n * Slug\n */\n @Prop() slug: string;\n\n /**\n * Charity name\n */\n @Prop() charityName: string;\n\n /**\n * Charity location\n */\n @Prop() charityLocation: string;\n\n /**\n * Link to the charity's website\n * @deprecated We should stop passing this soon, and will link to charity URLs alongside socials.\n */\n @Prop() charityUrl: string;\n\n /**\n * This is only used as a background, presentational \"bonus\" so we are setting\n * `role=\"presentation\"` every time instead of accepting alt text.\n */\n render() {\n return (\n <div class={'container space-below-' + this.spaceBelow}>\n {<div class=\"slug\">{this.slug}</div>}\n <div class=\"image-wrap\">\n {this.imageUrl !== undefined && this.imageUrl !== null ? (\n this.imageAlt == null && this.imageHeightPercent == null ? (\n <img src={this.imageUrl} />\n ) : this.imageAlt == null && this.imageHeightPercent != null ? (\n <img src={this.imageUrl} style={{ height: this.imageHeightPercent + 'cqw' }} />\n ) : this.imageAlt != null && this.imageHeightPercent == null ? (\n <img src={this.imageUrl} alt={this.imageAlt} />\n ) : (\n <img src={this.imageUrl} alt={this.imageAlt!} style={{ height: this.imageHeightPercent + 'cqw' }} />\n )\n ) : null}\n </div>\n {this.logoUrl !== undefined && this.logoUrl !== null ? <div class=\"logo-wrap\" style={{ 'background-image': \"url('\" + this.logoUrl + \"')\" }}></div> : null}\n\n {this.charityName !== undefined && this.charityName !== null ? <h3 class=\"title\">{this.charityName}</h3> : null}\n {this.charityLocation !== undefined && this.charityLocation !== null ? <div class=\"charity-info\">{this.charityLocation}</div> : null}\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,sBAAsB,GAAG,wxDAAwxD;;MCO1yD,mBAAmB,GAAA,MAAA;AALhC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAME;;AAEG;AACK,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC;AAC9B;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAW,EAAE;AAc7B;;AAEG;AACK,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;AAmD7B;AA5BC;;;AAGG;IACH,MAAM,GAAA;AACJ,QAAA,QACE,4DAAK,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC,UAAU,EAAA,EACnD,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,MAAM,IAAE,IAAI,CAAC,IAAI,CAAO,EACpC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,YAAY,EAAA,EACpB,IAAI,C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I,CAAC,eAAe,KAAK,SAAS,IAAI,IAAI,CAAC,eAAe,KAAK,IAAI,GAAG,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,cAAc,EAAA,EAAE,IAAI,CAAC,eAAe,CAAO,GAAG,IAAI,CAChI;;;;;;;"}
|
|
@@ -54,7 +54,7 @@ const BiggiveButton = class {
|
|
|
54
54
|
// If there's no or an empty href then it isn't possible to click by keyboard and we would have to handle keyboard
|
|
55
55
|
// interaction separately.
|
|
56
56
|
const href = this.url || 'javascript:void(0);';
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: '4f90afc2b17e1c0246e0d05e676f4d0331cd46a5', class: 'container space-below-' + this.spaceBelow + ' centered-' + this.centered + ' ' + this.siteDesign + (this.disabled ? ' disabled' : '') }, h("a", { key: '9d8b5a12f9527c929d06ca2313ca0be9bce48ba7', "pointer-events": this.disabled ? 'none' : 'auto', "aria-disabled": this.disabled, role: "button", href: href, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId, class: 'button button-' + this.colourScheme + ' full-width-' + this.fullWidth.toString() + ' size-' + this.size + ' rounded-' + this.rounded.toString() }, h("span", { key: 'e1dd8ddb0eb19b038451d72a32b701b95b5cb1e2', onClick: this.disabled ? () => { } : this.handleButtonClick }, this.label))));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
BiggiveButton.style = biggiveButtonCss;
|
|
@@ -55,7 +55,7 @@ const BiggiveCallToAction = class {
|
|
|
55
55
|
this.secondaryButtonColourScheme = 'primary';
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: '639e7a64316be4c9fa51d6aa9c2c91c2a9c80492', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '5f05ecce4e3befa358af7a3851885d0ebe36ea90', class: "sleeve" }, h("div", { key: '002369064c220f34e608524ea0895c7bd0d578d5', class: "content-wrap" }, h("div", { key: 'c9560d7c1861de7349f575f0187fe773006fc8f4', class: 'slug heading-' + this.slugSize + ' text-colour-' + this.slugColour }, this.slug), h("h2", { key: '2b81cb1b4fe5aeb6a06d81a1b44fd0fcd259162c', class: 'title heading-' + this.mainTitleSize + ' text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: 'ffdad7a9a8700a6575d99d79e86a5a3b47635707', class: 'slug heading-' + this.subtitleSize + ' text-colour-' + this.subtitleColour }, this.subtitle), h("div", { key: '494dadf99872012e9967372c0bdedc4bd8f2e32f', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.primaryButtonLabel != null && this.primaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.primaryButtonColourScheme, url: this.primaryButtonUrl, label: this.primaryButtonLabel }))) : null, this.secondaryButtonLabel != null && this.secondaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.secondaryButtonColourScheme, url: this.secondaryButtonUrl, label: this.secondaryButtonLabel }))) : null))));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
BiggiveCallToAction.style = biggiveCallToActionCss;
|
|
@@ -42,10 +42,10 @@ const BiggiveCampaignCard = class {
|
|
|
42
42
|
return value === undefined || value === null || value === '';
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h("div", { key: '
|
|
45
|
+
return (h("div", { key: '3a151d01bf9e0ddf2b0e67c0c6ce42100575c832', class: 'container space-below-' + this.spaceBelow.toString() }, h("div", { key: '0bdef90ba7b3ec6d43e1fe4f99dc9e0f0d775c90', class: "sleeve" }, h("div", { key: '6349ff2bc9313b2c57a6931976392354839aa1b1', onClick: this.handleCardGeneralClick, class: "above-button-wrap" }, this.campaignType !== null ? (h("div", { class: "campaign-type" }, h("span", null, this.campaignType))) : null, this.banner !== null && this.banner !== undefined ? (h("div", { class: "image-wrap banner", role: "presentation", style: { 'background-image': 'url(' + this.banner + ')' } })) : (h("div", { class: "image-wrap banner" })), h("div", { key: '96ff6888807d7992745ced261ced0594842c10e0', class: "title-wrap" }, h("h3", { key: '5c97062ba2c58e71ed011c73191c9eeca5452be6' }, this.campaignTitle), h("div", { key: '7bd514751f1971643a58bf5c5b6da5be194a6191', class: "organisation-name" }, "By ", this.organisationName)), this.isEmpty(this.primaryFigureAmount) && this.isEmpty(this.secondaryFigureAmount) ? null : (h("div", { class: "meta-wrap" }, this.isEmpty(this.primaryFigureAmount) ? null : (h("div", { class: "meta-item" }, h("span", { class: "label" }, this.primaryFigureLabel), h("span", { class: "text" }, this.primaryFigureAmount))), this.isEmpty(this.secondaryFigureAmount) ? null : (h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.secondaryFigureAmount))))), this.isEmpty(this.progressBarCounter) ? (
|
|
46
46
|
// We don't have a progress bar to show in this case, so the following is just functioning as a spacer to
|
|
47
47
|
// keep layout consistent. Counter must be non-null to make bar display.
|
|
48
|
-
h("div", { class: "progress-bar-wrap", style: { visibility: 'hidden' } }, h("biggive-progress-bar", { counter: 0, "colour-scheme": "primary" }))) : (h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })))), h("div", { key: '
|
|
48
|
+
h("div", { class: "progress-bar-wrap", style: { visibility: 'hidden' } }, h("biggive-progress-bar", { counter: 0, "colour-scheme": "primary" }))) : (h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })))), h("div", { key: '44c9109faa30ce362a5d61403806da04318b8aac', class: "button-wrap" }, this.isFutureCampaign || this.isPastCampaign ? (h("div", { class: "msg-wrapper" }, h("biggive-misc-icon", { "background-colour": "white", "icon-colour": "black", icon: "Timer" }), this.isFutureCampaign ? h("p", null, "Launches ", this.datetime) : h("p", null, "Closed ", this.datetime))) : (h("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel })), h("biggive-button", { key: 'da83247e93695151373233ba2ae732ec3a677522', "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
BiggiveCampaignCard.style = biggiveCampaignCardCss;
|
|
@@ -15,7 +15,7 @@ const BiggiveCampaignHighlights = class {
|
|
|
15
15
|
this.progressBarCounter = undefined;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: '3ba9ca3a89350b9c8f6e0f1c733586f6f2726935', class: 'container space-below-' + this.spaceBelow }, h("div", { key: '10efc7e67f8c55dbf653bec5d76bd07da29851e0', class: "sleeve" }, this.campaignTitle != null ? (h("div", { class: "campaign-title" }, h("span", null, this.campaignTitle))) : null, this.banner !== null && this.banner !== undefined ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, h("img", { src: this.banner, class: "banner" }))) : null, h("div", { key: 'f32cb00b9969fcdec84351f8fa05956c73c2d5ae', class: "meta-wrap" }, h("div", { key: '87187589efb94e0eb0a5ef7dd7a6d9ec04b0c613', class: "meta-item" }, h("span", { key: '8d598adfdbc9cb07cf73e2c650846c2a0dd7f889', class: "label" }, this.primaryFigureLabel), h("span", { key: '28c20f593f290f1df8d0f727c7f441bb5ef208f5', class: "text" }, this.primaryFigureAmount)), h("div", { key: '68d7ba6a3341bb617d1b06015384e61033e7da4c', class: "meta-item" }, h("span", { key: 'e55df446f524495b48e9744b21c63d946dbc8ba0', class: "label" }, this.secondaryFigureLabel), h("span", { key: '171da161fce07dd5e792a65f51432229f54788f4', class: "text" }, this.secondaryFigureAmount))), h("div", { key: 'a383188ac522384084a191f6dd4d9a944b4d2a80', class: "progress-bar-wrap" }, h("biggive-progress-bar", { key: '9aae519c347aa8b658141312520aba7d54e8d8dd', counter: this.progressBarCounter, "colour-scheme": "primary" })), h("div", { key: '07ebb5963c1d966a8089ead8fd7245e87203c1dc', class: "stat-wrap" }, this.primaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.primaryStatText))) : null, this.secondaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.secondaryStatText))) : null), this.championName != null ? (h("div", { class: "championed-by" }, "Championed by ", h("a", { href: this.championUrl }, this.championName))) : null)));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
BiggiveCampaignHighlights.style = biggiveCampaignHighlightsCss;
|
|
@@ -15,7 +15,7 @@ const BiggiveContainerCard = class {
|
|
|
15
15
|
this.headingLevel = 3;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: '0e3399e63c4532160c351be3dc3d3d3d86d73fef', class: 'container space-below-' + this.spaceBelow + ' background-colour-' + this.backgroundColour, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("div", { key: '80fb6126a63c81d4d49db0ad847700009d836c5d', class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("slot", { key: '1122bf6e7303c947ffb75ba853a4123cb0ab1118' }))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
BiggiveContainerCard.style = biggiveContainerCardCss;
|
|
@@ -66,7 +66,7 @@ const BiggiveCookieBanner = class {
|
|
|
66
66
|
// then the app may only pass a partial set of them in for a time. Any preference not passed will be treated as
|
|
67
67
|
// declined.
|
|
68
68
|
const cookiesCurrentlyAllowed = this.previouslyAgreedCookiePreferences || {};
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: '3c8e6fc5757067755a4b51798a3db0befba3bfdd', class: "cooke-consent-container" }, h("biggive-popup", { key: 'b48c5ef5335233f1219c7b7fddd5e779a5a77de7', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, h("div", { key: 'fd58550c74fc9eeaf73ad99d26501f688423bddc', class: "content" }, h("h4", { key: 'f78a4bb39f7fd9fc2a0eb2dc699a6524ddf77244', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), h("form", { key: '4724741c3562e5d33ff7b9a3269627fd9286bde2' }, h("div", { key: 'f266ee08f4c424bdc383057989c4fa931cb6974b', class: "radio-group" }, h("h5", { key: '67d70d41f02f624d6c30136b31cee3afbf140e2c' }, "Essential Cookies"), h("p", { key: '99b8aecfd0c1862046d0303400b327e1e48f0d42' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), h("input", { key: 'af86f64a3217dbd30de192cef3381d73551ba2b1', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), h("label", { key: 'cf2cb424e8fe98eb96d648f3607fbf3e5b126980', htmlFor: "necassary-on" }, "Off"), h("input", { key: 'f34787d13ce9dbcd2e2eb129de83c80ce95aae65', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), h("label", { key: '6df222a1e8fc80585ab127fd9fb2fdbfb3d5d86a', htmlFor: "necassary-on" }, "On")), h("div", { key: 'ed8b40d431a72d6e2fa643d52a54648d3f8194da', class: "radio-group" }, h("h5", { key: '973d33c33fd4361fbb33465a545df59ad5790e50' }, "Analytics & Testing Cookies"), h("p", { key: '57a412252918570f9779ff3d23fe99d915c39a21' }, "We use analytics cookies to track activity on our website. For example, the pages you\u2019ve visited, the content you\u2019ve engaged with and the search terms you\u2019ve used. This allows us to personalise and improve our content."), h("p", { key: '3ad10146abc08a6a2a5907772c0dd9397128310d' }, "We use testing cookies to collect data on how you interact with website features. These insights allow us to update our website and build features that enhance your user experience."), h("input", { key: '566e09de8da770c0a60a4fd0f0f9566872928c38', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '9648982ec36b22ee4bbf3f36fe7529afbab9164f', htmlFor: "a-and-t-off" }, "Off"), h("input", { key: '298f12984ae69d7126e19a45332c75dec8f012c2', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '30a6a2638c0679a58d060b883d905ef32d6541e8', htmlFor: "a-and-t-on" }, "On")), h("div", { key: '8ab2a9ed19b57234a04f6bccab91d52b1a360f3f', class: "radio-group" }, h("h5", { key: '6471e15df3ebdf0515cab0540457a496a9d63a22' }, "Third-party Cookies "), h("p", { key: '187dce66b7b13dfa84c383de077bcf5135fe0fdb' }, "These cookies are used to track activity, which can help to provide a better experience and improve functionality across various applications. For example, our donation experience survey."), h("input", { key: '277c219771a78fa304f3610037b9b5302ee5db60', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'f500e0269f9a25815710698a0af2b328332b44df', htmlFor: "third-party-off" }, "Off"), h("input", { key: '998147b56d490bf0ddc92c487a0a8f1e9e80f76c', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), h("label", { key: '1165682ca3da908a4382759853553acee80d6e08', htmlFor: "third-party-on" }, "On")), h("biggive-button", { key: '05c8f950ea4a31cdad7aaf9d9278780187ab6043', "space-below": "0", "space-above": "2", "colour-scheme": "secondary", "is-past-campaign": "false", "is-future-campaign": "false", label: "Accept Selected Cookies", "open-in-new-tab": "false", "full-width": "false", size: "small", rounded: false, centered: false, "button-id": "accept-selected-button", onClick: this.handleAcceptSelectedCookies })), h("p", { key: 'c5d6a32f7bf17b613aec775a2b1e0b8f9443bf9e' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), h("h2", { key: 'cb8bc8b3c17faa072d94576d8826163079bed7ef' }, "Our website uses cookies"), h("p", { key: '1e83dd62c75c675143964cbecf9840806e3004b0' }, "We use some essential cookies to make our website work. We'd also like to share data with our analytics platform and use analytics cookies to understand how you use the website and make improvements."), h("p", { key: '53a96e8c12b421cce87cd2e453c8ff8da91ed4fb' }, h("a", { key: '1e2a2e7a22df608271334cf29a7525280ca159ea', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), h("div", { key: '88fe6da17fe3800c1413a839b7af734bfbfe60d1', class: "button-group" }, h("biggive-button", { key: '259e0562b754443d82c60479ee6638c968ce6f02', onClick: this.handleAcceptAllClick, "space-below": "0", "colour-scheme": "secondary", "is-past-campaign": "false", "is-future-campaign": "false", label: "Accept All", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "accept-all-button" }), h("biggive-button", { key: 'e7ddb1754ff45c160f70a169edacc2e3dcd50dd1', onClick: this.handleRejectAllClicked, "space-below": "0", "colour-scheme": "grey-light", "is-past-campaign": "false", "is-future-campaign": "false", label: "Essential Cookies Only", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "choose-preferences-button" }), h("biggive-button", { key: 'efb703558540c22f3e75859d9253e85572edec5e', onClick: this.handleChoosePrefencesClick, "space-below": "0", "colour-scheme": "grey-light", "is-past-campaign": "false", "is-future-campaign": "false", label: "Choose Preferences", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "choose-preferences-button" }))));
|
|
70
70
|
}
|
|
71
71
|
get el() { return getElement(this); }
|
|
72
72
|
static get watchers() { return {
|
|
@@ -30,12 +30,12 @@ const BiggiveFormFieldSelect = class {
|
|
|
30
30
|
}
|
|
31
31
|
// Give the select a random id so we can reference it from a label
|
|
32
32
|
const selectId = this.selectElementId || 'select-' + this.getRandomInt().toString();
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: 'b0a1d15823be95bf001cf6bee579a95d63aa6e95', class: "selectWrapper" }, h("label", { key: 'c6f1bc9c1d4ea613d962b49493b3b2c6175955cf', class: greyIfRequired, htmlFor: selectId }, h("div", { key: '7a5f7319f9e0ca4d894868367be7c42cfc706474', class: 'prompt' + greyIfRequired }, this.prompt)), h("div", { key: '0415588686695208ed35fb49adf1243e50ccc2ea', class: 'dropdown space-below-' +
|
|
34
34
|
this.spaceBelow +
|
|
35
35
|
' select-style-' +
|
|
36
36
|
this.selectStyle +
|
|
37
37
|
(this.prompt === null ? ' noprompt' : '') +
|
|
38
|
-
(this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, h("div", { key: '
|
|
38
|
+
(this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, h("div", { key: 'a479c5085a1498d619f7a2eea7ce002650db584c', class: "sleeve" }, h("select", { key: '24e7c1f825eeca9672680e800b9a3058294c122f', id: selectId, class: greyIfRequired, onChange: this.doOptionSelectCompletedHandler, "aria-label": this.prompt === null ? this.placeholder : this.prompt }, options.map(option => (h("option", { selected: this.selectedValue === option.value, value: option.value }, option.label)))), h("div", { key: 'fd9553dde63067ac87362a78ff88534bb1a6ee6d', class: "arrow" })))));
|
|
39
39
|
}
|
|
40
40
|
formatOptions(options) {
|
|
41
41
|
if (options === undefined) {
|
|
@@ -7,7 +7,7 @@ const BiggiveForm = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '8fb1d9fad510e6a8306a45bae6af95dbf3c81bbb' }, h("slot", { key: 'c2f67b8cdc983d24d81069c60bb78eb2395093cb' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
BiggiveForm.style = biggiveFormCss;
|
|
@@ -12,7 +12,7 @@ const BiggiveFormattedText = class {
|
|
|
12
12
|
render() {
|
|
13
13
|
const defaultColourSet = typeof this.defaultTextColour === 'string' && this.defaultTextColour.trim() !== '';
|
|
14
14
|
const anyDefaultColourClass = defaultColourSet ? ' text-colour-' + this.defaultTextColour : '';
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: 'aadcc4056f7296723cb6b0b76bf5bac47cbbb549', class: 'container ' + this.siteDesign + ' max-width-' + this.maxWidth + anyDefaultColourClass + ' space-below-' + this.spaceBelow }, h("slot", { key: '741a8299de5ea20a8c32d1df7d1d54391cde1c5e' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
BiggiveFormattedText.style = biggiveFormattedTextCss;
|
|
@@ -14,7 +14,7 @@ const BiggiveGrid = class {
|
|
|
14
14
|
this.columnGap = 0;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '03804728c4b10b4df1c3a334dc74236737cf5b70', class: 'grid column-count-' + this.columnCount + ' space-below-' + this.spaceBelow + ' column-gap-' + this.columnGap + (this.spaceBetween ? ' space-between' : '') }, h("slot", { key: 'cd5486ca89d705fc1cad790a8d07e2744b999e7b' })));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
BiggiveGrid.style = biggiveGridCss;
|
|
@@ -56,18 +56,18 @@ const BiggiveHeadingBanner = class {
|
|
|
56
56
|
const mainTitleColour = ((_d = this.mainTitleColour) === null || _d === void 0 ? void 0 : _d.startsWith('#')) ? this.mainTitleColour : `#${this.mainTitleColour}`;
|
|
57
57
|
const teaserColour = ((_e = this.teaserColour) === null || _e === void 0 ? void 0 : _e.startsWith('#')) ? this.teaserColour : `#${this.teaserColour}`;
|
|
58
58
|
const logo = this.getParsedLogo();
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: '741c554d37de0464e2ac9013048e7eb338a2e1b3', class: {
|
|
60
60
|
banner: true,
|
|
61
61
|
short: this.height === 'short',
|
|
62
62
|
}, style: {
|
|
63
63
|
'background-color': bgColor,
|
|
64
64
|
} }, typeof this.mainImageUrl === 'string' && this.mainImageUrl !== '' ? (h("img", { class: "background", src: this.mainImageUrl, alt: "", style: {
|
|
65
65
|
'object-position': `${this.getParsedFocalPoint().x}% ${this.getParsedFocalPoint().y}%`,
|
|
66
|
-
} })) : null, h("div", { key: '
|
|
66
|
+
} })) : null, h("div", { key: 'fc184fd5de7660788a498eea43f285ef311411f5', class: "sleeve" }, h("div", { key: '6e10101f4e71290470bca3693fef140ae96837aa', class: "content-wrap", style: {
|
|
67
67
|
'background-color': textBgColor,
|
|
68
68
|
} }, logo ? (h("div", { class: "logo" }, h("img", { src: logo.url, alt: logo.alt || '' }))) : null, this.slug != undefined ? (h("div", { style: {
|
|
69
69
|
color: slugColour,
|
|
70
|
-
}, class: "slug" }, this.slug)) : null, h("h1", { key: '
|
|
70
|
+
}, class: "slug" }, this.slug)) : null, h("h1", { key: 'f6abb0a95fefc621859e6b1c92eb01883caed3ca', style: {
|
|
71
71
|
color: mainTitleColour,
|
|
72
72
|
}, class: "main-title" }, this.mainTitle), this.teaser != undefined ? (h("div", { class: "teaser", style: {
|
|
73
73
|
color: teaserColour,
|
|
@@ -18,7 +18,7 @@ const BiggiveHeading = class {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const Tag = this.htmlElement;
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '489a8d60df81cabeca9c90efd24af17bee0083ee', class: 'container ' + this.siteDesign + ' align-' + this.align + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h(Tag, { key: 'cd997def82d9b8ceff12d6de3f5c2b98c9eb1545', class: 'heading-colour-' + this.colour + ' icon-colour-' + this.iconColour + ' heading-' + this.size }, this.icon ? (h("svg", { viewBox: "0 0 102 88" }, h("path", { class: "st0", d: "M51.2,0l-51,88h102L51.2,0z" }), h("path", { d: "M31,68.3c-1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9c1.1,0,1.9,0.9,1.9,1.9C32.9,67.5,32.1,68.3,31,68.3z M29.5,79.4h3v-10\n h-3V79.4z M41,69.4V70c-0.5-0.5-1.4-0.9-2.5-0.9c-2.7,0-4.9,2-4.9,4.9c0,2.9,2.2,4.9,4.9,4.9c1.1,0,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c0.9,0,1.5,0.6,1.5,1.4C25.3,75.9,24.7,76.5,23.8,76.5z" }))) : null, this.text)));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
BiggiveHeading.style = biggiveHeadingCss;
|
|
@@ -57,9 +57,9 @@ const BiggiveHeroImage = class {
|
|
|
57
57
|
// `pre` or `pre-wrap` so that literal whitespace inserted into the rendered output doesn't affect the layout.
|
|
58
58
|
// Assuming that this is needed only for the teaser, and the main title would never contain a line break.
|
|
59
59
|
const teaserLines = this.lineBreakToBr(this.teaser);
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '4c9c40691f92292b1b2c8775ac53b08824354e26', class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow, style: this.mainImageShape === 'rectangle' ? { 'background-image': 'url(' + this.mainImage + ')', 'background-size': 'cover' } : {} }, h("div", { key: 'cf422c2dd2ae1df374a919ad1f46964c734209e5', class: "sleeve" }, h("div", { key: 'b5799f1cba7abb32f934acc57ebbcb2cbeb30104', class: "content-wrap" }, this.logo !== undefined && this.logo !== null ? (h("div", { class: 'logo image-wrap logo-height-' + this.logoHeight }, h("img", { src: this.logo, alt: this.logoAltText, title: this.logoAltText }))) : h("div", { class: 'logo-space logo-height-' + this.logoHeight }), ((_b = this.logo) === null || _b === void 0 ? void 0 : _b.length) > 0 || ((_c = this.slug) === null || _c === void 0 ? void 0 : _c.length) > 0
|
|
61
61
|
? (h("div", { class: 'slug text-colour-' + this.slugColour }, this.slug))
|
|
62
|
-
: null, h("h1", { key: '
|
|
62
|
+
: null, h("h1", { key: '431cee21202669da66b8fd394e3b12c56b5c6ae0', class: mainTitleClasses }, this.mainTitle), h("div", { key: '7c6b493d44065f146d298bf90f2249ba95ddbaa1', class: teaserClasses }, teaserLines), this.buttonLabel != null && this.buttonUrl != null
|
|
63
63
|
? h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })
|
|
64
64
|
: null), this.mainImageShape === 'triangle' && this.mainImage !== null ? (h("div", { class: "graphic-wrap" }, h("div", { class: "image-wrap", role: "presentation", style: { 'background-image': 'url(' + this.mainImage + ')', 'background-position': this.mainImageAlignHorizontal + ' ' + this.mainImageAlignVertical } }))) : null)));
|
|
65
65
|
}
|
|
@@ -24,7 +24,7 @@ const BiggiveIconButton = class {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: '50a905a4f49a7c94f1b1c15f9bc65e751ad02f93', class: 'container space-below-' +
|
|
28
28
|
this.spaceBelow +
|
|
29
29
|
' background-colour-' +
|
|
30
30
|
this.backgroundColour +
|
|
@@ -35,7 +35,7 @@ const BiggiveIconButton = class {
|
|
|
35
35
|
' rounded-' +
|
|
36
36
|
this.rounded +
|
|
37
37
|
' shadow-' +
|
|
38
|
-
this.shadow }, h("a", { key: '
|
|
38
|
+
this.shadow }, h("a", { key: '3297c31f619589a1234ec001b67e678146a8d637', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, h("div", { key: '3b9b0b5e1c0184249e9ca3f651c5b4f3654e97fa', class: "sleeve", onClick: this.handleButtonClick }, h("div", { key: '5afd182b9ac9ed351ebb56cc694315f369d6510c', class: 'icon-wrap ' + ' size-' + this.size + ' circle-' + this.circle.toString() }, h("biggive-misc-icon", { key: '52acb2226965f6f46a584e6e1753c828473b9510', icon: this.icon })), this.text != '' ? h("div", { class: 'text-wrap text-colour-' + this.textColour + ' text-padding-' + this.backgroundPadding }, this.text) : null, this.arrow ? (h("div", { class: 'arrow-wrap arrow-colour-' + this.arrowColour }, h("svg", { width: "8", height: "12", viewBox: "0 0 8 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.76912 1.0791L5.73828 6.04826L0.769121 11.0174", stroke: "black", "stroke-width": "2" })))) : null))));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
BiggiveIconButton.style = biggiveIconButtonCss;
|
|
@@ -25,7 +25,7 @@ const BiggiveImageButton = class {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '1ed780b4f4581621f1dee459f8f2683605d62454', class: 'container space-below-' +
|
|
29
29
|
this.spaceBelow +
|
|
30
30
|
' background-colour-' +
|
|
31
31
|
this.backgroundColour +
|
|
@@ -36,7 +36,7 @@ const BiggiveImageButton = class {
|
|
|
36
36
|
' rounded-' +
|
|
37
37
|
this.rounded +
|
|
38
38
|
' shadow-' +
|
|
39
|
-
this.shadow }, h("a", { key: '
|
|
39
|
+
this.shadow }, h("a", { key: 'e1693a664d8cd0617aec17cba5536ad22f2f6af1', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, h("div", { key: '0dd137da0d4f2730f901231819527c975ee997e9', class: "sleeve", onClick: this.handleButtonClick }, h("div", { key: 'd98d4d3f0e917053a7c3ee3ab034f7eb5b3512d9', class: 'image-wrap ' + ' image-style-' + this.imageStyle + ' size-' + this.size + ' circle-' + this.circle.toString(), style: { backgroundImage: 'url(' + this.imageUrl + ')' } }), this.text != '' ? h("div", { class: 'text-wrap text-colour-' + this.textColour + ' text-padding-' + this.backgroundPadding }, this.text) : null, this.arrow ? (h("div", { class: 'arrow-wrap arrow-colour-' + this.arrowColour }, h("svg", { width: "8", height: "12", viewBox: "0 0 8 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.76912 1.0791L5.73828 6.04826L0.769121 11.0174", stroke: "black", "stroke-width": "2" })))) : null))));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
BiggiveImageButton.style = biggiveImageButtonCss;
|
|
@@ -17,7 +17,7 @@ const BiggiveImageCard = class {
|
|
|
17
17
|
this.addAnimation = false;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '112d071f533c23e03f1255efa583e7132997bf84', class: 'container space-below-' +
|
|
21
21
|
this.spaceBelow +
|
|
22
22
|
' background-colour-' +
|
|
23
23
|
this.backgroundColour +
|
|
@@ -26,7 +26,7 @@ const BiggiveImageCard = class {
|
|
|
26
26
|
' clip-top-right-corner-' +
|
|
27
27
|
this.clipTopRightCorner +
|
|
28
28
|
' add-animation-' +
|
|
29
|
-
this.addAnimation }, h("a", { key: '
|
|
29
|
+
this.addAnimation }, h("a", { key: '080741fb7e4dc70973b2be9c89768b0e806bb64e', href: this.buttonUrl }, h("div", { key: '89ed7934aa886edac338accc3a2391d3e26baac2', class: 'sleeve text-colour-' + this.teaserColour + ' text-align-' + this.textAlign }, h("div", { key: '55375f3c2ef7c72450239e1339037e3a160d8c45', class: "content-wrap" }, this.mainImageUrl != '' ? (h("div", { class: "main-image-container" }, h("div", { class: "image-wrap" }, h("img", { src: this.mainImageUrl, alt: this.mainImageAltText, title: this.mainImageAltText })))) : null, h("div", { key: 'a99eb3f15122ee7da5b4009927926e9759122ea0', class: "teaser" }, this.teaser), this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (h("div", { class: 'button-wrap align-' + this.buttonAlign }, h("biggive-button", { "colour-scheme": this.buttonColourScheme, label: this.buttonLabel }))) : null)))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
BiggiveImageCard.style = biggiveImageCardCss;
|
|
@@ -39,7 +39,7 @@ const BiggiveImageFeature = class {
|
|
|
39
39
|
this.buttonColourScheme = 'primary';
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '5179625cdbc9028b33eaff4a79d847754ea2475e', class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, h("div", { key: 'e34d2f22a44b23680d6f043c636f9574ec9c88d0', class: "sleeve" }, h("div", { key: 'ad9bd48b06c44ec01e76fbdfcbddce6f9396866b', class: "content-wrap" }, h("div", { key: 'a0463b0b48d5110eb4a9678358827192f4c1875a', class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { key: '23159849baf518be44c564bbedb4270a8a25cf24', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: '5cae2bb4541a2aa8ee4d050c33022fba642538e3', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.buttonLabel != null && this.buttonUrl != null ? (h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })) : null), h("div", { key: 'a02b7af0e38bf8f4a19a0a1576f580525bd4b563', class: "graphic-wrap" }, this.imageUrl !== null && this.imageUrl !== undefined ? (h("div", { class: "image-wrap" }, h("img", { src: this.imageUrl, alt: this.imageAltText }))) : null))));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
BiggiveImageFeature.style = biggiveImageFeatureCss;
|
|
@@ -49,7 +49,7 @@ const BiggiveImage = class {
|
|
|
49
49
|
return height;
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: '984bb4a5376a9b657933e6cc9611618e1e495699', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow, style: { width: this.getWidth(), height: this.getHeight() } }, h("div", { key: '1978120a54a62722b26c6c0f3c1d5c5150abc5d7', class: "image-wrap" }, h("img", { key: '9f47b5a76771572d8a46c7f05cc23dd01d2735c5', src: this.imageUrl, style: { width: this.getWidth(), height: this.getHeight() }, alt: this.imageAltText }))));
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
BiggiveImage.style = biggiveImageCss;
|