1(this.webpackJsonpvad=this.webpackJsonpvad||[]).push([[59],{1341:function(e,t,a){"use strict";a.r(t);var i=a(0),c=a.n(i),n=a(9),o=a(3),d=a(2),r=a(865),l=a(1),s=Object(r.a)((function(e){var t,a;return{root:(a={padding:Object(l.p)(24),background:e.palette.common.WhiteUpd(),borderRadius:Object(l.p)(16),transition:"all 0.4s ease"},Object(d.a)(a,Object(l.e)("md"),{borderRadius:Object(l.q)(16),padding:0}),Object(d.a)(a,"& .plan-your-trip-card-content",Object(d.a)({overflow:"hidden",transition:"max-height 0.7s ease"},Object(l.e)("md"),{maxHeight:0,paddingLeft:Object(l.q)(16),paddingRight:Object(l.q)(16)})),Object(d.a)(a,"& .plan-your-trip-card-heading",(t={textTransform:"uppercase",display:"flex",gap:Object(l.p)(8),alignItems:"center",marginBottom:Object(l.p)(24),justifyContent:"space-between"},Object(d.a)(t,"alignItems","center"),Object(d.a)(t,Object(l.e)("md"),{paddingBottom:Object(l.q)(24),paddingTop:Object(l.q)(24),paddingLeft:Object(l.q)(16),paddingRight:Object(l.q)(16),marginBottom:0}),t)),Object(d.a)(a,"& .plan-your-trip-card-heading-container",Object(d.a)({display:"flex",alignItems:"center",justifyContent:"center",gap:Object(l.p)(8)},Object(l.e)("md"),{gap:Object(l.q)(8)})),Object(d.a)(a,"& .plus-ic-card-heading-mob",Object(d.a)({display:"none"},Object(l.e)("md"),{position:"relative",display:"flex",width:Object(l.q)(20),height:Object(l.q)(20),minWidth:Object(l.q)(20),minHeight:Object(l.q)(20),"& .icon":Object(o.a)(Object(o.a)({position:"absolute",top:0,transition:"opacity 0.25s ease"},e.mixins.left(0)),{},{"&.show":{opacity:1},"&.hide":{opacity:0}
1})})),Object(d.a)(a,"& .plan-your-trip-card-heading-icon",Object(d.a)({width:Object(l.p)(20),height:Object(l.p)(20),minWidth:Object(l.p)(20),minHeight:Object(l.p)(20),"& img":{background:"transparent"}},Object(l.e)("md"),{width:Object(l.q)(20),height:Object(l.q)(20),minWidth:Object(l.q)(20),minHeight:Object(l.q)(20)})),a)}})),p=a(5),h=a(31),g=a(120),m=a(1511),b=a(49),u=function(e){var t=Object(i.useRef)(null),a=e.className,n=e.children,o=e.isOpen,d=e.onToggle,r=e.icon,u=e.title,j=e.showAllHolidays,O=e.setShowAllHolidays,y=s(),f=Object(m.a)("(max-width:".concat(768,"px)")),x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){case"plus-icon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},c.a.createElement("path",{d:"M10 1.66699C10.4602 1.66699 10.833 2.03976 10.833 2.5V9.16699H17.5C17.9602 9.16699 18.333 9.53976 18.333 10C18.333 10.4602 17.9602 10.833 17.5 10.833H10.833V17.5C10.833 17.9602 10.4602 18.333 10 18.333C9.53976 18.333 9.16699 17.9602 9.16699 17.5V10.833H2.5C2.03976 10.833 1.66699 10.4602 1.66699 10C1.66699 9.53976 2.03976 9.16699 2.5 9.16699H9.16699V2.5C9.16699 2.03976 9.53976 1.66699 10 1.66699Z",fill:"#00605F"}));case"minus-icon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66699 9.99984C1.66699 9.5396 2.04009 9.1665 2.50033 9.1665H17.5003C17.9606 9.1665 18.3337 9.5396 18.3337 9.99984C18.3337 10.4601 17.9606 10.8332 17.5003 10.8332H2.50033C2.04009 10.8332 1.66699 10.4601 1.66699 9.99984Z",fill:"#00605F"}));default:return c.a.createElement(c.a.Fragment,null)}};return Object(i.useEffect)((function(){var e=t.current;if(e){var a=e.closest(".plan-your-trip-card");if(f)if(o){var i=e.scrollHeight;e.style.maxHeight="calc(".concat(i,"px + ").concat(Object(l.q)(24),")"),a&&(a.style.paddingBottom="".concat(Object(l.q)(24)))}else e.style.maxHeight="0px",a&&(a.style.paddingBottom="0"),O&&O(0);else e.style.maxHeight="",a&&(a.style.paddingBottom="")}}),[o,f,j]),c.a.createElement(p.a,{className:"".concat(y.root," ").concat(a||""," plan-your-trip-card")},c.a.createElement(p.a,{className:"plan-your-trip-card-heading",onClick:d},c.a.createElement(p.a,{className:"plan-your-trip-card-heading-container"},r&&(null===r||void 0===r?void 0:r.src)&&c.a.createElement(p.a,{className:"plan-your-trip-card-heading-icon"},c.a.createElement(g.a,{media:{image:{value:{src:Object(b.get)(r,"src",""),alt:Object(b.get)(r,"alt","")}}},isParalax:!1})),u&&c.a.createElement(h.a,{variant:"cta1Upd"},u)),c.a.createElement(p.a,{className:"plus-ic-card-heading-mob"},c.a.createElement("span",{className:"icon ".concat(o?"hide":"show")},x("plus-icon")),c.a.createElement("span",{className:"icon ".concat(o?"show":"hide")},x("minus-icon")))),c.a.createElement(p.a,{ref:t,className:"plan-your-trip-card-content"},n))},j=Object(r.a)((function(e){var t,a,i;return{root:(i={padding:"var(--mfd-spacing-xxl) var(--mfd-container) var(--mfd-spacing-xxl) var(--mfd-container)"},Object(d.a)(i,Object(l.e)("md"),{paddingTop:Object(l.q)(32),paddingBottom:Object(l.q)(64)}),Object(d.a)(i,"background",e.palette.common.SandstoneUpd()),Object(d.a)(i,"& .cards-flex-container",Object(d.a)({display:"flex",justifyContent:"space-between",minHeight:Object(l.p)(627),flex:1},Object(l.e)("md"),{flexDirection:"column",gap:Object(l.p)(16),minHeight:"100%"})),Object(d.a)(i,"& .flex-left",Object(d.a)({display:"flex",flexDirection:"column",gap:Object(l.p)(16),maxWidth:"32.5%",flex:"0 0 32.5%"},Object(l.e)("md"),{maxWidth:"100%",flex:"0 0 100%",gap:Object(l.p)(16)})),Object(d.a)(i,"& .flex-center",(t={display:"flex",flexDirection:"column",maxWidth:"40.94%",flex:"0 0 40.94%",gap:Object(l.p)(16)},Object(d.a)(t,Object(l.e)("lg"),{maxWidth:"36.94%",flex:"0 0 36.94%"}),Object(d.a)(t,Object(l.e)("md"),{maxWidth:"100%",flex:"0 0 100%"}),t)),Object(d.a)(i,"& .flex-right",(a={maxWidth:"24.45%",flex:"0 0 24.45%",display:"flex"},Object(d.a)(a,Object(l.e)("lg"),{maxWidth:"27.15%",flex:"0 0 27.15%"}),Object(d.a)(a,Object(l.e)("md"),{maxWidth:"100%",flex:"0 0 100%"}),a)),Object(d.a)(i,"& .flex-item",{flex:1}),i)}})),O=a(1723),y=a.n(O),f=Object(r.a)((function(e){var t,a,i,c,n,r;return{root:{"& .selectedDropdownItem":Object(o.a)({},e.palette.common.ellipsis(1)),"& .distance-container":(c={display:"flex",flexDirection:"column",gap:Object(l.p)(8),"& .dropdownContainer":{cursor:"pointer",border:"1px solid transparent","&.open":{"& .textDropdownContainer":{border:"1px solid #00605F"},"& .dropdown-arrow-icon":{transform:"rotate(180deg)"}},"& .dropdown-arrow-icon":{transition:"transform 0.35s ease",display:"flex"}}},Object(d.a)(c,Object(l.e)("md"),{gap:Object(l.q)(8)}),Object(d.a)(c,"& .country-flag-container",{borderRadius:Object(l.p)(200),overflow:"hidden"}
1),Object(d.a)(c,"& .country-flag",Object(d.a)({display:"flex",backgroundImage:"url(".concat(y.a,")"),backgroundRepeat:"no-repeat",width:Object(l.p)(24),height:Object(l.p)(24),backgroundSize:Object(l.p)(10625),"& picture":{display:"flex","& img":{backgroundColor:"transparent"}}},Object(l.e)("md"),{width:Object(l.q)(24),height:Object(l.q)(24)})),Object(d.a)(c,"& .route-distance-time",(t={border:"1px solid #DDDDDD",paddingTop:Object(l.p)(11),paddingBottom:Object(l.p)(11),paddingLeft:Object(l.p)(16),paddingRight:Object(l.p)(16),borderRadius:Object(l.p)(12)},Object(d.a)(t,Object(l.e)("md"),{paddingTop:Object(l.q)(11),paddingBottom:Object(l.q)(11),paddingLeft:Object(l.q)(16),paddingRight:Object(l.q)(16),borderRadius:Object(l.q)(12),backgroundColor:e.palette.common.SurfaceSunken(),border:"1px solid rgba(255,255,255,0.2)"}),Object(d.a)(t,"& .route-text",Object(d.a)({color:e.palette.common.Grey1Upd(),marginBottom:Object(l.p)(2)},Object(l.e)("md"),{marginBottom:Object(l.q)(2)})),Object(d.a)(t,"& .distance-time",{display:"flex",alignItems:"center",gap:Object(l.p)(6)}),Object(d.a)(t,"& .airplane-icon",{display:"flex"}),Object(d.a)(t,"& h6",Object(d.a)({display:"flex",alignItems:"center",justifyContent:"center"},Object(l.e)("md"),{lineHeight:Object(l.q)(28)})),Object(d.a)(t,"& .dot-icon",{marginLeft:Object(l.p)(6),marginRight:Object(l.p)(6),width:3,height:3,display:"inline-flex",backgroundColor:e.palette.common.Black(700),borderRadius:"100%"}),t)),Object(d.a)(c,"& .textDropdownContainer",(i={backgroundColor:e.palette.common.SurfaceSunken(),border:"1px solid transparent",paddingLeft:Object(l.p)(16),paddingRight:Object(l.p)(16),paddingTop:Object(l.p)(23),paddingBottom:Object(l.p)(23),borderRadius:Object(l.p)(12),display:"flex",alignItems:"center",justifyContent:"space-between",transition:"border ease 0.35s"},Object(d.a)(i,Object(l.e)("md"),{paddingLeft:Object(l.q)(16),paddingRight:Object(l.q)(16),paddingTop:Object(l.q)(24),paddingBottom:Object(l.q)(24),borderRadius:Object(l.q)(12)}),Object(d.a)(i,"& .textDropdownContainerHeading",(a={display:"flex",alignItems:"center",gap:Object(l.p)(8)},Object(d.a)(a,Object(l.e)("md"),{gap:Object(l.q)(12)}),Object(d.a)(a,"& picture",{display:"flex"}),Object(d.a)(a,"& img",{background:"transparent"}),a)),i)),c)},customMenu:(r={minWidth:"".concat(Object(l.p)(360)," !important"),borderRadius:Object(l.p)(12),marginTop:Object(l.p)(10),paddingRight:0,boxShadow:" 0 4px 16px 0 rgba(41, 38, 47, 0.20)","@media (min-width: 1441px)":{width:Object(l.p)(392)}},Object(d.a)(r,Object(l.e)("md"),{minHeight:Object(l.q)(607),maxHeight:Object(l.q)(607),borderRadius:Object(l.q)(12),borderBottomLeftRadius:0,borderBottomRightRadius:0}),Object(d.a)(r,"&::before, &::after",{content:'""',position:"absolute",left:0,right:0,height:Object(l.p)(16),pointerEvents:"none",zIndex:11}),Object(d.a)(r,"& .drawer-heading",Object(o.a)(Object(o.a)(Object(o.a)({display:"flex",alignItems:"center",justifyContent:"space-between",borderBottom:"1px solid #E9E9E9",padding:"".concat(Object(l.q)(20)," 0")},e.mixins.paddingRight(Object(l.q)(24))),e.mixins.paddingLeft(Object(l.q)(24))),{},{position:"fixed",width:"100%",background:"white",borderTopLeftRadius:Object(l.q)(12),borderTopRightRadius:Object(l.q)(12),zIndex:1111,"& .close-icon-container":{display:"flex"},'[dir="rtl"] &':{direction:"rtl"}})),Object(d.a)(r,"& .MuiList-padding",{padding:0}),Object(d.a)(r,"&::before",{top:0,background:"linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"}),Object(d.a)(r,"&::after",{bottom:0,background:"linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"}),Object(d.a)(r,"& .country-dropdown-item",Object(o.a)(Object(o.a)({display:"flex",alignItems:"center",gap:Object(l.p)(12),paddingTop:Object(l.p)(12),paddingBottom:Object(l.p)(12),cursor:"pointer"},e.mixins.paddingLeft(Object(l.p)(24))),{},(n={},Object(d.a)(n,Object(l.e)("md"),Object(o.a)(Object(o.a)({},e.mixins.paddingLeft(Object(l.p)(0))),{},{gap:Object(l.q)(12),paddingTop:Object(l.q)(12),paddingBottom:Object(l.q)(12)})),Object(d.a)(n,'[dir="rtl"] &',{direction:"rtl"}),Object(d.a)(n,"& .country-flag-container",{borderRadius:Object(l.p)(200),overflow:"hidden"}
1),Object(d.a)(n,"& .country-flag",Object(d.a)({display:"flex",backgroundImage:"url(".concat(y.a,")"),backgroundRepeat:"no-repeat",width:Object(l.p)(24),height:Object(l.p)(24),backgroundSize:Object(l.p)(10625),"& picture":{display:"flex","& img":{backgroundColor:"transparent"}}},Object(l.e)("md"),{width:Object(l.q)(24),height:Object(l.q)(24)})),Object(d.a)(n,"& .country-name",Object(d.a)({color:e.palette.common.Grey1Upd(),fontSize:Object(l.p)(18),transition:"color 0.35s ease"},Object(l.e)("md"),{fontSize:Object(l.q)(18)})),Object(d.a)(n,"&:hover",{"& .country-name":{color:e.palette.common.SunsetEnabled()}}),Object(d.a)(n,"&.active",{"& .country-name":{fontFamily:e.custom.fontFamily.primaryBold,color:e.palette.common.SunsetEnabled()}}),n))),Object(d.a)(r,"& .scrollBar",{"& > :first-child":{'[dir="rtl"] &':{direction:"ltr"}}}),Object(d.a)(r,"&.MuiPaper-root",{"& .country-list":Object(o.a)(Object(o.a)(Object(o.a)({},e.mixins.paddingRight(Object(l.q)(24))),e.mixins.paddingLeft(Object(l.q)(24))),{},{paddingTop:Object(l.q)(77),paddingBottom:Object(l.q)(8)})}),r)}})),x=a(130),w=a(1519),v=a(864),C=a(1305),E=a(20),L=a(242),N=a.n(L),k=a(27),T=a(1763),q=a(12),R=a(119),B=a(105),M=function(e){var t,a=e.routeText,d=e.countries,r=void 0===d?[]:d,s=e.speed,p=e.userCountry,g=e.getSelectedCountry,u=e.COMPONENT_NAME,j=e.pageTitleEn,O=e.distTitle,y=f(),L=Object(i.useState)(null),M=Object(n.a)(L,2),I=M[0],z=M[1],S=Object(i.useState)(Object(q.a)("tripPlannerChooseCountryText")),A=Object(n.a)(S,2),_=A[0],Z=A[1],D=Object(x.a)(),U=D&&"rtl"===D.direction,H=Object(m.a)("(max-width:".concat(768,"px)")),F=Object(m.a)("(max-width: 1220px) and (pointer: coarse) and (hover: none)");c.a.useEffect((function(){Object(k.eb)(Boolean(I));var e=document.querySelector(".headerMegaNavMainWrapper");if(I&&!F){var t=window.innerWidth-document.documentElement.clientWidth;e&&(U?(e.style.paddingLeft="",e.style.paddingLeft="".concat(t,"px")):(e.style.paddingRight="",e.style.paddingRight="".concat(t,"px")))}else e&&(U?e.style.paddingLeft="":e.style.paddingRight="")}),[I]),Object(i.useEffect)((function(){p&&Z(p)}),[p]);var P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){case"arrow-dropdown":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.9711 5.36225C15.2314 5.6226 15.2314 6.04471 14.9711 6.30506L8.97108 12.3051C8.71073 12.5654 8.28862 12.5654 8.02827 12.3051L2.02827 6.30506C1.76792 6.04471 1.76792 5.6226 2.02827 5.36225C2.28862 5.10191 2.71073 5.10191 2.97108 5.36225L8.49968 10.8909L14.0283 5.36225C14.2886 5.1019 14.7107 5.1019 14.9711 5.36225Z",fill:"#00605F"}));case"close-icon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.29289 3.79289C3.68342 3.40237 4.31658 3.40237 4.70711 3.79289L12 11.0858L19.2929 3.79289C19.6834 3.40237 20.3166 3.40237 20.7071 3.79289C21.0976 4.18342 21.0976 4.81658 20.7071 5.20711L13.4142 12.5L20.7071 19.7929C21.0976 20.1834 21.0976 20.8166 20.7071 21.2071C20.3166 21.5976 19.6834 21.5976 19.2929 21.2071L12 13.9142L4.70711 21.2071C4.31658 21.5976 3.68342 21.5976 3.29289 21.2071C2.90237 20.8166 2.90237 20.1834 3.29289 19.7929L10.5858 12.5L3.29289 5.20711C2.90237 4.81658 2.90237 4.18342 3.29289 3.79289Z",fill:"#00605F"}));case"airplane":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",viewBox:"0 0 25 25",fill:"none"},c.a.createElement("path",{d:"M5.47488 6.94538L13.9022 8.50259L16.9301 5.47468C18.2278 4.177 19.958 3.74444 20.8231 4.177C21.2557 5.04212 20.8231 6.77236 19.5255 8.07003L16.4975 11.098L18.0548 19.5253C18.1413 19.9578 17.9682 20.3039 17.6222 20.4769L17.1896 20.7364C16.7571 20.9095 16.3245 20.8229 16.065 20.4769L13.0371 14.5584L9.2055 17.5249L9.2055 20.1202L8.34039 20.9854L6.61015 18.39L4.01479 16.6598L4.87991 15.7946L7.47527 15.7946L10.4417 11.9631L4.52324 8.93515C4.1772 8.67562 4.09068 8.24306 4.26371 7.8105L4.43673 7.37794C4.69627 7.03189 5.04232 6.85887 5.47488 6.94538Z",fill:"black"}));default:return c.a.createElement(c.a.Fragment,null)}}
1,W=Math.round(Number(Object(b.get)(_,"fields.abuDhabiDistance.value",0))),G=function(){var e=Object(b.get)(_,"fields.countryCode.value","");return Object.entries(null!==T&&void 0!==T?T:{}).map((function(e){var t=Object(n.a)(e,2),a=t[0],i=t[1];return Object(o.a)({key:a},null!==i&&void 0!==i?i:{})})).find((function(t){return(null===t||void 0===t?void 0:t.code)&&e&&t.code.toLowerCase()===e.toLowerCase()}))},V=r&&Array.isArray(r)&&r.length>0?r.sort((function(e,t){var a,i,c,n,o;return null===(a=Object(k.Z)(null===(i=e.fields)||void 0===i||null===(c=i.countryName)||void 0===c?void 0:c.value))||void 0===a?void 0:a.localeCompare(Object(k.Z)(null===(n=t.fields)||void 0===n||null===(o=n.countryName)||void 0===o?void 0:o.value))})):[],Y=function(e){g(e),Z(e),z(!1)};return c.a.createElement(w.a,{className:y.root},c.a.createElement(w.a,{className:"distance-container"},c.a.createElement(w.a,{className:"dropdownContainer ".concat(I?"open":""),onClick:function(e){var t;!function(e){z(e.currentTarget)}(e),t=Object(o.a)(Object(o.a)({},R.a.pageBodyInteraction.filter_dropdown_click),{},{call_to_action:Object(b.get)(_,"fields.countryName.value",_),page_name_eng:j,UX_component_name:u,page_subsection:O}),Object(B.b)(t)}},_&&c.a.createElement(w.a,{className:"textDropdownContainer"},c.a.createElement(w.a,{className:"textDropdownContainerHeading"},_&&_.fields&&Object(b.get)(_,"fields.countryName.value")&&c.a.createElement(w.a,{className:"country-flag-container"},c.a.createElement(w.a,{className:"country-flag",style:{backgroundSize:H?Object(l.q)(51e3/8.33):Object(l.p)(51e3/8.33),backgroundPosition:void 0!==(null===(t=G())||void 0===t?void 0:t.x)?"".concat(H?Object(l.q)(-G().x/8.33):Object(l.p)(-G().x/8.33)," 0"):"0 0"}})),c.a.createElement(h.a,{variant:"h6Upd",compoenent:"h6",className:"selectedDropdownItem"},Object(k.Z)(Object(b.get)(_,"fields.countryName.value","")))),c.a.createElement("span",{className:"dropdown-arrow-icon"},P("arrow-dropdown")))),!H&&c.a.createElement(v.a,{anchorEl:I,open:Boolean(I),onClose:function(){return z(null)},anchorOrigin:{vertical:"bottom",horizontal:U?"right":"left"},transformOrigin:{vertical:"top",horizontal:U?"right":"left"},getContentAnchorEl:null,classes:{paper:Object(E.a)(y.customMenu,"")},style:{overflowY:"hidden"}},c.a.createElement(N.a,{className:"scrollBar",style:{height:Object(l.p)(368)}},V&&V.length>0&&V.map((function(e,t){var a=Object(k.Z)(Object(b.get)(e,"fields.countryCode.value","")),i=Object(k.Z)(Object(b.get)(e,"fields.countryName.value","")),d=Object.entries(null!==T&&void 0!==T?T:{}).map((function(e){var t=Object(n.a)(e,2),a=t[0],i=t[1];return Object(o.a)({key:a},null!==i&&void 0!==i?i:{})})).find((function(e){return(null===e||void 0===e?void 0:e.code)&&a&&e.code.toLowerCase()===a.toLowerCase()}));return c.a.createElement(w.a,{className:"country-dropdown-item ".concat(_==e?"active":""),onClick:function(){return Y(e)}},c.a.createElement(w.a,{className:"country-flag-container"},c.a.createElement(w.a,{className:"country-flag",style:{backgroundSize:H?Object(l.q)(51e3/8.33):Object(l.p)(51e3/8.33),backgroundPosition:void 0!==(null===d||void 0===d?void 0:d.x)?"".concat(H?Object(l.q)(-d.x/8.33):Object(l.p)(-d.x/8.33)," 0"):"0 0"}})),c.a.createElement(h.a,{className:"country-name",variant:"body1Upd"},i))})))),H&&c.a.createElement(C.a,{anchor:"bottom",open:Boolean(I),classes:{paper:Object(E.a)(y.customMenu,"")},PaperProps:{style:{overflowY:"hidden"}},onClose:function(e,t){"backdropClick"===t&&z(null)}},c.a.createElement(N.a,{className:"scrollBar",style:{height:Object(l.q)(607)}},c.a.createElement(w.a,{className:"drawer-heading"},c.a.createElement(h.a,{variant:"h4Upd"},Object(q.a)("tripPlannerCountriesText")),c.a.createElement(w.a,{className:"close-icon-container",onClick:function(){return z(null)}},P("close-icon"))),c.a.createElement(w.a,{className:"country-list"},V&&V.length>0&&V.map((function(e,t){var a=Object(k.Z)(Object(b.get)(e,"fields.countryCode.value","")),i=Object(k.Z)(Object(b.get)(e,"fields.countryName.value","")),d=Object.entries(null!==T&&void 0!==T?T:{}).map((function(e){var t=Object(n.a)(e,2),a=t[0],i=t[1];return Object(o.a)({key:a},null!==i&&void 0!==i?i:{})})).find((function(e){return(null===e||void 0===e?void 0:e.code)&&a&&e.code.toLowerCase()===a.toLowerCase()}));return c.a.createElement(w.a,{key:t,onClick:function(){return Y(e)},className:"country-dropdown-item ".concat(_==e?"active":"")},c.a.createElement(w.a,{className:"country-flag-container"},c.a.createElement(w.a,{className:"country-flag",style:{backgroundSize:H?Object(l.q)(51e3/8.33):Object(l.p)(51e3/8.33),backgroundPosition:void 0!==(null===d||void 0===d?void 0:d.x)?"".concat(H?Object(l.q)(-d.x/8.33):Object(l.p)(-d.x/8.33)," 0"):"0 0"}})),c.a.createElement(h.a,{className:"country-name",variant:"body1Upd"},i))}))))),c.a.createElement(w.a,{className:"route-distance-time"},a&&c.a.createElement(h.a,{variant:"body2Upd",className:"route-text"},a),c.a.createElement(w.a,{className:"distance-time"},c.a.createElement(w.a,{className:"airplane-icon"},P("airplane")),"object"===typeof _&&(W||s)&&c.a.createElement(h.a,{variant:"h6Upd"},"".concat(function(e,t){if(!e||!t)return 0;var a=Math.round(Number(t/e));return isNaN(a)?0:a}(s,W)," ").concat(Object(q.a)("tripPlannerHourLabel")),c.a.createElement("span",{className:"dot-icon"}),"".concat(W," ").concat(Object(q.a)("tripPlannerDistanceKmText")))))))},I=Object(r.a)((function(e){var t,a,i,c,n,r;return{root:{"& .selectedDropdownItem":Object(o.a)({},e.palette.common.ellipsis(1)),"& .more-details-text":{"& .visa-more-info-text":{"& p, & span":Object(d.a)({fontSize:Object(l.p)(18),fontWeight:400,fontFamily:e.custom.fontFamily.primaryRegular,lineHeight:1.4,margin:0},Object(l.e)("md"),{fontSize:Object(l.q)(14)}),"& a":Object(d.a)({color:e.palette.common.Palm(),fontFamily:e.custom.fontFamily.primaryRegular,textDecorationColor:e.palette.common.Palm(),textDecoration:"underline",fontSize:Object(l.p)(18),fontWeight:400,lineHeight:1.4,cursor:"pointer",margin:0},Object(l.e)("md"),{fontSize:Object(l.q)(14)})}},"& .visa-info-container":(c={display:"flex",flexDirection:"column",gap:Object(l.p)(24)},Object(d.a)(c,Object(l.e)("md"),{gap:Object(l.q)(24)}),Object(d.a)(c,"& .visa-check",(t={display:"flex",alignItems:"center",gap:Object(l.p)(8),paddingTop:Object(l.p)(16),paddingBottom:Object(l.p)(16),paddingLeft:Object(l.p)(16),paddingRight:Object(l.p)(16),borderRadius:Object(l.p)(12),position:"absolute",width:"100%",top:"calc(100% + ".concat(Object(l.p)(8),")"),backgroundColor:function(e){return e.visaPolicyColorCode+"1A"},color:function(e){return e.visaPolicyColorCode},"& picture":{width:Object(l.p)(16),height:Object(l.p)(16),"& img":{background:"none"}}},Object(d.a)(t,Object(l.e)("md"),{position:"static",marginTop:Object(l.q)(12),paddingTop:Object(l.q)(18),paddingBottom:Object(l.q)(18),paddingLeft:Object(l.q)(16),paddingRight:Object(l.q)(16),borderRadius:Object(l.q)(12),"& picture":{width:Object(l.q)(16),height:Object(l.q)(16)}}),Object(d.a)(t,"&.paid",{backgroundColor:e.palette.common.Safari(100),color:e.palette.common.Safari()}),t)),Object(d.a)(c,"& .dropdown-visa-container",Object(d.a)({position:"relative",marginBottom:Object(l.p)(86)},Object(l.e)("md"),{marginBottom:Object(l.q)(24)})),Object(d.a)(c,"& .dropdownContainer",{"&.open":{"& .countryDropdown":{border:"1px solid #00605F","& .dropdown-arrow-icon":{transform:"rotate(180deg)"}}}}),Object(d.a)(c,"& .countryDropdown",(i={backgroundColor:e.palette.common.SurfaceSunken(),border:"1px solid transparent",paddingLeft:Object(l.p)(16),paddingRight:Object(l.p)(16),paddingTop:Object(l.p)(24),paddingBottom:Object(l.p)(24),borderRadius:Object(l.p)(12),display:"flex",alignItems:"center",justifyContent:"space-between"},Object(d.a)(i,Object(l.e)("md"),{paddingLeft:Object(l.q)(16),paddingRight:Object(l.q)(16),paddingTop:Object(l.q)(20),paddingBottom:Object(l.q)(20),borderRadius:Object(l.q)(12)}),Object(d.a)(i,"& .dropdown-arrow-icon",{display:"flex",transition:"transform ease 0.35s"}
1),Object(d.a)(i,"& .countryDropdownHeading",(a={display:"flex",alignItems:"center",gap:Object(l.p)(8)},Object(d.a)(a,Object(l.e)("md"),{gap:Object(l.q)(12)}),Object(d.a)(a,"& picture",{display:"flex"}),Object(d.a)(a,"& img",{background:"transparent"}),a)),i)),c),"& .country-flag-container":{borderRadius:Object(l.p)(200),overflow:"hidden"},"& .country-flag":Object(d.a)({display:"flex",backgroundImage:"url(".concat(y.a,")"),backgroundRepeat:"no-repeat",width:Object(l.p)(24),height:Object(l.p)(24),backgroundSize:Object(l.p)(10625),"& picture":{display:"flex","& img":{backgroundColor:"transparent"}}},Object(l.e)("md"),{width:Object(l.q)(24),height:Object(l.q)(24)})},customMenu:(r={minWidth:"".concat(Object(l.p)(360)," !important"),borderRadius:Object(l.p)(12),marginTop:Object(l.p)(10),paddingRight:0,boxShadow:" 0 4px 16px 0 rgba(41, 38, 47, 0.20)","@media (min-width: 1441px)":{width:Object(l.p)(392)}},Object(d.a)(r,Object(l.e)("md"),{minHeight:Object(l.q)(607),maxHeight:Object(l.q)(607),borderRadius:Object(l.q)(12),borderBottomLeftRadius:0,borderBottomRightRadius:0}),Object(d.a)(r,"& .scrollBar",{"& > :first-child":{'[dir="rtl"] &':{direction:"ltr"}}}),Object(d.a)(r,"&::before, &::after",{content:'""',position:"absolute",left:0,right:0,height:Object(l.p)(16),pointerEvents:"none",zIndex:11}),Object(d.a)(r,"& .drawer-heading",Object(o.a)(Object(o.a)(Object(o.a)({display:"flex",alignItems:"center",justifyContent:"space-between",borderBottom:"1px solid #E9E9E9",padding:"".concat(Object(l.q)(20)," 0")},e.mixins.paddingRight(Object(l.q)(24))),e.mixins.paddingLeft(Object(l.q)(24))),{},{position:"fixed",width:"100%",background:"white",borderTopLeftRadius:Object(l.q)(12),borderTopRightRadius:Object(l.q)(12),zIndex:1111,"& .close-icon-container":{display:"flex"},'[dir="rtl"] &':{direction:"rtl"}})),Object(d.a)(r,"& .MuiList-padding",{padding:0}),Object(d.a)(r,"&::before",{top:0,background:"linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"}),Object(d.a)(r,"&::after",{bottom:0,background:"linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"}),Object(d.a)(r,"& .country-dropdown-item",Object(o.a)(Object(o.a)({display:"flex",alignItems:"center",gap:Object(l.p)(12),paddingTop:Object(l.p)(12),paddingBottom:Object(l.p)(12),cursor:"pointer"},e.mixins.paddingLeft(Object(l.p)(24))),{},(n={},Object(d.a)(n,Object(l.e)("md"),Object(o.a)(Object(o.a)({},e.mixins.paddingLeft(Object(l.p)(0))),{},{gap:Object(l.q)(12),paddingTop:Object(l.q)(12),paddingBottom:Object(l.q)(12)})),Object(d.a)(n,'[dir="rtl"] &',{direction:"rtl"}),Object(d.a)(n,"&:hover",{"& .country-name":{color:e.palette.common.SunsetEnabled()}}),Object(d.a)(n,"& .country-flag-container",{borderRadius:Object(l.p)(200),overflow:"hidden"}),Object(d.a)(n,"& .country-flag",Object(d.a)({display:"flex",backgroundImage:"url(".concat(y.a,")"),backgroundRepeat:"no-repeat",width:Object(l.p)(24),height:Object(l.p)(24),backgroundSize:Object(l.p)(10625),"& picture":{display:"flex","& img":{backgroundColor:"transparent"}}},Object(l.e)("md"),{width:Object(l.q)(24),height:Object(l.q)(24)})),Object(d.a)(n,"& .country-name",Object(d.a)({color:e.palette.common.Grey1Upd(),fontSize:Object(l.p)(18),transition:"color ease 0.35s"},Object(l.e)("md"),{fontSize:Object(l.q)(18)})),Object(d.a)(n,"&.active",{"& .country-name":{fontFamily:e.custom.fontFamily.primaryBold,color:e.palette.common.SunsetEnabled()}}),n))),Object(d.a)(r,"&.MuiPaper-root",{"& .country-list":Object(o.a)(Object(o.a)(Object(o.a)({},e.mixins.paddingRight(Object(l.q)(24))),e.mixins.paddingLeft(Object(l.q)(24))),{},{paddingTop:Object(l.q)(77),paddingBottom:Object(l.q)(8)})}),r)}})),z=a(1542),S=function(e){var t,a=e.visaDescription,d=e.visaMoreInfo,r=e.countries,s=e.userCountry,p=e.visaPolicy,u=e.COMPONENT_NAME,j=e.pageTitleEn,O=e.visaTitle,y=Object(i.useState)(Object(q.a)("tripPlannerChooseCountryText")),f=Object(n.a)(y,2),L=f[0],M=f[1],S=Object(i.useState)(null),A=Object(n.a)(S,2),_=A[0],Z=A[1],D=Object(b.get)(L,"fields.visaPolicy.value",""),U=p.find((function(e){return(null===e||void 0===e?void 0:e.name)==D})),H=Object(b.get)(U,"fields.colorCode.value",""),F=I({visaPolicyColorCode:H}),P=Object(x.a)(),W=P&&"rtl"===P.direction,G=Object(m.a)("(max-width:".concat(768,"px)")),V=Object(i.useRef)(),Y=Object(m.a)("(max-width: 1220px) and (pointer: coarse) and (hover: none)");Object(i.useEffect)((function(){Object(k.eb)(Boolean(_));var e=document.querySelector(".headerMegaNavMainWrapper");if(_&&!Y){var t=window.innerWidth-document.documentElement.clientWidth;e&&(W?(e.style.paddingLeft="",e.style.paddingLeft="".concat(t,"px")):(e.style.paddingRight="",e.style.paddingRight="".concat(t,"px")))}else e&&(W?e.style.paddingLeft="":e.style.paddingRight="")}
1),[_]),Object(i.useEffect)((function(){s&&M(s)}),[s]),Object(i.useEffect)((function(){var e=V.current;if(e){var t=e.querySelector(".visa-check-text");if(!t||!L)return;var a=Object(k.Z)(Object(b.get)(U,"fields.text.value",""));if(!a)return;var i=a.indexOf("{"),c=a.indexOf("}"),n=Object(b.get)(L,"fields.countryCode.value","");if(i>-1&&c>-1){var o=(null===a||void 0===a?void 0:a.slice(0,i))+n+(null===a||void 0===a?void 0:a.slice(c+1));t.textContent=Object(k.Z)(o)}else t.textContent=Object(k.Z)(a)}}),[L]);var X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){case"arrow-dropdown":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.9711 5.36225C15.2314 5.6226 15.2314 6.04471 14.9711 6.30506L8.97108 12.3051C8.71073 12.5654 8.28862 12.5654 8.02827 12.3051L2.02827 6.30506C1.76792 6.04471 1.76792 5.6226 2.02827 5.36225C2.28862 5.10191 2.71073 5.10191 2.97108 5.36225L8.49968 10.8909L14.0283 5.36225C14.2886 5.1019 14.7107 5.1019 14.9711 5.36225Z",fill:"#00605F"}));case"close-icon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.29289 3.79289C3.68342 3.40237 4.31658 3.40237 4.70711 3.79289L12 11.0858L19.2929 3.79289C19.6834 3.40237 20.3166 3.40237 20.7071 3.79289C21.0976 4.18342 21.0976 4.81658 20.7071 5.20711L13.4142 12.5L20.7071 19.7929C21.0976 20.1834 21.0976 20.8166 20.7071 21.2071C20.3166 21.5976 19.6834 21.5976 19.2929 21.2071L12 13.9142L4.70711 21.2071C4.31658 21.5976 3.68342 21.5976 3.29289 21.2071C2.90237 20.8166 2.90237 20.1834 3.29289 19.7929L10.5858 12.5L3.29289 5.20711C2.90237 4.81658 2.90237 4.18342 3.29289 3.79289Z",fill:"#00605F"}));case"check-icon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.49935 1.99984C5.18564 1.99984 2.49935 4.68613 2.49935 7.99984C2.49935 11.3135 5.18564 13.9998 8.49935 13.9998C11.8131 13.9998 14.4993 11.3135 14.4993 7.99984C14.4993 4.68613 11.8131 1.99984 8.49935 1.99984ZM1.16602 7.99984C1.16602 3.94975 4.44926 0.666504 8.49935 0.666504C12.5494 0.666504 15.8327 3.94975 15.8327 7.99984C15.8327 12.0499 12.5494 15.3332 8.49935 15.3332C4.44926 15.3332 1.16602 12.0499 1.16602 7.99984Z",fill:"#00605F"}),c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9721 5.86177C12.2324 6.12212 12.2324 6.54423 11.9721 6.80458L7.97206 10.8046C7.71171 11.0649 7.2896 11.0649 7.02925 10.8046L5.02925 8.80458C4.7689 8.54423 4.7689 8.12212 5.02925 7.86177C5.2896 7.60142 5.71171 7.60142 5.97206 7.86177L7.50065 9.39036L11.0292 5.86177C11.2896 5.60142 11.7117 5.60142 11.9721 5.86177Z",fill:"#00605F"}));case"info-icon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.49935 1.99984C5.18564 1.99984 2.49935 4.68613 2.49935 7.99984C2.49935 11.3135 5.18564 13.9998 8.49935 13.9998C11.8131 13.9998 14.4993 11.3135 14.4993 7.99984C14.4993 4.68613 11.8131 1.99984 8.49935 1.99984ZM1.16602 7.99984C1.16602 3.94975 4.44926 0.666504 8.49935 0.666504C12.5494 0.666504 15.8327 3.94975 15.8327 7.99984C15.8327 12.0499 12.5494 15.3332 8.49935 15.3332C4.44926 15.3332 1.16602 12.0499 1.16602 7.99984Z",fill:"#BA2A00"}),c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.49935 3.99984C8.86754 3.99984 9.16602 4.29831 9.16602 4.6665V8.6665C9.16602 9.03469 8.86754 9.33317 8.49935 9.33317C8.13116 9.33317 7.83268 9.03469 7.83268 8.6665V4.6665C7.83268 4.29831 8.13116 3.99984 8.49935 3.99984Z",fill:"#BA2A00"}),c.a.createElement("path",{d:"M9.16602 11.3332C9.16602 11.7014 8.86754 11.9998 8.49935 11.9998C8.13116 11.9998 7.83268 11.7014 7.83268 11.3332C7.83268 10.965 8.13116 10.6665 8.49935 10.6665C8.86754 10.6665 9.16602 10.965 9.16602 11.3332Z",fill:"#BA2A00"}));default:return c.a.createElement(c.a.Fragment,null)}},J=function(){var e=Object(b.get)(L,"fields.countryCode.value","");return Object.entries(null!==T&&void 0!==T?T:{}).map((function(e){var t=Object(n.a)(e,2),a=t[0],i=t[1];return Object(o.a)({key:a},null!==i&&void 0!==i?i:{})})).find((function(t){return(null===t||void 0===t?void 0:t.code)&&e&&t.code.toLowerCase()===e.toLowerCase()}))},K=r&&Array.isArray(r)&&r.length>0?r.sort((function(e,t){var a,i,c,n,o;return null===(a=Object(k.Z)(null===(i=e.fields)||void 0===i||null===(c=i.countryName)||void 0===c?void 0:c.value))||void 0===a?void 0:a.localeCompare(Object(k.Z)(null===(n=t.fields)||void 0===n||null===(o=n.countryName)||void 0===o?void 0:o.value))})):[];return c.a.createElement(w.a,{className:F.root},c.a.createElement(w.a,{className:"visa-info-container"},c.a.createElement(w.a,{className:"visa-info-text"},a&&c.a.createElement(h.a,{variant:"body2Upd"},a)),c.a.createElement(w.a,{className:"dropdown-visa-container"},c.a.createElement(w.a,{className:"dropdownContainer ".concat(_?"open":""),style:{cursor:"pointer"},onClick:function(e){var t;!function(e){Z(e.currentTarget)}(e),t=Object(o.a)(Object(o.a)({},R.a.pageBodyInteraction.filter_dropdown_click),{},{call_to_action:Object(b.get)(L,"fields.countryName.value",L),page_name_eng:j,UX_component_name:u,page_subsection:O}
1),Object(B.b)(t)}},c.a.createElement(w.a,{className:"countryDropdown"},c.a.createElement(w.a,{className:"countryDropdownHeading"},L&&(null===L||void 0===L?void 0:L.fields)&&Object(b.get)(L,"fields.countryName.value")&&c.a.createElement(c.a.Fragment,null,c.a.createElement(w.a,{className:"country-flag-container"},c.a.createElement(w.a,{className:"country-flag",style:{backgroundSize:G?Object(l.q)(51e3/8.33):Object(l.p)(51e3/8.33),backgroundPosition:void 0!==(null===(t=J())||void 0===t?void 0:t.x)?"".concat(G?Object(l.q)(-J().x/8.33):Object(l.p)(-J().x/8.33)," 0"):"0 0"}}))),c.a.createElement(h.a,{variant:"h6Upd",compoenent:"h6",className:"selectedDropdownItem"},Object(k.Z)(Object(b.get)(L,"fields.countryName.value","")))),c.a.createElement("span",{className:"dropdown-arrow-icon"},X("arrow-dropdown")))),!G&&c.a.createElement(v.a,{anchorEl:_,open:Boolean(_),onClose:function(){return Z(null)},anchorOrigin:{vertical:"bottom",horizontal:W?"right":"left"},transformOrigin:{vertical:"top",horizontal:W?"right":"left"},getContentAnchorEl:null,classes:{paper:Object(E.a)(F.customMenu,"")},style:{overflowY:"hidden"}},c.a.createElement(N.a,{className:"scrollBar",style:{height:Object(l.p)(368)}},K&&K.length>0&&K.map((function(e,t){var a=Object(k.Z)(Object(b.get)(e,"fields.countryCode.value","")),i=Object(k.Z)(Object(b.get)(e,"fields.countryName.value","")),d=Object.entries(null!==T&&void 0!==T?T:{}).map((function(e){var t=Object(n.a)(e,2),a=t[0],i=t[1];return Object(o.a)({key:a},null!==i&&void 0!==i?i:{})})).find((function(e){return(null===e||void 0===e?void 0:e.code)&&a&&e.code.toLowerCase()===a.toLowerCase()}));return c.a.createElement(w.a,{className:"country-dropdown-item ".concat(L==e?"active":""),onClick:function(){M(e),Z(!1)}},c.a.createElement("div",{className:"country-flag-container"},c.a.createElement("div",{className:"country-flag",style:{backgroundSize:G?Object(l.q)(51e3/8.33):Object(l.p)(51e3/8.33),backgroundPosition:void 0!==(null===d||void 0===d?void 0:d.x)?"".concat(G?Object(l.q)(-d.x/8.33):Object(l.p)(-d.x/8.33)," 0"):"0 0"}})),c.a.createElement(h.a,{className:"country-name",variant:"body1Upd"},i))})))),G&&c.a.createElement(C.a,{anchor:"bottom",open:Boolean(_),classes:{paper:Object(E.a)(F.customMenu,"")},PaperProps:{style:{overflowY:"hidden"}},onClose:function(e,t){"backdropClick"===t&&Z(null)}},c.a.createElement(N.a,{className:"scrollBar",style:{height:Object(l.q)(607)}},c.a.createElement(w.a,{className:"drawer-heading"},c.a.createElement(h.a,{variant:"h4Upd"},Object(q.a)("tripPlannerCountriesText")),c.a.createElement(w.a,{className:"close-icon-container",onClick:function(){return Z(null)}},X("close-icon"))),c.a.createElement(w.a,{className:"country-list"},K&&K.length>0&&K.map((function(e,t){var a=Object(k.Z)(Object(b.get)(e,"fields.countryCode.value","")),i=Object(k.Z)(Object(b.get)(e,"fields.countryName.value","")),d=Object.entries(null!==T&&void 0!==T?T:{}).map((function(e){var t=Object(n.a)(e,2),a=t[0],i=t[1];return Object(o.a)({key:a},null!==i&&void 0!==i?i:{})})).find((function(e){var t;return(null===e||void 0===e?void 0:e.code)&&a&&(null===e||void 0===e||null===(t=e.code)||void 0===t?void 0:t.toLowerCase())===(null===a||void 0===a?void 0:a.toLowerCase())}));return c.a.createElement(w.a,{key:t,className:"country-dropdown-item ".concat(L==e?"active":""),onClick:function(){M(e),Z(!1)}},c.a.createElement("div",{className:"country-flag-container"},c.a.createElement("div",{className:"country-flag",style:{backgroundSize:G?Object(l.q)(51e3/8.33):Object(l.p)(51e3/8.33),backgroundPosition:void 0!==(null===d||void 0===d?void 0:d.x)?"".concat(G?Object(l.q)(-d.x/8.33):Object(l.p)(-d.x/8.33)," 0"):"0 0"}})),c.a.createElement(h.a,{className:"country-name",variant:"body1Upd"},i))}))))),L&&L.fields&&U&&c.a.createElement(w.a,{ref:V,className:"visa-check "},c.a.createElement(g.a,{media:{image:{value:{src:Object(b.get)(U,"fields.icon.value.src","")}}},isParalax:!1}),c.a.createElement(h.a,{variant:G?"body2Upd":"body3Upd",className:"visa-check-text"})))),c.a.createElement(w.a,{className:"more-details-text"},d&&c.a.createElement(h.a,{variant:"body2Upd",component:"div"},c.a.createElement(z.a,{className:"visa-more-info-text",innerHTML:{value:d}}))))},A=Object(r.a)((function(e){var t,a;return{root:{"& .timezone-container":{display:"flex",flexDirection:"column",gap:Object(l.p)(12),"& .timezone-standard-time-container":(t={border:"1px solid #DDDDDD",paddingTop:Object(l.p)(16),paddingBottom:Object(l.p)(16),paddingLeft:Object(l.p)(24),paddingRight:Object(l.p)(24),borderRadius:Object(l.p)(16),display:"flex",flexDirection:"column",gap:Object(l.p)(8)},Object(d.a)(t,Object(l.e)("md"),{paddingLeft:Object(l.q)(16),paddingRight:Object(l.q)(16),background:e.palette.common.SurfaceSunken(),border:"none",gap:Object(l.q)(4)}),Object(d.a)(t,"& .location-text",Object(d.a)({display:"flex",gap:Object(l.p)(4),alignItems:"center"},Object(l.e)("md"),{gap:Object(l.q)(4)})),Object(d.a)(t,"& .route-text",{color:e.palette.common.Grey1Upd()}),Object(d.a)(t,"& .standard-time-zone",{display:"flex",alignItems:"center",gap:Object(l.p)(6),fontFamily:e.custom.fontFamily.primaryBold}),t),"& .countries-time-date-container":(a={display:"flex",alignItems:"center",gap:Object(l.p)(5),width:"100%"},Object(d.a)(a,Object(l.e)("md"),{gap:Object(l.q)(5)}),Object(d.a)(a,"& .equal-sign",{display:"flex",color:e.palette.common.Palm()}),a)}}}})),_=Object(r.a)((function(e){var t;return{root:{width:"100%","& .timezone-standard-time-container":(t={backgroundColor:e.palette.common.SurfaceSunken(),border:"none !important",paddingTop:Object(l.p)(16),paddingBottom:Object(l.p)(16),paddingLeft:Object(l.p)(24),paddingRight:Object(l.p)(24),borderRadius:"".concat(Object(l.p)(12)," !important"),display:"flex",flexDirection:"column",gap:Object(l.p)(8)},Object(d.a)(t,Object(l.e)("lg"),{minWidth:"100%"}),Object(d.a)(t,Object(l.e)("md"),{borderRadius:"".concat(Object(l.q)(12)," !important")}),Object(d.a)(t,"& .location-text",{display:"flex",gap:Object(l.p)(4),color:e.palette.common.Grey1Upd(),alignItems:"center","& svg":Object(d.a)({width:Object(l.p)(16)},Object(l.e)("md"),{width:Object(l.q)(16)})}),Object(d.a)(t,"& .route-text",{color:e.palette.common.Grey1Upd()}),Object(d.a)(t,"& .standard-time-zone",{display:"flex",alignItems:"center",gap:Object(l.p)(6)}),Object(d.a)(t,"& .date-timezone",Object(d.a)({opacity:.8},Object(l.e)("md"),{fontSize:Object(l.q)(16)})),t)}}})),Z=function(e){var t=e.locationText,a=e.locationTimeDate,i=_(),n=Object(b.get)(a,"time",""),o=Object(b.get)(a,"period",""),d=Object(b.get)(a,"dayOfWeek",""),r=Object(b.get)(a,"month",""),l=Object(b.get)(a,"day","");return c.a.createElement(w.a,{className:i.root},c.a.createElement(w.a,{className:"timezone-container"},c.a.createElement(w.a,{className:"timezone-standard-time-container"},t&&c.a.createElement(h.a,{variant:"body2Upd",className:"location-text"},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){case"location-icon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},c.a.createElement("path",{d:"M8.5 1L8.50113 -1.90735e-06L8.49887 6.55651e-07L8.5 1ZM12.3877 2.6123L13.0948 1.9052L12.387
17 2.6123ZM14 6.5H15L15 6.49887L14 6.5ZM11.375 12.5156L10.6204 11.8595L10.6185 11.8617L11.375 12.5156ZM8.78906 14.9092L9.36258 15.7284C9.36939 15.7236 9.37615 15.7187 9.38285 15.7138L8.78906 14.9092ZM8.50293 15V16H8.50379L8.50293 15ZM8.21582 14.9092L7.6229 15.7144C7.62926 15.7191 7.63568 15.7237 7.64215 15.7283L8.21582 14.9092ZM5.625 12.5156L6.38099 11.861L6.37916 11.8589L5.625 12.5156ZM3 6.5L2 6.49887V6.5H3ZM4.6123 2.6123L3.9052 1.9052H3.9052L4.6123 2.6123ZM8.5 1L8.49887 2C9.69251 2.00135 10.837 2.47578 11.6806 3.31941L12.3877 2.6123L13.0948 1.9052C11.8762 0.686645 10.2239 0.00195497 8.50113 6.55651e-07L8.5 1ZM12.3877 2.6123L11.6806 3.31941C12.5242 4.16304 12.9986 5.30749 13 6.50113L14 6.5L15 6.49887C14.998 4.77615 14.3134 3.12375 13.0948 1.9052L12.3877 2.6123ZM14 6.5H13C13 8.15033 12.2316 10.0064 10.6204 11.8595L11.375 12.5156L12.1296 13.1718C13.9497 11.0786 15 8.77467 15 6.5H14ZM11.375 12.5156L10.6185 11.8617C9.89664 12.6967 9.08373 13.4489 8.19527 14.1046L8.78906 14.9092L9.38285 15.7138C10.3903 14.9703 11.3125 14.1172 12.1315 13.1696L11.375 12.5156ZM8.78906 14.9092L8.21555 14.09C8.29688 14.033 8.39647 14.0001 8.50207 14L8.50293 15L8.50379 16C8.81428 15.9997 9.11339 15.9028 9.36258 15.7284L8.78906 14.9092ZM8.50293 15V14C8.60737 14 8.70692 14.0323 8.78949 14.0901L8.21582 14.9092L7.64215 15.7283C7.89284 15.9038 8.19323 16 8.50293 16V15ZM8.21582 14.9092L8.80874 14.1039C7.91868 13.4486 7.1043 12.6964 6.38099 11.861L5.625 12.5156L4.86901 13.1702C5.68972 14.1181 6.61353 14.9712 7.6229 15.7144L8.21582 14.9092ZM5.625 12.5156L6.37916 11.8589C4.76635 10.0067 4 8.15082 4 6.5H3H2C2 8.77418 3.04741 11.0783 4.87084 13.1723L5.625 12.5156ZM3 6.5L4 6.50113C4.00135 5.30749 4.47578 4.16304 5.31941 3.31941L4.6123 2.6123L3.9052 1.9052C2.68665 3.12375 2.00195 4.77615 2 6.49887L3 6.5ZM4.6123 2.6123L5.31941 3.31941C6.16304 2.47578 7.30749 2.00135 8.50113 2L8.5 1L8.49887 6.55651e-07C6.77615 0.00195497 5.12375 0.686645 3.9052 1.9052L4.6123 2.6123ZM8.5 6V5C7.39543 5 6.5 5.89543 6.5 7H7.5H8.5V6ZM7.5 7H6.5C6.5 8.10457 7.39543 9 8.5 9V8V7H7.5ZM8.5 8V9C9.60457 9 10.5 8.10457 10.5 7H9.5H8.5V8ZM9.5 7H10.5C10.5 5.89543 9.60457 5 8.5 5V6V7H9.5Z",fill:"#E56D13"}));default:return c.a.createElement(c.a.Fragment,null)}}("location-icon"),t),c.a.createElement(w.a,null,n&&o&&c.a.createElement(h.a,{variant:"h6Upd",className:"countries-time-date-container"},n," ",o),d&&r&&l&&c.a.createElement(h.a,{variant:"body3Upd",className:"countries-time-date-container date-timezone"},d,", ",r," ",l)))))},D=function(e){var t=e.tzLocation,a=e.tzADLocation,o=e.tzUTC,d=e.tzStandardTime,r=e.userCountry,l=e.monthNames,s=e.dayNames,p=Object(i.useState)({}),g=Object(n.a)(p,2),u=g[0],j=g[1],O=Object(i.useState)({}),y=Object(n.a)(O,2),f=y[0],x=y[1],v=Object(m.a)("(max-width:".concat(768,"px)")),C=A();return Object(i.useEffect)((function(){var e=Object(b.get)(r,"fields.utcTime.value",""),t=function(){j(Object(k.l)(Object(k.A)(e),l,s)),x(Object(k.l)(Object(k.A)("UTC+04:00"),l,s))};t();var a=setInterval(t,6e4);return function(){return clearInterval(a)}}),[r]),c.a.createElement(w.a,{className:C.root},c.a.createElement(w.a,{className:"timezone-container"},c.a.createElement(w.a,{className:"timezone-standard-time-container"},o&&c.a.createElement(h.a,{variant:"body2Upd",className:"route-text"},o),d&&c.a.createElement(h.a,{className:"standard-time-zone",variant:v?"body1Upd":"h6Upd"},d)),c.a.createElement(w.a,{className:"countries-time-date-container"},c.a.createElement(Z,{locationText:t,locationTimeDate:u}),c.a.createElement("span",{className:"equal-sign"},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){case"equal-sign":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 13 13",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 5C2.5 4.72386 2.72386 4.5 3 4.5H10C10.2761 4.5 10.5 4.72386 10.5 5C10.5 5.27614 10.2761 5.5 10 5.5H3C2.72386 5.5 2.5 5.27614 2.5 5ZM2.5 8C2.5 7.72386 2.72386 7.5 3 7.5H10C10.2761 7.5 10.5 7.72386 10.5 8C10.5 8.27614 10.2761 8.5 10 8.5H3C2.72386 8.5 2.5 8.27614 2.5 8Z",fill:"#00605F"}));default:return c.a.createElement(c.a.Fragment,null)}}("equal-sign")),c.a.createElement(Z,{userCountry:r,locationText:a,locationTimeDate:f}))))},U=Object(r.a)((function(e){var t;return{root:{"& .plan-your-trip-app-card":(t={paddingTop:Object(l.p)(11.5),paddingBottom:Object(l.p)(11.5),borderBottom:"1px solid #E9E9E9"},Object(d.a)(t,Object(l.e)("md"),{paddingTop:Object(l.q)(11.5),paddingBottom:Object(l.q)(11.5)}),Object(d.a)(t,"&:first-child",{paddingTop:0}),Object(d.a)(t,"&:last-child",{paddingBottom:0,borderBottom:"none"}),t)},AppModal:{display:"flex",alignItems:"center",justifyContent:"center","& .icon_container":{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","& svg":{width:Object(l.p)(24),height:Object(l.p)(24),"& path":{fill:"rgba(0, 96, 95, 1)",transition:"all ease 0.35s"}}},"& .app-modal-header":{marginBottom:Object(l.p)(24),display:"flex",justifyContent:"space-between",alignItems:"center"},"& .app-modal-container":{width:Object(l.p)(480),backgroundColor:e.palette.common.WhiteUpd(),borderRadius:Object(l.p)(24),padding:Object(l.p)(32)}
1,"& .app-content-wrapper":{"& .app-modal-description":{color:e.palette.common.Grey1Upd()},"& .links-container":{display:"flex",alignItems:"center",justifyContent:"space-between",marginTop:Object(l.p)(24),gap:Object(l.p)(16),"& .app-link":{padding:"".concat(Object(l.p)(17)," ").concat(Object(l.p)(42)),borderRadius:Object(l.p)(80),background:e.palette.common.Black(),minHeight:Object(l.p)(64),minWidth:Object(l.p)(200),"& picture":{display:"flex","& img":{background:"transparent"}}}}}}}})),H=a(1292),F=a(1513),P=Object(r.a)((function(e){var t,a,i;return{root:{display:"flex",justifyContent:"space-between",alignItems:"center","& .app-info":(a={display:"flex",alignItems:"center",gap:Object(l.p)(8)},Object(d.a)(a,Object(l.e)("md"),{gap:Object(l.q)(8)}),Object(d.a)(a,"& .app-image",(t={width:Object(l.p)(52),height:Object(l.p)(52),borderRadius:Object(l.p)(12)},Object(d.a)(t,Object(l.e)("md"),{width:Object(l.q)(52),height:Object(l.q)(52),borderRadius:Object(l.q)(12)}),Object(d.a)(t,"& img",{backgroundColor:"transparent"}),t)),Object(d.a)(a,"& .app-name",{display:"flex",flexDirection:"column","& .app-name-value":{fontFamily:e.custom.fontFamily.primaryBold},"& .label-text":Object(d.a)({color:e.palette.common.Grey1Upd(),fontSize:Object(l.p)(12),lineHeight:1.4},Object(l.e)("md"),{fontSize:Object(l.q)(12)})}),a),"& .app-link":(i={backgroundColor:e.palette.common.Palm(),paddingLeft:Object(l.p)(15.5),paddingRight:Object(l.p)(15.5),paddingTop:Object(l.p)(7.5),paddingBottom:Object(l.p)(7.5),borderRadius:Object(l.p)(100),height:Object(l.p)(32),cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},Object(d.a)(i,Object(l.e)("md"),{height:Object(l.q)(32),paddingLeft:Object(l.q)(15.5),paddingRight:Object(l.q)(15.5)}),Object(d.a)(i,"& .app-link-text",Object(d.a)({color:e.palette.common.WhiteUpd(),textTransform:"uppercase",fontSize:Object(l.p)(14),lineHeight:1.2,fontFamily:e.custom.fontFamily.primaryBold,letterSpacing:.7,textDecoration:"none !important"},Object(l.e)("md"),{fontSize:Object(l.q)(14)})),i)}}})),W=a(15),G=a(159),V=function(e){var t=e.title,a=e.description,n=e.iosCta,d=e.androidCta,r=e.appLogo,l=e.openAppModal,s=e.pageTitleEn,p=e.COMPONENT_NAME,u=P(),j=Object(m.a)("(max-width:".concat(1220,"px)")),O=Object(i.useMemo)((function(){return W.a?Object(k.M)()?Object(b.get)(n,"href",""):Object(b.get)(d,"href",""):""}
1),[n,d,W.a]),y=function(e){Object(B.b)(e)};return c.a.createElement(w.a,{className:"".concat(u.root," plan-your-trip-app-card")},c.a.createElement(w.a,{className:"app-info"},r&&c.a.createElement(w.a,{className:"app-image"},c.a.createElement(g.a,{media:{image:{value:r},aspectRatio:G.a["1x1"]},isParalax:!1})),c.a.createElement(w.a,{className:"app-name"},t&&c.a.createElement(h.a,{className:"app-name-value",variant:"body2Upd"},t),a&&c.a.createElement(h.a,{className:"label-text",variant:"label"},a))),j?c.a.createElement(w.a,{className:"app-link",onClick:function(){y(Object(o.a)(Object(o.a)({},R.a.pageBodyInteraction.get_app_click),{},{call_to_action:Object(q.a)("tripPlannerAppGetText"),page_name_eng:s,UX_component_name:p,link_url:""}))}},c.a.createElement(F.a,{className:"app-link-text",href:O,target:"_blank"},Object(q.a)("tripPlannerAppGetText"))):c.a.createElement(w.a,{className:"app-link",onClick:function(){l(n,d),y(Object(o.a)(Object(o.a)({},R.a.pageBodyInteraction.get_app_click),{},{call_to_action:Object(q.a)("tripPlannerAppGetText"),page_name_eng:s,UX_component_name:p,link_url:""}))}},c.a.createElement(F.a,{className:"app-link-text"},Object(q.a)("tripPlannerAppGetText"))))},Y=function(e){var t,a,d,r,l,s,p,u,j,O,y=e.appsList,f=e.appGetAndroidImage,v=e.appGetAppleImage,C=e.appGetTitle,E=e.appGetDescription,L=e.pageTitleEn,N=e.COMPONENT_NAME,T=Object(m.a)("(max-width:".concat(1220,"px)")),q=Object(i.useState)({isModalOpened:!1,appLinks:{}}),M=Object(n.a)(q,2),I=M[0],z=M[1],S=U(),A=Object(x.a)(),_=A&&"rtl"===A.direction,Z=function(e,t){z({
1isModalOpened:!0,appLinks:{iosCta:e,androidCta:t}})};Object(i.useEffect)((function(){var e=document.querySelector(".headerMegaNavMainWrapper");if(I.isModalOpened){var t=window.innerWidth-document.documentElement.clientWidth;document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight="".concat(t,"px"),e&&(_?(e.style.paddingLeft="",e.style.paddingLeft="".concat(t,"px")):(e.style.paddingRight="",e.style.paddingRight="".concat(t,"px")))}else document.documentElement.style.overflow="",document.documentElement.style.paddingRight="",e&&(_?e.style.paddingLeft="":e.style.paddingRight="")}),[I]);var D=function(e){Object(B.b)(e)};return c.a.createElement(c.a.Fragment,null,c.a.createElement(w.a,{className:S.root},y&&Array.isArray(y)&&y.length>0&&y.map((function(e){var t=Object(k.Z)(Object(b.get)(e,"fields.title.value","")),a=Object(k.Z)(Object(b.get)(e,"fields.description.value","")),i=Object(b.get)(e,"fields.iosCta.value",""),n=Object(b.get)(e,"fields.androidCta.value",""),o=Object(b.get)(e,"fields.logo.value","");return c.a.createElement(V,{openAppModal:Z,title:t,description:a,iosCta:i,androidCta:n,appLogo:o,pageTitleEn:L,COMPONENT_NAME:N})}))),!T&&c.a.createElement(H.a,{className:"app-modal ".concat(S.AppModal),open:!!(null===I||void 0===I?void 0:I.isModalOpened),BackdropProps:{style:{zIndex:"-1",posiiton:"fixed",inset:"0px",backgroundColor:"rgba(0,0,0,0.4)"}},onClose:function(e,t){"backdropClick"!==t&&"escapeKeyDown"!==t||z({isModalOpened:!1,appLinks:{}})}},c.a.createElement(w.a,{className:"app-modal-container"},c.a.createElement(w.a,{className:"app-modal-header"},C&&c.a.createElement(h.a,{variant:"h5Upd"},C),c.a.createElement(w.a,{onClick:function(){return z({isModalOpened:!1,appLinks:{}})}},c.a.createElement(w.a,{className:"icon_container"},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){case"crossIcon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.19526 2.19526C2.45561 1.93491 2.87772 1.93491 3.13807 2.19526L8 7.05719L12.8619 2.19526C13.1223 1.93491 13.5444 1.93491 13.8047 2.19526C14.0651 2.45561 14.0651 2.87772 13.8047 3.13807L8.94281 8L13.8047 12.8619C14.0651 13.1223 14.0651 13.5444 13.8047 13.8047C13.5444 14.0651 13.1223 14.0651 12.8619 13.8047L8 8.94281L3.13807 13.8047C2.87772 14.0651 2.45561 14.0651 2.19526 13.8047C1.93491 13.5444 1.93491 13.1223 2.19526 12.8619L7.05719 8L2.19526 3.13807C1.93491 2.87772 1.93491 2.45561 2.19526 2.19526Z",fill:"#00605F"}));default:return c.a.createElement(c.a.Fragment,null)}}("crossIcon")))),c.a.createElement(w.a,{className:"app-content-wrapper"},E&&c.a.createElement(h.a,{variant:"body2Upd",className:"app-modal-description"},E),((null===I||void 0===I||null===(t=I.appLinks)||void 0===t?void 0:t.iosCta)||(null===I||void 0===I||null===(a=I.appLinks)||void 0===a?void 0:a.androidCta))&&c.a.createElement(w.a,{className:"links-container"},(null===I||void 0===I||null===(d=I.appLinks)||void 0===d?void 0:d.iosCta)&&c.a.createElement(F.a,{href:Object(b.get)(I,"appLinks.iosCta.href",""),className:"app-link",target:(null===I||void 0===I||null===(r=I.appLinks)||void 0===r||null===(l=r.iosCta)||void 0===l?void 0:l.target)||"",onClick:function(){D(Object(o.a)(Object(o.a)({},R.a.pageBodyInteraction.get_app_click_success),{},{call_to_action:C,page_name_eng:L,UX_component_name:N,link_url:Object(b.get)(I,"appLinks.iosCta.href","")}))}},c.a.createElement(g.a,{media:{image:{value:{src:null===v||void 0===v||null===(s=v.value)||void 0===s?void 0:s.src}}}})),(null===I||void 0===I||null===(p=I.appLinks)||void 0===p?void 0:p.androidCta)&&c.a.createElement(F.a,{href:Object(b.get)(I,"appLinks.androidCta.href",""),target:(null===I||void 0===I||null===(u=I.appLinks)||void 0===u||null===(j=u.androidCta)||void 0===j?void 0:j.target)||"",className:"app-link",onClick:function(){D(Object(o.a)(Object(o.a)({},R.a.pageBodyInteraction.get_app_click_success),{},{call_to_action:C,page_name_eng:L,UX_component_name:N,link_url:Object(b.get)(I,"appLinks.iosCta.href","")}))}},c.a.createElement(g.a,{media:{image:{value:{src:null===f||void 0===f||null===(O=f.value)||void 0===O?void 0:O.src}}}})))))))},X=Object(r.a)((function(e){var t;return{root:(t={display:"flex",flexDirection:"column",gap:Object(l.p)(32)},Object(d.a)(t,Object(l.e)("md"),{gap:Object(l.q)(32)}),Object(d.a)(t,"& .holidays-container",{backgroundColor:e.palette.common.WhiteUpd()}),Object(d.a)(t,"& .holiday-info",{"& .holiday-name":{maxWidth:Object(l.p)(240),fontFamily:e.custom.fontFamily.primaryBold}}),t),HolidaysModal:{display:"flex",alignItems:"center",justifyContent:"center","& .closeButton":{width:"".concat(Object(l.p)(48)," !important"),height:"".concat(Object(l.p)(48)," !important"),border:"1px solid #00605F",borderRadius:"50%",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"all ease 0.35s",boxShadow:"0 4px 64px 0 rgba(41, 38, 47, 0.20)","&:before":Object(o.a)(Object(o.a)({content:'""',width:"calc(100% - ".concat(Object(l.p)(4),")"),height:"calc(100% - ".concat(Object(l.p)(4),")"),border:"0.5px solid rgba(0, 144, 133, 0.3)",position:"absolute",borderRadius:"50%"},e.mixins.left("".concat(Object(l.p)(2)))),{},{top:Object(l.p)(2)}),"& .icon_container":{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center","& svg":{width:Object(l.p)(16),height:Object(l.p)(16),"& path":{fill:"rgba(0, 96, 95, 1)",transition:"all ease 0.35s"}}},"&:hover":{background:"#00605F","& path":{fill:"#fff !important"}}},"& .holidays-header":{marginBottom:Object(l.p)(24),display:"flex",alignItems:"center",justifyContent:"space-between","& .closeButton":{boxShadow:"none"}},"& .year-holidays-wrapper":{display:"flex",gap:Object(l.p)(64),justifyContent:"space-between","& .holiday-name":{maxWidth:Object(l.p)(340.8),fontFamily:e.custom.fontFamily.primaryBold}},"& .holidays-container":{minWidth:Object(l.p)(1008),backgroundColor:e.palette.common.WhiteUpd(),borderRadius:Object(l.p)(24),padding:Object(l.p)(32),paddingBottom:"var(--mfd-spacing-s)"}}}})),J=Object(r.a)((function(e){var t,a,i;return{root:{width:"100%","& .year-container":(t={marginBottom:Object(l.p)(4)},Object(d.a)(t,Object(l.e)("md"),{marginBottom:Object(l.q)(4)}),Object(d.a)(t,"& .year-tag",{"& .tagContainer":{backgroundColor:e.palette.common.Mangrove()}}),t),"& .holidays-listings":{"& .holiday-info":(a={display:"flex",justifyContent:"space-between",paddingTop:Object(l.p)(8),paddingBottom:Object(l.p)(8),borderBottom:"0.5px solid #E9E9E9",flexDirection:"column"},Object(d.a)(a,Object(l.e)("md"),{flexDirection:"row",paddingTop:Object(l.q)(16),paddingBottom:Object(l.q)(16),alignItems:"center"}),Object(d.a)(a,"& .holiday-date",{color:e.palette.common.Grey1Upd(),textWrap:"nowrap"}),a),"&.initial-holidays":{"& .holiday-info":{"&:last-child":{}}},"&.all-holidays-shown":{"& .holiday-info":(i={display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:Object(l.p)(16),paddingBottom:Object(l.p)(16),flexDirection:"row",borderBottom:"0.5px solid #E9E9E9"},Object(d.a)(i,Object(l.e)("md"),{paddingTop:Object(l.q)(16),paddingBottom:Object(l.q)(16)}),Object(d.a)(i,"& .holiday-date",{color:e.palette.common.Grey1Upd()}),Object(d.a)(i,"&:last-child",{}),i)}},"& .show-more-btn":Object(d.a)({marginTop:Object(l.p)(16),width:"fit-content"},Object(l.e)("md"),{marginTop:Object(l.q)(16),"& .buttonText":{fontSize:Object(l.q)(14)}})}}})),K=a(1572),Q=a(50),$=function(e){var t=e.holidays,a=e.showAllEvents,d=void 0!==a&&a,r=e.setPublicHolidayModal,l=e.openIndex,s=e.tagText,p=e.monthNames,g=(e.dayNames,e.phTitle),u=e.pageTitleEn,j=e.setShowAllHolidaysGlobal,O=Object(i.useState)(d),y=Object(n.a)(O,2),f=y[0],x=y[1],v=J(),C=Object(m.a)("(max-width:".concat(768,"px)"));Object(i.useEffect)((function(){C&&setTimeout((function(){x(!1)}),500)}),[l]);var E=Object(i.useCallback)((function(e,t){var a,i;if(!e||!t)return"";
1var c=new Date(e),n=new Date(t),o=c.toLocaleString("en-US",{month:"long",timeZone:"UTC"}),d=n.toLocaleString("en-US",{month:"long",timeZone:"UTC"}),r=c.getUTCDate(),l=n.getUTCDate(),s=p&&Array.isArray(p)&&p.length>0?null===(a=p.find((function(e){return e.key==o})))||void 0===a?void 0:a.shortName:"",h=p&&Array.isArray(p)&&p.length>0?null===(i=p.find((function(e){return e.key==d})))||void 0===i?void 0:i.shortName:"";return o===d?r===l?"".concat(s," ").concat(r):"".concat(s," ").concat(r," - ").concat(l):"".concat(s," ").concat(r," - ").concat(h," ").concat(l)}),[]),L=t&&Array.isArray(t)&&t.length>0?f?t.slice(0,8):t.slice(0,3):[];return c.a.createElement(w.a,{className:v.root},c.a.createElement(w.a,{className:"year-container"},c.a.createElement(K.a,{className:"year-tag",text:s,variant:"featured"})),c.a.createElement(w.a,{className:"holidays-listings ".concat(f?"all-holidays-shown":""," ").concat(!f&&t&&Array.isArray(t)&&t.length<=3?"initial-holidays":"")},L.map((function(e){var t=Object(b.get)(e,"fields.name.value",""),a=Object(b.get)(e,"fields.startDate.value",""),i=Object(b.get)(e,"fields.endDate.value","");return c.a.createElement(w.a,{className:"holiday-info"},c.a.createElement(h.a,{variant:"".concat(C?"h6Upd":"body2Upd"),className:"holiday-name"},t),c.a.createElement(h.a,{variant:"".concat(C?"body2Upd":"body3Upd"),className:"holiday-date"},E(a,i)))}))),!f&&t&&Array.isArray(t)&&t.length>3&&c.a.createElement(Q.a,{animateSvg:!1,variant:"withoutBorder",btnText:Object(q.a)("tripPlannerShowMoreText"),endIcon:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){case"chevron-down":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 13 13",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3536 4.14645C11.5488 4.34171 11.5488 4.65829 11.3536 4.85355L6.85355 9.35355C6.65829 9.54882 6.34171 9.54882 6.14645 9.35355L1.64645 4.85355C1.45118 4.65829 1.45118 4.34171 1.64645 4.14645C1.84171 3.95118 2.15829 3.95118 2.35355 4.14645L6.5 8.29289L10.6464 4.14645C10.8417 3.95118 11.1583 3.95118 11.3536 4.14645Z",fill:"#00605F"}));default:return c.a.createElement(c.a.Fragment,null)}}("chevron-down"),className:"show-more-btn",customTextVariant:"cta2Upd",onClick:function(){var e;C?(x(!0),j((function(e){return++e}))):r(!0),e=Object(o.a)(Object(o.a)({},R.a.pageBodyInteraction.load_more_click),{},{call_to_action:Object(q.a)("tripPlannerShowMoreText"),page_name_eng:u,page_subsection:g,UX_component_name:"CollageWidgets"}),Object(B.b)(e)}}))},ee=function(e){var t=e.openIndex,a=e.phLists,o=e.dayNames,d=e.monthNames,r=e.phTitle,l=e.pageTitleEn,s=e.setShowAllHolidaysGlobal,p=Object(i.useState)(!1),g=Object(n.a)(p,2),m=g[0],u=g[1],j=X(),O=Object(x.a)(),y=O&&"rtl"===O.direction;Object(i.useEffect)((function(){if(W.a){var e=document.body,t=document.querySelector(".headerMegaNavMainWrapper"),a=window.innerWidth-document.documentElement.clientWidth,i=document.documentElement;if(!m){var c=setTimeout((function(){e.style.overflow="",e.style.paddingRight="",t&&(y?t.style.paddingLeft="":t.style.paddingRight="")}),300);return function(){return clearTimeout(c)}}e.style.overflow="hidden",i.style.overflow="visible",e.style.paddingRight="".concat(a,"px"),t&&(y?(t.style.paddingLeft="",t.style.paddingLeft="".concat(a,"px")):(t.style.paddingRight="",t.style.paddingRight="".concat(a,"px")))}}),[m]);return c.a.createElement(c.a.Fragment,null,c.a.createElement(w.a,{className:j.root},a&&Array.isArray(a)&&a.length>0&&(null===a||void 0===a?void 0:a.slice(0,2).map((function(e){var a=Object(k.Y)(Object(b.get)(e,"fields.holidays",[])),i=Object(k.Z)(Object(b.get)(e,"fields.segmentText.value",""));return c.a.createElement($,{setShowAllHolidaysGlobal:s,monthNames:d,dayNames:o,openIndex:t,holidays:a,tagText:i,setPublicHolidayModal:u,phTitle:r,pageTitleEn:l})})))),c.a.createElement(H.a,{className:"year-holidays-modal ".concat(j.HolidaysModal),open:m,BackdropProps:{style:{zIndex:"-1",posiiton:"fixed",inset:"0px",backgroundColor:"rgba(0,0,0,0.4)"}},onClose:function(e,t){"backdropClick"!==t&&"escapeKeyDown"!==t||u(!1)}},c.a.createElement(w.a,{className:"holidays-container"},c.a.createElement(w.a,{className:"holidays-header"},r&&c.a.createElement(h.a,{variant:"h5Upd"},r),c.a.createElement(w.a,{className:"closeButton",onClick:function(){return u()}},c.a.createElement(w.a,{className:"icon_container"},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e){case"chevron-down":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 13 13",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3536 4.14645C11.5488 4.34171 11.5488 4.65829 11.3536 4.85355L6.85355 9.35355C6.65829 9.54882 6.34171 9.54882 6.14645 9.35355L1.64645 4.85355C1.45118 4.65829 1.45118 4.34171 1.64645 4.14645C1.84171 3.95118 2.15829 3.95118 2.35355 4.14645L6.5 8.29289L10.6464 4.14645C10.8417 3.95118 11.1583 3.95118 11.3536 4.14645Z",fill:"#00605F"}));case"crossIcon":return c.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.19526 2.19526C2.45561 1.93491 2.87772 1.93491 3.13807 2.19526L8 7.05719L12.8619 2.19526C13.1223 1.93491 13.5444 1.93491 13.8047 2.19526C14.0651 2.45561 14.0651 2.87772 13.8047 3.13807L8.94281 8L13.8047 12.8619C14.0651 13.1223 14.0651 13.5444 13.8047 13.8047C13.5444 14.0651 13.1223 14.0651 12.8619 13.8047L8 8.94281L3.13807 13.8047C2.87772 14.0651 2.45561 14.0651 2.19526 13.8047C1.93491 13.5444 1.93491 13.1223 2.19526 12.8619L7.05719 8L2.19526 3.13807C1.93491 2.87772 1.93491 2.45561 2.19526 2.19526Z",fill:"#00605F"}));default:return c.a.createElement(c.a.Fragment,null)}}("crossIcon")))),c.a.createElement(w.a,{className:"year-holidays-wrapper"},a&&Array.isArray(a)&&a.length>0&&a.slice(0,2).map((function(e){var a=Object(b.get)(e,"fields.holidays",[]);a=a&&Array.isArray(a)&&a.length>0&&a.slice(0,8);var i=Object(k.Z)(Object(b.get)(e,"fields.segmentText.value",""));return c.a.createElement($,{monthNames:d,dayNames:o,openIndex:t,holidays:a,tagText:i,setPublicHolidayModal:u,showAllEvents:!0})}))))))},te=a(66),ae=function(e){var t=j(),a=e.appsList,o=void 0===a?[]:a,d=e.appIcon,r=void 0===d?{}:d,l=e.appTitle,s=void 0===l?"":l,p=e.appGetAndroidImage,h=void 0===p?{}:p,g=e.appGetAppleImage,m=void 0===g?{}
1:g,O=e.appGetTitle,y=e.appGetDescription,f=e.distIcon,x=void 0===f?{}:f,v=e.distTitle,C=void 0===v?"":v,E=e.phIcon,L=void 0===E?{}:E,N=e.phTitle,k=void 0===N?"":N,T=e.phLists,R=void 0===T?[]:T,B=e.tzIcon,I=void 0===B?{}:B,z=e.tzTitle,A=void 0===z?"":z,_=e.tzADLocation,Z=void 0===_?"":_,U=e.tzLocation,H=void 0===U?"":U,F=e.tzUTC,P=void 0===F?"":F,W=e.tzStandardTime,G=void 0===W?"":W,V=e.countries,X=void 0===V?[]:V,J=e.visaIcon,K=void 0===J?{}:J,Q=e.visaMoreInfo,$=void 0===Q?"":Q,ae=e.visaDescription,ie=void 0===ae?"":ae,ce=e.visaTitle,ne=void 0===ce?"":ce,oe=e.visaPolicy,de=e.speed,re=void 0===de?0:de,le=e.userLocationApiUrl,se=e.dayNames,pe=e.monthNames,he=e.COMPONENT_NAME,ge=e.pageTitleEn,me=Object(i.useState)(0),be=Object(n.a)(me,2),ue=be[0],je=be[1],Oe=Object(i.useState)(0),ye=Object(n.a)(Oe,2),fe=ye[0],xe=ye[1],we=Object(i.useState)(),ve=Object(n.a)(we,2),Ce=ve[0],Ee=ve[1],Le=Object(i.useState)(),Ne=Object(n.a)(Le,2),ke=Ne[0],Te=Ne[1],qe=function(e){je(ue===e?null:e)};Object(i.useEffect)((function(){Object(te.a)({url:le}).then((function(e){var t=Object(b.get)(e,"data",{}),a=Object(b.get)(t,"country","");if(a){var i=X&&Array.isArray(X)&&X.length>0?X.find((function(e){return(null===e||void 0===e?void 0:e.name)==a})):{};i&&(Te(i),Ee(i))}})).catch((function(e){console.error(e)}))}),[]);return c.a.createElement(w.a,{className:t.root},c.a.createElement(w.a,{className:"cards-flex-container"},c.a.createElement(w.a,{className:"flex-left"},c.a.createElement(u,{isOpen:0===ue,icon:x,title:C,onToggle:function(){return qe(0)},className:"flex-item"},c.a.createElement(w.a,null,c.a.createElement(M,{getSelectedCountry:function(e){Ee(e)},userCountry:Ce,speed:re,routeText:Object(q.a)("tripPlannerRouteText"),countries:X,COMPONENT_NAME:he,pageTitleEn:ge,distTitle:C}))),c.a.createElement(u,{icon:K,title:ne,isOpen:1===ue,onToggle:function(){return qe(1)},className:"flex-item"},c.a.createElement(w.a,null,c.a.createElement(S,{userCountry:ke,visaPolicy:oe,visaDescription:ie,countries:X,visaMoreInfo:$,COMPONENT_NAME:he,pageTitleEn:ge,visaTitle:ne})))),c.a.createElement(w.a,{className:"flex-center"},c.a.createElement(u,{icon:I,title:A,isOpen:2===ue,onToggle:function(){return qe(2)},className:"flex-item"},c.a.createElement(w.a,null,c.a.createElement(D,{dayNames:se,monthNames:pe,userCountry:Ce,tzADLocation:Z,tzLocation:H,tzUTC:P,tzStandardTime:G}))),c.a.createElement(u,{icon:r,title:s,isOpen:3===ue,onToggle:function(){return qe(3)},className:"flex-item"},c.a.createElement(w.a,null,c.a.createElement(Y,{appGetTitle:O,appGetDescription:y,appGetAndroidImage:h,appGetAppleImage:m,appsList:o,COMPONENT_NAME:he,pageTitleEn:ge})))),c.a.createElement(w.a,{className:"flex-right"},c.a.createElement(u,{showAllHolidays:fe,setShowAllHolidays:xe,icon:L,title:k,isOpen:4===ue,onToggle:function(){return qe(4)},className:"flex-item"},c.a.createElement(w.a,null,c.a.createElement(ee,{setShowAllHolidaysGlobal:xe,phTitle:k,pageTitleEn:ge,openIndex:ue,phLists:R,dayNames:se,monthNames:pe}))))))},ie=a(209),ce=a(84),ne=a(238),oe=a(1548);t.default=Object(ie.a)(Object(ce.withSitecoreContext)()(Object(ne.b)()(Object(oe.a)((function(e){var t=Object(k.Y)(Object(b.get)(e,"fields.apps",[])),a=Object(b.get)(e,"fields.appIcon.value",{}),i=Object(k.Z)(Object(b.get)(e,"fields.appTitle.value","")),n=Object(k.Z)(Object(b.get)(e,"fields.appGetTitle.value","")),o=Object(k.Z)(Object(b.get)(e,"fields.appGetDescription.value","")),d=Object(b.get)(e,"fields.appGetAndroidImage"),r=Object(b.get)(e,"fields.appGetAppleImage"),l=Object(b.get)(e,"fields.distIcon.value",{}),s=Object(k.Z)(Object(b.get)(e,"fields.distTitle.value","")),p=Object(b.get)(e,"fields.phIcon.value",{}),h=Object(k.Z)(Object(b.get)(e,"fields.phTitle.value","")),g=Object(k.Y)(Object(b.get)(e,"fields.phLists",[])),m=Object(b.get)(e,"fields.tzIcon.value",{}),u=Object(k.Z)(Object(b.get)(e,"fields.tzADLocation.value","")),j=Object(k.Z)(Object(b.get)(e,"fields.tzLocation.value","")),O=Object(k.Z)(Object(b.get)(e,"fields.tzUTC.value","")),y=Object(k.Z)(Object(b.get)(e,"fields.tzTitle.value","")),f=Object(k.Z)(Object(b.get)(e,"fields.tzStandardTime.value","")),x=Object(k.Y)(Object(b.get)(e,"fields.countries.fields.country",[])),w=Object(b.get)(e,"fields.visaIcon.value",{}),v=Object(k.Z)(Object(b.get)(e,"fields.visaMoreInfo.value","")),C=Object(k.Z)(Object(b.get)(e,"fields.visaDescription.value","")),E=Object(k.Z)(Object(b.get)(e,"fields.visaTitle.value","")),L=Object(k.Y)(Object(b.get)(e,"fields.visaPolicy",[])),N=Number(Object(b.get)(e,"fields.speed.value",0)),T=Object(b.get)(e,"appConfig.FETCH_USER_COUNTRY",""),q=Object(k.Y)(Object(b.get)(e,"sitecoreContext.dayNames",[])),R=Object(k.Y)(Object(b.get)(e,"sitecoreContext.monthNames",[])),B=Object(b.get)(e,"sitecoreContext.pageTitleEn","");return c.a.createElement("div",null,c.a.createElement(ae,{userLocationApiUrl:T,appsList:t,appIcon:a,appTitle:i,appGetAndroidImage:d,appGetAppleImage:r,appGetTitle:n,appGetDe
1scription:o,distIcon:l,distTitle:s,phIcon:p,phTitle:h,phLists:g,speed:N,tzIcon:m,tzADLocation:u,tzLocation:j,tzUTC:O,tzTitle:y,tzStandardTime:f,countries:x,visaIcon:w,visaMoreInfo:v,visaDescription:C,visaTitle:E,visaPolicy:L,dayNames:q,monthNames:R,COMPONENT_NAME:"CollageWidgets",pageTitleEn:B}))})))))},1542:function(e,t,a){"use strict";var i=a(0),c=a.n(i),n=a(1544),o=a(84),d=a(240),r=a(20),l=a(3),s=a(865),p=a(1),h=a(27),g=Object(s.a)((function(e){return Object(h.c)(e)?{richTextWrap:{"& h1":Object(l.a)(Object(l.a)({},e.typography.h1),{},{marginTop:"var(--mfd-spacing-l)",marginBottom:"var(--mfd-spacing-l)"}),"& h2":Object(l.a)(Object(l.a)({},e.typography.h2),{},{marginTop:"var(--mfd-spacing-l)",marginBottom:"var(--mfd-spacing-l)"}),"& h3":Object(l.a)(Object(l.a)({},e.typography.h3),{},{marginTop:"var(--mfd-spacing-l)",marginBottom:"var(--mfd-spacing-l)"}),"& h4":Object(l.a)(Object(l.a)({},e.typography.h4),{},{marginTop:"var(--mfd-spacing-l)",marginBottom:"var(--mfd-spacing-l)"}),"& h5":Object(l.a)(Object(l.a)({},e.typography.h5),{},{marginBottom:"var(--mfd-spacing-s)"}),"& h6":Object(l.a)(Object(l.a)({},e.typography.body1Regular),{},{marginBottom:"var(--mfd-spacing-s)"}),"& p":Object(l.a)(Object(l.a)({},e.typography.body1),{},{color:e.palette.text.darkGrey,margin:"0 0 var(--mfd-spacing-s)"}),"& ul":{color:e.palette.text.darkGrey},"& ol":{color:e.palette.text.darkGrey},"& a":Object(l.a)(Object(l.a)({},e.typography.body1),{},{color:e.palette.common.Sunset()}),"& strong, & b":{fontFamily:e.custom.fontFamily.primaryBold}}}:{richTextWrap:{"& h1":Object(l.a)(Object(l.a)({},e.typography.h1),{},{marginTop:Object(p.p)(32),marginBottom:Object(p.p)(32)}),"& h2":Object(l.a)(Object(l.a)({},e.typography.h2),{},{marginTop:Object(p.p)(32),marginBottom:Object(p.p)(32)}),"& h3":Object(l.a)(Object(l.a)({},e.typography.h3),{},{marginTop:Object(p.p)(32),marginBottom:Object(p.p)(32)}),"& h4":Object(l.a)(Object(l.a)({},e.typography.h4),{},{marginTop:Object(p.p)(32),marginBottom:Object(p.p)(32)}),"& h5":Object(l.a)(Object(l.a)({},e.typography.h5),{},{marginBottom:Object(p.p)(16)}),"& h6":Object(l.a)(Object(l.a)({},e.typography.body1Regular),{},{marginBottom:Object(p.p)(16)}),"& p":Object(l.a)(Object(l.a)({},e.typography.body1),{},{color:e.palette.text.darkGrey,margin:"0 0 ".concat(e.spacing(2))}),"& ul":{color:e.palette.text.darkGrey},"& ol":{color:e.palette.text.darkGrey},"& a":Object(l.a)(Object(l.a)({},e.typography.body1),{},{color:e.palette.common.AbuDhabiOrange}),"& strong, & b":{fontFamily:e.custom.fontFamily.primaryBold}}}})),m=a(209);t.a=Object(m.a)((function(e){var t,a=e.innerHTML,i=e.className,l=g(),s=Object(d.isExperienceEditorActive)(),p=a&&(null===a||void 0===a?void 0:a.value)&&(null===a||void 0===a||null===(t=a.value)||void 0===t?void 0:t.replace(/\s*style=(["'])(.*?)\1/g,""));return s?c.a.createElement(o.RichText,{className:Object(r.a)(l.richTextWrap,i||"","richText","richTextSitecore"),field:a}):a&&(null===a||void 0===a?void 0:a.value)?c.a.createElement("div",{className:"".concat(l.richTextWrap," ").concat(i||""," richText"),dangerouslySetInnerHTML:{__html:Object(n.a)(p)}}):null}))},1544:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var i=function(e){return e.replace(/\\/g,"")}},1548:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var i=a(0),c=a.n(i);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{requireDatasource:!0};return function(a){var i,n=(a||{}).fields,d=null!==(i=null===a||void 0===a?void 0:a.rendering)&&void 0!==i?i:{};return d&&null!==d.componentName&&""!==d.componentName&&void 0!==d.componentName?t.requireDatasource?Boolean(null===d||void 0===d?void 0:d.dataSource)&&o(n)?c.a.createElement(e,a):null:o(n)?c.a.createElement(e,a):null:null}}function o(e){return!(!e||"object"!==typeof e||Array.isArray(e))&&(0!==Object.keys(e).length&&!Object.values(e).every((function(e){return null===e||void 0===e})))}},1572:function(e,t,a){"use strict";var i=a(1519),c=a(0),n=a.n(c),o=a(2),d=a(865),r=a(1),l=Object(d.a)((function(e){var t;return{iconTagRoot:{width:Object(r.p)(32),height:Object(r.p)(28),display:"flex","& .tagContainer":{width:"100% !important",display:"flex",alignItems:"center",justifyContent:"center",position:"relative","&:after":Object(o.a)({content:"''",border:"1px solid rgba(255, 255, 255, 0.30)",position:"absolute",width:"calc(100% - 4px)",height:"calc(100% - 4px)",top:2,left:2,bottom:0,borderRadius:Object(r.p)(2)},Object(r.e)("sm"),{borderRadius:Object(r.q)(2)})},"& .wrapper":{padding:"0 !important","&:after":{display:"none !important"}}},root:{"& .tagContainer":(t={background:e.palette.common.SunsetEnabled(),padding:Object(r.p)(2),borderRadius:Object(r.p)(3),width:"fit-content"},Object(o.a)(t,Object(r.e)("sm"),{padding:Object(r.q)(2),borderRadius:Object(r.q)(3)}),Object(o.a)(t,"&.featured",{background:e.palette.common.SunsetEnabled()}),Object(o.a)(t,"&.popular",{background:e.palette.common.Pacific()}),Object(o.a)(t,"&.views",{background:e.palette.common.Iris()}),Object(o.a)(t,"&.general",{background:e.palette.common.Black(250),backdropFilter:"blur(10px)"}
1),Object(o.a)(t,"&.generalWhite",{background:e.palette.common.SurfaceSunken(),"& .text":{color:e.palette.common.Black()},"& .wrapper:after":{borderColor:e.palette.common.Grey4()}}),Object(o.a)(t,"& .wrapper",{display:"flex",justifyContent:"center",alignItems:"center",gap:"var(--mfd-spacing-xxxs)",padding:"var(--mfd-spacing-xxxs) var(--mfd-rounding-s)",position:"relative","& .MuiTypography-root":{lineHeight:1},"&:after":Object(o.a)({content:"''",border:"1px solid rgba(255, 255, 255, 0.30)",position:"absolute",width:"100%",top:0,right:0,left:0,bottom:0,borderRadius:Object(r.p)(2)},Object(r.e)("sm"),{borderRadius:Object(r.q)(2)}),"& .text":{color:e.palette.common.WhiteUpd(),textWrap:"nowrap",textTransform:"uppercase",lineHeight:1},"& svg":Object(o.a)({width:Object(r.p)(18),height:Object(r.p)(18)},Object(r.e)("sm"),{width:Object(r.q)(18),height:Object(r.q)(18)})}),t)}}})),s=a(31),p=a(27),h=function(e){var t=e.className,a=e.icon,c=l();return n.a.createElement(i.a,{className:"".concat(c.root," ").concat(c.iconTagRoot," tagMainContainer js-tagMainContainer ").concat(t||"")},n.a.createElement(i.a,{className:"tagContainer"},n.a.createElement(i.a,{className:"wrapper"},a&&a)))};t.a=function(e){var t=e.text,a=void 0===t?"":t,c=e.variant,o=void 0===c?"generalTransparent":c,d=e.icon,r=void 0===d?null:d,g=e.className,m=void 0===g?"":g,b=l();return"iconVariant"==o?n.a.createElement(h,{icon:r,className:""}):n.a.createElement(i.a,{className:"".concat(b.root," tagMainContainer js-tagMainContainer ").concat(m||"")},n.a.createElement(i.a,{className:"".concat("featured"===o?"featured":"popular"===o?"popular":"views"===o?"views":"generalTransparent"===o?"general":"generalWhite"===o?"generalWhite":""," tagContainer")},n.a.createElement(i.a,{className:"wrapper"},r&&r,n.a.createElement(s.a,{className:"text",variant:"cta2Upd",component:"span"},Object(p.Z)(a)))))}},1723:function(e,t,a){e.exports=a.p+"static/media/sprite.367bf32b.png"},1763:function(e){e.exports=JSON.parse('{"ad":{"code":"ad","x":0,"y":0,"width":200,"height":200},"ae":{"code":"ae","x":200,"y":0,"width":200,"height":200},"af":{"code":"af","x":400,"y":0,"width":200,"height":200},"ag":{"code":"ag","x":600,"y":0,"width":200,"height":200},"ai":{"code":"ai","x":800,"y":0,"width":200,"height":200},"al":{"code":"al","x":1000,"y":0,"width":200,"height":200},"am":{"code":"am","x":1200,"y":0,"width":200,"height":200},"ao":{"code":"ao","x":1400,"y":0,"width":200,"height":200},"aq":{"code":"aq","x":1600,"y":0,"width":200,"height":200},"ar":{"code":"ar","x":1800,"y":0,"width":200,"height":200},"as":{"code":"as","x":2000,"y":0,"width":200,"height":200},"at":{"code":"at","x":2200,"y":0,"width":200,"height":200},"au":{"code":"au","x":2400,"y":0,"width":200,"height":200},"aw":{"code":"aw","x":2600,"y":0,"width":200,"height":200},"ax":{"code":"ax","x":2800,"y":0,"width":200,"height":200},"az":{"code":"az","x":3000,"y":0,"width":200,"height":200},"ba":{"code":"ba","x":3200,"y":0,"width":200,"height":200},"bb":{"code":"bb","x":3400,"y":0,"width":200,"height":200},"bd":{"code":"bd","x":3600,"y":0,"width":200,"height":200},"be":{"code":"be","x":3800,"y":0,"width":200,"height":200},"bf":{"code":"bf","x":4000,"y":0,"width":200,"height":200},"bg":{"code":"bg","x":4200,"y":0,"width":200,"height":200},"bh":{"code":"bh","x":4400,"y":0,"width":200,"height":200},"bi":{"code":"bi","x":4600,"y":0,"width":200,"height":200},"bj":{"code":"bj","x":4800,"y":0,"width":200,"height":200},"bl":{"code":"bl","x":5000,"y":0,"width":200,"height":200},"bm":{"code":"bm","x":5200,"y":0,"width":200,"height":200},"bn":{"code":"bn","x":5400,"y":0,"width":200,"height":200},"bo":{"code":"bo","x":5600,"y":0,"width":200,"height":200},"bq":{"code":"bq","x":5800,"y":0,"width":200,"height":200},"br":{"code":"br","x":6000,"y":0,"width":200,"height":200},"bs":{"code":"bs","x":6200,"y":0,"width":200,"height":200},"bt":{"code":"bt","x":6400,"y":0,"width":200,"height":200},"bv":{"code":"bv","x":6600,"y":0,"width":200,"height":200},"bw":{"code":"bw","x":6800,"y":0,"width":200,"height":200},"by":{"code":"by","x":7000,"y":0,"width":200,"height":200},"bz":{"code":"bz","x":7200,"y":0,"width":200,"height":200},"ca":{"code":"ca","x":7400,"y":0,"width":200,"height":200},"cc":{"code":"cc","x":7600,"y":0,"width":200,"height":200},"cd":{"code":"cd","x":7800,"y":0,"width":200,"height":200},"cf":{"code":"cf","x":8000,"y":0,"width":200,"height":200},"cg":{"code":"cg","x":8200,"y":0,"width":200,"height":200},"ch":{"code":"ch","x":8400,"y":0,"width":200,"height":200},"ci":{"code":"ci","x":8600,"y":0,"width":200,"height":200},"ck":{"code":"ck","x":8800,"y":0,"width":200,"height":200},"cl":{"code":"cl","x":9000,"y":0,"width":200,"height":200},"cm":{"code":"cm","x":9200,"y":0,"width":200,"height":200},"cn":{"code":"cn","x":9400,"y":0,"width":200,"height":200},"co":{"code":"co","x":9600,"y":0,"width":200,"height":200},"cr":{"code":"cr","x":9800,"y":0,"width":200,"height":200},"cu":{"code":"cu","x":10000,"y":0,"width":200,"height":200},"cv":{"code":"cv","x":10200,"y":0,"width":200,"height":200},"cw":{"code":"cw","x":10400,"y":0,"width":200,"height":200},"cx":{"code":"cx","x":10600,"y":0,"width":200,"height":200},"cy":{"code":"cy","x":10800,"y":0,"width":200,"height":200},"cz":{"code":"cz","x":11000,"y":0,"width":200,"height":200},"de":{"code":"de","x":11200,"y":0,"width":200,"height":200},"dj":{"code":"dj","x":11400,"y":0,"width":200,"height":200},"dk":{"code":"dk","x":11600,"y":0,"width":200,"height":200},"dm":{"code":"dm","x":11800,"y":0,"width":200,"height":200},"do":{"code":"do","x":12000,"y":0,"width":200,"height":200},"dz":{"code":"dz","x":12200,"y":0,"width":200,"height":200},"ec":{"code":"ec","x":12400,"y":0,"width":200,"height":200},"ee":{"code":"ee","x":12600,"y":0,"width":200,"height":200},"eg":{"code":"eg","x":12800,"y":0,"width":200,"height":200},"eh":{"code":"eh","x":13000,"y":0,"width":200,"height":200},"er":{"code":"er","x":13200,"y":0,"width":200,"height":200},"es":{"code":"es","x":13400,"y":0,"width":200,"height":200},"et":{"code":"et","x":13600,"y":0,"width":200,"height":200},"eu":{"code":"eu","x":13800,"y":0,"width":200,"height":200},"fi":{"code":"fi","x":14000,"y":0,"width":200,"height":200},"fj":{"code":"fj","x":14200,"y":0,"width":200,"height":200},"fk":{"code":"fk","x":14400,"y":0,"width":200,"height":200},"fm":{"code":"fm","x":14600,"y":0,"width":200,"height":200},"fo":{"code":"fo","x":14800,"y":0,"width":200,"height":200},"fr":{"code":"fr","x":15000,"y":0,"width":200,"height":200},"ga":{"code":"ga","x":15200,"y":0,"width":200,"height":200},"gb-eng":{"code":"gb-eng","x":15400,"y":0,"width":200,"height":200},"gb-nir":{"code":"gb-nir","x":15600,"y":0,"width":200,"height":200},"gb-sct":{"code":"gb-sct","x":15800,"y":0,"width":200,"height":200},"gb-wls":{"code":"gb-wls","x":16000,"y":0,"width":200,"height":200},"gb":{"code":"gb","x":16200,"y":0,"width":200,"height":200},"gd":{"code":"gd","x":16400,"y":0,"width":200,"height":200},"ge":{"code":"ge","x":16600,"y":0,"width":200,"height":200},"gf":{"code":"gf","x":16800,"y":0,"width":200,"height":200},"gg":{"code":"gg","x":17000,"y":0,"width":200,"height":200},"gh":{"code":"gh","x":17200,"y":0,"width":200,"height":200},"gi":{"code":"gi","x":17400,"y":0,"width":200,"height":200},"gl":{"code":"gl","x":17600,"y":0,"width":200,"height":200},"gm":{"code":"gm","x":17800,"y":0,"width":200,"height":200},"gn":{"code":"gn","x":18000,"y":0,"width":200,"height":200},"gp":{"code":"gp","x":18200,"y":0,"width":200,"height":200},"gq":{"code":"gq","x":18400,"y":0,"width":200,"height":200},"gr":{"code":"gr","x":18600,"y":0,"width":200,"height":200},"gs":{"code":"gs","x":18800,"y":0,"width":200,"height":200},"gt":{"code":"gt","x":19000,"y":0,"width":200,"height":200},"gu":{"code":"gu","x":19200,"y":0,"width":200,"height":200},"gw":{"code":"gw","x":19400,"y":0,"width":200,"height":200},"gy":{"code":"gy","x":19600,"y":0,"width":200,"height":200},"hk":{"code":"hk","x":19800,"y":0,"width":200,"height":200},"hm":{"code":"hm","x":20000,"y":0,"width":200,"height":200},"hn":{"code":"hn","x":20200,"y":0,"width":200,"height":200},"hr":{"code":"hr","x":20400,"y":0,"width":200,"height":200},"ht":{"code":"ht","x":20600,"y":0,"width":200,"height":200},"hu":{"code":"hu","x":20800,"y":0,"width":200,"height":200},"id":{"code":"id","x":21000,"y":0,"width":200,"height":200},"ie":{"code":"ie","x":21200,"y":0,"width":200,"height":200},"il":{"code":"il","x":21400,"y":0,"width":200,"height":200},"im":{"code":"im","x":21600,"y":0,"width":200,"height":200},"in":{"code":"in","x":21800,"y":0,"width":200,"height":200},"io":{"code":"io","x":22000,"y":0,"width":200,"height":200},"iq":{"code":"iq","x":22200,"y":0,"width":200,"height":200},"ir":{"code":"ir","x":22400,"y":0,"width":200,"height":200},"is":{"code":"is","x":22600,"y":0,"width":200,"height":200},"it":{"code":"it","x":22800,"y":0,"width":200,"height":200},"je":{"code":"je","x":23000,"y":0,"width":200,"height":200},"jm":{"code":"jm","x":23200,"y":0,"width":200,"height":200},"jo":{"code":"jo","x":23400,"y":0,"width":200,"height":200},"jp":{"code":"jp","x":23600,"y":0,"width":200,"height":200},"ke":{"code":"ke","x":23800,"y":0,"width":200,"height":200},"kg":{"code":"kg","x":24000,"y":0,"width":200,"height":200},"kh":{"code":"kh","x":24200,"y":0,"width":200,"height":200},"ki":{"code":"ki","x":24400,"y":0,"width":200,"height":200},"km":{"code":"km","x":24600,"y":0,"width":200,"height":200},"kn":{"code":"kn","x":24800,"y":0,"width":200,"height":200},"kp":{"code":"kp","x":25000,"y":0,"width":200,"height":200},"kr":{"code":"kr","x":25200,"y":0,"width":200,"height":200},"kw":{"code":"kw","x":25400,"y":0,"width":200,"height":200},"ky":{"code":"ky","x":25600,"y":0,"width":200,"height":200},"kz":{"code":"kz","x":25800,"y":0,"width":200,"height":200},"la":{"code":"la","x":26000,"y":0,"width":200,"height":200},"lb":{"code":"lb","x":26200,"y":0,"width":200,"height":200},"lc":{"code":"lc","x":26400,"y":0,"width":200,"height":200},"li":{"code":"li","x":26600,"y":0,"width":200,"height":200},"lk":{"code":"lk","x":26800,"y":0,"width":200,"height":200},"lr":{"code":"lr","x":27000,"y":0,"width":200,"height":200},"ls":{"code":"ls","x":27200,"y":0,"width":200,"height":200},"lt":{"code":"lt","x":27400,"y":0,"width":200,"height":200},"lu":{"code":"lu","x":27600,"y":0,"width":200,"height":200},"lv":{"code":"lv","x":27800,"y":0,"width":200,"height":200},"ly":{"code":"ly","x":28000,"y":0,"width":200,"height":200},"ma":{"code":"ma","x":28200,"y":0,"width":200,"height":200},"mc":{"code":"mc","x":28400,"y":0,"width":200,"height":200},"md":{"code":"md","x":28600,"y":0,"width":200,"height":200},"me":{"code":"me","x":28800,"y":0,"width":200,"height":200},"mf":{"code":"mf","x":29000,"y":0,"width":200,"height":200},"mg":{"code":"mg","x":29200,"y":0,"width":200,"height":200},"mh":{"code":"mh","x":29400,"y":0,"width":200,"height":200},"mk":{"code":"mk","x":29600,"y":0,"width":200,"height":200},"ml":{"code":"ml","x":29800,"y":0,"width":200,"height":200},"mm":{"code":"mm","x":30000,"y":0,"width":200,"height":200},"mn":{"code":"mn","x":30200,"y":0,"width":200,"height":200},"mo":{"code":"mo","x":30400,"y":0,"width":200,"height":200},"mp":{"code":"mp","x":30600,"y":0,"width":200,"height":200},"mq":{"code":"mq","x":30800,"y":0,"width":200,"height":200},"mr":{"code":"mr","x":31000,"y":0,"width":200,"height":200},"ms":{"code":"ms","x":31200,"y":0,"width":200,"height":200},"mt":{"code":"mt","x":31400,"y":0,"width":200,"height":200},"mu":{"code":"mu","x":31600,"y":0,"width":200,"height":200},"mv":{"code":"mv","x":31800,"y":0,"width":200,"height":200},"mw":{"code":"mw","x":32000,"y":0,"width":200,"height":200},"mx":{"code":"mx","x":32200,"y":0,"width":200,"height":200},"my":{"code":"my","x":32400,"y":0,"width":200,"height":200},"mz":{"code":"mz","x":32600,"y":0,"width":200,"height":200},"na":{"code":"na","x":32800,"y":0,"width":200,"height":200},"nc":{"code":"nc","x":33000,"y":0,"width":200,"height":200},"ne":{"code":"ne","x":33200,"y":0,"width":200,"height":200},"nf":{"code":"nf","x":33400,"y":0,"width":200,"height":200},"ng":{"code":"ng","x":33600,"y":0,"width":200,"height":200},"ni":{"code":"ni","x":33800,"y":0,"width":200,"height":200},"nl":{"code":"nl","x":34000,"y":0,"width":200,"height":200},"no":{"code":"no","x":34200,"y":0,"width":200,"height":200},"np":{"code":"np","x":34400,"y":0,"width":200,"height":200},"nr":{"code":"nr","x":34600,"y":0,"width":200,"height":200},"nu":{"code":"nu","x":34800,"y":0,"width":200,"height":200},"nz":{"code":"nz","x":35000,"y":0,"width":200,"height":200},"om":{"code":"om","x":35200,"y":0,"width":200,"height":200},"pa":{"code":"pa","x":35400,"y":0,"width":200,"height":200},"pe":{"code":"pe","x":35600,"y":0,"width":200,"height":200},"pf":{"code":"pf","x":35800,"y":0,"width":200,"height":200},"pg":{"code":"pg","x":36000,"y":0,"width":200,"height":200},"ph":{"code":"ph","x":36200,"y":0,"width":200,"height":200},"pk":{"code":"pk","x":36400,"y":0,"width":200,"height":200},"pl":{"code":"pl","x":36600,"y":0,"width":200,"height":200},"pm":{"code":"pm","x":36800,"y":0,"width":200,"height":200},"pn":{"code":"pn","x":37000,"y":0,"width":200,"height":200},"pr":{"code":"pr","x":37200,"y":0,"width":200,"height":200},"ps":{"code":"ps","x":37400,"y":0,"width":200,"height":200},"pt":{"code":"pt","x":37600,"y":0,"width":200,"height":200},"pw":{"code":"pw","x":37800,"y":0,"width":200,"height":200},"py":{"code":"py","x":38000,"y":0,"width":200,"height":200},"qa":{"code":"qa","x":38200,"y":0,"width":200,"height":200},"re":{"code":"re","x":38400,"y":0,"width":200,"height":200},"ro":{"code":"ro","x":38600,"y":0,"width":200,"height":200},"rs":{"code":"rs","x":38800,"y":0,"width":200,"height":200},"ru":{"code":"ru","x":39000,"y":0,"width":200,"height":200},"rw":{"code":"rw","x":39200,"y":0,"width":200,"height":200},"sa":{"code":"sa","x":39400,"y":0,"width":200,"height":200},"sb":{"code":"sb","x":39600,"y":0,"width":200,"height":200},"sc":{"code":"sc","x":39800,"y":0,"width":200,"height":200},"sd":{"code":"sd","x":40000,"y":0,"width":200,"height":200},"se":{"code":"se","x":40200,"y":0,"width":200,"height":200},"sg":{"code":"sg","x":40400,"y":0,"width":200,"height":200},"sh":{"code":"sh","x":40600,"y":0,"width":200,"height":200},"si":{"code":"si","x":40800,"y":0,"width":200,"height":200},"sj":{"code":"sj","x":41000,"y":0,"width":200,"height":200},"sk":{"code":"sk","x":41200,"y":0,"width":200,"height":200},"sl":{"code":"sl","x":41400,"y":0,"width":200,"height":200},"sm":{"code":"sm","x":41600,"y":0,"width":200,"height":200},"sn":{"code":"sn","x":41800,"y":0,"width":200,"height":200},"so":{"code":"so","x":42000,"y":0,"width":200,"height":200},"sr":{"code":"sr","x":42200,"y":0,"width":200,"height":200},"ss":{"code":"ss","x":42400,"y":0,"width":200,"height":200},"st":{"code":"st","x":42600,"y":0,"width":200,"height":200},"sv":{"code":"sv","x":42800,"y":0,"width":200,"height":200},"sx":{"code":"sx","x":43000,"y":0,"width":200,"height":200},"sy":{"code":"sy","x":43200,"y":0,"width":200,"height":200},"sz":{"code":"sz","x":43400,"y":0,"width":200,"height":200},"tc":{"code":"tc","x":43600,"y":0,"width":200,"height":200},"td":{"code":"td","x":43800,"y":0,"width":200,"height":200}
1,"tf":{"code":"tf","x":44000,"y":0,"width":200,"height":200},"tg":{"code":"tg","x":44200,"y":0,"width":200,"height":200},"th":{"code":"th","x":44400,"y":0,"width":200,"height":200},"tj":{"code":"tj","x":44600,"y":0,"width":200,"height":200},"tk":{"code":"tk","x":44800,"y":0,"width":200,"height":200},"tl":{"code":"tl","x":45000,"y":0,"width":200,"height":200},"tm":{"code":"tm","x":45200,"y":0,"width":200,"height":200},"tn":{"code":"tn","x":45400,"y":0,"width":200,"height":200},"to":{"code":"to","x":45600,"y":0,"width":200,"height":200},"tr":{"code":"tr","x":45800,"y":0,"width":200,"height":200},"tt":{"code":"tt","x":46000,"y":0,"width":200,"height":200},"tv":{"code":"tv","x":46200,"y":0,"width":200,"height":200},"tw":{"code":"tw","x":46400,"y":0,"width":200,"height":200},"tz":{"code":"tz","x":46600,"y":0,"width":200,"height":200},"ua":{"code":"ua","x":46800,"y":0,"width":200,"height":200},"ug":{"code":"ug","x":47000,"y":0,"width":200,"height":200},"um":{"code":"um","x":47200,"y":0,"width":200,"height":200},"us":{"code":"us","x":47400,"y":0,"width":200,"height":200},"uy":{"code":"uy","x":47600,"y":0,"width":200,"height":200},"uz":{"code":"uz","x":47800,"y":0,"width":200,"height":200},"va":{"code":"va","x":48000,"y":0,"width":200,"height":200},"vc":{"code":"vc","x":48200,"y":0,"width":200,"height":200},"ve":{"code":"ve","x":48400,"y":0,"width":200,"height":200},"vg":{"code":"vg","x":48600,"y":0,"width":200,"height":200},"vi":{"code":"vi","x":48800,"y":0,"width":200,"height":200},"vn":{"code":"vn","x":49000,"y":0,"width":200,"height":200},"vu":{"code":"vu","x":49200,"y":0,"width":200,"height":200},"wf":{"code":"wf","x":49400,"y":0,"width":200,"height":200},"ws":{"code":"ws","x":49600,"y":0,"width":200,"height":200},"xk":{"code":"xk","x":49800,"y":0,"width":200,"height":200},"ye":{"code":"ye","x":50000,"y":0,"width":200,"height":200},"yt":{"code":"yt","x":50200,"y":0,"width":200,"height":200},"za":{"code":"za","x":50400,"y":0,"width":200,"height":200},"zm":{"code":"zm","x":50600,"y":0,"width":200,"height":200},"zw":{"code":"zw","x":50800,"y":0,"width":200,"height":200}}')}}]);
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.