@biggive/components 202603041449.0.0 → 202603041835.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.
@@ -1 +1 @@
1
- import{p as e,H as o,b as t}from"./p-eJW26lzZ.js";export{s as setNonce}from"./p-eJW26lzZ.js";import{g as l}from"./p-DQuL1Twl.js";var r=e=>{const o=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return o.call(this,e);const t=o.call(this,!1),l=this.childNodes;if(e)for(let e=0;e<l.length;e++)2!==l[e].nodeType&&t.appendChild(l[e].cloneNode(!0));return t}};(()=>{r(o.prototype);const t=import.meta.url,l={};return""!==t&&(l.resourcesUrl=new URL(".",t).href),e(l)})().then((async e=>(await l(),t(JSON.parse('[["p-0eaeb864",[[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]}]]],["p-80e0db90",[[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-7631b461",[[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"]}]]],["p-afa033d2",[[1,"biggive-cookie-banner",{"autoOpenPreferences":[4,"auto-open-preferences"],"blogUriPrefix":[1,"blog-uri-prefix"],"previouslyAgreedCookiePreferences":[16]},null,{"autoOpenPreferences":[{"autoOpenPreferencesIfRequested":0}]}]]],["p-c47d4c9e",[[257,"biggive-footer",{"headingLevel":[2,"heading-level"],"donateUrlPrefix":[1,"donate-url-prefix"],"blogUrlPrefix":[1,"blog-url-prefix"],"experienceUrlPrefix":[1,"experience-url-prefix"],"smallCharityWeekEnabled":[4,"small-charity-week-enabled"],"usePresetFooter":[4,"use-preset-footer"]}]]],["p-01b01870",[[1,"biggive-main-menu",{"blogUrlPrefix":[1,"blog-url-prefix"],"donateUrlPrefix":[1,"donate-url-prefix"],"experienceUrlPrefix":[1,"experience-url-prefix"],"smallCharityWeekEnabled":[4,"small-charity-week-enabled"],"someCampaignHasHomePageRedirect":[4,"some-campaign-has-home-page-redirect"],"isLoggedIn":[4,"is-logged-in"],"closeMobileMenuFromOutside":[64]}]]],["p-11764af6",[[1,"philco-main-menu",{"philcoUrlPrefix":[1,"philco-url-prefix"],"closeMobileMenuFromOutside":[64]}]]],["p-0732866f",[[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"]}]]],["p-035ab9ba",[[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"]}]]],["p-d00f7e85",[[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"]}]]],["p-3c4c2712",[[1,"biggive-hero-image",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"slug":[1],"slugColour":[1,"slug-colour"],"logo":[1],"logoHeight":[2,"logo-height"],"logoAltText":[1,"logo-alt-text"],"mainImage":[1,"main-image"],"mainImageShape":[1,"main-image-shape"],"mainImageAlignHorizontal":[1,"main-image-align-horizontal"],"mainImageAlignVertical":[1,"main-image-align-vertical"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-2d91208e",[[1,"biggive-icon-button",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundPadding":[2,"background-padding"],"text":[1],"textColour":[1,"text-colour"],"icon":[1],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"size":[1],"arrow":[4],"arrowColour":[1,"arrow-colour"],"circle":[4],"shadow":[4],"centered":[4],"rounded":[4],"buttonId":[1,"button-id"]}]]],["p-9852ff0b",[[1,"biggive-image-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"mainImageUrl":[1,"main-image-url"],"mainImageAltText":[1,"main-image-alt-text"],"textAlign":[1,"text-align"],"teaser":[1],"teaserColour":[1,"teaser-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"],"addAnimation":[4,"add-animation"]}]]],["p-923b2c98",[[1,"biggive-image-feature",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"imageUrl":[1,"image-url"],"imageAltText":[1,"image-alt-text"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-0e1f7f8b",[[1,"biggive-video-feature",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"videoUrl":[1,"video-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-d716371c",[[1,"biggive-accordion",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"headingColour":[1,"heading-colour"],"children":[32]}]]],["p-0e809246",[[1,"biggive-accordion-entry",{"heading":[1]}]]],["p-f9cfbe70",[[1,"biggive-back-to-top"]]],["p-ae012767",[[1,"biggive-biography-card",{"spaceBelow":[2,"space-below"],"borderWidth":[2,"border-width"],"imageUrl":[1,"image-url"],"imageStyle":[1,"image-style"],"textColour":[1,"text-colour"],"backgroundColour":[1,"background-colour"],"fullName":[1,"full-name"],"jobTitle":[1,"job-title"],"textAlign":[1,"text-align"],"ratio":[1],"circle":[4],"circleColour":[1,"circle-colour"],"rounded":[4],"url":[1]}]]],["p-6951c905",[[257,"biggive-boxed-content",{"spaceBelow":[2,"space-below"],"verticalPadding":[2,"vertical-padding"],"horizontalPadding":[2,"horizontal-padding"],"backgroundColour":[1,"background-colour"],"shadow":[4]}]]],["p-dc049d15",[[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"]}]]],["p-1fddd3f0",[[257,"biggive-container-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"cardColour":[1,"card-colour"],"textColour":[1,"text-colour"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"],"headingLevel":[2,"heading-level"]}]]],["p-735524b5",[[257,"biggive-form"]]],["p-aa7934db",[[257,"biggive-formatted-text",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"maxWidth":[2,"max-width"],"siteDesign":[1,"site-design"]}]]],["p-f01e6a78",[[257,"biggive-grid",{"spaceBelow":[2,"space-below"],"columnCount":[2,"column-count"],"spaceBetween":[4,"space-between"],"columnGap":[2,"column-gap"]}]]],["p-6ec4baac",[[1,"biggive-heading",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"colour":[1],"htmlElement":[1,"html-element"],"size":[2],"align":[1],"text":[1],"icon":[4],"iconColour":[1,"icon-colour"],"siteDesign":[1,"site-design"]}]]],["p-c3358a9f",[[1,"biggive-heading-banner",{"targetUrl":[1,"target-url"],"logo":[1],"slug":[1],"mainTitle":[1,"main-title"],"mainImageUrl":[1,"main-image-url"],"focalPoint":[1,"focal-point"],"teaser":[1],"backgroundColour":[1,"background-colour"],"textBackgroundColour":[1,"text-background-colour"],"slugColour":[1,"slug-colour"],"mainTitleColour":[1,"main-title-colour"],"teaserColour":[1,"teaser-colour"],"height":[1]}]]],["p-d4278701",[[1,"biggive-image",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"imageAltText":[1,"image-alt-text"],"width":[2],"height":[2],"sizeUnit":[1,"size-unit"]}]]],["p-d0b9afaf",[[1,"biggive-image-button",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundPadding":[2,"background-padding"],"text":[1],"textColour":[1,"text-colour"],"imageUrl":[1,"image-url"],"imageStyle":[1,"image-style"],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"size":[1],"arrow":[4],"arrowColour":[1,"arrow-colour"],"circle":[4],"shadow":[4],"centered":[4],"rounded":[4],"buttonId":[1,"button-id"]}]]],["p-8c35329c",[[257,"biggive-nav-group",{"inline":[4]}]]],["p-0b7708ae",[[257,"biggive-nav-item",{"url":[1],"label":[1],"iconColour":[1,"icon-colour"]}]]],["p-fe51dc95",[[257,"biggive-page-column"]]],["p-6c98331d",[[257,"biggive-page-columns",{"spaceBelow":[2,"space-below"]}]]],["p-65b741e1",[[257,"biggive-page-section",{"spaceBelow":[2,"space-below"],"sectionStyleTop":[1,"section-style-top"],"sectionStyleBottom":[1,"section-style-bottom"],"colourScheme":[1,"colour-scheme"],"maxWidth":[2,"max-width"],"primaryFullBleed":[4,"primary-full-bleed"]}]]],["p-94e1906f",[[1,"biggive-quote",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"quote":[1],"attribution":[1],"quoteIconColour":[1,"quote-icon-colour"],"siteDesign":[1,"site-design"]}]]],["p-690b46f6",[[257,"biggive-sheet",{"sheetId":[1,"sheet-id"],"backgroundColour":[1,"background-colour"],"textColour":[1,"text-colour"]}]]],["p-e26f4e83",[[257,"biggive-tab",{"tabTitle":[1,"tab-title"]}]]],["p-2aefd822",[[257,"biggive-tabbed-content",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"selectedTextColour":[1,"selected-text-colour"],"navigationHighlightColour":[1,"navigation-highlight-colour"],"selectedNavigationHighlightColour":[1,"selected-navigation-highlight-colour"],"buttonBackgroundColour":[1,"button-background-colour"],"buttonIconColour":[1,"button-icon-colour"]}]]],["p-a18dfe2b",[[257,"biggive-table",{"spaceBelow":[2,"space-below"],"headerTextColour":[1,"header-text-colour"],"headerBackgroundColour":[1,"header-background-colour"],"bodyTextColour":[1,"body-text-colour"],"bodyBackgroundColour":[1,"body-background-colour"]}]]],["p-07f6193b",[[257,"biggive-text-input",{"currency":[1],"spaceBelow":[2,"space-below"],"selectStyle":[1,"select-style"],"siteDesign":[1,"site-design"]}]]],["p-4e91f697",[[1,"biggive-timeline",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"selectedTextColour":[1,"selected-text-colour"],"navigationHighlightColour":[1,"navigation-highlight-colour"],"selectedNavigationHighlightColour":[1,"selected-navigation-highlight-colour"],"buttonBackgroundColour":[1,"button-background-colour"],"buttonIconColour":[1,"button-icon-colour"],"entryBackgroundColour":[1,"entry-background-colour"],"entryHighlightColour":[1,"entry-highlight-colour"],"entryDateColour":[1,"entry-date-colour"],"entryTitleColour":[1,"entry-title-colour"],"entryTextColour":[1,"entry-text-colour"]}]]],["p-0161bda4",[[1,"biggive-timeline-entry",{"date":[1],"heading":[1]}]]],["p-e0de3e38",[[257,"biggive-totalizer",{"spaceBelow":[2,"space-below"],"primaryColour":[1,"primary-colour"],"primaryTextColour":[1,"primary-text-colour"],"secondaryColour":[1,"secondary-colour"],"secondaryTextColour":[1,"secondary-text-colour"],"mainMessage":[1,"main-message"]}]]],["p-5b74ac73",[[1,"biggive-totalizer-ticker-item",{"figure":[1],"label":[1]}]]],["p-3d8c0710",[[1,"biggive-video",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"videoUrl":[1,"video-url"]}]]],["p-a3cdc8c9",[[1,"philco-footer",{"headingLevel":[2,"heading-level"],"philcoUrlPrefix":[1,"philco-url-prefix"]}]]],["p-cbbd3d27",[[1,"biggive-form-field-select",{"selectionChanged":[16],"prompt":[1],"selectedValue":[1025,"selected-value"],"selectedLabel":[1025,"selected-label"],"options":[1],"selectStyle":[1,"select-style"],"backgroundColour":[1,"background-colour"],"selectedOptionColour":[1,"selected-option-colour"],"selectElementId":[1,"select-element-id"],"spaceBelow":[2,"space-below"],"placeholder":[1]}]]],["p-a67926e6",[[257,"biggive-popup",{"modalClosedCallback":[16],"openFromOutside":[64],"closeFromOutside":[64]}]]],["p-579a0a78",[[1,"biggive-progress-bar",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"counter":[2]}]]],["p-66b4e7fb",[[1,"biggive-social-icon",{"service":[1],"labelPrefix":[1,"label-prefix"],"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"wide":[4],"url":[1]}]]],["p-63535bee",[[1,"biggive-misc-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"url":[1]}]]],["p-8fe710bc",[[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]}]]]]'),e))));
1
+ import{p as e,H as o,b as t}from"./p-eJW26lzZ.js";export{s as setNonce}from"./p-eJW26lzZ.js";import{g as l}from"./p-DQuL1Twl.js";var r=e=>{const o=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return o.call(this,e);const t=o.call(this,!1),l=this.childNodes;if(e)for(let e=0;e<l.length;e++)2!==l[e].nodeType&&t.appendChild(l[e].cloneNode(!0));return t}};(()=>{r(o.prototype);const t=import.meta.url,l={};return""!==t&&(l.resourcesUrl=new URL(".",t).href),e(l)})().then((async e=>(await l(),t(JSON.parse('[["p-0eaeb864",[[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]}]]],["p-dd9ced38",[[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-7631b461",[[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"]}]]],["p-2764da54",[[1,"biggive-cookie-banner",{"autoOpenPreferences":[4,"auto-open-preferences"],"blogUriPrefix":[1,"blog-uri-prefix"],"previouslyAgreedCookiePreferences":[16]},null,{"autoOpenPreferences":[{"autoOpenPreferencesIfRequested":0}]}]]],["p-c47d4c9e",[[257,"biggive-footer",{"headingLevel":[2,"heading-level"],"donateUrlPrefix":[1,"donate-url-prefix"],"blogUrlPrefix":[1,"blog-url-prefix"],"experienceUrlPrefix":[1,"experience-url-prefix"],"smallCharityWeekEnabled":[4,"small-charity-week-enabled"],"usePresetFooter":[4,"use-preset-footer"]}]]],["p-01b01870",[[1,"biggive-main-menu",{"blogUrlPrefix":[1,"blog-url-prefix"],"donateUrlPrefix":[1,"donate-url-prefix"],"experienceUrlPrefix":[1,"experience-url-prefix"],"smallCharityWeekEnabled":[4,"small-charity-week-enabled"],"someCampaignHasHomePageRedirect":[4,"some-campaign-has-home-page-redirect"],"isLoggedIn":[4,"is-logged-in"],"closeMobileMenuFromOutside":[64]}]]],["p-11764af6",[[1,"philco-main-menu",{"philcoUrlPrefix":[1,"philco-url-prefix"],"closeMobileMenuFromOutside":[64]}]]],["p-0732866f",[[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"]}]]],["p-035ab9ba",[[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"]}]]],["p-d00f7e85",[[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"]}]]],["p-3c4c2712",[[1,"biggive-hero-image",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"slug":[1],"slugColour":[1,"slug-colour"],"logo":[1],"logoHeight":[2,"logo-height"],"logoAltText":[1,"logo-alt-text"],"mainImage":[1,"main-image"],"mainImageShape":[1,"main-image-shape"],"mainImageAlignHorizontal":[1,"main-image-align-horizontal"],"mainImageAlignVertical":[1,"main-image-align-vertical"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-2d91208e",[[1,"biggive-icon-button",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundPadding":[2,"background-padding"],"text":[1],"textColour":[1,"text-colour"],"icon":[1],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"size":[1],"arrow":[4],"arrowColour":[1,"arrow-colour"],"circle":[4],"shadow":[4],"centered":[4],"rounded":[4],"buttonId":[1,"button-id"]}]]],["p-9852ff0b",[[1,"biggive-image-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"mainImageUrl":[1,"main-image-url"],"mainImageAltText":[1,"main-image-alt-text"],"textAlign":[1,"text-align"],"teaser":[1],"teaserColour":[1,"teaser-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"],"addAnimation":[4,"add-animation"]}]]],["p-923b2c98",[[1,"biggive-image-feature",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"imageUrl":[1,"image-url"],"imageAltText":[1,"image-alt-text"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-0e1f7f8b",[[1,"biggive-video-feature",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"videoUrl":[1,"video-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-d716371c",[[1,"biggive-accordion",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"headingColour":[1,"heading-colour"],"children":[32]}]]],["p-0e809246",[[1,"biggive-accordion-entry",{"heading":[1]}]]],["p-f9cfbe70",[[1,"biggive-back-to-top"]]],["p-ae012767",[[1,"biggive-biography-card",{"spaceBelow":[2,"space-below"],"borderWidth":[2,"border-width"],"imageUrl":[1,"image-url"],"imageStyle":[1,"image-style"],"textColour":[1,"text-colour"],"backgroundColour":[1,"background-colour"],"fullName":[1,"full-name"],"jobTitle":[1,"job-title"],"textAlign":[1,"text-align"],"ratio":[1],"circle":[4],"circleColour":[1,"circle-colour"],"rounded":[4],"url":[1]}]]],["p-6951c905",[[257,"biggive-boxed-content",{"spaceBelow":[2,"space-below"],"verticalPadding":[2,"vertical-padding"],"horizontalPadding":[2,"horizontal-padding"],"backgroundColour":[1,"background-colour"],"shadow":[4]}]]],["p-dc049d15",[[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"]}]]],["p-1fddd3f0",[[257,"biggive-container-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"cardColour":[1,"card-colour"],"textColour":[1,"text-colour"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"],"headingLevel":[2,"heading-level"]}]]],["p-735524b5",[[257,"biggive-form"]]],["p-aa7934db",[[257,"biggive-formatted-text",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"maxWidth":[2,"max-width"],"siteDesign":[1,"site-design"]}]]],["p-f01e6a78",[[257,"biggive-grid",{"spaceBelow":[2,"space-below"],"columnCount":[2,"column-count"],"spaceBetween":[4,"space-between"],"columnGap":[2,"column-gap"]}]]],["p-6ec4baac",[[1,"biggive-heading",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"colour":[1],"htmlElement":[1,"html-element"],"size":[2],"align":[1],"text":[1],"icon":[4],"iconColour":[1,"icon-colour"],"siteDesign":[1,"site-design"]}]]],["p-c3358a9f",[[1,"biggive-heading-banner",{"targetUrl":[1,"target-url"],"logo":[1],"slug":[1],"mainTitle":[1,"main-title"],"mainImageUrl":[1,"main-image-url"],"focalPoint":[1,"focal-point"],"teaser":[1],"backgroundColour":[1,"background-colour"],"textBackgroundColour":[1,"text-background-colour"],"slugColour":[1,"slug-colour"],"mainTitleColour":[1,"main-title-colour"],"teaserColour":[1,"teaser-colour"],"height":[1]}]]],["p-d4278701",[[1,"biggive-image",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"imageAltText":[1,"image-alt-text"],"width":[2],"height":[2],"sizeUnit":[1,"size-unit"]}]]],["p-d0b9afaf",[[1,"biggive-image-button",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundPadding":[2,"background-padding"],"text":[1],"textColour":[1,"text-colour"],"imageUrl":[1,"image-url"],"imageStyle":[1,"image-style"],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"size":[1],"arrow":[4],"arrowColour":[1,"arrow-colour"],"circle":[4],"shadow":[4],"centered":[4],"rounded":[4],"buttonId":[1,"button-id"]}]]],["p-8c35329c",[[257,"biggive-nav-group",{"inline":[4]}]]],["p-0b7708ae",[[257,"biggive-nav-item",{"url":[1],"label":[1],"iconColour":[1,"icon-colour"]}]]],["p-fe51dc95",[[257,"biggive-page-column"]]],["p-6c98331d",[[257,"biggive-page-columns",{"spaceBelow":[2,"space-below"]}]]],["p-65b741e1",[[257,"biggive-page-section",{"spaceBelow":[2,"space-below"],"sectionStyleTop":[1,"section-style-top"],"sectionStyleBottom":[1,"section-style-bottom"],"colourScheme":[1,"colour-scheme"],"maxWidth":[2,"max-width"],"primaryFullBleed":[4,"primary-full-bleed"]}]]],["p-94e1906f",[[1,"biggive-quote",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"quote":[1],"attribution":[1],"quoteIconColour":[1,"quote-icon-colour"],"siteDesign":[1,"site-design"]}]]],["p-690b46f6",[[257,"biggive-sheet",{"sheetId":[1,"sheet-id"],"backgroundColour":[1,"background-colour"],"textColour":[1,"text-colour"]}]]],["p-e26f4e83",[[257,"biggive-tab",{"tabTitle":[1,"tab-title"]}]]],["p-2aefd822",[[257,"biggive-tabbed-content",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"selectedTextColour":[1,"selected-text-colour"],"navigationHighlightColour":[1,"navigation-highlight-colour"],"selectedNavigationHighlightColour":[1,"selected-navigation-highlight-colour"],"buttonBackgroundColour":[1,"button-background-colour"],"buttonIconColour":[1,"button-icon-colour"]}]]],["p-a18dfe2b",[[257,"biggive-table",{"spaceBelow":[2,"space-below"],"headerTextColour":[1,"header-text-colour"],"headerBackgroundColour":[1,"header-background-colour"],"bodyTextColour":[1,"body-text-colour"],"bodyBackgroundColour":[1,"body-background-colour"]}]]],["p-07f6193b",[[257,"biggive-text-input",{"currency":[1],"spaceBelow":[2,"space-below"],"selectStyle":[1,"select-style"],"siteDesign":[1,"site-design"]}]]],["p-4e91f697",[[1,"biggive-timeline",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"selectedTextColour":[1,"selected-text-colour"],"navigationHighlightColour":[1,"navigation-highlight-colour"],"selectedNavigationHighlightColour":[1,"selected-navigation-highlight-colour"],"buttonBackgroundColour":[1,"button-background-colour"],"buttonIconColour":[1,"button-icon-colour"],"entryBackgroundColour":[1,"entry-background-colour"],"entryHighlightColour":[1,"entry-highlight-colour"],"entryDateColour":[1,"entry-date-colour"],"entryTitleColour":[1,"entry-title-colour"],"entryTextColour":[1,"entry-text-colour"]}]]],["p-0161bda4",[[1,"biggive-timeline-entry",{"date":[1],"heading":[1]}]]],["p-e0de3e38",[[257,"biggive-totalizer",{"spaceBelow":[2,"space-below"],"primaryColour":[1,"primary-colour"],"primaryTextColour":[1,"primary-text-colour"],"secondaryColour":[1,"secondary-colour"],"secondaryTextColour":[1,"secondary-text-colour"],"mainMessage":[1,"main-message"]}]]],["p-5b74ac73",[[1,"biggive-totalizer-ticker-item",{"figure":[1],"label":[1]}]]],["p-3d8c0710",[[1,"biggive-video",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"videoUrl":[1,"video-url"]}]]],["p-a3cdc8c9",[[1,"philco-footer",{"headingLevel":[2,"heading-level"],"philcoUrlPrefix":[1,"philco-url-prefix"]}]]],["p-cbbd3d27",[[1,"biggive-form-field-select",{"selectionChanged":[16],"prompt":[1],"selectedValue":[1025,"selected-value"],"selectedLabel":[1025,"selected-label"],"options":[1],"selectStyle":[1,"select-style"],"backgroundColour":[1,"background-colour"],"selectedOptionColour":[1,"selected-option-colour"],"selectElementId":[1,"select-element-id"],"spaceBelow":[2,"space-below"],"placeholder":[1]}]]],["p-a67926e6",[[257,"biggive-popup",{"modalClosedCallback":[16],"openFromOutside":[64],"closeFromOutside":[64]}]]],["p-579a0a78",[[1,"biggive-progress-bar",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"counter":[2]}]]],["p-66b4e7fb",[[1,"biggive-social-icon",{"service":[1],"labelPrefix":[1,"label-prefix"],"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"wide":[4],"url":[1]}]]],["p-63535bee",[[1,"biggive-misc-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"url":[1]}]]],["p-8fe710bc",[[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]}]]]]'),e))));
@@ -0,0 +1 @@
1
+ import{r as e,c as o,h as r,g as c}from"./p-eJW26lzZ.js";const a=class{constructor(r){e(this,r),this.preferenceModalClosed=o(this,"preferenceModalClosed"),this.cookieBannerAcceptAllSelected=o(this,"cookieBannerAcceptAllSelected"),this.cookieBannerSavePreferencesSelected=o(this,"cookieBannerSavePreferencesSelected"),this.autoOpenPreferences=!1,this.previouslyAgreedCookiePreferences=void 0,this.handleChoosePrefencesClick=()=>{var e;const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.openFromOutside()},this.handleAcceptSelectedCookies=()=>{var e,o,r;const c=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==c||c.closeFromOutside();const a=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("a-and-t-on"),l=null===(r=this.el.shadowRoot)||void 0===r?void 0:r.getElementById("third-party-on");this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:a.checked,thirdParty:l.checked}),null==c||c.closeFromOutside()},this.handleRejectAllClicked=()=>{var e;this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:!1,thirdParty:!1});const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.closeFromOutside()},this.handleAcceptAllClick=()=>{this.cookieBannerAcceptAllSelected.emit()}}componentDidLoad(){this.autoOpenPreferencesIfRequested()}autoOpenPreferencesIfRequested(){this.autoOpenPreferences&&this.handleChoosePrefencesClick()}render(){const e=this.previouslyAgreedCookiePreferences||{};return r("div",{key:"2ee762a4640a2e1ff255f9180678cf4dbfd2a598",class:"cooke-consent-container"},r("biggive-popup",{key:"9d39b792cfd48459a51e16a17c212f7aa96cdb35",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},r("div",{key:"6c486081f247c2f9c4dff5b8e3c177e43da36261",class:"content"},r("h4",{key:"547ae87c1d361e0161be3aa6315faac3fb44e6db",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),r("form",{key:"ab5a6534d73331e4a5018777cdb8c7cc3b2b149f"},r("div",{key:"027ebb76da24705c89dd0e7af9efc9422df248d5",class:"radio-group"},r("h5",{key:"1c62fe21a32c3bdc848926e724ec40d6576115a3"},"Essential Cookies"),r("p",{key:"98f449597690871d767eac1c1b27a39c4ff18e25"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),r("input",{key:"4b2052c2f6f27906c81abfbbe865838254dc6051",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),r("label",{key:"f6ab1b8625211d554247ef4c0cf5d9f799b2515c",htmlFor:"necassary-on"},"Off"),r("input",{key:"272f94637c70e08713e571e7f3b17a1b41146852",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),r("label",{key:"3e68f999e48edf31e32e1f130650df9a22e7e787",htmlFor:"necassary-on"},"On")),r("div",{key:"3b362a4ce9e7554459548e9cee7ee8ce872bb004",class:"radio-group"},r("h5",{key:"9b8eac4ea8b6af098173981e6025c05bc899e709"},"Analytics & Testing Cookies"),r("p",{key:"000d21c0e10f879a35ac5557e9484c42bfdae312"},"We use analytics cookies to track activity on our website. For example, the pages you’ve visited, the content you’ve engaged with and the search terms you’ve used. This allows us to personalise and improve our content."),r("p",{key:"675349e29fad1b3de7d2fdafcedeee10feb125b6"},"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."),r("input",{key:"0e6d334945abcc1a141d961393d1524c6770de0c",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!e.analyticsAndTesting}),r("label",{key:"a723fd69b03b9b90ced9520761201a171f792ddb",htmlFor:"a-and-t-off"},"Off"),r("input",{key:"ff4f269d26fc5844cd524c37fc0824ef1398d021",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!e.analyticsAndTesting}),r("label",{key:"6ffc75bb6a62603d7a17ad15527f5ca332e7b132",htmlFor:"a-and-t-on"},"On")),r("div",{key:"d329c1108db6cb261d26d90a920eb1849b08f761",class:"radio-group"},r("h5",{key:"130a8ab018ce11ed335a06288267de9e200d7745"},"Third-party Cookies "),r("p",{key:"b8371a30da31cb25675a48af00817259e33b7512"},"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."),r("input",{key:"68df1be21a7bd82efd2150b18e6c1ee9d808157e",type:"radio",name:"third-party",id:"third-party-off",checked:!e.thirdParty}),r("label",{key:"d3c37fc2aba4109dbdc17fe55cba69974cf846b4",htmlFor:"third-party-off"},"Off"),r("input",{key:"8be79cae8752cb1ceedb9afbd4ce2dd972c994ed",type:"radio",name:"third-party",id:"third-party-on",checked:!!e.thirdParty}),r("label",{key:"ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18",htmlFor:"third-party-on"},"On")),r("biggive-button",{key:"c741eb5b97a6fbc9f40e48764b9bc8f52eaee224","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:!1,centered:!1,"button-id":"accept-selected-button",onDoButtonClick:this.handleAcceptSelectedCookies})),r("p",{key:"5765fcffe6d1b541e118ade489a24c0ca8a4be49"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),r("h2",{key:"e4c18aec6a1d62197fbcd39b1d5e35124160d1f5"},"Our website uses cookies"),r("p",{key:"1e1517603481eb6c64f22c2e1047418b9dcb8b1a"},"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."),r("p",{key:"efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459"},r("a",{key:"d8a0d8f6a625a7dea5cbf23860b426ee432e7799",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),r("div",{key:"cf6989bab1ab42986edcc1d178f6eee571a6cbdd",class:"button-group"},r("biggive-button",{key:"ffd8e4435f368a4e269a191366749bf7896acae6",onDoButtonClick: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:!1,centered:!1,"button-id":"accept-all-button"}),r("biggive-button",{key:"07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62",onDoButtonClick: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:!1,centered:!1,"button-id":"choose-preferences-button"}),r("biggive-button",{key:"66ad770ea7212e6721e0a59d3b6cee34709f23ad",onDoButtonClick: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:!1,centered:!1,"button-id":"choose-preferences-button"})))}get el(){return c(this)}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}};a.style='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}.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}h2:first-child{margin-top:0}div.cooke-consent-container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;font-size:13px;line-height:17px;border-radius:10px;background:white;border:1px solid black;max-width:650px;padding:1em}div.button-group{margin-top:1em;display:flex;justify-content:space-evenly;width:100%;flex-direction:column;gap:1em}@media screen and (min-width: 475px){div.button-group{flex-direction:row-reverse}}biggive-popup{font-size:17px;line-height:24px}biggive-popup div.content{max-height:95vh;overflow:auto}biggive-popup div.content h5{border-bottom:2px solid black;max-width:25em;margin-bottom:5px}biggive-popup div.content p{margin-top:5px;margin-bottom:8px}biggive-popup div.content div.radio-group{margin-bottom:30px}';export{a as biggive_cookie_banner}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as i,g as a}from"./p-eJW26lzZ.js";import{f as l}from"./p-CoGE2Wf-.js";const s={relevance:"Relevance",amountRaised:"Most raised",leastRaised:"Least raised",closeToTarget:"Nearest target",matchFundsRemaining:"Most funds remaining"},r=class{constructor(i){e(this,i),this.doSearchAndFilterUpdate=t(this,"doSearchAndFilterUpdate"),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 i("div",{key:"5be71f04f2f6e4a45e61da8940e2539f348c5cac",class:"container space-below-"+this.spaceBelow},i("div",{key:"f1b79a107817211888847c09c99447759052ccd6",class:"sleeve"},i("div",{key:"7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84",class:"search-wrap"},i("h4",{key:"c78c9b66dac9880f28513fb3fb8f0f2cca9d0861"},this.intro),i("div",{key:"0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8",class:"field-wrap"},i("div",{key:"406ec166abfc71ad3773077376073fd9ece76aac",class:"input-wrap"},i("svg",{key:"6b736eb1bd1560214079b50cce7bc59fed380eba",xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 512 512"},i("path",{key:"8fdac8bd9978f84302725fff032d5a7248a78982",d:l.icon[4].toString()})),i("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})),i("biggive-button",{key:"9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908",onDoButtonClick:this.handleSearchButtonPressed,label:this.buttonText}))),i("div",{key:"61145db67953fd6235150c9e3aa4c5e1ddecc032",class:"sort-filter-wrap"},i("div",{key:"a15f585989f71159f8ba838463b0d240431633f7",class:"filter-wrap"},i("biggive-button",{key:"cc6aa826f7f492bd0e5016d1bde47f24535ce87d",class:"filter",colourScheme:"primary",onDoButtonClick:this.handleFilterButtonClick,label:"Filter",fullWidth:!0,"space-below":"0"}),i("biggive-popup",{key:"3ad918e1772a03426c5c067964bbb0fbbc2b56c8",id:"filter-popup"},i("h4",{key:"ba1813fa8e36ee461a85bf497cb06b60a4995b18",class:"space-above-0 space-below-3 text-colour-primary"},"Filters"),i("div",{key:"7f6deab4b11cd5841b691e8d44344462ab111bc5",class:"select-wrapper-1"},i("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"})),i("div",{key:"7bbcd9eb9642b84be51492f6db7bb6381366da4c",class:"select-wrapper-2"},i("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"})),i("div",{key:"de856e44a37fa775389bee8559105654f43291a0",class:"select-wrapper-3"},i("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"})),i("div",{key:"6227a1d3942f208608a2ad91bf28c49b4bc9022d",class:"align-right"},i("biggive-button",{key:"bf1c8b35b7a151092173ad07c6cea1005a06cf7a",label:"Apply filters",onDoButtonClick:this.handleApplyFilterButtonClick})))),i("div",{key:"8ebda9bd87f0699cc4583ea83965e7a4ee55a487",class:"sort-wrap"},i("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"},i("biggive-form-field-select-option",{key:"d2c48236d24a187f7f6a0c1d6b19a677164b075d",value:"amountRaised",label:"Most raised"}),i("biggive-form-field-select-option",{key:"26a71e33235df3c3b3893c3c2567356bda95a51b",value:"leastRaised",label:"Least raised"}),i("biggive-form-field-select-option",{key:"425338ab178fb056fcaa34cd99a2034b82537eb4",value:"matchFundsRemaining",label:"Most funds remaining"}),i("biggive-form-field-select-option",{key:"c830bde748760a1a8bfb1ec4c51a6cb7adb235af",value:"closeToTarget",label:"Nearest target"}),(this.searchText||"").length>0?i("biggive-form-field-select-option",{value:"Relevance",label:"Relevance"}):null))),i("div",{key:"31ddc538b8a2e77d82a39aeaea1273eb1ac55135",class:"selected-filter-wrap"},i("div",{key:"47b7979d0b14fbba0f1468f26af3973fe3ea4f28",class:"selected-filters"},this.selectedFilterCategory&&i("span",{key:"f4fd6cc1214954fcdf238e93a0397ede5ccdb921",class:"button",onClick:()=>{this.removeFilter("categories")}},this.selectedFilterCategory),this.selectedFilterBeneficiary&&i("span",{key:"946143a1693b5d8a5e2042de52e37d9a4841bc0f",class:"button",onClick:()=>{this.removeFilter("beneficiaries")}},this.selectedFilterBeneficiary),this.selectedFilterLocation&&i("span",{key:"facb50dff01a6b2c39f958ec0034c04dfe479828",class:"button",onClick:()=>{this.removeFilter("locations")}},this.selectedFilterLocation)),i("div",{key:"38c788f63669bc7b2acba4a73839cc6dd049a49a",class:"clear-all"},i("a",{key:"8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa",onClick:this.handleClearAll},"Clear all"))),i("div",{key:"df60a79e69ccdf7bcbcfd2c281d10446fb749a8e",class:"campaign-grid"},i("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(s).filter((e=>"relevance"!==e||this.hasSearchTerm())).map((e=>({value:e,label:s[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 a(this)}};r.style='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}';export{r as biggive_campaign_card_filter_grid}
@@ -211,13 +211,13 @@ const BiggiveCampaignCardFilterGrid = class {
211
211
  render() {
212
212
  var _a;
213
213
  const sortOptions = this.getSortOptions();
214
- return (index.h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, index.h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, index.h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), index.h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, index.h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, index.h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, index.h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: index$1.faMagnifyingGlass.icon[4].toString() })), index.h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), index.h("biggive-button", { key: 'a6adbfb9fcd371fa885c9388d9b0e6ffb77be101', onClick: this.handleSearchButtonPressed, label: this.buttonText }))), index.h("div", { key: 'a45cf9485f92f73f54dd406976556a72d2f29c5d', class: "sort-filter-wrap" }, index.h("div", { key: 'f4b956c6fac79dd108795d650207aa4c0dd0360a', class: "filter-wrap" }, index.h("biggive-button", { key: '117c37910f9691a928961462c9ce1282784dc414', class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), index.h("biggive-popup", { key: '83411c37fa74ba763c06da58dbd7402669fd5b3c', id: "filter-popup" }, index.h("h4", { key: '882cec7e23e27dca5665d092f72e024e53dcd9b2', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), index.h("div", { key: '4c92b8991a118e6e806a06de6fdf66e2a863b3d7', class: "select-wrapper-1" }, index.h("biggive-form-field-select", { key: '75299a448cc29c180be0a974ba6ab64c07be284a', 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" })), index.h("div", { key: '43dd351da5a08270991cab850579e3e5c183e3fe', class: "select-wrapper-2" }, index.h("biggive-form-field-select", { key: '689238442c848dcb332e9e05228e7c1a526795cb', 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" })), index.h("div", { key: '883873a8d9b2d8c1fc1dadec31870c8744f4fc8a', class: "select-wrapper-3" }, index.h("biggive-form-field-select", { key: 'c4b288cc45e2f646775dd7d5dadacbde3fe93ab5', 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" })), index.h("div", { key: 'e3fde293c9a35f207f6c3d829b8ccd47741af153', class: "align-right" }, index.h("biggive-button", { key: 'd84747fced15cd9b631d78f1aa23a45ab4d84d6e', label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), index.h("div", { key: '6a472e599b4252013ef4c8e0b8f5ffaa8e553b80', class: "sort-wrap" }, index.h("biggive-form-field-select", { key: '8104bd762a5876b0d94f4490bd6ebed7312df7ee', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, index.h("biggive-form-field-select-option", { key: '5be8216a3c20d4a799fdac08546804f9bdf49821', value: "amountRaised", label: "Most raised" }), index.h("biggive-form-field-select-option", { key: '6694d525c670a76cac8835c4024127020a3ff31c', value: "leastRaised", label: "Least raised" }), index.h("biggive-form-field-select-option", { key: '345b4557173a1569fb0f0e6083bb0de974ddda1c', value: "matchFundsRemaining", label: "Most funds remaining" }), index.h("biggive-form-field-select-option", { key: 'dc7b50338a0c2ea9a0ed658afbfe4e03aade6bec', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? index.h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), index.h("div", { key: '7d2c5dea405e6335335c3c2834df8824cc1aa794', class: "selected-filter-wrap" }, index.h("div", { key: '7de713038a47b889df8a612bbf98f871d8ecb7aa', class: "selected-filters" }, this.selectedFilterCategory && (index.h("span", { key: '599df847e376cb3901e84078494d760b919bd0c9', class: "button", onClick: () => {
214
+ return (index.h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, index.h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, index.h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), index.h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, index.h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, index.h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, index.h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: index$1.faMagnifyingGlass.icon[4].toString() })), index.h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), index.h("biggive-button", { key: '9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), index.h("div", { key: '61145db67953fd6235150c9e3aa4c5e1ddecc032', class: "sort-filter-wrap" }, index.h("div", { key: 'a15f585989f71159f8ba838463b0d240431633f7', class: "filter-wrap" }, index.h("biggive-button", { key: 'cc6aa826f7f492bd0e5016d1bde47f24535ce87d', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), index.h("biggive-popup", { key: '3ad918e1772a03426c5c067964bbb0fbbc2b56c8', id: "filter-popup" }, index.h("h4", { key: 'ba1813fa8e36ee461a85bf497cb06b60a4995b18', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), index.h("div", { key: '7f6deab4b11cd5841b691e8d44344462ab111bc5', class: "select-wrapper-1" }, index.h("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" })), index.h("div", { key: '7bbcd9eb9642b84be51492f6db7bb6381366da4c', class: "select-wrapper-2" }, index.h("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" })), index.h("div", { key: 'de856e44a37fa775389bee8559105654f43291a0', class: "select-wrapper-3" }, index.h("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" })), index.h("div", { key: '6227a1d3942f208608a2ad91bf28c49b4bc9022d', class: "align-right" }, index.h("biggive-button", { key: 'bf1c8b35b7a151092173ad07c6cea1005a06cf7a', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), index.h("div", { key: '8ebda9bd87f0699cc4583ea83965e7a4ee55a487', class: "sort-wrap" }, index.h("biggive-form-field-select", { key: 'd56d94c0edd3e5fcd0a9792c3a623158d0247bea', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, index.h("biggive-form-field-select-option", { key: 'd2c48236d24a187f7f6a0c1d6b19a677164b075d', value: "amountRaised", label: "Most raised" }), index.h("biggive-form-field-select-option", { key: '26a71e33235df3c3b3893c3c2567356bda95a51b', value: "leastRaised", label: "Least raised" }), index.h("biggive-form-field-select-option", { key: '425338ab178fb056fcaa34cd99a2034b82537eb4', value: "matchFundsRemaining", label: "Most funds remaining" }), index.h("biggive-form-field-select-option", { key: 'c830bde748760a1a8bfb1ec4c51a6cb7adb235af', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? index.h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), index.h("div", { key: '31ddc538b8a2e77d82a39aeaea1273eb1ac55135', class: "selected-filter-wrap" }, index.h("div", { key: '47b7979d0b14fbba0f1468f26af3973fe3ea4f28', class: "selected-filters" }, this.selectedFilterCategory && (index.h("span", { key: 'f4fd6cc1214954fcdf238e93a0397ede5ccdb921', class: "button", onClick: () => {
215
215
  this.removeFilter('categories');
216
- } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (index.h("span", { key: '230add2861461df94bbf86eb6371cfcd5b2f3921', class: "button", onClick: () => {
216
+ } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (index.h("span", { key: '946143a1693b5d8a5e2042de52e37d9a4841bc0f', class: "button", onClick: () => {
217
217
  this.removeFilter('beneficiaries');
218
- } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (index.h("span", { key: '9e5afaef02c69c8aba878fd1df0e80693f79b03b', class: "button", onClick: () => {
218
+ } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (index.h("span", { key: 'facb50dff01a6b2c39f958ec0034c04dfe479828', class: "button", onClick: () => {
219
219
  this.removeFilter('locations');
220
- } }, this.selectedFilterLocation))), index.h("div", { key: 'e9223d5d05c1a20eccb82abf963bac4cc88fbbe5', class: "clear-all" }, index.h("a", { key: 'b09d5af23d3dffa6e73f4bf019f5c4413389e6bc', onClick: this.handleClearAll }, "Clear all"))), index.h("div", { key: '58ac398dfb1df79bbdd27ec06c2e1e9b5d09e21f', class: "campaign-grid" }, index.h("slot", { key: 'c37dfb5a914398c02efe4945471d715dbb12f675', name: "campaign-grid" })))));
220
+ } }, this.selectedFilterLocation))), index.h("div", { key: '38c788f63669bc7b2acba4a73839cc6dd049a49a', class: "clear-all" }, index.h("a", { key: '8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa', onClick: this.handleClearAll }, "Clear all"))), index.h("div", { key: 'df60a79e69ccdf7bcbcfd2c281d10446fb749a8e', class: "campaign-grid" }, index.h("slot", { key: '845cd64aee0efa6aeadb8064d952ae43b4dfb6c7', name: "campaign-grid" })))));
221
221
  }
222
222
  // I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
223
223
  // test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
@@ -68,7 +68,7 @@ const BiggiveCookieBanner = class {
68
68
  // then the app may only pass a partial set of them in for a time. Any preference not passed will be treated as
69
69
  // declined.
70
70
  const cookiesCurrentlyAllowed = this.previouslyAgreedCookiePreferences || {};
71
- return (index.h("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, index.h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, index.h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, index.h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), index.h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, index.h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, index.h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), index.h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), index.h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), index.h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), index.h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), index.h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), index.h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, index.h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), index.h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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."), index.h("p", { key: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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."), index.h("input", { key: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), index.h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), index.h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, index.h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), index.h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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."), index.h("input", { key: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), index.h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), index.h("biggive-button", { key: '06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d', "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 })), index.h("p", { key: 'd99c4a4e8a86ca26fe87600ab9c3ece9ad373821' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), index.h("h2", { key: '7a498a8dc55809054149d3011fc8a4b69576ef43' }, "Our website uses cookies"), index.h("p", { key: '151ac7c14c937df38451e1dbae94a2d4c37a88ea' }, "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."), index.h("p", { key: '0439ea1fff021b9ecc68306004cf9c44e41a38a7' }, index.h("a", { key: '414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), index.h("div", { key: '831531018c437181a45e82472e5aef80ca021dab', class: "button-group" }, index.h("biggive-button", { key: '49ca756f041fc1d8d6c1fca330d71ad8a1beb573', 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" }), index.h("biggive-button", { key: '1698931eed62e2891486daa680c478be16f356ee', 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" }), index.h("biggive-button", { key: 'b3c22143d00da7f56fe532607c21493045d414d8', 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" }))));
71
+ return (index.h("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, index.h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, index.h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, index.h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), index.h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, index.h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, index.h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), index.h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), index.h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), index.h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), index.h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), index.h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), index.h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, index.h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), index.h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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."), index.h("p", { key: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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."), index.h("input", { key: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), index.h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), index.h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, index.h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), index.h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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."), index.h("input", { key: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), index.h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), index.h("biggive-button", { key: 'c741eb5b97a6fbc9f40e48764b9bc8f52eaee224', "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", onDoButtonClick: this.handleAcceptSelectedCookies })), index.h("p", { key: '5765fcffe6d1b541e118ade489a24c0ca8a4be49' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), index.h("h2", { key: 'e4c18aec6a1d62197fbcd39b1d5e35124160d1f5' }, "Our website uses cookies"), index.h("p", { key: '1e1517603481eb6c64f22c2e1047418b9dcb8b1a' }, "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."), index.h("p", { key: 'efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459' }, index.h("a", { key: 'd8a0d8f6a625a7dea5cbf23860b426ee432e7799', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), index.h("div", { key: 'cf6989bab1ab42986edcc1d178f6eee571a6cbdd', class: "button-group" }, index.h("biggive-button", { key: 'ffd8e4435f368a4e269a191366749bf7896acae6', onDoButtonClick: 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" }), index.h("biggive-button", { key: '07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62', onDoButtonClick: 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" }), index.h("biggive-button", { key: '66ad770ea7212e6721e0a59d3b6cee34709f23ad', onDoButtonClick: 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" }))));
72
72
  }
73
73
  get el() { return index.getElement(this); }
74
74
  static get watchers() { return {
@@ -204,13 +204,13 @@ export class BiggiveCampaignCardFilterGrid {
204
204
  render() {
205
205
  var _a;
206
206
  const sortOptions = this.getSortOptions();
207
- return (h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { key: 'a6adbfb9fcd371fa885c9388d9b0e6ffb77be101', onClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { key: 'a45cf9485f92f73f54dd406976556a72d2f29c5d', class: "sort-filter-wrap" }, h("div", { key: 'f4b956c6fac79dd108795d650207aa4c0dd0360a', class: "filter-wrap" }, h("biggive-button", { key: '117c37910f9691a928961462c9ce1282784dc414', class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { key: '83411c37fa74ba763c06da58dbd7402669fd5b3c', id: "filter-popup" }, h("h4", { key: '882cec7e23e27dca5665d092f72e024e53dcd9b2', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("div", { key: '4c92b8991a118e6e806a06de6fdf66e2a863b3d7', class: "select-wrapper-1" }, h("biggive-form-field-select", { key: '75299a448cc29c180be0a974ba6ab64c07be284a', 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" })), h("div", { key: '43dd351da5a08270991cab850579e3e5c183e3fe', class: "select-wrapper-2" }, h("biggive-form-field-select", { key: '689238442c848dcb332e9e05228e7c1a526795cb', 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" })), h("div", { key: '883873a8d9b2d8c1fc1dadec31870c8744f4fc8a', class: "select-wrapper-3" }, h("biggive-form-field-select", { key: 'c4b288cc45e2f646775dd7d5dadacbde3fe93ab5', 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" })), h("div", { key: 'e3fde293c9a35f207f6c3d829b8ccd47741af153', class: "align-right" }, h("biggive-button", { key: 'd84747fced15cd9b631d78f1aa23a45ab4d84d6e', label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), h("div", { key: '6a472e599b4252013ef4c8e0b8f5ffaa8e553b80', class: "sort-wrap" }, h("biggive-form-field-select", { key: '8104bd762a5876b0d94f4490bd6ebed7312df7ee', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, h("biggive-form-field-select-option", { key: '5be8216a3c20d4a799fdac08546804f9bdf49821', value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { key: '6694d525c670a76cac8835c4024127020a3ff31c', value: "leastRaised", label: "Least raised" }), h("biggive-form-field-select-option", { key: '345b4557173a1569fb0f0e6083bb0de974ddda1c', value: "matchFundsRemaining", label: "Most funds remaining" }), h("biggive-form-field-select-option", { key: 'dc7b50338a0c2ea9a0ed658afbfe4e03aade6bec', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), h("div", { key: '7d2c5dea405e6335335c3c2834df8824cc1aa794', class: "selected-filter-wrap" }, h("div", { key: '7de713038a47b889df8a612bbf98f871d8ecb7aa', class: "selected-filters" }, this.selectedFilterCategory && (h("span", { key: '599df847e376cb3901e84078494d760b919bd0c9', class: "button", onClick: () => {
207
+ return (h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { key: '9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { key: '61145db67953fd6235150c9e3aa4c5e1ddecc032', class: "sort-filter-wrap" }, h("div", { key: 'a15f585989f71159f8ba838463b0d240431633f7', class: "filter-wrap" }, h("biggive-button", { key: 'cc6aa826f7f492bd0e5016d1bde47f24535ce87d', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { key: '3ad918e1772a03426c5c067964bbb0fbbc2b56c8', id: "filter-popup" }, h("h4", { key: 'ba1813fa8e36ee461a85bf497cb06b60a4995b18', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("div", { key: '7f6deab4b11cd5841b691e8d44344462ab111bc5', class: "select-wrapper-1" }, h("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" })), h("div", { key: '7bbcd9eb9642b84be51492f6db7bb6381366da4c', class: "select-wrapper-2" }, h("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" })), h("div", { key: 'de856e44a37fa775389bee8559105654f43291a0', class: "select-wrapper-3" }, h("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" })), h("div", { key: '6227a1d3942f208608a2ad91bf28c49b4bc9022d', class: "align-right" }, h("biggive-button", { key: 'bf1c8b35b7a151092173ad07c6cea1005a06cf7a', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), h("div", { key: '8ebda9bd87f0699cc4583ea83965e7a4ee55a487', class: "sort-wrap" }, h("biggive-form-field-select", { key: 'd56d94c0edd3e5fcd0a9792c3a623158d0247bea', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, h("biggive-form-field-select-option", { key: 'd2c48236d24a187f7f6a0c1d6b19a677164b075d', value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { key: '26a71e33235df3c3b3893c3c2567356bda95a51b', value: "leastRaised", label: "Least raised" }), h("biggive-form-field-select-option", { key: '425338ab178fb056fcaa34cd99a2034b82537eb4', value: "matchFundsRemaining", label: "Most funds remaining" }), h("biggive-form-field-select-option", { key: 'c830bde748760a1a8bfb1ec4c51a6cb7adb235af', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), h("div", { key: '31ddc538b8a2e77d82a39aeaea1273eb1ac55135', class: "selected-filter-wrap" }, h("div", { key: '47b7979d0b14fbba0f1468f26af3973fe3ea4f28', class: "selected-filters" }, this.selectedFilterCategory && (h("span", { key: 'f4fd6cc1214954fcdf238e93a0397ede5ccdb921', class: "button", onClick: () => {
208
208
  this.removeFilter('categories');
209
- } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '230add2861461df94bbf86eb6371cfcd5b2f3921', class: "button", onClick: () => {
209
+ } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '946143a1693b5d8a5e2042de52e37d9a4841bc0f', class: "button", onClick: () => {
210
210
  this.removeFilter('beneficiaries');
211
- } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '9e5afaef02c69c8aba878fd1df0e80693f79b03b', class: "button", onClick: () => {
211
+ } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: 'facb50dff01a6b2c39f958ec0034c04dfe479828', class: "button", onClick: () => {
212
212
  this.removeFilter('locations');
213
- } }, this.selectedFilterLocation))), h("div", { key: 'e9223d5d05c1a20eccb82abf963bac4cc88fbbe5', class: "clear-all" }, h("a", { key: 'b09d5af23d3dffa6e73f4bf019f5c4413389e6bc', onClick: this.handleClearAll }, "Clear all"))), h("div", { key: '58ac398dfb1df79bbdd27ec06c2e1e9b5d09e21f', class: "campaign-grid" }, h("slot", { key: 'c37dfb5a914398c02efe4945471d715dbb12f675', name: "campaign-grid" })))));
213
+ } }, this.selectedFilterLocation))), h("div", { key: '38c788f63669bc7b2acba4a73839cc6dd049a49a', class: "clear-all" }, h("a", { key: '8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa', onClick: this.handleClearAll }, "Clear all"))), h("div", { key: 'df60a79e69ccdf7bcbcfd2c281d10446fb749a8e', class: "campaign-grid" }, h("slot", { key: '845cd64aee0efa6aeadb8064d952ae43b4dfb6c7', name: "campaign-grid" })))));
214
214
  }
215
215
  // I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
216
216
  // test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
@@ -59,7 +59,7 @@ export class BiggiveCookieBanner {
59
59
  // then the app may only pass a partial set of them in for a time. Any preference not passed will be treated as
60
60
  // declined.
61
61
  const cookiesCurrentlyAllowed = this.previouslyAgreedCookiePreferences || {};
62
- return (h("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), h("biggive-button", { key: '06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d', "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: 'd99c4a4e8a86ca26fe87600ab9c3ece9ad373821' }, "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: '7a498a8dc55809054149d3011fc8a4b69576ef43' }, "Our website uses cookies"), h("p", { key: '151ac7c14c937df38451e1dbae94a2d4c37a88ea' }, "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: '0439ea1fff021b9ecc68306004cf9c44e41a38a7' }, h("a", { key: '414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), h("div", { key: '831531018c437181a45e82472e5aef80ca021dab', class: "button-group" }, h("biggive-button", { key: '49ca756f041fc1d8d6c1fca330d71ad8a1beb573', 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: '1698931eed62e2891486daa680c478be16f356ee', 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: 'b3c22143d00da7f56fe532607c21493045d414d8', 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" }))));
62
+ return (h("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), h("biggive-button", { key: 'c741eb5b97a6fbc9f40e48764b9bc8f52eaee224', "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", onDoButtonClick: this.handleAcceptSelectedCookies })), h("p", { key: '5765fcffe6d1b541e118ade489a24c0ca8a4be49' }, "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: 'e4c18aec6a1d62197fbcd39b1d5e35124160d1f5' }, "Our website uses cookies"), h("p", { key: '1e1517603481eb6c64f22c2e1047418b9dcb8b1a' }, "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: 'efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459' }, h("a", { key: 'd8a0d8f6a625a7dea5cbf23860b426ee432e7799', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), h("div", { key: 'cf6989bab1ab42986edcc1d178f6eee571a6cbdd', class: "button-group" }, h("biggive-button", { key: 'ffd8e4435f368a4e269a191366749bf7896acae6', onDoButtonClick: 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: '07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62', onDoButtonClick: 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: '66ad770ea7212e6721e0a59d3b6cee34709f23ad', onDoButtonClick: 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" }))));
63
63
  }
64
64
  static get is() { return "biggive-cookie-banner"; }
65
65
  static get encapsulation() { return "shadow"; }
@@ -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:"a6adbfb9fcd371fa885c9388d9b0e6ffb77be101",onClick:this.handleSearchButtonPressed,label:this.buttonText}))),a("div",{key:"a45cf9485f92f73f54dd406976556a72d2f29c5d",class:"sort-filter-wrap"},a("div",{key:"f4b956c6fac79dd108795d650207aa4c0dd0360a",class:"filter-wrap"},a("biggive-button",{key:"117c37910f9691a928961462c9ce1282784dc414",class:"filter",colourScheme:"primary",onClick:this.handleFilterButtonClick,label:"Filter",fullWidth:!0,"space-below":"0"}),a("biggive-popup",{key:"83411c37fa74ba763c06da58dbd7402669fd5b3c",id:"filter-popup"},a("h4",{key:"882cec7e23e27dca5665d092f72e024e53dcd9b2",class:"space-above-0 space-below-3 text-colour-primary"},"Filters"),a("div",{key:"4c92b8991a118e6e806a06de6fdf66e2a863b3d7",class:"select-wrapper-1"},a("biggive-form-field-select",{key:"75299a448cc29c180be0a974ba6ab64c07be284a",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:"43dd351da5a08270991cab850579e3e5c183e3fe",class:"select-wrapper-2"},a("biggive-form-field-select",{key:"689238442c848dcb332e9e05228e7c1a526795cb",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:"883873a8d9b2d8c1fc1dadec31870c8744f4fc8a",class:"select-wrapper-3"},a("biggive-form-field-select",{key:"c4b288cc45e2f646775dd7d5dadacbde3fe93ab5",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:"e3fde293c9a35f207f6c3d829b8ccd47741af153",class:"align-right"},a("biggive-button",{key:"d84747fced15cd9b631d78f1aa23a45ab4d84d6e",label:"Apply filters",onClick:this.handleApplyFilterButtonClick})))),a("div",{key:"6a472e599b4252013ef4c8e0b8f5ffaa8e553b80",class:"sort-wrap"},a("biggive-form-field-select",{key:"8104bd762a5876b0d94f4490bd6ebed7312df7ee",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:"5be8216a3c20d4a799fdac08546804f9bdf49821",value:"amountRaised",label:"Most raised"}),a("biggive-form-field-select-option",{key:"6694d525c670a76cac8835c4024127020a3ff31c",value:"leastRaised",label:"Least raised"}),a("biggive-form-field-select-option",{key:"345b4557173a1569fb0f0e6083bb0de974ddda1c",value:"matchFundsRemaining",label:"Most funds remaining"}),a("biggive-form-field-select-option",{key:"dc7b50338a0c2ea9a0ed658afbfe4e03aade6bec",value:"closeToTarget",label:"Nearest target"}),(this.searchText||"").length>0?a("biggive-form-field-select-option",{value:"Relevance",label:"Relevance"}):null))),a("div",{key:"7d2c5dea405e6335335c3c2834df8824cc1aa794",class:"selected-filter-wrap"},a("div",{key:"7de713038a47b889df8a612bbf98f871d8ecb7aa",class:"selected-filters"},this.selectedFilterCategory&&a("span",{key:"599df847e376cb3901e84078494d760b919bd0c9",class:"button",onClick:()=>{this.removeFilter("categories")}},this.selectedFilterCategory),this.selectedFilterBeneficiary&&a("span",{key:"230add2861461df94bbf86eb6371cfcd5b2f3921",class:"button",onClick:()=>{this.removeFilter("beneficiaries")}},this.selectedFilterBeneficiary),this.selectedFilterLocation&&a("span",{key:"9e5afaef02c69c8aba878fd1df0e80693f79b03b",class:"button",onClick:()=>{this.removeFilter("locations")}},this.selectedFilterLocation)),a("div",{key:"e9223d5d05c1a20eccb82abf963bac4cc88fbbe5",class:"clear-all"},a("a",{key:"b09d5af23d3dffa6e73f4bf019f5c4413389e6bc",onClick:this.handleClearAll},"Clear all"))),a("div",{key:"58ac398dfb1df79bbdd27ec06c2e1e9b5d09e21f",class:"campaign-grid"},a("slot",{key:"c37dfb5a914398c02efe4945471d715dbb12f675",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,f=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,f as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as o,createEvent as r,h as c,transformTag as a}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";import{d as t}from"./biggive-popup2.js";const n=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.preferenceModalClosed=r(this,"preferenceModalClosed",7),this.cookieBannerAcceptAllSelected=r(this,"cookieBannerAcceptAllSelected",7),this.cookieBannerSavePreferencesSelected=r(this,"cookieBannerSavePreferencesSelected",7),this.autoOpenPreferences=!1,this.previouslyAgreedCookiePreferences=void 0,this.handleChoosePrefencesClick=()=>{var e;const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.openFromOutside()},this.handleAcceptSelectedCookies=()=>{var e,o,r;const c=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==c||c.closeFromOutside();const a=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("a-and-t-on"),l=null===(r=this.el.shadowRoot)||void 0===r?void 0:r.getElementById("third-party-on");this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:a.checked,thirdParty:l.checked}),null==c||c.closeFromOutside()},this.handleRejectAllClicked=()=>{var e;this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:!1,thirdParty:!1});const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.closeFromOutside()},this.handleAcceptAllClick=()=>{this.cookieBannerAcceptAllSelected.emit()}}componentDidLoad(){this.autoOpenPreferencesIfRequested()}autoOpenPreferencesIfRequested(){this.autoOpenPreferences&&this.handleChoosePrefencesClick()}render(){const e=this.previouslyAgreedCookiePreferences||{};return c("div",{key:"2ee762a4640a2e1ff255f9180678cf4dbfd2a598",class:"cooke-consent-container"},c("biggive-popup",{key:"9d39b792cfd48459a51e16a17c212f7aa96cdb35",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},c("div",{key:"6c486081f247c2f9c4dff5b8e3c177e43da36261",class:"content"},c("h4",{key:"547ae87c1d361e0161be3aa6315faac3fb44e6db",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),c("form",{key:"ab5a6534d73331e4a5018777cdb8c7cc3b2b149f"},c("div",{key:"027ebb76da24705c89dd0e7af9efc9422df248d5",class:"radio-group"},c("h5",{key:"1c62fe21a32c3bdc848926e724ec40d6576115a3"},"Essential Cookies"),c("p",{key:"98f449597690871d767eac1c1b27a39c4ff18e25"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),c("input",{key:"4b2052c2f6f27906c81abfbbe865838254dc6051",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),c("label",{key:"f6ab1b8625211d554247ef4c0cf5d9f799b2515c",htmlFor:"necassary-on"},"Off"),c("input",{key:"272f94637c70e08713e571e7f3b17a1b41146852",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),c("label",{key:"3e68f999e48edf31e32e1f130650df9a22e7e787",htmlFor:"necassary-on"},"On")),c("div",{key:"3b362a4ce9e7554459548e9cee7ee8ce872bb004",class:"radio-group"},c("h5",{key:"9b8eac4ea8b6af098173981e6025c05bc899e709"},"Analytics & Testing Cookies"),c("p",{key:"000d21c0e10f879a35ac5557e9484c42bfdae312"},"We use analytics cookies to track activity on our website. For example, the pages you’ve visited, the content you’ve engaged with and the search terms you’ve used. This allows us to personalise and improve our content."),c("p",{key:"675349e29fad1b3de7d2fdafcedeee10feb125b6"},"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."),c("input",{key:"0e6d334945abcc1a141d961393d1524c6770de0c",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!e.analyticsAndTesting}),c("label",{key:"a723fd69b03b9b90ced9520761201a171f792ddb",htmlFor:"a-and-t-off"},"Off"),c("input",{key:"ff4f269d26fc5844cd524c37fc0824ef1398d021",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!e.analyticsAndTesting}),c("label",{key:"6ffc75bb6a62603d7a17ad15527f5ca332e7b132",htmlFor:"a-and-t-on"},"On")),c("div",{key:"d329c1108db6cb261d26d90a920eb1849b08f761",class:"radio-group"},c("h5",{key:"130a8ab018ce11ed335a06288267de9e200d7745"},"Third-party Cookies "),c("p",{key:"b8371a30da31cb25675a48af00817259e33b7512"},"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."),c("input",{key:"68df1be21a7bd82efd2150b18e6c1ee9d808157e",type:"radio",name:"third-party",id:"third-party-off",checked:!e.thirdParty}),c("label",{key:"d3c37fc2aba4109dbdc17fe55cba69974cf846b4",htmlFor:"third-party-off"},"Off"),c("input",{key:"8be79cae8752cb1ceedb9afbd4ce2dd972c994ed",type:"radio",name:"third-party",id:"third-party-on",checked:!!e.thirdParty}),c("label",{key:"ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18",htmlFor:"third-party-on"},"On")),c("biggive-button",{key:"06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d","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:!1,centered:!1,"button-id":"accept-selected-button",onClick:this.handleAcceptSelectedCookies})),c("p",{key:"d99c4a4e8a86ca26fe87600ab9c3ece9ad373821"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),c("h2",{key:"7a498a8dc55809054149d3011fc8a4b69576ef43"},"Our website uses cookies"),c("p",{key:"151ac7c14c937df38451e1dbae94a2d4c37a88ea"},"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."),c("p",{key:"0439ea1fff021b9ecc68306004cf9c44e41a38a7"},c("a",{key:"414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),c("div",{key:"831531018c437181a45e82472e5aef80ca021dab",class:"button-group"},c("biggive-button",{key:"49ca756f041fc1d8d6c1fca330d71ad8a1beb573",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:!1,centered:!1,"button-id":"accept-all-button"}),c("biggive-button",{key:"1698931eed62e2891486daa680c478be16f356ee",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:!1,centered:!1,"button-id":"choose-preferences-button"}),c("biggive-button",{key:"b3c22143d00da7f56fe532607c21493045d414d8",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:!1,centered:!1,"button-id":"choose-preferences-button"})))}get el(){return this}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}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}.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}h2:first-child{margin-top:0}div.cooke-consent-container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;font-size:13px;line-height:17px;border-radius:10px;background:white;border:1px solid black;max-width:650px;padding:1em}div.button-group{margin-top:1em;display:flex;justify-content:space-evenly;width:100%;flex-direction:column;gap:1em}@media screen and (min-width: 475px){div.button-group{flex-direction:row-reverse}}biggive-popup{font-size:17px;line-height:24px}biggive-popup div.content{max-height:95vh;overflow:auto}biggive-popup div.content h5{border-bottom:2px solid black;max-width:25em;margin-bottom:5px}biggive-popup div.content p{margin-top:5px;margin-bottom:8px}biggive-popup div.content div.radio-group{margin-bottom:30px}'}},[1,"biggive-cookie-banner",{autoOpenPreferences:[4,"auto-open-preferences"],blogUriPrefix:[1,"blog-uri-prefix"],previouslyAgreedCookiePreferences:[16]},void 0,{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}]),i=n,d=function(){"undefined"!=typeof customElements&&["biggive-cookie-banner","biggive-button","biggive-popup"].forEach((e=>{switch(e){case"biggive-cookie-banner":customElements.get(a(e))||customElements.define(a(e),n);break;case"biggive-button":customElements.get(a(e))||l();break;case"biggive-popup":customElements.get(a(e))||t()}}))};export{i as BiggiveCookieBanner,d as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as o,createEvent as r,h as c,transformTag as a}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";import{d as t}from"./biggive-popup2.js";const n=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.preferenceModalClosed=r(this,"preferenceModalClosed",7),this.cookieBannerAcceptAllSelected=r(this,"cookieBannerAcceptAllSelected",7),this.cookieBannerSavePreferencesSelected=r(this,"cookieBannerSavePreferencesSelected",7),this.autoOpenPreferences=!1,this.previouslyAgreedCookiePreferences=void 0,this.handleChoosePrefencesClick=()=>{var e;const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.openFromOutside()},this.handleAcceptSelectedCookies=()=>{var e,o,r;const c=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==c||c.closeFromOutside();const a=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("a-and-t-on"),l=null===(r=this.el.shadowRoot)||void 0===r?void 0:r.getElementById("third-party-on");this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:a.checked,thirdParty:l.checked}),null==c||c.closeFromOutside()},this.handleRejectAllClicked=()=>{var e;this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:!1,thirdParty:!1});const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.closeFromOutside()},this.handleAcceptAllClick=()=>{this.cookieBannerAcceptAllSelected.emit()}}componentDidLoad(){this.autoOpenPreferencesIfRequested()}autoOpenPreferencesIfRequested(){this.autoOpenPreferences&&this.handleChoosePrefencesClick()}render(){const e=this.previouslyAgreedCookiePreferences||{};return c("div",{key:"2ee762a4640a2e1ff255f9180678cf4dbfd2a598",class:"cooke-consent-container"},c("biggive-popup",{key:"9d39b792cfd48459a51e16a17c212f7aa96cdb35",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},c("div",{key:"6c486081f247c2f9c4dff5b8e3c177e43da36261",class:"content"},c("h4",{key:"547ae87c1d361e0161be3aa6315faac3fb44e6db",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),c("form",{key:"ab5a6534d73331e4a5018777cdb8c7cc3b2b149f"},c("div",{key:"027ebb76da24705c89dd0e7af9efc9422df248d5",class:"radio-group"},c("h5",{key:"1c62fe21a32c3bdc848926e724ec40d6576115a3"},"Essential Cookies"),c("p",{key:"98f449597690871d767eac1c1b27a39c4ff18e25"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),c("input",{key:"4b2052c2f6f27906c81abfbbe865838254dc6051",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),c("label",{key:"f6ab1b8625211d554247ef4c0cf5d9f799b2515c",htmlFor:"necassary-on"},"Off"),c("input",{key:"272f94637c70e08713e571e7f3b17a1b41146852",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),c("label",{key:"3e68f999e48edf31e32e1f130650df9a22e7e787",htmlFor:"necassary-on"},"On")),c("div",{key:"3b362a4ce9e7554459548e9cee7ee8ce872bb004",class:"radio-group"},c("h5",{key:"9b8eac4ea8b6af098173981e6025c05bc899e709"},"Analytics & Testing Cookies"),c("p",{key:"000d21c0e10f879a35ac5557e9484c42bfdae312"},"We use analytics cookies to track activity on our website. For example, the pages you’ve visited, the content you’ve engaged with and the search terms you’ve used. This allows us to personalise and improve our content."),c("p",{key:"675349e29fad1b3de7d2fdafcedeee10feb125b6"},"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."),c("input",{key:"0e6d334945abcc1a141d961393d1524c6770de0c",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!e.analyticsAndTesting}),c("label",{key:"a723fd69b03b9b90ced9520761201a171f792ddb",htmlFor:"a-and-t-off"},"Off"),c("input",{key:"ff4f269d26fc5844cd524c37fc0824ef1398d021",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!e.analyticsAndTesting}),c("label",{key:"6ffc75bb6a62603d7a17ad15527f5ca332e7b132",htmlFor:"a-and-t-on"},"On")),c("div",{key:"d329c1108db6cb261d26d90a920eb1849b08f761",class:"radio-group"},c("h5",{key:"130a8ab018ce11ed335a06288267de9e200d7745"},"Third-party Cookies "),c("p",{key:"b8371a30da31cb25675a48af00817259e33b7512"},"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."),c("input",{key:"68df1be21a7bd82efd2150b18e6c1ee9d808157e",type:"radio",name:"third-party",id:"third-party-off",checked:!e.thirdParty}),c("label",{key:"d3c37fc2aba4109dbdc17fe55cba69974cf846b4",htmlFor:"third-party-off"},"Off"),c("input",{key:"8be79cae8752cb1ceedb9afbd4ce2dd972c994ed",type:"radio",name:"third-party",id:"third-party-on",checked:!!e.thirdParty}),c("label",{key:"ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18",htmlFor:"third-party-on"},"On")),c("biggive-button",{key:"c741eb5b97a6fbc9f40e48764b9bc8f52eaee224","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:!1,centered:!1,"button-id":"accept-selected-button",onDoButtonClick:this.handleAcceptSelectedCookies})),c("p",{key:"5765fcffe6d1b541e118ade489a24c0ca8a4be49"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),c("h2",{key:"e4c18aec6a1d62197fbcd39b1d5e35124160d1f5"},"Our website uses cookies"),c("p",{key:"1e1517603481eb6c64f22c2e1047418b9dcb8b1a"},"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."),c("p",{key:"efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459"},c("a",{key:"d8a0d8f6a625a7dea5cbf23860b426ee432e7799",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),c("div",{key:"cf6989bab1ab42986edcc1d178f6eee571a6cbdd",class:"button-group"},c("biggive-button",{key:"ffd8e4435f368a4e269a191366749bf7896acae6",onDoButtonClick: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:!1,centered:!1,"button-id":"accept-all-button"}),c("biggive-button",{key:"07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62",onDoButtonClick: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:!1,centered:!1,"button-id":"choose-preferences-button"}),c("biggive-button",{key:"66ad770ea7212e6721e0a59d3b6cee34709f23ad",onDoButtonClick: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:!1,centered:!1,"button-id":"choose-preferences-button"})))}get el(){return this}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}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}.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}h2:first-child{margin-top:0}div.cooke-consent-container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;font-size:13px;line-height:17px;border-radius:10px;background:white;border:1px solid black;max-width:650px;padding:1em}div.button-group{margin-top:1em;display:flex;justify-content:space-evenly;width:100%;flex-direction:column;gap:1em}@media screen and (min-width: 475px){div.button-group{flex-direction:row-reverse}}biggive-popup{font-size:17px;line-height:24px}biggive-popup div.content{max-height:95vh;overflow:auto}biggive-popup div.content h5{border-bottom:2px solid black;max-width:25em;margin-bottom:5px}biggive-popup div.content p{margin-top:5px;margin-bottom:8px}biggive-popup div.content div.radio-group{margin-bottom:30px}'}},[1,"biggive-cookie-banner",{autoOpenPreferences:[4,"auto-open-preferences"],blogUriPrefix:[1,"blog-uri-prefix"],previouslyAgreedCookiePreferences:[16]},void 0,{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}]),i=n,d=function(){"undefined"!=typeof customElements&&["biggive-cookie-banner","biggive-button","biggive-popup"].forEach((e=>{switch(e){case"biggive-cookie-banner":customElements.get(a(e))||customElements.define(a(e),n);break;case"biggive-button":customElements.get(a(e))||l();break;case"biggive-popup":customElements.get(a(e))||t()}}))};export{i as BiggiveCookieBanner,d as defineCustomElement}
@@ -209,13 +209,13 @@ const BiggiveCampaignCardFilterGrid = class {
209
209
  render() {
210
210
  var _a;
211
211
  const sortOptions = this.getSortOptions();
212
- return (h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { key: 'a6adbfb9fcd371fa885c9388d9b0e6ffb77be101', onClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { key: 'a45cf9485f92f73f54dd406976556a72d2f29c5d', class: "sort-filter-wrap" }, h("div", { key: 'f4b956c6fac79dd108795d650207aa4c0dd0360a', class: "filter-wrap" }, h("biggive-button", { key: '117c37910f9691a928961462c9ce1282784dc414', class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { key: '83411c37fa74ba763c06da58dbd7402669fd5b3c', id: "filter-popup" }, h("h4", { key: '882cec7e23e27dca5665d092f72e024e53dcd9b2', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("div", { key: '4c92b8991a118e6e806a06de6fdf66e2a863b3d7', class: "select-wrapper-1" }, h("biggive-form-field-select", { key: '75299a448cc29c180be0a974ba6ab64c07be284a', 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" })), h("div", { key: '43dd351da5a08270991cab850579e3e5c183e3fe', class: "select-wrapper-2" }, h("biggive-form-field-select", { key: '689238442c848dcb332e9e05228e7c1a526795cb', 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" })), h("div", { key: '883873a8d9b2d8c1fc1dadec31870c8744f4fc8a', class: "select-wrapper-3" }, h("biggive-form-field-select", { key: 'c4b288cc45e2f646775dd7d5dadacbde3fe93ab5', 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" })), h("div", { key: 'e3fde293c9a35f207f6c3d829b8ccd47741af153', class: "align-right" }, h("biggive-button", { key: 'd84747fced15cd9b631d78f1aa23a45ab4d84d6e', label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), h("div", { key: '6a472e599b4252013ef4c8e0b8f5ffaa8e553b80', class: "sort-wrap" }, h("biggive-form-field-select", { key: '8104bd762a5876b0d94f4490bd6ebed7312df7ee', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, h("biggive-form-field-select-option", { key: '5be8216a3c20d4a799fdac08546804f9bdf49821', value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { key: '6694d525c670a76cac8835c4024127020a3ff31c', value: "leastRaised", label: "Least raised" }), h("biggive-form-field-select-option", { key: '345b4557173a1569fb0f0e6083bb0de974ddda1c', value: "matchFundsRemaining", label: "Most funds remaining" }), h("biggive-form-field-select-option", { key: 'dc7b50338a0c2ea9a0ed658afbfe4e03aade6bec', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), h("div", { key: '7d2c5dea405e6335335c3c2834df8824cc1aa794', class: "selected-filter-wrap" }, h("div", { key: '7de713038a47b889df8a612bbf98f871d8ecb7aa', class: "selected-filters" }, this.selectedFilterCategory && (h("span", { key: '599df847e376cb3901e84078494d760b919bd0c9', class: "button", onClick: () => {
212
+ return (h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { key: '9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { key: '61145db67953fd6235150c9e3aa4c5e1ddecc032', class: "sort-filter-wrap" }, h("div", { key: 'a15f585989f71159f8ba838463b0d240431633f7', class: "filter-wrap" }, h("biggive-button", { key: 'cc6aa826f7f492bd0e5016d1bde47f24535ce87d', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { key: '3ad918e1772a03426c5c067964bbb0fbbc2b56c8', id: "filter-popup" }, h("h4", { key: 'ba1813fa8e36ee461a85bf497cb06b60a4995b18', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("div", { key: '7f6deab4b11cd5841b691e8d44344462ab111bc5', class: "select-wrapper-1" }, h("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" })), h("div", { key: '7bbcd9eb9642b84be51492f6db7bb6381366da4c', class: "select-wrapper-2" }, h("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" })), h("div", { key: 'de856e44a37fa775389bee8559105654f43291a0', class: "select-wrapper-3" }, h("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" })), h("div", { key: '6227a1d3942f208608a2ad91bf28c49b4bc9022d', class: "align-right" }, h("biggive-button", { key: 'bf1c8b35b7a151092173ad07c6cea1005a06cf7a', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), h("div", { key: '8ebda9bd87f0699cc4583ea83965e7a4ee55a487', class: "sort-wrap" }, h("biggive-form-field-select", { key: 'd56d94c0edd3e5fcd0a9792c3a623158d0247bea', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, h("biggive-form-field-select-option", { key: 'd2c48236d24a187f7f6a0c1d6b19a677164b075d', value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { key: '26a71e33235df3c3b3893c3c2567356bda95a51b', value: "leastRaised", label: "Least raised" }), h("biggive-form-field-select-option", { key: '425338ab178fb056fcaa34cd99a2034b82537eb4', value: "matchFundsRemaining", label: "Most funds remaining" }), h("biggive-form-field-select-option", { key: 'c830bde748760a1a8bfb1ec4c51a6cb7adb235af', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), h("div", { key: '31ddc538b8a2e77d82a39aeaea1273eb1ac55135', class: "selected-filter-wrap" }, h("div", { key: '47b7979d0b14fbba0f1468f26af3973fe3ea4f28', class: "selected-filters" }, this.selectedFilterCategory && (h("span", { key: 'f4fd6cc1214954fcdf238e93a0397ede5ccdb921', class: "button", onClick: () => {
213
213
  this.removeFilter('categories');
214
- } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '230add2861461df94bbf86eb6371cfcd5b2f3921', class: "button", onClick: () => {
214
+ } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '946143a1693b5d8a5e2042de52e37d9a4841bc0f', class: "button", onClick: () => {
215
215
  this.removeFilter('beneficiaries');
216
- } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '9e5afaef02c69c8aba878fd1df0e80693f79b03b', class: "button", onClick: () => {
216
+ } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: 'facb50dff01a6b2c39f958ec0034c04dfe479828', class: "button", onClick: () => {
217
217
  this.removeFilter('locations');
218
- } }, this.selectedFilterLocation))), h("div", { key: 'e9223d5d05c1a20eccb82abf963bac4cc88fbbe5', class: "clear-all" }, h("a", { key: 'b09d5af23d3dffa6e73f4bf019f5c4413389e6bc', onClick: this.handleClearAll }, "Clear all"))), h("div", { key: '58ac398dfb1df79bbdd27ec06c2e1e9b5d09e21f', class: "campaign-grid" }, h("slot", { key: 'c37dfb5a914398c02efe4945471d715dbb12f675', name: "campaign-grid" })))));
218
+ } }, this.selectedFilterLocation))), h("div", { key: '38c788f63669bc7b2acba4a73839cc6dd049a49a', class: "clear-all" }, h("a", { key: '8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa', onClick: this.handleClearAll }, "Clear all"))), h("div", { key: 'df60a79e69ccdf7bcbcfd2c281d10446fb749a8e', class: "campaign-grid" }, h("slot", { key: '845cd64aee0efa6aeadb8064d952ae43b4dfb6c7', name: "campaign-grid" })))));
219
219
  }
220
220
  // I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
221
221
  // test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
@@ -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: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), h("biggive-button", { key: '06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d', "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: 'd99c4a4e8a86ca26fe87600ab9c3ece9ad373821' }, "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: '7a498a8dc55809054149d3011fc8a4b69576ef43' }, "Our website uses cookies"), h("p", { key: '151ac7c14c937df38451e1dbae94a2d4c37a88ea' }, "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: '0439ea1fff021b9ecc68306004cf9c44e41a38a7' }, h("a", { key: '414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), h("div", { key: '831531018c437181a45e82472e5aef80ca021dab', class: "button-group" }, h("biggive-button", { key: '49ca756f041fc1d8d6c1fca330d71ad8a1beb573', 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: '1698931eed62e2891486daa680c478be16f356ee', 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: 'b3c22143d00da7f56fe532607c21493045d414d8', 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" }))));
69
+ return (h("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), h("biggive-button", { key: 'c741eb5b97a6fbc9f40e48764b9bc8f52eaee224', "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", onDoButtonClick: this.handleAcceptSelectedCookies })), h("p", { key: '5765fcffe6d1b541e118ade489a24c0ca8a4be49' }, "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: 'e4c18aec6a1d62197fbcd39b1d5e35124160d1f5' }, "Our website uses cookies"), h("p", { key: '1e1517603481eb6c64f22c2e1047418b9dcb8b1a' }, "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: 'efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459' }, h("a", { key: 'd8a0d8f6a625a7dea5cbf23860b426ee432e7799', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), h("div", { key: 'cf6989bab1ab42986edcc1d178f6eee571a6cbdd', class: "button-group" }, h("biggive-button", { key: 'ffd8e4435f368a4e269a191366749bf7896acae6', onDoButtonClick: 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: '07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62', onDoButtonClick: 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: '66ad770ea7212e6721e0a59d3b6cee34709f23ad', onDoButtonClick: 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 {
package/hydrate/index.js CHANGED
@@ -5988,13 +5988,13 @@ class BiggiveCampaignCardFilterGrid {
5988
5988
  render() {
5989
5989
  var _a;
5990
5990
  const sortOptions = this.getSortOptions();
5991
- return (hAsync("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, hAsync("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, hAsync("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, hAsync("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), hAsync("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, hAsync("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, hAsync("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), hAsync("biggive-button", { key: 'a6adbfb9fcd371fa885c9388d9b0e6ffb77be101', onClick: this.handleSearchButtonPressed, label: this.buttonText }))), hAsync("div", { key: 'a45cf9485f92f73f54dd406976556a72d2f29c5d', class: "sort-filter-wrap" }, hAsync("div", { key: 'f4b956c6fac79dd108795d650207aa4c0dd0360a', class: "filter-wrap" }, hAsync("biggive-button", { key: '117c37910f9691a928961462c9ce1282784dc414', class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), hAsync("biggive-popup", { key: '83411c37fa74ba763c06da58dbd7402669fd5b3c', id: "filter-popup" }, hAsync("h4", { key: '882cec7e23e27dca5665d092f72e024e53dcd9b2', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), hAsync("div", { key: '4c92b8991a118e6e806a06de6fdf66e2a863b3d7', class: "select-wrapper-1" }, hAsync("biggive-form-field-select", { key: '75299a448cc29c180be0a974ba6ab64c07be284a', 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" })), hAsync("div", { key: '43dd351da5a08270991cab850579e3e5c183e3fe', class: "select-wrapper-2" }, hAsync("biggive-form-field-select", { key: '689238442c848dcb332e9e05228e7c1a526795cb', 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" })), hAsync("div", { key: '883873a8d9b2d8c1fc1dadec31870c8744f4fc8a', class: "select-wrapper-3" }, hAsync("biggive-form-field-select", { key: 'c4b288cc45e2f646775dd7d5dadacbde3fe93ab5', 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" })), hAsync("div", { key: 'e3fde293c9a35f207f6c3d829b8ccd47741af153', class: "align-right" }, hAsync("biggive-button", { key: 'd84747fced15cd9b631d78f1aa23a45ab4d84d6e', label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), hAsync("div", { key: '6a472e599b4252013ef4c8e0b8f5ffaa8e553b80', class: "sort-wrap" }, hAsync("biggive-form-field-select", { key: '8104bd762a5876b0d94f4490bd6ebed7312df7ee', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, hAsync("biggive-form-field-select-option", { key: '5be8216a3c20d4a799fdac08546804f9bdf49821', value: "amountRaised", label: "Most raised" }), hAsync("biggive-form-field-select-option", { key: '6694d525c670a76cac8835c4024127020a3ff31c', value: "leastRaised", label: "Least raised" }), hAsync("biggive-form-field-select-option", { key: '345b4557173a1569fb0f0e6083bb0de974ddda1c', value: "matchFundsRemaining", label: "Most funds remaining" }), hAsync("biggive-form-field-select-option", { key: 'dc7b50338a0c2ea9a0ed658afbfe4e03aade6bec', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? hAsync("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), hAsync("div", { key: '7d2c5dea405e6335335c3c2834df8824cc1aa794', class: "selected-filter-wrap" }, hAsync("div", { key: '7de713038a47b889df8a612bbf98f871d8ecb7aa', class: "selected-filters" }, this.selectedFilterCategory && (hAsync("span", { key: '599df847e376cb3901e84078494d760b919bd0c9', class: "button", onClick: () => {
5991
+ return (hAsync("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, hAsync("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, hAsync("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, hAsync("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), hAsync("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, hAsync("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, hAsync("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), hAsync("biggive-button", { key: '9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), hAsync("div", { key: '61145db67953fd6235150c9e3aa4c5e1ddecc032', class: "sort-filter-wrap" }, hAsync("div", { key: 'a15f585989f71159f8ba838463b0d240431633f7', class: "filter-wrap" }, hAsync("biggive-button", { key: 'cc6aa826f7f492bd0e5016d1bde47f24535ce87d', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), hAsync("biggive-popup", { key: '3ad918e1772a03426c5c067964bbb0fbbc2b56c8', id: "filter-popup" }, hAsync("h4", { key: 'ba1813fa8e36ee461a85bf497cb06b60a4995b18', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), hAsync("div", { key: '7f6deab4b11cd5841b691e8d44344462ab111bc5', class: "select-wrapper-1" }, hAsync("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" })), hAsync("div", { key: '7bbcd9eb9642b84be51492f6db7bb6381366da4c', class: "select-wrapper-2" }, hAsync("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" })), hAsync("div", { key: 'de856e44a37fa775389bee8559105654f43291a0', class: "select-wrapper-3" }, hAsync("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" })), hAsync("div", { key: '6227a1d3942f208608a2ad91bf28c49b4bc9022d', class: "align-right" }, hAsync("biggive-button", { key: 'bf1c8b35b7a151092173ad07c6cea1005a06cf7a', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), hAsync("div", { key: '8ebda9bd87f0699cc4583ea83965e7a4ee55a487', class: "sort-wrap" }, hAsync("biggive-form-field-select", { key: 'd56d94c0edd3e5fcd0a9792c3a623158d0247bea', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, hAsync("biggive-form-field-select-option", { key: 'd2c48236d24a187f7f6a0c1d6b19a677164b075d', value: "amountRaised", label: "Most raised" }), hAsync("biggive-form-field-select-option", { key: '26a71e33235df3c3b3893c3c2567356bda95a51b', value: "leastRaised", label: "Least raised" }), hAsync("biggive-form-field-select-option", { key: '425338ab178fb056fcaa34cd99a2034b82537eb4', value: "matchFundsRemaining", label: "Most funds remaining" }), hAsync("biggive-form-field-select-option", { key: 'c830bde748760a1a8bfb1ec4c51a6cb7adb235af', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? hAsync("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), hAsync("div", { key: '31ddc538b8a2e77d82a39aeaea1273eb1ac55135', class: "selected-filter-wrap" }, hAsync("div", { key: '47b7979d0b14fbba0f1468f26af3973fe3ea4f28', class: "selected-filters" }, this.selectedFilterCategory && (hAsync("span", { key: 'f4fd6cc1214954fcdf238e93a0397ede5ccdb921', class: "button", onClick: () => {
5992
5992
  this.removeFilter('categories');
5993
- } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (hAsync("span", { key: '230add2861461df94bbf86eb6371cfcd5b2f3921', class: "button", onClick: () => {
5993
+ } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (hAsync("span", { key: '946143a1693b5d8a5e2042de52e37d9a4841bc0f', class: "button", onClick: () => {
5994
5994
  this.removeFilter('beneficiaries');
5995
- } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (hAsync("span", { key: '9e5afaef02c69c8aba878fd1df0e80693f79b03b', class: "button", onClick: () => {
5995
+ } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (hAsync("span", { key: 'facb50dff01a6b2c39f958ec0034c04dfe479828', class: "button", onClick: () => {
5996
5996
  this.removeFilter('locations');
5997
- } }, this.selectedFilterLocation))), hAsync("div", { key: 'e9223d5d05c1a20eccb82abf963bac4cc88fbbe5', class: "clear-all" }, hAsync("a", { key: 'b09d5af23d3dffa6e73f4bf019f5c4413389e6bc', onClick: this.handleClearAll }, "Clear all"))), hAsync("div", { key: '58ac398dfb1df79bbdd27ec06c2e1e9b5d09e21f', class: "campaign-grid" }, hAsync("slot", { key: 'c37dfb5a914398c02efe4945471d715dbb12f675', name: "campaign-grid" })))));
5997
+ } }, this.selectedFilterLocation))), hAsync("div", { key: '38c788f63669bc7b2acba4a73839cc6dd049a49a', class: "clear-all" }, hAsync("a", { key: '8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa', onClick: this.handleClearAll }, "Clear all"))), hAsync("div", { key: 'df60a79e69ccdf7bcbcfd2c281d10446fb749a8e', class: "campaign-grid" }, hAsync("slot", { key: '845cd64aee0efa6aeadb8064d952ae43b4dfb6c7', name: "campaign-grid" })))));
5998
5998
  }
5999
5999
  // I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
6000
6000
  // test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
@@ -6203,7 +6203,7 @@ class BiggiveCookieBanner {
6203
6203
  // then the app may only pass a partial set of them in for a time. Any preference not passed will be treated as
6204
6204
  // declined.
6205
6205
  const cookiesCurrentlyAllowed = this.previouslyAgreedCookiePreferences || {};
6206
- return (hAsync("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, hAsync("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, hAsync("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, hAsync("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), hAsync("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, hAsync("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, hAsync("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), hAsync("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), hAsync("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), hAsync("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), hAsync("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), hAsync("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), hAsync("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, hAsync("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), hAsync("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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."), hAsync("p", { key: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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."), hAsync("input", { key: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), hAsync("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), hAsync("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), hAsync("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), hAsync("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, hAsync("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), hAsync("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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."), hAsync("input", { key: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), hAsync("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), hAsync("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), hAsync("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), hAsync("biggive-button", { key: '06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d', "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 })), hAsync("p", { key: 'd99c4a4e8a86ca26fe87600ab9c3ece9ad373821' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), hAsync("h2", { key: '7a498a8dc55809054149d3011fc8a4b69576ef43' }, "Our website uses cookies"), hAsync("p", { key: '151ac7c14c937df38451e1dbae94a2d4c37a88ea' }, "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."), hAsync("p", { key: '0439ea1fff021b9ecc68306004cf9c44e41a38a7' }, hAsync("a", { key: '414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), hAsync("div", { key: '831531018c437181a45e82472e5aef80ca021dab', class: "button-group" }, hAsync("biggive-button", { key: '49ca756f041fc1d8d6c1fca330d71ad8a1beb573', 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" }), hAsync("biggive-button", { key: '1698931eed62e2891486daa680c478be16f356ee', 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" }), hAsync("biggive-button", { key: 'b3c22143d00da7f56fe532607c21493045d414d8', 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" }))));
6206
+ return (hAsync("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, hAsync("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, hAsync("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, hAsync("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), hAsync("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, hAsync("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, hAsync("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), hAsync("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), hAsync("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), hAsync("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), hAsync("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), hAsync("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), hAsync("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, hAsync("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), hAsync("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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."), hAsync("p", { key: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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."), hAsync("input", { key: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), hAsync("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), hAsync("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), hAsync("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), hAsync("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, hAsync("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), hAsync("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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."), hAsync("input", { key: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), hAsync("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), hAsync("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), hAsync("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), hAsync("biggive-button", { key: 'c741eb5b97a6fbc9f40e48764b9bc8f52eaee224', "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", onDoButtonClick: this.handleAcceptSelectedCookies })), hAsync("p", { key: '5765fcffe6d1b541e118ade489a24c0ca8a4be49' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), hAsync("h2", { key: 'e4c18aec6a1d62197fbcd39b1d5e35124160d1f5' }, "Our website uses cookies"), hAsync("p", { key: '1e1517603481eb6c64f22c2e1047418b9dcb8b1a' }, "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."), hAsync("p", { key: 'efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459' }, hAsync("a", { key: 'd8a0d8f6a625a7dea5cbf23860b426ee432e7799', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), hAsync("div", { key: 'cf6989bab1ab42986edcc1d178f6eee571a6cbdd', class: "button-group" }, hAsync("biggive-button", { key: 'ffd8e4435f368a4e269a191366749bf7896acae6', onDoButtonClick: 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" }), hAsync("biggive-button", { key: '07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62', onDoButtonClick: 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" }), hAsync("biggive-button", { key: '66ad770ea7212e6721e0a59d3b6cee34709f23ad', onDoButtonClick: 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" }))));
6207
6207
  }
6208
6208
  get el() { return getElement(this); }
6209
6209
  static get watchers() { return {
package/hydrate/index.mjs CHANGED
@@ -5986,13 +5986,13 @@ class BiggiveCampaignCardFilterGrid {
5986
5986
  render() {
5987
5987
  var _a;
5988
5988
  const sortOptions = this.getSortOptions();
5989
- return (hAsync("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, hAsync("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, hAsync("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, hAsync("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), hAsync("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, hAsync("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, hAsync("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), hAsync("biggive-button", { key: 'a6adbfb9fcd371fa885c9388d9b0e6ffb77be101', onClick: this.handleSearchButtonPressed, label: this.buttonText }))), hAsync("div", { key: 'a45cf9485f92f73f54dd406976556a72d2f29c5d', class: "sort-filter-wrap" }, hAsync("div", { key: 'f4b956c6fac79dd108795d650207aa4c0dd0360a', class: "filter-wrap" }, hAsync("biggive-button", { key: '117c37910f9691a928961462c9ce1282784dc414', class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), hAsync("biggive-popup", { key: '83411c37fa74ba763c06da58dbd7402669fd5b3c', id: "filter-popup" }, hAsync("h4", { key: '882cec7e23e27dca5665d092f72e024e53dcd9b2', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), hAsync("div", { key: '4c92b8991a118e6e806a06de6fdf66e2a863b3d7', class: "select-wrapper-1" }, hAsync("biggive-form-field-select", { key: '75299a448cc29c180be0a974ba6ab64c07be284a', 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" })), hAsync("div", { key: '43dd351da5a08270991cab850579e3e5c183e3fe', class: "select-wrapper-2" }, hAsync("biggive-form-field-select", { key: '689238442c848dcb332e9e05228e7c1a526795cb', 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" })), hAsync("div", { key: '883873a8d9b2d8c1fc1dadec31870c8744f4fc8a', class: "select-wrapper-3" }, hAsync("biggive-form-field-select", { key: 'c4b288cc45e2f646775dd7d5dadacbde3fe93ab5', 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" })), hAsync("div", { key: 'e3fde293c9a35f207f6c3d829b8ccd47741af153', class: "align-right" }, hAsync("biggive-button", { key: 'd84747fced15cd9b631d78f1aa23a45ab4d84d6e', label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), hAsync("div", { key: '6a472e599b4252013ef4c8e0b8f5ffaa8e553b80', class: "sort-wrap" }, hAsync("biggive-form-field-select", { key: '8104bd762a5876b0d94f4490bd6ebed7312df7ee', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, hAsync("biggive-form-field-select-option", { key: '5be8216a3c20d4a799fdac08546804f9bdf49821', value: "amountRaised", label: "Most raised" }), hAsync("biggive-form-field-select-option", { key: '6694d525c670a76cac8835c4024127020a3ff31c', value: "leastRaised", label: "Least raised" }), hAsync("biggive-form-field-select-option", { key: '345b4557173a1569fb0f0e6083bb0de974ddda1c', value: "matchFundsRemaining", label: "Most funds remaining" }), hAsync("biggive-form-field-select-option", { key: 'dc7b50338a0c2ea9a0ed658afbfe4e03aade6bec', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? hAsync("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), hAsync("div", { key: '7d2c5dea405e6335335c3c2834df8824cc1aa794', class: "selected-filter-wrap" }, hAsync("div", { key: '7de713038a47b889df8a612bbf98f871d8ecb7aa', class: "selected-filters" }, this.selectedFilterCategory && (hAsync("span", { key: '599df847e376cb3901e84078494d760b919bd0c9', class: "button", onClick: () => {
5989
+ return (hAsync("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, hAsync("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, hAsync("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, hAsync("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), hAsync("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, hAsync("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, hAsync("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), hAsync("biggive-button", { key: '9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), hAsync("div", { key: '61145db67953fd6235150c9e3aa4c5e1ddecc032', class: "sort-filter-wrap" }, hAsync("div", { key: 'a15f585989f71159f8ba838463b0d240431633f7', class: "filter-wrap" }, hAsync("biggive-button", { key: 'cc6aa826f7f492bd0e5016d1bde47f24535ce87d', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), hAsync("biggive-popup", { key: '3ad918e1772a03426c5c067964bbb0fbbc2b56c8', id: "filter-popup" }, hAsync("h4", { key: 'ba1813fa8e36ee461a85bf497cb06b60a4995b18', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), hAsync("div", { key: '7f6deab4b11cd5841b691e8d44344462ab111bc5', class: "select-wrapper-1" }, hAsync("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" })), hAsync("div", { key: '7bbcd9eb9642b84be51492f6db7bb6381366da4c', class: "select-wrapper-2" }, hAsync("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" })), hAsync("div", { key: 'de856e44a37fa775389bee8559105654f43291a0', class: "select-wrapper-3" }, hAsync("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" })), hAsync("div", { key: '6227a1d3942f208608a2ad91bf28c49b4bc9022d', class: "align-right" }, hAsync("biggive-button", { key: 'bf1c8b35b7a151092173ad07c6cea1005a06cf7a', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), hAsync("div", { key: '8ebda9bd87f0699cc4583ea83965e7a4ee55a487', class: "sort-wrap" }, hAsync("biggive-form-field-select", { key: 'd56d94c0edd3e5fcd0a9792c3a623158d0247bea', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, hAsync("biggive-form-field-select-option", { key: 'd2c48236d24a187f7f6a0c1d6b19a677164b075d', value: "amountRaised", label: "Most raised" }), hAsync("biggive-form-field-select-option", { key: '26a71e33235df3c3b3893c3c2567356bda95a51b', value: "leastRaised", label: "Least raised" }), hAsync("biggive-form-field-select-option", { key: '425338ab178fb056fcaa34cd99a2034b82537eb4', value: "matchFundsRemaining", label: "Most funds remaining" }), hAsync("biggive-form-field-select-option", { key: 'c830bde748760a1a8bfb1ec4c51a6cb7adb235af', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? hAsync("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), hAsync("div", { key: '31ddc538b8a2e77d82a39aeaea1273eb1ac55135', class: "selected-filter-wrap" }, hAsync("div", { key: '47b7979d0b14fbba0f1468f26af3973fe3ea4f28', class: "selected-filters" }, this.selectedFilterCategory && (hAsync("span", { key: 'f4fd6cc1214954fcdf238e93a0397ede5ccdb921', class: "button", onClick: () => {
5990
5990
  this.removeFilter('categories');
5991
- } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (hAsync("span", { key: '230add2861461df94bbf86eb6371cfcd5b2f3921', class: "button", onClick: () => {
5991
+ } }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (hAsync("span", { key: '946143a1693b5d8a5e2042de52e37d9a4841bc0f', class: "button", onClick: () => {
5992
5992
  this.removeFilter('beneficiaries');
5993
- } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (hAsync("span", { key: '9e5afaef02c69c8aba878fd1df0e80693f79b03b', class: "button", onClick: () => {
5993
+ } }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (hAsync("span", { key: 'facb50dff01a6b2c39f958ec0034c04dfe479828', class: "button", onClick: () => {
5994
5994
  this.removeFilter('locations');
5995
- } }, this.selectedFilterLocation))), hAsync("div", { key: 'e9223d5d05c1a20eccb82abf963bac4cc88fbbe5', class: "clear-all" }, hAsync("a", { key: 'b09d5af23d3dffa6e73f4bf019f5c4413389e6bc', onClick: this.handleClearAll }, "Clear all"))), hAsync("div", { key: '58ac398dfb1df79bbdd27ec06c2e1e9b5d09e21f', class: "campaign-grid" }, hAsync("slot", { key: 'c37dfb5a914398c02efe4945471d715dbb12f675', name: "campaign-grid" })))));
5995
+ } }, this.selectedFilterLocation))), hAsync("div", { key: '38c788f63669bc7b2acba4a73839cc6dd049a49a', class: "clear-all" }, hAsync("a", { key: '8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa', onClick: this.handleClearAll }, "Clear all"))), hAsync("div", { key: 'df60a79e69ccdf7bcbcfd2c281d10446fb749a8e', class: "campaign-grid" }, hAsync("slot", { key: '845cd64aee0efa6aeadb8064d952ae43b4dfb6c7', name: "campaign-grid" })))));
5996
5996
  }
5997
5997
  // I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
5998
5998
  // test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
@@ -6201,7 +6201,7 @@ class BiggiveCookieBanner {
6201
6201
  // then the app may only pass a partial set of them in for a time. Any preference not passed will be treated as
6202
6202
  // declined.
6203
6203
  const cookiesCurrentlyAllowed = this.previouslyAgreedCookiePreferences || {};
6204
- return (hAsync("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, hAsync("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, hAsync("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, hAsync("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), hAsync("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, hAsync("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, hAsync("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), hAsync("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), hAsync("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), hAsync("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), hAsync("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), hAsync("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), hAsync("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, hAsync("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), hAsync("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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."), hAsync("p", { key: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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."), hAsync("input", { key: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), hAsync("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), hAsync("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), hAsync("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), hAsync("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, hAsync("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), hAsync("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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."), hAsync("input", { key: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), hAsync("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), hAsync("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), hAsync("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), hAsync("biggive-button", { key: '06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d', "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 })), hAsync("p", { key: 'd99c4a4e8a86ca26fe87600ab9c3ece9ad373821' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), hAsync("h2", { key: '7a498a8dc55809054149d3011fc8a4b69576ef43' }, "Our website uses cookies"), hAsync("p", { key: '151ac7c14c937df38451e1dbae94a2d4c37a88ea' }, "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."), hAsync("p", { key: '0439ea1fff021b9ecc68306004cf9c44e41a38a7' }, hAsync("a", { key: '414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), hAsync("div", { key: '831531018c437181a45e82472e5aef80ca021dab', class: "button-group" }, hAsync("biggive-button", { key: '49ca756f041fc1d8d6c1fca330d71ad8a1beb573', 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" }), hAsync("biggive-button", { key: '1698931eed62e2891486daa680c478be16f356ee', 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" }), hAsync("biggive-button", { key: 'b3c22143d00da7f56fe532607c21493045d414d8', 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" }))));
6204
+ return (hAsync("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, hAsync("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, hAsync("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, hAsync("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), hAsync("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, hAsync("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, hAsync("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), hAsync("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), hAsync("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), hAsync("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), hAsync("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), hAsync("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), hAsync("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, hAsync("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), hAsync("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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."), hAsync("p", { key: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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."), hAsync("input", { key: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), hAsync("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), hAsync("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), hAsync("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), hAsync("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, hAsync("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), hAsync("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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."), hAsync("input", { key: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), hAsync("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), hAsync("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), hAsync("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), hAsync("biggive-button", { key: 'c741eb5b97a6fbc9f40e48764b9bc8f52eaee224', "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", onDoButtonClick: this.handleAcceptSelectedCookies })), hAsync("p", { key: '5765fcffe6d1b541e118ade489a24c0ca8a4be49' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), hAsync("h2", { key: 'e4c18aec6a1d62197fbcd39b1d5e35124160d1f5' }, "Our website uses cookies"), hAsync("p", { key: '1e1517603481eb6c64f22c2e1047418b9dcb8b1a' }, "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."), hAsync("p", { key: 'efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459' }, hAsync("a", { key: 'd8a0d8f6a625a7dea5cbf23860b426ee432e7799', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), hAsync("div", { key: 'cf6989bab1ab42986edcc1d178f6eee571a6cbdd', class: "button-group" }, hAsync("biggive-button", { key: 'ffd8e4435f368a4e269a191366749bf7896acae6', onDoButtonClick: 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" }), hAsync("biggive-button", { key: '07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62', onDoButtonClick: 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" }), hAsync("biggive-button", { key: '66ad770ea7212e6721e0a59d3b6cee34709f23ad', onDoButtonClick: 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" }))));
6205
6205
  }
6206
6206
  get el() { return getElement(this); }
6207
6207
  static get watchers() { return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@biggive/components",
3
3
  "_comment": "Version number below is automatically replaced during CircleCI build.",
4
- "version": "202603041449.0.0",
4
+ "version": "202603041835.0.0",
5
5
  "description": "Big Give Components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as i,g as a}from"./p-eJW26lzZ.js";import{f as l}from"./p-CoGE2Wf-.js";const s={relevance:"Relevance",amountRaised:"Most raised",leastRaised:"Least raised",closeToTarget:"Nearest target",matchFundsRemaining:"Most funds remaining"},r=class{constructor(i){e(this,i),this.doSearchAndFilterUpdate=t(this,"doSearchAndFilterUpdate"),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 i("div",{key:"5be71f04f2f6e4a45e61da8940e2539f348c5cac",class:"container space-below-"+this.spaceBelow},i("div",{key:"f1b79a107817211888847c09c99447759052ccd6",class:"sleeve"},i("div",{key:"7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84",class:"search-wrap"},i("h4",{key:"c78c9b66dac9880f28513fb3fb8f0f2cca9d0861"},this.intro),i("div",{key:"0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8",class:"field-wrap"},i("div",{key:"406ec166abfc71ad3773077376073fd9ece76aac",class:"input-wrap"},i("svg",{key:"6b736eb1bd1560214079b50cce7bc59fed380eba",xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 512 512"},i("path",{key:"8fdac8bd9978f84302725fff032d5a7248a78982",d:l.icon[4].toString()})),i("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})),i("biggive-button",{key:"a6adbfb9fcd371fa885c9388d9b0e6ffb77be101",onClick:this.handleSearchButtonPressed,label:this.buttonText}))),i("div",{key:"a45cf9485f92f73f54dd406976556a72d2f29c5d",class:"sort-filter-wrap"},i("div",{key:"f4b956c6fac79dd108795d650207aa4c0dd0360a",class:"filter-wrap"},i("biggive-button",{key:"117c37910f9691a928961462c9ce1282784dc414",class:"filter",colourScheme:"primary",onClick:this.handleFilterButtonClick,label:"Filter",fullWidth:!0,"space-below":"0"}),i("biggive-popup",{key:"83411c37fa74ba763c06da58dbd7402669fd5b3c",id:"filter-popup"},i("h4",{key:"882cec7e23e27dca5665d092f72e024e53dcd9b2",class:"space-above-0 space-below-3 text-colour-primary"},"Filters"),i("div",{key:"4c92b8991a118e6e806a06de6fdf66e2a863b3d7",class:"select-wrapper-1"},i("biggive-form-field-select",{key:"75299a448cc29c180be0a974ba6ab64c07be284a",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"})),i("div",{key:"43dd351da5a08270991cab850579e3e5c183e3fe",class:"select-wrapper-2"},i("biggive-form-field-select",{key:"689238442c848dcb332e9e05228e7c1a526795cb",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"})),i("div",{key:"883873a8d9b2d8c1fc1dadec31870c8744f4fc8a",class:"select-wrapper-3"},i("biggive-form-field-select",{key:"c4b288cc45e2f646775dd7d5dadacbde3fe93ab5",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"})),i("div",{key:"e3fde293c9a35f207f6c3d829b8ccd47741af153",class:"align-right"},i("biggive-button",{key:"d84747fced15cd9b631d78f1aa23a45ab4d84d6e",label:"Apply filters",onClick:this.handleApplyFilterButtonClick})))),i("div",{key:"6a472e599b4252013ef4c8e0b8f5ffaa8e553b80",class:"sort-wrap"},i("biggive-form-field-select",{key:"8104bd762a5876b0d94f4490bd6ebed7312df7ee",options:t,prompt:null,"select-style":"underlined",placeholder:this.sortByPlaceholderText,selectedLabel:this.selectedSortByOption,selectedValue:this.getSelectedValue(),selectionChanged:this.sortBySelectionChanged,id:"sort-by"},i("biggive-form-field-select-option",{key:"5be8216a3c20d4a799fdac08546804f9bdf49821",value:"amountRaised",label:"Most raised"}),i("biggive-form-field-select-option",{key:"6694d525c670a76cac8835c4024127020a3ff31c",value:"leastRaised",label:"Least raised"}),i("biggive-form-field-select-option",{key:"345b4557173a1569fb0f0e6083bb0de974ddda1c",value:"matchFundsRemaining",label:"Most funds remaining"}),i("biggive-form-field-select-option",{key:"dc7b50338a0c2ea9a0ed658afbfe4e03aade6bec",value:"closeToTarget",label:"Nearest target"}),(this.searchText||"").length>0?i("biggive-form-field-select-option",{value:"Relevance",label:"Relevance"}):null))),i("div",{key:"7d2c5dea405e6335335c3c2834df8824cc1aa794",class:"selected-filter-wrap"},i("div",{key:"7de713038a47b889df8a612bbf98f871d8ecb7aa",class:"selected-filters"},this.selectedFilterCategory&&i("span",{key:"599df847e376cb3901e84078494d760b919bd0c9",class:"button",onClick:()=>{this.removeFilter("categories")}},this.selectedFilterCategory),this.selectedFilterBeneficiary&&i("span",{key:"230add2861461df94bbf86eb6371cfcd5b2f3921",class:"button",onClick:()=>{this.removeFilter("beneficiaries")}},this.selectedFilterBeneficiary),this.selectedFilterLocation&&i("span",{key:"9e5afaef02c69c8aba878fd1df0e80693f79b03b",class:"button",onClick:()=>{this.removeFilter("locations")}},this.selectedFilterLocation)),i("div",{key:"e9223d5d05c1a20eccb82abf963bac4cc88fbbe5",class:"clear-all"},i("a",{key:"b09d5af23d3dffa6e73f4bf019f5c4413389e6bc",onClick:this.handleClearAll},"Clear all"))),i("div",{key:"58ac398dfb1df79bbdd27ec06c2e1e9b5d09e21f",class:"campaign-grid"},i("slot",{key:"c37dfb5a914398c02efe4945471d715dbb12f675",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(s).filter((e=>"relevance"!==e||this.hasSearchTerm())).map((e=>({value:e,label:s[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 a(this)}};r.style='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}';export{r as biggive_campaign_card_filter_grid}
@@ -1 +0,0 @@
1
- import{r as o,c as e,h as r,g as c}from"./p-eJW26lzZ.js";const a=class{constructor(r){o(this,r),this.preferenceModalClosed=e(this,"preferenceModalClosed"),this.cookieBannerAcceptAllSelected=e(this,"cookieBannerAcceptAllSelected"),this.cookieBannerSavePreferencesSelected=e(this,"cookieBannerSavePreferencesSelected"),this.autoOpenPreferences=!1,this.previouslyAgreedCookiePreferences=void 0,this.handleChoosePrefencesClick=()=>{var o;const e=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("cookie-preferences-popup");null==e||e.openFromOutside()},this.handleAcceptSelectedCookies=()=>{var o,e,r;const c=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("cookie-preferences-popup");null==c||c.closeFromOutside();const a=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("a-and-t-on"),l=null===(r=this.el.shadowRoot)||void 0===r?void 0:r.getElementById("third-party-on");this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:a.checked,thirdParty:l.checked}),null==c||c.closeFromOutside()},this.handleRejectAllClicked=()=>{var o;this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:!1,thirdParty:!1});const e=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("cookie-preferences-popup");null==e||e.closeFromOutside()},this.handleAcceptAllClick=()=>{this.cookieBannerAcceptAllSelected.emit()}}componentDidLoad(){this.autoOpenPreferencesIfRequested()}autoOpenPreferencesIfRequested(){this.autoOpenPreferences&&this.handleChoosePrefencesClick()}render(){const o=this.previouslyAgreedCookiePreferences||{};return r("div",{key:"2ee762a4640a2e1ff255f9180678cf4dbfd2a598",class:"cooke-consent-container"},r("biggive-popup",{key:"9d39b792cfd48459a51e16a17c212f7aa96cdb35",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},r("div",{key:"6c486081f247c2f9c4dff5b8e3c177e43da36261",class:"content"},r("h4",{key:"547ae87c1d361e0161be3aa6315faac3fb44e6db",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),r("form",{key:"ab5a6534d73331e4a5018777cdb8c7cc3b2b149f"},r("div",{key:"027ebb76da24705c89dd0e7af9efc9422df248d5",class:"radio-group"},r("h5",{key:"1c62fe21a32c3bdc848926e724ec40d6576115a3"},"Essential Cookies"),r("p",{key:"98f449597690871d767eac1c1b27a39c4ff18e25"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),r("input",{key:"4b2052c2f6f27906c81abfbbe865838254dc6051",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),r("label",{key:"f6ab1b8625211d554247ef4c0cf5d9f799b2515c",htmlFor:"necassary-on"},"Off"),r("input",{key:"272f94637c70e08713e571e7f3b17a1b41146852",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),r("label",{key:"3e68f999e48edf31e32e1f130650df9a22e7e787",htmlFor:"necassary-on"},"On")),r("div",{key:"3b362a4ce9e7554459548e9cee7ee8ce872bb004",class:"radio-group"},r("h5",{key:"9b8eac4ea8b6af098173981e6025c05bc899e709"},"Analytics & Testing Cookies"),r("p",{key:"000d21c0e10f879a35ac5557e9484c42bfdae312"},"We use analytics cookies to track activity on our website. For example, the pages you’ve visited, the content you’ve engaged with and the search terms you’ve used. This allows us to personalise and improve our content."),r("p",{key:"675349e29fad1b3de7d2fdafcedeee10feb125b6"},"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."),r("input",{key:"0e6d334945abcc1a141d961393d1524c6770de0c",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!o.analyticsAndTesting}),r("label",{key:"a723fd69b03b9b90ced9520761201a171f792ddb",htmlFor:"a-and-t-off"},"Off"),r("input",{key:"ff4f269d26fc5844cd524c37fc0824ef1398d021",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!o.analyticsAndTesting}),r("label",{key:"6ffc75bb6a62603d7a17ad15527f5ca332e7b132",htmlFor:"a-and-t-on"},"On")),r("div",{key:"d329c1108db6cb261d26d90a920eb1849b08f761",class:"radio-group"},r("h5",{key:"130a8ab018ce11ed335a06288267de9e200d7745"},"Third-party Cookies "),r("p",{key:"b8371a30da31cb25675a48af00817259e33b7512"},"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."),r("input",{key:"68df1be21a7bd82efd2150b18e6c1ee9d808157e",type:"radio",name:"third-party",id:"third-party-off",checked:!o.thirdParty}),r("label",{key:"d3c37fc2aba4109dbdc17fe55cba69974cf846b4",htmlFor:"third-party-off"},"Off"),r("input",{key:"8be79cae8752cb1ceedb9afbd4ce2dd972c994ed",type:"radio",name:"third-party",id:"third-party-on",checked:!!o.thirdParty}),r("label",{key:"ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18",htmlFor:"third-party-on"},"On")),r("biggive-button",{key:"06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d","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:!1,centered:!1,"button-id":"accept-selected-button",onClick:this.handleAcceptSelectedCookies})),r("p",{key:"d99c4a4e8a86ca26fe87600ab9c3ece9ad373821"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),r("h2",{key:"7a498a8dc55809054149d3011fc8a4b69576ef43"},"Our website uses cookies"),r("p",{key:"151ac7c14c937df38451e1dbae94a2d4c37a88ea"},"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."),r("p",{key:"0439ea1fff021b9ecc68306004cf9c44e41a38a7"},r("a",{key:"414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),r("div",{key:"831531018c437181a45e82472e5aef80ca021dab",class:"button-group"},r("biggive-button",{key:"49ca756f041fc1d8d6c1fca330d71ad8a1beb573",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:!1,centered:!1,"button-id":"accept-all-button"}),r("biggive-button",{key:"1698931eed62e2891486daa680c478be16f356ee",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:!1,centered:!1,"button-id":"choose-preferences-button"}),r("biggive-button",{key:"b3c22143d00da7f56fe532607c21493045d414d8",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:!1,centered:!1,"button-id":"choose-preferences-button"})))}get el(){return c(this)}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}};a.style='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}.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}h2:first-child{margin-top:0}div.cooke-consent-container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;font-size:13px;line-height:17px;border-radius:10px;background:white;border:1px solid black;max-width:650px;padding:1em}div.button-group{margin-top:1em;display:flex;justify-content:space-evenly;width:100%;flex-direction:column;gap:1em}@media screen and (min-width: 475px){div.button-group{flex-direction:row-reverse}}biggive-popup{font-size:17px;line-height:24px}biggive-popup div.content{max-height:95vh;overflow:auto}biggive-popup div.content h5{border-bottom:2px solid black;max-width:25em;margin-bottom:5px}biggive-popup div.content p{margin-top:5px;margin-bottom:8px}biggive-popup div.content div.radio-group{margin-bottom:30px}';export{a as biggive_cookie_banner}