1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3205],{340151:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var o=a(695155),r=a(880357),n=a(80317);a(212115);var i=a(684601),s=a(525138),l=a.n(s);let d=e=>{let{item:t,testId:a="related-video-card",index:s}=e,d="".concat(a).concat(void 0!==s?"-".concat(s):"");return(0,o.jsxs)(r.default,{component:"article",className:l().relatedCard,"data-testid":d,sx:{width:"100%",display:"flex",flexDirection:"column"},children:[(0,o.jsx)(r.default,{"data-testid":"".concat(d,"-embed-container"),sx:{position:"relative",overflow:"hidden",borderTopLeftRadius:"2rem",borderTopRightRadius:"2rem",borderBottomLeftRadius:0,borderBottomRightRadius:0,paddingBottom:"56.25%","& > div":{position:"absolute",top:0,left:0,width:"100%",height:"100%"}},children:(0,o.jsx)(i.default,{videoId:t.wistiaVideoId,title:t.title,deferUntilInteraction:!1,className:l().relatedVideoEmbed,testId:"".concat(d)})}),(0,o.jsx)(r.default,{"data-testid":"".concat(d,"-content"),sx:{backgroundColor:"background.cool_strong",borderBottomLeftRadius:"2rem",borderBottomRightRadius:"2rem",padding:"1rem 3.2rem",borderRadius:"0 0 2rem 2rem",display:"flex",alignItems:"center"},children:(0,o.jsx)(r.default,{display:"flex",justifyContent:"space-between",alignItems:"center",flexDirection:"row",children:(0,o.jsx)(n.default,{variant:"subtitle_lg",component:"h3",className:l().subtitle1Custom,"data-testid":"".concat(d,"-title"),children:t.title})})})]})}},525138:e=>{e.exports={subtitle1Custom:"styles_subtitle1Custom__fmbgr",relatedCard:"styles_relatedCard__K5CEP","card-box":"styles_card-box__Thhms",relatedVideoEmbed:"styles_relatedVideoEmbed__zC5g_"}},783205:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>B});var o=a(695155),r=a(212115),n=a(880357),i=a(296482),s=a(831933),l=a(495604),d=a(853560),c=a(497179),u=a(970539),m=a(302821),p=a(637659),g=a(49714),h=a(862257),x=a(757179),f=a(113053),b=a(781421);function y(e){return(0,b.Ay)("MuiCardActionArea",e)}let v=(0,f.A)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var C=a(650982),A=a(529791);let j=(0,g.Ay)(C.A,{name:"MuiCardActionArea",slot:"Root"})((0,h.A)(e=>{let{theme:t}=e;return{display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",["&:hover .".concat(v.focusHighlight)]:{opacity:(t.vars||t).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},["&.".concat(v.focusVisible," .").concat(v.focusHighlight)]:{opacity:(t.vars||t).palette.action.focusOpacity}}})),w=(0,g.Ay)("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})((0,h.A)(e=>{let{theme:t}=e;return{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:t.transitions.create("opacity",{duration:t.transitions.duration.short})}})),T=r.forwardRef(function(e,t){let a=(0,x.b)({props:e,name:"MuiCardActionArea"}),{children:r,className:n,focusVisibleClassName:i,slots:s={},slotProps:l={},...d}=a,c=(e=>{let{classes:t}=e;return(0,p.A)({root:["root"],focusHighlight:["focusHighlight"]},y,t)})(a),u={slots:s,slotProps:l},[g,h]=(0,A.A)("root",{elementType:j,externalForwardedProps:{...u,...d},shouldForwardComponentProp:!0,ownerState:a,ref:t,className:(0,m.A)(c.root,n),additionalProps:{focusVisibleClassName:(0,m.A)(i,c.focusVisible)}}),[f,b]=(0,A.A)("focusHighlight",{elementType:w,externalForwardedProps:u,ownerState:a,className:c.focusHighlight});return(0,o.jsxs)(g,{...h,children:[r,(0,o.jsx)(f,{...b})]})});var R=a(24627),S=a(996869),_=a(80317);function k(e){let{maxScreen:t,minScreen:a,maxSpacing:o,minSpacing:r,stepPx:n,stepDrop:i}=e,s=window.innerWidth;return s>=t?o:s<=a?r:Math.max(o-Math.floor((t-s)/n)*i,r)}var I=a(525138),N=a.n(I);let E=e=>{let{item:t,index:a}=e,n=(0,l.useTranslations)("DESTINATIONS"),s="related-blog-card".concat(void 0!==a?"-".concat(a):""),[d,c]=(0,r.useState)(()=>k({maxScreen:1430,minScreen:1199,maxSpacing:1.75,minSpacing:1.75,stepPx:50,stepDrop:1}));return(0,r.useEffect)(()=>{let e=()=>c(k({maxScreen:1430,minScreen:1199,maxSpacing:4.6,minSpacing:1.75,stepPx:50,stepDrop:1}));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,o.jsx)(u.default,{component:"article",className:"".concat(N().relatedCard),"data-testid":s,sx:{borderTopLeftRadius:"2rem",borderTopRightRadius:"2rem",borderBottomLeftRadius:0,borderBottomRightRadius:0,transition:"width 0.2s"},children:(0,o.jsx)(T,{component:"a",href:t.url,sx:{width:"100%",height:{lg:"411.69px",md:"100%"}},children:(0,o.jsx)(R.A,{children:(0,o.jsxs)(S.default,{spacing:{lg:d,md:1.75,xs:1.75},sx:{padding:{legacyDesktop:"3.2 2rem",legacyTablet:"2rem",legacyMobile:"2rem"},gap:"1.4rem",alignItems:"flex-start",justifyContent:"center",alignSelf:"stretch"},children:[(0,o.jsx)(_.default,{variant:"subtitle_lg",component:"p",className:N().subtitle1Custom,"data-testid":"".concat(s,"-subtitle"),children:n("Travel Blog").toUpperCase()}),(0,o.jsx)(_.default,{variant:"h4",component:"h3","data-testid":"".concat(s,"-title"),children:t.title}),(0,o.jsx)(_.default,{variant:"subtitle_lg",component:"p",className:N().subtitle1Custom,"data-testid":"".concat(s,"-summary"),children:t.summary}),(0,o.jsx)(i.jn,{variant:"outlined",size:"large",label:n("Read More"),testId:"related-content-travel-blog-cta-button".concat(void 0!==a?"-".concat(a):""),sx:{alignSelf:"flex-start",color:"primary.main",borderColor:"primary.main",backgroundColor:"background.default",textTransform:"none"}})]})})})})};var M=a(340151);let B=e=>{let{relatedContentSection:t,moduleRankingPosition:a,centerHeader:u}=e,[m,p]=(0,r.useState)(1),g=t.relatedContentItems.filter(e=>"blogPost"===e.contentType),h=t.relatedContentItems.filter(e=>"wistia"===e.contentType),x=(0,s.CC)(g,h),f=(0,s.ln)(x,2),{basicInfo:b}=t,y=(0,l.useTranslations)("DESTINATIONS");return(0,o.jsx)(n.default,{className:"fluid-box anchor-section",id:"related-content","data-track":"visibility","data-
1parent-container-type":"content","data-module-name":"Related Content Section","data-ranking-algorithm":"manual","data-module-ranking-position":a,component:"section",sx:{mb:3,backgroundColor:"background.warm_strong"},children:(0,o.jsxs)(n.default,{className:"destination-page-container","data-testid":"related-content-container",sx:{padding:{zero:"4rem 2.4rem",legacyMobile:"4rem 2.4rem",legacyTablet:"6rem clamp(2.4rem, 4.5vw, 6.5rem)"}},children:[(0,o.jsx)(d.X,{headerText:b.headerText,copyText:b.copyText,headerTestId:"related-content-header",copyTestId:"related-content-copy",headerSx:u?{textAlign:"center"}:void 0,copySx:u?{textAlign:"center"}:void 0}),(0,o.jsx)(c.default,{container:!0,spacing:2,sx:{marginTop:"4rem"},children:f.slice(0,m).flat().map((e,t)=>(0,o.jsx)(c.default,{size:{lg:6,md:12,xs:12},"data-testid":"related-content-section-item-".concat(t),children:"blogPost"===e.contentType?(0,o.jsx)(E,{item:e,index:t}):"wistia"===e.contentType?(0,o.jsx)(M.A,{item:e,index:t}):null},e.id))}),m<f.length&&(0,o.jsx)("div",{style:{textAlign:"center",margin:"2rem 0 2rem 0"},children:(0,o.jsx)(i.jn,{onClick:()=>{p(e=>Math.min(e+1,f.length))},variant:"outlined",size:"large",sx:{backgroundColor:"background.default"},label:y("See More"),testId:"data-related-content-show-more-button","data-track":"click"})})]})})}}}]); 2//# sourceMappingURL=3205.da765afea3be293e.js.map
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.