@biggive/components 202501161735.0.0 → 202501170933.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.
@@ -1016,6 +1016,14 @@ const BiggiveMainMenu = class {
1016
1016
  this.donateUrlPrefix = 'https://donate.biggive.org';
1017
1017
  this.experienceUrlPrefix = 'https://community.biggive.org';
1018
1018
  this.myAccountFlagEnabled = false;
1019
+ /**
1020
+ * We don't want to make the ?noredirect version proliferate too much so err on not
1021
+ * including this. We also don't really want every single page to have to get highlight cards
1022
+ * to set this property. So for now, typically only meta-campaign bothers to get the correct value
1023
+ * to set this true if appropriate. That's the page which is the destination of the redirect so is
1024
+ * arguably the only place where it's essential that the menu lets you go to the 'normal' home page.
1025
+ */
1026
+ this.someCampaignHasHomePageRedirect = false;
1019
1027
  /**
1020
1028
  * Whether the current user is logged in (i.e. is assumed to have a valid JWT). They get links to some
1021
1029
  * extra content if they are.
@@ -1112,22 +1120,12 @@ const BiggiveMainMenu = class {
1112
1120
  return (index.h("ul", null, this.myAccountFlagEnabled && !this.isLoggedIn && (index.h("li", null, index.h("a", { href: makeURL('Donate', this.donateUrlPrefix, 'login') }, "Donor Login"))), this.isLoggedIn && (index.h("li", null, index.h("a", { onClick: this.noNav }, "My Account", index.h("biggive-misc-icon", { class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": chevronBackgroundColour, "icon-colour": chevronIconColour, icon: "CaretRight" })), index.h("ul", { class: "sub-menu sub-menu-main", id: "my-account-sub-menu" }, index.h("li", null, index.h("a", { href: makeURL('Donate', this.donateUrlPrefix, 'my-account') }, "Your details")), index.h("li", null, index.h("a", { href: "javascript:void(0)", onClick: this.logOut }, "Log out"))))), index.h("li", null, index.h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 'charities/s/login') }, "Charity Login")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'support') }, "Support"))));
1113
1121
  }
1114
1122
  render() {
1115
- /** ten minutes in advance to account for a *very* slow browser following the link and/or clock skew.
1116
- * There's not really any harm in doing this early unless its soo early that people start sharing the noredirect link more than we'd like.
1117
- */
1118
- const CCOpenDate = new Date('2024-12-02T23:50:00+00:00');
1119
- /**
1120
- * Ten minutes late. Again doing this late doesn't hurt.
1121
- */
1122
- const CCCloseDate = new Date('2024-12-10T12:10:00+00:00');
1123
- const now = new Date();
1124
- const ccIsOpenNowIsh = now > CCOpenDate && now < CCCloseDate;
1125
- const homePageLink = ccIsOpenNowIsh ? '/?noredirect' : '/';
1123
+ const homePageLink = this.someCampaignHasHomePageRedirect ? '/?noredirect' : '/';
1126
1124
  // calling same function twice because using same JSX node twice is not allowed
1127
1125
  // see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes
1128
1126
  const secondaryNavLinksForDesktop = this.getSecondaryNavLinks('desktop');
1129
1127
  const secondaryNavLinksForMobile = this.getSecondaryNavLinks('mobile');
1130
- return (index.h(index.Host, { key: '5799990ab366e877d1cfd8ba28876b156b9c9d25' }, index.h("div", { key: '70b07e47876ff4c9fd6acf640a60537e04cccca7', class: "row row-top" }, index.h("div", { key: 'c10ba0aa6cee48cf4ef0bac93294cb8f442bdedf', class: "social-icon-wrap" }, index.h("biggive-social-icon", { key: '26d27c2833bba233b2310c9bb80e73a962241170', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '199152e500705fbd38183e7de7463a6a084fd972', service: "Twitter", url: "https://x.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '5f7e882b9e70e3b0e883e433dbec65100982a5c1', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '9ed77739a464ef741da900e605e9ce2a6d730339', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '4c435606fc44cba5be8059f2b315334c398d2907', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), index.h("div", { key: '79981d9fa6255d9a2a92744438c2e1745d648e56', class: "nav-secondary" }, secondaryNavLinksForDesktop)), index.h("nav", { key: 'bd722927629e5ff41412b883580adb588405f794', role: "navigation", "aria-label": "Main Menu" }, index.h("div", { key: '0f06af9986e4d921a184af39dedf0eefca1f133c', class: "navbar" }, index.h("div", { key: '0d8b2553d91c469832e7e8336331461991ef0e24', class: "logo" }, index.h("a", { key: '61c32bb0cbf9e764b75b49684dd71f8ca28d93da', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: '4987f595f546ffdfd21236fb7410519800b5c1a6', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, index.h("path", { key: '307b23850a343acdba92dfc35334a9b98dd03b02', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), index.h("path", { key: 'dda27a2b2e79a55c6533ddf57bd4c885f0380bc2', d: "M13.5,1l13.5,23H0L13.5,1z" })))), index.h("biggive-misc-icon", { key: '1d9780f877084fb28f435ad506b29426fa3f0a0d', class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), index.h("div", { key: 'a776b674f9f453ba193a33b619cc9441c66c4af1', class: "nav-links" }, index.h("div", { key: '2a2df60dbd2f06d189dc144b7937b616dc58631d', class: "sidebar-logo" }, index.h("a", { key: '847172aabb0fa018dbfed38c499f3eb9581c5cc1', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: '36b877a2b9926a38f9982439da898eac680cee20', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, index.h("path", { key: 'bd7bd8d2b485928d7d7fc0c9c54e78be954bc921', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), index.h("path", { key: '9fcf76895751b0928492b3e3e11c96989ebfd9ae', d: "M13.5,1l13.5,23H0L13.5,1z" }))), index.h("biggive-misc-icon", { key: 'b83efb884fbbc4899155184170fa6e24b16079a8', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), index.h("div", { key: 'be7571e6a4382439c94ca6c42cc01d0060f5b41a', id: "nav-primary" }, index.h("ul", { key: '992e6e15ac026b3742baf5cfe10316b4d6c7d6d7', class: "links", slot: "nav-primary" }, index.h("li", { key: '60fe8649e6d97a5d2c3400b1f9f899fe4cc3fa6c' }, index.h("a", { key: '9ca085499f70ce4c8d4a3af51ee3425257aba432', href: makeURL('Donate', this.donateUrlPrefix, 'explore') }, "Explore Campaigns")), index.h("li", { key: '5c2e975c97c8dd3500d5c911ae14490d5b441007' }, index.h("a", { key: '645554e81c34fdb829a6eeb9820f4a55b4c51593', href: makeURL('Blog', this.blogUrlPrefix, 'charities') }, "For Charities")), index.h("li", { key: '1fa63d92d677e1c919945d14255a7fa61c5d6f84' }, index.h("a", { key: '060573ba979346d5fbe95594e76a2d467f9f83f7', href: makeURL('Blog', this.blogUrlPrefix, 'funders') }, "For Funders")), index.h("li", { key: 'f67efc059ae9309ca84ceee5ca77df073020698d' }, index.h("a", { key: '67f2e167ea18d03a409d390c77234f8352c8ba3d', onClick: this.noNav }, "Match Funding", index.h("biggive-misc-icon", { key: '6270cef2799a03ade4aeb7bc5b3bb64dc643b370', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '3acc3c4ade7600df34f5fc5e1ebfa5058639bb5c', class: "sub-menu" }, index.h("li", { key: '59fc188916401c9202a575db5da6906037862557' }, index.h("a", { key: '86368e30ce6229f3ae3260f63459c36ddc52f385', href: makeURL('Blog', this.blogUrlPrefix, 'match-funding-explained') }, "Match Funding Explained")), index.h("li", { key: '41cfde5c5492626cc5873030fcb079930e49c859' }, index.h("a", { key: '085ededda262a28b704f18d27edbd24a4305d3df', href: makeURL('Blog', this.blogUrlPrefix, 'impact') }, "Match Funding Impact")), index.h("li", { key: 'fdb426f12d3c2096d885fde071276726e295ab21', class: "more" }, index.h("a", { key: 'f48bab54ac9c9b454dbb3dbbe6e887633425ca26', onClick: this.noNav }, "Match Funding Opportunities", index.h("biggive-misc-icon", { key: '87a98bcddc633461eed147a6dd2ba878155fa6a0', class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '9089f65fd1b01d91ec30c86294aca5ccb0707b99', class: "sub-sub-menu" }, index.h("li", { key: 'bf0fe3566cb0a333de3b96727deae9ef139d7e83' }, index.h("a", { key: 'd0887a7cbc3b12a037523f863977419e96f275ff', href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), index.h("li", { key: '9cc047d13a94a49a20c2baa9ac12b73d110cfa0f' }, index.h("a", { key: '8e9c12e6f4ee011cf59db0ee81322c3787152534', href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), index.h("li", { key: '3b4996f001bd8e85e95e08c0302f781fd16c0e7b' }, index.h("a", { key: '22cd4982254aa7c0c0f4a0b41ee79e7f45da56f2', href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green-match" }, "Green Match Fund")), index.h("li", { key: '69b2906ec6365413caaee5c62af5789876408f9d' }, index.h("a", { key: 'fbc2f030eda023ecb5fe0cd30d4fd094e62a4efb', href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women & Girls Match Fund")), index.h("li", { key: '0863ce6e2ff5da2d18692b1b73dc728ed33c5f2f' }, index.h("a", { key: '3837fd2e892d6beee3efa238c054854210c3c94d', href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), index.h("li", { key: '3bdc0a9c7af74388018c3c77ddcab93030c8b13d' }, index.h("a", { key: '2dff967dffcfcd339a1b3dd47995b538e2757925', href: makeURL('Blog', this.blogUrlPrefix, 'artsforimpact/'), class: "icon-arts-impact" }, "Arts for Impact")), index.h("li", { key: 'bc817bd718d1853205108ea229c90cb39c172e29' }, index.h("a", { key: '8de5a2fa7ae7e770494d89538a3fb6adf6f39cbb', href: makeURL('Blog', this.blogUrlPrefix, 'anchor-match-fund/'), class: "icon-anchor-match" }, "Anchor Match Fund")), index.h("li", { key: 'd3a1e25ce4ad774dd93a48b5ae42f8efb67c855f' }, index.h("a", { key: 'f739a3d86912d0477370d4730741fcbf913c8656', href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")))), index.h("li", { key: '0bd0c557ea661e175ecd06a654426a4d9774d80b' }, index.h("a", { key: '207984a7b894cd83647e89bb10364e8bb7990532', href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your match funding campaign")))), index.h("li", { key: '0b422f0c0d5cd097cfed0564d7bd4f7a240fa77b' }, index.h("a", { key: '115734023289b3fc50f44fd04267013b465e87a8', onClick: this.noNav }, "About Us", index.h("biggive-misc-icon", { key: '18588157838a3a5b077bde2a3ba17086e5896220', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '9066eec7f26bdb39436db9f6c5a800ab3dc457f2', class: "sub-menu" }, index.h("li", { key: '8066afb872f70326ecd3956d2c41b99995ae60ab' }, index.h("a", { key: '4fabf2e465032877abe7659eeeec22e0c189fd0e', href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), index.h("li", { key: '8f757a71ddef672117a93512e30e9611f857c12b' }, index.h("a", { key: '8713e50475bebed44b8ca7b3eb4aae00db2bb158', href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), index.h("li", { key: '9832eb293493e779b35db688d0e6da8840f9f573' }, index.h("a", { key: 'd3ed08441cec5390cd699eb6428c7eb66286d58d', href: makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), index.h("li", { key: '7267779eb74ca8d933bedf9714e16b76d3716815' }, index.h("a", { key: 'd347419fe8a5515a957ef86b9494ee3424fdf5bd', href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), index.h("li", { key: '40608c7a390a3465489eee2c73ad210712367902' }, index.h("a", { key: '7fb9bc2744a7d20e4e336a3804d1224e907d2a5c', href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), index.h("li", { key: 'd6ef26e5964eb8edc14b03f7ac8330de703d6b70' }, index.h("a", { key: '010eee1fb258229c06b970f1cfdd59e033bd9dd1', onClick: this.noNav }, "Resources", index.h("biggive-misc-icon", { key: 'e5f28fd856dbc46268acddc7198e3a53f72b8f5e', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '8272b5f417b16128b089e219051d58a1e1a8db4d', class: "sub-menu" }, index.h("li", { key: '74483e9d4e7b9036ad3292a6637d781b52dc82c5' }, index.h("a", { key: '464879e99e865a91304552ab018be8406d095c86', href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), index.h("li", { key: '1c5d3bf6ba61fd798e5175e5c57b06d5c15b3d48' }, index.h("a", { key: '8ca272fb2fd7403d4cfc5bd3a94b53d49deeebd5', href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), index.h("li", { key: 'd2c0f9ec8f7ce327005d24a9a00aa92cb9c9e8dd' }, index.h("a", { key: '8b4f93b1f75228b3bc2350398d2e94e8917d2d41', href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), index.h("li", { key: '2bfadc47b5fb1365d97fe523b71d960722a48e87' }, index.h("a", { key: '95a8407c3ebb548be4f966cc36539ed85cfa2719', href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press"))))), index.h("div", { key: '3e1df30d58a442adaf172af82073b59235198aba', class: "mobile-only" }, secondaryNavLinksForMobile)), index.h("div", { key: '48c3b119f7c25855b26ac2ad32d113b0134e1d05', class: "mobile-social-icon-wrap mobile-only" }, index.h("biggive-social-icon", { key: '4bbe4dc0e718e75a7ee2b50015981f3089aa7dc9', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '48f02dd12185b2b0ca36b8eb426773fe5a1e7512', service: "Twitter", url: "https://x.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '6b6cf016bcb16c79966cd9daa4be20c754ee8609', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'b479bc806f56242a0e86c1b60c9caac2c1f86f44', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'e25e83ce4661c2c5c821bb4eac10f30262b54522', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
1128
+ return (index.h(index.Host, { key: '7e68f378c38d5ecd758490f64c78040743ffd38c' }, index.h("div", { key: 'bddd71ed3a88a20525c032c575fc5b63e1b86731', class: "row row-top" }, index.h("div", { key: 'a1bf20183bd61f583a0a6d15e97dbebfa1e631fa', class: "social-icon-wrap" }, index.h("biggive-social-icon", { key: 'a431d605e79c0ca3902a1c497b34e13cf78317d6', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'd3e11eb4625066acb587bffa03cf4c7e040f0e08', service: "Twitter", url: "https://x.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'f7ac203084011f8ba890ff7e08258dfc279b6565', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'd7cf75808f399090fa582c883fccd3618328f81a', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'e0afba7865579213af8bf992f50c9aa7fd57bdcf', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), index.h("div", { key: 'c17a6813dc89774b79595fc29b73a26e85fc776e', class: "nav-secondary" }, secondaryNavLinksForDesktop)), index.h("nav", { key: 'dec24802c923547fb10ac571f5edd7ff693f39ba', role: "navigation", "aria-label": "Main Menu" }, index.h("div", { key: '3a392a2d14b9217560ebd24530e598257844564d', class: "navbar" }, index.h("div", { key: '2e36ca4e7e5b0a94db1b6cf3f46eb284bd081e33', class: "logo" }, index.h("a", { key: '5c50b988178930e8364ed2464a2ad0525857c28e', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: 'ba793e8941d957ec5acd530c764c4b762bc30c3f', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, index.h("path", { key: '18d45328824c71be3bc8cfb21978456a4643764c', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), index.h("path", { key: 'a114f98b7386fbce29175b7151d032c4e19ba39f', d: "M13.5,1l13.5,23H0L13.5,1z" })))), index.h("biggive-misc-icon", { key: '65f857e787fc32a7afb3e613dc6d7f90ff7ada86', class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), index.h("div", { key: '3dcbdc65c60abbf4f2aceccb780c44b5820e4eb8', class: "nav-links" }, index.h("div", { key: '898887f49fffd3e7393e942fc60e784b38474b23', class: "sidebar-logo" }, index.h("a", { key: '2f7628718c8c1b98e7cce9f1146266508dcafd6a', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: 'e44781a3b156e344391f6971980500d5c1a30844', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, index.h("path", { key: '2d5c738c427e9a8a8db76be84c6eef05b675f08d', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), index.h("path", { key: '9703b547830033a134b48c9611c4cfff74f2d0b7', d: "M13.5,1l13.5,23H0L13.5,1z" }))), index.h("biggive-misc-icon", { key: '8ce8f4644b70f2117bbcc684905ec293b22a2d4d', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), index.h("div", { key: '421e475102e04bcd1e2ddc4aacf877b969b3eafe', id: "nav-primary" }, index.h("ul", { key: '12855f20dfa5f138ada1f6708f5df8580c3f6ba7', class: "links", slot: "nav-primary" }, index.h("li", { key: 'dcc44fa05a5a100183309c121b988200d13d6f5b' }, index.h("a", { key: 'f4b22e9b9eec69f611a3e77fcbcd8f9b5dde961b', href: makeURL('Donate', this.donateUrlPrefix, 'explore') }, "Explore Campaigns")), index.h("li", { key: '7611431fe5c399edd8001e285dc2dc748bdaf26e' }, index.h("a", { key: 'a433b298b83e23b5c347f602987385e756af17f2', href: makeURL('Blog', this.blogUrlPrefix, 'charities') }, "For Charities")), index.h("li", { key: 'de1f85cd87d00b80427b46a8f7d947fb33eeb030' }, index.h("a", { key: '03645e74b5499510cd16b485c5bd05be691feff2', href: makeURL('Blog', this.blogUrlPrefix, 'funders') }, "For Funders")), index.h("li", { key: '58f5e098671b8088bea1bed37266e81cc45348a0' }, index.h("a", { key: '1a1be93f8b5e7c0a1ffe7610c9729c4672bc2f1d', onClick: this.noNav }, "Match Funding", index.h("biggive-misc-icon", { key: '871dbeca918845aeb5d7fc715f26eda99bf668c8', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '6881855e0a0ec5101d07628bf7c8d5e6e5a76cb8', class: "sub-menu" }, index.h("li", { key: '536375330133e41e3c3483dfe12bbb2b82ced027' }, index.h("a", { key: '63ede9e1aedfe1cf8fa5bdcfed69b6a50d675c3d', href: makeURL('Blog', this.blogUrlPrefix, 'match-funding-explained') }, "Match Funding Explained")), index.h("li", { key: '0a8e42e2bbf2f7e1c25a8891eb937d8c3a2b953c' }, index.h("a", { key: 'acf75569250d6930f23b0a09e0a8a3baf5a8d9c3', href: makeURL('Blog', this.blogUrlPrefix, 'impact') }, "Match Funding Impact")), index.h("li", { key: 'd02004ed1d8151bee73cba0535bbc72473389b69', class: "more" }, index.h("a", { key: '16a47e77a7702e661ec4bfd8a332ffca4dc4b713', onClick: this.noNav }, "Match Funding Opportunities", index.h("biggive-misc-icon", { key: 'd36963e734f11737857d46ff261d09e6a7278ec1', class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '1c3e71c8454358aa95a58095270d7879eff04210', class: "sub-sub-menu" }, index.h("li", { key: '0f4c3360e9f3ad6e78244e65c493d0acfaf1b763' }, index.h("a", { key: '692f7ab36d9a5e087453ae42cdbe9cab034991ba', href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), index.h("li", { key: '60a2f9567992bc9964f7dba11668d49ed702b0d6' }, index.h("a", { key: '39c3b47bf1ae1b5527b4d0ecbf18a5a2ecd1346e', href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), index.h("li", { key: '470bcd406689e8beddc3840d74f0a10e02c235af' }, index.h("a", { key: 'fdca5b0eb595ccd2fa8f501f10b8903ccf0536d5', href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green-match" }, "Green Match Fund")), index.h("li", { key: '37d4cfe0f8ad8b1830ad1f130734e33524033f3d' }, index.h("a", { key: '102b5419581709798c0449d0dd573451700c8011', href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women & Girls Match Fund")), index.h("li", { key: '6b2022dc8da896b61f6a18aab3cba3f28072c7f3' }, index.h("a", { key: '91025beaf3619f99e58ebe5035303c7e0afed386', href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), index.h("li", { key: '3a61f0a3260b3846344bea476cb6c1adb517c5d5' }, index.h("a", { key: 'cf6b890cdeb19d6bfdfb53cac8004beb5dff60b2', href: makeURL('Blog', this.blogUrlPrefix, 'artsforimpact/'), class: "icon-arts-impact" }, "Arts for Impact")), index.h("li", { key: 'ff35b825dd969f7954c3012b5916953b851a608d' }, index.h("a", { key: '524711cefdc9f3c7ca70c581257c782732b2d21d', href: makeURL('Blog', this.blogUrlPrefix, 'anchor-match-fund/'), class: "icon-anchor-match" }, "Anchor Match Fund")), index.h("li", { key: '7cd875df1e7f8ea285f537d4d03d004b0e4df040' }, index.h("a", { key: '0c53acae2fc62f65ae8659929cf191dd6f6acba3', href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")))), index.h("li", { key: '5deccab3f5baed955cabc3f97f6147761323de89' }, index.h("a", { key: '1b400423dab314d071c922d88bb545dfc6723fd8', href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your match funding campaign")))), index.h("li", { key: 'cb9f2e715002e97058d7da05b00e60c48380f13c' }, index.h("a", { key: '03c21efba869f3eb9798607c5ebdfde3543c1334', onClick: this.noNav }, "About Us", index.h("biggive-misc-icon", { key: '22fdc1b92159a9f712df01d2bd16d27a4326c287', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '9fe4ee7d07e9cf9f7e88f93e01f67f6c1195adf5', class: "sub-menu" }, index.h("li", { key: '6eae19649f8bae72449f2febf36b37628fbf8e90' }, index.h("a", { key: 'cfc754f6183a05d3a6fa1b688dfa5053441e9d3b', href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), index.h("li", { key: '074f2ddab2753b33b6927bf5acecc366621c5cf4' }, index.h("a", { key: 'a244a336c2a84f95a989b33ef3d3cfc2c0ac2807', href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), index.h("li", { key: '7d657e459bd35fcbb0d7337c2e38d72bf1bce225' }, index.h("a", { key: '47d19480fe047871829dddc74d877b90f37ce7c5', href: makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), index.h("li", { key: '2d5693928c6fcb8ed2f900cbf2ca26712cf839d9' }, index.h("a", { key: '8747d5ef023e0e057e1d6fc097e17f34ddb72648', href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), index.h("li", { key: '4eaf06ccb3258e889e1e32b2b6525f33ae2930b5' }, index.h("a", { key: '4a927a9509e8b3d11dea2a5cd0d1815c4c5c320d', href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), index.h("li", { key: '8cb8c5c8623a062c5baa4b5f4d943e444c7bb9dd' }, index.h("a", { key: '698491c05a5a7d0c60a8e3a16777aef9fab8eeff', onClick: this.noNav }, "Resources", index.h("biggive-misc-icon", { key: '3a7c36e96e3fe02c4c3c8c63fb970ce90c71e130', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '87d32379a33ffce31038b80e30f70667add8051d', class: "sub-menu" }, index.h("li", { key: '7a1993f375aaed1e4227a120f1eb7aa106943b7a' }, index.h("a", { key: 'c43e5ffe41b12efc2f7de5895507060d5b28bd82', href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), index.h("li", { key: 'e9fa8157c23b3a9b50e4c10c42970be829858607' }, index.h("a", { key: '19032ea8f30c1b0a8d48146dd1b979c6fc50e74a', href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), index.h("li", { key: '4f27f4a2db68e2c852960ab8fad1832f335a2ae6' }, index.h("a", { key: 'b57a2dc8b83cfed6294eff6df65edb8644b6a445', href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), index.h("li", { key: '7be01c5b66f87ecaf2d0b9cf641246de3ac39524' }, index.h("a", { key: 'df665a908e54a142e6e882272a3c62518f277c93', href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press"))))), index.h("div", { key: 'fc5d94c95d1e184d987b9ac171704e94fb173635', class: "mobile-only" }, secondaryNavLinksForMobile)), index.h("div", { key: 'df7223aa1be794787af2ceb9e06ad3cd8f597dfe', class: "mobile-social-icon-wrap mobile-only" }, index.h("biggive-social-icon", { key: '7dcc2dbfa9b142e8d4e6fce533735132e306469f', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '820411909a3b6b56457c609845fe4ff50e6c4d01', service: "Twitter", url: "https://x.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '51702d271d70c91fd2ebb02e3de9b4c2b5f86f93', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '7ced5c4acdee3d2433bbcfc58336a3c873f9b203', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '1ad190155119d89c6efa3d8da16cb44e4b50ad32', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
1131
1129
  }
1132
1130
  get host() { return index.getElement(this); }
1133
1131
  };