PageSourceSearch

https://www.pangea.es/_next/static/chunks/7262.bbd1901b7e6e66ae.js

js pangea.es collected 2026-10-02 07:12:22 UTC 9,348 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7262],{111:function(e,t,i){var n=i(54293);t.Z=n.Z},54293:function(e,t,i){i.d(t,{Z:function(){return v}});var n=i(85893),o=i(25675),l=i.n(o),r=i(67421),a=i(45132),s=i(16403),c=i(70453),d=i(84304),m=i(40664),h=i(27079),u=i(49634),g=i(35480);let p=g.ZP.div.withConfig({componentId:"sc-c1b4630a-0"})(["",""],e=>{let{theme:t,width:i,height:n,$type:o}=e,l="simple"!==o?"1px solid ".concat(t.colors.line):"none";return(0,g.iv)(["border:",";background:transparent;width:100%;max-width:","px;a{cursor:pointer;display:block;}.figure{width:100%;height:","px;position:relative;padding:1rem;display:flex;.overprice{border-radius:0.25rem;border:0.0625rem solid rgba(255,255,255,0.5);width:fit-content;padding:0.5rem;}.overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:",";z-index:1;}.info-container{position:relative;display:flex;flex-direction:column;justify-content:space-between;z-index:2;}img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:0;}.button-holder{display:none;}&:hover{.button-holder{display:block;svg{path{fill:white !important;}}}.overlay{background:",";}}}.description{display:flex;color:",";font-family:",";gap:1rem;}.destination{color:",";font-family:",";font-size:0.875rem;font-style:italic;font-weight:500;margin:1.875rem 0 0.25rem 0;}.route{color:",";font-family:",";font-size:0.75rem;font-style:italic;font-weight:400;margin:0.25rem 0 1.5rem 0;}.simple-title{padding:0;background-color:transparent;border:none;}.simple-route{padding:0;background-color:transparent;border:none;}.title{background-color:transparent;border:none;padding:0;.atom-Title{h3{font-size:1.25rem;}}}@media (min-width:","px){.simple-title{margin-top:1rem;}.simple-route{margin-top:1rem;}}@media (min-width:","px){.title{.atom-Title{h3{font-size:1.5rem;}}}}"],l,i,n,"simple"===o?"linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);":"linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.4) 100%);","simple"===o?"linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);":"rgba(0, 0, 0, 0.4);",t.colors.white,t.fontLato.style.fontFamily,t.colors.white,t.fontLato.style.fontFamily,t.colors.white,t.fontLato.style.fontFamily,t.breakpoints.values.sm,t.breakpoints.values.lg)});var x=i(34155),v=e=>{let{type:t="simple",title:i,width:o,height:g,destination:v,route:f,duration:b,price:j,url:w,url_label:y,date:Z,image:_,fullSeatText:N,disableLink:k=!1}=e,{i18n:z}=(0,r.$G)(),C=N?j:Z,I=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("figure",{className:"figure",children:[(0,n.jsx)("div",{className:"overlay"}),_&&(0,n.jsx)(l(),{alt:i,src:x.env.NEXT_PUBLIC_IMAGE_BASE_URL?"".concat(x.env.NEXT_PUBLIC_IMAGE_BASE_URL).concat(_):_,width:0,height:0,loading:"lazy"}),("full"===t||"offer"===t)&&(0,n.jsxs)("div",{className:"info-container",children:[(0,n.jsx)("div",{children:"offer"===t&&(N&&(0,n.jsx)("div",{className:"overprice",children:(0,n.jsx)(a.Z,{content:N,sized:"Medium",weight:"Regular",color:c.Z.colors.white})})||j&&(0,n.jsx)("div",{className:"overprice",children:(0,n.jsx)(a.Z,{content:null!=j?j:"",sized:"Medium",weight:"Regular",color:c.Z.colors.white})}))}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"button-holder",children:(0,n.jsx)(d.Z,{label:"",variant:"secondary",mode:"light",icon:m.T.CHEVRON_RIGHT,onClick:()=>(0,h.q)(w,z),id:"boton_cta_ga4_card_destino_".concat(null==i?void 0:i.replace(/ /g,"_").toLowerCase())})}),(0,n.jsx)("div",{className:"destination",children:v}),(0,n.jsx)("button",{className:"title",onClick:()=>(0,h.q)(w,z),children:(0,n.jsx)(s.Z,{title:i,level:"3",weight:"bold",color:c.Z.colors.white})}),(0,n.jsx)("div",{className:"route",children:(0,n.jsx)(a.Z,{content:null!=f?f:"",sized:"Small",weight:"Book",color:c.Z.colors.white})}),(0,n.jsxs)("div",{className:"description",children:[(0,n.jsx)("div",{className:"duration",children:(0,n.jsx)(a.Z,{content:b||"",sized:"Medium",weight:"Bold",fontStyle:"Italic",color:c.Z.colors.white})}),(0,n.jsx)("div",{className:"action",children:(0,n.jsx)(a.Z,{content:y||"",sized:"Medium",weight:"Bold",fontStyle:"Italic",color:c.Z.colors.white})}),(0,n.jsx)("div",{className:"price",children:"full"===t?(0,n.jsx)(a.Z,{content:j||"",sized:"Medium",weight:"Bold",fontStyle:"Italic",color:c.Z.colors.white}):(0,n.jsx)(a.Z,{content:C||"",sized:"Medium",weight:"Bold",fontStyle:"Italic",color:c.Z.colors.white})})]})]})]})]}),"simple"==t&&(0,n.jsxs)(n.Fragment,{children:[k?(0,n.jsx)("div",{className:"simple-title",children:(0,n.jsx)(a.Z,{content:i,sized:"Jumbo",weight:"Regular"})}):(0,n.jsx)("button",{className:"simple-title",onClick:()=>(0,h.q)(w,z),id:"boton_cta_ga4_card_destino_".concat(i.replace(/ /g,"_").toLowerCase()),children:(0,n.jsx)(a.Z,{content:i,sized:"Jumbo",weight:"Regular"})}),(0,n.jsx)("div",{className:"simple-route",children:(0,n.jsx)(a.Z,{content:null!=f?f:"",sized:"Small",weight:"Book"})})]})]});return(0,n.jsx)(p,{className:"molecule molecule-DestinationCard",width:o,height:g,$type:t,children:k?(0,n.jsx)("div",{className:"card-content",children:I}):(0,n.jsx)(u.Z,{href:w,children:I})})}},57262:function(e,t,i){i.d(t,{Z:function(){return x}});
1var n=i(85893),o=i(67294),l=i(67421),r=i(50418),a=i(67197),s=i(45132),c=i(111),d=i(84304),m=i(8020),h=i(22362),u=i(54895),g=i(35480);let p=g.ZP.div.withConfig({componentId:"sc-fa8c7b0a-0"})(["",""],e=>{let{theme:t}=e;return(0,g.iv)(["background:",";.container-header{.title-holder{.atom-Title{text-align:center;}}.copy-holder{.atom-Wysiwyg{text-align:center;}}}.container-filters{margin-top:1.5rem;}.container-loop{margin:2.5rem 0;.cards-holder{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem;.each-item{flex:0 0 100%;> *{margin:0 auto;}}}}.container-button{.button-holder{display:flex;justify-content:center;width:100%;}}@media (min-width:","px){.container-header{.copy-holder{max-width:22rem;margin:0 auto;}}}@media (min-width:","px){.container-header{.title-holder{.atom-Title{text-align:left;}}.copy-holder{max-width:22rem;margin:0 0 0 auto;.atom-Wysiwyg{text-align:left;}}}.container-loop{.cards-holder{.each-item{flex:0 0 auto;width:19.375rem;> *{max-width:100%;}}}}}@media (min-width:","px){.container-header{.copy-holder{max-width:100%;}}.container-loop{.cards-holder{.each-item{width:calc(33.33% - 1rem);}}}}"],t.colors.QAPass,t.breakpoints.values.sm,t.breakpoints.values.md,t.breakpoints.values.lg)});var x=e=>{var t,i,g;let{data:x,maxItems:v,maxItemsMD:f,maxItemsMobile:b,buttonText:j}=e,{t:w,i18n:y}=(0,l.$G)(),{isMobile:Z,isDesktop:_,isDesktopMD:N}=(0,h.Z)(),k=_?N&&null!=f?f:v:b,[z,C]=(0,o.useState)(x?null===(t=x.contents)||void 0===t?void 0:t.slice(0,k):[]);(0,o.useEffect)(()=>{var e;C(x?null===(e=x.contents)||void 0===e?void 0:e.slice(0,k):[])},[x,k]);let I=e=>{let t="";switch(e.type){case"destination":t=(0,u.K)(m.Z.destination,y,"/".concat(e.slug));break;case"tag":t=(0,u.K)(m.Z.points_interest,y,"/".concat(e.slug));break;case"continent":t=(0,u.K)(m.Z.destinations,y,"/".concat(e.slug));break;case"point_of_interest":t=(0,u.K)(m.Z.point_interest,y,"/".concat(e.slug));break;case"customized":var i;t=null!==(i=e.slug)&&void 0!==i?i:""}return t};return(0,n.jsx)(p,{className:"organism organism-PointInterestDistributive",children:(null==z?void 0:z.length)>0&&(0,n.jsxs)("div",{className:"grid-wrapper",children:[(0,n.jsxs)(r.Z,{container:!0,alignItems:"flex-end",className:"container-header",spacing:{xs:2,md:4},children:[x.title&&(0,n.jsx)(r.Z,{xs:12,md:5,lg:4,children:(0,n.jsx)("div",{className:"title-holder",children:(0,n.jsx)(a.Z,{title:x.title,level:Z?"1":"2",weight:"bold"})})}),x.description&&(0,n.jsx)(r.Z,{xs:12,md:7,lg:8,children:(0,n.jsx)("div",{className:"copy-holder",children:(0,n.jsx)(s.Z,{content:null!==(g=x.description)&&void 0!==g?g:""})})})]}),(0,n.jsx)(r.Z,{container:!0,className:"container-loop",children:(0,n.jsx)(r.Z,{xs:12,children:(0,n.jsx)("div",{className:"cards-holder",children:null==z?void 0:z.map(e=>{var t,i,o,l,r,a,s,d;return"itinerary"===e.type?(0,n.jsx)("div",{className:"each-item",children:(0,n.jsx)(c.Z,{title:e.title,image:null!==(o=null===(t=e.image)||void 0===t?void 0:t.url)&&void 0!==o?o:"",type:"offer",width:_?310:327,height:440,url:I(e),destination:null!==(l=e.pre_title)&&void 0!==l?l:"",route:null!==(r=e.subtitle)&&void 0!==r?r:"",duration:e.duration&&e.duration_type?"".concat(e.duration," ").concat(e.duration_type):"",price:e.price_from?"".concat(null!==(a=e.pre_price_from_label)&&void 0!==a?a:""," <b>").concat(e.price_from," ").concat(null!==(s=e.currency)&&void 0!==s?s:"","</b>"):"",date:e.dates_label},e.id)}):(0,n.jsx)("div",{className:"each-item",children:(0,n.jsx)(c.Z,{title:e.title,image:null!==(d=null===(i=e.image)||void 0===i?void 0:i.url)&&void 0!==d?d:"",type:"full",width:_?310:327,height:440,url:I(e),destination:e.destination_title},e.id)})})})})}),(0,n.jsx)(r.Z,{container:!0,className:"container-button",children:(0,n.jsx)(r.Z,{xs:12,children:(0,n.jsx)("div",{className:"button-holder",children:(null==z?void 0:z.length)<(null===(i=x.contents)||void 0===i?void 0:i.length)&&(0,n.jsx)(d.Z,{label:null!=j?j:"",variant:"secondary",mode:"dark",onClick:()=>{var e;C(x?null===(e=x.contents)||void 0===e?void 0:e.slice(0,z.length+k):[])},id:"boton_cta_ga4_modulo_puntos_interes"})})})})]})})}}}]);

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.