1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6607],{78761:function(e,o,t){var i=t(58264),n=t(44199),a=t(4637);o.Z=function(){return(0,a.jsx)("div",{style:{width:"100%",height:"100%",padding:"1rem 0"},children:(0,a.jsxs)(n.X2,{is:"div",className:"p-8 bg-white shadow-lg rounded-lg",children:[Array(7).fill(1).map((function(e,o){return(0,a.jsx)(n.JX,{is:"div",w:{def:"full",lg:"14/100"},className:"rounded-lg md:mx-auto",children:(0,a.jsx)(i.Z,{variant:"rect",width:"100%",height:118})},o)})),(0,a.jsx)(n.JX,{is:"div",w:{def:"full"},className:"rounded-lg md:mx-auto pt-4",children:(0,a.jsx)(i.Z,{variant:"rect",width:"100%",height:35})}),(0,a.jsx)(n.JX,{is:"div",w:{def:"full"},className:"rounded-lg md:mx-auto pt-1",children:(0,a.jsx)(i.Z,{variant:"rect",width:"100%",height:128})}),(0,a.jsx)(n.JX,{is:"div",w:{def:"full"},className:"rounded-lg md:mx-auto pt-4",children:(0,a.jsx)(i.Z,{variant:"rect",width:"100%",height:128})}),(0,a.jsx)(n.JX,{is:"div",w:{def:"full"},className:"rounded-lg md:mx-auto pt-4",children:(0,a.jsx)(i.Z,{variant:"rect",width:"100%",height:128})})]})})}},86607:function(e,o,t){t.d(o,{Z:function(){return H}});var i=t(64529),n=t(59496),a=t(85015),r=t(43759),c=t(15092),d=t(86996),l=t(50385),s=t(4637),u=function(e){var o=e.content,t=o.bannerImage,i=o.headlinePrimary,n=o.headlineSecondary,a=o.supportText,r=o.btnPrimary,u=o.btnSecondary,m=((0,d.Z)().isMobile,(0,l.Z)({getURL:!0})),f=m.imageLoader,g=m.loading;return(0,s.jsx)("section",{className:"max-w-screen-2xl mx-auto bg-gray-50 pt-6 pb-12 sm:pb-16 md:pb-20 lg:pb-28 xl:pb-12 bg-top bg-cover bg-no-repeat",style:{backgroundImage:g?null:"linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(".concat(f(t),")")},children:(0,s.jsx)("div",{className:"mt-20 mx-auto px-4 sm:px-6 ",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsxs)("h2",{className:"".concat(i||n?"":"hidden"," text-4xl tracking-tight leading-10 font-extrabold text-gray-300 sm:text-5xl sm:leading-none md:text-6xl mb-8"),children:[i,(0,s.jsx)("br",{}),(0,s.jsx)("span",{children:n})]}),(0,s.jsx)("p",{className:"".concat(a?"":"hidden"," mt-3 max-w-md mx-auto text-base text-gray-500 text-bold sm:text-lg md:mt-5 md:text-xl md:max-w-3xl"),children:a}),(0,s.jsxs)("div",{className:"mt-5 max-w-md mx-auto sm:flex sm:justify-center md:mt-8",children:[(0,s.jsx)("div",{className:"".concat(r?"":"hidden"," rounded-md shadow"),children:r?(0,s.jsx)(c.default,{href:null===r||void 0===r?void 0:r.link,children:(0,s.jsx)("a",{className:"w-full flex items-center justify-center px-8 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo transition duration-150 ease-in-out md:py-4 md:text-lg md:px-10",children:null===r||void 0===r?void 0:r.text})}):null}),(0,s.jsx)("div",{className:"".concat(u?"":"hidden"," mt-3 rounded-md shadow sm:mt-0 sm:ml-3"),children:u?(0,s.jsx)(c.default,{href:null===u||void 0===u?void 0:u.link,children:(0,s.jsx)("a",{className:"w-full flex items-center justify-center px-8 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-indigo-600 bg-white hover:text-indigo-500 focus:outline-none focus:border-indigo-300 focus:shadow-outline-indigo transition duration-200 ease-in-out md:py-4 md:text-lg md:px-10",children:null===u||void 0===u?void 0:u.text})}):null})]})]})})})},m=[{from:{city:"Lagos",code:"LOS"},to:{city:"Abuja",code:"ABV"},image:{mobile:"",desktop:""}},{from:{city:"Lagos",code:"LOS"},to:{city:"Asaba",code:"ABB"},image:{mobile:"",desktop:""}},{from:{city:"Lagos",code:"LOS"},to:{city:"Port Harcourt",code:"PHC"},image:{mobile:"",desktop:""}},{from:{city:"Lagos",code:"LOS"},to:{city:"Benin",code:"BNI"},image:{mobile:"",desktop:""}},{from:{city:"Lagos",code:"LOS"},to:{city:"Yola",code:"YOL"},image:{mobile:"",desktop:""}},{from:{city:"Lagos",code:"LOS"},to:{city:"Jos",code:"JOS"},image:{mobile:"",desktop:""}},{from:{city:"Lagos",code:"LOS"},to:{city:"Kano",code:"KAN"},image:{mobile:"",desktop:""}},{from:{city:"Abuja",code:"ABV"},to:{city:"Lagos",code:"LOS"},image:{mobile:"",desktop:""}},{from:{city:"Abuja",code:"ABV"},to:{city:"Asaba",code:"ABB"},image:{mobile:"",desktop:""}},{from:{city:"Abuja",code:"ABV"},to:{city:"Port Harcourt",code:"PHC"},image:{mobile:"",desktop:""}},{from:{city:"Abuja",code:"ABV"},to:{city:"Benin",code:"BNI"},image:{mobile:"",desktop:""}},{from:{city:"Abuja",code:"ABV"},to:{city:"Yola",code:"YOL"},image:{mobile:"",desktop:""}},{from:{city:"Abuja",code:"ABV"},to:{city:"Jos",code:"JOS"},image:{mobile:"",desktop:""}},{from:{city:"Abuja",code:"ABV"},to:{city:"Kano",code:"KAN"},image:{mobile:"",desktop:""}},{from:{city:"Asaba",code:"ABB"},to:{city:"Lagos",code:"LOS"},image:{mobile:"",desktop:""}},{from:{city:"Asaba",code:"ABB"},to:{city:"Abuja",code:"ABV"},image:{mobile:"",desktop:""}},{from:{city:"Asaba",code:"ABB"},to:{city:"Port Harcourt",code:"PHC"},image:{mobile:"",desktop:""}},{from:{city:"Asaba",code:"ABB"},to:{city:"Benin",code:"BNI"},image:{mobile:"",desktop:""}},{from:{city:"Asaba",code:"ABB"},to:{city:"Yola",code:"YOL"},image:{mobile:"",desktop:""}},{from:{city:"Asaba",code:"ABB"},to:{city:"Jos",code:"JOS"},image:{mobile:"",desktop:""}},{from:{city:"Asaba",code:"ABB"},to:{city:"Kano",code:"KAN"},image:{mobile:"",desktop:""}},{from:{city:"Port Harcourt",code:"PHC"},to:{city:"Lagos",code:"LOS"},image:{mobile:"",desktop:""}},{from:{city:"Port Harcourt",code:"PHC"},to:{city:"Abuja",code:"ABV"},image:{mobile:"",desktop:""}},{from:{city:"Port Harcourt",code:"PHC"},to:{city:"Asaba",code:"ABB"},image:{mobile:"",desktop:""}},{from:{city:"Port Harcourt",code:"PHC"},to:{city:"Benin",code:"BNI"},image:{mobile:"",desktop:""}},{from:{city:"Port Harcourt",code:"PHC"},to:{city:"Yola",code:"YOL"},image:{mobile:"",desktop:""}},{from:{city:"Port Harcourt",code:"PHC"},to:{city:"Jos",code:"JOS"},image:{mobile:"",desktop:""}},{from:{city:"Port Harcourt",code:"PHC"},to:{city:"Kano",code:"KAN"},image:{mobile:"",desktop:""}},{from:{city:"Benin",code:"BNI"},to:{city:"Lagos",code:"LOS"},image:{mobile:"",desktop:""}},{from:{city:"Benin",code:"BNI"},to:{city:"Abuja",code:"ABV"},image:{mobile:"",desktop:""}},{from:{city:"Benin",code:"BNI"},to:{city:"Asaba",code:"ABB"},image:{mobile:"",desktop:""}},{from:{city:"Benin",code:"BNI"},to:{city:"Port Harcourt",code:"PHC"},image:{mobile:"",desktop:""}},{from:{city:"Benin",code:"BNI"},to:{city:"Yola",code:"YOL"},image:{mobile:"",desktop:""}},{from:{city:"Benin",code:"BNI"},to:{city:"Jos",code:"JOS"},image:{mobile:"",desktop:""}},{from:{city:"Benin",code:"BNI"},to:{city:"Kano",code:"KAN"},image:{mobile:"",desktop:""}},{from:{city:"Yola",code:"YOL"},to:{city:"Lagos",code:"LOS"},image:{mobile:"",desktop:""}},{from:{city:"Yola",code:"YOL"},to:{city:"Abuja",code:"ABV"},image:{mobile:"",desktop:""}},{from:{city:"Yola",code:"YOL"},to:{city:"Asaba",code:"ABB"},image:{mobile:"",desktop:""}},{from:{city:"Yola",code:"YOL"},to:{city:"Port Harcourt",code:"PHC"},image:{mobile:"",desktop:""}},{from:{city:"Yola",code:"YOL"},to:{city:"Benin",code:"BNI"},image:{mobile:"",desktop:""}},{from:{city:"Yola",code:"YOL"},to:{city:"Jos",code:"JOS"},image:{mobile:"",desktop:""}},{from:{city:"Yola",code:"YOL"},to:{city:"Kano",code:"KAN"},image:{mobile:"",desktop:""}},{from:{city:"Jos",code:"JOS"},to:{city:"Lagos",code:"LOS"},image:{mobile:"",desktop:""}},{from:{city:"Jos",code:"JOS"},to:{city:"Abuja",code:"ABV"},image:{mobile:"",desktop:""}},{from:{city:"Jos",code:"JOS"},to:{city:"Asaba",code:"ABB"},image:{mobile:"",desktop:""}},{from:{city:"Jos",code:"JOS"},to:{city:"Port Harcourt",code:"PHC"},image:{mobile:"",desktop:""}},{from:{city:"Jos",code:"JOS"},to:{city:"Benin",code:"BNI"},image:{mobile:"",desktop:""}},{from:{city:"Jos",code:"JOS"},to:{city:"Yola",code:"YOL"},image:{mobile:"",desktop:""}},{from:{city:"Jos",code:"JOS"},to:{city:"Kano",code:"KAN"},image:{mobile:"",desktop:""}},{from:{city:"Kano",code:"KAN"},to:{city:"Lagos",code:"LOS"},image:{mobile:"",desktop:""}},{from:{city:"Kano",code:"KAN"},to:{city:"Abuja",code:"ABV"},image:{mobile:"",desktop:""}},{from:{city:"Kano",code:"KAN"},to:{city:"Asaba",code:"ABB"},image:{mobile:"",desktop:""}},{from:{city:"Kano",code:"KAN"},to:{city:"Port Harcourt",code:"PHC"},image:{mobile:"",desktop:""}},{from:{city:"Kano",code:"KAN"},to:{city:"Benin",code:"BNI"},image:{mobile:"",desktop:""}},{from:{city:"Kano",code:"KAN"},to:{city:"Yola",code:"YOL"},image:{mobile:"",desktop:""}},{from:{city:"Kano",code:"KAN"},to:{city:"Jos",code:"JOS"},image:{mobile:"",desktop:""}}],f=t(86815),g=t(69743),p=t(81890),v=t(38496),h=t.n(v),y=t(93637),b=t(78761),x=t(90312),j=t(98782),w=t(59738),A=t(68301),N=t(6982),k=t(83916),B=t(21689),L=function(e){var o,t=e.requestInfo,i=e.setRequestInfo,a=(0,n.use
1State)(!1),r=a[0],c=a[1],d=(0,A.nw)().dispatch,l=(0,N.l)(),u=(l.state,l.dispatch),m=(0,n.useState)({}),f=m[0],v=m[1],L=(0,n.useState)({lite:[],plus:[],flexible:[],premium:[]}),O=(L[0],L[1]),S=(0,n.useState)(!0),C=S[0],P=S[1],J=function(){var e=(0,p.Z)(h().mark((function e(o,t){var i,n,a,r,c;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,P(!0),e.next=4,Promise.all([(0,B.DR)(o),(0,B.G)(o)]);case 4:i=e.sent,n=(0,g.Z)(i,2),a=n[0],r=n[1],u({type:j.Rp,payload:r}),v(a),O(r),"function"===typeof t&&t(o),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),c=(0,k.dz)(e.t0),d({type:w.Dv,payload:{message:c,type:"error"}});case 18:return e.prev=18,P(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[0,14,18,21]])})));return function(o,t){return e.apply(this,arguments)}}();return(0,n.useEffect)((function(){c(!0),J(t)}),[]),(0,s.jsx)(y.Z,{children:C?(0,s.jsx)(b.Z,{}):r&&null!==(o=Object.entries(f))&&void 0!==o&&o.length?(0,s.jsx)(x.Z,{requestInfo:t,setRequestInfo:i,flightCalendar:null===f||void 0===f?void 0:f.data,fetchPageData:J}):null})},O=function(e){var o=e.from,t=e.to,i=e.direction,n=function(e){var o,t;return/-/g.test(e)?null===e||void 0===e||null===(o=e.split("-"))||void 0===o||null===(t=o.map((function(e){var o,t;return(null===e||void 0===e||null===(o=e.charAt(0))||void 0===o?void 0:o.toUpperCase())+(null===e||void 0===e||null===(t=e.slice(1))||void 0===t?void 0:t.toLowerCase())})))||void 0===t?void 0:t.join(" "):e.charAt(0).toUpperCase()+e.slice(1)},a=function(e){var o,t;return null===e||void 0===e||null===(o=e.split(" "))||void 0===o||null===(t=o.map((function(e){var o,t;return(null===e||void 0===e||null===(o=e.charAt(0))||void 0===o?void 0:o.toLowerCase())+(null===e||void 0===e||null===(t=e.slice(1))||void 0===t?void 0:t.toLowerCase())})))||void 0===t?void 0:t.join("-")},r=function(e){return m.filter((function(o){var i,a,r,c;return(null===o||void 0===o||null===(i=o.from)||void 0===i||null===(a=i.city)||void 0===a?void 0:a.toLowerCase())===(null===e||void 0===e?void 0:e.toLowerCase())&&(null===o||void 0===o||null===(r=o.to)||void 0===r?void 0:r.city.toLowerCase())!==(null===(c=n(t))||void 0===c?void 0:c.toLowerCase())}))};return(0,s.jsx)(s.Fragment,{children:o&&t?(0,s.jsx)("ul",{className:"max-w-4xl grid md:grid-rows-3 md:grid-cols-2 gap-3 mx-auto",children:"inbound"!==i?r(o).map((function(e,o){var t,i,r,d;return(0,s.jsxs)("li",{className:"text-center",children:["Flights from "," ",(0,s.jsx)(c.default,{href:"/".concat(a(null===e||void 0===e||null===(t=e.from)||void 0===t?void 0:t.city),"/").concat(a(null===e||void 0===e||null===(i=e.to)||void 0===i?void 0:i.city)),children:(0,s.jsxs)("a",{className:"text-indigo-600 hover:text-indigo-500",children:[n(null===e||void 0===e||null===(r=e.from)||void 0===r?void 0:r.city)," to ",n(null===e||void 0===e||null===(d=e.to)||void 0===d?void 0:d.city)]})})]},o)})):r(o).map((function(e,o){var t,i,r,d;return(0,s.jsxs)("li",{className:"text-center",children:["Flights from "," ",(0,s.jsx)(c.default,{href:"/".concat(a(null===e||void 0===e||null===(t=e.to)||void 0===t?void 0:t.city),"/").concat(a(null===e||void 0===e||null===(i=e.from)||void 0===i?void 0:i.city)),children:(0,s.jsxs)("a",{className:"text-indigo-600 hover:text-indigo-500",children:[n(null===e||void 0===e||null===(r=e.to)||void 0===r?void 0:r.city)," to ",n(null===e||void 0===e||null===(d=e.from)||void 0===d?void 0:d.city)]})})]},o)}))}):null})},S=t(97626),C=t(49494);function P(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);o&&(i=i.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,i)}return t}function J(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?P(Object(t),!0).forEach((function(o){(0,i.Z)(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}
1var H=function(e){var o,t,i,c=e.url,d=e.bannerImg,l=(0,n.useState)(""),g=(l[0],l[1]),p=(0,a.useRouter)(),v=p.query,h=(0,n.useState)(null===(o=c.split("/"))||void 0===o?void 0:o[1]),y=h[0],b=(h[1],(0,n.useState)(null===(t=c.split("/"))||void 0===t?void 0:t[2])),x=b[0],j=(b[1],(0,n.useState)({})),w=(j[0],j[1]),A=(0,n.useState)({}),N=A[0],k=A[1],B=function(e){var o,t;return null===e||void 0===e||null===(o=e.split(" "))||void 0===o||null===(t=o.map((function(e){var o,t;return(null===e||void 0===e||null===(o=e.charAt(0))||void 0===o?void 0:o.toUpperCase())+(null===e||void 0===e||null===(t=e.slice(1))||void 0===t?void 0:t.toLowerCase())})))||void 0===t?void 0:t.join(" ")},P=function(e){var o,t;return/-/g.test(e)?null===e||void 0===e||null===(o=e.split("-"))||void 0===o||null===(t=o.map((function(e){var o,t;return(null===e||void 0===e||null===(o=e.charAt(0))||void 0===o?void 0:o.toLowerCase())+(null===e||void 0===e||null===(t=e.slice(1))||void 0===t?void 0:t.toLowerCase())})))||void 0===t?void 0:t.join(" "):null===e||void 0===e?void 0:e.toLowerCase()},H=function(e){var o,t;return null===(o=m.find((function(o){return o.from.city.toLowerCase()===P(e)})))||void 0===o||null===(t=o.from)||void 0===t?void 0:t.code},Y=function(e){var o,t;return null===(o=m.find((function(o){return o.to.city.toLowerCase()===P(e)})))||void 0===o||null===(t=o.to)||void 0===t?void 0:t.code},K={bannerImage:d,headlinePrimary:"Get the best deals on flights",headlineSecondary:(0,s.jsxs)("span",{children:["from ",(0,s.jsxs)("span",{className:"text-secondary",children:[B(P(y))," "," "]}),"to ",(0,s.jsxs)("span",{className:"text-secondary",children:[B(P(x))," "," "]}),"and more"]}),subHeadline:"Book your flight now."};return(0,n.useEffect)((function(){g(window.location.host);var e=m.find((function(e){return e.from.city.toLowerCase()===y&&e.to.city.toLowerCase()===x}));w(e),k(J(J({},N),{},{departure_code:H(y),arrival_code:Y(x),departure_date:(new Date).toISOString(),passengers:{adult:1}}))}),[v]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(r.Z,{children:[(0,s.jsx)(u,{content:K}),(0,s.jsx)("div",{className:"max-w-5xl bg-gray-50 p-4 rounded-lg -mt-12 mx-auto shadow-md",children:(0,s.jsx)(f.Z,{departureCode:H(y),destinationCode:Y(x)})}),(0,s.jsx)("p",{className:"text-3xl text-center mt-12 mb-4",children:"Today's Flights"}),null!==(i=Object.entries(N))&&void 0!==i&&i.length?(0,s.jsx)(L,{requestInfo:N,setRequestInfo:k}):null,(0,s.jsxs)("p",{className:"text-3xl text-center mt-12 mb-6",children:["More popular flights from ",(0,s.jsx)("span",{className:"capitalize font-bold text-secondary",children:B(P(y))})]}),(0,s.jsx)(O,{from:P(y),to:P(x)}),(0,s.jsxs)("p",{className:"text-3xl text-center mt-12 mb-6",children:["More popular flights to ",(0,s.jsx)("span",{className:"capitalize font-bold text-secondary",children:B(P(x))})]}),(0,s.jsx)(O,{from:P(x),to:P(y),direction:"inbound"}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)(S.Z,{destinations:C.H}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{})]})})}},97626:function(e,o,t){t.d(o,{Z:function(){return p}});var i=t(81890),n=t(38496),a=t.n(n),r=t(93637),c=t(59496),d=(t(44199),t(6982)),l=(t(15092),t(85015)),s=t(4637),u=function(e){var o=e.src,t=e.location,i=e.tagline,n=(e.price,e.description,e.destinationCode),a=e.hideTagline,r=(0,l.useRouter)(),c=(0,d.l)();c.state.isLaunched,c.dispatch;return(0,s.jsxs)("div",{className:"min-h-300 mx-auto flex flex-col m-6 rounded-lg banner-shadow overflow-hidden",children:[(0,s.jsx)("div",{className:"flex-shrink-0 h-125",children:(0,s.jsx)("img",{className:"h-full w-full object-cover object-top bg-top",src:o,alt:t})}),(0,s.jsxs)("div",{className:"bg-white p-3 flex flex-col justify-between",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("p",{className:"text-sm font-medium text-secondary",children:t})}),(0,s.jsx)("a",{className:"block mt-3 cursor-pointer",onClick:function(){r.push("booking/?destination=".concat(n))},children:a?null:(0,s.jsx)("p",{className:"text-xl font-semibold text-gray-900 ",children:i})})]})]})},m=t(86318),f=t(63727),g=t(86996),p=function(e){var o=e.destinations,t=(0,g.Z)().isMobile,n=(0,c.useState)([]),d=n[0],l=n[1],p=(0,c.useState)(0),v=p[0],h=p[1],y=(0,c.useRef)(null),b=(0,c.useRef)(null),x=(0,c.useState)(0),j=x[0],w=x[1],A=(0,c.useState)(0),N=A[0],k=A[1],B=(0,c.useState)("overflow-hidden"),L=B[0],O=B[1],S=(0,c.useState)(""),C=S[0],P=S[1],J=(0,c.useState)(null),H=J[0];J[1];return(0,c.useEffect)((function(){!function(e){var o=y.current,t=Array.from(d);"next"===e?(O("overflow-x-scroll"),o.scroll({top:0,left:0,behavior:"instant"}),O("overflow-hidden"),t.shift(),l(t),P("")):"prev"===e&&(t.pop(),l(t),P(""))}(C)}),[C]),(0,c.useEffect)((function(){0===d.length&&l(o.slice(0,4))}),[o]),(0,c.useLayoutEffect)((function(){(0,i.Z)(a().mark((function e(){var o,t,i,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y.current;case 2:return o=e.sent,t=null===o||void 0===o?void 0:o.offsetHeight,e.next=6,b.current;case 6:i=e.sent,n=null===i||void 0===i?void 0:i.offsetWidth,0===j&&(w(t),k(n));case 9:case"end":return e.stop()}}),e)})))()}),[d]),(0,c.useEffect)((function(){}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("section",{className:"mt-6 md:mt-20 mb-2 bg-lp-plum rounded-t-xl",children:(0,s.jsx)(r.Z,{children:(0,s.jsxs)("div",{className:"w-full lg:px-8",children:[(0,s.jsx)("div",{ref:y,className:"w-full pl-1 ".concat(L),children:(0,s.jsx)("div",{className:"grid grid-flow-col grid-cols-6 gap-6",style:{width:"".concat(t?"480%":"160%")},children:d.map((function(e,o){return(0,s.jsx)("div",{ref:0===o?b:null,className:"col-span-1",children:(0,s.jsx)(u,{src:null===e||void 0===e?void 0:e.image,location:null===e||void 0===e?void 0:e.location,tagline:null===e||void 0===e?void 0:e.tagline,hideTagline:!0,price:null===e||void 0===e?void 0:e.price,description:null===e||void 0===e?void 0:e.description,destinationCode:null===e||void 0===e?void 0:e.destinationCode})},o)}))})}),j?(0,s.jsxs)("div",{className:"h-0 grid grid-flow-col justify-between",style:{transform:"translateY(-".concat(j/2+20,"px)")},children:[(0,s.jsx)("button",{onClick:function(){var e=y.current,t=v>0?[o[v-1]].concat(d):[o[o.length-1]].concat(d),i=v>0?v-1:o.length-1;h(i),l(t),O("overflow-x-scroll"),e.scroll({top:0,left:N+24,behavior:"instant"}),e.scroll({top:0,left:0,behavior:"smooth"}),O("overflow-hidden"),setTimeout((function(){return P("prev")}),500)},className:"w-8 h-8 lg:w-12 lg:h-12 flex justify-center rounded-full bg-white shadow-lp-card border border-lp-line -ml-3 lg:-ml-6",children:(0,s.jsx)("span",{className:"my-auto",children:(0,s.jsx)(m.G,{icon:f.A35})})}),(0,s.jsx)("button",{ref:H,onClick:function(){var e=y.current,t=v<o.length-4?d.concat(o[v+4]):d.concat(o[v-(o.length-4)]),i=v<o.length-1?v+1:0;h(i),l(t),O("overflow-x-scroll"),e.scroll({top:0,left:N+24,behavior:"smooth"}),O("overflow-hidden"),setTimeout((function(){return P("next")}),500)},className:"w-8 h-8 lg:w-12 lg:h-12 flex justify-center rounded-full bg-white shadow-lp-card border border-lp-line -mr-4 lg:-mr-8",children:(0,s.jsx)("span",{className:"my-auto",children:(0,s.jsx)(m.G,{icon:f._tD})})})]}):null]})})})})}},49494:function(e,o,t){t.d(o,{H:function(){return i}});var i=[{location:"Abuja",destinationCode:"ABV",tagline:"Centre of Unity",price:26500,image:"/destinations/abuja.jpg",description:"Abuja is a cosmopolitan city and also one of the most talked-about travel destinations in the world, and for good reason. A quick ride can bring you from a bustling tourist hot spot to Asokoro, Maitama, Wuse and others."},{location:"Lagos",destinationCode:"LOS",tagline:"Centre of Excellence",price:26500,image:"/destinations/compressed/LAGOS.png",description:"Lagos remains to be the most populous state in the West African country. Lagos is a city known to make a tremendous impression on tourists, with an excellent base of luxuri
1ous hotels, thriving nightlife and entertainment."},{location:"Port Harcourt",destinationCode:"PHC",tagline:"Treasure Base of the Nation",price:26500,image:"/destinations/portharcourt.jpg",description:"Port Harcourt is the capital, largest city, and port town of Rivers state. Located in southern Nigeria. Port Harcourt is connected to other regions of Nigeria through highways and railways. The city boasts of a large number of tourist attractions in the country."},{location:"Jos",destinationCode:"JOS",tagline:"Home of Peace and Tourism",price:26500,image:"/destinations/compressed/JOS.png",description:"Jos is a city in the Middle Belt of Nigeria. Popularly called 'J-Town', it is the administrative capital and largest city of Plateau State. Jos is served by many bus lines, chiefly Cross Country that runs air-conditioned mini-van services from Lagos and Abuja."}]}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.