@biggive/components 1.0.112 → 1.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/biggive/assets/images/fundraising-regulator.png +0 -0
  2. package/dist/biggive/biggive.esm.js +1 -1
  3. package/dist/biggive/p-f127920b.entry.js +1 -0
  4. package/dist/biggive/p-f56bb7ae.entry.js +1 -0
  5. package/dist/cjs/biggive-back-to-top_23.cjs.entry.js +25 -57
  6. package/dist/cjs/biggive-search.cjs.entry.js +1 -1
  7. package/dist/cjs/biggive.cjs.js +1 -1
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/collection/assets/images/fundraising-regulator.png +0 -0
  10. package/dist/collection/components/biggive-button/biggive-button.stories.js +3 -3
  11. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +12 -33
  12. package/dist/collection/components/biggive-footer/biggive-footer.css +66 -27
  13. package/dist/collection/components/biggive-footer/biggive-footer.js +13 -24
  14. package/dist/collection/components/biggive-search/biggive-search.js +1 -1
  15. package/dist/components/biggive-campaign-card-filter-grid.js +19 -34
  16. package/dist/components/biggive-footer.js +14 -25
  17. package/dist/components/biggive-search.js +8 -2
  18. package/dist/esm/biggive-back-to-top_23.entry.js +25 -57
  19. package/dist/esm/biggive-search.entry.js +1 -1
  20. package/dist/esm/biggive.js +1 -1
  21. package/dist/esm/loader.js +1 -1
  22. package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +1 -0
  23. package/dist/types/components/biggive-footer/biggive-footer.d.ts +1 -0
  24. package/hydrate/index.js +26 -58
  25. package/package.json +1 -1
  26. package/dist/biggive/p-159fca0a.entry.js +0 -1
  27. package/dist/biggive/p-bd0b0104.entry.js +0 -1
package/hydrate/index.js CHANGED
@@ -5914,7 +5914,7 @@ class BigGiveSearch {
5914
5914
  }
5915
5915
  }
