%PDF- %PDF-
Direktori : /home/opti/public_html/ncf/static/js/ |
Current File : /home/opti/public_html/ncf/static/js/main.f20bc6cc.chunk.js |
(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[8],{21:function(e,t){e.exports={SERVER_URL:"https://ncfnigeria.org/admin/public/api",CLIENT_URL:"/"}},44:function(e){e.exports=JSON.parse('[{"name":"HOME","href":"/","current":false},{"name":"ABOUT US","href":"/about-us","current":false,"sublist":[{"name":"NCF In Brief","href":"/ncf-in-brief","current":false},{"name":"Vision and Mission","href":"/vision-and-mission","current":false},{"name":"Milestones","href":"/milestones","current":false},{"name":"Governing Bodies","href":"/governing-bodies","current":false},{"name":"Contact us","href":"/contact-us","current":false}]},{"name":"OUR WORK","href":"/our-work","current":false,"sublist":[{"name":"Habitat","href":"/our-work","current":false,"sublist":[{"name":"Forest-Green Recovery Nigeria","href":"/forest","current":false},{"name":"Marine & Coastline","href":"/marine-coastline","current":false}]},{"name":"Species","href":"/species","current":false},{"name":"Climate Change","href":"/climate-change","current":false},{"name":"Environmental Education","href":"/environmental-education","current":false},{"name":"Policy & Advocacy","href":"/policy-advocacy","current":false},{"name":"Partnerships","href":"/our-community","current":false}]},{"name":"LIBRARY","href":"/e-library","current":false},{"name":"GET INVOLVED","href":"","current":false,"sublist":[{"name":"Membership","href":"","current":false,"sublist":[{"name":"Corporate","href":"/corporate-membership","current":false},{"name":"Individual","href":"/individual-membership","current":false}]},{"name":"Bird Club","href":"/bird-club","current":false},{"name":"Events","href":"/events","current":false},{"name":"Volunteer","href":"/volunteer","current":false}]},{"name":"SUPPORT NATURE","href":"/support-nature","current":false},{"name":"BLOG","href":"/blog","current":false}]')},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(27),s=n(13),r=n(66),c=n(67),i=n(68),l=n(52),o=n.n(l).a.runInContext();o.mixin({setIn:function(e,t,n){return o.setWith(o.clone(e),t,n,o.clone)}}),o.mixin({findByValues:function(e,t,n){return o.filter(e,(function(e){return o.includes(n,e[t])}))}});var u=o,m=function(){function e(){Object(c.a)(this,e)}return Object(i.a)(e,null,[{key:"filterArrayByString",value:function(e,t){var n=this;return""===t?e:(t=t.toLowerCase(),e.filter((function(e){return n.searchInObj(e,t)})))}},{key:"searchInObj",value:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];if("string"===typeof a){if(this.searchInString(a,t))return!0}else if(Array.isArray(a)&&this.searchInArray(a,t))return!0;if("object"===typeof a&&this.searchInObj(a,t))return!0}}},{key:"searchInArray",value:function(e,t){var n,a=Object(r.a)(e);try{for(a.s();!(n=a.n()).done;){var s=n.value;if("string"===typeof s&&this.searchInString(s,t))return!0;if("object"===typeof s&&this.searchInObj(s,t))return!0}}catch(c){a.e(c)}finally{a.f()}}},{key:"searchInString",value:function(e,t){return e.toLowerCase().includes(t)}},{key:"generateGUID",value:function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()}},{key:"toggleInArray",value:function(e,t){-1===t.indexOf(e)?t.push(e):t.splice(t.indexOf(e),1)}},{key:"handleize",value:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/\W+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}},{key:"setRoutes",value:function(e){var t=Object(s.a)(e.routes);return(e.settings||e.auth)&&(t=t.map((function(t){var n=e.auth?Object(s.a)(e.auth):null;return n=t.auth?[].concat(Object(s.a)(n),Object(s.a)(t.auth)):n,Object(a.a)(Object(a.a)({},t),{},{settings:Object(a.a)(Object(a.a)({},e.settings),t.settings),auth:n})}))),Object(s.a)(t)}},{key:"generateRoutesFromConfigs",value:function(e){var t=this,n=[];return e.forEach((function(e){n=[].concat(Object(s.a)(n),Object(s.a)(t.setRoutes(e)))})),n}},{key:"difference",value:function(e,t){return function e(t,n){return u.transform(t,(function(t,a,s){u.isEqual(a,n[s])||(t[s]=u.isObject(a)&&u.isObject(n[s])?e(a,n[s]):a)}))}(e,t)}},{key:"updateNavItem",value:function(e,t,n){var a=this;return e.map((function(e){return e.id===t?u.merge({},e,n):e.children?u.merge({},e,{children:a.updateNavItem(e.children,t,n)}):u.merge({},e)}))}},{key:"removeNavItem",value:function(e,t){var n=this;return e.map((function(e){return e.id===t?null:e.children?u.merge({},u.omit(e,["children"]),{children:n.removeNavItem(e.children,t)}):u.merge({},e)})).filter((function(e){return e}))}},{key:"prependNavItem",value:function(e,t,n){var a=this;return n?e.map((function(e){return e.id===n&&e.children?{_item:e,children:[t].concat(Object(s.a)(e.children))}:e.children?u.merge({},e,{children:a.prependNavItem(e.children,t,n)}):u.merge({},e)})):[t].concat(Object(s.a)(e))}},{key:"appendNavItem",value:function(e,t,n){var a=this;return n?e.map((function(e){return e.id===n&&e.children?{_item:e,children:[].concat(Object(s.a)(e.children),[t])}:e.children?u.merge({},e,{children:a.appendNavItem(e.children,t,n)}):u.merge({},e)})):[].concat(Object(s.a)(e),[t])}},{key:"hasPermission",value:function(e,t){return null===e||void 0===e||(0===e.length?!t||0===t.length:t&&Array.isArray(t)?e.some((function(e){return t.indexOf(e)>=0})):e.includes(t))}},{key:"toBase64",value:function(e){return new Promise((function(t,n){var a=new FileReader;a.readAsDataURL(e),a.onload=function(){return t(a.result.split(",")[1])},a.onerror=function(e){return n(e)}}))}}]),e}();m.formatCurrency=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"NGN",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-NG";return t||(t="NGN"),new Intl.NumberFormat(n,{style:"currency",currency:t}).format(Number(e))},m.validateEmail=function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},m.validatePhone=function(e){return/^\d+$/.test(e)&&11===e.length};var h=m;n(1),n(23),n(2);n(48),n(22)},54:function(e,t,n){"use strict";n(1);var a=n(16),s=(n(85),n(2));t.a=function(){return Object(s.jsx)("nav",{className:"w-full topbar text-white bg-green py-2 px-2 sm:px-6 lg:px-4",role:"navigation","aria-label":"main navigation",children:Object(s.jsx)("div",{className:"max-w-7xl mx-auto",children:Object(s.jsxs)("div",{className:"flex md:flex-row flex-col justify-between items-center",children:[Object(s.jsx)("div",{children:Object(s.jsx)("p",{className:"text-sm text-gray-300",children:"For nature....For people.....For Nigeria"})}),Object(s.jsxs)("div",{className:"flex items-center space-x-8",children:[Object(s.jsxs)("div",{className:"flex space-x-4",children:[Object(s.jsx)("a",{href:"https://www.facebook.com/NCFNigeria/",className:"text-white",children:Object(s.jsx)("span",{children:Object(s.jsx)(a.b,{})})}),Object(s.jsx)("a",{href:"https://twitter.com/ncfnigeria",className:"text-white",children:Object(s.jsx)("span",{children:Object(s.jsx)(a.d,{})})}),Object(s.jsx)("a",{href:"https://www.youtube.com/user/NCF1980",className:"text-white",children:Object(s.jsx)("span",{children:Object(s.jsx)(a.e,{})})}),Object(s.jsx)("a",{href:"https://www.instagram.com/ncfnigeria/",className:"text-white",children:Object(s.jsx)("span",{children:Object(s.jsx)(a.c,{})})})]}),Object(s.jsx)("div",{className:"",children:Object(s.jsx)("span",{className:"text-sm text-gray-300",children:Object(s.jsx)("strong",{children:"Call: +2349034895750"})})})]})]})})})}},78:function(e,t,n){},79:function(e,t,n){},85:function(e,t,n){},86:function(e,t,n){},87:function(e,t,n){},97:function(e,t,n){"use strict";n.r(t);var a=n(1),s=n.n(a),r=n(33),c=n.n(r),i=(n(78),n(7)),l=n(39),o=n(69).a(),u=n(13),m=n(40),h=n(100),d=n(101),j=n(102),x=n(18),b=n(44),f=(n(79),n(21)),p=function(){fetch("".concat(f.SERVER_URL,"/auth/logout")).then((function(e){return e.json()})).then((function(e){console.log(e.message,"json"),200===e.status?(localStorage.clear(),window.location.href=f.CLIENT_URL):console.log("Error occured during logout")}))},g=n(2);function O(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}var v=function(){var e=JSON.parse(localStorage.getItem("loggedInUser")),t=p;return Object(g.jsx)(h.a,{as:"nav",className:"mynav text-darkgreen text-bolder md:bg-opacity-80 bg-opacity-100",children:function(n){var s=n.open;return Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)("div",{className:"mx-auto px-6 sm:px-6 lg:px-0",children:Object(g.jsxs)("div",{className:"relative flex items-center justify-evenly md:px-8 h-20",children:[Object(g.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center md:hidden",children:Object(g.jsxs)(h.a.Button,{className:"inline-flex items-center justify-center p-2 rounded-md text-darkgreen hover:text-white hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",children:[Object(g.jsx)("span",{className:"sr-only",children:"Open main menu"}),s?Object(g.jsx)(x.i,{className:"block h-6 w-6","aria-hidden":"true"}):Object(g.jsx)(x.c,{className:"block h-6 w-6","aria-hidden":"true"})]})}),Object(g.jsxs)("div",{className:"flex-1 flex items-center justify-center md:items-stretch md:justify-start",children:[Object(g.jsxs)("div",{className:"flex-shrink-0 flex items-center",children:[Object(g.jsx)("img",{className:"block lg:hidden h-16 moblogo",src:"/assets/images/brands/logo.png",alt:"NCF Nigeria"}),Object(g.jsx)("img",{className:"hidden lg:block h-16 brandlogo mr-8",src:"/assets/images/brands/logo.png",alt:"NCF Nigeria"})]}),Object(g.jsx)("div",{className:"hidden md:block sm:ml-6",children:Object(g.jsx)("div",{className:"flex py-5 space-x-4",children:b.map((function(e){return e.sublist&&e.sublist.length>0?Object(g.jsxs)("div",{className:"group inline-block",children:[Object(g.jsxs)("button",{className:"outline-none focus:outline-none text-grey-300 px-3 py-2 rounded-sm flex items-center",children:[Object(g.jsx)("span",{className:"pr-1 text-xs navlink flex-1",children:Object(g.jsx)("a",{className:"text-darkgreen navlink",children:e.name})}),Object(g.jsx)("span",{children:Object(g.jsx)(x.d,{className:"h-4 w-4 transform group-hover:-rotate-180 transition duration-150 ease-in-out"})})]}),Object(g.jsx)("ul",{className:"bg-darkgreen text-white rounded-sm transform scale-0 group-hover:scale-100 absolute \r transition duration-150 ease-in-out origin-top min-w-32 outline-none focus:outline-none",children:e.sublist.map((function(e){return e.sublist?Object(g.jsxs)("li",{className:"rounded-sm relative px-3 py-1",children:[Object(g.jsxs)("button",{className:"w-full text-left flex items-center outline-none focus:outline-none",children:[Object(g.jsx)("span",{className:"pr-1 flex-1",children:Object(g.jsx)("a",{className:"text-white navlink",children:e.name})}),Object(g.jsx)("span",{className:"mr-auto",children:Object(g.jsx)(x.d,{className:"h-4 w-4 transition duration-150 ease-in-out"})})]}),e.sublist&&Object(g.jsx)("ul",{className:"bg-darkgreen rounded-sm absolute top-0 right-0 transition duration-150 ease-in-out origin-top-left min-w-32",children:e.sublist.map((function(e){return e.sublist?Object(g.jsxs)("li",{className:"rounded-sm relative px-3 py-1 navlink",children:[Object(g.jsxs)("button",{className:"w-full text-left flex items-center outline-none focus:outline-none",children:[Object(g.jsx)("span",{className:"pr-1 flex-1",children:Object(g.jsx)("a",{className:"navlink",href:e.href,children:"H1"})}),Object(g.jsx)("span",{className:"mr-auto",children:Object(g.jsx)(x.d,{className:"h-4 w-4 transition duration-150 ease-in-out"})})]}),e.sublist&&Object(g.jsx)("ul",{className:"bg-white border rounded-sm absolute top-0 right-0 transition duration-150 ease-in-out origin-top-left min-w-32",children:e.sublist.map((function(e){return Object(g.jsx)("li",{className:"px-3 py-1 navlink",children:e.name},e.name)}))})]},e.name):Object(g.jsx)("li",{className:"px-3 py-1",children:Object(g.jsx)("a",{className:"text-white navlink",href:e.href,children:e.name})},e.name)}))})]},e.name):Object(g.jsx)("li",{className:"rounded-sm px-3 py-1",children:Object(g.jsx)("button",{component:m.a,to:"/about-us",className:"w-full text-left flex items-center outline-none focus:outline-none",children:Object(g.jsx)("span",{className:"pr-1 flex-1",children:Object(g.jsx)("a",{className:"text-white navlink",href:e.href,children:e.name})})})},e.name)}))})]},e.name):Object(g.jsx)("a",{href:e.href,className:O(e.current?"bg-gray-800 text-dark":"text-dark-300","px-3 py-2 rounded-md text-darkgreen text-xs font-medium navlink"),"aria-current":e.current?"page":void 0,children:e.name},e.name)}))})})]}),Object(g.jsxs)("div",{className:"absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0",children:[Object(g.jsx)("a",{href:"/our-centers",className:"shadow-lg rounded-full bg-white font-bold py-2 px-4 flex items-center outline-none no-underline focus:outline-none",children:Object(g.jsx)("span",{className:"flex-1 text-xs text-darkgreen",children:"OUR CENTERS"})}),e?Object(g.jsx)(d.a,{as:"div",className:"ml-3 relative",children:function(e){var n=e.open;return Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)("div",{children:Object(g.jsxs)(d.a.Button,{className:"bg-gray-800 flex text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white",children:[Object(g.jsx)("span",{className:"sr-only",children:"Open user menu"}),Object(g.jsx)("img",{className:"h-8 w-8 rounded-full",src:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80",alt:""})]})}),Object(g.jsx)(j.a,{show:n,as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:Object(g.jsxs)(d.a.Items,{static:!0,className:"origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:[Object(g.jsx)(d.a.Item,{children:function(e){var t=e.active;return Object(g.jsx)("a",{href:"/user",className:O(t?"bg-gray-100":"","block my-0 px-4 py-2 text-sm text-gray-700 no-underline\t"),children:"Your Profile"})}}),Object(g.jsx)(d.a.Item,{children:function(e){var n=e.active;return Object(g.jsx)("button",{onClick:t,href:"/",className:O(n?"bg-gray-100":"","block my-0 px-4 py-2 text-sm text-gray-700"),children:"Sign out"})}})]})})]})}}):Object(g.jsx)("a",{href:"/signin ",className:"px-3 py-2 rounded-md text-darkgreen text-xs navlink font-bold",children:"Sign in"})]})]})}),Object(g.jsx)(h.a.Panel,{className:"md:hidden",children:Object(g.jsx)("div",{className:"px-2 pt-2 pb-3 space-y-1",children:b.map((function(e){return e.sublist&&e.sublist.length>0?Object(g.jsx)(d.a,{children:Object(g.jsxs)("div",{className:"group block",children:[Object(g.jsxs)(d.a.Button,{className:"outline-none focus:outline-none text-grey-300 px-3 py-2 rounded-sm flex items-center",children:[Object(g.jsx)("span",{className:"pr-1 text-sm font-medium flex-1",children:Object(g.jsx)("a",{className:"text-darkgreen",children:e.name})}),Object(g.jsx)("span",{children:Object(g.jsx)(x.d,{className:"h-4 w-4 transform group-click:-rotate-180 transition duration-150 ease-in-out"})})]}),Object(g.jsx)(j.a,{as:a.Fragment,enter:"transition ease-in-out duration-[400ms]",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:Object(g.jsx)(d.a.Items,{children:Object(g.jsx)(d.a.Item,{children:Object(g.jsx)("ul",{className:"bg-darkgreen text-white rounded-sm relative \r transition duration-150 ease-in-out origin-top min-w-32 outline-none focus:outline-none",children:e.sublist.map((function(e){return e.sublist?Object(g.jsx)(d.a,{children:Object(g.jsxs)("li",{className:"rounded-sm relative px-3 py-1",children:[Object(g.jsxs)(d.a.Button,{className:"inline-flex text-left w-full py-2 font-medium text-white hover:bg-opacity-30 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75",children:[Object(g.jsx)("span",{className:"pr-1 flex-1",children:Object(g.jsx)("a",{className:"text-white",children:e.name})}),Object(g.jsx)("span",{children:Object(g.jsx)(x.d,{className:"w-5 h-5 ml-2 -mr-1 text-violet-200 hover:text-violet-100","aria-hidden":"true"})})]}),e.sublist&&Object(g.jsx)(j.a,{as:a.Fragment,enter:"transition ease-in-out duration-[400ms]",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:Object(g.jsx)(d.a.Items,{children:Object(g.jsx)("ul",{className:"bg-darkgreen rounded-sm absolute left-20 w-56 origin-top-left",children:e.sublist.map((function(e){return Object(g.jsx)(d.a.Item,{children:Object(g.jsx)("li",{className:"px-3 py-1",children:Object(g.jsx)("a",{className:"text-white",href:e.href,children:e.name})},e.name)})}))})})})]},e.name)}):Object(g.jsx)("li",{className:"rounded-sm px-3 py-1",children:Object(g.jsx)("button",{component:m.a,to:"/about-us",className:"w-full text-left flex items-center outline-none focus:outline-none",children:Object(g.jsx)("span",{className:"py-1 flex-1",children:Object(g.jsx)("a",{className:"text-white",href:e.href,children:e.name})})})},e.name)}))})})})})]},e.name)}):Object(g.jsx)("a",{href:e.href,className:O(e.current?"bg-gray-800 text-dark":"text-dark-300","px-3 py-2 rounded-md text-sm font-medium text-darkgreen block"),"aria-current":e.current?"page":void 0,children:e.name},e.name)}))})})]})}})},N=n(54);n(86);var y,w=function(e){var t=e.children;return Object(g.jsx)("main",{className:"content",children:t})},k=n(16),z=n(22),I=n(50),C=n(49).a.div(y||(y=Object(I.a)(["\n background-image: url(assets/images/bg/footer-bg.svg);\n background-size: 40em;\n background-repeat: no-repeat;\n background-position: left center;\n"]))),P=(n(87),function(e){fetch("".concat(f.SERVER_URL,"/home/newsletter"),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(e){return e.json()})).then((function(e){console.log(e.message,"json"),200===e.status?(localStorage.setItem("login-success",JSON.stringify(e.message)),window.location.reload()):(e.status,localStorage.setItem("login-error",JSON.stringify(e.message)),window.location.reload())}))}),S=n(103);var F=function(){var e=localStorage.getItem("login-error"),t=localStorage.getItem("login-success");return setTimeout((function(){localStorage.removeItem("login-error")}),15e3),setTimeout((function(){localStorage.removeItem("login-success")}),15e3),Object(g.jsxs)("div",{className:"w-full bg-green-dark z-index-2 text-gray-300 text-sm pt-40 mt-40",children:[Object(g.jsx)("img",{src:"/assets/images/bg/white-bg.png",alt:"",className:"w-full relative sm-hidden -top-25em mb-15em "}),Object(g.jsxs)(C,{children:[Object(g.jsxs)("div",{className:"max-w-7xl mx-auto md:px-4 px-8 relative mt-25em foot",children:[Object(g.jsxs)("div",{className:"grid md:grid-cols-4 grid-cols-1 md:gap-8 gap-y-8",children:[Object(g.jsxs)("div",{className:"block",children:[Object(g.jsx)("h2",{className:"text-base font-bold text-white mb-3",children:"ABOUT US"}),Object(g.jsx)("p",{className:"",children:"The Nigerian Conservation Foundation (NCF) is the premier Non Governmental Organisation (NGO) dedicated to nature conservation and sustainable development in Nigeria."}),Object(g.jsx)("h2",{className:"text-base font-bold text-white my-4",children:"NCF PARTNERS"}),Object(g.jsxs)("ul",{className:"flex space-x-2",children:[Object(g.jsx)("li",{children:Object(g.jsx)("img",{className:"w-16",src:"/assets/images/partners/birdlife.svg",alt:""})}),Object(g.jsx)("li",{children:Object(g.jsx)("img",{className:"w-16",src:"/assets/images/partners/rspb.jpeg",alt:""})}),Object(g.jsx)("li",{children:Object(g.jsx)("img",{className:"w-16",src:"/assets/images/partners/wwf.svg",alt:""})}),Object(g.jsx)("li",{children:Object(g.jsx)("img",{className:"w-16",src:"/assets/images/partners/iucn.svg",alt:""})})]}),Object(g.jsx)("ul",{className:"flex space-x-2 mt-3 mb-3",children:Object(g.jsx)("li",{children:Object(g.jsx)("img",{className:"w-40",src:"/assets/images/partners/IUCNEU.png",alt:""})})})]}),Object(g.jsxs)("div",{className:"block",children:[Object(g.jsx)("h2",{className:"text-base font-bold text-white mb-3",children:"OUR WORK"}),Object(g.jsx)("aside",{className:"",children:Object(g.jsxs)("ul",{className:"",children:[Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/climate-change",children:"Climate Change"})}),Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/species",children:"Species Conservation"})}),Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/policy-advocacy",children:"Policy & Advocacy"})}),Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/environmental-education",children:"Environmental Education"})}),Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/marine-coastline",children:"Marine Coastal & Wetland"})}),Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/our-work",children:"Forest"})})]})}),Object(g.jsx)("h2",{className:"text-base font-bold text-white",children:"FOLLOW US ON"}),Object(g.jsxs)("div",{className:"flex items-center justify-start space-x-4",children:[Object(g.jsx)("a",{href:"https://www.facebook.com/NCFNigeria/",className:"text-gray-100 hover:text-white",children:Object(g.jsx)(k.b,{size:"20"})}),Object(g.jsx)("a",{href:"https://twitter.com/ncfnigeria",className:"text-gray-100 hover:text-white",children:Object(g.jsx)(k.d,{size:"20"})}),Object(g.jsx)("a",{href:"https://www.youtube.com/user/NCF1980",className:"text-gray-100 hover:text-white",children:Object(g.jsx)(k.e,{size:"20"})}),Object(g.jsx)("a",{href:"https://www.instagram.com/ncfnigeria/",className:"text-gray-100 hover:text-white",children:Object(g.jsx)(k.c,{size:"20"})})]})]}),Object(g.jsxs)("div",{className:"block",children:[Object(g.jsx)("h2",{className:"text-base font-bold text-white mb-3",children:"GET INVOLVED"}),Object(g.jsx)("aside",{className:"",children:Object(g.jsxs)("ul",{className:"",children:[Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/get-involved",children:"Membership"})}),Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/donate",children:"Donate"})}),Object(g.jsx)("li",{children:Object(g.jsx)("a",{className:"text-gray-300 hover:text-white",href:"/volunteer",children:"Volunteer"})})]})})]}),Object(g.jsxs)("div",{className:"block",children:[e?Object(g.jsx)(S.a,{color:"danger",children:e}):null,t?Object(g.jsx)(S.a,{color:"success",children:t}):null,Object(g.jsx)("h2",{className:"text-base font-bold text-white mb-3",children:"SIGN UP FOR NEWSLETTER"}),Object(g.jsx)("p",{children:"Get latest information on our events, programmes and special membership offers."}),Object(g.jsx)("form",{onSubmit:function(e){e.preventDefault();var t=e.target.firstChild.firstChild.value;P({email:t})},children:Object(g.jsxs)("div",{className:"my-2 flex",children:[Object(g.jsx)("input",{className:"border-green-300 p-3 focus:outline-none focus:ring-1 focus:ring-green-light focus:ring-opacity-50 flex-1 block w-full",type:"text",placeholder:"Enter your email address"}),Object(g.jsx)("button",{type:"submit",className:"inline-flex items-center px-4 border border-l-0 border-green-light bg-green text-white text-sm",children:Object(g.jsx)(k.a,{color:"#fff",size:"18"})})]})}),Object(g.jsx)("h2",{className:"text-base font-bold text-white my-2",children:"STAY IN TOUCH"}),Object(g.jsx)("aside",{className:"",children:Object(g.jsxs)("dl",{className:"space-y-1",children:[Object(g.jsxs)("div",{className:"flex items-start space-x-2",children:[Object(g.jsxs)("dt",{className:"mt-1",children:[Object(g.jsx)(z.c,{className:"text-gray-100 flex-none w-5 h-full"})," "]}),Object(g.jsx)("dd",{children:Object(g.jsx)("span",{children:"NCF Headquarters, Km 19, Lekki-Epe Expressway, Lekki. Lagos. Nigeria"})})]}),Object(g.jsxs)("div",{className:"flex items-start space-x-2",children:[Object(g.jsxs)("dt",{className:"sm:mt-0 mt-0",children:[Object(g.jsx)(x.g,{className:"text-gray-100 flex-none w-5 h-full"})," "]}),Object(g.jsx)("dd",{children:Object(g.jsx)("span",{children:"+2349034895750 +2349091476149 +2349065460479"})})]}),Object(g.jsxs)("div",{className:"flex items-center space-x-2",children:[Object(g.jsx)("dt",{className:"mt-0",children:Object(g.jsx)(k.a,{className:"text-gray-100 flex-none w-5 h-full"})}),Object(g.jsx)("dd",{children:Object(g.jsx)("span",{children:"info@ncfnigeria.org"})})]})]})})]})]}),Object(g.jsx)("div",{className:"content text-sm ",children:Object(g.jsx)("p",{children:"\xa9 2020 Nigerian Conservation Foundation. All Right Reserved"})})]}),Object(g.jsx)("div",{className:"text-center p-8 text-white space-x-2",children:Object(g.jsxs)("h5",{className:"text-white text-sm",children:["Designed by ",Object(g.jsx)("a",{className:"text-white no-underline",href:"https://optisoft.ng",children:"Optisoft"})]})})]})]})};var E=function(e){var t=e.route;return Object(g.jsxs)("div",{className:"",children:[Object(g.jsxs)("header",{className:"w-full flex flex-col bg-transparent fixed z-50",children:[Object(g.jsx)(N.a,{}),Object(g.jsx)(v,{})]}),Object(g.jsx)(w,{children:Object(l.a)(t.routes)}),Object(g.jsx)(F,{})]})},R=n(51),T={routes:[{path:"/",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(5),n.e(50),n.e(33)]).then(n.bind(null,527))}))}]},L={routes:[{path:"/ncf-in-brief",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(37)]).then(n.bind(null,530))}))},{path:"/vision-and-mission",exact:!0,component:s.a.lazy((function(){return n.e(15).then(n.bind(null,488))}))},{path:"/milestones",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(5),n.e(60),n.e(41)]).then(n.bind(null,489))}))},{path:"/governing-bodies",exact:!0,component:s.a.lazy((function(){return n.e(14).then(n.bind(null,490))}))}]},A={routes:[{path:"/contact-us",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(42)]).then(n.bind(null,528))}))}]},U={routes:[{path:"/species",exact:!0,component:s.a.lazy((function(){return n.e(30).then(n.bind(null,538))}))},{path:"/forest",exact:!0,component:s.a.lazy((function(){return n.e(26).then(n.bind(null,539))}))},{path:"/marine-coastline",exact:!0,component:s.a.lazy((function(){return n.e(21).then(n.bind(null,540))}))},{path:"/climate-change",exact:!0,component:s.a.lazy((function(){return n.e(17).then(n.bind(null,541))}))},{path:"/environmental-education",exact:!0,component:s.a.lazy((function(){return n.e(25).then(n.bind(null,491))}))},{path:"/our-community",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(5),n.e(43)]).then(n.bind(null,492))}))},{path:"/policy-advocacy",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(5),n.e(44)]).then(n.bind(null,493))}))}]},B={routes:[{path:"/shop",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(36)]).then(n.bind(null,494))}))},{path:"/shop/product",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(32)]).then(n.bind(null,495))}))},{path:"/shop/category",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(34)]).then(n.bind(null,496))}))},{path:"/shop/search",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(35)]).then(n.bind(null,497))}))},{path:"/shop/:id",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(56),n.e(47)]).then(n.bind(null,498))}))}]},G={routes:[{path:"/cart",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(10),n.e(49)]).then(n.bind(null,499))}))},{path:"/cart/checkout",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(6),n.e(57),n.e(48)]).then(n.bind(null,529))}))}]},M={routes:[{path:"/e-library",exact:!0,component:s.a.lazy((function(){return n.e(29).then(n.bind(null,542))}))},{path:"/news-updates",exact:!0,component:s.a.lazy((function(){return n.e(28).then(n.bind(null,500))}))}]},V={routes:[{path:"/blog",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(13)]).then(n.bind(null,501))}))},{path:"/blog/tag",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(22)]).then(n.bind(null,503))}))},{path:"/blog/post",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(31)]).then(n.bind(null,504))}))},{path:"/blog/search",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(12)]).then(n.bind(null,505))}))}]},D={routes:[{path:"/donate",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(1),n.e(2),n.e(3),n.e(27),n.e(46)]).then(n.bind(null,531))}))}]},J=[T,L,A,U,B,G,M,{routes:[{path:"/corporate-membership",exact:!0,component:s.a.lazy((function(){return n.e(19).then(n.bind(null,507))}))},{path:"/individual-membership",exact:!0,component:s.a.lazy((function(){return n.e(20).then(n.bind(null,508))}))},{path:"/membership/corporate",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(6),n.e(7),n.e(58)]).then(n.bind(null,544))}))},{path:"/membership/individual",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(6),n.e(7),n.e(59)]).then(n.bind(null,509))}))},{path:"/volunteer",exact:!0,component:s.a.lazy((function(){return n.e(16).then(n.bind(null,510))}))},{path:"/bird-club",exact:!0,component:s.a.lazy((function(){return n.e(18).then(n.bind(null,511))}))},{path:"/events",exact:!0,component:s.a.lazy((function(){return n.e(24).then(n.bind(null,512))}))}]},{routes:[{path:"/support-nature",exact:!0,component:s.a.lazy((function(){return n.e(23).then(n.bind(null,532))}))}]},V,D,{routes:[{path:"/user",exact:!0,component:s.a.lazy((function(){return n.e(38).then(n.bind(null,545))}))},{path:"/user/change-password",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(1),n.e(2),n.e(3),n.e(39)]).then(n.bind(null,546))}))}]},{routes:[{path:"/our-centers",exact:!0,component:s.a.lazy((function(){return Promise.all([n.e(0),n.e(45)]).then(n.bind(null,533))}))}]}],W=[{component:E,routes:Object(u.a)(R.a.generateRoutesFromConfigs(J))}],_=(n(95),s.a.lazy((function(){return Promise.all([n.e(1),n.e(2),n.e(3),n.e(40),n.e(55)]).then(n.bind(null,534))}))),H=s.a.lazy((function(){return Promise.all([n.e(1),n.e(2),n.e(3),n.e(51)]).then(n.bind(null,525))})),q=s.a.lazy((function(){return Promise.all([n.e(1),n.e(2),n.e(3),n.e(53)]).then(n.bind(null,535))})),K=s.a.lazy((function(){return Promise.all([n.e(1),n.e(2),n.e(3),n.e(52)]).then(n.bind(null,536))})),Y=s.a.lazy((function(){return Promise.all([n.e(1),n.e(3),n.e(54)]).then(n.bind(null,537))}));var $=function(){return Object(g.jsx)("div",{className:"App",children:Object(g.jsx)(s.a.Suspense,{fallback:null,children:Object(g.jsx)(i.b,{history:o,children:"/signup"===o.location.pathname||"/signin"===o.location.pathname||"/forgot-password"===o.location.pathname||"/reset-password"===o.location.pathname||"/activate-account"===o.location.pathname?Object(g.jsxs)(i.c,{children:[Object(g.jsx)(i.a,{exact:!0,path:"/signup",component:_}),Object(g.jsx)(i.a,{exact:!0,path:"/signin",component:H}),Object(g.jsx)(i.a,{exact:!0,path:"/forgot-password",component:q}),Object(g.jsx)(i.a,{exact:!0,path:"/reset-password",component:K}),Object(g.jsx)(i.a,{exact:!0,path:"/activate-account",component:Y})]}):Object(l.a)(W)})})})},Z=function(e){e&&e instanceof Function&&n.e(61).then(n.bind(null,513)).then((function(t){var n=t.getCLS,a=t.getFID,s=t.getFCP,r=t.getLCP,c=t.getTTFB;n(e),a(e),s(e),r(e),c(e)}))};n(96);c.a.render(Object(g.jsx)(s.a.StrictMode,{children:Object(g.jsx)($,{})}),document.getElementById("root")),Z()}},[[97,9,11]]]); //# sourceMappingURL=main.f20bc6cc.chunk.js.map