1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4539],{71385:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reward-benefits",function(){return n(21171)}])},35543:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var s=n(85893);function r(){return(0,s.jsxs)("div",{role:"status",children:[(0,s.jsxs)("svg",{"aria-hidden":"true",className:"m-auto w-16 h-16 z-50 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,s.jsx)("span",{className:"sr-only",children:"Loading..."})]})}},21171:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return j}});var s=n(85893),r=n(67294),a=n(88392),l=n(86772),i=n(79538),o=n(11010),c=n(91309),d=n(97582),u=n(25675),x=n.n(u),f=n(35543),m={align:"start",containScroll:"keepSnaps"},h=function(e){var t=e.categories,n=e.activeCategory,r=e.onSelect;return(0,s.jsx)(i.r1,{options:m,viewportClassName:"flex-1",trackClassName:"flex gap-2 py-1",prevButtonClassName:"-left-3",nextButtonClassName:"-right-4",children:t.map(function(e){return(0,s.jsx)("button",{type:"button","aria-pressed":n===e,onClick:function(){return r(e)},className:"shrink-0 px-6 py-[8px] rounded-full text-xs md:text-base font-medium transition-all ".concat(n===e?"bg-red-50 text-red-600 border border-red-200":"bg-white text-gray-600 border border-gray-200 hover:bg-gray-50"),children:e},e)})})},p=function(){var e,t=(0,c._)((0,r.useState)([]),2),n=t[0],i=t[1],u=(0,c._)((0,r.useState)(""),2),x=u[0],m=u[1],p=(0,c._)((0,r.useState)(""),2),g=p[0],j=p[1],v=(0,c._)((0,r.useState)(!0),2),N=v[0],w=v[1],y=(0,c._)((0,r.useState)(null),2),_=y[0],C=y[1],E=(0,r.useDeferredValue)(g);function k(){return(k=(0,o._)(function(e){var t,n,s,r;return(0,d.Jh)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,l.bl.get("/api/common-json-view?tag=".concat(e))];case 1:if(200!==(n=a.sent()).status)return[2,{}];return[2,JSON.parse((null==(s=null==n?void 0:null===(t=n.data)||void 0===t?void 0:t[0])?void 0:s.data)||"{}")];case 2:return r=a.sent(),console.error('Failed to fetch data for "'.concat(e,'":'),r),[2,{}];case 3:return[2]}})})).apply(this,arguments)}(0,r.useEffect)(function(){var e,t=!1;return(e=(0,o._)(function(){var e,n,s;return(0,d.Jh)(this,function(r){switch(r.label){case 0:return r.trys.push([0,,2,3]),[4,function(e){return k.apply(this,arguments)}(a.Z.REWARD_AND_BENEFITS_NEW)];case 1:return s=null!==(n=null==(e=r.sent())?void 0:e.categories)&&void 0!==n?n:[],!t&&(i(s),s.length>0&&m(s[0].title)),[3,3];case 2:return t||w(!1),[7];case 3:return[2]}})}),function(){return e.apply(this,arguments)})(),function(){t=!0}},[]);var S=n.map(function(e){return e.title}),A=n.find(function(e){return e.title===x}),T=(null!==(e=null==A?void 0:A.items)&&void 0!==e?e:[]).filter(function(e){var t;return null===(t=e.brand)||void 0===t?void 0:t.toLowerCase().includes(E.trim().toLowerCase())});return(0,s.jsx)("div",{className:"w-full bg-[#f3f7fc] min-h-screen py-10 px-6 md:px-12 font-sans text-gray-800",children:(0,s.jsxs)("section",{className:"space-y-8",children:[(0,s.jsx)("div",{className:"max-w-full mx-auto",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-4 text-gray-400",children:(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})}),(0,s.jsx)("input",{type:"text",placeholder:"Search here","aria-label":"Search partners",value:g,onChange:function(e){j(e.target.value),C(null)},className:"w-full py-3 pl-10 pr-4 bg-white rounded-full border border-gray-200 text-sm shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500/20"})]})}),(0,s.jsx)(h,{categories:S,activeCategory:x,onSelect:function(e){m(e),C(null)}}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-[#1e293b]",children:null==A?void 0:A.subTitle}),(0,s.jsx)("p",{className:"text-sm text-[#64748b] mt-1",children:null==A?void 0:A.description})]}),N?(0,s.jsx)("div",{className:"flex justify-center py-10",children:(0,s.jsx)(f.H,{})}):T.length>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flex flex-col gap-6 pt-2 md:hidden",children:T.map(function(e,t){return(0,s.jsx)(b,{item:e,isExpanded:_===t,onToggle:function(){return C(function(e){return e===t?null:t})}},"".concat(e.brand,"-").concat(t))})}),(0,s.jsxs)("div",{className:"hidden gap-6 pt-2 md:flex",children:[(0,s.jsx)("div",{className:"flex flex-1 flex-col gap-6",children:T.map(function(e,t){return t%2==0?(0,s.jsx)(b,{item:e,isExpanded:_===t,onToggle:function(){return C(function(e){return e===t?null:t})}},"".concat(e.brand,"-").concat(t)):null})}),(0,s.jsx)("div",{className:"flex flex-1 flex-col gap-6",children:T.map(function(e,t){return t%2==1?(0,s.jsx)(b,{item:e,isExpanded:_===t,onToggle:function(){return C(function(e){return e===t?null:t})}},"".concat(e.brand,"-").concat(t)):null})})]})]}):(0,s.jsx)("div",{className:"rounded-2xl border border-slate-100 bg-white shadow-[0_2px_10px_-3px_rgba(0,0,0,0.05)]",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center px-6 py-16 text-center",children:[(0,s.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-red-50",children:(0,s.jsxs)("svg",{className:"h-8 w-8 text-red-400",fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",children:[(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}),(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 13l2-2m0 0l2-2m-2 2L10 9m2 2l2 2"})]})}),(0,s.jsx)("h3",{className:"mt-4 font-roboto text-lg font-bold text-slate-700",children:"No Partners Found"}),(0,s.jsx)("p",{className:"mt-1 font-roboto text-sm text-slate-400",children:"We couldn't find any partners matching your search. Please try a different keyword or category."})]})})]})})},b=function(e){var t,n=e.item,r=e.isExpanded,a=e.onToggle,l=(null!==(t=n.moreinfo)&&void 0!==t?t:"").split("#").map(function(e){return e.trim()}
1),o=l[0],c=l.slice(1).filter(Boolean);return(0,s.jsxs)("div",{className:"flex flex-col overflow-hidden rounded-2xl border border-slate-100 bg-white shadow-[0_2px_10px_-3px_rgba(0,0,0,0.05)]",children:[(0,s.jsxs)("div",{className:"flex min-h-40 md:h-40 items-stretch p-6",children:[(0,s.jsx)("div",{className:"flex w-[30%] justify-center items-center pr-6",children:(0,s.jsx)(i.o7,{imgSrc:n.imgSrc,alt:n.brand})}),(0,s.jsx)("div",{className:"my-1 w-[1px] bg-slate-100"}),!r&&(0,s.jsxs)("div",{className:"flex w-[70%] flex-col justify-between py-1 pl-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-[20px] font-bold leading-snug text-[#1e293b]",children:n.brand}),(0,s.jsx)("p",{className:"mt-1 text-base font-normal text-[#64748b]",children:n.discount})]}),n.moreinfo&&(0,s.jsx)("button",{type:"button","aria-expanded":r,onClick:a,className:"inline-block self-start text-sm font-bold text-[#004bb6] hover:underline",children:"More Info"})]})]}),n.moreinfo&&(0,s.jsx)("div",{className:"grid transition-[grid-template-rows] duration-300 ease-in-out ".concat(r?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsxs)("div",{className:"px-10 pb-6",children:[(0,s.jsx)("h3",{className:"text-[20px] font-bold leading-snug text-[#1e293b]",children:n.brand}),(0,s.jsx)("p",{className:"mt-1 text-base font-normal text-[#64748b]",children:n.discount}),(0,s.jsx)("p",{className:"mt-2 font-roboto text-sm leading-6 text-slate-500",children:o}),c.length>0&&(0,s.jsx)("ul",{className:"mt-3 space-y-2.5",children:c.map(function(e,t){return(0,s.jsxs)("li",{className:"flex items-start gap-3 font-roboto text-sm leading-6 text-slate-600",children:[(0,s.jsx)("span",{"aria-hidden":"true",className:"mt-2.5 h-1.5 w-1.5 shrink-0 rounded-full bg-[#004bb6]"}),e]},"".concat(e,"-").concat(t))})}),(0,s.jsx)("button",{type:"button",onClick:a,className:"mt-4 inline-block text-sm font-bold text-[#004bb6] hover:underline",children:"Show Less"})]})})})]})},g=function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"relative flex w-full flex-col justify-between overflow-hidden bg-slate-900 text-white min-h-[250px] md:min-h-[420px]",children:[(0,s.jsx)(x(),{src:"/images/reward_benefis/reward-benefit-banner.jpg",alt:"Sky Star Rewards & Benefits",fill:!0,priority:!0,sizes:"100vw",className:"object-cover object-[center_15%] opacity-80"}),(0,s.jsx)("section",{className:"relative z-10 w-full my-auto py-10 md:py-20",children:(0,s.jsxs)("div",{className:"max-w-xl space-y-4",children:[(0,s.jsxs)("h1",{className:"font-rubik text-4xl md:text-5xl text-white font-bold leading-tight",children:["Sky Star Frequent",(0,s.jsx)("span",{className:"mt-2 block",children:"Flyer Program"})]}),(0,s.jsx)("p",{className:"font-roboto text-sm md:text-base text-slate-200 leading-relaxed",children:"Sky Star Card holders can now enjoy exclusive privilege and benefits. As a valued member of our loyalty program, gain access to deals and discounts."})]})})]}),(0,s.jsx)(p,{})]})},j=function(){return(0,s.jsx)(g,{})}},88392:function(e,t){"use strict";t.Z={ADM_POLICY:"adm-policy",BOOKING_POLICY:"booking-policy",RE_BOOKING:"re-booking",BUS_SERVICE:"bus-service",FREE_BAGGAGE_INTERNATIONAL:"free-baggage-international",FREE_BAGGAGE_DOMESTIC:"free-baggage-domestic",TERM_AND_CONDITION:"terms-and-conditions-rule",FEED_BACK_DETAILS:"feed-back-details",REWARD_AND_BENEFITS:"reward-and-benefits",REWARD_AND_BENEFITS_NEW:"reward-benefits-new",POP_UP_ADVERTISEMENT:"popup-advertisement"}}},function(e){e.O(0,[7796,5675,9538,9774,2888,179],function(){return e(e.s=71385)}),_N_E=e.O()}]);
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.