5916
5916
  render() {
5917
- return (hAsync("div", { class: "padding-enclosure" }, hAsync("div", { class: "outer-container" }, hAsync("div", { class: "triangle triangle-before" }), hAsync("div", { class: "inner-container" }, hAsync("h2", null, "Find a charity or project"), hAsync("div", { class: "search-box" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { type: "text", value: this.searchText, placeholder: this.placeholderText, onInput: event => this.handleSearchTextChanged(event), onKeyDown: event => this.handleEnterPressed(event) }), hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", id: "x-icon", viewBox: "0 0 512 512", onClick: () => this.clearSearchText() }, hAsync("path", { d: faX.icon[4].toString() }))), hAsync("button", { onClick: () => this.handleSearchButtonPressed() }, this.buttonText)), hAsync("div", { class: "triangle triangle-after" }))));
5917
+ return (hAsync("div", { class: "padding-enclosure" }, hAsync("div", { class: "outer-container" }, hAsync("div", { class: "triangle triangle-before" }), hAsync("div", { class: "inner-container" }, hAsync("h2", null, "Find a charity or project"), hAsync("div", { class: "search-box" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { type: "text", value: this.searchText, placeholder: this.placeholderText, onInput: event => this.handleSearchTextChanged(event), onKeyDown: event => this.handleEnterPressed(event) }), hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", id: "x-icon", viewBox: "0 0 512 512", onClick: () => this.clearSearchText() }, hAsync("path", { d: faX.icon[4].toString() }))), hAsync("biggive-button", { label: this.buttonText, onClick: () => this.handleSearchButtonPressed() })), hAsync("div", { class: "triangle triangle-after" }))));
5918
5918
  }
5919
5919
  static get style() { return biggiveSearchCss; }
5920
5920
  static get cmpMeta() { return {
@@ -6570,6 +6570,9 @@ class BiggiveCampaignCardFilterGrid {
6570
6570
  this.filterLocation = this.el.shadowRoot.getElementById('locations').selectedValue;
6571
6571
  this.filterFunding = this.el.shadowRoot.getElementById('funding').selectedValue;
6572
6572
  }
6573
+ handleSortByChanged() {
6574
+ this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
6575
+ }
6573
6576
  handleApplyFilterButtonClick() {
6574
6577
  this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
6575
6578
  }
@@ -6586,41 +6589,17 @@ class BiggiveCampaignCardFilterGrid {
6586
6589
  }
6587
6590
  handleFilterButtonClick() {
6588
6591
  this.el.shadowRoot.getElementById('filter-popup').open();
6589
- if (this.categoryOptions != null) {
6590
- var options = this.categoryOptions;
6591
- this.el.shadowRoot.getElementById('categories').innerHTML = '';
6592
- for (var prop in options) {
6593
- this.el.shadowRoot.getElementById('categories').innerHTML +=
6594
- '<biggive-form-field-select-option value="' + options[prop] + '" label="' + options[prop] + '"></biggive-form-field-select-option>';
6595
- }
6596
- }
6597
- if (this.beneficiaryOptions != null) {
6598
- var options = this.beneficiaryOptions;
6599
- this.el.shadowRoot.getElementById('beneficiaries').innerHTML = '';
6600
- for (var prop in options) {
6601
- this.el.shadowRoot.getElementById('beneficiaries').innerHTML +=
6602
- '<biggive-form-field-select-option value="' + options[prop] + '" label="' + options[prop] + '"></biggive-form-field-select-option>';
6603
- }
6604
- }
6605
- if (this.locationOptions != null) {
6606
- var options = this.locationOptions;
6607
- this.el.shadowRoot.getElementById('locations').innerHTML = '';
6608
- for (var prop in options) {
6609
- this.el.shadowRoot.getElementById('locations').innerHTML +=
6610
- '<biggive-form-field-select-option value="' + options[prop] + '" label="' + options[prop] + '"></biggive-form-field-select-option>';
6611
- }
6612
- }
6613
- if (this.fundingOptions != null) {
6614
- var options = this.fundingOptions;
6615
- this.el.shadowRoot.getElementById('funding').innerHTML = '';
6616
- for (var prop in options) {
6617
- this.el.shadowRoot.getElementById('funding').innerHTML +=
6618
- '<biggive-form-field-select-option value="' + options[prop] + '" label="' + options[prop] + '"></biggive-form-field-select-option>';
6619
- }
6620
- }
6621
6592
  }
6622
6593
  render() {
6623
- return (hAsync("div", { class: 'container space-below-' + this.spaceBelow }, hAsync("div", { class: "sleeve" }, hAsync("div", { class: "search-wrap" }, hAsync("h4", null, this.intro), hAsync("div", { class: "field-wrap" }, hAsync("div", { class: "input-wrap" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { type: "text", value: this.searchText, class: "input-text", placeholder: this.placeholderText, onInput: event => this.handleSearchTextChanged(event), onKeyDown: event => this.handleEnterPressed(event) })), hAsync("button", { onClick: () => this.handleSearchButtonPressed(), class: "button button-primary" }, this.buttonText))), hAsync("div", { class: "sort-filter-wrap" }, hAsync("div", { class: "sort-wrap" }, hAsync("biggive-form-field-select", { placeholder: "Sort by", id: "sort-by" }, hAsync("biggive-form-field-select-option", { value: "amountRaised", label: "Most raised" }), hAsync("biggive-form-field-select-option", { value: "matchFundsRemaining", label: "Match funds remaining" }))), hAsync("div", { class: "filter-wrap" }, hAsync("div", { class: "button button-primary filter", onClick: () => this.handleFilterButtonClick() }, hAsync("span", { class: "filter-icon" }, hAsync("svg", { width: "16", height: "15", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "M0.12042 0.76576C0.327224 0.298 0.766961 0 1.25014 0H14.7517C15.2361 0 15.6736 0.298 15.8799 0.76576C16.0893 1.23352 16.0237 1.787 15.6924 2.18745L10.0011 9.67328V13.929C10.0011 14.3341 9.7886 14.7058 9.44793 14.8866C9.1104 15.0674 8.7041 15.0306 8.40094 14.7862L6.40072 13.179C6.14756 12.9781 6.00067 12.66 6.00067 12.3218V9.67328L0.282594 2.18745C-0.023284 1.787 -0.0864161 1.23352 0.120451 0.76576H0.12042Z", fill: "white" }))), "Filters"), hAsync("biggive-popup", { id: "filter-popup" }, hAsync("h4", { class: "space-above-0 space-below-3 colour-primary" }, "Filters"), hAsync("biggive-form-field-select", { placeholder: "Category", id: "categories", "space-below": "2" }), hAsync("biggive-form-field-select", { placeholder: "Beneficiary", id: "beneficiaries", "space-below": "2" }), hAsync("biggive-form-field-select", { placeholder: "Location", id: "locations", "space-below": "2" }), hAsync("biggive-form-field-select", { placeholder: "Funding", id: "funding", "space-below": "2" }), hAsync("div", { class: "align-right" }, hAsync("button", { class: "button button-primary", onClick: () => this.handleApplyFilterButtonClick() }, "Apply filters"))))), hAsync("div", { class: "campaign-grid" }, hAsync("slot", { name: "campaign-grid" })))));
6594
+ return (hAsync("div", { class: 'container space-below-' + this.spaceBelow }, hAsync("div", { class: "sleeve" }, hAsync("div", { class: "search-wrap" }, hAsync("h4", null, this.intro), hAsync("div", { class: "field-wrap" }, hAsync("div", { class: "input-wrap" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { type: "text", value: this.searchText, class: "input-text", placeholder: this.placeholderText, onInput: event => this.handleSearchTextChanged(event), onKeyDown: event => this.handleEnterPressed(event) })), hAsync("biggive-button", { onClick: () => this.handleSearchButtonPressed(), label: this.buttonText }))), hAsync("div", { class: "sort-filter-wrap" }, hAsync("div", { class: "sort-wrap" }, hAsync("biggive-form-field-select", { placeholder: "Sort by", id: "sort-by", onDoSelectChange: () => this.handleSortByChanged() }, hAsync("biggive-form-field-select-option", { value: "amountRaised", label: "Most raised" }), hAsync("biggive-form-field-select-option", { value: "matchFundsRemaining", label: "Match funds remaining" }))), hAsync("div", { class: "filter-wrap" }, hAsync("biggive-button", { class: "filter", onClick: () => this.handleFilterButtonClick() }, hAsync("span", { class: "filter-icon" }, hAsync("svg", { width: "16", height: "15", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "M0.12042 0.76576C0.327224 0.298 0.766961 0 1.25014 0H14.7517C15.2361 0 15.6736 0.298 15.8799 0.76576C16.0893 1.23352 16.0237 1.787 15.6924 2.18745L10.0011 9.67328V13.929C10.0011 14.3341 9.7886 14.7058 9.44793 14.8866C9.1104 15.0674 8.7041 15.0306 8.40094 14.7862L6.40072 13.179C6.14756 12.9781 6.00067 12.66 6.00067 12.3218V9.67328L0.282594 2.18745C-0.023284 1.787 -0.0864161 1.23352 0.120451 0.76576H0.12042Z", fill: "white" }))), "Filters"), hAsync("biggive-popup", { id: "filter-popup" }, hAsync("h4", { class: "space-above-0 space-below-3 colour-primary" }, "Filters"), hAsync("biggive-form-field-select", { placeholder: "Category", id: "categories", "space-below": "2" }, !this.categoryOptions
6595
+ ? undefined
6596
+ : this.categoryOptions.map(option => hAsync("biggive-form-field-select-option", { value: option, label: option }))), hAsync("biggive-form-field-select", { placeholder: "Beneficiary", id: "beneficiaries", "space-below": "2" }, !this.beneficiaryOptions
6597
+ ? undefined
6598
+ : this.beneficiaryOptions.map(option => hAsync("biggive-form-field-select-option", { value: option, label: option }))), hAsync("biggive-form-field-select", { placeholder: "Location", id: "locations", "space-below": "2" }, !this.locationOptions
6599
+ ? undefined
6600
+ : this.locationOptions.map(option => hAsync("biggive-form-field-select-option", { value: option, label: option }))), hAsync("biggive-form-field-select", { placeholder: "Funding", id: "funding", "space-below": "2" }, !this.fundingOptions
6601
+ ? undefined
6602
+ : this.fundingOptions.map(option => hAsync("biggive-form-field-select-option", { value: option, label: option }))), hAsync("div", { class: "align-right" }, hAsync("biggive-button", { label: "Apply filters", onClick: () => this.handleApplyFilterButtonClick() }))))), hAsync("div", { class: "campaign-grid" }, hAsync("slot", { name: "campaign-grid" })))));
6624
6603
  }
6625
6604
  get el() { return getElement(this); }
6626
6605
  static get style() { return biggiveCampaignCardFilterGridCss; }
@@ -6739,39 +6718,28 @@ class BiggiveCategoryIcon {
6739
6718
  }; }
6740
6719
  }
6741
6720
 
6742
- const biggiveFooterCss = "/*!@body*/body.sc-biggive-footer{background-color:#D7D7D7}/*!@h1, h3, h3, h4, h5, h6*/h1.sc-biggive-footer,h3.sc-biggive-footer,h4.sc-biggive-footer,h5.sc-biggive-footer,h6.sc-biggive-footer{margin-bottom:0}/*!@h1, .heading-1*/h1.sc-biggive-footer,.heading-1.sc-biggive-footer{font-size:47px;line-height:60px;font-weight:bold}/*!@h2, .heading-2*/h2.sc-biggive-footer,.heading-2.sc-biggive-footer{font-size:38px;line-height:45px;font-weight:bold}/*!@h3, .heading-3*/h3.sc-biggive-footer,.heading-3.sc-biggive-footer{font-size:25px;line-height:32px;font-weight:bold}/*!@h4, .heading-4*/h4.sc-biggive-footer,.heading-4.sc-biggive-footer{font-size:20px;line-height:24px;font-weight:bold}/*!@h5, .heading-5*/h5.sc-biggive-footer,.heading-5.sc-biggive-footer{font-size:17px;line-height:24px;font-weight:bold}/*!@a*/a.sc-biggive-footer{color:inherit;text-decoration:underline}/*!@a:hover*/a.sc-biggive-footer:hover{text-decoration:none}/*!@.colour-primary*/.colour-primary.sc-biggive-footer{color:#2C089B}/*!@.colour-secondary*/.colour-secondary.sc-biggive-footer{color:#2AF135}/*!@.colour-tertiary*/.colour-tertiary.sc-biggive-footer{color:#FF7272}/*!@.colour-white*/.colour-white.sc-biggive-footer{color:#FFFFFF}/*!@.colour-black*/.colour-black.sc-biggive-footer{color:#000000}/*!@.text-colour-hover-primary:hover,\n.text-colour-primary*/.text-colour-hover-primary.sc-biggive-footer:hover,.text-colour-primary.sc-biggive-footer{color:#2C089B}/*!@.text-colour-hover-secondary:hover,\n.text-colour-secondary*/.text-colour-hover-secondary.sc-biggive-footer:hover,.text-colour-secondary.sc-biggive-footer{color:#2AF135}/*!@.text-colour-hover-tertiary:hover,\n.text-colour-tertiary*/.text-colour-hover-tertiary.sc-biggive-footer:hover,.text-colour-tertiary.sc-biggive-footer{color:#FF7272}/*!@.text-colour-hover-white:hover,\n.text-colour-white*/.text-colour-hover-white.sc-biggive-footer:hover,.text-colour-white.sc-biggive-footer{color:#FFFFFF}/*!@.text-colour-hover-black:hover,\n.text-colour-black*/.text-colour-hover-black.sc-biggive-footer:hover,.text-colour-black.sc-biggive-footer{color:#000000}/*!@.fill-primary*/.fill-primary.sc-biggive-footer{fill:#2C089B}/*!@.fill-secondary*/.fill-secondary.sc-biggive-footer{fill:#2AF135}/*!@.fill-tertiary*/.fill-tertiary.sc-biggive-footer{fill:#FF7272}/*!@.fill-white*/.fill-white.sc-biggive-footer{fill:#FFFFFF}/*!@.fill-black*/.fill-black.sc-biggive-footer{fill:#000000}/*!@.fill-red*/.fill-red.sc-biggive-footer{fill:red}/*!@.background-colour-hover-primary:hover,\n.background-colour-primary*/.background-colour-hover-primary.sc-biggive-footer:hover,.background-colour-primary.sc-biggive-footer{background-color:#2C089B}/*!@.background-colour-hover-secondary:hover,\n.background-colour-secondary*/.background-colour-hover-secondary.sc-biggive-footer:hover,.background-colour-secondary.sc-biggive-footer{background-color:#2AF135}/*!@.background-colour-hover-tertiary:hover,\n.background-colour-tertiary*/.background-colour-hover-tertiary.sc-biggive-footer:hover,.background-colour-tertiary.sc-biggive-footer{background-color:#FF7272}/*!@.background-colour-hover-white:hover,\n.background-colour-white*/.background-colour-hover-white.sc-biggive-footer:hover,.background-colour-white.sc-biggive-footer{background-color:#FFFFFF}/*!@.background-colour-hover-black:hover,\n.background-colour-black*/.background-colour-hover-black.sc-biggive-footer:hover,.background-colour-black.sc-biggive-footer{background-color:#000000}/*!@.input-wrap*/.input-wrap.sc-biggive-footer{display:flex;justify-content:space-between}/*!@.input-text*/.input-text.sc-biggive-footer{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*/.input-text.sc-biggive-footer:focus{outline:0}/*!@.input-text:placeholder*/.input-text.sc-biggive-footer:placeholder{color:#4A4A4A}/*!@.button*/.button.sc-biggive-footer{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}/*!@.button:hover*/.button.sc-biggive-footer:hover{background-color:#FFFFFF;color:#000000}/*!@.button.size-small*/.button.size-small.sc-biggive-footer{font-size:13px;line-height:17px;padding:5px 15px}/*!@.button.button.rounded-true*/.button.button.rounded-true.sc-biggive-footer{border-radius:27.5px}/*!@.button.button.rounded-true.size-small*/.button.button.rounded-true.size-small.sc-biggive-footer{border-radius:20px}/*!@.button-primary*/.button-primary.sc-biggive-footer{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}/*!@.button-primary:hover*/.button-primary.sc-biggive-footer:hover{color:#2C089B;background-color:#FFFFFF}/*!@.button-secondary*/.button-secondary.sc-biggive-footer{color:#2C089B;background-color:#2AF135;border-color:#2AF135}/*!@.button-secondary:hover*/.button-secondary.sc-biggive-footer:hover{background-color:#FFFFFF}/*!@.button-tertiary*/.button-tertiary.sc-biggive-footer{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}/*!@.button-tertiary:hover*/.button-tertiary.sc-biggive-footer:hover{background-color:#FFFFFF}/*!@.button-white*/.button-white.sc-biggive-footer{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}/*!@.button-white:hover*/.button-white.sc-biggive-footer:hover{color:#FFFFFF;background-color:#2C089B}/*!@.button-black*/.button-black.sc-biggive-footer{color:#FFFFFF;background-color:#000000;border-color:#000000}/*!@.button-black:hover*/.button-black.sc-biggive-footer:hover{color:#000000;background-color:#FFFFFF}/*!@.button-clear-primary*/.button-clear-primary.sc-biggive-footer{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-primary:hover*/.button-clear-primary.sc-biggive-footer:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-secondary*/.button-clear-secondary.sc-biggive-footer{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-secondary:hover*/.button-clear-secondary.sc-biggive-footer:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-tertiary*/.button-clear-tertiary.sc-biggive-footer{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-tertiary:hover*/.button-clear-tertiary.sc-biggive-footer:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-white*/.button-clear-white.sc-biggive-footer{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-white:hover*/.button-clear-white.sc-biggive-footer:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}/*!@.button-rounded*/.button-rounded.sc-biggive-footer{border-radius:27.5px}/*!@.button-rounded.size-small*/.button-rounded.size-small.sc-biggive-footer{border-radius:20px}/*!@.progress-bar*/.progress-bar.sc-biggive-footer{display:flex}/*!@.progress-bar .slider*/.progress-bar.sc-biggive-footer .slider.sc-biggive-footer{margin:auto 15px auto 0;position:relative;flex-grow:1}/*!@.progress-bar .slider:before*/.progress-bar.sc-biggive-footer .slider.sc-biggive-footer:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}/*!@.progress-bar .slider .progress*/.progress-bar.sc-biggive-footer .slider.sc-biggive-footer .progress.sc-biggive-footer{position:relative;border-radius:4px;background-color:#000000;height:8px}/*!@.progress-bar .counter*/.progress-bar.sc-biggive-footer .counter.sc-biggive-footer{font-weight:700;color:#000000;font-size:14px;line-height:18px}/*!@.progress-bar-primary .slider .progress*/.progress-bar-primary.sc-biggive-footer .slider.sc-biggive-footer .progress.sc-biggive-footer{background-color:#2C089B}/*!@.progress-bar-primary .counter*/.progress-bar-primary.sc-biggive-footer .counter.sc-biggive-footer{color:#2C089B}/*!@.progress-bar-secondary .slider .progress*/.progress-bar-secondary.sc-biggive-footer .slider.sc-biggive-footer .progress.sc-biggive-footer{background-color:#2AF135}/*!@.progress-bar-secondary .counter*/.progress-bar-secondary.sc-biggive-footer .counter.sc-biggive-footer{color:#2AF135}/*!@.video-wrap*/.video-wrap.sc-biggive-footer{position:relative;padding-bottom:56.25%}/*!@.video-wrap iframe,\n.video-wrap video*/.video-wrap.sc-biggive-footer iframe.sc-biggive-footer,.video-wrap.sc-biggive-footer video.sc-biggive-footer{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}/*!@.image-wrap img*/.image-wrap.sc-biggive-footer img.sc-biggive-footer{width:100%;height:auto}/*!@.align-left*/.align-left.sc-biggive-footer{text-align:left}/*!@.align-right*/.align-right.sc-biggive-footer{text-align:right}/*!@.align-center*/.align-center.sc-biggive-footer{text-align:center}/*!@.align-justify*/.align-justify.sc-biggive-footer{text-align:justify}/*!@.space-below-0*/.space-below-0.sc-biggive-footer{margin-bottom:0}/*!@.space-below-1*/.space-below-1.sc-biggive-footer{margin-bottom:5px}/*!@.space-below-2*/.space-below-2.sc-biggive-footer{margin-bottom:10px}/*!@.space-below-3*/.space-below-3.sc-biggive-footer{margin-bottom:15px}/*!@.space-below-4*/.space-below-4.sc-biggive-footer{margin-bottom:30px}/*!@.space-below-5*/.space-below-5.sc-biggive-footer{margin-bottom:45px}/*!@.space-below-6*/.space-below-6.sc-biggive-footer{margin-bottom:60px}/*!@.space-above-0*/.space-above-0.sc-biggive-footer{margin-top:0}/*!@.space-above-1*/.space-above-1.sc-biggive-footer{margin-top:5px}/*!@.space-above-2*/.space-above-2.sc-biggive-footer{margin-top:10px}/*!@.space-above-3*/.space-above-3.sc-biggive-footer{margin-top:15px}/*!@.space-above-4*/.space-above-4.sc-biggive-footer{margin-top:30px}/*!@.space-above-5*/.space-above-5.sc-biggive-footer{margin-top:45px}/*!@.space-above-6*/.space-above-6.sc-biggive-footer{margin-top:60px}/*!@.horizontal-padding-1*/.horizontal-padding-1.sc-biggive-footer{padding-left:5px;padding-right:5px}/*!@.horizontal-padding-2*/.horizontal-padding-2.sc-biggive-footer{padding-left:10px;padding-right:10px}/*!@.horizontal-padding-3*/.horizontal-padding-3.sc-biggive-footer{padding-left:15px;padding-right:15px}/*!@.horizontal-padding-4*/.horizontal-padding-4.sc-biggive-footer{padding-left:30px;padding-right:30px}/*!@.horizontal-padding-5*/.horizontal-padding-5.sc-biggive-footer{padding-left:45px;padding-right:45px}/*!@.horizontal-padding-6*/.horizontal-padding-6.sc-biggive-footer{padding-left:60px;padding-right:60px}/*!@.vertical-padding-1*/.vertical-padding-1.sc-biggive-footer{padding-top:5px;padding-bottom:5px}/*!@.vertical-padding-2*/.vertical-padding-2.sc-biggive-footer{padding-top:10px;padding-bottom:10px}/*!@.vertical-padding-3*/.vertical-padding-3.sc-biggive-footer{padding-top:15px;padding-bottom:15px}/*!@.vertical-padding-4*/.vertical-padding-4.sc-biggive-footer{padding-top:30px;padding-bottom:30px}/*!@.vertical-padding-5*/.vertical-padding-5.sc-biggive-footer{padding-top:45px;padding-bottom:45px}/*!@.vertical-padding-6*/.vertical-padding-6.sc-biggive-footer{padding-top:60px;padding-bottom:60px}/*!@:host*/.sc-biggive-footer-h{display:contents}/*!@.footer*/.footer.sc-biggive-footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}/*!@nav ul li a*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.sc-biggive-footer{color:#FFFFFF;text-decoration:none}/*!@.row-top*/.row-top.sc-biggive-footer{background-image:url(assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}/*!@.row-top nav*/.row-top.sc-biggive-footer nav.sc-biggive-footer{width:calc(33.3% - 20px);margin:0;padding:0}/*!@.row-top nav h5*/.row-top.sc-biggive-footer nav.sc-biggive-footer h5.sc-biggive-footer{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}/*!@.row-top nav ul*/.row-top.sc-biggive-footer nav.sc-biggive-footer ul.sc-biggive-footer{margin:0;padding:0}/*!@.row-top nav ul li*/.row-top.sc-biggive-footer nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer{margin:0;padding:0;list-style-type:none}/*!@.row-top .button-wrap*/.row-top.sc-biggive-footer .button-wrap.sc-biggive-footer{margin-top:15px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}/*!@.row-bottom*/.row-bottom.sc-biggive-footer{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF;text-align:center}/*!@.row-bottom .social-icon-wrap*/.row-bottom.sc-biggive-footer .social-icon-wrap.sc-biggive-footer{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}/*!@.row-bottom .social-icon-wrap .social-icon-item*/.row-bottom.sc-biggive-footer .social-icon-wrap.sc-biggive-footer .social-icon-item.sc-biggive-footer{margin:0 10px}@media screen and (max-width: 768px){/*!@.row-top*/.row-top.sc-biggive-footer{padding:15px}}@media screen and (max-width: 576px){/*!@.row-top*/.row-top.sc-biggive-footer{background-size:auto 50px;padding-top:80px;padding-left:15px}/*!@.row-top nav*/.row-top.sc-biggive-footer nav.sc-biggive-footer{width:100%;margin-right:0;margin-bottom:30px}/*!@.row-top .button-wrap **/.row-top.sc-biggive-footer .button-wrap.sc-biggive-footer *.sc-biggive-footer{width:100% !important}}";
6721
+ const biggiveFooterCss = "/*!@body*/body.sc-biggive-footer{background-color:#D7D7D7}/*!@h1, h3, h3, h4, h5, h6*/h1.sc-biggive-footer,h3.sc-biggive-footer,h4.sc-biggive-footer,h5.sc-biggive-footer,h6.sc-biggive-footer{margin-bottom:0}/*!@h1, .heading-1*/h1.sc-biggive-footer,.heading-1.sc-biggive-footer{font-size:47px;line-height:60px;font-weight:bold}/*!@h2, .heading-2*/h2.sc-biggive-footer,.heading-2.sc-biggive-footer{font-size:38px;line-height:45px;font-weight:bold}/*!@h3, .heading-3*/h3.sc-biggive-footer,.heading-3.sc-biggive-footer{font-size:25px;line-height:32px;font-weight:bold}/*!@h4, .heading-4*/h4.sc-biggive-footer,.heading-4.sc-biggive-footer{font-size:20px;line-height:24px;font-weight:bold}/*!@h5, .heading-5*/h5.sc-biggive-footer,.heading-5.sc-biggive-footer{font-size:17px;line-height:24px;font-weight:bold}/*!@a*/a.sc-biggive-footer{color:inherit;text-decoration:underline}/*!@a:hover*/a.sc-biggive-footer:hover{text-decoration:none}/*!@.colour-primary*/.colour-primary.sc-biggive-footer{color:#2C089B}/*!@.colour-secondary*/.colour-secondary.sc-biggive-footer{color:#2AF135}/*!@.colour-tertiary*/.colour-tertiary.sc-biggive-footer{color:#FF7272}/*!@.colour-white*/.colour-white.sc-biggive-footer{color:#FFFFFF}/*!@.colour-black*/.colour-black.sc-biggive-footer{color:#000000}/*!@.text-colour-hover-primary:hover,\n.text-colour-primary*/.text-colour-hover-primary.sc-biggive-footer:hover,.text-colour-primary.sc-biggive-footer{color:#2C089B}/*!@.text-colour-hover-secondary:hover,\n.text-colour-secondary*/.text-colour-hover-secondary.sc-biggive-footer:hover,.text-colour-secondary.sc-biggive-footer{color:#2AF135}/*!@.text-colour-hover-tertiary:hover,\n.text-colour-tertiary*/.text-colour-hover-tertiary.sc-biggive-footer:hover,.text-colour-tertiary.sc-biggive-footer{color:#FF7272}/*!@.text-colour-hover-white:hover,\n.text-colour-white*/.text-colour-hover-white.sc-biggive-footer:hover,.text-colour-white.sc-biggive-footer{color:#FFFFFF}/*!@.text-colour-hover-black:hover,\n.text-colour-black*/.text-colour-hover-black.sc-biggive-footer:hover,.text-colour-black.sc-biggive-footer{color:#000000}/*!@.fill-primary*/.fill-primary.sc-biggive-footer{fill:#2C089B}/*!@.fill-secondary*/.fill-secondary.sc-biggive-footer{fill:#2AF135}/*!@.fill-tertiary*/.fill-tertiary.sc-biggive-footer{fill:#FF7272}/*!@.fill-white*/.fill-white.sc-biggive-footer{fill:#FFFFFF}/*!@.fill-black*/.fill-black.sc-biggive-footer{fill:#000000}/*!@.fill-red*/.fill-red.sc-biggive-footer{fill:red}/*!@.background-colour-hover-primary:hover,\n.background-colour-primary*/.background-colour-hover-primary.sc-biggive-footer:hover,.background-colour-primary.sc-biggive-footer{background-color:#2C089B}/*!@.background-colour-hover-secondary:hover,\n.background-colour-secondary*/.background-colour-hover-secondary.sc-biggive-footer:hover,.background-colour-secondary.sc-biggive-footer{background-color:#2AF135}/*!@.background-colour-hover-tertiary:hover,\n.background-colour-tertiary*/.background-colour-hover-tertiary.sc-biggive-footer:hover,.background-colour-tertiary.sc-biggive-footer{background-color:#FF7272}/*!@.background-colour-hover-white:hover,\n.background-colour-white*/.background-colour-hover-white.sc-biggive-footer:hover,.background-colour-white.sc-biggive-footer{background-color:#FFFFFF}/*!@.background-colour-hover-black:hover,\n.background-colour-black*/.background-colour-hover-black.sc-biggive-footer:hover,.background-colour-black.sc-biggive-footer{background-color:#000000}/*!@.input-wrap*/.input-wrap.sc-biggive-footer{display:flex;justify-content:space-between}/*!@.input-text*/.input-text.sc-biggive-footer{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*/.input-text.sc-biggive-footer:focus{outline:0}/*!@.input-text:placeholder*/.input-text.sc-biggive-footer:placeholder{color:#4A4A4A}/*!@.button*/.button.sc-biggive-footer{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}/*!@.button:hover*/.button.sc-biggive-footer:hover{background-color:#FFFFFF;color:#000000}/*!@.button.size-small*/.button.size-small.sc-biggive-footer{font-size:13px;line-height:17px;padding:5px 15px}/*!@.button.button.rounded-true*/.button.button.rounded-true.sc-biggive-footer{border-radius:27.5px}/*!@.button.button.rounded-true.size-small*/.button.button.rounded-true.size-small.sc-biggive-footer{border-radius:20px}/*!@.button-primary*/.button-primary.sc-biggive-footer{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}/*!@.button-primary:hover*/.button-primary.sc-biggive-footer:hover{color:#2C089B;background-color:#FFFFFF}/*!@.button-secondary*/.button-secondary.sc-biggive-footer{color:#2C089B;background-color:#2AF135;border-color:#2AF135}/*!@.button-secondary:hover*/.button-secondary.sc-biggive-footer:hover{background-color:#FFFFFF}/*!@.button-tertiary*/.button-tertiary.sc-biggive-footer{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}/*!@.button-tertiary:hover*/.button-tertiary.sc-biggive-footer:hover{background-color:#FFFFFF}/*!@.button-white*/.button-white.sc-biggive-footer{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}/*!@.button-white:hover*/.button-white.sc-biggive-footer:hover{color:#FFFFFF;background-color:#2C089B}/*!@.button-black*/.button-black.sc-biggive-footer{color:#FFFFFF;background-color:#000000;border-color:#000000}/*!@.button-black:hover*/.button-black.sc-biggive-footer:hover{color:#000000;background-color:#FFFFFF}/*!@.button-clear-primary*/.button-clear-primary.sc-biggive-footer{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-primary:hover*/.button-clear-primary.sc-biggive-footer:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-secondary*/.button-clear-secondary.sc-biggive-footer{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-secondary:hover*/.button-clear-secondary.sc-biggive-footer:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-tertiary*/.button-clear-tertiary.sc-biggive-footer{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-tertiary:hover*/.button-clear-tertiary.sc-biggive-footer:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-white*/.button-clear-white.sc-biggive-footer{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-white:hover*/.button-clear-white.sc-biggive-footer:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}/*!@.button-rounded*/.button-rounded.sc-biggive-footer{border-radius:27.5px}/*!@.button-rounded.size-small*/.button-rounded.size-small.sc-biggive-footer{border-radius:20px}/*!@.progress-bar*/.progress-bar.sc-biggive-footer{display:flex}/*!@.progress-bar .slider*/.progress-bar.sc-biggive-footer .slider.sc-biggive-footer{margin:auto 15px auto 0;position:relative;flex-grow:1}/*!@.progress-bar .slider:before*/.progress-bar.sc-biggive-footer .slider.sc-biggive-footer:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}/*!@.progress-bar .slider .progress*/.progress-bar.sc-biggive-footer .slider.sc-biggive-footer .progress.sc-biggive-footer{position:relative;border-radius:4px;background-color:#000000;height:8px}/*!@.progress-bar .counter*/.progress-bar.sc-biggive-footer .counter.sc-biggive-footer{font-weight:700;color:#000000;font-size:14px;line-height:18px}/*!@.progress-bar-primary .slider .progress*/.progress-bar-primary.sc-biggive-footer .slider.sc-biggive-footer .progress.sc-biggive-footer{background-color:#2C089B}/*!@.progress-bar-primary .counter*/.progress-bar-primary.sc-biggive-footer .counter.sc-biggive-footer{color:#2C089B}/*!@.progress-bar-secondary .slider .progress*/.progress-bar-secondary.sc-biggive-footer .slider.sc-biggive-footer .progress.sc-biggive-footer{background-color:#2AF135}/*!@.progress-bar-secondary .counter*/.progress-bar-secondary.sc-biggive-footer .counter.sc-biggive-footer{color:#2AF135}/*!@.video-wrap*/.video-wrap.sc-biggive-footer{position:relative;padding-bottom:56.25%}/*!@.video-wrap iframe,\n.video-wrap video*/.video-wrap.sc-biggive-footer iframe.sc-biggive-footer,.video-wrap.sc-biggive-footer video.sc-biggive-footer{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}/*!@.image-wrap img*/.image-wrap.sc-biggive-footer img.sc-biggive-footer{width:100%;height:auto}/*!@.align-left*/.align-left.sc-biggive-footer{text-align:left}/*!@.align-right*/.align-right.sc-biggive-footer{text-align:right}/*!@.align-center*/.align-center.sc-biggive-footer{text-align:center}/*!@.align-justify*/.align-justify.sc-biggive-footer{text-align:justify}/*!@.space-below-0*/.space-below-0.sc-biggive-footer{margin-bottom:0}/*!@.space-below-1*/.space-below-1.sc-biggive-footer{margin-bottom:5px}/*!@.space-below-2*/.space-below-2.sc-biggive-footer{margin-bottom:10px}/*!@.space-below-3*/.space-below-3.sc-biggive-footer{margin-bottom:15px}/*!@.space-below-4*/.space-below-4.sc-biggive-footer{margin-bottom:30px}/*!@.space-below-5*/.space-below-5.sc-biggive-footer{margin-bottom:45px}/*!@.space-below-6*/.space-below-6.sc-biggive-footer{margin-bottom:60px}/*!@.space-above-0*/.space-above-0.sc-biggive-footer{margin-top:0}/*!@.space-above-1*/.space-above-1.sc-biggive-footer{margin-top:5px}/*!@.space-above-2*/.space-above-2.sc-biggive-footer{margin-top:10px}/*!@.space-above-3*/.space-above-3.sc-biggive-footer{margin-top:15px}/*!@.space-above-4*/.space-above-4.sc-biggive-footer{margin-top:30px}/*!@.space-above-5*/.space-above-5.sc-biggive-footer{margin-top:45px}/*!@.space-above-6*/.space-above-6.sc-biggive-footer{margin-top:60px}/*!@.horizontal-padding-1*/.horizontal-padding-1.sc-biggive-footer{padding-left:5px;padding-right:5px}/*!@.horizontal-padding-2*/.horizontal-padding-2.sc-biggive-footer{padding-left:10px;padding-right:10px}/*!@.horizontal-padding-3*/.horizontal-padding-3.sc-biggive-footer{padding-left:15px;padding-right:15px}/*!@.horizontal-padding-4*/.horizontal-padding-4.sc-biggive-footer{padding-left:30px;padding-right:30px}/*!@.horizontal-padding-5*/.horizontal-padding-5.sc-biggive-footer{padding-left:45px;padding-right:45px}/*!@.horizontal-padding-6*/.horizontal-padding-6.sc-biggive-footer{padding-left:60px;padding-right:60px}/*!@.vertical-padding-1*/.vertical-padding-1.sc-biggive-footer{padding-top:5px;padding-bottom:5px}/*!@.vertical-padding-2*/.vertical-padding-2.sc-biggive-footer{padding-top:10px;padding-bottom:10px}/*!@.vertical-padding-3*/.vertical-padding-3.sc-biggive-footer{padding-top:15px;padding-bottom:15px}/*!@.vertical-padding-4*/.vertical-padding-4.sc-biggive-footer{padding-top:30px;padding-bottom:30px}/*!@.vertical-padding-5*/.vertical-padding-5.sc-biggive-footer{padding-top:45px;padding-bottom:45px}/*!@.vertical-padding-6*/.vertical-padding-6.sc-biggive-footer{padding-top:60px;padding-bottom:60px}/*!@:host*/.sc-biggive-footer-h{display:contents}/*!@.footer*/.footer.sc-biggive-footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}/*!@nav*/nav.sc-biggive-footer{width:calc(33.3% - 20px);margin:0;padding:0}/*!@nav h5*/nav.sc-biggive-footer h5.sc-biggive-footer{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}/*!@nav ul*/nav.sc-biggive-footer ul.sc-biggive-footer{margin:0;padding:0}/*!@nav ul li*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer{margin:0;padding:0;list-style-type:none}/*!@nav ul li a*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.sc-biggive-footer{color:#FFFFFF;text-decoration:none}/*!@.row-top*/.row-top.sc-biggive-footer{background-image:url(assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}/*!@.row-top .button-wrap*/.row-top.sc-biggive-footer .button-wrap.sc-biggive-footer{margin-top:15px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}/*!@.row-bottom*/.row-bottom.sc-biggive-footer{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}/*!@.row-bottom .fr-logo*/.row-bottom.sc-biggive-footer .fr-logo.sc-biggive-footer{width:135px}/*!@.row-bottom .postscript-wrap*/.row-bottom.sc-biggive-footer .postscript-wrap.sc-biggive-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){/*!@.row-bottom .postscript-wrap*/.row-bottom.sc-biggive-footer .postscript-wrap.sc-biggive-footer{flex-direction:column}}/*!@.row-bottom .nav.nav-postscript*/.row-bottom.sc-biggive-footer .nav.nav-postscript.sc-biggive-footer{text-align:right;flex-grow:1}@media screen and (max-width: 768px){/*!@.row-bottom .nav.nav-postscript*/.row-bottom.sc-biggive-footer .nav.nav-postscript.sc-biggive-footer{text-align:center}}/*!@.row-bottom .nav-postscript li*/.row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer{display:inline-block;margin-left:1rem}/*!@.row-bottom .nav-postscript li:first-child*/.row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer:first-child{margin-left:0}@media screen and (max-width: 768px){/*!@.row-bottom .nav-postscript li*/.row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer{display:block;width:100%;margin-left:0}}/*!@.row-bottom .social-icon-wrap*/.row-bottom.sc-biggive-footer .social-icon-wrap.sc-biggive-footer{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}/*!@.row-bottom .social-icon-wrap .social-icon-item*/.row-bottom.sc-biggive-footer .social-icon-wrap.sc-biggive-footer .social-icon-item.sc-biggive-footer{margin:0 10px}@media screen and (max-width: 768px){/*!@.row-top*/.row-top.sc-biggive-footer{padding:15px}}@media screen and (max-width: 768px){/*!@nav*/nav.sc-biggive-footer{width:100%;margin-right:0;margin-bottom:30px}/*!@.row-top*/.row-top.sc-biggive-footer{background-size:auto 50px;padding-top:80px;padding-left:15px}/*!@.row-top .button-wrap **/.row-top.sc-biggive-footer .button-wrap.sc-biggive-footer *.sc-biggive-footer{width:100% !important}}";
6743
6722
 
6744
6723
  class BiggiveFooter {
6745
6724
  constructor(hostRef) {
6746
6725
  registerInstance(this, hostRef);
6747
6726
  }
6748
- render() {
6749
- var node = null;
6750
- var navPrimary = null;
6751
- var navSecondary = null;
6752
- var navTertiary = null;
6753
- node = this.host.querySelector('[slot="nav-primary"]');
6754
- if (node != null) {
6755
- navPrimary = [];
6756
- node.querySelectorAll('li').forEach(el => {
6757
- navPrimary.push(hAsync("li", null, hAsync("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
6758
- });
6759
- }
6760
- node = this.host.querySelector('[slot="nav-secondary"]');
6727
+ getMenuUlContents(slotName) {
6728
+ const navItems = [];
6729
+ const node = this.host.querySelector(`[slot="${slotName}"]`);
6761
6730
  if (node != null) {
6762
- navSecondary = [];
6763
6731
  node.querySelectorAll('li').forEach(el => {
6764
- navSecondary.push(hAsync("li", null, hAsync("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
6732
+ navItems.push(hAsync("li", null, hAsync("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
6765
6733
  });
6766
6734
  }
6767
- node = this.host.querySelector('[slot="nav-tertiary"]');
6768
- if (node != null) {
6769
- navTertiary = [];
6770
- node.querySelectorAll('li').forEach(el => {
6771
- navTertiary.push(hAsync("li", null, hAsync("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
6772
- });
6773
- }
6774
- return (hAsync("footer", { class: "footer" }, hAsync("div", { class: "row row-top" }, hAsync("nav", { class: "nav nav-primary" }, hAsync("h5", null, hAsync("slot", { name: "nav-primary-title" })), hAsync("ul", null, navPrimary)), hAsync("nav", { class: "nav nav-secondary" }, hAsync("h5", null, hAsync("slot", { name: "nav-secondary-title" })), hAsync("ul", null, navSecondary)), hAsync("nav", { class: "nav nav-tertiary" }, hAsync("h5", null, hAsync("slot", { name: "nav-tertiary-title" })), hAsync("ul", null, navTertiary)), hAsync("div", { class: "button-wrap" }, hAsync("biggive-button", { "colour-scheme": "white", url: "#", label: "Donor login" }), hAsync("biggive-button", { "colour-scheme": "white", url: "#", label: "For charities" }), hAsync("biggive-button", { "colour-scheme": "white", url: "#", label: "For funders" }))), hAsync("div", { class: "row row-bottom" }, hAsync("div", { class: "social-icon-wrap" }, hAsync("slot", { name: "social-icons" })), hAsync("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
6735
+ return navItems;
6736
+ }
6737
+ render() {
6738
+ const navPrimary = this.getMenuUlContents('nav-primary');
6739
+ const navSecondary = this.getMenuUlContents('nav-secondary');
6740
+ const navTertiary = this.getMenuUlContents('nav-tertiary');
6741
+ const navPostscript = this.getMenuUlContents('nav-postscript');
6742
+ return (hAsync("footer", { class: "footer" }, hAsync("div", { class: "row row-top" }, hAsync("nav", { class: "nav nav-primary" }, hAsync("h5", null, hAsync("slot", { name: "nav-primary-title" })), hAsync("ul", null, navPrimary)), hAsync("nav", { class: "nav nav-secondary" }, hAsync("h5", null, hAsync("slot", { name: "nav-secondary-title" })), hAsync("ul", null, navSecondary)), hAsync("nav", { class: "nav nav-tertiary" }, hAsync("h5", null, hAsync("slot", { name: "nav-tertiary-title" })), hAsync("ul", null, navTertiary)), hAsync("div", { class: "button-wrap" }, hAsync("biggive-button", { "colour-scheme": "white", url: "#", label: "For charities" }), hAsync("biggive-button", { "colour-scheme": "white", url: "#", label: "For funders" }))), hAsync("div", { class: "row row-bottom" }, hAsync("div", { class: "postscript-wrap" }, hAsync("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png') }), hAsync("nav", { class: "nav nav-postscript" }, hAsync("ul", null, navPostscript))), hAsync("div", { class: "social-icon-wrap" }, hAsync("slot", { name: "social-icons" })), hAsync("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
6775
6743
  }
6776
6744
  get host() { return getElement(this); }
6777
6745
  static get style() { return biggiveFooterCss; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biggive/components",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "description": "Big Give Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{r as o,c as r,h as e}from"./p-49fa9ecb.js";import{f as t,E as n}from"./p-aa4e1a2a.js";const i=class{constructor(e){o(this,e),this.doSearch=r(this,"doSearch",7),this.clearSearchText=()=>{this.searchText=""},this.searchText=null,this.placeholderText=void 0,this.buttonText=void 0}handleSearchTextChanged(o){this.searchText=o.target.value}handleSearchButtonPressed(){this.doSearch.emit(this.searchText)}handleEnterPressed(o){"Enter"===o.key&&this.doSearch.emit(this.searchText)}render(){return e("div",{class:"padding-enclosure"},e("div",{class:"outer-container"},e("div",{class:"triangle triangle-before"}),e("div",{class:"inner-container"},e("h2",null,"Find a charity or project"),e("div",{class:"search-box"},e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 512 512"},e("path",{d:t.icon[4].toString()})),e("input",{type:"text",value:this.searchText,placeholder:this.placeholderText,onInput:o=>this.handleSearchTextChanged(o),onKeyDown:o=>this.handleEnterPressed(o)}),e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon",id:"x-icon",viewBox:"0 0 512 512",onClick:()=>this.clearSearchText()},e("path",{d:n.icon[4].toString()}))),e("button",{onClick:()=>this.handleSearchButtonPressed()},this.buttonText)),e("div",{class:"triangle triangle-after"})))}};i.style='body{background-color:#D7D7D7}h1,h3,h4,h5,h6{margin-bottom:0}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.colour-primary{color:#2C089B}.colour-secondary{color:#2AF135}.colour-tertiary{color:#FF7272}.colour-white{color:#FFFFFF}.colour-black{color:#000000}.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-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.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-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.input-wrap{display:flex;justify-content:space-between}.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}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#2C089B;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{background-color:#FFFFFF}.button-white{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#2C089B}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.progress-bar{display:flex}.progress-bar .slider{margin:auto 15px auto 0;position:relative;flex-grow:1}.progress-bar .slider:before{content:"";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}.progress-bar .slider .progress{position:relative;border-radius:4px;background-color:#000000;height:8px}.progress-bar .counter{font-weight:700;color:#000000;font-size:14px;line-height:18px}.progress-bar-primary .slider .progress{background-color:#2C089B}.progress-bar-primary .counter{color:#2C089B}.progress-bar-secondary .slider .progress{background-color:#2AF135}.progress-bar-secondary .counter{color:#2AF135}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.image-wrap img{width:100%;height:auto}.align-left{text-align:left}.align-right{text-align:right}.align-center{text-align:center}.align-justify{text-align:justify}.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}.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}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}.padding-enclosure{width:100%;padding:20px 30px 20px 10px;box-sizing:border-box}.padding-enclosure .outer-container{width:calc(100% - 50px);position:absolute;background-color:white}.padding-enclosure .outer-container .triangle{width:0;height:0;position:absolute;border-right:50px solid transparent;border-left:50px solid transparent;border-bottom:86.60254px solid #2AF135}.padding-enclosure .outer-container .triangle-before{top:-35px;left:-40px;z-index:-1;rotate:-23deg}.padding-enclosure .outer-container .triangle-after{bottom:-15px;right:-20px;z-index:-1;rotate:-15deg}.padding-enclosure .outer-container .inner-container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;padding:1.5rem;box-sizing:border-box}.padding-enclosure .outer-container .inner-container h2{width:100%;font-weight:500;margin-top:0px;margin-bottom:0px;font-size:1.2rem}.padding-enclosure .outer-container .inner-container .search-box{display:flex;padding:10px 10px 5px 10px;margin-top:1rem;margin-bottom:1.25rem;border-bottom:1px solid black}.padding-enclosure .outer-container .inner-container .search-box .icon{height:1rem;width:2rem;vertical-align:-0.125rem;margin:auto}.padding-enclosure .outer-container .inner-container .search-box .icon>path{fill:#2C089B}.padding-enclosure .outer-container .inner-container .search-box #x-icon:hover{cursor:pointer}.padding-enclosure .outer-container .inner-container .search-box input{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;width:100%;box-sizing:border-box;border:none;border-radius:3px;font-size:1.1rem}.padding-enclosure .outer-container .inner-container .search-box input::placeholder{color:#969696}.padding-enclosure .outer-container .inner-container .search-box input:focus{outline:none}.padding-enclosure .outer-container .inner-container button{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;width:100%;padding:0.75rem;box-sizing:border-box;background-color:#2C089B;color:white;border:none;border-radius:5px;font-size:1rem}.padding-enclosure .outer-container .inner-container button:hover{cursor:pointer;background-color:navy}';export{i as biggive_search}