PageSourceSearch

https://www.pgcruises.com/_next/static/chunks/6149.f4b6eecbb63231b8.js

js pgcruises.com collected 2026-10-02 15:05:20 UTC 4,681 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6149],{63513:(e,l,a)=>{a.d(l,{A:()=>d});var s=a(54568),n=a(46350);let i="text-pon-on-bg-interactive-primary-default",t=e=>{let{headline:l,headlineTag:a="h3",subHeadline:t,description:d,isQuote:r=!1,children:o,className:c,variant:m="primary",...p}=e,x="secondary"===m;return(0,s.jsxs)("div",{...p,className:(0,n.cn)("flex flex-col gap-pon-medium-m md:gap-pon-medium-xl",c),children:[(t||l||d)&&(0,s.jsxs)("div",{className:"flex flex-col gap-pon-small-xxl md:gap-pon-medium-xs",children:[t&&(0,s.jsx)("span",{className:(0,n.cn)("text-pon-label-regular-sm text-pon-primary-hover",x&&"text-pon-on-bg-interactive-primary-default"),children:t}),!!l&&(0,s.jsx)(a,{className:(0,n.cn)("text-pon-headline-xl md:text-pon-headline-lg text-balance whitespace-pre-line",x&&i),children:l}),d&&(0,s.jsx)(r?"blockquote":"p",{className:(0,n.cn)("text-pon-body-md md:text-pon-body-lg text-pon-primary-default\n                whitespace-pre-line",x&&i),children:d})]}),o&&(0,s.jsx)("div",{children:o})]})};t.displayName="TextBlock";let d=t},72279:(e,l,a)=>{a.d(l,{q:()=>t});var s=a(7620),n=a(959),i=a(92903);let t=e=>{var l,a;return{buttons:null!==(a=null==e?void 0:null===(l=e.buttons)||void 0===l?void 0:l.map(e=>(0,s.createElement)(i.default,{...(0,n.g)(e),key:e._uid})))&&void 0!==a?a:[],headline:(null==e?void 0:e.headline)||void 0,subHeadline:(null==e?void 0:e.sub_headline)||void 0,description:null==e?void 0:e.description,headlineTag:(null==e?void 0:e.headline_tag)||void 0,isQuote:(null==e?void 0:e.is_quote)||!1}}},76149:(e,l,a)=>{a.r(l),a.d(l,{SBEditorialTextCarousel:()=>h});var s=a(54568),n=a(55194),i=a(35429),t=a(72279),d=a(19996),r=a(959),o=a(7620),c=a(63513),m=a(57296),p=a(40770),x=a(98514),u=a(92903),v=a(68925);let f=e=>{let{text:l,items:a,cta:n,asset:i}=e,[t,d]=(0,m.A)({loop:!1}),r=(0,o.useCallback)(()=>{d&&d.scrollPrev()},[d]),f=(0,o.useCallback)(()=>{d&&d.scrollNext()},[d]),[h,b]=(0,o.useState)(!1),[j,g]=(0,o.useState)(!1),[N,y]=(0,o.useState)(1),w=a.length;return(0,o.useEffect)(()=>{if(!d)return;let e=()=>{b(d.canScrollPrev()),g(d.canScrollNext()),y(d.selectedScrollSnap()+1)};return e(),d.on("select",e),d.on("reInit",e),()=>{d.off("select",e),d.off("reInit",e)}},[d]),(0,s.jsxs)("div",{className:"space-y-pon-medium-xl md:space-y-pon-large-l",children:[(0,s.jsxs)("div",{className:"flex flex-col md:flex-row justify-between gap-y-pon-medium-xl\n          gap-x-pon-small-xxl",children:[(0,s.jsx)(c.A,{...l,className:"basis-1/3"}),(0,s.jsxs)("div",{ref:t,className:"overflow-hidden basis-1/2",children:[(0,s.jsx)("div",{className:"flex gap-x-pon-small-xxl select-none",children:a.map((e,l)=>{let a=e.is_quote?"blockquote":"p";return(0,s.jsxs)("div",{className:"w-full flex-none",children:[(0,s.jsx)("span",{className:"text-pon-label-regular-md text-pon-primary-hover",children:e.label}),(0,s.jsx)(a,{className:"text-pon-body-lg text-pon-primary-default mt-pon-small-xxl",children:e.description})]},l)})}),(0,s.jsxs)("div",{className:"flex items-center justify-between mt-pon-medium-l md:mt-pon-medium-m\n              p-pon-small-xl",children:[n?(0,s.jsx)(u.default,{...n}):(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("p",{className:"text-pon-label-regular-md",children:[(0,s.jsxs)("span",{className:"text-pon-primary-default",children:[N," "]}),(0,s.jsxs)("span",{className:"text-pon-primary-hover",children:["/ ",w]})]})}),(0,s.jsxs)("div",{className:"flex items-center gap-pon-small-xxl",children:[(0,s.jsx)(p.$n,{size:"icon",variant:"outlined-alt",className:"group",onClick:r,disabled:!h,children:(0,s.jsx)(x.A,{name:"arrow-left",className:"fill-pon-primary-default size-5\n                    group-disabled:fill-pon-on-bg-interactive-secondary-disabled"})}),(0,s.jsx)(p.$n,{size:"icon",variant:"outlined-alt",className:"group",onClick:f,disabled:!j,children:(0,s.jsx)(x.A,{name:"arrow-right",className:"fill-pon-primary-default size-5\n                    group-disabled:fill-pon-on-bg-interactive-secondary-disabled"})})]})]})]})]}),(0,s.jsx)(v.A,{media:i,className:"w-full aspect-9/16 md:aspect-16/9"})]})};function h(e){let{blok:l,...a}=e,{text:o,asset:c,cta:m,items:p}=function(e){var l,a;let s=(null!==(a=null==e?void 0:e.text)&&void 0!==a?a:[]).map(t.q),n=null==e?void 0:null===(l=e.cta)||void 0===l?void 0:l[0];return{text:s[0],asset:(0,i.W0)(e.media,d.u.full),items:e.items,cta:n?(0,r.g)(n):void 0}}(l);return(0,s.jsx)("section",{id:m?"interview":"testimonials",...(0,n.K1)(l),...a,children:(0,s.jsx)("div",{className:"grid-pon",children:(0,s.jsx)("div",{className:"col-span-full",children:(0,s.jsx)(f,{text:o,items:p,asset:c,cta:m})})})})}f.displayName="EditorialTextCarouselMedia"}}]);

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.