1"use strict";(self.webpackChunksky_app_buy_journey=self.webpackChunksky_app_buy_journey||[]).push([[592],{84592:(e,n,t)=>{t.r(n),t.d(n,{BundleBackPlanCard:()=>g,default:()=>f});var l=t(54423),i=t(58387),a=(t(65043),t(82976)),s=t(19249),o=t(41301),r=t(48115),c=t(1295),d=t(96323),u=t(94907),m=t(20319),h=t(75562),p=t(47444),x=t(70579);const g=e=>{const n=(0,l.b)((e=>e.setModalContent)),{getSize:t}=(0,r.l)(),{infoList:g,termsAndCondition:f,bulletImage:v,description:C,channelSet:N,legalLine:b,cardThumbnail:k,thumbnail:j,bulletInfoImage:y,bundlePrice:I,priceFrequencyType:w,productPrice:T,lozengeText:A,cardIndex:L,onTouchEndInner:S,onTouchStartInner:R,innerCarouselRef:P,isAutoScroll:W,selectedIndex:z,title:H,discountedPrice:D,termsAndConditionsCaption:_,handleFlip:E,tabName:M,titleH:B}=e,q="xxl"===t?"lg":["sm","md"].includes(t)?t:"md",F=p.cA[q],K=p.Ur[q],G="bundles / ".concat(M||"bundle"," / ").concat(H||"plan"),{trackPopupViewed:U,trackCtaClicked:J}=(0,d.st)(),O=()=>{var e,t,l,i,a;n({termsAndCondition:f,thumbnail:j,title:H,analyticsContext:G},!0,c.kr),U({name:H,context:"popup / ".concat(H),component:c.cM.POPUP}),J({name:H,link_text:null!==(e=null===(t=_.content)||void 0===t||null===(l=t[1])||void 0===l||null===(i=l.content)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.value)&&void 0!==e?e:null,link_url:null,outbound:!1,component:"bundle card",context:G})};return(0,x.jsxs)("div",{"data-testid":"back-plan-card-container",className:"flex h-full flex-col",children:[(0,x.jsxs)("div",{"data-testid":"back-title-info",className:"relative",children:[(0,x.jsx)("div",{className:p.md[q],children:null!=j&&j.url?(0,x.jsx)(a._,{background:"auto",layout:"fullWidth",className:p.IC[q],alt:"logo",src:null==j?void 0:j.url,loading:"lazy"}):(0,x.jsx)("p",{className:(0,i.A)(p.YF[q],"text-balance"),children:H})}),(0,x.jsx)("div",{className:(0,u.cn)(p.jC[q],"flex items-center justify-center"),role:"button",tabIndex:0,onClick:()=>{E(L)},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),E(L))},children:(0,x.jsx)(s.gz,{width:K.width,height:K.height})})]}),(0,x.jsxs)("div",{"data-testid":"channel-info",className:"flex-1",children:[(0,x.jsx)(o.CardContent,{className:p._5[q],children:M.toLocaleLowerCase()===c.XJ.TV.toLocaleLowerCase()?(0,x.jsx)(h.m,{channel:N,cardIndex:L,onTouchStartInner:R,onTouchEndInner:S,innerCarouselRef:P,isAutoScroll:W,selectedIndex:z,imageHeight:F.height,imageWidth:F.width,galleryContianerClassName:p.Jq[q]}):(0,x.jsx)(o.RichTextRenderer,{document:C,className:p.wu[q],paragraphClassName:(0,u.cn)(p.mM[q]),analyticsContext:G})}),(0,x.jsx)("div",{"data-testid":"bottom-dialog-info",className:p._T[q],children:(0,x.jsx)(m.R,{channelSet:N,cardThumbnail:k,thumbnail:j,bulletImage:v,infoList:g||[],termsAndCondition:f,containerClassName:"gap-0 px-0",bulletInfoImage:y,bundlePrice:I,priceFrequencyType:w,productPrice:T,lozengeText:A,title:H,legalLine:b,discountedPrice:D,linkClassName:"!font-markPro !font-bold cursor-pointer",size:q,infoListGapClassNames:"gap-[8px] md:gap-[10.4px] 2xl:gap-[13.52px]",showLegalLine:!1,titleH:B,tabName:M})})]}),(0,x.jsxs)("div",{className:p.AH[q],id:"terms-and-condition",children:[(0,x.jsx)("div",{className:p.Mp[q],children:b&&(0,x.jsx)(o.RichTextRenderer,{className:p.Mp[q],document:b,analyticsContext:G,paragraphClassName:p.RO[q]})}),_&&(0,x.jsx)("div",{onClick:()=>O(),role:"button",tabIndex:0,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),O())},"data-testid":"terms-and-condition cursor-pointer",className:"flex cursor-pointer items-center justify-center",children:(0,x.jsx)(o.RichTextRenderer,{className:"mt-1 flex items-center justify-center gap-2",document:_,imgHeight:0,imgWidth:0,imgClassName:"w-[19px] h-[19px] pt-[3.518px] pb-[3.753px] px-[4.222px] md:w-[24.63px] md:h-[24.63px] md:pt-[4.56px] md:pb-[4.866px] md:px-[5.473px]",paragraphClassName:p.FX[q],analyticsContext:G})})]})]})},f=g},75562:(e,n,t)=>{t.d(n,{m:()=>u});var l=t(75190),i=t(65043),a=t(82976),s=t(48115),o=t(1295),r=t(96323),c=t(94907),d=t(70579);const u=e=>{let{channel:n,isShowArrow:t=!1,cardIndex:u,onTouchEndInner:m,onTouchStartInner:h,innerCarouselRef:p,isAutoScroll:x=!0,selectedIndex:g,imageHeight:f=80,imageWidth:v=80,galleryContianerClassName:C}=e;const{isSmallScreen:N}=(0,s.l)(),b=(0,i.useRef)(null),k=(0,i.useRef)(null),[j,y]=(0,i.useState)(!1),I=(0,i.useRef)(!1),{trackCarouselNavigated:w}=(0,r.st)(),[T,A]=(0,l.A)({align:"start",loop:!0,dragFree:!0}),L=(null==n?void 0:n.flatMap((e=>e.fields.images)))||[],S=x&&g===u,R=()=>{A&&S&&!j&&(P(),k.current=setInterval((()=>{A&&(A.canScrollNext()?A.scrollNext():A.scrollTo(0))}),1e3))},P=()=>{k.current&&(clearInterval(k.current),k.current=null)};(0,i.useEffect)((()=>
1{if(!A)return;const e=()=>{S&&!j&&R()},n=()=>{I.current=!0},t=()=>{setTimeout((()=>{I.current=!1}),100)},l=()=>{if(I.current){const e=A.selectedScrollSnap();w({component:o.cM.PLANS,context:"carousel/Bundle Image Gallery",name:"Image ".concat(e+1," of ").concat(L.length)})}};return e(),A.on("reInit",e),A.on("pointerDown",n),A.on("pointerUp",t),A.on("select",l),()=>{P(),A.off("reInit",e),A.off("pointerDown",n),A.off("pointerUp",t),A.off("select",l)}}),[A,S,j,w,L.length]),(0,i.useEffect)((()=>(A&&S&&!j?R():P(),()=>P())),[S,j,A]),(0,i.useEffect)((()=>{const e=e=>{N&&b.current&&!b.current.contains(e.target)&&(null==m||m())};return document.addEventListener("touchstart",e),()=>document.removeEventListener("touchstart",e)}),[N,m]);const W=(e,n)=>{y(!0),null==h||h(n,e),P()},z=()=>{y(!1),null==m||m(),R()};return(0,d.jsx)("div",{ref:b,onTouchStart:e=>N&&W(u,e),onTouchEnd:()=>N&&z(),onMouseEnter:e=>!N&&W(u,e),onMouseLeave:()=>!N&&z(),className:"relative",children:(0,d.jsx)("div",{className:"overflow-hidden",ref:e=>{T(e),e&&p&&(p.current[u]=e)},style:{overflow:"hidden",touchAction:x?"none":"pan-y"},children:(0,d.jsx)("div",{className:"ml-2 flex transition-transform duration-500 ease-linear",children:(null==L?void 0:L.length)>0&&L.map(((e,n)=>{var t,l,i,s,o,r,u;return(0,d.jsx)("div",{className:(0,c.cn)(C),children:(o=null==e||null===(t=e.fields)||void 0===t||null===(l=t.file)||void 0===l?void 0:l.url,r=null==e||null===(i=e.fields)||void 0===i?void 0:i.title,u=null==e||null===(s=e.sys)||void 0===s?void 0:s.id,(0,d.jsx)(a._,{src:o,width:v,height:f,layout:"constrained",className:"flex-shrink-0 rounded-[4px] !bg-contain md:rounded-[8px]",alt:r,background:"auto",loading:"lazy","data-contentful-entry-id":u}))},"tile-image-".concat(n))}))})})})}},20319:(e,n,t)=>{t.d(n,{R:()=>c});
1var l=t(54423),i=(t(65043),t(86971)),a=t(72173),s=t(1295),o=t(80837),r=t(70579);const c=e=>{let{bulletImage:n,infoList:t,termsAndCondition:c,cardThumbnail:d,thumbnail:u,description:m,containerClassName:h,channelSet:p,bulletInfoImage:x,productPrice:g,lozengeText:f,imgHeight:v,imgWidth:C,title:N,discountedPrice:b,quickviewClassName:k,listHeightWidthClassName:j,modalType:y=s.KC,linkClassName:I,size:w,infoListGapClassNames:T,termsAndConditionsCaption:A,legalLine:L,showLegalLine:S,titleH:R,tabName:P}=e;const W=(0,i.Zp)(),{trackPopupViewed:z,trackCtaClicked:H}=(0,a.st)(),D=(0,l.b)((e=>e.setModalContent));return(0,r.jsx)(o.f,{bulletImage:n,infoList:t,description:m,containerclassName:null!=h?h:"gap-3 px-8",handleClick:(e,l,i)=>{e.preventDefault();const a="/"===l?s.zB:l;if([s.pS,"",s.zB,s.kr].includes(a)){const e={termsAndCondition:c,thumbnail:u,title:N,channelSet:p,cardThumbnail:d,productPrice:g,discountedPrice:b,lozengeText:f,infoList:t,bulletImage:n};z({component:s.cM.POPUP,context:"".concat(R," / ").concat(P," / ").concat(N),name:null!=i?i:N}),H({name:N,link_text:null!=i?i:null,link_url:null,outbound:!1,component:R,context:null}),D(e,!0,a)}else W(l)},bulletInfoImage:x,imgWidth:C,imgHeight:v,mainComponent:y,quickviewClassName:k,listHeightWidthClassName:j,linkClassName:I,size:w,infoListGapClassNames:T,termsAndConditionsCaption:A,legalLine:L,showLegalLine:S})}},80837:(e,n,t)=>{t.d(n,{f:()=>p});var l=t(58387),i=t(82976),a=t(41301),s=t(24060),o=t(13174),r=t(48115),c=t(72173),d=t(1295),u=t(94907),m=t(88035),h=t(70579);const p=e=>{let{infoList:n,bulletImage:t,containerclassName:p,handleClick:x,description:g,bulletInfoImage:f,className:v,imgWidth:C,imgHeight:N,quickviewClassName:b,bottomSheet:k,legalLine:j,tcRef:y,mainComponent:I,listHeightWidthClassName:w,linkClassName:T,textClassName:A,tcBulletClassName:L,channelRef:S,size:R,infoListGapClassNames:P,termsAndConditionsCaption:W,showLegalLine:z=!0,isBroadBand:H=!1}=e;const{refScroll:D}=(0,o.q)(),{isSmallScreen:_,isMediumScreen:E,getSize:M}=(0,r.l)(),{trackCtaClicked:B}=(0,c.st)(),q=(0,s.gg)().legacyConstants.legalSpeedDisclaimer,F=R||M,K=e=>{var n,t,l,a,s,o;return(0,h.jsx)("div",{className:m.fb[F],children:(null==e||null===(n=e.fields)||void 0===n||null===(t=n.file)||void 0===t?void 0:t.url)&&(0,h.jsx)(i._,{layout:"fullWidth",src:null==e||null===(l=e.fields)||void 0===l||null===(a=l.file)||void 0===a?void 0:a.url,className:"!object-contain",alt:null==e||null===(s=e.fields)||void 0===s||null===(o=s.file)||void 0===o?void 0:o.fileName,loading:"lazy"})})},G=e=>{var n,t,l,a,s,o;const r=m.Ig[F];return(0,h.jsx)("div",{className:m.A8[F],children:(null==e||null===(n=e.fields)||void 0===n||null===(t=n.file)||void 0===t?void 0:t.url)&&(0,h.jsx)(i._,{layout:"constrained",src:null==e||null===(l=e.fields)||void 0===l||null===(a=l.file)||void 0===a?void 0:a.url,width:r.width,height:r.height,className:"!object-contain",alt:null==e||null===(s=e.fields)||void 0===s||null===(o=s.file)||void 0===o?void 0:o.fileName,loading:"lazy"})})},U=(e,n,t)=>{var i;const a=(0,u.HA)(e);let s;switch(!0){case(0,u.rt)(e):s=(0,h.jsx)("p",{className:(0,l.A)("!font-black",m.WI[F],v),children:(0,u.WN)(e)});break;case(0,u.NT)(e):s=(0,h.jsx)("p",{className:(0,l.A)("!italic",m.WI[F],v),children:(0,u.A2)(e)});break;case(0,u.HA)(e):s=(0,h.jsx)("p",{role:"button",tabIndex:0,className:(0,l.A)(m.WI[F],"underline",v,b,T),onClick:n=>{var t,l;return k?D(null==S?void 0:S.current,null,_,E,!0):x?x(n,"".concat(null===(t=(0,u.nh)(e))||void 0===t?void 0:t.getAttribute("href")),null===(l=(0,u.nh)(e))||void 0===l?void 0:l.textContent):void 0},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.currentTarget.click())},children:null===(i=(0,u.nh)(e))||void 0===i?void 0:i.textContent});break;default:s=(0,h.jsx)("p",{className:(0,l.A)(m.WI[F],v,A),children:e})}return(0,h.jsxs)("div",{className:(0,l.A)("flex items-start gap-[16px]",P),children:[(0,h.jsx)("div",{className:(0,l.A)(m.JQ[F]),children:a&&!k?G(n):K(t)}),s]})},J=e=>{let{nodes:n}=e;return(0,h.jsx)(h.Fragment,{children:n.map(((e,n)=>{if("text"===e.type)return e.content;const t=e.tag;return(0,h.jsx)(t,{className:(0,l.A)({[m.WI[F]]:"p"===t},{"p-1 font-bold":["b","strong"].includes(t)},{"p-1 italic":["i","em"].includes(t)},v),children:e.children&&e.children.length>0&&(0,h.jsx)(J,{nodes:e.children})},n)}))})},O=e=>{const n=(0,u.k1)(e);return(0,h.jsx)(J,{nodes:n})};
1return(0,h.jsx)("div",{children:(0,h.jsxs)("div",{id:"bullut-point-container",className:p,children:[g&&(0,h.jsx)("div",{role:"button",tabIndex:0,onClick:e=>k?D(null==y?void 0:y.current,null,_,E,!0):x?x(e,I===d.KC?d.kr:d.pS):void 0,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.currentTarget.click())},children:(0,h.jsx)(a.RichTextRenderer,{document:g,imgHeight:k?L.height:N||20,imgWidth:k?L.width:C||20,className:"flex cursor-pointer items-start justify-start",paragraphClassName:(0,l.A)(m.WI[F],b),linkClassName:T,bulletDivClassName:k?L.bulletDiv:""})}),n.length>0&&(0,h.jsx)("ul",{className:(0,l.A)("flex flex-col gap-[16px]",v,P),children:n.map(((e,n)=>(0,h.jsx)("li",{className:(0,l.A)("flex items-start",w),children:e&&!(0,u.ED)(e)?U(e,f,t):O(e)},n)))}),j&&z&&(0,h.jsxs)("div",{className:"m-4 ml-10 space-y-4 lg:ml-[3.5rem] 2xl:ml-[4rem]",children:[H&&(0,h.jsx)(a.RichTextRenderer,{document:q,imgHeight:N||20,imgWidth:C||20,className:"flex cursor-pointer items-start justify-start",paragraphClassName:m.PD[F]}),(0,h.jsx)(a.RichTextRenderer,{document:j,imgHeight:N||20,imgWidth:C||20,className:"flex cursor-pointer items-start justify-start",paragraphClassName:m.PD[F]})]}),W&&(0,h.jsx)("div",{className:"ml-10 cursor-pointer gap-2 lg:ml-[3.5rem] 2xl:ml-[4rem]",role:"button",tabIndex:0,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.currentTarget.click())},onClick:e=>{B({component:"Hyperlink component",context:"hyperlink tag",name:W,outbound:!1,link_text:null,link_url:null}),k?D(null==y?void 0:y.current,null,_,E,!0):x&&x(e,d.kr)},children:(0,h.jsx)(a.RichTextRenderer,{className:"flex items-center justify-start gap-2",document:W,imgHeight:0,imgWidth:0,imgClassName:"w-[19px] h-[19px] pt-[3.518px] pb-[3.753px] px-[4.222px] md:w-[24.63px] md:h-[24.63px] md:pt-[4.56px] md:pb-[4.866px] md:px-[5.473px]",paragraphClassName:"2xl:text-font-size-heading-planCardTitle-xl font-bold 2xl:leading-line-height-4xl md:text-font-size-heading-planCardTitle-md md:leading-line-height-xl lg:leading-line-height-2xl text-fontSize-paragraph-xs leading-line-height-md text-color-white-white100 underline [text-decoration-skip-ink:none] [text-underline-position:from-font]"})})]})})}}}]); 2//# sourceMappingURL=592.4e647a1b.chunk.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.