1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b97e0a21-f8f4-4d43-b692-6d11f2484f07",e._sentryDebugIdIdentifier="sentry-dbid-b97e0a21-f8f4-4d43-b692-6d11f2484f07")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9932],{69932:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Layout}});var i=n(76341),s=n(85893),r=n(67294),a=n(30137),l=n(93128),o=n(97582),c=n(53353),u=n(67462),d=n(99625),m=n(86010),x=n(89665),f=n(86893),p=n(15169),SearchPage_CustomPagination=function(e){var t=(0,d.h)(e),n=t.refine,i=t.currentRefinement,a=t.nbPages,l=(0,x.Z)(i+1,a),o=(0,r.useRef)(null),c=(0,p.Z)(),click=function(e){if(0!==e&&e!==a+1){if(o&&o.current&&o.current.parentElement){var t=o.current.parentElement.children,i=!0,s=!1,r=void 0;try{for(var l,c=Array.from(t)[Symbol.iterator]();!(i=(l=c.next()).done);i=!0)l.value.scrollTop=0}catch(e){s=!0,r=e}finally{try{i||null==c.return||c.return()}finally{if(s)throw r}}}n(e-1)}};return(0,s.jsxs)("ul",{ref:o,className:(0,m.Z)("flex gap-2 text-primary","[&>li]:flex [&>li]:justify-center [&>li]:align-middle","[&>li>a]:h-100 [&>li>a]:cursor-pointer [&>li>a]:text-center [&>li>a]:sm:w-10","[&>li>a]:flex [&>li>a]:flex-col [&>li>a]:justify-center [&>li>a]:align-middle",c&&"w-full justify-around"),children:[(0,s.jsx)("li",{className:(0,m.Z)((null==l?void 0:l.at(0))!=="prev"&&"opacity-0"),children:(0,s.jsx)("a",{onClick:function(){return click(i)},className:"flex flex-col justify-center align-middle",children:(0,s.jsx)(f.YFh,{size:16,className:"w-full"})})}),null==l?void 0:l.map(function(e,t){if("prev"!==e&&"next"!==e)return"..."===e?(0,s.jsx)("li",{children:(0,s.jsx)("a",{onClick:function(){return click(t<4?i:i+2)},children:"..."})},t):(0,s.jsx)("li",{children:(0,s.jsx)("a",{className:(0,m.Z)(i+1===e&&"text-black"),onClick:function(){return click(e)},children:e})},t)}),(0,s.jsx)("li",{className:(0,m.Z)((null==l?void 0:l.at(-1))!=="next"&&"opacity-0"),children:(0,s.jsx)("a",{onClick:function(){return click(i+2)},className:"flex flex-col justify-center align-middle",children:(0,s.jsx)(f.Tfp,{size:16,className:"w-full"})})})]})},h=n(25675),v=n.n(h),g=n(41664),y=n.n(g),w=n(32108),C=n(55031),_=n(59127),b=n.n(_),j=n(19795),N=n(94481),getImage=function(e,t){try{var n,i,s,r,a=null==e?void 0:null===(i=e.seo)||void 0===i?void 0:null===(n=i.og_image)||void 0===n?void 0:n.url;if(!a)return t;try{s=new URL(a)}catch(e){if(null===(r=window.location)||void 0===r||!r.origin)return t;try{s=new URL(a,window.location.origin)}catch(e){return t}}var l=s.searchParams.get("branch");return l||(l="prod"),l&&s.searchParams.set("branch",l),s.toString()}catch(e){return t}},SearchContent_Hit=function(e){var t,n=e.hit,r=e.close,a=(0,N.KE)().siteWideSettings;if(!n)return null;var l=(0,i._)({},n);return l.url&&(0,s.jsx)(j.E.div,{initial:{opacity:0}
1,animate:{opacity:1},id:"hits",className:(0,m.Z)("mt-8 flex min-h-[73px] w-full cursor-pointer justify-center sm:min-h-[100px]",b().highlightsnippet),children:(0,s.jsxs)(y(),{className:"flex w-full gap-4 sm:gap-8",href:l.url,onClick:r,children:[(0,s.jsx)("div",{className:"relative aspect-video h-[77px] w-[135px] sm:h-[144px] sm:w-[270px]",children:(0,s.jsx)(v(),{className:"rounded-2xl",src:getImage(l,null==a?void 0:a.placeholder_images.landscape_placeholder.url),alt:"search_image",fill:!0,style:{objectFit:"cover"}})}),(0,s.jsxs)("div",{className:"flex w-full flex-col pt-0 text-base text-primary sm:pt-5 sm:text-xl",children:[l.title&&(0,s.jsx)(w.y,{attribute:"title",hit:l}),(null===(t=l.seo)||void 0===t?void 0:t.meta_description)&&(0,s.jsx)(C.p,{className:"mt-1 text-sm text-black sm:text-base",attribute:"seo.meta_description",hit:l})]})]})})},k=n(30775),M=n(25288),SuggestedContentCard=function(e){var t,n,i,r=e.suggested_site_page,a=e.onLinkClick,l=r.at(0),o=(0,N.KE)().siteWideSettings,c="";if(void 0===l||!l.url)return null;switch(l._content_type_uid){case k.wF.EVENTS:case k.wF.NEWS:case k.wF.ARTICLE:c=l.sub_title;break;case k.wF.ANNOUNCEMENT:case k.wF.TEXT_ONLY:c=l.description;break;default:c=(null===(i=l.seo)||void 0===i?void 0:i.meta_description)||""}return c||(c=""),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(y(),{onClick:a,href:l.url,className:"group my-[24px] flex w-full flex-row items-start gap-[16px] sm:my-[32px] sm:gap-[32px]",children:[(0,s.jsx)("div",{className:"relative h-[73px] w-[110px] flex-shrink-0 overflow-hidden rounded-[16px] sm:h-[128px] sm:w-[195px] ",children:(0,s.jsx)(v(),{src:(null===(n=l.seo)||void 0===n?void 0:null===(t=n.og_image)||void 0===t?void 0:t.url)||(null==o?void 0:o.placeholder_images.landscape_placeholder_alternate.url),alt:l.title,fill:!0,className:"object-contain"})}),(0,s.jsxs)("div",{className:"flex flex-col items-start justify-start py-0 sm:py-[16px]",children:[(0,s.jsx)("h3",{className:"line-clamp-1 text-heading5 text-primary transition-colors duration-300 ease-woosh group-hover:text-primary-50 sm:text-heading4",children:l.title}),(0,s.jsx)("p",{className:"line-clamp-2 text-tertiary",children:(0,M.Cb)(c)})]})]})})},SearchContent_NoResultPage=function(e){var t=e.searchTerm,n=e.onLinkClick,r=e.searchStart,a=(0,N.KE)().siteWideSettings;return(0,s.jsxs)(j.E.div,{id:"no-results-page",initial:{opacity:0}
1,animate:{opacity:1},className:(0,m.Z)("overflow-visible",!0===r?"mt-[160px] sm:mt-[160px] sm:px-4 md:mt-[80px]":""),children:[(0,s.jsx)("p",{className:"text-2xl text-tertiary sm:text-4xl",children:"0 search results found for '".concat(t,"'")}),(0,s.jsx)("p",{className:"mt-2 text-tertiary-50",children:"Try searching another term."}),(0,s.jsx)("p",{className:"mt-10 font-semibold text-tertiary sm:mt-10",children:a.search.suggested_content_header}),a.search.suggested_content.length>0&&a.search.suggested_content.map(function(e,t){return(0,s.jsx)(SuggestedContentCard,(0,i._)({onLinkClick:n},e),t)})]})},I=n(39327),SearchContent_NoResultsBoundary=function(e){var t=e.children,n=e.fallback,i=(0,I.b)().results;return i.__isArtificial||0!==i.nbHits?t:n},L=n(65901),S=n(32256),E=n(42722),SearchPage_SearchContent=function(e){var t=e.text,n=e.setText,a=e.searchStart,l=e.close,o=e.navBar,c=(0,I.b)(),d=c.indexUiState,m=c.setIndexUiState;c.status;var x=(0,L.B)(S.Z,void 0),f=(0,r.useMemo)(function(){var e=(x.page+1)*x.hitsPerPage;return e>x.nbHits?x.nbHits:e},[x]);return(0,r.useEffect)(function(){n(d.query)},[d]),(0,r.useEffect)(function(){m(function(e){return(0,u._)((0,i._)({},e),{query:t})})},[t]),(0,s.jsx)(j.E.div,{className:"mx-auto flex w-full max-w-[1440px] flex-col items-center justify-center px-[24px] sm:px-10 md:px-18",children:a&&(0,s.jsxs)(s.Fragment,{children:[!!f&&(0,s.jsxs)(j.E.div,{id:"result-stats",initial:{opacity:0,y:-10},animate:{opacity:1,y:0,transition:{duration:.5,ease:[.9,.05,.05,1.05]}},className:"mt-[160px] w-full max-w-[884px] text-tertiary-50 sm:mt-[160px] md:mt-[70px]",children:["Showing results ",x.page*x.hitsPerPage+1," - ",f," ","of ",x.nbHits," "]}),!o&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flex h-fit w-full max-w-[884px] flex-col items-center [&>*:first-child]:w-full",children:(0,s.jsx)(SearchContent_NoResultsBoundary,{fallback:(0,s.jsx)(SearchContent_NoResultPage,{onLinkClick:l,searchTerm:t||"",searchStart:a}),children:(0,s.jsx)(E.m,{hitComponent:function(e){var t=e.hit;return(0,s.jsx)(SearchContent_Hit,{hit:t,close:l})}})})}),(0,s.jsx)("div",{className:"flex w-full max-w-[884px] flex-col items-center pb-[100px] pt-[32px] sm:pb-[150px]",children:(0,s.jsx)(SearchPage_CustomPagination,{})})]})]})})},Z=n(63955),H=n.n(Z)()("H11YRH4YIZ","048d306f4a3b56a38b42f69fb181acf0"),T={client:(0,u._)((0,i._)({},H),{search:function(e){return e.every(function(e){return!e.params.query})?Promise.resolve({results:e.map(function(){return{hits:[],nbHits:0,nbPages:0,page:0,processingTimeMS:0,hitsPerPage:0,exhaustiveNbHits:!1,query:"",params:""}})}):H.search(e)}}),index:"TM_CS_Index_Prod"},V=n(33104),P=n(20098),B=n(11163),F=n(5328),A=n(14046),R=n(20221),SearchInput=function(e){var t=e.setSearchStart,n=e.searchStart;return(0,s.jsx)(j.E.div,{className:"pointer-events-none flex w-screen justify-center px-6 sm:px-8 md:px-18",children:(0,s.jsx)(j.E.div,{className:(0,m.Z)("pointer-events-auto relative block w-full max-w-[994px]",!0===n?"md:max-w-[500px] lg:max-w-[760px]":""),children:(0,s.jsx)(R.R,{className:"".concat(b().searchBox," ").concat(!0===n?b().searchBox_active:""),placeholder:"What are you looking for?",resetIconComponent:function(){return ClearIcon({resetSearch:function(){return t(!1)},searchStart:n})},searchAsYouType:!1,submitIconComponent:function(){return SubmitIcon({status:status,searchStart:n})},loadingIconComponent:LoadingIcon,autoFocus:!0,onSubmit:function(e){t(!0)}})})})},ClearIcon=function(e){var t=e.resetSearch,n=e.searchStart;return(0,s.jsx)(j.E.div,{style:{translateY:!0===n?"-12px":"-22px"},onClick:function(){return t()},className:(0,m.Z)("absolute right-8 top-[50px] w-fit cursor-pointer sm:right-10 sm:top-1/2 sm:-translate-y-[22px]",!0===n?"!top-[38px] sm:!top-[36px]":""),children:(0,s.jsx)(f.$Rx,{className:"text-[20px] text-tertiary-30 sm:text-[24px] "})})},LoadingIcon=function(){return(0,s.jsx)("div",{className:"absolute right-10 top-6 animate-spin cursor-pointer sm:right-14 sm:top-8",children:(0,s.jsx)(v(),{src:"/spinner.svg",alt:"",width:20,height:20})})},SubmitIcon=function(e){var t=e.status,n=e.searchStart;return(0,s.jsx)(j.E.div,{className:(0,m.Z)("absolute left-6 top-[26px] w-fit cursor-pointer sm:left-8 sm:top-1/2 sm:-translate-y-[20px]","stalled"===t&&"hidden",!0===n?"!top-[26px] sm:!top-[44px]":""),children:(0,s.jsx)(f.jRj,{className:"text-xl text-primary sm:text-2xl"})})},components_SearchPage=function(e){var t,n,i,a,o,u=e.modal,d=e.setModal,x=(0,l._)((0,r.useState)(!1),2),p=x[0],h=x[1],g=(0,l._)((0,r.useState)(""),2),w=g[0],C=g[1],_=(0,N.KE)().siteWideSettings,b=(n=(t=(0,l._)((0,V.H)(),2))[0],i=t[1],(0,r.useEffect)(function(){var e=u?[["#search-modal",{y:"0%"},{duration:1.3,ease:[.9,.05,.05,1.05]}],["#search-box",{opacity:1,y:0},{duration:1,ease:[.9,.05,.05,1.05],at:"-0.5"}],["#header-items",{opacity:1},{duration:.3,ease:"easeInOut",at:"-0.5"}],["#search-suggestions",{opacity:1,y:0},{ease:[.9,.05,.05,1.05],duration:1,delay:(0,P.E)(.05),at:"-0.3"}],["#result-stats",{opacity:1,y:0},{ease:[.9,.05,.05,1.05],duration:1,at:"-1.5"}],["#hits",{opacity:1,y:0},{ease:"easeInOut",duration:.3,at:"-0.8"}],["#no-results-page",{opacity:1},{ease:"easeInOut",duration:.3,at:1.5}]]:[["#no-results-page",{opacity:0}
1,{ease:"easeInOut",duration:.3}],["#result-stats",{opacity:0,y:-10},{duration:.3,ease:"easeInOut"}],["#hits",{opacity:0,y:-10},{duration:.3,ease:"easeInOut"}],["#search-suggestions",{opacity:0,y:-10},{duration:.3,ease:"easeInOut"}],["#search-box",{opacity:0,y:-30},{duration:.3,ease:"easeInOut",at:"-0.6"}],["#header-items",{opacity:0},{duration:.3,ease:"easeInOut",at:"-1"}],["#search-modal",{y:"-100%"},{duration:1.3,ease:[.9,.05,.05,1.05],at:"-0.2"}]];i((0,c._)(e))},[u,i]),n),k=(0,B.useRouter)(),textClicked=function(e){h(!0),C(e)},close=function(){d(!1),document.body.style.overflow=""};return(0,r.useEffect)(function(){var escFunction=function(e){"Escape"===e.key&&close()};return window.addEventListener("keydown",escFunction,!1),function(){window.removeEventListener("keydown",escFunction,!1)}},[]),(0,s.jsx)("div",{ref:b,children:(0,s.jsxs)(F.p,{searchClient:T.client,indexName:T.index,stalledSearchDelay:500,children:[(0,s.jsx)(A.T,{filters:"taxonomies.term_uid:".concat("thomson_medical")}),(0,s.jsxs)(j.E.div,{id:"search-modal",initial:{y:"-100%"},className:(0,m.Z)("fixed left-0 top-0 z-[1002] flex h-screen max-h-screen w-full flex-col items-center","bg-primary-10 bg-gradient-fade"),children:[(0,s.jsx)(j.E.div,{className:(0,m.Z)("duration-400 z-[1004] flex h-[76px] w-full justify-center px-6 transition-all ease-woosh sm:h-[136px] sm:px-8 md:px-18",p&&"shadow-lg shadow-primary-10"),children:(0,s.jsxs)(j.E.div,{id:"header-items",initial:{opacity:0}
1,className:"flex w-full max-w-[1440px] items-center justify-between gap-4",children:[(0,s.jsx)(y(),{href:"/",className:"relative flex min-h-[32px] min-w-[104px] cursor-pointer items-center sm:min-h-[46px] sm:min-w-[152px]",onClick:function(){close(),k.push("/")},children:(0,s.jsx)(v(),{src:"/thomson-logo.png",alt:"logo",fill:!0,style:{objectFit:"contain"}})}),(0,s.jsx)(j.E.div,{id:"search-box",initial:{opacity:0,y:-30},style:{transition:"max-width 0.8s cubic-bezier(0.19, 1, 0.22, 1), inset 0.8s cubic-bezier(0.19, 1, 0.22, 1)"},className:(0,m.Z)("pointer-events-none absolute left-0 top-0 w-full duration-500 ease-woosh",!1===p?"top-[100px] sm:top-[160px] md:top-[200px]":"top-[100px] sm:top-[160px] md:top-[26px]"),children:(0,s.jsx)(SearchInput,{setSearchStart:h,searchStart:p})}),(0,s.jsx)(j.E.button,{onClick:close,className:(0,m.Z)("flex w-fit items-center gap-2 rounded-full bg-white p-4 text-sm font-normal text-primary transition-all duration-300 ease-woosh sm:p-6","shadow-lg hover:bg-primary hover:text-white"),children:(0,s.jsx)(f.q5L,{className:"stroke-[2.5]"})})]})}),(0,s.jsxs)(j.E.div,{className:(0,m.Z)("flex h-full w-full flex-col items-center overflow-scroll pt-[120px] sm:pt-[120px] md:pt-[calc(200px)]",!0===p?"!pt-0":""),children:[(0,s.jsx)(SearchPage_SearchContent,{setSearchStart:h,searchStart:p,text:w,setText:C,close:close}),(0,s.jsxs)(j.E.div,{className:(0,m.Z)("mx-auto mt-[48px] flex w-full max-w-[1440px] flex-col items-center justify-center gap-6 px-6 pb-[150px] text-black sm:gap-10 sm:px-8 sm:pb-[150px] md:px-18",{hidden:p}),children:[(0,s.jsx)(j.E.div,{initial:{opacity:0,y:-10},id:"search-suggestions",className:"-mb-4 w-full max-w-[994px] text-body text-tertiary",children:"Try these topics"}),(null==_?void 0:null===(o=_.search)||void 0===o?void 0:null===(a=o.search_suggestions)||void 0===a?void 0:a.length)>0&&_.search.search_suggestions.map(function(e,t){return(0,s.jsx)(j.E.div,{id:"search-suggestions",initial:{opacity:0,y:-10},className:(0,m.Z)("w-full max-w-[994px] cursor-pointer text-primary transition-colors duration-300 ease-in-out hover:text-primary-50","text-heading4 sm:text-heading4"),onClick:function(){return textClicked(e)},children:e},t)})]})]})]})]})})},O=n(77311),z=n(1451),q=[{code:"EN",label:"English (English)",short:"English",locale:"en-gb"},{code:"䏿",label:"䏿 (Chinese)",short:"䏿",locale:"zh"}],D=n(35327),Y=n(46355),U=n(65820),K=n(15947),W=n(42653),Menu_MenuFeaturedItem=function(e){var t=e.item,n=e.navigateToPage,i=(0,l._)(r.useState(!1),2)[1];return(0,s.jsxs)(j.E.div,{id:"featured-item",onHoverStart:function(){return i(!0)},onHoverEnd:function(){return i(!1)},onClick:function(){(0,W.Mw)(t.title,!0),n()},className:(0,m.Z)("group relative aspect-video min-h-[160px] w-auto cursor-pointer overflow-hidden rounded-2xl sm:min-h-[180px] sm:rounded-3xl sm:before:rounded-3xl lg:min-h-[140px] xl:min-h-[200px]","min-w-[285px] sm:min-w-[320px] lg:min-w-0 ","flex-grow bg-cover bg-center bg-no-repeat","hover:before:bg-primary hover:before:bg-opacity-[0.45]","before:absolute before:left-0 before:top-0 before:h-full before:w-full before:rounded-2xl before:bg-transparent before:transition-all before:duration-300"),children:[(0,s.jsx)(v(),{src:t.image.url,alt:t.title,width:1200,height:800,className:"h-full w-full object-cover"}),(0,s.jsx)(j.E.div,{className:"absolute left-0 top-0 h-full w-full rounded-2xl sm:rounded-3xl",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%)"}}),(0,s.jsx)(U.M,{children:(0,s.jsx)(j.E.div,{className:"absolute bottom-4 left-6 flex w-full flex-col gap-1 ",children:(0,s.jsxs)(j.E.div,{className:"flex items-center gap-2 text-[14px] text-white xl:text-body",children:[(0,s.jsx)(j.E.div,{className:"w-max max-w-[75%]",children:t.title}),t.external_url?(0,s.jsx)(f.AlO,{className:(0,m.Z)("stroke-white transition-all duration-300 ease-in-out","-translate-x-2.5 group-hover:translate-x-0","opacity-0 group-hover:opacity-100")}):(0,s.jsx)(f.Rgz,{className:(0,m.Z)("stroke-white transition-all duration-300 ease-in-out","-translate-x-2.5 group-hover:translate-x-0","opacity-0 group-hover:opacity-100")})]})})})]})},J=n(96486),X=n.n(J),Menu_MobileFeaturedItems=function(e){var t=e.debugBorderOn,n=e.activeFeaturedItems,i=e.handleClose,r=(0,B.useRouter)().push;return(0,s.jsx)(j.E.div,{className:(0,m.Z)("gap hide-scroll mb-10 flex w-screen flex-row gap-4 overflow-x-scroll pl-6 pr-8 sm:w-max sm:pl-0",t?"border border-blue-500":""),id:"featured-items",children:n.map(function(e,t){return(0,s.jsx)(Menu_MenuFeaturedItem,{item:e,navigateToPage:function(){var t=e.filter,n=e.target;if(e.site_page.length>0){if("_blank"!==n)return r({pathname:e.site_page[0].url,query:(0,M.qA)(t)}),i();
1var s=(0,M.qA)(t),a=(0,M.aZ)(e.site_page[0].url,s);return window.open(a,"_blank"),i()}return X().isEmpty(e.external_url)?r("/404"):window.open(e.external_url,e.target||"_blank"),i()}},t)})})},Q=n(25364),Menu_MenuCategoryList=function(e){var t=e.activeCategory,n=e.activeCategoryItems,i=e.handleClose;return(0,s.jsx)(j.E.ul,{className:(0,m.Z)("relative flex w-full flex-col gap-10 pb-[8rem] pl-6 sm:w-[300px] sm:pb-40 sm:pl-0"),children:n.map(function(e,t){var n=e.filter,r={};n&&(r=(0,M.qA)(n));var handleClick=function(e){(0,W.Mw)(e),i()};return(0,s.jsxs)(j.E.li,{id:"middle-items",className:"flex w-full flex-col gap-4",children:[(0,s.jsx)(Q.ZP,{onClick:function(){return handleClick(e.navigation_title)},queryString:r,cta:{cta_type:"link",title:e.navigation_title,site_page:e.site_page,external_link:e.external_link||"",target:e.target||"_self",tracking_code:e.tracking_code||""}}),e.links.map(function(e,t){var n=e.filter,i={};return(n&&(i=(0,M.qA)(n)),e.navigation_title)?(0,s.jsx)("div",{children:(0,s.jsx)(Q.ZP,{className:"!text-tertiary hover:!text-primary-50",noIcon:!0,onClick:function(){return handleClick(e.navigation_title)},queryString:i,cta:{cta_type:"link",title:e.navigation_title,site_page:e.site_page,external_link:e.external_link||"",target:e.target||"_self",tracking_code:e.tracking_code||""}})},"subItem-".concat(t)):null})]},"item-".concat(t,"-").concat(e.navigation_title))})},t)},Menu_MobileBackFromCategoryButton=function(e){var t=e.setIsActive,n=e.activeCategory;return(0,s.jsxs)("div",{className:"mb-6 flex w-fit cursor-pointer items-center gap-2 pl-6 transition-all ease-in-out hover:text-primary-50 sm:pl-0",onClick:function(){return t(!1)},children:[(0,s.jsx)(f.YFh,{className:"h-4 stroke-primary"}),(0,s.jsx)("div",{className:"text-body text-primary",children:n})]})},Menu_LargeMenuItems=function(e){var t=e.activeCategory,n=e.onCategoryClick,i=e.debugBorderOn,r=e.isMobile,a=e.largeMenuItems;return(0,s.jsx)("ul",{className:"flex flex-col gap-8 pl-6 sm:gap-6 sm:pl-0",children:a.map(function(e,a){return(0,s.jsxs)("li",{id:"left-items",className:"w-12/12 flex cursor-pointer items-center justify-between",onClick:function(){return n(e.title,e.sub_category,e.featured_items.featured_item)},children:[(0,s.jsx)("div",{className:(0,m.Z)("w-9/12 cursor-pointer text-heading4 text-tertiary transition-all duration-300 ease-in-out hover:text-primary-50 sm:w-fit sm:max-w-[234px]",{"text-primary":t===e.title&&!r,"border-primary-600 border":i}),children:e.title}),r?(0,s.jsx)("div",{className:"flex w-3/12 justify-end pr-8",children:(0,s.jsx)(f.Tfp,{className:"h-6 w-6 stroke-primary"})}):""]},a)})})},Menu_SmallMenuItems=function(e){var t=e.handleClose,n=e.smallMenuItems;return(0,s.jsx)("ul",{className:"flex flex-col gap-4 pl-6 sm:pl-0",children:n.map(function(e,n){var i=e.filter,r={};return i&&(r=(0,M.qA)(i)),(0,s.jsx)("li",{id:"left-items",children:(0,s.jsx)(Q.ZP,{className:"!text-tertiary hover:!text-primary-50",noIcon:!0,onClick:function(){(0,W.Mw)(e.menu_bottom_link_title),t()},queryString:r,cta:{cta_type:"link",title:e.menu_bottom_link_title,site_page:e.site_page||[],external_link:e.external_url||"",target:e.target||"_self",tracking_code:e.tracking_code||""}})},n)})})};function MobileMainItems(e){var t=e.largeMenuItems,n=e.onCategoryClick,i=e.debugBorderOn,c=e.activeCategory,u=e.smallMenuItems,d=e.handleClose,x=e.isOpen,f=(0,p.Z)(),h=(0,l._)((0,K.oO)(),2),v=h[0],g=h[1],y=(0,l._)((0,V.H)(),2),w=y[0],C=y[1];return(0,r.useEffect)(function(){var e,t;v?(e=(0,a._)(function(){return(0,o.Jh)(this,function(e){switch(e.label){case 0:return[4,C(w.current,{opacity:1,x:0,position:"relative"},{damping:30,stiffness:200,type:"spring",duration:.3,delay:x?0:.5})];case 1:return e.sent(),[2]}})}),function(){return e.apply(this,arguments)})():(t=(0,a._)(function(){return(0,o.Jh)(this,function(e){switch(e.label){case 0:if(x)return[3,2];return[4,C(w.current,{opacity:0,position:"absolute"},{duration:.1,delay:.5})];case 1:return e.sent(),[3,4];case 2:return[4,C(w.current,{opacity:0,x:-500,position:"absolute"},{damping:30,stiffness:200,type:"spring",duration:.3})];case 3:e.sent(),e.label=4;case 4:return[2]}})}),function(){return t.apply(this,arguments)})().then(function(){g()})},[v]),(0,s.jsxs)(j.E.div,{initial:{opacity:0,x:-500,position:"absolute"},ref:w,className:(0,m.Z)("flex h-full w-screen flex-col justify-between gap-6 pb-10",i?"border border-blue-500":""),children:[(0,s.jsx)(Menu_LargeMenuItems,{largeMenuItems:t,onCategoryClick:n,isMobile:f,debugBorderOn:i,activeCategory:c}),(0,s.jsx)(Menu_SmallMenuItems,{smallMenuItems:u,handleClose:d,activeCategory:c})]})}function MobileMenu(e){var t=e.debugBorderOn,n=e.activeCategory,i=e.activeFeaturedItems,c=e.activeCategoryItems,u=e.handleClose,d=e.setIsActive,x=e.isActive,f=e.isOpen,p=(0,l._)((0,K.oO)(),2),h=p[0],v=p[1],g=(0,l._)((0,V.H)(),2),y=g[0],w=g[1];return(0,r.useEffect)(function(){var e,t;h?(e=(0,a._)(function(){return(0,o.Jh)(this,function(e){switch(e.label){case 0:return[4,w(y.current,{opacity:1,x:0,position:"relative"},{damping:30,stiffness:200,type:"spring",duration:.3})];case 1:return e.sent(),[2]}})}),function(){return e.apply(this,arguments)})():(t=(0,a._)(function(){return(0,o.Jh)(this,function(e){switch(e.label){case 0:if(f)return[3,2];return[4,w(y.current,{opacity:0,position:"absolute"},{duration:.1})];case 1:return e.sent(),[3,4];case 2:return[4,w(y.current,{opacity:0,x:500,position:"absolute"},{damping:30,stiffness:200,type:"spring",duration:.3})];case 3:e.sent(),e.label=4;case 4:return[2]}})}),function(){return t.apply(this,arguments)})().then(function(){v()})},[x,h]),(0,s.jsxs)(j.E.div,{ref:y,initial:{opacity:0,x:500,position:"absolute"},id:"category-items",className:(0,m.Z)("hide-scroll relative h-full overflow-y-hidden",t?"border border-red-500":""),children:[(0,s.jsxs)("div",{className:"h-full w-full overflow-y-scroll",children:[(0,s.jsx)(Menu_MobileBackFromCategoryButton,{setIsActive:d,activeCategory:n}),(0,s.jsx)(Menu_MobileFeaturedItems,{debugBorderOn:t,activeFeaturedItems:i,handleClose:u}),(0,s.jsx)(Menu_MenuCategoryList,{activeCategory:n,debugBorderOn:t,activeCategoryItems:c,handleClose:u})]}),(0,s.jsx)("div",{className:"absolute bottom-0 z-50 h-32 w-full bg-gradient-to-t from-primary-10 via-primary-10 via-30% to-transparent transition-all delay-0 duration-200"})]})}var Menu_MobileMenu=function(e){var t=e.debugBorderOn,n=e.isActive,i=e.largeMenuItems,r=e.smallMenuItems,a=e.activeCategory,l=e.onCategoryClick,o=e.handleClose,c=e.setIsActive,u=e.activeFeaturedItems,d=e.activeCategoryItems,x=e.isOpen;return(0,s.jsx)("div",{className:(0,m.Z)("hide-scroll relative flex h-full w-screen justify-center overflow-x-hidden",t?"border-primary-800 border":""),children:(0,s.jsx)("div",{className:"absolute left-0 top-0 mt-28 flex h-[calc(100%-7rem)] flex-row",children:(0,s.jsx)(U.M,{mode:"sync",children:n?(0,s.jsx)(MobileMenu,{activeCategory:a,debugBorderOn:t,activeFeaturedItems:u,activeCategoryItems:d,handleClose:function(){o(),setTimeout(function(){return c(!1)},1e3)},setIsActive:c,isOpen:x,isActive:n},"category-menu-".concat(a)):(0,s.jsx)(MobileMainItems,{debugBorderOn:t,largeMenuItems:i,onCategoryClick:l,activeCategory:a,smallMenuItems:r,handleClose:o,isOpen:x},"main-menu")})})})},Menu_DesktopFeaturedItemsColumn=function(e){var t=e.debugBorderOn,n=e.activeFeaturedItems,i=e.handleClose,r=(0,B.useRouter)().push;return(0,s.jsx)("div",{className:(0,m.Z)("max-h-[1000px] md:sticky md:top-0 md:mb-20 md:flex md:h-full md:flex-col md:items-end md:gap-6",t?"border border-blue-500":""),children:n.map(function(e,t){return(0,s.jsx)(Menu_MenuFeaturedItem,{item:e,navigateToPage:function(){var t=e.filter,n=e.target;if(e.site_page.length>0){if("_blank"!==n)return r({pathname:e.site_page[0].url,query:(0,M.qA)(t)}),i();
1var s=(0,M.qA)(t),a=(0,M.aZ)(e.site_page[0].url,s);return window.open(a,"_blank"),i()}return X().isEmpty(e.external_url)?r("/404"):window.open(e.external_url,e.target||"_blank"),i()}},t)})})},components_Menu=function(e){var t,n,a,o,d=e.open,x=void 0!==d&&d,f=e.handleClose,h=void 0===f?function(){return null}:f,v=e.data,g=void 0===v?{largeMenuItems:[],smallMenuItems:[]}:v,y=(0,p.Z)(),w=(0,Y.Z)(),C=(0,l._)((0,r.useState)(0),2),_=C[0],b=C[1],N=(0,r.useRef)(null),k=(0,r.useRef)(null),M=(0,l._)((0,r.useState)(!1),2),I=M[0],L=M[1],S=(0,l._)((0,r.useState)(!1),2),E=S[0],Z=S[1],H=(0,l._)((0,r.useState)([]),2),T=H[0],B=H[1],F=(0,l._)((0,r.useState)(null),2),A=F[0],R=F[1],O=(0,l._)((0,r.useState)([]),2),z=O[0],q=O[1],D=(n=(t=(0,l._)((0,V.H)(),2))[0],a=t[1],o={type:"spring",damping:50,stiffness:150},(0,r.useEffect)(function(){var e=I?[["nav",{y:"0%"},{ease:[.9,.05,.05,1.05],duration:1.3}],["#left-items",{opacity:1,y:0},(0,u._)((0,i._)({},o),{at:"-0.2",delay:(0,P.E)(.05)})],["#middle-items",{opacity:1,y:0},(0,u._)((0,i._)({},o),{at:"<",delay:(0,P.E)(.05)})],["#featured-item",{opacity:1,y:0},(0,i._)({delay:(0,P.E)(.02),at:"<"},o)]]:[["#featured-item",{opacity:0},{duration:.4}],["#middle-items",{opacity:0,y:10},{damping:30,stiffness:200,type:"spring",duration:.3,at:"-0.5",delay:(0,P.E)(.02)}],["#left-items",{opacity:0,y:10},{damping:30,stiffness:200,type:"spring",duration:.3,at:"<",delay:(0,P.E)(.02)}],["nav",{y:"-100%"},{ease:[.9,.1,.1,.99],duration:.5,at:"-0.3"}]];a((0,c._)(e))},[I,A]),n),setToInitialValues=function(){R(g.largeMenuItems[0].title),B(g.largeMenuItems[0].sub_category),q(g.largeMenuItems[0].featured_items.featured_item)},U=(0,r.useCallback)(function(e,t,n){y?(Z(!0),R(e),B(t),q(n),b(function(e){return e+1})):(Z(!1),R(e),B(t),q(n),b(function(e){return e+1}))},[y]);return(0,r.useEffect)(function(){var e,t;N&&N.current&&(null==N||null===(e=N.current)||void 0===e||e.scroll({top:0,behavior:"smooth"})),k&&k.current&&(null==k||null===(t=k.current)||void 0===t||t.scroll({top:0,behavior:"smooth"}))},[A]),(0,r.useEffect)(function(){I&&!y&&Z(!1),!1===I&&(Z(!1),setToInitialValues())},[I,y]),(0,r.useEffect)(function(){L(x),x?document.body.style.overflow="hidden":document.body.style.overflow="unset"},[x]),(0,r.useEffect)(function(){y?R("none"):setToInitialValues()},[]),(0,s.jsx)("div",{ref:D,children:(0,s.jsx)(j.E.nav,{initial:{y:"-100%"},className:(0,m.Z)("fixed left-0 top-0 z-[999] h-full w-full bg-primary-10",I?"overflow-scroll":"overflow-hidden"),children:y?(0,s.jsx)(Menu_MobileMenu,{debugBorderOn:!1,isActive:E,largeMenuItems:g.largeMenuItems,smallMenuItems:g.smallMenuItems,activeCategory:A,onCategoryClick:U,handleClose:h,setIsActive:Z,isOpen:I,activeFeaturedItems:z,activeCategoryItems:T,keyIncrement:_}):(0,s.jsx)("div",{className:(0,m.Z)("relative flex h-full w-screen justify-center overflow-x-hidden pt-28 sm:h-screen sm:w-full sm:overflow-auto sm:pl-11 sm:pt-36 md:h-full md:overflow-hidden md:pl-18 md:pr-18",""),children:(0,s.jsxs)("div",{className:" flex w-full max-w-[1440px] justify-between gap-8 md:gap-10 lg:gap-12 xl:gap-14",children:[(0,s.jsxs)("div",{className:(0,m.Z)("z-[60] flex w-screen flex-col justify-between gap-6 pb-10 sm:w-full sm:min-w-fit sm:max-w-[330px] sm:pb-20","",E?"hidden":""),children:[(0,s.jsx)(Menu_LargeMenuItems,{largeMenuItems:null==g?void 0:g.largeMenuItems,onCategoryClick:U,isMobile:y,debugBorderOn:!1,activeCategory:A}),(0,s.jsx)(Menu_SmallMenuItems,{smallMenuItems:null==g?void 0:g.smallMenuItems,handleClose:h,activeCategory:A})]}),(0,s.jsxs)("div",{className:"relative flex h-full flex-auto flex-row gap-8 overflow-x-hidden overflow-y-scroll md:gap-10 lg:gap-12 xl:gap-14",children:[(0,s.jsx)("div",{className:"fixed bottom-0 right-0 z-50 h-40 w-full bg-gradient-to-t from-primary-10 via-primary-10 via-60% to-transparent"}),(0,s.jsxs)("div",{ref:k,id:"category-items",className:(0,m.Z)("hide-scroll absolute w-full flex-col overflow-hidden sm:static sm:flex sm:h-max sm:flex-auto",""),children:[y&&E&&(0,s.jsx)(Menu_MobileBackFromCategoryButton,{setIsActive:Z,activeCategory:A}),w&&(0,s.jsx)("div",{className:"w-full overflow-y-hidden overflow-x-scroll",children:(0,s.jsx)(Menu_MobileFeaturedItems,{debugBorderOn:!1,activeFeaturedItems:z,handleClose:h})}),(0,s.jsx)(Menu_MenuCategoryList,{activeCategory:A,debugBorderOn:!1,activeCategoryItems:T,handleClose:h})]}),w?null:(0,s.jsx)("div",{className:"sticky right-0 top-0 z-[60] h-full flex-1 pb-6 [&_*]:min-h-0",id:"here-is-me",children:(0,s.jsx)(Menu_DesktopFeaturedItemsColumn,{debugBorderOn:!1,activeFeaturedItems:z,handleClose:h})})]})]})})})})},$=n(35503),Announcement_Announcement=function(e){var t,n,i,a,o=e.announcements,u=e.isMobile,d=(0,l._)(r.useState(0),2),x=d[0],f=d[1],p=(0,l._)(r.useState([]),2),h=p[0],v=p[1],g=(0,l._)(r.useState(0),2),y=g[0],w=g[1];return r.useEffect(function(){var e=o.sort(function(e,t){var n,i,s=new Date(null===(n=e.publish_details)||void 0===n?void 0:n.time);return new Date(null===(i=t.publish_details)||void 0===i?void 0:i.time).getTime()-s.getTime()});v((0,c._)(e).concat([{title:"To view all announcements, please click here",url:"/announcements",publish_details:{time:""}}]))},[o]),r.useEffect(function(){var e=setInterval(function(){w(function(e){return(f(function(e){return e+1}),e===h.length-1)?0:e+1})},4e3);return function(){return clearInterval(e)}},[h.length]),(0,s.jsx)(U.M,{mode:"popLayout",children:(0,s.jsx)(j.E.div,{initial:{opacity:0}
1,animate:{opacity:1,transition:{duration:.3}},exit:{opacity:0},className:"announcement relative flex w-full items-center justify-center px-2 py-2 md:max-w-md",children:(0,s.jsxs)(j.E.a,{className:(0,m.Z)("absolute ml-4 flex w-full cursor-pointer flex-row items-center justify-center gap-4 text-center text-primary transition-all duration-300 ease-in-out hover:text-primary-50",u?"w-[290px] overflow-clip text-ellipsis whitespace-nowrap text-smallBody":"text-body"),href:null===(t=h[y])||void 0===t?void 0:t.url,children:[(0,s.jsx)("div",{className:"hidden flex-col items-center justify-center rounded-full bg-primary-10 p-1.5 sm:flex",children:(0,s.jsx)($.zA,{className:"h-5 w-5 fill-primary text-primary"})}),(0,s.jsx)("p",{className:"truncate text-center",children:(null===(n=h[y])||void 0===n?void 0:n.title.length)>50&&!u?(null===(i=h[y])||void 0===i?void 0:i.title.slice(0,50))+"...":null===(a=h[y])||void 0===a?void 0:a.title})]})},x)})},G=n(66720),Header_Header=function(e){var t,n=e.logo,i=e.menu_top_links,c=e.menu_bottom_links,u=e.announcements,d=e.menu_button_visible,x=e.search_button_visible,h=e.announcement_visible,g=e.is_multi_language,w=(0,r.useRef)(null),C=(0,l._)((0,r.useState)(!1),2),_=C[0],b=C[1],N=(0,l._)((0,r.useState)(!1),2),k=N[0],I=N[1],L=(0,l._)((0,r.useState)(!1),2),S=L[0],E=L[1],Z=(0,l._)((0,r.useState)("EN"),2),H=Z[0],T=Z[1];(0,O.u)("Escape",function(){b(!1),E(!1)}),(0,G.Z)({ref:w,handler:function(){return E(!1)}}),(0,r.useEffect)(function(){var e=new URL(window.location.href).searchParams.get("language");if(e){var t=q.find(function(t){return t.locale===e});t?T(t.code):T("EN")}},[]);var V=(0,D.Z)(),P=V.direction,B=V.scrollPosition,F=(0,p.Z)(),A={largeMenuItems:null==i?void 0:i.category,smallMenuItems:c},R=(t=(0,a._)(function(){return(0,o.Jh)(this,function(e){return I(!0),document.body.style.overflow="hidden",[2]})}),function(){return t.apply(this,arguments)}),selectLanguage=function(e){T(e.code),E(!1);var t=new URL(window.location.href);t.searchParams.set("language",e.locale),window.location.href=t.href};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"h-20 opacity-0 sm:h-[136px]","aria-hidden":!0}),(0,s.jsx)("header",{id:"site-header",className:(0,m.Z)("fixed z-[1001] flex h-20 w-full justify-center px-6 transition-all ease-in-out sm:px-8 md:px-18","left-0 top-0",_?"bg-transparent duration-1000 sm:h-[136px]":"duration-100",B>50&&!_&&"rounded-b-2xl bg-white shadow-sm sm:h-20 sm:rounded-b-3xl sm:shadow-[0_5px_30px] sm:shadow-black/10","down"===P&&!_&&B>1e3&&"translate-y-[-100%]",B>0?"sm:h-20":"sm:h-[136px]"),children:(0,s.jsxs)("div",{className:"relative flex w-full max-w-[1440px] items-center justify-between gap-4",children:[(0,s.jsx)(y(),{id:"logo",href:"/",onClick:function(){b(!1)},className:"relative flex min-h-[32px] min-w-[104px] cursor-pointer sm:min-h-[46px] sm:min-w-[152px]",children:(0,s.jsx)(v(),{src:null==n?void 0:n.url,alt:"Thomson logo",quality:100,fill:!0,className:"object-contain"})}),h&&(0,s.jsx)(s.Fragment,{children:_?null:F?(0,s.jsx)(j.E.div,{animate:{display:B>0?"none":"block"},className:"absolute left-0 top-[80px] w-full",children:(0,s.jsx)(Announcement_Announcement,{isMobile:F,announcements:u})}):(0,s.jsx)(Announcement_Announcement,{isMobile:F,announcements:u})}),d&&(0,s.jsxs)("div",{className:"flex items-center gap-8",children:[g&&(0,s.jsxs)("div",{className:"globe relative flex items-center gap-1.5",ref:w,children:[(0,s.jsxs)("div",{onClick:function(){E(!S)},className:"flex w-full cursor-pointer items-center justify-between gap-1.5",children:[(0,s.jsx)(z.D_L,{className:"font-bold text-primary"}),(0,s.jsx)("span",{className:"hidden w-8 text-sm font-medium text-primary sm:block",children:H})]}),S&&(0,s.jsx)("div",{className:"absolute -left-20 top-full mt-3 w-56 overflow-hidden rounded-md bg-white shadow-lg sm:left-0",children:(0,s.jsx)("div",{className:"rounded-md",children:q.map(function(e){return(0,s.jsxs)("button",{onClick:function(){return selectLanguage(e)},className:(0,m.Z)("flex w-full items-center justify-between px-4 py-4 text-sm",H===e.code?"text-primary":"","hover:bg-primary-10"),children:[(0,s.jsx)("span",{children:e.label}),H===e.code&&(0,s.jsx)(f.UgA,{className:"text-primary"})]},e.code)})})})]}),!_&&x&&(0,s.jsx)("button",{onClick:R,children:(0,s.jsx)(f.jRj,{className:"text-primary transition-colors duration-300 hover:text-primary-50"})}),(0,s.jsxs)("button",{onClick:function(){return b(!_)},className:(0,m.Z)("flex w-fit items-center gap-2 rounded-full bg-primary-10 px-4 py-4 text-sm font-normal text-primary transition-all duration-300 ease-woosh sm:px-6",_?"bg-white":"bg-primary-10","hover:bg-primary hover:text-white"),children:[(0,s.jsx)("span",{className:"hidden sm:block",children:_?(0,M.cv)("close"):(0,M.cv)("menu")}),_?(0,s.jsx)(f.q5L,{className:"stroke-[2.5]"}):(0,s.jsx)(f.cur,{className:"stroke-[2.5]"})]})]})]})}),d&&(0,s.jsx)(components_Menu,{open:_,data:A,handleClose:function(){return b(!1)}}),x&&(0,s.jsx)(components_SearchPage,{modal:k,setModal:I})]})},ee=n(60155),NewsLetter_NewsLetter=function(e){var t=e.newsLetter,n=t.text,i=t.action_button,a=(0,r.useMemo)(function(){return i},[i]),l=!0;return a.site_page&&0!==a.site_page.length||a.external_link||(l=!1),(0,s.jsxs)("div",{className:"w-full border-b-primary",children:[(0,s.jsx)("div",{className:"mb-4 max-w-[560px] text-heading4 text-secondary",children:n}),l&&(0,s.jsx)(Q.ZP,{cta:a})]})},SocialMediaIcon=function(e){switch(e.indentifier){case"FB":return(0,s.jsx)(f.Bsb,{className:"text-2xl"});case"IN":return(0,s.jsx)(f.JID,{className:"text-2xl"});case"YT":return(0,s.jsx)(f.Dp0,{className:"text-2xl"});case"LI":return(0,s.jsx)(f.qOw,{className:"text-2xl"});case"TT":return(0,s.jsx)($.HT,{className:"text-2xl",size:24});default:return null}},SocialMediaIcons_SocialMediaIcons=function(e){var t,n=e.socialLink;return(0,s.jsx)(y(),{href:(null==n?void 0:null===(t=n.social_link)||void 0===t?void 0:t.href)||"",target:"_blank",className:"text-primary transition-colors duration-300 ease-woosh hover:text-primary-50",children:(0,s.jsx)(SocialMediaIcon,{indentifier:null==n?void 0:n.social_link_identifier})})},Links_Links=function(e){var t=e.columnLinks,n=(0,r.useCallback)(function(e,t){var n,i="";return e.external_link?i=e.external_link:e.site_page&&e.site_page.length>0&&(null===(n=e.site_page[0])||void 0===n?void 0:n.url)&&(i=e.site_page[0].url),(0,s.jsxs)(y(),{className:"flex cursor-pointer flex-row items-center gap-[8px] pr-2 hover:text-primary-50",href:i,target:e.target,children:[t," ",e.external_link&&(0,s.jsx)(f.AlO,{size:16})]},t)},[]),i=(0,r.useCallback)(function(){var e=[];return t.forEach(function(t,i){t.quick_link&&e.push(n(t.quick_link,t.title))}),e},[t,n]);return(0,s.jsx)("div",{className:"flex flex-col gap-4 text-primary sm:gap-2",children:i()})},LegalText_LegalText=function(e){var t=e.legalLinks,n=e.legalText,i=new Date().getFullYear(),a=(0,r.useCallback)(function(e,t){var n,i="";return e.external_link?i=e.external_link:e.site_page&&e.site_page.length>0&&(null===(n=e.site_page[0])||void 0===n?void 0:n.url)&&(i=e.site_page[0].url),(0,s.jsx)(y(),{className:"text-tertiary50 min-w-max cursor-pointer text-sm hover:text-primary-50",href:i,target:e.target,children:t})},[]);return(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)("div",{className:"flex justify-between",children:(0,s.jsx)("div",{className:"flex flex-wrap",children:t.map(function(e,n){return(0,s.jsxs)("div",{className:"flex",children:[a(e.link,e.title),t.length-1!==n&&(0,s.jsx)("div",{className:"mx-2 my-1 border-r-[1px] border-tertiary"})]},n)})})})}),(0,s.jsx)("div",{className:"mt-4 text-sm text-tertiary-50",children:n?n.split("{currentYear}").join(i.toString()):""})]})},utils_handleBackToTop=function(){window.scrollTo({top:0,behavior:"smooth"})},BackToTop_BackToTop=function(){return(0,s.jsxs)("div",{className:"my-4 flex cursor-pointer items-center gap-2 whitespace-nowrap text-sm uppercase capitalize text-primary hover:text-primary-50",onClick:utils_handleBackToTop,children:["Back to top",(0,s.jsx)(f.iRh,{})]})},Footer_Footer=function(e){var t=e.handleClick,n=e.columnLinks1,i=e.columnLinks2,a=e.legalLinks,o=e.legalText,c=e.newsLetter,u=e.socialMediaLinks,d=e.isMultiLanguage,x=(0,l._)((0,r.useState)(!1),2),p=x[0],h=x[1],v=(0,l._)((0,r.useState)("EN"),2),g=v[0],y=v[1],w=(0,r.useRef)(null);(0,G.Z)({ref:w,handler:function(){return h(!1)}}),(0,r.useEffect)(function(){var e=new URL(window.location.href).searchParams.get("language");if(e){var t=q.find(function(t){return t.locale===e});t?y(t.code):y("EN")}},[]);var selectLanguage=function(e){y(e.code),h(!1);var t=new URL(window.location.href);t.searchParams.set("language",e.locale),window.location.href=t.href},C=(0,r.useMemo)(function(){var e=q.find(function(e){return e.code===g});return e?e.short:g},[g]);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex flex-col justify-center px-6 sm:px-8 sm:pt-12 md:px-18",children:[(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-[1440px] flex-col justify-stretch md:flex-row",children:[(0,s.jsxs)("div",{className:"mt-14 w-full px-0 sm:w-1/2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(NewsLetter_NewsLetter,{newsLetter:c,handleClick:t})}),(0,s.jsx)("div",{className:"mt-8 flex items-center gap-8",children:u.map(function(e,t){return(0,s.jsx)(SocialMediaIcons_SocialMediaIcons,{socialLink:e},t)})})]}),(0,s.jsxs)("div",{className:"mt-14 flex w-full flex-col px-0 sm:w-1/2 sm:flex-row",children:[(0,s.jsx)("div",{className:"w-full sm:w-6/12",children:(null==n?void 0:n.length)>0&&(0,s.jsx)(Links_Links,{columnLinks:n})}),(0,s.jsx)("div",{className:"mt-4 w-full sm:mt-0 sm:w-6/12",children:(null==i?void 0:i.length)>0&&(0,s.jsx)(Links_Links,{columnLinks:i})})]})]}),(0,s.jsx)("hr",{className:"m-auto mt-14 w-full"}),(0,s.jsxs)("div",{className:"w-100% m-auto mb-[80px] flex w-full max-w-[1440px] flex-col-reverse justify-between gap-[16px] sm:flex-row",children:[(0,s.jsx)("div",{children:(null==a?void 0:a.length)>0&&(0,s.jsx)(LegalText_LegalText,{legalLinks:a,legalText:o})}),(0,s.jsxs)("div",{className:"mt-4 flex gap-8 sm:mt-6",children:[d&&(0,s.jsxs)("div",{className:"globe relative flex items-center gap-1.5",ref:w,children:[(0,s.jsxs)("div",{onClick:function(){h(!p)},className:"flex w-full cursor-pointer items-center justify-between gap-1.5",children:[(0,s.jsx)(z.D_L,{className:"font-bold text-primary"}),(0,s.jsx)("span",{className:"w-fit text-sm text-primary",children:C}),p?(0,s.jsx)(ee._i7,{className:"text-primary"}):(0,s.jsx)(ee.pzk,{className:"text-primary"})]}),p&&(0,s.jsx)("div",{className:"absolute bottom-14 left-0 mt-3 w-56 overflow-hidden rounded-md bg-white shadow-lg sm:-left-32",children:(0,s.jsx)("div",{className:"rounded-md",children:q.map(function(e){return(0,s.jsxs)("button",{onClick:function(){return selectLanguage(e)},className:(0,m.Z)("flex w-full items-center justify-between px-4 py-4 text-sm",g===e.code?"text-primary":"","hover:bg-primary-10"),children:[(0,s.jsx)("span",{children:e.label}),g===e.code&&(0,s.jsx)(f.UgA,{className:"text-primary"})]},e.code)})})})]}),(0,s.jsx)(BackToTop_BackToTop,{})]})]})]})})},et=n(49429),en=n(24003),ei=n(78036),es=n(56711),er=n(85977);function Layout(e){var t,n,a,l,o,c=e.children,u=e.pageProps,d=u.footer,m=u.header,x=u.siteSettings,f=u.pageUID,h=u.page,v=(0,p.Z)(),g=(0,B.useRouter)(),y=null==u?void 0:null===(t=u.article)||void 0===t?void 0:t.multi_language,w={handleClick:function(){return console.log("submit successfully")},columnLinks1:null==d?void 0:null===(n=d.first_column_links)||void 0===n?void 0:n.quick_links,columnLinks2:null==d?void 0:null===(a=d.second_column_links)||void 0===a?void 0:a.quick_links,newsLetter:null==d?void 0:d.newsletter_subscription,legalLinks:null==d?void 0:null===(l=d.bottom_links)||void 0===l?void 0:l.links,legalText:null==d?void 0:d.copyright_msg,socialMediaLinks:null==d?void 0:d.social_links,isMultiLanguage:y},C={menu_top_links:null==m?void 0:m.menu_top_links,menu_bottom_links:null==m?void 0:m.menu_bottom_links,announcements:null==m?void 0:m.announcements,menu_button_visible:null==m?void 0:m.menu_button_visible,search_button_visible:null==m?void 0:m.search_button_visible,announcement_visible:null==m?void 0:m.announcement_visible,logo:null==m?void 0:m.logo,is_multi_language:y},_=!1;return(null==h?void 0:h.contentType)==="form"&&"page"===(null==h?void 0:h.page).display_as&&(_=!0),(0,r.useEffect)(function(){(0,er.ZP)("init",{appId:"H11YRH4YIZ",apiKey:"048d306f4a3b56a38b42f69fb181acf0"})},[]),(0,s.jsxs)(s.Fragment,{children:[(null==x?void 0:x.theme_applied)&&x.colorscheme&&(0,s.jsx)("style",{children:x.colorscheme}),(0,s.jsx)(U.M,{mode:"wait",children:(0,s.jsx)(en.QueryParamProvider,{adapter:ei.Z,children:(0,s.jsx)(N.p8,{siteWideSettings:x,logo:null==m?void 0:null===(o=m.logo)||void 0===o?void 0:o.url,children:(0,s.jsx)(et.ny,{open:!1,setOpen:function(){},onClose:function(){},form:void 0,setForm:function(){},children:(0,s.jsx)(es.dR,{focusedPin:{latitude:1.35,longitude:103.851959,address:"",title:"",uid:"",zoom:11},modalState:!1,setmodalState:function(){},setFocusedPin:function(){},count:0,setCount:function(){},children:(0,s.jsxs)(j.E.main,{style:{overflowX:"clip"},className:(null==x?void 0:x.theme_applied)?"themed":"",children:[!_&&(0,s.jsx)(Header_Header,(0,i._)({},C)),(0,s.jsxs)(j.E.div,{initial:{opacity:0}
1,onAnimationStart:function(){return window.scrollTo({top:0,behavior:"instant"})},onAnimationComplete:function(){if(g.asPath.includes("#")){var e=g.asPath.split("#")[1],t=document.getElementById(e);t&&window.scrollTo({behavior:"smooth",top:t.getBoundingClientRect().top-document.body.getBoundingClientRect().top-(v?70:170)})}},animate:{opacity:1,y:[30,0],transition:{duration:1,ease:[.6,.05,.01,.9]}},exit:{opacity:0,transition:{duration:1,ease:[.6,.05,.01,.9]}},children:[c,!_&&d&&(0,s.jsx)(Footer_Footer,(0,i._)({},w))]},f||g.asPath)]})})})})})})]})}},35503:function(e,t,n){"use strict";n.d(t,{HT:function(){return TikTokIcon},NC:function(){return StethoscopeIcon},PE:function(){return QuoteIcon},Wr:function(){return TwitterXIcon},tH:function(){return ClinicIcon},wo:function(){return TeleconsultIcon},zA:function(){return BullhornIcon}});var i=n(85893),s=n(86010);function ClinicIcon(e){var t=e.size,n=void 0===t?16:t,s=e.className;return(0,i.jsxs)("svg",{width:n,height:n,viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:s,children:[(0,i.jsx)("path",{d:"M9.83329 9.16665C9.83329 8.70641 9.4602 8.33331 8.99996 8.33331C8.53972 8.33331 8.16663 8.70641 8.16663 9.16665V10.8333H6.49996C6.03972 10.8333 5.66663 11.2064 5.66663 11.6666C5.66663 12.1269 6.03972 12.5 6.49996 12.5H8.16663V14.1666C8.16663 14.6269 8.53972 15 8.99996 15C9.4602 15 9.83329 14.6269 9.83329 14.1666V12.5H11.5C11.9602 12.5 12.3333 12.1269 12.3333 11.6666C12.3333 11.2064 11.9602 10.8333 11.5 10.8333H9.83329V9.16665Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.51158 1.00885C9.21065 0.7748 8.78927 0.7748 8.48834 1.00885L0.988342 6.84219C0.785353 7.00007 0.666626 7.24282 0.666626 7.49998V16.6666C0.666626 17.3297 0.930018 17.9656 1.39886 18.4344C1.8677 18.9033 2.50358 19.1666 3.16663 19.1666H14.8333C15.4963 19.1666 16.1322 18.9033 16.6011 18.4344C17.0699 17.9656 17.3333 17.3297 17.3333 16.6666V7.49998C17.3333 7.24282 17.2146 7.00007 17.0116 6.84219L9.51158 1.00885ZM2.33329 16.6666V7.90755L8.99996 2.72236L15.6666 7.90755V16.6666C15.6666 16.8877 15.5788 17.0996 15.4225 17.2559C15.2663 17.4122 15.0543 17.5 14.8333 17.5H3.16663C2.94561 17.5 2.73365 17.4122 2.57737 17.2559C2.42109 17.0996 2.33329 16.8877 2.33329 16.6666Z",fill:"currentColor"})]})}function StethoscopeIcon(e){var t=e.size,n=void 0===t?18:t,s=e.className;return(0,i.jsx)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:s,children:(0,i.jsx)("path",{d:"M6.18182 3.81136C6.39394 4.43484 6.04924 5.10657 5.41667 5.3144L4.42424 5.63728V10.1241C4.42424 12.0911 6.05303 13.6869 8.06061 13.6869C10.0682 13.6869 11.697 12.0911 11.697 10.1241V5.63728L10.7083 5.3144C10.072 5.10657 9.73106 4.43484 9.94318 3.81136C10.1553 3.18788 10.8409 2.85387 11.4773 3.0617L12.4659 3.38457C13.4545 3.70745 14.1212 4.61298 14.1212 5.63728V10.1241C14.1212 12.9892 12.053 15.3792 9.29924 15.9396C9.53788 18.0142 11.3333 19.6248 13.5152 19.6248C15.8598 19.6248 17.7576 17.7655 17.7576 15.4683V12.8444C16.6856 12.388 15.9394 11.3414 15.9394 10.1241C15.9394 8.48377 17.2955 7.15516 18.9697 7.15516C20.6439 7.15516 22 8.48377 22 10.1241C22 11.3414 21.2538 12.388 20.1818 12.8444V15.4683C20.1818 19.0756 17.197 22 13.5152 22C9.99621 22 7.11742 19.3316 6.86742 15.947C4.09091 15.4015 2 13.004 2 10.1241V5.63728C2 4.61669 2.66667 3.70745 3.65909 3.38457L4.64773 3.0617C5.28409 2.85387 5.9697 3.19159 6.18182 3.81136ZM18.9697 11.3117C19.2912 11.3117 19.5995 11.1866 19.8268 10.9639C20.0541 10.7412 20.1818 10.4391 20.1818 10.1241C20.1818 9.80916 20.0541 9.50709 19.8268 9.28438C19.5995 9.06166 19.2912 8.93654 18.9697 8.93654C18.6482 8.93654 18.3399 9.06166 18.1126 9.28438C17.8853 9.50709 17.7576 9.80916 17.7576 10.1241C17.7576 10.4391 17.8853 10.7412 18.1126 10.9639C18.3399 11.1866 18.6482 11.3117 18.9697 11.3117Z",fill:"currentColor"})})}function QuoteIcon(e){var t=e.size,n=void 0===t?16:t,s=e.className;return(0,i.jsx)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:s,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.9732 18.5C20.9603 18.5 22.5 16.7879 22.5 14.8003V12.3112C22.5 10.3072 20.9
1621 8.59317 18.9732 8.59317L18.3936 8.59317V6.49756C18.3936 5.95617 17.9411 5.5 17.3978 5.5C16.6231 5.5 15.9796 5.89024 15.44 6.32032C14.8811 6.76568 14.3536 7.3548 13.9059 8.01014C13.0296 9.27519 12.3133 10.8685 12.3133 12.3112L12.3133 14.7996C12.3133 16.7898 13.8549 18.4993 15.8572 18.4994L18.9732 18.5ZM8.17695 18.5C10.1635 18.5 11.7031 16.7878 11.7031 14.8003L11.7031 12.3112C11.7031 10.3073 10.1653 8.59317 8.17696 8.59317H7.59739V6.49756C7.59739 6.20719 7.46372 5.95956 7.29213 5.79152C7.1224 5.6253 6.87796 5.5 6.6022 5.5C5.83095 5.5 5.1704 5.8865 4.6268 6.32021C4.06336 6.76809 3.55426 7.35959 3.11218 8.00836C2.21581 9.27565 1.5 10.8687 1.5 12.3112V14.7996C1.5 16.7919 3.06188 18.4993 5.04452 18.4994L8.17695 18.5ZM20.509 14.7996C20.509 15.7948 19.7863 16.486 18.9732 16.486H15.8585C15.0254 16.486 14.305 15.7918 14.305 14.7996L14.305 12.3106C14.305 11.936 14.4235 11.4152 14.651 10.8353C14.8757 10.2627 15.1931 9.66737 15.5585 9.15032L15.5627 9.14427C15.8392 8.74052 16.1272 8.39468 16.4026 8.12931V9.59073C16.4026 10.1317 16.8547 10.5883 17.3978 10.5883H18.9732C19.7755 10.5883 20.509 11.3045 20.509 12.3106V14.7996ZM9.69504 14.7996C9.69504 15.8006 8.98459 16.486 8.17695 16.486H5.04452C4.23139 16.486 3.50872 15.7948 3.50872 14.7996L3.50872 12.3106C3.50872 11.936 3.62722 11.4152 3.85481 10.8353C4.0795 10.2627 4.39686 9.66734 4.76224 9.15029L4.76746 9.14291L4.77241 9.13534C5.03253 8.73745 5.31495 8.39428 5.58803 8.12997V9.59073C5.58803 10.1551 6.0824 10.5883 6.6022 10.5883H8.17695C8.97435 10.5883 9.69504 11.2985 9.69504 12.3106L9.69504 14.7996Z",fill:"currentColor"})})}function TeleconsultIcon(e){var t=e.className,n=e.size,s=void 0===n?16:n;return(0,i.jsx)("svg",{width:s,height:s,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,i.jsx)("g",{id:"mobile",children:(0,i.jsx)("path",{id:"Vector",d:"M15.5093 2.00028H8.49066C7.1172 2.00028 6 3.15906 6 4.58358V19.417C6 20.8415 7.1174 22 8.49066 22H15.5093C16.8828 22 18 20.8412 18 19.417L17.9997 4.58358C18.0003 3.15878 16.8828 2 15.5096 2L15.5093 2.00028ZM16.8694 19.4172C16.8694 20.195 16.2593 20.8281 15.5093 20.8281H8.49066C7.74067 20.8281 7.13059 20.1953 7.13059 19.4172V17.9826H16.8699L16.8694 19.4172ZM16.8694 16.8107H7.13006V7.1904H16.8694V16.8107ZM16.8694 6.01829H7.13006V4.58393C7.13006 3.8056 7.74016 3.17273 8.49012 3.17273H15.5088C16.2588 3.17273 16.8689 3.80555 16.8689 4.58393V6.01829H16.8694ZM8.93082 13.646H10.4121V15.1825C10.4121 15.506 10.665 15.7685 10.9772 15.7685H13.0228C13.3348 15.7685 13.588 15.506 13.588 15.1825V13.646H15.069C15.381 13.646 15.6341 13.3836 15.6341 13.0601V10.9406C15.6341 10.6171 15.381 10.3547 15.069 10.3547H13.588V8.81894C13.588 8.49544 13.3348 8.233 13.0228 8.233H10.9772C10.665 8.233 10.4121 8.49544 10.4121 8.81894V10.3547H8.93082C8.61854 10.3547 8.36567 10.6171 8.36567 10.9406V13.0601C8.3654 13.3836 8.61828 13.646 8.93082 13.646ZM9.49598 11.5266H10.9772C11.2893 11.5266 11.5424 11.2641 11.5424 10.9406V9.40488H12.4574V10.9406C12.4574 11.2641 12.7101 11.5266 13.0226 11.5266H14.5036V12.4739H13.0226C12.7098 12.4739 12.4574 12.7363 12.4574 13.0598V14.5963H11.5424V13.0598C11.5424 12.7363 11.2893 12.4739 10.9772 12.4739H9.49598V11.5266ZM11.9998 20.159C12.4011 20.159 12.7263 19.821 12.7263 19.4057C12.7263 18.9903 12.4012 18.6524 11.9998 18.6524C11.5989 18.6524 11.2732 18.9901 11.2732 19.4057C11.2732 19.821 11.5984 20.159 11.9998 20.159ZM13.0228 4.01044H10.9772C10.665 4.01044 10.4121 4.27288 10.4121 4.59638C10.4121 4.91987 10.665 5.18232 10.9772 5.18232H13.0228C13.3348 5.18232 13.588 4.91987 13.588 4.59638C13.5882 4.27288 13.3348 4.01044 13.0228 4.01044Z"})})})}function TikTokIcon(e){var t=e.className,n=e.size,r=void 0===n?16:n;return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",className:(0,s.Z)("text-primary",t),children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5273 2.00008L13.0728 2V16.5731C13.0728 16.5731 13.0714 16.6117 13.0578 16.6885C13.0435 16.7688 13.0188 16.8722 12.9792 16.9895C12.8992 17.2265 12.7692 17.4893 12.5733 17.7296C12.2305 18.1503 11.5598 18.6667 10.0829 18.6667C8.4722 18.6667 7.62936 18.1952 7.17798 17.7287C6.69954 17.2342 6.45455 16.5312 6.45455 15.7557C6.45455 14.9681 6.69726 14.2023 7.24497 13.6442C7.76767 13.1116 8.78182 12.5505 10.7922 12.5505V9.21714C8.08546 9.21714 6.06712 9.99657 4.73664 11.3522C3.43117 12.6824 3 14.3525 3 15.7557C3 17.1709 3.44662 18.7568 4.6529 20.0034C5.88623 21.2781 7.7212 22 10.0829 22C12.5784 22 14.2662 21.045 15.2889 19.7899C16.2379 18.6253 16.5273 17.3112 16.5273 16.5731V9.21247C16.5555 9.22637 16.5838 9.24007 16.6121 9.25356C18.4681 10.1385 20.6377 10.
11962 22 10.1962V6.86292C20.635 6.86292 19.2047 6.77167 18.1425 6.2652C17.651 6.03083 17.2768 5.72381 17.014 5.31024C16.7495 4.89402 16.5273 4.2589 16.5273 3.26167V2.00008Z",fill:"currentColor"})})}function BullhornIcon(e){var t=e.className,n=e.size,s=void 0===n?16:n;return(0,i.jsx)("svg",{width:s,height:s,viewBox:"0 0 21 20",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7.54761L3.0078 7.47769C3.05164 7.08453 3.23301 6.58064 3.64098 6.15324C4.09094 5.68184 4.75705 5.36958 5.58446 5.36958C6.10247 5.36958 7.07962 5.35783 7.98734 5.33997C8.44026 5.33107 8.87064 5.32074 9.2137 5.3098C9.38553 5.30432 9.53155 5.29881 9.64565 5.29342C9.70268 5.29073 9.74871 5.28821 9.78415 5.28594C9.8188 5.28372 9.83437 5.2823 9.83636 5.28212C9.83656 5.2821 9.83655 5.2821 9.83655 5.2821L9.83667 5.28207L9.83831 5.2818C9.85918 5.27844 10.061 5.24585 10.4112 5.14769C10.7649 5.04855 11.2302 4.89341 11.7485 4.66458C12.7908 4.20437 14.0003 3.46723 14.9683 2.33008L14.9869 2.3082L15.0065 2.28707C15.1742 2.10607 15.4925 1.8151 15.9791 1.70734C16.5886 1.57239 17.1275 1.79065 17.4641 2.10836C17.7403 2.36908 17.8595 2.66628 17.913 2.83824C17.973 3.03055 18 3.227 18 3.40827V14.7934C18 14.8893 17.997 15.0548 17.9629 15.2352C17.9338 15.3887 17.8502 15.7427 17.5447 16.0573C17.1561 16.4575 16.6224 16.5852 16.152 16.5239C15.7722 16.4745 15.4721 16.3113 15.2872 16.1949C15.0726 16.0599 14.895 15.8773 14.8172 15.7974L14.8102 15.7902C14.777 15.7561 14.7046 15.68 14.6333 15.605L14.6329 15.6046C14.5704 15.5389 14.5088 15.474 14.4749 15.4389C14.2377 15.1935 13.9393 14.9028 13.5464 14.6021C12.8095 14.0381 11.6926 13.4022 9.99324 13.0514V16.0372C9.99324
117.3053 8.90421 18.3334 7.56081 18.3334H7.45946C6.11606 18.3334 5.02703 17.3053 5.02703 16.0372V12.8291C4.7534 12.7802 4.45055 12.6901 4.15943 12.5352C3.57807 12.226 3 11.6139 3 10.6795V7.54761ZM8.27027 11.5405C8.52577 11.5489 8.92832 11.5667 9.28378 11.5928V6.64776C8.23268 6.68172 6.38822 6.70901 5.58446 6.70901C4.73311 6.70901 4.4527 7.31495 4.41892 7.61791V10.6795C4.41892 11.3683 5.19595 11.5405 5.58446 11.5405H8.27027ZM15.1622 14.1779C14.3613 13.4199 13.0005 12.3881 10.7027 11.8337V6.46251C11.7126 6.19244 13.5548 5.52031 15.1622 4.09742C15.2315 4.03602 15.3004 3.97323 15.3688 3.90901C15.5372 3.75088 15.7025 3.58411 15.8633 3.40827C15.9345 3.33034 16.0049 3.25062 16.0743 3.16909C16.4291 2.78639 16.5811 3.16909 16.5811 3.40827V14.7934C16.5811 15.0805 16.5304 15.3675 16.0743 15.0805C16.0003 15.0339 15.9008 14.933 15.7681 14.7934C15.7534 14.7779 15.7382 14.7619 15.7226 14.7455L15.7054 14.7273C15.6057 14.622 15.4892 14.499 15.3534 14.3636C15.2935 14.304 15.2298 14.2419 15.1622 14.1779ZM6.44595 16.0372V13.0713H8.57432V16.0372C8.57432 16.5656 8.12056 16.9939 7.56081 16.9939H7.45946C6.89971 16.9939 6.44595 16.5656 6.44595 16.0372Z",fill:"currentColor"})})}function TwitterXIcon(e){var t=e.className,n=e.size,s=void 0===n?16:n;return(0,i.jsx)("svg",{width:s,height:s,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,i.jsx)("path",{d:"M11.9027 8.46864L19.3482 0H17.5838L11.119 7.3532L5.95547 0H0L7.8082 11.1193L0 20H1.76443L8.59152 12.2348L14.0445 20H20L11.9023 8.46864H11.9027ZM9.48608 11.2173L8.69495 10.1101L2.40018 1.29968H5.11025L10.1902 8.40994L10.9813 9.51718L17.5847 18.7594H14.8746L9.48608 11.2177V11.2173Z"})})}},56711:function(e,t,n){"use strict";n.d(t,{dR:function(){return MapAccordionContextProvider},uq:function(){return useMapAccordionContext}});var i=n(93128),s=n(85893),r=n(67294),a=(0,r.createContext)(void 0),MapAccordionContextProvider=function(e){var t=(0,i._)((0,r.useState)({latitude:1.35,longitude:103.851959,address:"",title:"",uid:"",zoom:11}),2),n=t[0],l=t[1],o=(0,i._)((0,r.useState)(!1),2),c=o[0],u=o[1],d=(0,i._)((0,r.useState)(0),2),m=d[0],x=d[1];return(0,s.jsx)(a.Provider,{value:{focusedPin:n,setFocusedPin:l,modalState:c,setmodalState:u,count:m,setCount:x},children:e.children})},useMapAccordionContext=function(){var e=(0,r.useContext)(a);if(!e)throw Error("useMapAccordionContext must be used within a ModalContext.Provider");return e}},77311:function(e,t,n){"use strict";n.d(t,{u:function(){return useKeyPressListener}});var i=n(67294),useKeyPressListener=function(e,t){var handleKeyPress=function(n){n.key===e&&t()};(0,i.useEffect)(function(){return document.addEventListener("keydown",handleKeyPress,!1),function(){document.removeEventListener("keydown",handleKeyPress,!1)}},[e])}},66720:function(e,t,n){"use strict";var i=n(67294);t.Z=function(e){var t=e.ref,n=e.handler;(0,i.useEffect)(function(){var listener=function(e){!t.current||t.current.contains(e.target)||n(e)};return document.addEventListener("mousedown",listener),document.addEventListener("touchstart",listener),function(){document.removeEventListener("mousedown",listener),document.removeEventListener("touchstart",listener)}},[t,n])}},89665:function(e,t,n){"use strict";var i=n(53353),generateArray=function(e){for(var t=[],n=1;n<=e;n++)t.push(n);return t};t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0,n=(0,i._)(generateArray(t)),s=[];return t<=1?null:(t>7?(e<5?s.push.apply(s,(0,i._)(n.slice(0,5))):e>t-4?s.push.apply(s,(0,i._)(n.splice(-5,1/0))):s.push.apply(s,(0,i._)(n.splice(e-2,3))),1!==s[0]&&(2!==s[0]&&s.unshift("..."),s.unshift(1)),s[s.length-1]!==t&&(s[s.length-2]!==t-1&&s.push("..."),s.push(t))):s.push.apply(s,(0,i._)(n)),1!==e&&s.unshift("prev"),e!==t&&s.push("next"),s)}},35327:function(e,t,n){"use strict";var i=n(93128),s=n(67294);t.Z=function(){var e=(0,i._)((0,s.useState)(!1),2),t=e[0],n=e[1],r=(0,i._)((0,s.useState)(0),2),a=r[0],l=r[1],o=(0,i._)((0,s.useState)(null),2),c=o[0],u=o[1],d=(0,s.useRef)(!1),checkScrollDirection=function(){var e=window.scrollY;l(function(t){return t<e&&u("down"),t>e&&u("up"),e})};return(0,s.useEffect)(function(){d.current=!0;var handleScroll=function(){checkScrollDirection(),d.current&&n(window.scrollY>0)};return window.addEventListener("scroll",handleScroll),function(){d.current=!1,window.removeEventListener("scroll",handleScroll)}}),{isScrolling:t,direction:c,scrollPosition:a}}},59127:function(e){e.exports={searchPage:"search_searchPage__jH4_v",searchBox:"search_searchBox__muHwv",fadeIn:"search_fadeIn__2s4q_",searchBox_active:"search_searchBox_active__CthK3",searchBoxNav:"search_searchBoxNav__OAR66",animatedSearch:"search_animatedSearch__7wEp_",slideIn:"search_slideIn__n_agk",highlightsnippet:"search_highlightsnippet__d1wt5"}}}]);
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.