@sunrise-upc/mobile-prod-card 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react"),n=require("@sunrise-upc/ajax-lib"),t=require("react-bootstrap/Modal"),o=require("react-bootstrap/CloseButton"),l=require("storyblok-rich-text-react-renderer-ts"),i=require("react-bootstrap"),r=require("react-bootstrap/Container"),a=require("react-bootstrap/Row"),d=require("react-bootstrap/Col"),c=require("js-cookie"),u=require("uuid"),s=require("react-multi-carousel"),m=require("react-bootstrap/Form"),p=require("react-loading-skeleton"),v=require("react-select");function _(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===t&&o.firstChild?o.insertBefore(l,o.firstChild):o.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}_(".Button {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 4px;\r\n cursor: pointer;\r\n min-width: 32px;\r\n min-height: 32px;\r\n background-color: aliceblue;\r\n}\r\n\r\n.Button-primary {\r\n background-color: aqua; \r\n}\r\n.Button-secondary{\r\n background-color: burlywood;\r\n}\r\n.Button-error {\r\n background-color: red;\r\n}");class h{constructor(e){this.config={baseURL:"",cartURL:"",storyBlokURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.getSBUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.storyBlokURL)&&void 0!==n?n:""},this.config=e}}h.getInstance=()=>h.instance,h.create=e=>{h.instance=new h(e)};class g{constructor(e){this.config={assetPath:""},this.getAssetPath=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.assetPath)&&void 0!==n?n:""},this.config=e}}g.getInstance=()=>g.instance,g.create=e=>{g.instance=new g(e)};const b="ESHOP",f="v2/offer",x="carts/v2",y="rest/cms/singlestory",T="rest/cms/dsource_entries?datasource=one-ecommerce-constant-keys";_(".loginModal {\r\n\talign-items: center;\r\n\tbackground-color: rgba(87, 84, 82, 0.4);\r\n\tcolor: #333333;\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\tjustify-content: center;\r\n\tleft: 0;\r\n\tpadding: 16px;\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\ttransition: opacity 3s;\r\n\twidth: 100%;\r\n\tz-index: 11;\r\n}\r\n.loginContainer {\r\n position: absolute;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 32px 32px 34px;\r\n background-color: #ffff;\r\n max-width: 500px;\r\n width: 100%;\r\n box-shadow: -1px 18px 25px 5px rgba(87, 84, 82, 0.4);\r\n }\r\n");_('@import "bootstrap/dist/css/bootstrap.linetable-countryOverlay-css";\r\n\r\n.linetable-countryOverlay-linkTextNew {\r\n color: #da291c;\r\n margin-left: 32px;\r\n margin-bottom: 4px;\r\n text-decoration: underline;\r\n cursor: pointer;\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n\r\n.linetable-countryOverlay-utils-noWrap {\r\n white-space: nowrap;\r\n}\r\n\r\n.linetable-countryOverlay-utils-colWidth {\r\n max-width: 210px;\r\n}\r\n\r\n.linetable-countryOverlay-contain {\r\n display: flex;\r\n align-items: first baseline;\r\n padding-top: 10px;\r\n}\r\n\r\n.linetable-countryOverlay-image {\r\n width: 24px;\r\n height: 16px;\r\n}\r\n\r\n.linetable-countryOverlay-name {\r\n color: #000000;\r\n align-items: center;\r\n padding-left: 16px;\r\n font-style: normal;\r\n font-weight: 400;\r\n font-size: 14px;\r\n line-height: 32px;\r\n}\r\n.linetable-countryOverlay-blackthemecolor {\r\n color: #ffffff !important;\r\n}\r\n\r\n.linetable-countryOverlay-desktopView {\r\n display: block;\r\n}\r\n.linetable-countryOverlay-mobView {\r\n display: none;\r\n}\r\n@media (max-width: 767px) {\r\n .linetable-countryOverlay-linkTextNew {\r\n font-size: 14px;\r\n line-height: 24px;\r\n }\r\n}\r\n\r\n@media (min-width: 1440px) {\r\n .linetable-countryOverlay-desktopView {\r\n display: block;\r\n }\r\n .linetable-countryOverlay-mobView {\r\n display: none;\r\n }\r\n}\r\n@media (max-width: 1023px) {\r\n .linetable-countryOverlay-desktopView {\r\n display: none;\r\n }\r\n .linetable-countryOverlay-mobView {\r\n display: block;\r\n width: 100%;\r\n }\r\n}\r\n');const E=e=>{switch(e){case"grey-600":return"falcon-grey-600";case"grey-500":return"falcon-grey-500";case"grey-100":return"falcon-grey-100";case"grey-400":return"falcon-grey-400";case"ice-white":return"falcon-ice-white";default:return""}},w=(e,n)=>{const t=[];let o,l,i=0;[...Array(n)].forEach((()=>{l=document.getElementById(`${e}${i}`),null!=l&&(l.style.height="unset",t.push(null==l?void 0:l.clientHeight),i++)})),o=Math.max(...t),i=0,[...Array(n)].forEach((()=>{l=document.getElementById(`${e}${i}`),null!=l&&(l.style.height=`${o}px`),i++}))},P=e=>{e=Number(e);let n=0;return n=new RegExp("^[0-9][^.]*$").test(e.toString())?e+".-":e.toFixed(2).replace(/\.00$/,""),n},k=e=>{const n="undefined"!=typeof window&&localStorage.getItem(e),t=new Date;if(!n)return null;let o={};try{if(o=JSON.parse(n),o.expiry&&t.getTime()>o.expiry)return C(e),null}catch(e){return n}return null==o?void 0:o.value},C=e=>{localStorage.removeItem(e)},V=()=>{const[n,t]=e.useState(0);return e.useEffect((()=>{const e=()=>{t(window.innerWidth)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),n>=1440?"large-desktop":n<1440&&n>=1024?"desktop":n<1024&&n>=768?"tablet":n<768&&n>0?"mobile":""},S=()=>{const[n,t]=e.useState(!1),o=()=>{const e=window.matchMedia("(pointer:coarse)");t(e.matches)};return e.useEffect((()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o))),[]),n},L=(e,n)=>null==e?void 0:e.replace(/{\w+}/g,(e=>n[e.substring(1,e.length-1)]||e)),N="none",O="falconDescription",I="falconAccordionList",B="spacer",A="CHF",D="fixnet",z="defaultWirelineBundle",F="defaultMobilePostpaidBundle",R="mobile",$="desktop",j="tablet",M={EN:"English",FR:"Français",IT:"Italiano",DE:"Deutsch"};_(".dbold {\r\n font-weight: 500;\r\n font-size: 40px;\r\n line-height: 60px;\r\n}\r\n");const U=({content:n})=>{var t;const o=E((null==n?void 0:n.textColor)&&n.textColor),l=(null==n?void 0:n.textColor)&&n.textColor!=N?o:"",i=(null==n?void 0:n.textColor)&&n.textColor===N?{color:null===(t=n.textColorPicker)||void 0===t?void 0:t.color}:{};return e.createElement(e.Fragment,null,n.headingStyle&&n.text&&"h1"===n.headingStyle?e.createElement("h1",{className:l,style:Object.assign({},i)},n.text," "):"h2"===n.headingStyle?e.createElement("h2",{className:`${l}`,style:Object.assign({},i)},n.text):"h3"===n.headingStyle?e.createElement("h3",{className:l,style:Object.assign({},i)},n.text):"h4"===n.headingStyle?e.createElement("h4",{className:l,style:Object.assign({},i)},n.text):e.createElement("div",{className:"dbold",style:Object.assign({},i)},n.text))},q=n=>{var t;const o=V(),r=S(),a="mobile"===o||"tablet"===o||r,d=null===(t=null==g?void 0:g.getInstance())||void 0===t?void 0:t.getAssetPath();return e.createElement("div",null,l.render(n.content,{markResolvers:{link:(t,o)=>{const{href:l,target:r,linktype:c}=o;return"email"===c?e.createElement("a",{href:`mailto:${l}`,target:null===r||"_self"===r?"_top":"_blank"},t):n.isIFrame?e.createElement("a",{href:l,target:null===r||"_self"===r?"_top":"_blank"},t):e.createElement(e.Fragment,null,(null==n?void 0:n.linkAsTooltip)?e.createElement(i.OverlayTrigger,{placement:"auto",rootClose:!0,trigger:a?"click":"hover",overlay:(null==n?void 0:n.toolTipText)?e.createElement(i.Popover,null,e.createElement(i.Popover.Body,null,null==n?void 0:n.toolTipText,a&&d&&e.createElement("img",{src:`${d}/icons/overlay-close.svg`,alt:"close",style:{float:"right"},width:24,height:24,onClick:()=>{var e;return null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.click()}}))):e.createElement(e.Fragment,null)},e.createElement("span",null,t)):e.createElement("a",{href:l,target:null===r?"":r},t))}}}))},W=({content:n})=>{var t;const o=E(n.textColor);return e.createElement(e.Fragment,null,e.createElement("div",{className:`d-inline-flex align-${n.textElementPosition}`},n.icon&&n.icon.filename&&e.createElement("img",{src:n.icon&&n.icon.filename,alt:n.icon&&n.icon.alt,title:n.icon&&n.icon.title,height:24,width:24}),n.text&&e.createElement("div",{className:`${n.icon&&n.icon.filename} ${n.textColor&&n.textColor!=N?o:""}`,style:Object.assign({},n.textColor&&n.textColor===N?{color:null===(t=n.textColorPicker)||void 0===t?void 0:t.color}:{})},e.createElement(q,{content:n.text}))))};_(".linetable-country-overlayModal {\r\n max-width: 900px;\r\n padding: 1rem 2rem;\r\n}\r\n");const G=({children:n,modalState:l,handler:i,noCloseButton:r,showBackBtn:a,overlay:d})=>{const[c,u]=e.useState(),[s,m]=e.useState();return e.useEffect((()=>{d.map((e=>{var n;null===(n=null==e?void 0:e.content)||void 0===n||n.body.map((e=>{"falconTitle"==(null==e?void 0:e.component)&&u(e),"falconDescription"==(null==e?void 0:e.component)&&m(e)}))}))}),[d]),e.createElement(e.Fragment,null,e.createElement(t,{centered:!0,show:l,onHide:i,keyboard:!1,dialogClassName:"linetable-country-overlayModal"},e.createElement(t.Header,null,e.createElement("div",{style:{display:r?"none":""}},e.createElement("div",{className:"d-flex align-items-center"},a&&e.createElement("div",{className:"me-sm-4 me-3 d-flex align-items-center",onClick:i},e.createElement("img",{src:"../../icons/left_arrow.svg"})),c&&e.createElement(U,{content:c}))),e.createElement("div",{style:{display:r?"none":""}},e.createElement(o,{className:"sr-modal-close",onClick:i}))),e.createElement(t.Body,null,n),e.createElement(t.Footer,null,s&&e.createElement(W,{content:s}))))};_(".linetable-dotLoader-loaderParent {\r\n width: 100%;\r\n position: fixed;\r\n z-index: 3;\r\n top: 0;\r\n left: 0;\r\n bottom: 0;\r\n right: 0;\r\n background-color: rgba(255, 255, 255, 0.8);\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.linetable-dotLoader-dotClass {\r\n justify-content: center;\r\n display: flex;\r\n z-index: 1;\r\n}\r\n.linetable-dotLoader-dotContent {\r\n display: flex;\r\n justify-content: center;\r\n animation: contentplay 2s linear 0s infinite;\r\n}\r\n@keyframes dotplay {\r\n 0%,\r\n 20% {\r\n transform: translateY(0);\r\n }\r\n 10% {\r\n transform: translateY(-20px);\r\n }\r\n}\r\n.linetable-dotLoader-dots:nth-child(1) {\r\n animation-delay: 0.4s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(2) {\r\n animation-delay: 0.8s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(3) {\r\n animation-delay: 1.2s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(4) {\r\n animation-delay: 1.6s;\r\n}\r\n.linetable-dotLoader-dots {\r\n margin: 5px 2px;\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n background: linear-gradient(180deg, #e2271e 0%, #ef7c3c 100%);\r\n animation: dotplay 2s linear 0s infinite;\r\n}\r\n@keyframes contentplay {\r\n 0% {\r\n opacity: 0.2;\r\n }\r\n 30% {\r\n opacity: 1;\r\n }\r\n}\r\n");const X=({keyParams:n})=>{const[t,o]=e.useState(0),[l,i]=e.useState({}),r={checkout:[null==l?void 0:l.uspFreeShipping,null==l?void 0:l.uspBestService,null==l?void 0:l.uspCheckout],loading:[null==l?void 0:l.loading]},a=n?r[`${n}`]:r.checkout;return e.useEffect((()=>{i(k("sbstaticcontent"))}),[]),e.useEffect((()=>{let e=a.length-1;o(e);const n=setInterval((()=>{o(e--),e<0&&(e=a.length-1)}),2e3);return()=>{clearTimeout(n)}}),[]),e.createElement("div",{className:"d-flex align-items-center justify-content-center linetable-dotLoader-loaderParent"},e.createElement("div",{className:"linetable-dotLoader-dotClass"},e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"})),e.createElement("div",null,e.createElement("h4",{className:"linetable-dotLoader-dotContent"},a[t]," ")))};function H(e,n,t,o){return new(t||(t=Promise))((function(l,i){function r(e){try{d(o.next(e))}catch(e){i(e)}}function a(e){try{d(o.throw(e))}catch(e){i(e)}}function d(e){var n;e.done?l(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(r,a)}d((o=o.apply(e,n||[])).next())}))}const K=(e,t,o,l)=>H(void 0,void 0,void 0,(function*(){var i;const r=k(`${e}_${t}_countryData`);if(r)return r;try{const r={language:t,type:"B2C"},a=null===(i=(yield n.CMSStoryblokServiceV2.get(o,r)).data)||void 0===i?void 0:i.stories;return a&&a.length>0&&((e,n,t)=>{let o=null;const l=new Date;o={value:n,expiry:t?l.getTime()+t:null},localStorage.setItem(e,JSON.stringify(o))})(`${e}_${t}_countryData`,a,l),a}catch(e){return console.error(e),e}})),J=(e,t,o,l,i)=>H(void 0,void 0,void 0,(function*(){var r,a,d,s,m,p,v,_,h,g,f,y,T;let E={};if(i===D){let n="",l="";const i=null!==(r=c.get("one-commerce-linecheckcorrelationid"))&&void 0!==r?r:"";E={relatedParty:[{id:"anonymous",segment:"RESIDENTIAL"}],cartItem:[{itemType:"HOME",promotionId:o,items:[],note:[{author:"linecheckCorrelationId",text:i}]}]};const u={itemType:"MOBILE",promotionId:o,items:[]};null===(d=null===(a=e[0])||void 0===a?void 0:a.bundledOffers)||void 0===d||d.map((e=>{var o,i,r,a,d,c,s,m,p,v,_,h,g,b,f,x,y,T,w;if(null===(i=null===(o=null==e?void 0:e.promotionInfo)||void 0===o?void 0:o[0])||void 0===i?void 0:i.id){const t=1==(null===(s=null===(c=null===(d=null===(a=null===(r=null==e?void 0:e.promotionInfo)||void 0===r?void 0:r[0])||void 0===a?void 0:a.hardwareGift)||void 0===d?void 0:d[0])||void 0===c?void 0:c.ids)||void 0===s?void 0:s.length)?null===(h=null===(_=null===(v=null===(p=null===(m=null==e?void 0:e.promotionInfo)||void 0===m?void 0:m[0])||void 0===p?void 0:p.hardwareGift)||void 0===v?void 0:v[0])||void 0===_?void 0:_.ids)||void 0===h?void 0:h[0]:"";"mobile"===(null===(g=null==e?void 0:e.productType)||void 0===g?void 0:g.toLowerCase())?(u.promotionId=null===(f=null===(b=null==e?void 0:e.promotionInfo)||void 0===b?void 0:b[0])||void 0===f?void 0:f.id,n=t):(E.cartItem[0].promotionId=null===(y=null===(x=null==e?void 0:e.promotionInfo)||void 0===x?void 0:x[0])||void 0===y?void 0:y.id,l=t)}"tv"==(null===(T=null==e?void 0:e.productType)||void 0===T?void 0:T.toLowerCase())&&t?E.cartItem[0].items.push({itemType:null==e?void 0:e.productType,id:t}):"mobile"===(null===(w=null==e?void 0:e.productType)||void 0===w?void 0:w.toLowerCase())?u.items.push({itemType:"RATEPLAN",id:null==e?void 0:e.id}):E.cartItem[0].items.push({itemType:null==e?void 0:e.productType,id:null==e?void 0:e.id})})),l&&(null===(s=E.cartItem[0].items)||void 0===s||s.push({itemType:"GIFT",id:l})),n&&u.items.push({itemType:"GIFT",id:n}),(null===(m=null==u?void 0:u.items)||void 0===m?void 0:m.length)>0&&(null===(p=null==E?void 0:E.cartItem)||void 0===p||p.push(u));try{const e=(e=>{const n=e+"=";let t;return document.cookie.split(";").some((e=>{for(;" "===e.charAt(0);)e=e.substring(1);return 0===e.indexOf(n)&&(t=JSON.parse(decodeURIComponent(e.substring(n.length,e.length))),!0)})),t})("chAddressJson"),n=[{characteristic:{installationAddress:!0,country:"CH",city:null===(v=null==e?void 0:e.selectedAdd)||void 0===v?void 0:v.city,street1:null===(_=null==e?void 0:e.selectedAdd)||void 0===_?void 0:_.street,postCode:null===(h=null==e?void 0:e.selectedAdd)||void 0===h?void 0:h.postCode,street2:null===(g=null==e?void 0:e.selectedAdd)||void 0===g?void 0:g.houseNumber}}];E.contactMedium=n}catch(e){console.log("issue at line check address addition in create cart ==>",e)}}else i===R&&(E={relatedParty:[{segment:"RESIDENTIAL"}],cartItem:[{itemType:"MOBILE",promotionId:o,items:[{itemType:"RATEPLAN",id:null!==(y=null===(f=null==e?void 0:e[0])||void 0===f?void 0:f.id)&&void 0!==y?y:""}]}]});const w={headers:{"x-correlation-id":u.v4(),"x-sunrise-channel":b}},P=l+x;if((null===(T=Object.keys(E))||void 0===T?void 0:T.length)>0){const e=yield n.ApiServiceV2.getApiServiceInstance().post(P,E,w).then((e=>{if(C("isB2BCustomer"),200==e.status)return null==e?void 0:e.data}));if(e.error)throw e.error;return e}})),Y=({linkText:n,product:t,metadata:o,modalTriggered:l})=>{var i,c,u;const[s,m]=e.useState(!1),[p,v]=e.useState([]),[_,g]=e.useState(!0),[b,f]=e.useState(),[x,y]=e.useState([]),T=null!==(u=null===(c=null===(i=null==t?void 0:t.testProductReference)||void 0===i?void 0:i[0])||void 0===c?void 0:c.reference)&&void 0!==u?u:null==t?void 0:t.reference;let E;e.useEffect((()=>{p&&p.length>0&&p.map((e=>{var n;null===(n=null==e?void 0:e.content)||void 0===n||n.body.map((e=>{"countryListComponent"==(null==e?void 0:e.component)&&y(null==e?void 0:e.countryValues)}))}))}),[p]),e.useEffect((()=>{(null==x?void 0:x.length)>0&&(E=x.length,f(Math.ceil(E/3)))}),[x]);return e.createElement(e.Fragment,null,e.createElement(G,{modalState:s,handler:()=>{m(!1),"function"==typeof l&&l()},overlay:p},_&&e.createElement(X,{keyParams:"loading"}),!_&&e.createElement(e.Fragment,null,e.createElement(r,{className:"linetable-countryOverlay-desktopView"},e.createElement("div",null,e.createElement(a,{className:"linetable-countryOverlay-utils-noWrap"},e.createElement(d,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(a,null,x.slice(0,b).map(((n,t)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:t},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))),e.createElement(d,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(a,null,x.slice(b,2*b).map(((n,t)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:t},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))),e.createElement(d,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(a,null,x.slice(2*b,3*b).map(((n,t)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:t},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name))))))))),e.createElement(r,{className:"linetable-countryOverlay-mobView"},e.createElement(a,null,e.createElement(d,null,e.createElement(a,null,x.map(((n,t)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:t},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))))))),e.createElement("span",{onClick:()=>{var e,n,t,i,r,a;m(!s),"function"==typeof l&&l();const d=null===(r=null===(i=null===(t=null===(n=null===(e=null==T?void 0:T.content)||void 0===e?void 0:e.body)||void 0===n?void 0:n[0])||void 0===t?void 0:t.countryList)||void 0===i?void 0:i.cached_url)||void 0===r?void 0:r.replace(null==o?void 0:o.lang,""),c=null==d?void 0:d.replace("//",""),u=`${null===(a=null==h?void 0:h.getInstance())||void 0===a?void 0:a.getBaseUrl()}rest/cms/stories/?by_slugs=${c}`,p=null==T?void 0:T.name;K(p,null==o?void 0:o.lang,u,864e5).then((e=>{e&&e.length>0&&v(e),g(!1)}))},className:"linetable-countryOverlay-linkTextNew display-5"},n))};_(".linetable-CardEntitlement-mobileProductEntitlement {\r\n margin: 0;\r\n padding: 0 16px 0 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementValue {\r\n display: flex;\r\n margin-bottom: 4px;\r\n align-items: center;\r\n font-size: 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementIcon {\r\n align-self: flex-start;\r\n margin-right: 8px;\r\n}\r\n\r\n.linetable-CardEntitlement-entitlementIcon img {\r\n vertical-align: sub;\r\n}\r\n.linetable-CardEntitlement-animationTitle {\r\n font-size: 16px;\r\n line-height: 24px;\r\n color: #3d3935;\r\n font-weight: 700;\r\n margin-bottom: auto;\r\n}\r\n.linetable-CardEntitlement-entitlementContent {\r\n display: inline-flex;\r\n margin-bottom: 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementDescription {\r\n color: #3d3935;\r\n margin-left: 32px;\r\n margin-bottom: 4px;\r\n font-size: 16px;\r\n font-weight: 500;\r\n width: calc(100% - 32px);\r\n}\r\n");const Z=e.createContext({indexKey:0,listLength:0,arrowUpIcon:"",arrowDownIcon:"",arrowLeftRed:""}),Q=({content:n,product:t,indexKey:o,showEntitleValue:l,metadata:i,modalTriggered:r})=>{var a,d,c,u;const s=e.useRef(null),m=e.useContext(Z),p=()=>{w(`linetable-CardEntitlement-entitlementSection${m.indexKey}`,m.listLength)};return e.useEffect((()=>{setTimeout((()=>{(null==s?void 0:s.current)&&p()}),200),window.addEventListener("resize",p)}),[n]),e.createElement("div",{className:"linetable-CardEntitlement-mobileProductEntitlement",id:`linetable-CardEntitlement-entitlementSection${o}${m.indexKey}`,ref:s},e.createElement("div",{className:"row linetable-CardEntitlement-entitlementContent"},e.createElement("div",{className:"linetable-CardEntitlement-entitlementValue "},e.createElement(e.Fragment,null,(null==n?void 0:n.isblacktheme)?e.createElement(e.Fragment,null,(null===(a=null==n?void 0:n.blackFridayentitlementIcon)||void 0===a?void 0:a.filename)&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementIcon"},e.createElement("img",{src:null===(d=null==n?void 0:n.blackFridayentitlementIcon)||void 0===d?void 0:d.filename,width:20,height:20}))):e.createElement(e.Fragment,null,(null===(c=null==n?void 0:n.entitlementIcon)||void 0===c?void 0:c.filename)&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementIcon"},e.createElement("img",{src:null===(u=null==n?void 0:n.entitlementIcon)||void 0===u?void 0:u.filename,width:20,height:20}))),e.createElement("span",{className:"linetable-CardEntitlement-animationTitle entitlementDisplay"},null==n?void 0:n.entitlementName))),e.createElement("div",{className:"d-block"},n.entitlementDescription&&l&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementDescription"},null==n?void 0:n.entitlementDescription),(null==n?void 0:n.linkText)&&e.createElement(Y,{product:t,linkText:null==n?void 0:n.linkText,metadata:i,modalTriggered:r}))))};_(".linetable-card-linetable-card-flexGrid {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.linetable-card-productContainer {\r\n background-color: #fff;\r\n padding: 24px 0 16px;\r\n text-align: left;\r\n height: 100%;\r\n border-radius: 8px;\r\n}\r\n.linetable-card-productContainer hr {\r\n margin: 16px;\r\n}\r\n.linetable-card-introText {\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n font-size: 16px;\r\n line-height: 24px;\r\n font-weight: 500;\r\n color: #587467;\r\n}\r\n.linetable-card-productTeaser {\r\n background-color: #fff;\r\n border-radius: 8px;\r\n height: 100%;\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n box-shadow: 0px 4px 12px 0px #57545233;\r\n}\r\n.linetable-card-prodHeading {\r\n font-size: 14px;\r\n line-height: 20px;\r\n color: #606060;\r\n font-weight: bold;\r\n margin-bottom: 4px;\r\n}\r\n.linetable-card-titleContainer {\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n}\r\n.linetable-card-productTitle {\r\n color: #1e1e1e;\r\n font-weight: bold;\r\n margin-bottom: 4px;\r\n display: flex;\r\n align-items: baseline;\r\n justify-content: space-between;\r\n}\r\n.linetable-card-productTitle > h1,\r\n.linetable-card-productTitle > h2,\r\n.linetable-card-productTitle > h3,\r\n.linetable-card-productTitle > h4,\r\n.linetable-card-productTitle > h5,\r\n.linetable-card-productTitle > h6 {\r\n color: #1e1e1e !important;\r\n}\r\n.linetable-card-productTitle > h3 {\r\n font-size: 24px;\r\n line-height: 32px;\r\n}\r\n.linetable-card-productTitle > h2 {\r\n margin-right: 8px;\r\n}\r\n.linetable-card-prodDescription {\r\n font-size: 16px;\r\n line-height: 24px;\r\n color: #333333;\r\n display: flex;\r\n font-weight: 400;\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .linetable-card-productTitle {\r\n height: auto;\r\n }\r\n}\r\n\r\n.linetable-card-productDetailSection{\r\n margin: 0 16px;\r\n}\r\n.linetable-card-productDetailSection img {\r\n vertical-align: bottom;\r\n margin-right: 8px;\r\n}\r\n.linetable-card-bottomConatiner {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: end;\r\n}");const ee=({modalState:n,handler:t,showFooter:o,footerNode:l,children:r,width:a,height:d,noCloseButton:c,backButton:u})=>{const s=e.useContext(Z);return e.useEffect((()=>{const e=document.querySelector(".linetable-product-modal .footer-main");e&&(e.style.zIndex="10");const n=document&&document.querySelector(".modal-dialog.linetable-product-modal");n&&(n.style.maxWidth=a,n.style.padding="0",n.style.transform="none");const t=document.querySelector(".linetable-product-modal .modal-content");t&&(t.style.height=d,t.style.backgroundColor="#F7F6F5");const o=document.querySelector(".linetable-product-modal .modal-header");o&&(o.style.position="absolute",o.style.top="0",o.style.zIndex="1",o.style.maxWidth="100%",o.style.background="#f8f8f8",o.style.width="100%");const l=document.querySelector(".linetable-product-modal .modal-body");l&&(l.style.background="#f8f8f8",l.style.paddingTop="70px")}),[d]),e.createElement(i.Modal,{scrollable:!1,show:n,onHide:t,keyboard:!1,dialogClassName:"linetable-product-modal"},e.createElement(i.Modal.Header,null,u&&e.createElement("div",{style:{justifyContent:"start",cursor:"pointer"},onClick:t},e.createElement(e.Fragment,null,(null==s?void 0:s.arrowLeftRed)&&e.createElement("img",{src:null==s?void 0:s.arrowLeftRed,width:24,height:24}),e.createElement("span",{style:{color:"#DA291C"}}," ",u))),e.createElement("div",{style:{display:c?"none":"",justifyContent:"end"}},e.createElement(i.CloseButton,{className:"sr-modal-close",onClick:t}))),e.createElement(i.Modal.Body,null,r),o&&e.createElement(i.Modal.Footer,null,l))};_(".linetable-sr-def-row {\r\n margin-left: auto;\r\n margin-right: auto;\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n max-width: 1308px;\r\n width: 100%;\r\n}\r\n\r\n@media (min-width: 1024px) and (max-width: 1439px) {\r\n .linetable-sr-def-row {\r\n max-width: 972px;\r\n }\r\n}\r\n\r\n@media (min-width: 768px) and (max-width: 1023px) {\r\n .linetable-sr-def-row {\r\n max-width: 720px;\r\n }\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .linetable-sr-def-row {\r\n max-width: 972px;\r\n }\r\n}\r\n\r\n.linetable-sr-def-row .linetable-sr-def-row {\r\n padding: 0px;\r\n max-width: 100%;\r\n}");const ne=({children:n})=>e.createElement("div",{className:"linetable-sr-def-row linetable-sr-responsive-row"},n);_(".linetable-falconAccordion-section {\r\n text-align: center;\r\n}\r\n\r\n.linetable-falconAccordion-description {\r\n color: #3d3935;\r\n padding-bottom: 32px;\r\n text-align: center;\r\n}\r\n\r\n.linetable-falconAccordion-description p a {\r\n color: #da291c;\r\n}\r\n\r\n.linetable-falconAccordion-container {\r\n box-shadow: 0 2px 4px rgba(87, 84, 82, 0.2);\r\n border-radius: 8px;\r\n overflow: hidden;\r\n padding: 0;\r\n}\r\n\r\n.linetable-falconAccordion-current-item {\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-current-item:first-child {\r\n border-radius: 8px 8px 0 0;\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-current-item:last-child {\r\n border-bottom: none;\r\n border-radius: 0 0 8px 8px;\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-item:hover {\r\n background-color: #f7f6f5;\r\n}\r\n\r\n.linetable-falconAccordion-wrapper {\r\n margin-left: 32px;\r\n margin-right: 32px;\r\n border-bottom: 1px solid #e6e3df;\r\n}\r\n\r\n.linetable-falconAccordion-title {\r\n color: #3d3935;\r\n font-style: normal;\r\n font-weight: bold;\r\n font-size: 16px;\r\n line-height: 24px;\r\n margin-right: 28px;\r\n min-height: 24px;\r\n}\r\n\r\n.prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button {\r\n padding: 24px 0;\r\n}\r\n\r\n.prod-card .accordion-body {\r\n padding: 8px 0 32px 0;\r\n color: #3d3935;\r\n text-align: left;\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n\r\n.prod-card .accordion-button::after {\r\n position: absolute;\r\n top: 24px;\r\n right: 0;\r\n background-image: url('/ecom-int/icons/falcon-arrow-down.svg') !important;\r\n background-size: 24px 24px !important;\r\n background-size: unset;\r\n}\r\n\r\n.prod-card .accordion-button:not(.collapsed)::after {\r\n background-image: url('/ecom-int/icons/falcon-arrow-up.svg') !important;\r\n}\r\n\r\n.linetable-falconAccordion-disabled {\r\n opacity: 0.8;\r\n pointer-events: none;\r\n background-color: #e6e3df;\r\n}\r\n\r\n/* for mobile view */\r\n@media (max-width: 767px) {\r\n .prod-card .description {\r\n padding-bottom: 24px;\r\n }\r\n\r\n .linetable-falconAccordion-item:hover {\r\n background-color: none;\r\n }\r\n\r\n .linetable-falconAccordion-wrapper {\r\n margin-left: 16px;\r\n margin-right: 16px;\r\n }\r\n\r\n .prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button {\r\n padding: 16px 0;\r\n }\r\n\r\n .prod-card .accordion-body {\r\n padding-bottom: 24px;\r\n }\r\n\r\n .prod-card .accordion-button::after {\r\n top: 16px;\r\n }\r\n}\r\n\r\n/* For tablet view */\r\n@media (max-width: 1023px) {\r\n .linetable-falconAccordion-wrapper {\r\n margin-left: 24px;\r\n margin-right: 24px;\r\n }\r\n}");const te=({content:n})=>{const t=null==n?void 0:n._uid;return e.createElement("div",{className:"prod-card"},e.createElement(i.Accordion,{flush:!0,defaultActiveKey:(null==n?void 0:n.alwaysOpen)?t:""},e.createElement(i.Accordion.Item,{eventKey:t,className:`${(null==n?void 0:n.disabled)&&"linetable-falconAccordion-disabled"} linetable-falconAccordion-item`},e.createElement("div",{className:"linetable-falconAccordion-wrapper"},e.createElement(i.Accordion.Header,null,e.createElement("span",{className:"linetable-falconAccordion-title"},null==n?void 0:n.title)),e.createElement(i.Accordion.Body,null,(null==n?void 0:n.bodyText)&&e.createElement(q,{content:null==n?void 0:n.bodyText}))))))},oe=({content:n})=>{var t,o,l,i,r,a,d;return e.createElement("section",{className:"linetable-falconAccordion-section"},e.createElement(ne,null,e.createElement(e.Fragment,null,(null==n?void 0:n.title)&&(null===(t=null==n?void 0:n.title)||void 0===t?void 0:t.length)>0&&e.createElement(U,{content:null===(o=null==n?void 0:n.title)||void 0===o?void 0:o[0]}),(null==n?void 0:n.description)&&(null===(l=null==n?void 0:n.description)||void 0===l?void 0:l.length)>0&&e.createElement("div",{className:"linetable-falconAccordion-description"},e.createElement(W,{content:null===(i=null==n?void 0:n.description)||void 0===i?void 0:i[0]})),(null==n?void 0:n.accordions)&&(null===(r=null==n?void 0:n.accordions)||void 0===r?void 0:r.length)>0&&(null===(a=null==n?void 0:n.accordions[0])||void 0===a?void 0:a.title)&&e.createElement("div",{className:"linetable-falconAccordion-container"},null===(d=null==n?void 0:n.accordions)||void 0===d?void 0:d.map((n=>e.createElement("div",{tabIndex:0,key:null==n?void 0:n._uid,className:"linetable-falconAccordion-current-item"},e.createElement(te,{content:Object.assign({},n)}))))))))},le=({content:n})=>{const t=(e=>{switch(e){case"grey-100":return"falcon-background-grey-100";case"ice-white":return"falcon-background-ice-white";case"transparent":return"falcon-background-transparent";default:return""}})(null==n?void 0:n.backgroundColor),o=(e=>{switch(e){case"rubyglow-diagonal":return"falcon-gradient-rubyglow-diagonal";case"rubyglow-vertical":return"falcon-gradient-rubyglow-vertical";case"pinksky-diagonal":return"falcon-gradient-pinksky-diagonal";case"pinksky-vertical":return"falcon-gradient-pinksky-vertical";case"bluehaze-diagonal":return"falcon-gradient-bluehaze-diagonal";case"bluehaze-vertical":return"falcon-gradient-bluehaze-vertical";case"greencloud-diagonal":return"falcon-gradient-greencloud-diagonal";case"greencloud-vertical":return"falcon-gradient-greencloud-vertical";case"peachfog-diagonal":return"falcon-gradient-peachfog-diagonal";case"peachfog-vertical":return"falcon-gradient-peachfog-vertical";case"darkblue-haze":return"falcon-gradient-dark-blue-haze";default:return""}})(null==n?void 0:n.gradientBackground),l=(null==n?void 0:n.gradientBackground)===N?t:o;return e.createElement("div",null,n.height?e.createElement("div",{className:`d-none d-sm-block ${l}`,style:{height:`${n.height}px`}}):e.createElement("div",{className:`d-none d-sm-block ${l}`,style:{height:`${n.desktopHeight}px`}}),e.createElement("div",{className:`d-block d-sm-none ${l} `,style:{height:`${n.mobHeight}px`}}))};_(".linetable-productDetailsText {\r\n color: #da291c;\r\n text-decoration: underline;\r\n cursor: pointer;\r\n}");_('.linetable-staticPrice-priceWrapper {\r\n\tborder-radius: 8px;\r\n\tborder: 1px solid #E6E3DF;\r\n\tmargin: 16px 16px 0 16px;\r\n\tpadding: 8px 16px;\r\n\tfont-size: 14px;\r\n\tfont-weight: 400;\r\n\tline-height: 20px;\r\n}\r\n\r\n.linetable-staticPrice-discountPriceSection {\r\n\tcolor: #2E6199;\r\n\tmargin-right: 8px;\r\n}\r\n\r\n.linetable-staticPrice-discountedPrice {\r\n\tfont-size: 32px;\r\n\tfont-weight: 700;\r\n\tline-height: 40px;\r\n}\r\n\r\n.linetable-staticPrice-basePrice {\r\n\tfont-size: 20px;\r\n\tfont-weight: 700;\r\n\tline-height: 28px;\r\n\tposition: relative;\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.linetable-staticPrice-priceStrikeout::after {\r\n\tcontent: "";\r\n\tposition: absolute;\r\n\tright: -1px;\r\n\tleft: -2px;\r\n\ttop: 50%;\r\n\twidth: 100%;\r\n\tborder-bottom: 2px solid #da291c;\r\n\ttransform: rotate(-18.22deg);\r\n}\r\n\r\n.linetable-staticPrice-noDiscountPrice {\r\n\tfont-size: 32px;\r\n\tfont-weight: 700;\r\n\tline-height: 40px;\r\n}\r\n\r\n.linetable-staticPrice-contractDescription {\r\n\tmargin-top: 6px;\r\n}\r\n\r\n.linetable-staticPrice-addToCart {\r\n\tmargin-top: 8px;\r\n\twidth: 100%;\r\n\tpadding: 10px 24px;\r\n\tborder-radius: 25px;\r\n\tbackground: #DA291C;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 16px;\r\n\tfont-weight: 700;\r\n\tline-height: 24px;\r\n\tborder: 0px;\r\n}\r\n\r\n.linetable-staticPrice-productDetails-priceWrapper {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n@media (min-width: 425px) {\r\n\t.linetable-staticPrice-productDetails-addToCart {\r\n\t\tmin-width: 120px;\r\n\t}\r\n}');const ie=({content:n,addToCart:t,variant:o})=>{const l=e.useContext(Z),i=()=>{w("linetable-staticPrice-priceSection",l.listLength)};e.useEffect((()=>{setTimeout((()=>{i()}),200),window.addEventListener("resize",i)}),[n]);return e.createElement("div",{className:`linetable-staticPrice-priceWrapper ${"productDetails"===o&&"linetable-staticPrice-productDetails-priceWrapper"}`},e.createElement("div",{id:`linetable-staticPrice-priceSection${null==l?void 0:l.indexKey}`},e.createElement("div",{className:"linetable-staticPrice-priceSection"},(null==n?void 0:n.isEnableDiscountPrice)&&e.createElement("span",{className:"linetable-staticPrice-discountPriceSection"},e.createElement("span",{className:"linetable-staticPrice-discountedPrice"},null==n?void 0:n.discountPriceValue),null==n?void 0:n.priceDuration),e.createElement("span",null,e.createElement("span",{className:"linetable-staticPrice-basePrice "+((null==n?void 0:n.isEnableDiscountPrice)?"linetable-staticPrice-priceStrikeout":"linetable-staticPrice-noDiscountPrice")},P(null==n?void 0:n.priceValue)),!(null==n?void 0:n.isEnableDiscountPrice)&&e.createElement(e.Fragment,null,null==n?void 0:n.priceDuration))),e.createElement("div",{className:"linetable-staticPrice-contractDescription"},null==n?void 0:n.contractDescription)),e.createElement("div",null,e.createElement("button",{className:`linetable-staticPrice-addToCart ${"productDetails"===o&&"linetable-staticPrice-productDetails-addToCart"}`,onClick:()=>{"function"==typeof t&&t(n)}},null==n?void 0:n.addButton)))},re=({content:n,updatedContent:t,modalTriggered:o,addToCart:l})=>{var i;const[r,a]=e.useState(!1),d=null==n?void 0:n.subscriptionDetailModal;let c=[],u="";d&&(null==d?void 0:d.length)>0&&(null==d||d.map((e=>{c=null==e?void 0:e.modalBody,null==e||e.productPriceVariant,u=null==e?void 0:e.backButton,null==e||e.priceChangeContent})));const s=()=>{a(!r),"function"==typeof o&&o()};return e.createElement(e.Fragment,null,r&&e.createElement(ee,{modalState:r,handler:s,showFooter:!1,height:"100%",width:"883px",backButton:u},e.createElement(e.Fragment,null,null==c?void 0:c.map(((n,t)=>e.createElement(ne,null,e.createElement(e.Fragment,null,(null==n?void 0:n.component)===O&&e.createElement(W,{content:n,key:t}),(null==n?void 0:n.component)===B&&e.createElement(le,{content:n}),(null==n?void 0:n.component)===I&&e.createElement(oe,{content:n}))))),(null==n?void 0:n.isEnablePrice)&&e.createElement(ie,{content:n,addToCart:l,variant:"productDetails"}))),e.createElement("span",{onClick:s,className:"linetable-productDetailsText"},null!==(i=null==t?void 0:t.subscription)&&void 0!==i?i:null==t?void 0:t.subscriptionText))},ae=({content:n,showPrice:t,addToCart:o})=>{var l,i,r,a,d;const c=null!==(l=null==t?void 0:t.base)&&void 0!==l?l:0;let u=null!==(a=null===(r=null===(i=null==t?void 0:t.discount)||void 0===i?void 0:i[0])||void 0===r?void 0:r.value)&&void 0!==a?a:0;null===(d=null==t?void 0:t.discount)||void 0===d||d.map((e=>{1==(null==e?void 0:e.cycleStart)&&(u=null==e?void 0:e.value)}));const s=null==t?void 0:t.contractDuration;return e.createElement("div",{className:"linetable-staticPrice-priceWrapper"},(null==t?void 0:t.base)?e.createElement(e.Fragment,null,u>0&&e.createElement("span",{className:"linetable-staticPrice-discountPriceSection"},e.createElement("span",{className:"linetable-staticPrice-discountedPrice"},P(u)),null==n?void 0:n.priceDuration),e.createElement("span",null,e.createElement("span",{className:"linetable-staticPrice-basePrice "+(u>0?"linetable-staticPrice-priceStrikeout":"linetable-staticPrice-noDiscountPrice")},P(c)),0===u&&(null==n?void 0:n.priceDuration)),e.createElement("div",{className:"linetable-staticPrice-contractDescription"},s&&0!==s?e.createElement("div",null):e.createElement("div",null,null==n?void 0:n.contractDescription))):"",e.createElement("div",null,e.createElement("button",{className:"linetable-staticPrice-addToCart",onClick:o},null==n?void 0:n.addButton)))};var de={carouselContainer:"ProductTeaser-module_carouselContainer__RzBpK",arrowButton:"ProductTeaser-module_arrowButton__-AkY4",leftArrow:"ProductTeaser-module_leftArrow__Ybrjm",rightArrow:"ProductTeaser-module_rightArrow__MYs5F",stageTeaserTab:"ProductTeaser-module_stageTeaserTab__VYRxL",stageTeaserTabActive:"ProductTeaser-module_stageTeaserTabActive__Wu5nT",carousel_dot:"ProductTeaser-module_carousel_dot__zxG-A",carouselItem:"ProductTeaser-module_carouselItem__vtLwf",teaserImage:"ProductTeaser-module_teaserImage__sQ3ed",contentWrapper:"ProductTeaser-module_contentWrapper__3GKwX",titleSection:"ProductTeaser-module_titleSection__YqXUJ",featureSection:"ProductTeaser-module_featureSection__T-YzP",priceContainer:"ProductTeaser-module_priceContainer__CzBhB",contentMobWrapper:"ProductTeaser-module_contentMobWrapper__9rRLQ",heading:"ProductTeaser-module_heading__Xim2-",fadeOutText:"ProductTeaser-module_fadeOutText__nKr5i",fadeInText:"ProductTeaser-module_fadeInText__Ux98m",paragraph:"ProductTeaser-module_paragraph__hUonu",description:"ProductTeaser-module_description__s-lyV",extraSpace:"ProductTeaser-module_extraSpace__HFJ2A",toolTip:"ProductTeaser-module_toolTip__KL7Xx",gradiantBox:"ProductTeaser-module_gradiantBox__Eys-K",addOnSection:"ProductTeaser-module_addOnSection__G4zhX",featureList:"ProductTeaser-module_featureList__gmPS1",features:"ProductTeaser-module_features__o2jMu",horizontalLine:"ProductTeaser-module_horizontalLine__Nfj9U",horizontalLineDark:"ProductTeaser-module_horizontalLineDark__Sg-Ou",addOnSectionIcon:"ProductTeaser-module_addOnSectionIcon__9-EoX",toggleSection:"ProductTeaser-module_toggleSection__2az0R",toggle:"ProductTeaser-module_toggle__GClvg",serviceUnavail:"ProductTeaser-module_serviceUnavail__Pe52H",priceWrapper:"ProductTeaser-module_priceWrapper__7TC6y",slider:"ProductTeaser-module_slider__-V4R1",line:"ProductTeaser-module_line__mbJxT",clicked:"ProductTeaser-module_clicked__A9jUK",priceDuration:"ProductTeaser-module_priceDuration__TeeO9",callCart:"ProductTeaser-module_callCart__YLJSL",disableCallcart:"ProductTeaser-module_disableCallcart__-M8Od",priceDesc:"ProductTeaser-module_priceDesc__8Er0h"};_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ProductTeaser-module_carouselContainer__RzBpK {\n position: static;\n margin-top: 32px;\n border-radius: 24px;\n}\n@media (min-width: 768px) {\n .ProductTeaser-module_carouselContainer__RzBpK {\n box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_arrowButton__-AkY4, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n background: #ffffff;\n box-shadow: 0px 4px 12px rgba(87, 84, 82, 0.2);\n border-radius: 24px;\n font-size: 16px;\n height: 44px;\n width: 44px;\n padding: 10px;\n position: absolute;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_arrowButton__-AkY4::before, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm::before, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F::before {\n color: #da291c;\n font-size: 20px;\n display: block;\n font-family: revicons;\n text-align: center;\n z-index: 1;\n position: relative;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: 22px;\n top: 253px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: 16px;\n top: 263px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: -32px;\n top: 278px;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F::before {\n content: "\\e825";\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F:disabled {\n background: #E6E3DF;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: 22px;\n top: 253px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: 16px;\n top: 263px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: -32px;\n top: 278px;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm::before {\n content: "\\e824";\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm:disabled {\n background: #E6E3DF;\n}\n\n.ProductTeaser-module_stageTeaserTab__VYRxL, .ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n border-radius: 40px;\n border: none;\n color: #5f5955;\n background-color: #ffffff;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n padding: 10px 24px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_stageTeaserTab__VYRxL, .ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n max-width: 158px;\n }\n}\n\n.ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n color: #ffffff;\n background: #da291c;\n}\n\n.ProductTeaser-module_carousel_dot__zxG-A {\n border-radius: 50px;\n background-color: #ffffff;\n border: 2px solid rgba(61, 57, 53, 0.25);\n padding: 1px;\n width: fit-content;\n margin: 0 auto;\n position: absolute;\n top: -24px;\n height: fit-content;\n}\n\n.ProductTeaser-module_carouselItem__vtLwf {\n position: relative;\n width: 100%;\n}\n.ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_teaserImage__sQ3ed {\n object-fit: cover;\n object-position: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_carouselItem__vtLwf {\n display: flex;\n justify-content: center;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_teaserImage__sQ3ed {\n border-radius: 24px;\n position: absolute;\n }\n}\n\n.ProductTeaser-module_contentWrapper__3GKwX {\n position: absolute;\n left: 80px;\n top: 40px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_contentWrapper__3GKwX {\n max-width: 460px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_contentWrapper__3GKwX {\n left: 24px;\n max-width: 460px;\n }\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n text-align: center;\n left: unset;\n top: unset;\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_featureSection__T-YzP {\n position: relative;\n right: unset;\n top: unset;\n margin-top: 24px;\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_priceContainer__CzBhB {\n position: relative;\n top: unset;\n bottom: unset;\n margin-top: 24px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_contentMobWrapper__9rRLQ {\n position: relative;\n margin: 0 16px;\n width: 100%;\n }\n}\n@media (max-width: 320px) {\n .ProductTeaser-module_contentMobWrapper__9rRLQ {\n margin: 0 8px;\n }\n}\n\n.ProductTeaser-module_titleSection__YqXUJ {\n position: absolute;\n top: 173px;\n left: 107px;\n color: #ffffff;\n font-weight: 700;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n max-width: 412px;\n }\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n top: unset;\n left: unset;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n text-align: center;\n top: 32px;\n left: unset;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_heading__Xim2- {\n font-size: 16px;\n line-height: 24px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_heading__Xim2- {\n font-size: 14px;\n line-height: 20px;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_fadeOutText__nKr5i {\n opacity: 0;\n transition: opacity 1s ease;\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_fadeInText__Ux98m {\n opacity: 1;\n transition: opacity 1s ease;\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_paragraph__hUonu {\n font-size: 28px;\n line-height: 36px;\n margin: 8px 0 12px 0;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_paragraph__hUonu {\n font-size: 20px;\n line-height: 28px;\n max-width: 100%;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_description__s-lyV {\n font-weight: 400;\n font-size: 16px;\n line-height: 20px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_extraSpace__HFJ2A {\n top: 62px;\n }\n}\n\n.ProductTeaser-module_featureSection__T-YzP {\n position: absolute;\n right: 107px;\n top: 129px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_featureSection__T-YzP {\n max-width: 412px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureSection__T-YzP {\n right: unset;\n top: unset;\n margin-top: 397px;\n font-size: 14px;\n line-height: 20px;\n background-color: #ffffff;\n color: #3D3935;\n border-radius: 12px;\n position: relative;\n height: fit-content;\n }\n}\n.ProductTeaser-module_featureSection__T-YzP .ProductTeaser-module_toolTip__KL7Xx {\n filter: brightness(0) invert(1);\n margin-left: 16px;\n display: flex;\n align-items: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureSection__T-YzP .ProductTeaser-module_toolTip__KL7Xx {\n filter: none;\n }\n}\n\n.ProductTeaser-module_gradiantBox__Eys-K, .ProductTeaser-module_addOnSection__G4zhX, .ProductTeaser-module_featureList__gmPS1 {\n border-radius: 12px;\n background: rgba(0, 0, 0, 0.2);\n backdrop-filter: blur(12.5px);\n color: #ffffff;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_gradiantBox__Eys-K, .ProductTeaser-module_addOnSection__G4zhX, .ProductTeaser-module_featureList__gmPS1 {\n background: none;\n color: unset;\n backdrop-filter: unset;\n }\n}\n\n.ProductTeaser-module_featureList__gmPS1 {\n padding: 4px 20px;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu {\n display: flex;\n align-items: center;\n margin: 12px 0;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu .ProductTeaser-module_toolTip__KL7Xx {\n margin-left: auto;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu img {\n margin-right: 10px;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu span {\n color: #ffffff;\n text-decoration: underline;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu span {\n color: #3d3935;\n }\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_horizontalLine__Nfj9U, .ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_horizontalLineDark__Sg-Ou {\n opacity: 0.5;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);\n height: 1px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureList__gmPS1 {\n border-radius: 12px 12px 0px 0px;\n }\n}\n\n.ProductTeaser-module_addOnSection__G4zhX {\n padding: 16px 20px;\n margin-top: 16px;\n display: flex;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_addOnSectionIcon__9-EoX {\n margin-right: 10px;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R {\n margin-left: auto;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R .ProductTeaser-module_toggle__GClvg {\n margin-right: 10px;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R input {\n cursor: pointer;\n margin-top: unset;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R input:focus {\n border: unset !important;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_addOnSection__G4zhX {\n border-radius: 0px 0px 12px 12px;\n margin-top: 0px;\n padding: 12px 20px;\n align-items: center;\n }\n}\n\n.ProductTeaser-module_priceContainer__CzBhB {\n position: absolute;\n bottom: 40px;\n width: 100%;\n color: #ffffff;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_serviceUnavail__Pe52H {\n text-align: center;\n margin-bottom: 10px;\n font-size: 16px;\n line-height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_serviceUnavail__Pe52H img {\n margin-right: 8px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB {\n color: #3D3935;\n position: static;\n display: flex;\n justify-content: center;\n flex-direction: column;\n padding: 16px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y {\n margin-right: unset;\n flex-direction: column;\n font-size: 20px;\n line-height: 28px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 {\n height: 28px;\n overflow: hidden;\n margin-right: 12px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT {\n transition: transform 0.5s ease;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 {\n margin-bottom: 8px;\n margin-right: unset;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_clicked__A9jUK .ProductTeaser-module_line__mbJxT {\n transform: translateY(-100%);\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_priceDuration__TeeO9 {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n display: inline-block;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 10px 24px;\n font-weight: 700;\n border: none;\n background-color: #da291c;\n color: #ffffff;\n border-radius: 28px;\n display: flex;\n align-items: center;\n font-size: 16px;\n line-height: 24px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL img {\n margin-left: 8px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 14px 24px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 10px 24px;\n max-width: 100%;\n display: flex;\n justify-content: center;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_disableCallcart__-M8Od {\n background-color: #e6e3df;\n color: #b3aeaa;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDesc__8Er0h {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDesc__8Er0h {\n font-size: 14px;\n line-height: 20px;\n margin-top: 8px;\n }\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_horizontalLineDark__Sg-Ou {\n margin: 0 16px;\n height: 1px;\n background-color: #e6e3df;\n }\n}');class ce{constructor(e){this.config={baseURL:"",cartURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.config=e}}ce.getInstance=()=>ce.instance,ce.create=e=>{ce.instance=new ce(e)};var ue="ToolTip-module_tooltipicon__U5Rvt";_(".ToolTip-module_tooltipicon__U5Rvt {\n height: 24px;\n margin-left: 4px;\n min-width: 20px;\n width: 24px;\n cursor: pointer;\n}");const se=({content:n,tooltipClass:t=""})=>{var o;const l=V(),r=S(),a=null===(o=null==g?void 0:g.getInstance())||void 0===o?void 0:o.getAssetPath();return n&&e.createElement(i.OverlayTrigger,{placement:"auto",rootClose:!0,trigger:""+("mobile"===l||"tablet"===l||r?"click":"hover"),overlay:n&&e.createElement(i.Popover,{id:"popover-basic"},e.createElement(i.Popover.Body,null,n))},e.createElement("div",{className:`${ue} ${t}`},a&&e.createElement("img",{src:`${a}/icons/tooltip_icon.svg`,width:24,height:24,alt:""})))},me=({content:n,slides:t,index:o,offeringData:l,lineCheckCallBack:i})=>{var r,a,d,u,s,p,v,_,h,b,f,x,y,T,E,w,k,C,S,L,N,O,I,B,M,U,W;const G=null===(r=null==g?void 0:g.getInstance())||void 0===r?void 0:r.getAssetPath(),X=null===(a=null==ce?void 0:ce.getInstance())||void 0===a?void 0:a.getCartUrl(),[H,K]=e.useState(!1),Y=c.get("chAddressJson"),Z=V(),Q=()=>{var o,r,a,d,u,s,m,p,v,_,h,g,b,f,x,y,T,E,w,k,C;let V,S;const L=localStorage.getItem("lineCheckResponse"),N=L&&JSON.parse(L),O=H?null==t?void 0:t.tvProductId:null==t?void 0:t.productId,I=Y&&N&&(null==N?void 0:N.eligibleBundle.includes(O));return V=(null===(o=l[null==t?void 0:t.productId])||void 0===o?void 0:o.derivedPrice)?null===(d=null===(a=null===(r=l[null==t?void 0:t.productId])||void 0===r?void 0:r.derivedPrice)||void 0===a?void 0:a[0])||void 0===d?void 0:d.value:null===(m=null===(s=null===(u=l[null==t?void 0:t.productId])||void 0===u?void 0:u.prices)||void 0===s?void 0:s[0])||void 0===m?void 0:m.value,S=(null===(p=l[null==t?void 0:t.tvProductId])||void 0===p?void 0:p.derivedPrice)?null===(h=null===(_=null===(v=l[null==t?void 0:t.tvProductId])||void 0===v?void 0:v.derivedPrice)||void 0===_?void 0:_[0])||void 0===h?void 0:h.value:null===(f=null===(b=null===(g=l[null==t?void 0:t.tvProductId])||void 0===g?void 0:g.prices)||void 0===b?void 0:b[0])||void 0===f?void 0:f.value,e.createElement("div",{className:de.priceContainer},Y&&(null===(x=null==Object?void 0:Object.keys(Y))||void 0===x?void 0:x.length)>0&&!I&&(null==t?void 0:t.productType)===D&&e.createElement("div",{className:de.serviceUnavail},e.createElement("img",{src:`${G}/icons/not-available.svg`,alt:"",width:24,height:24}),null==n?void 0:n.serviceabilityError),(null===(E=null===(T=null===(y=l[null==t?void 0:t.productId])||void 0===y?void 0:y.prices)||void 0===T?void 0:T[0])||void 0===E?void 0:E.value)>0&&e.createElement("span",{className:de.priceWrapper},e.createElement("div",{className:`${de.slider} ${H&&(null==t?void 0:t.productType)===D&&de.clicked}`},V&&e.createElement("div",{className:de.line},A," ",P(V),e.createElement("p",{className:de.priceDuration},null==t?void 0:t.conDuration)),S&&e.createElement("div",{className:de.line},A," ",P(S),e.createElement("p",{className:de.priceDuration},null==t?void 0:t.conDuration))),e.createElement("button",{onClick:()=>(e=>{var n,t;if((null==e?void 0:e.productType)===D){const t=localStorage.getItem("lineCheckResponse"),o=t&&JSON.parse(t),r=c.get("one-commerce-linecheckcorrelationid"),a=H?null==e?void 0:e.tvProductId:null==e?void 0:e.productId,d=Y&&o&&(null==o?void 0:o.eligibleBundle.includes(a));o&&Y&&r?d&&0!==(null===(n=Object.keys(l))||void 0===n?void 0:n.length)&&J([l[a]],"",(null==e?void 0:e.promoId)?null==e?void 0:e.promoId:z,X,null==e?void 0:e.productType).then((n=>{var t;c.remove("one-commerce-cartId",{path:"/"}),c.set("one-commerce-cartId",null==n?void 0:n.id,{path:"/"}),c.set("cartProduct",a,{path:"/"}),c.remove("landline"),window.location.href=null===(t=null==e?void 0:e.summaryURL)||void 0===t?void 0:t.cached_url})).catch((e=>{console.log(e)})):"function"==typeof i&&i()}else(null==e?void 0:e.productType)===R&&0!==(null===(t=Object.keys(l))||void 0===t?void 0:t.length)&&J([l[null==e?void 0:e.productId]],"",(null==e?void 0:e.promoId)?null==e?void 0:e.promoId:F,X,null==e?void 0:e.productType).then((n=>{var t;c.remove("one-commerce-cartId",{path:"/"}),c.set("one-commerce-cartId",null==n?void 0:n.id,{path:"/"}),c.set("cartProduct",null==e?void 0:e.productId,{path:"/"}),window.location.href=null===(t=null==e?void 0:e.summaryURL)||void 0===t?void 0:t.cached_url})).catch((e=>{console.log(e)}))})(t),className:`${de.callCart} ${Y&&(null===(w=null==Object?void 0:Object.keys(Y))||void 0===w?void 0:w.length)>0&&!I&&(null==t?void 0:t.productType)===D?de.disableCallcart:""}`,disabled:Y&&(null===(k=null==Object?void 0:Object.keys(Y))||void 0===k?void 0:k.length)>0&&!I&&(null==t?void 0:t.productType)===D},null==t?void 0:t.buttonLbl,e.createElement("img",{src:null===(C=null==n?void 0:n.btnIcon)||void 0===C?void 0:C.filename,alt:"tv",width:24,height:24}))),e.createElement("div",{className:de.priceDesc},null==t?void 0:t.priceDesc))};return e.createElement("div",{className:de.carouselItem,key:o},("large-desktop"===Z||Z===$)&&(null===(d=null==t?void 0:t.desktopBGImage)||void 0===d?void 0:d.filename)&&e.createElement("img",{src:null===(u=null==t?void 0:t.desktopBGImage)||void 0===u?void 0:u.filename,alt:"",width:"100%",height:"550px",className:de.teaserImage}),Z===j&&(null===(s=null==t?void 0:t.tabBGImage)||void 0===s?void 0:s.filename)&&e.createElement("img",{src:null===(p=null==t?void 0:t.tabBGImage)||void 0===p?void 0:p.filename,alt:"",width:"100%",height:"550px",className:de.teaserImage}),Z===R&&(null===(v=null==t?void 0:t.mobileBGImage)||void 0===v?void 0:v.filename)&&e.createElement("img",{src:null===(_=null==t?void 0:t.mobileBGImage)||void 0===_?void 0:_.filename,alt:"",width:"100%",height:"500px",className:de.teaserImage}),e.createElement("div",{className:`${Z===j||Z===$?de.contentWrapper:de.contentMobWrapper}`},e.createElement("div",{className:`${de.titleSection} ${(null===(h=null==n?void 0:n.productTeaserSlides)||void 0===h?void 0:h.length)>1&&de.extraSpace}`},(null==t?void 0:t.heading)&&e.createElement(e.Fragment,null,!H&&e.createElement("div",{className:`${de.heading}`},null==t?void 0:t.heading),(null==t?void 0:t.tvSubHeading)&&H&&e.createElement("div",{className:`${de.heading} ${H?de.fadeInText:de.fadeOutText}`},null==t?void 0:t.tvSubHeading)),(null==t?void 0:t.subHeading)&&e.createElement("div",{className:de.paragraph},null==t?void 0:t.subHeading),(null==t?void 0:t.description)&&e.createElement("div",{className:de.description},e.createElement(q,{content:null==t?void 0:t.description}))),e.createElement("div",{className:de.featureSection},(null===(b=null==t?void 0:t.details)||void 0===b?void 0:b.length)>0&&e.createElement("div",{className:de.featureList},null===(f=(null==t?void 0:t.details)||[])||void 0===f?void 0:f.map(((n,t)=>{var o,l,i;return e.createElement(e.Fragment,null,t>0&&Z!==R&&e.createElement("div",{className:de.horizontalLine}),e.createElement("div",{className:de.features},(null===(o=null==n?void 0:n.icon)||void 0===o?void 0:o.filename)&&e.createElement("img",{src:Z===R?null===(l=null==n?void 0:n.mobIcon)||void 0===l?void 0:l.filename:null===(i=null==n?void 0:n.icon)||void 0===i?void 0:i.filename,alt:"icon",width:24,height:24}),(null==n?void 0:n.text)&&e.createElement(e.Fragment,null,e.createElement(q,{content:null==n?void 0:n.text,linkAsTooltip:!0,toolTipText:null==n?void 0:n.linkTxt}),(null==n?void 0:n.tooltipTxt)&&e.createElement(se,{content:null==n?void 0:n.tooltipTxt,tooltipClass:de.toolTip}))))}))),Z===R&&(null==t?void 0:t.productType)===D&&(null===(x=Object.keys(l))||void 0===x?void 0:x.length)>0&&e.createElement("div",{className:de.horizontalLineDark}),(null==t?void 0:t.productType)===D&&(null===(y=null==t?void 0:t.tvDetails)||void 0===y?void 0:y.length)>0&&""!==(null==t?void 0:t.tvProductId)&&e.createElement("div",{className:de.addOnSection},e.createElement("img",{src:Z===R?null===(w=null===(E=null===(T=null==t?void 0:t.tvDetails)||void 0===T?void 0:T[0])||void 0===E?void 0:E.mobIcon)||void 0===w?void 0:w.filename:null===(S=null===(C=null===(k=null==t?void 0:t.tvDetails)||void 0===k?void 0:k[0])||void 0===C?void 0:C.icon)||void 0===S?void 0:S.filename,className:de.addOnSectionIcon,alt:"tv",width:24,height:24}),e.createElement(q,{content:null===(N=null===(L=null==t?void 0:t.tvDetails)||void 0===L?void 0:L[0])||void 0===N?void 0:N.text}),e.createElement("span",{className:`d-flex align-items-center ${de.toggleSection}`},e.createElement("span",{className:de.toggle},null==t?void 0:t.tvPrice),e.createElement(m,null,e.createElement(m.Check,{type:"switch",readOnly:!0,onClick:()=>K(!H),checked:H})),(null===(I=null===(O=null==t?void 0:t.tvDetails)||void 0===O?void 0:O[0])||void 0===I?void 0:I.tooltipTxt)&&e.createElement(se,{content:null===(M=null===(B=null==t?void 0:t.tvDetails)||void 0===B?void 0:B[0])||void 0===M?void 0:M.tooltipTxt,tooltipClass:de.toolTip}))),Z===R&&(null===(U=Object.keys(l))||void 0===U?void 0:U.length)>0&&e.createElement(e.Fragment,null,e.createElement("div",{className:de.horizontalLineDark}),Q())),Z!==R&&(null===(W=Object.keys(l))||void 0===W?void 0:W.length)>0&&e.createElement(e.Fragment,null,Q())))};var pe={tabblock:"LineTableV3-module_tabblock__RT8F7",tabcontainer:"LineTableV3-module_tabcontainer__yoOyh",tabs:"LineTableV3-module_tabs__yAuu1",flexgrid:"LineTableV3-module_flexgrid__-yK7t",tabcontent:"LineTableV3-module_tabcontent__SRFXx",tabcontentactive:"LineTableV3-module_tabcontentactive__O-Bx4",tabcontentinactive:"LineTableV3-module_tabcontentinactive__QssoB",productcenter:"LineTableV3-module_productcenter__dJOxq",selected:"LineTableV3-module_selected__BQ-1W",inactiveicon:"LineTableV3-module_inactiveicon__F2il-",activeicon:"LineTableV3-module_activeicon__KF5V6",productcard:"LineTableV3-module_productcard__DerLh",titlecontainer:"LineTableV3-module_titlecontainer__MxMVB",title:"LineTableV3-module_title__wJh9k",description:"LineTableV3-module_description__a9gDY",productcontainer:"LineTableV3-module_productcontainer__r6eW3",productheader:"LineTableV3-module_productheader__ABVZv",productdescription:"LineTableV3-module_productdescription__eQkZI",productdetailswrapper:"LineTableV3-module_productdetailswrapper__2iyF7",productdetails:"LineTableV3-module_productdetails__d-3nO",productname:"LineTableV3-module_productname__rZDbH",icon:"LineTableV3-module_icon__RLfki",displayname:"LineTableV3-module_displayname__4jFfp",productdetailsdescription:"LineTableV3-module_productdetailsdescription__c-OwM",showmore:"LineTableV3-module_showmore__o16-Q",entitlement:"LineTableV3-module_entitlement__-okqD",entitlementvalue:"LineTableV3-module_entitlementvalue__VXoee",proddescription:"LineTableV3-module_proddescription__Gy12t",disabled:"LineTableV3-module_disabled__8ABhu",entitlementicon:"LineTableV3-module_entitlementicon__Baiv1",bundletooltip:"LineTableV3-module_bundletooltip__NNkP7",ordersection:"LineTableV3-module_ordersection__JxERw",optioncontainer:"LineTableV3-module_optioncontainer__5Iq2k",optionlist:"LineTableV3-module_optionlist__l77Xh",optiontitle:"LineTableV3-module_optiontitle__-9LCh",optionwrapper:"LineTableV3-module_optionwrapper__KhMtQ",text:"LineTableV3-module_text__mGMJw",pricesection:"LineTableV3-module_pricesection__UeR7S",discountedprice:"LineTableV3-module_discountedprice__cmfJn",duration:"LineTableV3-module_duration__b84yX",basePriceAfterDiscount:"LineTableV3-module_basePriceAfterDiscount__nc6cq",pricedisplay:"LineTableV3-module_pricedisplay__LSPcJ",blockskeleton:"LineTableV3-module_blockskeleton__XL-B7",productcontractduration:"LineTableV3-module_productcontractduration__Z2alP",buttontext:"LineTableV3-module_buttontext__zRD8D",buttondisabled:"LineTableV3-module_buttondisabled__HGHeR",buttontextdisabled:"LineTableV3-module_buttontextdisabled__XK6g-",addtocart:"LineTableV3-module_addtocart__FFHAw",productdetailslink:"LineTableV3-module_productdetailslink__zpVbJ",overlay:"LineTableV3-module_overlay__K6gGy",skeletontittle:"LineTableV3-module_skeletontittle__Wu6tZ",skeletonline:"LineTableV3-module_skeletonline__pXS60",space:"LineTableV3-module_space__DFFVs",newmodal:"LineTableV3-module_newmodal__FOvvH",tvHeading:"LineTableV3-module_tvHeading__mMLQZ",changeBtn:"LineTableV3-module_changeBtn__eVOuq",carouselpadding:"LineTableV3-module_carouselpadding__9zdTY",highlightText:"LineTableV3-module_highlightText__1QY-c",highlightBorder:"LineTableV3-module_highlightBorder__-1ffJ"};_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.LineTableV3-module_tabblock__RT8F7 {\n justify-content: center;\n padding-top: 40px;\n}\n\n.LineTableV3-module_tabcontainer__yoOyh {\n border: 1px solid #3d3935;\n border-radius: 35px;\n display: flex;\n margin-bottom: 0;\n padding: 4px !important;\n}\n@media (max-width: 767px) {\n .LineTableV3-module_tabcontainer__yoOyh {\n border-radius: 8px;\n }\n}\n\n.LineTableV3-module_tabs__yAuu1 {\n display: flex;\n justify-content: center;\n text-align: center;\n width: 100%;\n}\n\n.LineTableV3-module_flexgrid__-yK7t {\n display: flex;\n}\n\n.LineTableV3-module_tabcontent__SRFXx {\n align-items: center;\n border-radius: 35px;\n cursor: pointer;\n display: flex;\n font-size: 16px;\n font-weight: 700;\n justify-content: center;\n line-height: 24px;\n padding: 10px 12px;\n width: 100%;\n}\n@media (max-width: 767px) {\n .LineTableV3-module_tabcontent__SRFXx {\n border-radius: 8px;\n }\n}\n\n.LineTableV3-module_tabcontentactive__O-Bx4 {\n background-color: #da291c;\n border-radius: 35px;\n color: white !important;\n}\n.LineTableV3-module_tabcontentactive__O-Bx4:hover {\n background-color: #961c13;\n}\n@media (max-width: 767px) {\n .LineTableV3-module_tabcontentactive__O-Bx4 {\n border-radius: 8px;\n }\n}\n\n.LineTableV3-module_tabcontentinactive__QssoB:hover {\n color: #961c13;\n}\n\ninput[type=radio] {\n display: none;\n}\n\n.LineTableV3-module_productcenter__dJOxq {\n flex-direction: column;\n margin-left: 10px;\n margin-right: 10px;\n text-align: center;\n align-items: center;\n height: 100%;\n}\n\n.LineTableV3-module_selected__BQ-1W {\n font-size: 16px;\n line-height: 24px;\n align-items: center;\n color: #606060;\n display: inline-flex;\n font-weight: 500;\n margin-bottom: 12px;\n margin-right: 50px;\n margin-top: 4px;\n}\n.LineTableV3-module_selected__BQ-1W .LineTableV3-module_inactiveicon__F2il- {\n height: 32px;\n margin-right: 12px;\n width: 32px;\n}\n.LineTableV3-module_selected__BQ-1W .LineTableV3-module_activeicon__KF5V6 {\n height: 32px;\n margin-right: 12px;\n width: 32px;\n}\n\n.LineTableV3-module_productcard__DerLh {\n margin-top: 16px;\n position: relative;\n padding: 8px 8px 20px;\n background-color: #fff;\n text-align: left;\n border-radius: 8px;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n box-shadow: 0 2px 4px 0 rgba(87, 84, 82, 0.2);\n}\n\n.LineTableV3-module_titlecontainer__MxMVB {\n padding-bottom: 24px;\n}\n\n.LineTableV3-module_title__wJh9k {\n text-align: center;\n font-size: 24px;\n line-height: 30px;\n font-weight: 700;\n padding-top: 20px;\n}\n\n.LineTableV3-module_description__a9gDY {\n text-align: center;\n font-size: 16px;\n line-height: 24px;\n}\n\n.LineTableV3-module_productcontainer__r6eW3 {\n background-color: #fff;\n border-radius: 0 0 4px 4px;\n padding: 12px 8px 8px;\n text-align: left;\n height: 100%;\n}\n\n.LineTableV3-module_productheader__ABVZv {\n display: flex;\n align-items: center;\n font-weight: 700;\n font-size: 28px;\n line-height: 36px;\n margin-bottom: 6px;\n}\n\n.LineTableV3-module_productdescription__eQkZI {\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n color: #587467;\n}\n\n.LineTableV3-module_productdetailswrapper__2iyF7 {\n margin-bottom: 16px;\n}\n\n.LineTableV3-module_productdetails__d-3nO {\n border-top: 1px solid #e6e3df;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_productname__rZDbH {\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n margin: 10px 0 0;\n display: flex;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_productname__rZDbH .LineTableV3-module_icon__RLfki {\n height: 20px;\n width: 20px;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_productname__rZDbH .LineTableV3-module_displayname__4jFfp {\n width: calc(100% - 48px);\n margin-left: 8px;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_productdetailsdescription__c-OwM {\n margin-top: 6px;\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n margin-left: 32px;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_showmore__o16-Q {\n color: #da291c;\n margin: 6px 0 0 32px;\n cursor: pointer;\n font-size: 14px;\n line-height: 20px;\n}\n\n.LineTableV3-module_entitlement__-okqD {\n margin-left: 32px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_entitlementvalue__VXoee {\n display: flex;\n margin-top: 6px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_proddescription__Gy12t {\n font-size: 14px;\n line-height: 20px;\n color: #606060;\n display: inline-block;\n font-weight: 500;\n margin-right: 6px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_disabled__8ABhu {\n font-size: 14px;\n line-height: 20px;\n opacity: 0.4;\n color: #606060;\n display: inline-block;\n font-weight: 500;\n margin-right: 6px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_entitlementicon__Baiv1 {\n align-self: center;\n margin-right: 8px;\n min-width: 20px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_bundletooltip__NNkP7 {\n float: right;\n position: relative;\n top: 2px;\n}\n\n.LineTableV3-module_ordersection__JxERw {\n flex-direction: column;\n justify-content: flex-end;\n width: 100%;\n height: 100%;\n padding: 10px;\n}\n\n.LineTableV3-module_optioncontainer__5Iq2k {\n background: rgba(153, 178, 167, 0.1);\n margin: 0 8px 10px;\n border: 1px solid #B6C8C0;\n border-radius: 8px;\n padding: 8px 16px 16px;\n}\n.LineTableV3-module_optioncontainer__5Iq2k .LineTableV3-module_optionlist__l77Xh {\n margin-top: 2px;\n}\n.LineTableV3-module_optioncontainer__5Iq2k .LineTableV3-module_optionlist__l77Xh .LineTableV3-module_optiontitle__-9LCh {\n font-size: 16px;\n line-height: 24px;\n font-weight: bold;\n}\n.LineTableV3-module_optioncontainer__5Iq2k .LineTableV3-module_optionlist__l77Xh .LineTableV3-module_optionwrapper__KhMtQ {\n display: flex;\n justify-content: space-between;\n margin-top: 12px;\n font-size: 14px;\n line-height: 20px;\n color: #606060;\n font-weight: 500;\n min-height: 24px;\n}\n.LineTableV3-module_optioncontainer__5Iq2k .LineTableV3-module_optionlist__l77Xh .LineTableV3-module_optionwrapper__KhMtQ .LineTableV3-module_text__mGMJw > div > p > b {\n color: #5e94cf;\n}\n\n.LineTableV3-module_pricesection__UeR7S {\n justify-content: center;\n margin: 4px;\n padding: 10px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_discountedprice__cmfJn {\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_duration__b84yX {\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_basePriceAfterDiscount__nc6cq {\n font-weight: 700;\n font-size: 20px;\n line-height: 28px;\n position: relative;\n padding-left: 10px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_basePriceAfterDiscount__nc6cq::after {\n content: "";\n position: absolute;\n right: -1px;\n left: 8px;\n top: 50%;\n border-bottom: 2px solid #e6003c;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_pricedisplay__LSPcJ {\n padding: 4px;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_blockskeleton__XL-B7 {\n height: 15px;\n top: 5px;\n bottom: 5px;\n}\n\n.LineTableV3-module_productcontractduration__Z2alP {\n padding: 4px;\n text-align: center;\n font-weight: 400;\n font-size: 12px;\n line-height: 16px;\n margin: 10px;\n}\n\n.LineTableV3-module_buttontext__zRD8D {\n font-size: 16px;\n line-height: 24px;\n color: #ffffff;\n font-weight: bold;\n text-align: center;\n}\n\n.LineTableV3-module_buttondisabled__HGHeR {\n text-align: center;\n background: #e5e5e5;\n border: none;\n border-radius: 28px;\n padding: 14px 24px;\n width: 100%;\n}\n\n.LineTableV3-module_buttontextdisabled__XK6g- {\n font-size: 16px;\n line-height: 24px;\n color: #606060;\n text-align: center;\n}\n\n.LineTableV3-module_addtocart__FFHAw {\n text-align: center;\n margin-top: 15px;\n border-top: 1px solid #e6e3df;\n}\n\n.LineTableV3-module_productdetailslink__zpVbJ {\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n color: #da291c;\n text-decoration: underline;\n}\n\n.LineTableV3-module_overlay__K6gGy {\n cursor: default;\n display: block;\n opacity: 0.4;\n pointer-events: none;\n}\n\n.LineTableV3-module_skeletontittle__Wu6tZ {\n height: 50px;\n}\n\n.LineTableV3-module_skeletonline__pXS60 {\n height: 15px;\n margin: 8px 0;\n}\n\n.LineTableV3-module_space__DFFVs {\n margin: 20px 0;\n}\n\n.LineTableV3-module_newmodal__FOvvH {\n margin-top: 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n border: 1px solid black;\n border-radius: 8px;\n min-height: 38px;\n margin-left: 28px;\n font-size: 14px;\n line-height: 20px;\n}\n.LineTableV3-module_newmodal__FOvvH .LineTableV3-module_tvHeading__mMLQZ {\n width: 100%;\n margin-left: 10px;\n font-weight: 700;\n font-size: 14px;\n line-height: 20px;\n}\n.LineTableV3-module_newmodal__FOvvH .LineTableV3-module_changeBtn__eVOuq {\n color: #da291c;\n}\n.LineTableV3-module_newmodal__FOvvH > img {\n margin: 4px 10px 0 4px;\n}\n\n@media (min-width: 1440px) {\n .LineTableV3-module_carouselpadding__9zdTY {\n padding: 0 90px;\n }\n}\n\n.LineTableV3-module_highlightText__1QY-c {\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n color: #fff;\n background-color: #587467;\n padding: 6px 6px;\n min-height: 24px;\n position: absolute;\n top: -18px;\n left: 24px;\n right: 24px;\n width: fit-content;\n border-radius: 4px;\n z-index: 5;\n}\n\n.LineTableV3-module_highlightBorder__-1ffJ {\n border: 4px solid #587467;\n}');const ve=n=>{var t,o;const l={superLargeDesktop:{breakpoint:{max:1e4,min:7e3},items:5},desktop:{breakpoint:{max:7e3,min:1024},items:3},tablet:{breakpoint:{max:1023,min:768},items:2},mobile:{breakpoint:{max:767,min:0},items:1,partialVisibilityGutter:(null===(t=null==n?void 0:n.children)||void 0===t?void 0:t.length)>1?40:5}},i=V(),r=e.useRef(),a=parseInt(n.carouselIndex,10);let d=!1;return e.useEffect((()=>{const e=window.innerWidth;d=e<767,setTimeout((()=>{var e;(!d&&a>2||d)&&(null===(e=r.current)||void 0===e||e.goToSlide(a,!1))}),400)}),[n.children.length]),e.createElement(s,{responsive:l,renderButtonGroupOutside:!0,partialVisible:!0,swipeable:!0,autoPlay:!1,shouldResetAutoplay:!1,arrows:!0,showDots:"mobile"===i||(null===(o=null==n?void 0:n.children)||void 0===o?void 0:o.length)>3,ref:r},n.children)},_e=({content:n})=>{const[t,o]=e.useState(!1);return e.useEffect((()=>{o(n.disabled)}),[n]),e.createElement("div",{className:pe.entitlement},e.createElement("div",{className:pe.entitlementvalue},n.icon.filename&&e.createElement("div",{className:pe.entitlementicon},e.createElement("img",{src:n.icon.filename,width:20,height:20})),e.createElement("div",{className:t?pe.disabled:pe.proddescription},n.value,n.toolTipText&&e.createElement("div",{className:pe.bundletooltip},e.createElement(se,{content:n.toolTipText})))))},he=({content:n,indexKey:t,listlength:o,showModalPopup:l,sbStaticConstants:i,tabIndex:r,bundleIndexKey:a})=>{var d,c,u,s,m,p,v,_,h,b,f,x,y,T,E,P,k,C,V,S,L,N,O;const[I,B]=e.useState(!1),A=e.useRef(null),D=null===(d=null==g?void 0:g.getInstance())||void 0===d?void 0:d.getAssetPath();e.useEffect((()=>{setTimeout((()=>{z()}),100)}),[I]);const z=()=>{w("productdetails",o),w(`product-entitlement${r}`,o)};return e.createElement("div",{className:pe.productdetailswrapper,ref:A},e.createElement("div",{className:pe.productdetails},e.createElement("div",{className:pe.productname,id:`wrapV3${t}`},(null===(s=null===(u=null===(c=n.bundleConfig)||void 0===c?void 0:c[0])||void 0===u?void 0:u.bundleIcon)||void 0===s?void 0:s.filename)?e.createElement("span",null,e.createElement("img",{src:null===(v=null===(p=null===(m=n.bundleConfig)||void 0===m?void 0:m[0])||void 0===p?void 0:p.bundleIcon)||void 0===v?void 0:v.filename,alt:"img",width:24,height:24})):"",e.createElement("span",{className:pe.displayname},(null===(h=null===(_=n.bundleConfig)||void 0===_?void 0:_[0])||void 0===h?void 0:h.bundleDisplayName)?null===(f=null===(b=n.bundleConfig)||void 0===b?void 0:b[0])||void 0===f?void 0:f.bundleDisplayName:n.displayName),n.toolTipText&&e.createElement("div",{className:pe.bundletooltip},e.createElement(se,{content:null==n?void 0:n.toolTipText}))),"TV"==(null==n?void 0:n.poType)&&["NETFLIX","SPORTS"].includes(null==n?void 0:n.tvGroup)&&e.createElement("div",{className:pe.newmodal,onClick:()=>{l()}},e.createElement("div",{className:pe.tvHeading},(null==n?void 0:n.tvChannelName)||(null==n?void 0:n.tvGroup)&&(null==n?void 0:n.displayName)),e.createElement("div",{className:pe.changeBtn},null==i?void 0:i.changeText),e.createElement("img",{src:`${D}/icons/chevron-down-red.svg`,height:24,width:24,alt:""})),(null===(y=null===(x=n.bundleConfig)||void 0===x?void 0:x[0])||void 0===y?void 0:y.includeDescription)?e.createElement("div",{className:pe.productdetailsdescription,id:`entitledespV3${t}`},e.createElement(q,{content:(null===(E=null===(T=n.bundleConfig)||void 0===T?void 0:T[0])||void 0===E?void 0:E.description)?null===(k=null===(P=n.bundleConfig)||void 0===P?void 0:P[0])||void 0===k?void 0:k.description:n.description})):e.createElement(e.Fragment,null,(null===(V=null===(C=null==n?void 0:n.bundleConfig)||void 0===C?void 0:C[0])||void 0===V?void 0:V.includeEntitlement)&&(null==n?void 0:n.entitlementConfig)&&(null===(S=null==n?void 0:n.entitlementConfig)||void 0===S?void 0:S.map((n=>{var o;return n.isBundle?e.createElement("div",{key:null==n?void 0:n._uid,id:`entitledeepV3${t}`},null===(o=null==n?void 0:n.entitlementValues)||void 0===o?void 0:o.map(((n,t)=>t<2||t>1&&I?e.createElement(_e,{content:Object.assign(Object.assign({},n),{showMore:I}),key:t}):""))):""}))),(null===(O=null===(N=null===(L=null==n?void 0:n.entitlementConfig)||void 0===L?void 0:L[0])||void 0===N?void 0:N.entitlementValues)||void 0===O?void 0:O.length)>2&&e.createElement("div",{className:pe.showmore,onClick:()=>B(!I)},I?null==i?void 0:i.show_less:null==i?void 0:i.show_more))))};var ge="SkeletonLoader-module_reactloadingskeletonV3__hLl73";_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.SkeletonLoader-module_reactloadingskeletonV3__hLl73 {\n --base-color: #ebebeb;\n --highlight-color: #f5f5f5;\n --animation-duration: 1.5s;\n --animation-direction: normal;\n --pseudo-element-display: block; /* Enable animation */\n background-color: var(--base-color);\n width: 100%;\n border-radius: 0.25rem;\n display: inline-flex;\n line-height: 1;\n position: relative;\n user-select: none;\n overflow: hidden;\n}\n\n.SkeletonLoader-module_reactloadingskeletonV3__hLl73::after {\n content: " ";\n display: var(--pseudo-element-display);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-repeat: no-repeat;\n background-image: linear-gradient(90deg, var(--base-color), var(--highlight-color), var(--base-color));\n transform: translateX(-100%);\n animation-name: SkeletonLoader-module_react-loading-skeleton__G8Drm;\n animation-direction: var(--animation-direction);\n animation-duration: var(--animation-duration);\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n}\n\n@media (prefers-reduced-motion) {\n .SkeletonLoader-module_reactloadingskeletonV3__hLl73 {\n --pseudo-element-display: none; /* Disable animation */\n }\n}');const be=({count:n=1})=>e.createElement("div",null,e.createElement(p,{className:ge,count:n})),fe=({content:n,priceCollection:t,bundleProducts:o,toggleSwitch:l,sbStaticConstants:i})=>{var r,a,d,c,u,s;const m=null!==(r=null==t?void 0:t.base)&&void 0!==r?r:0;let p=null!==(c=null===(d=null===(a=null==t?void 0:t.discount)||void 0===a?void 0:a[0])||void 0===d?void 0:d.value)&&void 0!==c?c:0;null===(u=null==t?void 0:t.discount)||void 0===u||u.map((e=>{1==(null==e?void 0:e.cycleStart)&&(p=null==e?void 0:e.value)}));const v=null==t?void 0:t.discount,_=null==t?void 0:t.int_fmc,h=null==t?void 0:t.mob_fmc;let g=!1;return e.createElement("div",null,Number(m)>0?e.createElement(e.Fragment,null,e.createElement("div",{className:`${pe.pricecontainer}`},e.createElement("span",{className:`${pe.discountedprice} ${l&&!(_>0||h>0)?"":l||_>0||h>0||(null==v?void 0:v.length)>0?pe.promo:""}`},P(p>0&&!l?p:m),e.createElement("span",{className:`${pe.duration}`},null==i?void 0:i.mt)),m&&(_>0||h>0||!l&&v.length>0)&&e.createElement("span",{className:`${pe.basePriceAfterDiscount}`},P(m)),(null==o?void 0:o.toolTipText)&&e.createElement("div",{className:`${pe.costtooltip} ${pe.tooltipicon}`},e.createElement(se,{content:null==o?void 0:o.toolTipText}))),!l&&(null==v?void 0:v.length)>0&&(null===(s=null==v?void 0:v[0])||void 0===s?void 0:s.cycleEnd)&&e.createElement("div",null,e.createElement("div",{className:pe.pricedisplay},v.length>0&&v.map((n=>(720===(null==n?void 0:n.cycleEnd)&&(g=!0),e.createElement(e.Fragment,null," ",e.createElement("span",{className:pe.pricelabel},g?null==i?void 0:i.lifetime_label:e.createElement(e.Fragment,null," ",1!=n.cycleStart&&e.createElement(e.Fragment,null,"CHF"," ",P(n.value))," ",1===n.cycleStart?L(null==i?void 0:i.promo_first_lt,[n.cycleEnd]):L(null==i?void 0:i.promo_next_lt,[n.cycleEnd-n.cycleStart+1]))))))),!g&&e.createElement("span",null," ",L(null==i?void 0:i.promo_then_lt,[P(m)]))))):e.createElement(be,{stylename:pe.blockskeleton}))},xe=({content:n,priceCollection:t,sbStaticConstants:o})=>{const l=null==t?void 0:t.int_fmc,i=null==t?void 0:t.mob_fmc,r=null==t?void 0:t.mob_benefit_category;return e.createElement("div",null,e.createElement("div",{className:pe.optioncontainer},e.createElement("div",{className:pe.optionlist},e.createElement("span",{className:pe.optiontitle},null==o?void 0:o.benefits),(n||[]).map(((n,t)=>{var o,a;return"default"==(null==n?void 0:n.id)||"int_fmc"==(null==n?void 0:n.id)&&l>0&&"FMC"!=r||"multimob_fmc"==(null==n?void 0:n.id)&&i>0&&"MULTIMOBILE"==r||"combi_fmc"==(null==n?void 0:n.id)&&i>0&&"FMC"==r?e.createElement("div",{key:t,className:pe.optionwrapper},e.createElement("span",null,n&&e.createElement("span",{className:"d-flex"},(null===(o=null==n?void 0:n.icon)||void 0===o?void 0:o.filename)&&e.createElement("img",{src:null===(a=null==n?void 0:n.icon)||void 0===a?void 0:a.filename,width:24,height:24}),(null==n?void 0:n.text)&&e.createElement("span",{className:`${pe.text} ms-2`},e.createElement(q,{content:null==n?void 0:n.text})))),e.createElement("span",null,(null==n?void 0:n.tooltip)&&e.createElement(se,{content:null==n?void 0:n.tooltip}))):""})))))};var ye="ProductDetailsV2-module_productmodal__2B7qv",Te="ProductDetailsV2-module_container__dH9t4",Ee="ProductDetailsV2-module_backbtn__5E2Ow",we="ProductDetailsV2-module_closebtn__vonVN",Pe="ProductDetailsV2-module_cartbtn__lmC7O",ke="ProductDetailsV2-module_check-footer__iuqqZ";_("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n@media (min-width: 1024px) {\n .ProductDetailsV2-module_productmodal__2B7qv {\n min-width: 884px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductDetailsV2-module_productmodal__2B7qv {\n min-width: 740px;\n }\n}\n.ProductDetailsV2-module_productmodal__2B7qv .modal-body {\n padding: 0 16px 16px;\n}\n@media (max-width: 767px) {\n .ProductDetailsV2-module_productmodal__2B7qv .modal-body {\n padding: 12px;\n }\n}\n.ProductDetailsV2-module_productmodal__2B7qv .modal-content {\n background-color: #f7f6f5;\n border-radius: 8px;\n box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);\n}\n.ProductDetailsV2-module_productmodal__2B7qv .modal-content .modal-header {\n border-bottom: none !important;\n}\n.ProductDetailsV2-module_productmodal__2B7qv .ProductDetailsV2-module_container__dH9t4 {\n display: flex;\n align-items: center;\n margin-left: 16px;\n}\n.ProductDetailsV2-module_productmodal__2B7qv .ProductDetailsV2-module_container__dH9t4 .ProductDetailsV2-module_backbtn__5E2Ow {\n color: #da291c;\n}\n@media (max-width: 767px) {\n .ProductDetailsV2-module_productmodal__2B7qv .ProductDetailsV2-module_container__dH9t4 {\n margin-left: 12px;\n }\n}\n.ProductDetailsV2-module_productmodal__2B7qv .ProductDetailsV2-module_closebtn__vonVN .btn-close:focus {\n border: none;\n box-shadow: none;\n}\n\n.ProductDetailsV2-module_cartbtn__lmC7O {\n cursor: pointer;\n text-align: center;\n width: fit-content;\n position: absolute;\n top: 20px;\n right: 10px;\n}\n.ProductDetailsV2-module_cartbtn__lmC7O .primarybutton {\n padding: 10px 24px;\n}\n@media (max-width: 767px) {\n .ProductDetailsV2-module_cartbtn__lmC7O {\n position: inherit;\n width: auto;\n top: 0;\n right: auto;\n }\n}\n\n.ProductDetailsV2-module_check-footer__iuqqZ {\n position: relative;\n bottom: 0;\n margin: 24px 16px;\n padding: 8px 16px;\n border: 1px solid #e6e3df;\n border-radius: 8px;\n}\n.ProductDetailsV2-module_check-footer__iuqqZ > div > div > div {\n justify-content: inherit;\n}\n\n.ProductDetailsV2-module_back-button__U8Wjz {\n position: fixed;\n top: 0;\n padding: 16px 0;\n}\n\n.ProductDetailsV2-module_modal-price__jlNZA {\n padding: 16px 0 24px;\n}\n\n.ProductDetailsV2-module_productDetailstext__Mg-EX {\n color: #3d3935;\n text-decoration: underline;\n}\n\n.ProductDetailsV2-module_productDetailstextNew__w3s0l {\n color: #da291c;\n text-decoration: underline;\n}\n\n.ProductDetailsV2-module_textColor__tQQxl {\n color: #ffffff;\n text-decoration: underline;\n}");const Ce=({modalState:n,handler:l,showFooter:i,footerNode:r,children:a,width:d,height:c,backButton:u})=>{var s;const m=null===(s=null==g?void 0:g.getInstance())||void 0===s?void 0:s.getAssetPath();return e.useEffect((()=>{const e=document.querySelector(".product-modal .footer-main");e&&(e.style.zIndex="10");const n=document&&document.querySelector(".modal-dialog.product-modal");n&&(n.style.maxWidth=d,n.style.padding="0",n.style.transform="none");const t=document.querySelector(".product-modal .modal-content");t&&(t.style.height=c,t.style.backgroundColor="#F7F6F5");const o=document.querySelector(".product-modal .modal-header");o&&(o.style.position="absolute",o.style.top="0",o.style.zIndex="1",o.style.maxWidth="100%",o.style.background="#f8f8f8",o.style.width="100%");const l=document.querySelector(".product-modal .modal-body");l&&(l.style.background="#f8f8f8",l.style.paddingTop="70px")}),[c]),e.createElement(t,{scrollable:!1,show:n,onHide:l,keyboard:!1,dialogClassName:ye},e.createElement(t.Header,null,e.createElement("div",{onClick:l,className:`${Te}`},e.createElement(e.Fragment,null,e.createElement("img",{src:`${m}/icons/arrow-left-red.svg`,alt:"",height:24,width:24,className:"me-3"}),e.createElement("span",{className:Ee},u))),e.createElement("div",{className:`${we} me-3 mt-3`},e.createElement(o,{className:"sr-modal-close",onClick:l}))),e.createElement(t.Body,null,a),i&&e.createElement(t.Footer,null,r))},Ve=({products:n,showProductDetail:t,setShowProductDetail:o,content:l,priceCollection:i,addToCart:r,bundleProducts:a,sbStaticConstants:d})=>{const[c,u]=e.useState(!0);let s=[],m="";n&&n.length>0&&(null==n||n.map((e=>{s=null==e?void 0:e.modalBody,m=null==e?void 0:e.backButton})));return e.createElement(e.Fragment,null,t&&e.createElement(e.Fragment,null,e.createElement(Ce,{modalState:c,handler:()=>{u(!c),o(!t)},showFooter:!1,height:"100%",backButton:m},e.createElement(e.Fragment,null,null==s?void 0:s.map(((n,t)=>e.createElement(ne,null,e.createElement(e.Fragment,null,(null==n?void 0:n.component)===O&&e.createElement(W,{content:n,key:t}),(null==n?void 0:n.component)===B&&e.createElement(le,{content:n}),(null==n?void 0:n.component)===I&&e.createElement(oe,{content:n}))))),e.createElement("div",{className:`footer-main ${ke}`,style:{border:"none"}},e.createElement(fe,{content:l,priceCollection:i,bundleProducts:a,sbStaticConstants:d}),e.createElement("div",{className:Pe},r()))))))};var Se={errormodalbox:"TVChannelOfferV2-module_errormodalbox__sDWbF",header:"TVChannelOfferV2-module_header__kzobu",errorwrapper:"TVChannelOfferV2-module_errorwrapper__Gg4jt",title:"TVChannelOfferV2-module_title__RbPPM",body:"TVChannelOfferV2-module_body__tQavD",footer:"TVChannelOfferV2-module_footer__4rVEl",optionsContent:"TVChannelOfferV2-module_optionsContent__AyBQJ",confirmBtn:"TVChannelOfferV2-module_confirmBtn__ZI4NW",errordialog:"TVChannelOfferV2-module_errordialog__llanJ"};_("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.TVChannelOfferV2-module_errormodalbox__sDWbF {\n border-radius: 0px;\n padding: 20px 16px 100px;\n box-shadow: rgba(87, 84, 82, 0.4);\n background-color: #f8f8f8;\n overflow: visible;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_header__kzobu {\n z-index: 1;\n border: none;\n padding: 0px;\n margin-bottom: -12px;\n margin-right: 0.5rem;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_header__kzobu .btn-close:focus {\n border: none;\n box-shadow: none;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_errorwrapper__Gg4jt {\n border-radius: 8px;\n box-shadow: rgba(87, 84, 82, 0.2);\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_errorwrapper__Gg4jt .TVChannelOfferV2-module_title__RbPPM {\n margin-right: 24px;\n margin-bottom: 24px;\n color: #3d3935;\n font-size: 20px;\n line-height: 28px;\n font-weight: 700;\n text-align: center;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_errorwrapper__Gg4jt .TVChannelOfferV2-module_body__tQavD {\n padding: 0px;\n display: flex;\n color: #5f5955;\n flex-wrap: wrap;\n justify-content: center;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl {\n border: none;\n position: absolute;\n bottom: 0px;\n right: 0;\n width: 100%;\n padding: 24px 0px;\n border-radius: 0px;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl .TVChannelOfferV2-module_optionsContent__AyBQJ {\n margin: auto;\n width: fit-content;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl .TVChannelOfferV2-module_confirmBtn__ZI4NW {\n border: none;\n width: fit-content;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl .TVChannelOfferV2-module_confirmBtn__ZI4NW > img {\n margin-left: 8px;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl p {\n color: #ffffff;\n align-items: left;\n}\n\n.TVChannelOfferV2-module_errordialog__llanJ {\n max-width: 934px;\n}");var Le="EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h-",Ne="EntertainmentOptionsV2-module_cardinputelement__00RZZ",Oe="EntertainmentOptionsV2-module_card__LqNAf";_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- {\n align-items: flex-start;\n background: #ffffff;\n border-radius: 8px;\n box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);\n display: flex;\n flex: none;\n flex-direction: column;\n margin: 10px;\n max-width: 340px;\n order: 0;\n position: relative;\n width: 100%;\n}\n@media (min-width: 1024px) {\n .EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- {\n max-width: 380px;\n }\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_fs12__rhrjW {\n margin-left: 4px;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ + .EntertainmentOptionsV2-module_card__LqNAf {\n -webkit-box-shadow: none;\n border: 0px;\n border-radius: 8px;\n box-shadow: none;\n height: 100%;\n width: 100%;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ + .EntertainmentOptionsV2-module_card__LqNAf:hover {\n cursor: pointer;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ:checked + .EntertainmentOptionsV2-module_card__LqNAf {\n outline: 4px solid #da291c;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ:checked + .EntertainmentOptionsV2-module_card__LqNAf h4 {\n color: #da291c;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ:checked + .EntertainmentOptionsV2-module_card__LqNAf.EntertainmentOptionsV2-module_showArrow__timDx::after {\n width: 0;\n height: 0;\n border-left: 9px solid transparent;\n border-right: 9px solid transparent;\n border-top: 8px solid #f1571d;\n position: absolute;\n content: "";\n top: calc(100% + 4px);\n left: calc(50% - 9px);\n}\n@media (max-width: 767px) {\n .EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ:checked + .EntertainmentOptionsV2-module_card__LqNAf.EntertainmentOptionsV2-module_showArrow__timDx::after {\n display: none;\n }\n}\n\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH {\n align-items: flex-start;\n border-bottom: 1px solid #e5e5e5;\n display: flex;\n flex-direction: inherit;\n min-width: max-content;\n position: static;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 {\n border-radius: 8px;\n width: 100%;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_tabheading__ve-Rh {\n display: flex;\n padding: 0 0 10px 50px;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_tabheading__ve-Rh .EntertainmentOptionsV2-module_entoptibutton__TAVdH {\n margin-left: auto;\n padding-right: 15px;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_tabheading__ve-Rh h4 {\n color: #333333;\n font-size: 16px;\n font-weight: 700;\n left: 32px;\n line-height: 24px;\n top: 12px;\n min-width: max-content;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_additionalprice__s7i-2 {\n transform: translate(50px, -20px);\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_additionalprice__s7i-2 p span {\n color: #333333;\n font-size: 16px;\n font-weight: 700;\n left: 32px;\n line-height: 24px;\n top: 0;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_inputfield__grFes {\n height: 50px;\n margin: 0 16px 16px 16px;\n}\n\n.EntertainmentOptionsV2-module_radiocontainer__U83LN {\n cursor: pointer;\n display: inline-block;\n font-weight: 700;\n padding-left: 30px;\n position: relative;\n}\n.EntertainmentOptionsV2-module_radiocontainer__U83LN .EntertainmentOptionsV2-module_checkmark__BeCUA {\n border: 2px solid #b2b2b2;\n border-radius: 50%;\n height: 20px;\n left: 0;\n margin: 10px 10px 0 18px;\n position: absolute;\n top: 0;\n width: 20px;\n}\n.EntertainmentOptionsV2-module_radiocontainer__U83LN .EntertainmentOptionsV2-module_checkmark__BeCUA.EntertainmentOptionsV2-module_disabled__Lf1GV {\n border: 2px solid #b2b2b2;\n}\n\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input {\n cursor: pointer;\n opacity: 0;\n position: absolute;\n}\n\n/* When the radio button is checked, add a blue background */\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input:checked ~ .EntertainmentOptionsV2-module_checkmark__BeCUA {\n background-color: #ffffff;\n border: 2px solid #d9415c;\n}\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input:checked ~ .EntertainmentOptionsV2-module_checkmark__BeCUA:hover {\n border: 2px solid #d9415c;\n}\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input:checked ~ .EntertainmentOptionsV2-module_checkmark__BeCUA:hover:after {\n background: #d9415c;\n}\n\n/* Create the indicator (the dot/circle - hidden when not checked) */\n.EntertainmentOptionsV2-module_checkmark__BeCUA:after {\n content: "";\n display: none;\n position: absolute;\n}\n\n/* Show the indicator (dot/circle) when checked */\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input:checked ~ .EntertainmentOptionsV2-module_checkmark__BeCUA:after {\n display: block;\n}\n\n/* Style the indicator (dot/circle) */\n.EntertainmentOptionsV2-module_radiocontainer__U83LN .EntertainmentOptionsV2-module_checkmark__BeCUA:after {\n background: #d9415c;\n border-radius: 50%;\n height: 10px;\n left: 3px;\n top: 3px;\n width: 10px;\n}');var Ie="ReactInputSelectV2-module_selectcontainer__neygJ",Be="ReactInputSelectV2-module_downArrowIcon__KGx-5",Ae="ReactInputSelectV2-module_transform180__XCHJs",De="ReactInputSelectV2-module_errormessage__FF0WO";_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ReactInputSelectV2-module_selectcontainer__neygJ {\n position: relative;\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .react-select__control {\n border: 1px solid #b3aeaa !important;\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .ReactInputSelectV2-module_downArrowIcon__KGx-5 {\n content: "";\n display: inline-block;\n height: 24px;\n width: 24px;\n background: url("/ecom-int/icons/chevron-down.svg") no-repeat;\n background-size: cover;\n background-position: center;\n margin-left: 8px;\n transform: rotate(0);\n transition: transform 0.3s;\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .ReactInputSelectV2-module_downArrowIcon__KGx-5.ReactInputSelectV2-module_transform180__XCHJs {\n transform: rotate(180deg);\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .ReactInputSelectV2-module_downArrowIcon__KGx-5:hover {\n cursor: pointer;\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .ReactInputSelectV2-module_errormessage__FF0WO {\n color: #c60047;\n font-size: 12px;\n line-height: 16px;\n margin-top: 4px;\n}');const ze=e.forwardRef((({name:n,options:t,content:o,isSearchable:l=!0,disableValues:i=[],defaultValue:r="",optionsValue:a="value",optionsLabel:d="label",isDisabled:c=!1,isClearable:u=!0,onChange:s},m)=>{const[p,_]=e.useState(!1),[h,g]=e.useState(r),[b,f]=e.useState(!1),[x,y]=e.useState(!1);Boolean(h)==x&&y(!x);return e.createElement("div",{className:Ie},e.createElement(v,{className:`react-select-container ${x&&"errorborder"}`,styles:(T=x&&p,{control:e=>Object.assign(Object.assign({},e),T&&{border:"2px solid #C60047 !important"}),valueContainer:e=>Object.assign(Object.assign({},e),!o.label&&{padding:"0px 0px 0px 12px !important"})}),name:n,instanceId:"React-select",classNamePrefix:"react-select",components:{DropdownIndicator:n=>e.createElement(v.components.DropdownIndicator,Object.assign({},n),e.createElement("span",{className:`${Be} ${n.selectProps.menuIsOpen?Ae:""}`})),IndicatorSeparator:null},value:h,onChange:e=>{g(e),"function"==typeof s&&s(e?{name:n,value:e}:{name:n,value:{[a]:"",[d]:""}})},isClearable:u,placeholder:"",onFocus:()=>f(!0),onBlur:()=>{!p&&_(!0),f(!1)},backspaceRemovesValue:!0,options:t,ref:m,getOptionLabel:e=>e[d],getOptionValue:e=>e[a],isOptionDisabled:e=>i.includes(e[a]),isDisabled:c,isSearchable:l}),e.createElement("label",{className:`${(h&&h[a]&&h[d]||b)&&"activeLabel"} selectcomplabel`},o.label),x&&p&&e.createElement("span",{className:De},o.errorMessage));var T})),Fe=({className:n="",name:t="demo",content:o,checked:l,options:i,setProduct:r,onclick:a,localeID:d,type:c="radio",langSelected:u})=>{var s,m;const[p,v]=e.useState({details:"",included:""}),_="NETFLIX"==(null==o?void 0:o.tvGroup)||"SPORTS"==(null==o?void 0:o.tvGroup),h=e.useMemo((()=>{var e,n;const t=e=>{let n;return null==i||i.map(((t,o)=>{t.name==(null==e?void 0:e.toUpperCase())&&(n=o)})),n};return null!==(n=null!==(e=t(u||d))&&void 0!==e?e:t("de"))&&void 0!==n?n:0}),[i]),g=null==o?void 0:o.productId,[b,f]=e.useState(g);return e.useEffect((()=>{try{const e=null===localStorage||void 0===localStorage?void 0:localStorage.getItem("sbstaticcontent");if(""!==e){const n=e&&JSON.parse(e);v(Object.assign(Object.assign({},p),{details:null==n?void 0:n.details,included:null==n?void 0:n.included}))}}catch(e){}}),[]),e.createElement("label",{className:`${Le} ${n}`,onClick:a},e.createElement("input",{type:c,name:t,value:b,className:`${Ne} d-none`,id:"demo1","data-additional":null==o?void 0:o.tvGroup,checked:l,readOnly:!0}),e.createElement("div",{className:`${Oe} card card-body`},e.createElement("div",{className:"d-flex"},e.createElement("h4",null,null==o?void 0:o.displayName)),e.createElement("div",{className:"mb-3"},e.createElement(q,{content:null==o?void 0:o.description})),(null===(s=null==o?void 0:o.prodImage)||void 0===s?void 0:s.filename)&&e.createElement("img",{src:null===(m=null==o?void 0:o.prodImage)||void 0===m?void 0:m.filename,height:"",width:"",alt:""}),(null==i?void 0:i.length)>1&&e.createElement("div",{className:"mt-auto"},e.createElement(ze,{content:{label:"",errorMessage:""},options:i,optionsValue:"name",optionsLabel:"value",onChange:e=>{var n,t;const o=e.value.name;if(o){const e=i.filter((e=>e.name==o));r(null===(n=null==e?void 0:e[0])||void 0===n?void 0:n.prod),f(null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.prod)}},isSearchable:!1,isClearable:!1,defaultValue:i[h]})),_&&e.createElement("div",{className:`row w-100 pt-2 ${!((null==i?void 0:i.length)>1)&&"mt-auto"}`},e.createElement("h3",{className:"col-9 mb-0"},null==p?void 0:p.included))))},Re=({content:t,showModal:o,setShowModal:l,setEntertainment:r,setTvChannelName:a,radioValue:d,setRadioValue:c,metadata:u})=>{var s,m,p,v;const _=null==t?void 0:t.ids,[b,f]=e.useState([]),x=null==u?void 0:u.lang,[y,T]=e.useState([]),[E,w]=e.useState({}),P=null===(s=null==h?void 0:h.getInstance())||void 0===s?void 0:s.getSBUrl(),k=null===(m=null==g?void 0:g.getInstance())||void 0===m?void 0:m.getAssetPath(),C=localStorage.getItem("sbstaticcontent"),V=C&&JSON.parse(C),S=["NETFLIX","TVBOX","TVAPP"],L={language:x,type:"B2C"};e.useEffect((()=>{let e="";_.forEach((n=>{e=e+n+","}));const t=`${P}rest/cms/stories/?by_slugs=${e}`,o=[];n.CMSStoryblokServiceV2.get(t,L).then((e=>{var n,t;null===(t=null===(n=e.data)||void 0===n?void 0:n.stories)||void 0===t||t.map((e=>{o.push(e)}))})).catch((e=>{console.log(e)})).finally((()=>{A(o)})),f(o)}),[x]),e.useEffect((()=>{d&&b&&b.map((e=>{var n,t,o,l,i,r,c,u;(null===(t=null===(n=e.content)||void 0===n?void 0:n.body[0])||void 0===t?void 0:t.code)&&(null===(l=null===(o=e.content)||void 0===o?void 0:o.body[0])||void 0===l?void 0:l.code)===d&&a((null===(r=null===(i=null==e?void 0:e.content)||void 0===i?void 0:i.body[0])||void 0===r?void 0:r.displayName)+" "+(null===(u=null===(c=null==e?void 0:e.content)||void 0===c?void 0:c.body[0])||void 0===u?void 0:u.tvLang))}))}),[d]);const N=()=>{l(!1)},O=e=>{c(e.target.value)},I=M,B=e=>{c(e)},A=e=>{const n=[],t=[],o={};let l="";e.map((e=>{var i,r,a,d,c,u,s,m,p,v,_,h;const g=null===(r=null===(i=e.content)||void 0===i?void 0:i.body[0])||void 0===r?void 0:r.tvGroup;(null===(d=null===(a=e.content)||void 0===a?void 0:a.body[0])||void 0===d?void 0:d.isTvGroup)&&!l&&(l=null===(u=null===(c=e.content)||void 0===c?void 0:c.body[0])||void 0===u?void 0:u.code),n.includes(g)||(S.includes(g)||"DE"===(null===(s=e.content.body[0])||void 0===s?void 0:s.tvLang))&&(n.push(g),t.push(null===(m=e.content)||void 0===m?void 0:m.body[0])),(null===(p=o[g])||void 0===p?void 0:p.length)||(o[g]=[]),o[g].push({name:null===(v=e.content.body[0])||void 0===v?void 0:v.tvLang,value:I[null===(_=e.content.body[0])||void 0===_?void 0:_.tvLang],prod:null===(h=e.content.body[0])||void 0===h?void 0:h.code})})),w(o),""==d&&c(l);const i=t.filter((e=>"NETFLIX"===e.tvGroup)),r=t.indexOf(i[0]),a=t.splice(r,1)[0];t.splice(0,0,a),T(t)};return e.createElement(e.Fragment,null,e.createElement(i.Modal,{contentClassName:Se.errormodalbox,show:o,dialogClassName:Se.errordialog,onHide:N,centered:!0},e.createElement(i.Modal.Header,{className:Se.header,closeButton:!0,onClick:N}),e.createElement("div",{className:Se.errorwrapper},e.createElement(i.Modal.Title,{className:Se.title},(null===(p=null==t?void 0:t.product)||void 0===p?void 0:p.includes("Netflix"))?null==V?void 0:V.entertainment_prod_modal_head:null==V?void 0:V.choose_tv_box_app),e.createElement("div",null,e.createElement(i.Modal.Body,{className:Se.body},y&&y.map(((n,t)=>{var o;let l="",i=!1;const r=null===(o=E[null==n?void 0:n.tvGroup])||void 0===o?void 0:o.reduce(((e,n)=>(i=n.prod==d,i&&(l=n.name.toLowerCase()),e||i)),!1);return e.createElement(Fe,{key:t,content:n,value:t,options:E[null==n?void 0:n.tvGroup],setProduct:B,onclick:O,localeID:x,checked:r,langSelected:l})}))))),""!=d&&e.createElement(i.Modal.Footer,{className:Se.footer},e.createElement("div",{className:"row w-100"},e.createElement("div",{className:"text-center"},e.createElement("button",{className:`${Se.confirmBtn} primarybutton`,onClick:()=>(e=>{var n,o,i,a,d,c;const u=(b||[]).filter((n=>{if((null==n?void 0:n.content.body[0].productId)===e)return n})),s={ignoreId:"",selectedEntertainmentProduct:[]};(null===(i=null===(o=null===(n=u[0])||void 0===n?void 0:n.content)||void 0===o?void 0:o.body[0])||void 0===i?void 0:i.productId)&&e!==(null==t?void 0:t.product)&&(s.ignoreId=null==t?void 0:t.product,s.selectedEntertainmentProduct.push({id:null===(c=null===(d=null===(a=u[0])||void 0===a?void 0:a.content)||void 0===d?void 0:d.body[0])||void 0===c?void 0:c.productId,checkVoucher:!1,promoIds:[null==t?void 0:t.promotion]})),r&&r(s),l(!1)})(d)},(null===(v=null==t?void 0:t.product)||void 0===v?void 0:v.includes("Netflix"))?e.createElement(e.Fragment,null,V.confirm_your_choice,e.createElement("img",{className:Se["img-tick"],src:`${k}/icons/tick.svg`,height:24,width:24,alt:""})):null==V?void 0:V.continue))))))},$e=({content:n,cards:t,metadata:o,indexKey:l,offeringData:i,uniqueId:r,tabIndex:a,lineCheckCallBack:d,sbStaticConstants:u,address:s,eligibleBundle:m,summaryUrl:p})=>{var v,_,b,f,x,y,T,E,P,k,C,V,S,N,O,I,B,A,D,F,R,$,j,M,U,q,W,G,X,H,K,Y,Q;const[ee,ne]=e.useState({}),te=["NETFLIX","SPORTS"],[oe,le]=e.useState(),[ie,re]=e.useState(""),[ae,de]=e.useState(""),[ce,ue]=e.useState(!1),se=null===(v=null==g?void 0:g.getInstance())||void 0===v?void 0:v.getAssetPath(),me=null===(f=null===(b=null===(_=null==ee?void 0:ee.content)||void 0===_?void 0:_.body)||void 0===b?void 0:b[0])||void 0===f?void 0:f.code,ve=((null==i?void 0:i[r])||[]).filter((e=>(null==e?void 0:e.id)===me)),_e=((e,n)=>{var t,o,l,i;const r={base:"",onetimePrice:"",discount:[],contractDuration:"",int_fmc:0,mob_fmc:0,mob_benefit_category:"",id:""};Array.isArray(e)&&(null==e||e.map((e=>{var n,t,o;r.id=null!==(n=null==e?void 0:e.id)&&void 0!==n?n:"",null===(t=null==e?void 0:e.prices)||void 0===t||t.map((e=>{var n,t;"recurring"===(null===(n=null==e?void 0:e.priceType)||void 0===n?void 0:n.toLowerCase())?r.base=null==e?void 0:e.value:"one time"===(null===(t=null==e?void 0:e.priceType)||void 0===t?void 0:t.toLowerCase())&&(r.onetimePrice=null==e?void 0:e.value)})),null===(o=null==e?void 0:e.derivedPrice)||void 0===o||o.map((e=>{var n,t;const o={cycleStart:"",cycleEnd:"",value:""};o.cycleStart=null===(n=null==e?void 0:e.cycle)||void 0===n?void 0:n.cycleStart,o.cycleEnd=null===(t=null==e?void 0:e.cycle)||void 0===t?void 0:t.cycleEnd,o.value=null==e?void 0:e.value,r.discount.push(o)}))}))),null===(o=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.bundledOffers)||void 0===o||o.forEach((e=>{var n,t,o,l,i;null===(n=null==e?void 0:e.prices)||void 0===n||n.forEach((e=>{var n,t;(null===(n=null==e?void 0:e.priceAlteration)||void 0===n?void 0:n.length)>0&&(null===(t=null==e?void 0:e.priceAlteration)||void 0===t||t.forEach((e=>{"INTERNET_FMC"==(null==e?void 0:e.priceCategory)?r.int_fmc+=Number(null==e?void 0:e.value):"MULTIMOBILE"!=(null==e?void 0:e.priceCategory)&&"FMC"!=(null==e?void 0:e.priceCategory)||(r.mob_fmc+=Number(null==e?void 0:e.value),r.mob_benefit_category=null==e?void 0:e.priceCategory)})))})),(null===(o=null===(t=null==e?void 0:e.promotionInfo)||void 0===t?void 0:t[0])||void 0===o?void 0:o.contractDuration)&&(r.contractDuration=null===(i=null===(l=null==e?void 0:e.promotionInfo)||void 0===l?void 0:l[0])||void 0===i?void 0:i.contractDuration)}));let a=0;return null===(i=null===(l=null==e?void 0:e[0])||void 0===l?void 0:l.prices)||void 0===i||i.map((e=>{var n,t;(null===(n=null==e?void 0:e.priceAlteration)||void 0===n?void 0:n.length)>0&&(null===(t=null==e?void 0:e.priceAlteration)||void 0===t||t.map((e=>{"INTERNET_FMC"==(null==e?void 0:e.priceCategory)&&(a+=Number(null==e?void 0:e.value))})))})),r.int_fmc=n?a:r.int_fmc,r})(ve),ge=t,ye=null===(x=null==h?void 0:h.getInstance())||void 0===x?void 0:x.getCartUrl(),[Te,Ee]=e.useState(!1);let we;if(ee.products){const e=null===(T=null===(y=null==ee?void 0:ee.content)||void 0===y?void 0:y.body[0])||void 0===T?void 0:T.code;we=s&&m&&(null==m?void 0:m.eligibleBundle.includes(e))}const Pe=()=>{ee.serviceOptions&&ee.serviceOptions.avalaible&&ue(!0)};e.useEffect((()=>{var e,t,o,l,i,r,a;if(null==n?void 0:n.productStroyObj){const d=null==n?void 0:n.productStroyObj;d.noshowpromotion=null===(e=null==n?void 0:n.products)||void 0===e?void 0:e.dontShowPromotion;let c="";(null==n?void 0:n.promStroyObj)&&(c=null===(t=null==n?void 0:n.promStroyObj)||void 0===t?void 0:t.prom),d.includeoptions={avalaible:!1,promotion:c,ids:new Set,product:""},d.serviceOptions={avalaible:!1,promotion:c,ids:new Set,product:""},d.displayConfig=null==n?void 0:n.productDisplayConfig,d.giftCount=0;const u=(null===(i=null===(l=null===(o=null==d?void 0:d.content)||void 0===o?void 0:o.body)||void 0===l?void 0:l[0])||void 0===i?void 0:i.products)||[],s=[];null==u||u.map((e=>{const n=Number(null==e?void 0:e.order)||999,t=null==e?void 0:e.cProd;t.sortOrder=n,d.includeoptions.product=null==t?void 0:t.code,te.includes(null==t?void 0:t.tvGroup)&&(de(null==t?void 0:t.code),"NETFLIX"==(null==t?void 0:t.tvGroup)?re("Netflix"):"SPORTS"==(null==t?void 0:t.tvGroup)?re((null==t?void 0:t.displayName)+" "+(null==t?void 0:t.tvLang)):re("TV Box"),d.serviceOptions.avalaible=!0,d.serviceOptions.product=null==t?void 0:t.code,d.serviceOptions.ids.add(null==t?void 0:t.tvGroupProdPath)),s.push(t)})),null==s||s.sort(((e,n)=>(null==e?void 0:e.sortOrder)-(null==n?void 0:n.sortOrder))),d.products=s;const m={},p=[];if(null==n?void 0:n.promStroyObj){const e=null===(r=null==n?void 0:n.promStroyObj)||void 0===r?void 0:r.stroy,t=null==e?void 0:e.content;if(t&&(null==t?void 0:t.promoDescription)&&(null==t?void 0:t.promoDescription.length)>0){for(let e=0;e<t.promoDescription.length;e++){const o=t.promoDescription[e];if(n.promStroyObj.prom===o.parent_promo_id){m.promotion=null==o?void 0:o.parent_promo_id,m.description=null==o?void 0:o.description,m.isPricingPromo=!1,m.isGiftPromo=!1,m.isDefault=null===(a=null==n?void 0:n.promStroyObj)||void 0===a?void 0:a.isDefault,m.displayText=null==o?void 0:o.displayText,m.cashback=null==o?void 0:o.cashback,o.type.includes("pricing")?m.isPricingPromo=!0:o.type.includes("gift")&&(m.isGiftPromo=!0,m.giftConfig=null==o?void 0:o.giftConfig,m.giftConfigV2=null==o?void 0:o.giftConfigV2,m.parentPoType="HOME",o.giftConfig.length>0&&(d.giftCount=0===(null==d?void 0:d.giftCount)?1:(null==d?void 0:d.giftCount)+1));break}}d.homepromotionObj=m}p.push(m)}if((null==n?void 0:n.highlightText)&&(d.highlightText=null==n?void 0:n.highlightText),(null==m?void 0:m.isGiftPromo)?d.giftDisplayText=void 0!==(null==m?void 0:m.displayText)?null==m?void 0:m.displayText:"":(null==m?void 0:m.isPricingPromo)&&(d.priceDisplayText=void 0!==(null==m?void 0:m.displayText)?null==m?void 0:m.displayText:""),d.promotionObj=p,d.includeoptions.avalaible){const e=Array.from(d.includeoptions.ids);d.includeoptions.ids=e}ne(d)}}),[n]);const ke={listLength:ge,indexKey:l,arrowUpIcon:"",arrowDownIcon:"",arrowLeftRed:""},Ce=e.useMemo((()=>ke),[ke]);e.useEffect((()=>{setTimeout((()=>{Se()}),100),null===window||void 0===window||window.addEventListener("resize",Se)}),[ee]);const Se=()=>{w(`headingV3${a}`,t),w(`descriptionV3${a}`,t),w(`titleV3${a}`,t),w("gift-section",t),w("cashback-section",t),w(`benefits-section${a}`,t),w(`order-section${a}`,t),w("productprice",t),w("productdetails",t),w(`product-entitlement${a}`,t)},Le=()=>{var e,n,t;const o=c.get("one-commerce-linecheckcorrelationid"),l=null===(t=null===(n=null===(e=null==ee?void 0:ee.content)||void 0===e?void 0:e.body)||void 0===n?void 0:n[0])||void 0===t?void 0:t.code;m&&s&&o?0!==ve.length&&J(ve,ae,(null==ve?void 0:ve.promoId)?null==ve?void 0:ve.promoId:z,ye,"fixnet").then((e=>{c.remove("one-commerce-cartId",{path:"/"}),c.set("one-commerce-cartId",null==e?void 0:e.id,{path:"/"}),c.set("cartProduct",l,{path:"/"}),c.remove("landline"),window.location.href=p})).catch((e=>{console.log(e)})):d()},Ne=0===Object.keys(ee).length,Oe=()=>{var n,t;return e.createElement(e.Fragment,null,Ne?e.createElement(be,{stylename:pe.buttonskeleton}):s&&(null===(n=Object.keys(s))||void 0===n?void 0:n.length)>0&&!0===we&&""!==(null==_e?void 0:_e.base)?e.createElement("div",{onClick:Le,className:"primarybutton",style:{textAlign:"center"}},e.createElement("span",{className:pe.buttontext},null==u?void 0:u.addToCartBtnTxt)):s&&(null===(t=null==Object?void 0:Object.keys(s))||void 0===t?void 0:t.length)>0&&(!1===we||""===(null==_e?void 0:_e.base))?e.createElement("button",{className:pe.buttondisabled,disabled:!1===we||""===(null==_e?void 0:_e.base)}," ",e.createElement("span",{className:pe.buttontextdisabled},u.addToCartBtnTxt)):e.createElement("button",{onClick:Le,className:"configurebutton"},e.createElement("span",null,null==u?void 0:u.check_availability)))};return e.createElement(Z.Provider,{value:Ce},!Ne&&m&&n&&s&&e.createElement(e.Fragment,null,e.createElement("div",{className:pe.selected},e.createElement("span",null,we?e.createElement("span",{className:pe.activeicon},e.createElement("img",{src:`${se}/icons/lineCheck-success.svg`,alt:"",width:24,height:24,className:pe.activeicon}),e.createElement("span",null,null==u?void 0:u.subscriptionAvalTxt)):e.createElement("span",{className:pe.inactiveicon},e.createElement("img",{src:`${se}/icons/cross_disabled.svg`,alt:"",width:24,height:24,className:pe.inactiveicon}),e.createElement("span",null,null==u?void 0:u.notSubscriptionTxt))))),e.createElement("div",{className:`${pe.productcenter} ${pe.flexgrid} ${!1===we?pe.overlay:""} `,style:{flexDirection:"column"}},e.createElement("div",{className:`${pe.productcard} ${(null===(E=null==ee?void 0:ee.highlightText)||void 0===E?void 0:E.length)>0&&pe.highlightBorder}`},(null===(P=null==ee?void 0:ee.highlightText)||void 0===P?void 0:P.length)>0&&e.createElement("div",{className:`${pe.highlightText}`},null==ee?void 0:ee.highlightText),e.createElement("div",{className:`${pe.productcontainer} ${pe.flexgrid}`,style:{flexDirection:"column"},id:`headingV3${a}${l}`},e.createElement("div",null,e.createElement("div",{className:`${pe.productheader}`,id:`titleV3${a}${l}`},null===(C=null===(k=ee.content)||void 0===k?void 0:k.body)||void 0===C?void 0:C[0].displayName),e.createElement("div",{className:`${pe.productdescription}`,id:`descriptionV3${a}${l}`},null===(S=null===(V=ee.content)||void 0===V?void 0:V.body)||void 0===S?void 0:S[0].description))),Ne&&e.createElement(e.Fragment,null,e.createElement("div",{className:pe.space}),e.createElement(be,{stylename:pe.skeletontittle,count:1}),e.createElement(be,{stylename:pe.skeletonline,count:5}),e.createElement("div",{className:pe.space}),e.createElement(be,{stylename:pe.skeletontittle,count:1}),e.createElement(be,{stylename:pe.skeletonline,count:5})),e.createElement("div",{style:{padding:"10px"},id:`product-entitlement${a}${l}`},(null==ee?void 0:ee.products)&&(null===(N=null==ee?void 0:ee.products)||void 0===N?void 0:N.map(((n,o)=>e.createElement(he,{content:Object.assign(Object.assign({},n),{tvChannelName:ie,entertainOption:oe}),indexKey:o,listlength:t,showModalPopup:Pe,sbStaticConstants:u,tabIndex:a,bundleIndexKey:l}))))),ce&&(Ne?e.createElement(be,null):e.createElement(Re,{key:null===(I=null===(O=null==ee?void 0:ee.content)||void 0===O?void 0:O.body)||void 0===I?void 0:I[0].code,content:ee.serviceOptions,setShowModal:ue,uniqueId:r,setEntertainment:le,setTvChannelName:re,code:ee.content.body[0].code,showModal:ce,giftItem:[],radioValue:ae,setRadioValue:de})),e.createElement("div",{className:`${pe.flexgrid} \n ${pe.ordersection}\n `},e.createElement("div",{className:`${pe.marginauto} ${!1===we?pe.overlay:""}`,id:`benefits-section${a}${l}`},(null===(D=null===(A=null===(B=null==ee?void 0:ee.content)||void 0===B?void 0:B.body)||void 0===A?void 0:A[0])||void 0===D?void 0:D.benefitsSection)&&e.createElement(xe,{content:null===($=null===(R=null===(F=null==ee?void 0:ee.content)||void 0===F?void 0:F.body)||void 0===R?void 0:R[0])||void 0===$?void 0:$.benefitsSection,priceCollection:_e,sbStaticConstants:u})),e.createElement("div",{id:`order-section${a}${l}`},e.createElement("div",{className:`${pe.flexgrid} ${pe.pricesection} ${pe.addtocart}`},e.createElement(fe,{content:n,priceCollection:_e,toggleSwitch:!1,bundleProducts:null===(M=null===(j=null==ee?void 0:ee.content)||void 0===j?void 0:j.body)||void 0===M?void 0:M[0],sbStaticConstants:u}))," ",Oe(),e.createElement("div",{className:pe.productcontractduration},(null==_e?void 0:_e.contractDuration)?L(null===(U=null==u?void 0:u.minContractDuration)||void 0===U?void 0:U.substring(1),[null==_e?void 0:_e.contractDuration]):""),e.createElement("div",{style:{textAlign:"center",padding:"4px"}},(null===(G=null===(W=null===(q=null==ee?void 0:ee.content)||void 0===q?void 0:q.body)||void 0===W?void 0:W[0])||void 0===G?void 0:G.productDetailsModal)&&e.createElement("span",{className:pe.productdetailslink,onClick:()=>{Ee(!Te)}},null==u?void 0:u.details)),Te&&e.createElement(e.Fragment,null,e.createElement(Ve,{products:null===(K=null===(H=null===(X=null==ee?void 0:ee.content)||void 0===X?void 0:X.body)||void 0===H?void 0:H[0])||void 0===K?void 0:K.productDetailsModal,showProductDetail:Te,setShowProductDetail:Ee,content:n,priceCollection:_e,addToCart:Oe,bundleProducts:null===(Q=null===(Y=null==ee?void 0:ee.content)||void 0===Y?void 0:Y.body)||void 0===Q?void 0:Q[0],sbStaticConstants:u})))))))},je=({content:t,metadata:o,activeIndex:l,lineCheckCallBack:i,sbStaticConstants:r,address:a,eligibleBundle:d})=>{var c,s,m,p;const v=null==o?void 0:o.lang,[_,g]=e.useState(),x=null==t?void 0:t._uid,[y,T]=e.useState([]),E=[],P=new Map,k={language:v,type:"B2C"},C={},S=V(),L=null===(c=null==h?void 0:h.getInstance())||void 0===c?void 0:c.getSBUrl(),N=null===(s=null==h?void 0:h.getInstance())||void 0===s?void 0:s.getBaseUrl(),O=null===(p=null===(m=null==t?void 0:t.lineTableContent)||void 0===m?void 0:m.summaryPageUri)||void 0===p?void 0:p.cached_url,I=()=>{var e;const o=[];if(((e,n)=>{n.map((n=>{var t,o,l,i,r;const a={id:"",promoIds:[]},d=null===(t=null==n?void 0:n.products)||void 0===t?void 0:t.home_parent_promo_id,c=null===(o=null==n?void 0:n.products)||void 0===o?void 0:o.mob_parent_promo_id;a.id=null===(l=null==n?void 0:n.products)||void 0===l?void 0:l.product_id,d&&!(null===(i=null==a?void 0:a.promoIds)||void 0===i?void 0:i.includes(d))&&a.promoIds.push(d),c&&!(null===(r=null==a?void 0:a.promoIds)||void 0===r?void 0:r.includes(c))&&a.promoIds.push(c),e.push(a)}))})(o,(null==t?void 0:t.productList)||[]),(null==t?void 0:t.tabIndex)===(null==t?void 0:t.activeIndex)&&!(null==_?void 0:_[x])&&(null==t?void 0:t.dynamicProductOffer))try{null===(e=((e,t,o)=>H(void 0,void 0,void 0,(function*(){try{localStorage.removeItem("entertainment");const l={headers:{"x-correlation-id":u.v4(),"x-sunrise-channel":b}},i=o+f,r=yield n.ApiServiceV2.getApiServiceInstance().post(i,e,l).then((e=>{if(200==e.status)return null==e?void 0:e.data}));return r.error?r.error:{[t]:r}}catch(e){console.log("error---\x3e",e)}})))(o,null==t?void 0:t._uid,N))||void 0===e||e.then((e=>g(e))).catch((e=>{console.log("error---\x3e",e)}))}catch(e){console.log("error---\x3e",e)}};e.useEffect((()=>{l!=(null==t?void 0:t.tabIndex)&&l||I()}),[null==t?void 0:t.activeIndex]),e.useEffect((()=>{if(((null==t?void 0:t.productList)||[]).forEach((e=>{var n,o,l,i,r,a,d;P.get(null===(n=null==e?void 0:e.products)||void 0===n?void 0:n.product_story_uuid)||P.set(null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.product_story_uuid,{k:0,prod_id:null==e?void 0:e.products.product_id,showPromotion:null===(l=null==e?void 0:e.products)||void 0===l?void 0:l.dontShowPromotion}),P.get(null===(i=null==e?void 0:e.products)||void 0===i?void 0:i.home_promo_story_uuid)||P.set(null===(r=null==e?void 0:e.products)||void 0===r?void 0:r.home_promo_story_uuid,{k:0}),"4P"!==(null==t?void 0:t.pageType)||P.get(null===(a=null==e?void 0:e.products)||void 0===a?void 0:a.mob_promo_story_uuid)||P.set(null===(d=null==e?void 0:e.products)||void 0===d?void 0:d.mob_promo_story_uuid,{k:0}),E.push(e)})),P.size>0){let e="";for(const[n,t]of P.entries())0==t.k&&(e=e+n+",",t.k=1);const o=L+`rest/cms/stories/?by_uuids=${e}`;n.CMSStoryblokServiceV2.get(o,k).then((e=>{var n,t;null===(t=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.stories)||void 0===t||t.map((e=>{P.get(null==e?void 0:e.uuid).stroy=e}))})).catch((e=>{console.log(e)})).finally((()=>{const e=[];if("INTERNET"!==t.pageType&&"TV"!==t.pageType&&E.length>0){const o=new Map;if(E.map((e=>{var n,t,l,i,r,a;const d=null===(t=P.get(null===(n=null==e?void 0:e.products)||void 0===n?void 0:n.product_story_uuid))||void 0===t?void 0:t.stroy;if((null==d?void 0:d.content)&&(null===(l=null==d?void 0:d.content)||void 0===l?void 0:l.body)&&(null===(i=null==d?void 0:d.content)||void 0===i?void 0:i.body[0])){(null===(a=null===(r=null==d?void 0:d.content)||void 0===r?void 0:r.body[0])||void 0===a?void 0:a.products).map((e=>{o.get(null==e?void 0:e.listProduct)||o.set(null==e?void 0:e.listProduct,{k:0,prod_id:null==e?void 0:e.listProduct,order:null==e?void 0:e.order})}))}})),o.size>0){let l="";for(const[e,n]of o.entries())0==n.k&&(l=l+e+",",n.k=1);const i=L+`rest/cms/stories/?by_uuids=${l}`;n.CMSStoryblokServiceV2.get(i,k).then((e=>{e.data.stories.map((e=>{var n,t;const l=o.get(e.uuid);l.storyBody=(null===(t=null===(n=null==e?void 0:e.content)||void 0===n?void 0:n.body)||void 0===t?void 0:t[0])||null,l.storyBody.default_full_slug=null==e?void 0:e.default_full_slug,l.storyBody.slug=null==e?void 0:e.slug}))})).catch((e=>{console.log(e)})).finally((()=>{E.map((n=>{var l,i,r,a,d,c,u,s,m,p,v;const _=null===(i=P.get(null===(l=null==n?void 0:n.products)||void 0===l?void 0:l.product_story_uuid))||void 0===i?void 0:i.stroy;if((null==_?void 0:_.content)&&(null===(r=null==_?void 0:_.content)||void 0===r?void 0:r.body)&&(null===(a=null==_?void 0:_.content)||void 0===a?void 0:a.body[0])){const e=null===(d=null==_?void 0:_.content)||void 0===d?void 0:d.body[0],n=[];(null==e?void 0:e.products).map((e=>{var t;const l=null===(t=o.get(null==e?void 0:e.listProduct))||void 0===t?void 0:t.storyBody;if(n.push(Object.assign({},e,{cProd:l})),l){const e=(null==l?void 0:l.poType)?null==l?void 0:l.poType:null==l?void 0:l.subGroup;if(!C[e]){let n=null==l?void 0:l.slug;"TV"!==e||"NETFLIX"!==(null==l?void 0:l.tvGroup)&&"PREMIUM"!==(null==l?void 0:l.tvGroup)&&"SPORTS"!==(null==l?void 0:l.tvGroup)?"TV"!==e||"TVBOX"!==(null==l?void 0:l.tvGroup)&&"TVAPP"!==(null==l?void 0:l.tvGroup)||(n="tvboxorapp/"+n):n="entertainment/"+n;const t=null==l?void 0:l.default_full_slug.replace(n,"");C[e]={slug:t}}}})),e.products=n}const h=Object.assign({},P.get(null===(c=null==n?void 0:n.products)||void 0===c?void 0:c.home_promo_story_uuid));h.prom=null===(u=null==n?void 0:n.products)||void 0===u?void 0:u.home_parent_promo_id,h.isDefault=null===(s=null==n?void 0:n.products)||void 0===s?void 0:s.home_promo_default;let g=Object.assign({},n,{productStroyObj:_,promStroyObj:h,showPromotion:null==n?void 0:n.dontShowPromotion});if("4P"===t.pageType){const e=Object.assign({},P.get(null===(m=null==n?void 0:n.products)||void 0===m?void 0:m.mob_promo_story_uuid));e.prom=null===(p=null==n?void 0:n.products)||void 0===p?void 0:p.mob_parent_promo_id,e.isDefault=null===(v=null==n?void 0:n.products)||void 0===v?void 0:v.mob_promo_default,g=Object.assign({},g,{mobPromStroyObj:e})}e.push(g)}));try{localStorage.setItem("slugDetails",JSON.stringify(C))}catch(e){}T(e)}))}}}))}}),[v]),e.useEffect((()=>{setTimeout((()=>{B()}),100),null===window||void 0===window||window.addEventListener("resize",B)}),[y]);const B=()=>{var e;w(`cardV3${null==t?void 0:t.activeIndex}`,null===(e=null==t?void 0:t.productList)||void 0===e?void 0:e.length)};return e.createElement("div",null,e.createElement("div",{className:pe.titlecontainer},t.title&&e.createElement("div",{className:pe.title},t.title),t.subTitle&&e.createElement("div",{className:pe.description},null==t?void 0:t.subTitle)),e.createElement("div",{className:"linetableV3 "},t.pageType&&S&&e.createElement(ve,{carouselIndex:null==t?void 0:t.activeIndex,key:null==t?void 0:t.activeIndex},((null==y?void 0:y.length)&&y||new Array((null==y?void 0:y.length)||3).fill(1)).map(((n,l)=>{var c;return e.createElement("div",{key:l,className:`${pe.slide}`,id:`cardV3${null==t?void 0:t.activeIndex}`,style:{textAlign:"center"}},e.createElement($e,{content:n,updatedContent:t,key:l,indexKey:l,lineTableContent:t,metadata:o,productSection:l,cards:null===(c=null==t?void 0:t.productList)||void 0===c?void 0:c.length,tabIndex:null==t?void 0:t.tabIndex,offeringData:_,uniqueId:x,lineCheckCallBack:i,sbStaticConstants:r,address:a,eligibleBundle:d,summaryUrl:O}))})))))};var Me="StickyProductAnchor-module_offsetClass__oPIod",Ue="StickyProductAnchor-module_nonOffsetClass__PDwhG",qe="StickyProductAnchor-module_stickyAnchorContainer__I9khe",We="StickyProductAnchor-module_productTitle__0QC0i",Ge="StickyProductAnchor-module_priceSection__Edxyi",Xe="StickyProductAnchor-module_priceDuration__KIRL5",He="StickyProductAnchor-module_contentWrapper__dilZl",Ke="StickyProductAnchor-module_benefitsContainer__3guW-",Je="StickyProductAnchor-module_benefits__RQU5F",Ye="StickyProductAnchor-module_buyNowButton__uPigF";_("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.StickyProductAnchor-module_offsetClass__oPIod {\n position: fixed;\n top: 10px;\n z-index: 1;\n width: 100%;\n margin-top: 38px !important;\n}\n\n.StickyProductAnchor-module_nonOffsetClass__PDwhG {\n visibility: hidden;\n position: absolute;\n width: 100%;\n margin-top: 0;\n}\n\n@media (min-width: 1024px) {\n .StickyProductAnchor-module_offsetClass__oPIod {\n top: 85px;\n }\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe {\n background-color: #e6e3df;\n margin-top: 20px;\n padding: 12px 0px;\n}\n@media (max-width: 767px) {\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe {\n padding: 8px 0px;\n }\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i {\n font-size: 18px;\n line-height: 24px;\n font-weight: 700;\n}\n@media (max-width: 767px) {\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i {\n font-size: 14px;\n line-height: 20px;\n }\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i .StickyProductAnchor-module_priceSection__Edxyi {\n font-size: 12px;\n line-height: 20px;\n }\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i .StickyProductAnchor-module_priceSection__Edxyi .StickyProductAnchor-module_priceDuration__KIRL5 {\n font-weight: 400;\n }\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl {\n display: flex;\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_benefitsContainer__3guW- {\n margin-right: 24px;\n display: flex;\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_benefitsContainer__3guW- .StickyProductAnchor-module_benefits__RQU5F {\n margin-right: 18px;\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_priceSection__Edxyi {\n font-weight: 700;\n margin-right: 16px;\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_priceSection__Edxyi .StickyProductAnchor-module_priceDuration__KIRL5 {\n font-weight: 400;\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_buyNowButton__uPigF {\n padding: 5px 24px;\n background-color: #da291c;\n color: #ffffff;\n border-radius: 25px;\n border: none;\n font-size: 14px;\n line-height: 20px;\n font-weight: 700;\n}");exports.AssetPathPropConfig=g,exports.Button=({type:n,text:t,onClick:o,content:l})=>e.createElement("button",{type:"button",className:`button Button-${null==l?void 0:l.type}`,onClick:o},null==l?void 0:l.text),exports.Card=({content:n,updatedContent:t,indexKey:o,listLength:l,addToCart:i,metadata:r,modalTriggered:a,showPrice:d})=>{var c,u,s,m,p,v,_,h,g,b,f,x,y,T,E,P,k,C,V,S,L,N,O,I,B,A,D,z,F,R,$,j,M,U,W,G,X,H,K,J,Y,ee,ne,te,oe,le,de,ce,ue,se,me,pe,ve,_e,he;const ge=Object.assign({},null!==(s=null===(u=null===(c=null==n?void 0:n.testProductReference)||void 0===c?void 0:c[0])||void 0===u?void 0:u.reference)&&void 0!==s?s:null==n?void 0:n.reference),be={listLength:l,indexKey:o,arrowUpIcon:null===(_=null===(v=null===(p=null===(m=null==ge?void 0:ge.content)||void 0===m?void 0:m.body)||void 0===p?void 0:p[0])||void 0===v?void 0:v.arrowUp)||void 0===_?void 0:_.filename,arrowDownIcon:null===(f=null===(b=null===(g=null===(h=null==ge?void 0:ge.content)||void 0===h?void 0:h.body)||void 0===g?void 0:g[0])||void 0===b?void 0:b.arrowDown)||void 0===f?void 0:f.filename,arrowLeftRed:null===(E=null===(T=null===(y=null===(x=null==ge?void 0:ge.content)||void 0===x?void 0:x.body)||void 0===y?void 0:y[0])||void 0===T?void 0:T.arrowLeftRed)||void 0===E?void 0:E.filename},fe=null!==(P=null==t?void 0:t.enableNewAddToCart)&&void 0!==P&&P,xe=e.useRef(null),ye=e.useRef(null),Te=e.useMemo((()=>be),[be]),Ee=()=>{w("linetable-card-title",l),w("linetable-card-tooltiptxt",l),w("linetable-card-bottomConatiner",l)};return e.useEffect((()=>{setTimeout((()=>{Ee()}),100),null===window||void 0===window||window.addEventListener("resize",Ee)}),[n]),e.createElement(Z.Provider,{value:Te},e.createElement("div",{className:"linetable-card-productTeaser"},e.createElement("div",{className:"linetable-card-productContainer "},ge.content&&e.createElement(e.Fragment,null,e.createElement("div",{className:"linetable-card-titleContainer",id:`linetable-card-title${o}`,ref:xe},e.createElement("div",{className:"linetable-card-prodHeading"},null===(C=null===(k=null==ge?void 0:ge.content)||void 0===k?void 0:k.body[0])||void 0===C?void 0:C.name),e.createElement("div",{className:"linetable-card-productTitle"},e.createElement("h3",null,null===(S=null===(V=null==ge?void 0:ge.content)||void 0===V?void 0:V.body[0])||void 0===S?void 0:S.displayName),(null===(O=null===(N=null===(L=null==ge?void 0:ge.content)||void 0===L?void 0:L.body[0])||void 0===N?void 0:N.prodImage)||void 0===O?void 0:O.filename)&&e.createElement("img",{src:null===(A=null===(B=null===(I=null==ge?void 0:ge.content)||void 0===I?void 0:I.body[0])||void 0===B?void 0:B.prodImage)||void 0===A?void 0:A.filename,height:15,width:20})),e.createElement("div",{className:"linetable-card-prodDescription"},e.createElement(q,{content:null===(z=null===(D=null==ge?void 0:ge.content)||void 0===D?void 0:D.body[0])||void 0===z?void 0:z.description}))),!(null==t?void 0:t.isPrepaidFlow)&&e.createElement("hr",null)),(null==ge?void 0:ge.content)&&(null===(R=null===(F=null==ge?void 0:ge.content)||void 0===F?void 0:F.body[0])||void 0===R?void 0:R.introText)&&e.createElement(e.Fragment,null,e.createElement("div",{className:""+(fe?"d-block":"d-none d-sm-block")},e.createElement("div",{className:"linetable-card-introText",id:`linetable-card-tooltiptxt${o}`,ref:ye},e.createElement(q,{content:null===(j=null===($=null==ge?void 0:ge.content)||void 0===$?void 0:$.body[0])||void 0===j?void 0:j.introText})),e.createElement("hr",null))),null===(W=(null===(U=null===(M=null==ge?void 0:ge.content)||void 0===M?void 0:M.body[0])||void 0===U?void 0:U.entitlementConfig)||[])||void 0===W?void 0:W.map(((t,o)=>e.createElement(Q,{content:t,product:n,key:o,indexKey:o,showEntitleValue:fe,metadata:r,modalTriggered:a}))),e.createElement("hr",null),e.createElement("div",{id:`linetable-card-bottomConatiner${o}`,className:"linetable-card-bottomConatiner"},e.createElement("div",{className:"linetable-card-productDetailSection"},(null===(K=null===(H=null===(X=null===(G=null==ge?void 0:ge.content)||void 0===G?void 0:G.body)||void 0===X?void 0:X[0])||void 0===H?void 0:H.productDetailIcon)||void 0===K?void 0:K.filename)&&e.createElement("img",{src:null===(ne=null===(ee=null===(Y=null===(J=null==ge?void 0:ge.content)||void 0===J?void 0:J.body)||void 0===Y?void 0:Y[0])||void 0===ee?void 0:ee.productDetailIcon)||void 0===ne?void 0:ne.filename,width:24,height:24}),e.createElement(re,{content:null===(oe=null===(te=null==ge?void 0:ge.content)||void 0===te?void 0:te.body)||void 0===oe?void 0:oe[0],updatedContent:t,modalTriggered:a,addToCart:i})),e.createElement("div",null,(null===(ce=null===(de=null===(le=null==ge?void 0:ge.content)||void 0===le?void 0:le.body)||void 0===de?void 0:de[0])||void 0===ce?void 0:ce.isEnablePrice)&&e.createElement(ie,{content:null===(se=null===(ue=null==ge?void 0:ge.content)||void 0===ue?void 0:ue.body)||void 0===se?void 0:se[0],addToCart:i,variant:"productCard"})),e.createElement("div",null,!(null===(ve=null===(pe=null===(me=null==ge?void 0:ge.content)||void 0===me?void 0:me.body)||void 0===pe?void 0:pe[0])||void 0===ve?void 0:ve.isEnablePrice)&&!(null==t?void 0:t.staticPrice)&&e.createElement(ae,{content:null===(he=null===(_e=null==ge?void 0:ge.content)||void 0===_e?void 0:_e.body)||void 0===he?void 0:he[0],showPrice:d,addToCart:i}))))))},exports.CardEntitlement=Q,exports.CarouselComp=n=>e.createElement(e.Fragment,null,e.createElement(s,{responsive:{desktop:{breakpoint:{max:7e3,min:1440},items:4},tabletLarge:{breakpoint:{max:1439,min:1024},items:3},tabletMedium:{breakpoint:{max:1023,min:768},items:2},mobile:{breakpoint:{max:767,min:0},items:1}},deviceType:"desktop",ssr:!0,renderButtonGroupOutside:!0,partialVisible:!0,swipeable:!0,autoPlay:!1,shouldResetAutoplay:!1,arrows:!0},n.children),e.createElement("p",null,"compo")),exports.LineTableBasicPropConfig=h,exports.LoginModal=({toggleFun:n})=>(e.useState(!1),e.createElement("div",{className:"loginModal"},e.createElement("div",{className:"w-100 h-100 d-flex position-relative justify-content-center align-items-center"},e.createElement("div",{className:"loginContainer"},"Hi Angles Kathirvel",e.createElement("button",{onClick:n},"Close"))))),exports.ProductTableV3=({content:t,metadata:o,lineCheckCallBack:l,changeAddressClicked:r})=>{var a,d;const[u,s]=e.useState(),[m,p]=e.useState(),[v,_]=e.useState(0);let g="undefined"!=typeof window&&localStorage.getItem("lineCheckResponse"),b=g&&(null===JSON||void 0===JSON?void 0:JSON.parse(g)),f=c.get("chAddressJson");const x=null===(a=null==h?void 0:h.getInstance())||void 0===a?void 0:a.getSBUrl(),E=x+y,w=x+T,P={find_by:"uuid",language:null==o?void 0:o.lang,type:"B2C",value:null==o?void 0:o.storyId};return e.useEffect((()=>{var e,t;(e=E,t=P,H(void 0,void 0,void 0,(function*(){try{return yield n.CMSStoryblokServiceV2.get(e,t).then((e=>{var n,t,o;const l=null===(o=null===(t=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.story)||void 0===t?void 0:t.content)||void 0===o?void 0:o.body;for(const e of l)if("productTableV2"==e.component||"productTableWithOutLC"===e.component||"prodConfigContainer"===e.component)return e})).catch((e=>{throw e}))}catch(e){return e}}))).then((e=>p(e))),((e="en",t)=>{try{return n.CMSStoryblokServiceV2.get(t,{dimension:e,per_page:1e3,type:"B2C"}).then((e=>{var n;const t={};((null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.datasource_entries)||[]).map((e=>{t[e.name]=null!=e.dimension_value?e.dimension_value:e.value}));try{localStorage.removeItem("sbstaticcontent"),localStorage.setItem("sbstaticcontent",JSON.stringify(t))}catch(e){}return t})).catch((e=>e))}catch(e){throw Error("Promise failed")}})(null==o?void 0:o.lang,w).then((e=>s(e))).catch((e=>console.log(e)))}),[]),e.useEffect((()=>{var e;const n=new URLSearchParams(null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.search).get("tabOption");m&&null!==n&&((null==m?void 0:m.productContainer)||[]).map(((e,t)=>{(null==e?void 0:e.tabId)===n&&_(t)}))}),[m]),e.useEffect((()=>{g="undefined"!=typeof window&&localStorage.getItem("lineCheckResponse"),b=g&&(null===JSON||void 0===JSON?void 0:JSON.parse(g)),f="undefined"!=typeof window&&c.get("chAddressJson")}),[r]),e.createElement("div",null,(null==m?void 0:m.productContainer)&&e.createElement(e.Fragment,null,e.createElement("div",{className:`row ${pe.tabblock} ${pe.carouselpadding}`},e.createElement("div",{className:` ${pe.tabcontainer}`},((null==m?void 0:m.productContainer)||[]).map(((n,t)=>e.createElement("div",{className:` ${pe.tabs} ${v===t?pe.tabcontentactive:pe.tabcontentinactive}`},e.createElement("label",{className:` ${pe.tabcontent} `},e.createElement("input",{type:"radio",checked:v===t,onClick:()=>_(t)}),null==n?void 0:n.tabCaption)))))),e.createElement("div",{className:`position-relative ${pe.carouselpadding}`},e.createElement(i.Carousel,{activeIndex:v,indicators:!1,controls:!1,interval:null,id:"pt-carousel"},(null===(d=null==m?void 0:m.productContainer)||void 0===d?void 0:d.length)>0&&((null==m?void 0:m.productContainer)||[]).map(((n,t)=>e.createElement(i.Carousel.Item,{key:t},e.createElement(je,{content:Object.assign(Object.assign({},n),{pageType:n.pageType,dynamicProductOffer:!0,tabIndex:t,activeIndex:v,lineTableContent:m}),metadata:o,activeIndex:v,lineCheckCallBack:l,sbStaticConstants:u,address:f,eligibleBundle:b}))))))))},exports.ProductTeaser=({content:t,lineCheckCallBack:o,offerDataCallBack:l})=>{var i,r,a,d,c,m;const[p,v]=e.useState([]),[_,h]=e.useState(""),g=null===(i=null==ce?void 0:ce.getInstance())||void 0===i?void 0:i.getBaseUrl(),x=V(),y=null===(r=(null==t?void 0:t.productTeaserSlides)||[])||void 0===r?void 0:r.map((e=>null==e?void 0:e.tabTitle)),T=[];return null===(a=(null==t?void 0:t.productTeaserSlides)||[])||void 0===a||a.forEach(((e,n)=>{var t,o;(null==e?void 0:e.productId)&&0===(null===(t=T.filter((n=>n.id===(null==e?void 0:e.productId))))||void 0===t?void 0:t.length)&&T.push({id:null==e?void 0:e.productId,promoIds:[(null==e?void 0:e.promoId)?null==e?void 0:e.promoId:(null==e?void 0:e.productType)===D?z:F]}),(null==e?void 0:e.tvProductId)&&0===(null===(o=T.filter((n=>(null==n?void 0:n.id)===(null==e?void 0:e.tvProductId))))||void 0===o?void 0:o.length)&&T.push({id:null==e?void 0:e.tvProductId,promoIds:[(null==e?void 0:e.promoId)?null==e?void 0:e.promoId:z]})})),e.useEffect((()=>{var e,t;0===(null==p?void 0:p.length)&&(e=T,t=g,H(void 0,void 0,void 0,(function*(){try{localStorage.removeItem("entertainment");const o={headers:{"x-correlation-id":u.v4(),"x-sunrise-channel":b}},l=t+f,i=yield n.ApiServiceV2.getApiServiceInstance().post(l,e,o).then((e=>{if(200==e.status)return null==e?void 0:e.data}));if(i.error)return i.error;{const e=[];return null==i||i.forEach((n=>{e[n.id]=n})),e}}catch(e){console.log("error---\x3e",e)}}))).then((e=>{var n;e&&(null===(n=Object.keys(e))||void 0===n?void 0:n.length)>0&&v(e)})).catch((e=>{console.log("error---\x3e",e)}))}),[]),e.useEffect((()=>{var e,n,t,o,i;if((null===(e=Object.keys(p))||void 0===e?void 0:e.length)>0&&"function"==typeof l){const e=null!==(i=null===(o=null===(t=null===(n=null==T?void 0:T.filter((e=>(null==e?void 0:e.id)===_)))||void 0===n?void 0:n[0])||void 0===t?void 0:t.promoIds)||void 0===o?void 0:o[0])&&void 0!==i?i:"";l(p[_],e)}}),[p,_]),e.createElement("div",{className:"position-relative"},(null===(d=null==t?void 0:t.productTeaserSlides)||void 0===d?void 0:d.length)>0&&x&&e.createElement(s,{responsive:{desktop:{breakpoint:{max:7e3,min:1440},items:1},tabletLarge:{breakpoint:{max:1439,min:1024},items:1},tabletMedium:{breakpoint:{max:1023,min:768},items:1},mobile:{breakpoint:{max:767,min:0},items:1}},autoPlay:!1,shouldResetAutoplay:!1,showDots:1!==(null===(c=null==t?void 0:t.productTeaserSlides)||void 0===c?void 0:c.length),customDot:e.createElement((n=>{const{onClick:t,active:o,index:l}=n;return o&&h(y[l]),e.createElement("button",{className:o?de.stageTeaserTabActive:de.stageTeaserTab,onClick:()=>t()},y[l])}),null),dotListClass:de.carousel_dot,itemClass:de.carouselItem,ssr:!0,arrows:!1,containerClass:de.carouselContainer,sliderClass:de.sliderClass,customButtonGroup:e.createElement((n=>{var o,l,i;return e.createElement(e.Fragment,null,(null===(o=null==t?void 0:t.productTeaserSlides)||void 0===o?void 0:o.length)>1&&x!==R&&e.createElement("div",{style:{textAlign:"center"}},e.createElement("button",{disabled:0===(null===(l=null==n?void 0:n.carouselState)||void 0===l?void 0:l.currentSlide),className:de.leftArrow,onClick:n.previous}),e.createElement("button",{disabled:(null===(i=null==n?void 0:n.carouselState)||void 0===i?void 0:i.currentSlide)+1===(null==n?void 0:n.carouselState.totalItems),className:de.rightArrow,onClick:n.next})))}),null),customTransition:"transform 1s ease",transitionDuration:500},null===(m=(null==t?void 0:t.productTeaserSlides)||[])||void 0===m?void 0:m.map(((n,l)=>e.createElement(me,{content:t,slides:n,index:l,offeringData:p,lineCheckCallBack:o})))))},exports.ProductTeaserPropConfig=ce,exports.StickyProductAnchor=({content:n,offerData:t})=>{var o,l,i,r,a,d,u;const s=null===(o=null==h?void 0:h.getInstance())||void 0===o?void 0:o.getBaseUrl(),[m,p]=e.useState(!1),[v,_]=e.useState(!1),g=V(),b=null===(l=null==n?void 0:n.filter((e=>(null==e?void 0:e.productId)===(null==t?void 0:t.id))))||void 0===l?void 0:l[0];let f=0;f=(null==t?void 0:t.derivedPrice)?null===(r=null===(i=null==t?void 0:t.derivedPrice)||void 0===i?void 0:i[0])||void 0===r?void 0:r.value:null===(d=null===(a=null==t?void 0:t.prices)||void 0===a?void 0:a[0])||void 0===d?void 0:d.value;const x=()=>e.createElement("div",{className:Ge},A," ",P(f),e.createElement("span",{className:Xe},null==b?void 0:b.monthText));return e.useEffect((()=>{const e=()=>{const e=document.getElementById("productTeaser");if(!e)return;const{top:n,bottom:t}=e.getBoundingClientRect(),o=(null===window||void 0===window?void 0:window.innerHeight)||document.documentElement.clientHeight;p(n<o&&t>=0);const l=document.getElementById("stickyAnchorContainer"),i=null==l?void 0:l.offsetTop;i&&window.scrollY>i?_(!0):_(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]),e.createElement(e.Fragment,null,(null==b?void 0:b.productName)&&e.createElement("div",{className:`${qe} ${v?Me:Ue}`,id:"stickyAnchorContainer"},e.createElement(ne,null,e.createElement("div",{className:"d-flex justify-content-between"},e.createElement("div",{className:We},null==b?void 0:b.productName,f>0&&g===R&&e.createElement(e.Fragment,null,x())),e.createElement("div",{className:He},g!==R&&e.createElement(e.Fragment,null,e.createElement("span",{className:Ke},null===(u=(null==b?void 0:b.benefits)||[])||void 0===u?void 0:u.map((n=>e.createElement("div",{className:Je,onClick:()=>(e=>{const n=(null==e?void 0:e.id)&&document.getElementById(null==e?void 0:e.id);n&&n.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})})(n)},null==n?void 0:n.title)))),f>0&&e.createElement(e.Fragment,null,x())),(null==b?void 0:b.buyBtn)&&e.createElement("button",{className:Ye,onClick:()=>{(null==t?void 0:t.id)&&J([t],"",(null==t?void 0:t.promoId)?null==t?void 0:t.promoId:"",s,R).then((e=>{var n;c.remove("one-commerce-cartId",{path:"/"}),c.set("one-commerce-cartId",null==e?void 0:e.id,{path:"/"}),c.set("cartProduct",null==b?void 0:b.productId,{path:"/"}),window.location.href=null!==(n=null==b?void 0:b.checkoutUrl)&&void 0!==n?n:""})).catch((e=>{console.log(e)}))}},null==b?void 0:b.buyBtn))))))};
|
|
1
|
+
"use strict";var e=require("react"),n=require("@sunrise-upc/ajax-lib"),t=require("react-bootstrap/Modal"),o=require("react-bootstrap/CloseButton"),l=require("storyblok-rich-text-react-renderer-ts"),i=require("react-bootstrap"),r=require("react-bootstrap/Container"),a=require("react-bootstrap/Row"),d=require("react-bootstrap/Col"),c=require("js-cookie"),u=require("uuid"),s=require("react-multi-carousel"),m=require("react-bootstrap/Form"),p=require("react-loading-skeleton"),v=require("react-select");function _(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===t&&o.firstChild?o.insertBefore(l,o.firstChild):o.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}_(".Button {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 4px;\r\n cursor: pointer;\r\n min-width: 32px;\r\n min-height: 32px;\r\n background-color: aliceblue;\r\n}\r\n\r\n.Button-primary {\r\n background-color: aqua; \r\n}\r\n.Button-secondary{\r\n background-color: burlywood;\r\n}\r\n.Button-error {\r\n background-color: red;\r\n}");class h{constructor(e){this.config={baseURL:"",cartURL:"",storyBlokURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.getSBUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.storyBlokURL)&&void 0!==n?n:""},this.config=e}}h.getInstance=()=>h.instance,h.create=e=>{h.instance=new h(e)};class g{constructor(e){this.config={assetPath:""},this.getAssetPath=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.assetPath)&&void 0!==n?n:""},this.config=e}}g.getInstance=()=>g.instance,g.create=e=>{g.instance=new g(e)};const b="ESHOP",f="v2/offer",x="carts/v2",y="rest/cms/singlestory",T="rest/cms/dsource_entries?datasource=one-ecommerce-constant-keys";_(".loginModal {\r\n\talign-items: center;\r\n\tbackground-color: rgba(87, 84, 82, 0.4);\r\n\tcolor: #333333;\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\tjustify-content: center;\r\n\tleft: 0;\r\n\tpadding: 16px;\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\ttransition: opacity 3s;\r\n\twidth: 100%;\r\n\tz-index: 11;\r\n}\r\n.loginContainer {\r\n position: absolute;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 32px 32px 34px;\r\n background-color: #ffff;\r\n max-width: 500px;\r\n width: 100%;\r\n box-shadow: -1px 18px 25px 5px rgba(87, 84, 82, 0.4);\r\n }\r\n");_('@import "bootstrap/dist/css/bootstrap.linetable-countryOverlay-css";\r\n\r\n.linetable-countryOverlay-linkTextNew {\r\n color: #da291c;\r\n margin-left: 32px;\r\n margin-bottom: 4px;\r\n text-decoration: underline;\r\n cursor: pointer;\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n\r\n.linetable-countryOverlay-utils-noWrap {\r\n white-space: nowrap;\r\n}\r\n\r\n.linetable-countryOverlay-utils-colWidth {\r\n max-width: 210px;\r\n}\r\n\r\n.linetable-countryOverlay-contain {\r\n display: flex;\r\n align-items: first baseline;\r\n padding-top: 10px;\r\n}\r\n\r\n.linetable-countryOverlay-image {\r\n width: 24px;\r\n height: 16px;\r\n}\r\n\r\n.linetable-countryOverlay-name {\r\n color: #000000;\r\n align-items: center;\r\n padding-left: 16px;\r\n font-style: normal;\r\n font-weight: 400;\r\n font-size: 14px;\r\n line-height: 32px;\r\n}\r\n.linetable-countryOverlay-blackthemecolor {\r\n color: #ffffff !important;\r\n}\r\n\r\n.linetable-countryOverlay-desktopView {\r\n display: block;\r\n}\r\n.linetable-countryOverlay-mobView {\r\n display: none;\r\n}\r\n@media (max-width: 767px) {\r\n .linetable-countryOverlay-linkTextNew {\r\n font-size: 14px;\r\n line-height: 24px;\r\n }\r\n}\r\n\r\n@media (min-width: 1440px) {\r\n .linetable-countryOverlay-desktopView {\r\n display: block;\r\n }\r\n .linetable-countryOverlay-mobView {\r\n display: none;\r\n }\r\n}\r\n@media (max-width: 1023px) {\r\n .linetable-countryOverlay-desktopView {\r\n display: none;\r\n }\r\n .linetable-countryOverlay-mobView {\r\n display: block;\r\n width: 100%;\r\n }\r\n}\r\n');const E=e=>{switch(e){case"grey-600":return"falcon-grey-600";case"grey-500":return"falcon-grey-500";case"grey-100":return"falcon-grey-100";case"grey-400":return"falcon-grey-400";case"ice-white":return"falcon-ice-white";default:return""}},w=(e,n)=>{const t=[];let o,l,i=0;[...Array(n)].forEach((()=>{l=document.getElementById(`${e}${i}`),null!=l&&(l.style.height="unset",t.push(null==l?void 0:l.clientHeight),i++)})),o=Math.max(...t),i=0,[...Array(n)].forEach((()=>{l=document.getElementById(`${e}${i}`),null!=l&&(l.style.height=`${o}px`),i++}))},P=e=>{e=Number(e);let n=0;return n=new RegExp("^[0-9][^.]*$").test(e.toString())?e+".-":e.toFixed(2).replace(/\.00$/,""),n},k=e=>{const n="undefined"!=typeof window&&localStorage.getItem(e),t=new Date;if(!n)return null;let o={};try{if(o=JSON.parse(n),o.expiry&&t.getTime()>o.expiry)return C(e),null}catch(e){return n}return null==o?void 0:o.value},C=e=>{localStorage.removeItem(e)},V=()=>{const[n,t]=e.useState(0);return e.useEffect((()=>{const e=()=>{t(window.innerWidth)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),n>=1440?"large-desktop":n<1440&&n>=1024?"desktop":n<1024&&n>=768?"tablet":n<768&&n>0?"mobile":""},S=()=>{const[n,t]=e.useState(!1),o=()=>{const e=window.matchMedia("(pointer:coarse)");t(e.matches)};return e.useEffect((()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o))),[]),n},L=(e,n)=>null==e?void 0:e.replace(/{\w+}/g,(e=>n[e.substring(1,e.length-1)]||e)),N="none",O="falconDescription",I="falconAccordionList",A="spacer",B="CHF",D="fixnet",z="defaultWirelineBundle",F="defaultMobilePostpaidBundle",R="mobile",$="desktop",j="tablet",M={EN:"English",FR:"Français",IT:"Italiano",DE:"Deutsch"};_(".dbold {\r\n font-weight: 500;\r\n font-size: 40px;\r\n line-height: 60px;\r\n}\r\n");const U=({content:n})=>{var t;const o=E((null==n?void 0:n.textColor)&&n.textColor),l=(null==n?void 0:n.textColor)&&n.textColor!=N?o:"",i=(null==n?void 0:n.textColor)&&n.textColor===N?{color:null===(t=n.textColorPicker)||void 0===t?void 0:t.color}:{};return e.createElement(e.Fragment,null,n.headingStyle&&n.text&&"h1"===n.headingStyle?e.createElement("h1",{className:l,style:Object.assign({},i)},n.text," "):"h2"===n.headingStyle?e.createElement("h2",{className:`${l}`,style:Object.assign({},i)},n.text):"h3"===n.headingStyle?e.createElement("h3",{className:l,style:Object.assign({},i)},n.text):"h4"===n.headingStyle?e.createElement("h4",{className:l,style:Object.assign({},i)},n.text):e.createElement("div",{className:"dbold",style:Object.assign({},i)},n.text))},q=n=>{var t;const o=V(),r=S(),a="mobile"===o||"tablet"===o||r,d=null===(t=null==g?void 0:g.getInstance())||void 0===t?void 0:t.getAssetPath();return e.createElement("div",null,l.render(n.content,{markResolvers:{link:(t,o)=>{const{href:l,target:r,linktype:c}=o;return"email"===c?e.createElement("a",{href:`mailto:${l}`,target:null===r||"_self"===r?"_top":"_blank"},t):n.isIFrame?e.createElement("a",{href:l,target:null===r||"_self"===r?"_top":"_blank"},t):e.createElement(e.Fragment,null,(null==n?void 0:n.linkAsTooltip)?e.createElement(i.OverlayTrigger,{placement:"auto",rootClose:!0,trigger:a?"click":"hover",overlay:(null==n?void 0:n.toolTipText)?e.createElement(i.Popover,null,e.createElement(i.Popover.Body,null,null==n?void 0:n.toolTipText,a&&d&&e.createElement("img",{src:`${d}/icons/overlay-close.svg`,alt:"close",style:{float:"right"},width:24,height:24,onClick:()=>{var e;return null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.click()}}))):e.createElement(e.Fragment,null)},e.createElement("span",null,t)):e.createElement("a",{href:l,target:null===r?"":r},t))}}}))},W=({content:n})=>{var t;const o=E(n.textColor);return e.createElement(e.Fragment,null,e.createElement("div",{className:`d-inline-flex align-${n.textElementPosition}`},n.icon&&n.icon.filename&&e.createElement("img",{src:n.icon&&n.icon.filename,alt:n.icon&&n.icon.alt,title:n.icon&&n.icon.title,height:24,width:24}),n.text&&e.createElement("div",{className:`${n.icon&&n.icon.filename} ${n.textColor&&n.textColor!=N?o:""}`,style:Object.assign({},n.textColor&&n.textColor===N?{color:null===(t=n.textColorPicker)||void 0===t?void 0:t.color}:{})},e.createElement(q,{content:n.text}))))};_(".linetable-country-overlayModal {\r\n max-width: 900px;\r\n padding: 1rem 2rem;\r\n}\r\n");const G=({children:n,modalState:l,handler:i,noCloseButton:r,showBackBtn:a,overlay:d})=>{const[c,u]=e.useState(),[s,m]=e.useState();return e.useEffect((()=>{d.map((e=>{var n;null===(n=null==e?void 0:e.content)||void 0===n||n.body.map((e=>{"falconTitle"==(null==e?void 0:e.component)&&u(e),"falconDescription"==(null==e?void 0:e.component)&&m(e)}))}))}),[d]),e.createElement(e.Fragment,null,e.createElement(t,{centered:!0,show:l,onHide:i,keyboard:!1,dialogClassName:"linetable-country-overlayModal"},e.createElement(t.Header,null,e.createElement("div",{style:{display:r?"none":""}},e.createElement("div",{className:"d-flex align-items-center"},a&&e.createElement("div",{className:"me-sm-4 me-3 d-flex align-items-center",onClick:i},e.createElement("img",{src:"../../icons/left_arrow.svg"})),c&&e.createElement(U,{content:c}))),e.createElement("div",{style:{display:r?"none":""}},e.createElement(o,{className:"sr-modal-close",onClick:i}))),e.createElement(t.Body,null,n),e.createElement(t.Footer,null,s&&e.createElement(W,{content:s}))))};_(".linetable-dotLoader-loaderParent {\r\n width: 100%;\r\n position: fixed;\r\n z-index: 3;\r\n top: 0;\r\n left: 0;\r\n bottom: 0;\r\n right: 0;\r\n background-color: rgba(255, 255, 255, 0.8);\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.linetable-dotLoader-dotClass {\r\n justify-content: center;\r\n display: flex;\r\n z-index: 1;\r\n}\r\n.linetable-dotLoader-dotContent {\r\n display: flex;\r\n justify-content: center;\r\n animation: contentplay 2s linear 0s infinite;\r\n}\r\n@keyframes dotplay {\r\n 0%,\r\n 20% {\r\n transform: translateY(0);\r\n }\r\n 10% {\r\n transform: translateY(-20px);\r\n }\r\n}\r\n.linetable-dotLoader-dots:nth-child(1) {\r\n animation-delay: 0.4s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(2) {\r\n animation-delay: 0.8s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(3) {\r\n animation-delay: 1.2s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(4) {\r\n animation-delay: 1.6s;\r\n}\r\n.linetable-dotLoader-dots {\r\n margin: 5px 2px;\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n background: linear-gradient(180deg, #e2271e 0%, #ef7c3c 100%);\r\n animation: dotplay 2s linear 0s infinite;\r\n}\r\n@keyframes contentplay {\r\n 0% {\r\n opacity: 0.2;\r\n }\r\n 30% {\r\n opacity: 1;\r\n }\r\n}\r\n");const X=({keyParams:n})=>{const[t,o]=e.useState(0),[l,i]=e.useState({}),r={checkout:[null==l?void 0:l.uspFreeShipping,null==l?void 0:l.uspBestService,null==l?void 0:l.uspCheckout],loading:[null==l?void 0:l.loading]},a=n?r[`${n}`]:r.checkout;return e.useEffect((()=>{i(k("sbstaticcontent"))}),[]),e.useEffect((()=>{let e=a.length-1;o(e);const n=setInterval((()=>{o(e--),e<0&&(e=a.length-1)}),2e3);return()=>{clearTimeout(n)}}),[]),e.createElement("div",{className:"d-flex align-items-center justify-content-center linetable-dotLoader-loaderParent"},e.createElement("div",{className:"linetable-dotLoader-dotClass"},e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"})),e.createElement("div",null,e.createElement("h4",{className:"linetable-dotLoader-dotContent"},a[t]," ")))};function K(e,n,t,o){return new(t||(t=Promise))((function(l,i){function r(e){try{d(o.next(e))}catch(e){i(e)}}function a(e){try{d(o.throw(e))}catch(e){i(e)}}function d(e){var n;e.done?l(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(r,a)}d((o=o.apply(e,n||[])).next())}))}const H=(e,t,o,l)=>K(void 0,void 0,void 0,(function*(){var i;const r=k(`${e}_${t}_countryData`);if(r)return r;try{const r={language:t,type:"B2C"},a=null===(i=(yield n.CMSStoryblokServiceV2.get(o,r)).data)||void 0===i?void 0:i.stories;return a&&a.length>0&&((e,n,t)=>{let o=null;const l=new Date;o={value:n,expiry:t?l.getTime()+t:null},localStorage.setItem(e,JSON.stringify(o))})(`${e}_${t}_countryData`,a,l),a}catch(e){return console.error(e),e}})),J=(e,t,o,l,i)=>K(void 0,void 0,void 0,(function*(){var r,a,d,s,m,p,v,_,h,g,f,y,T;let E={};if(i===D){let n="",l="";const i=null!==(r=c.get("one-commerce-linecheckcorrelationid"))&&void 0!==r?r:"";E={relatedParty:[{id:"anonymous",segment:"RESIDENTIAL"}],cartItem:[{itemType:"HOME",promotionId:o,items:[],note:[{author:"linecheckCorrelationId",text:i}]}]};const u={itemType:"MOBILE",promotionId:o,items:[]};null===(d=null===(a=e[0])||void 0===a?void 0:a.bundledOffers)||void 0===d||d.map((e=>{var o,i,r,a,d,c,s,m,p,v,_,h,g,b,f,x,y,T,w;if(null===(i=null===(o=null==e?void 0:e.promotionInfo)||void 0===o?void 0:o[0])||void 0===i?void 0:i.id){const t=1==(null===(s=null===(c=null===(d=null===(a=null===(r=null==e?void 0:e.promotionInfo)||void 0===r?void 0:r[0])||void 0===a?void 0:a.hardwareGift)||void 0===d?void 0:d[0])||void 0===c?void 0:c.ids)||void 0===s?void 0:s.length)?null===(h=null===(_=null===(v=null===(p=null===(m=null==e?void 0:e.promotionInfo)||void 0===m?void 0:m[0])||void 0===p?void 0:p.hardwareGift)||void 0===v?void 0:v[0])||void 0===_?void 0:_.ids)||void 0===h?void 0:h[0]:"";"mobile"===(null===(g=null==e?void 0:e.productType)||void 0===g?void 0:g.toLowerCase())?(u.promotionId=null===(f=null===(b=null==e?void 0:e.promotionInfo)||void 0===b?void 0:b[0])||void 0===f?void 0:f.id,n=t):(E.cartItem[0].promotionId=null===(y=null===(x=null==e?void 0:e.promotionInfo)||void 0===x?void 0:x[0])||void 0===y?void 0:y.id,l=t)}"tv"==(null===(T=null==e?void 0:e.productType)||void 0===T?void 0:T.toLowerCase())&&t?E.cartItem[0].items.push({itemType:null==e?void 0:e.productType,id:t}):"mobile"===(null===(w=null==e?void 0:e.productType)||void 0===w?void 0:w.toLowerCase())?u.items.push({itemType:"RATEPLAN",id:null==e?void 0:e.id}):E.cartItem[0].items.push({itemType:null==e?void 0:e.productType,id:null==e?void 0:e.id})})),l&&(null===(s=E.cartItem[0].items)||void 0===s||s.push({itemType:"GIFT",id:l})),n&&u.items.push({itemType:"GIFT",id:n}),(null===(m=null==u?void 0:u.items)||void 0===m?void 0:m.length)>0&&(null===(p=null==E?void 0:E.cartItem)||void 0===p||p.push(u));try{const e=(e=>{const n=e+"=";let t;return document.cookie.split(";").some((e=>{for(;" "===e.charAt(0);)e=e.substring(1);return 0===e.indexOf(n)&&(t=JSON.parse(decodeURIComponent(e.substring(n.length,e.length))),!0)})),t})("chAddressJson"),n=[{characteristic:{installationAddress:!0,country:"CH",city:null===(v=null==e?void 0:e.selectedAdd)||void 0===v?void 0:v.city,street1:null===(_=null==e?void 0:e.selectedAdd)||void 0===_?void 0:_.street,postCode:null===(h=null==e?void 0:e.selectedAdd)||void 0===h?void 0:h.postCode,street2:null===(g=null==e?void 0:e.selectedAdd)||void 0===g?void 0:g.houseNumber}}];E.contactMedium=n}catch(e){console.log("issue at line check address addition in create cart ==>",e)}}else i===R&&(E={relatedParty:[{segment:"RESIDENTIAL"}],cartItem:[{itemType:"MOBILE",promotionId:o,items:[{itemType:"RATEPLAN",id:null!==(y=null===(f=null==e?void 0:e[0])||void 0===f?void 0:f.id)&&void 0!==y?y:""}]}]});const w={headers:{"x-correlation-id":u.v4(),"x-sunrise-channel":b}},P=l+x;if((null===(T=Object.keys(E))||void 0===T?void 0:T.length)>0){const e=yield n.ApiServiceV2.getApiServiceInstance().post(P,E,w).then((e=>{if(C("isB2BCustomer"),200==e.status)return null==e?void 0:e.data}));if(e.error)throw e.error;return e}})),Y=({linkText:n,product:t,metadata:o,modalTriggered:l})=>{var i,c,u;const[s,m]=e.useState(!1),[p,v]=e.useState([]),[_,g]=e.useState(!0),[b,f]=e.useState(),[x,y]=e.useState([]),T=null!==(u=null===(c=null===(i=null==t?void 0:t.testProductReference)||void 0===i?void 0:i[0])||void 0===c?void 0:c.reference)&&void 0!==u?u:null==t?void 0:t.reference;let E;e.useEffect((()=>{p&&p.length>0&&p.map((e=>{var n;null===(n=null==e?void 0:e.content)||void 0===n||n.body.map((e=>{"countryListComponent"==(null==e?void 0:e.component)&&y(null==e?void 0:e.countryValues)}))}))}),[p]),e.useEffect((()=>{(null==x?void 0:x.length)>0&&(E=x.length,f(Math.ceil(E/3)))}),[x]);return e.createElement(e.Fragment,null,e.createElement(G,{modalState:s,handler:()=>{m(!1),"function"==typeof l&&l()},overlay:p},_&&e.createElement(X,{keyParams:"loading"}),!_&&e.createElement(e.Fragment,null,e.createElement(r,{className:"linetable-countryOverlay-desktopView"},e.createElement("div",null,e.createElement(a,{className:"linetable-countryOverlay-utils-noWrap"},e.createElement(d,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(a,null,x.slice(0,b).map(((n,t)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:t},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))),e.createElement(d,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(a,null,x.slice(b,2*b).map(((n,t)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:t},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))),e.createElement(d,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(a,null,x.slice(2*b,3*b).map(((n,t)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:t},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name))))))))),e.createElement(r,{className:"linetable-countryOverlay-mobView"},e.createElement(a,null,e.createElement(d,null,e.createElement(a,null,x.map(((n,t)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:t},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))))))),e.createElement("span",{onClick:()=>{var e,n,t,i,r,a;m(!s),"function"==typeof l&&l();const d=null===(r=null===(i=null===(t=null===(n=null===(e=null==T?void 0:T.content)||void 0===e?void 0:e.body)||void 0===n?void 0:n[0])||void 0===t?void 0:t.countryList)||void 0===i?void 0:i.cached_url)||void 0===r?void 0:r.replace(null==o?void 0:o.lang,""),c=null==d?void 0:d.replace("//",""),u=`${null===(a=null==h?void 0:h.getInstance())||void 0===a?void 0:a.getBaseUrl()}rest/cms/stories/?by_slugs=${c}`,p=null==T?void 0:T.name;H(p,null==o?void 0:o.lang,u,864e5).then((e=>{e&&e.length>0&&v(e),g(!1)}))},className:"linetable-countryOverlay-linkTextNew display-5"},n))};_(".linetable-CardEntitlement-mobileProductEntitlement {\r\n margin: 0;\r\n padding: 0 16px 0 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementValue {\r\n display: flex;\r\n margin-bottom: 4px;\r\n align-items: center;\r\n font-size: 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementIcon {\r\n align-self: flex-start;\r\n margin-right: 8px;\r\n}\r\n\r\n.linetable-CardEntitlement-entitlementIcon img {\r\n vertical-align: sub;\r\n}\r\n.linetable-CardEntitlement-animationTitle {\r\n font-size: 16px;\r\n line-height: 24px;\r\n color: #3d3935;\r\n font-weight: 700;\r\n margin-bottom: auto;\r\n}\r\n.linetable-CardEntitlement-entitlementContent {\r\n display: inline-flex;\r\n margin-bottom: 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementDescription {\r\n color: #3d3935;\r\n margin-left: 32px;\r\n margin-bottom: 4px;\r\n font-size: 16px;\r\n font-weight: 500;\r\n width: calc(100% - 32px);\r\n}\r\n");const Z=e.createContext({indexKey:0,listLength:0,arrowUpIcon:"",arrowDownIcon:"",arrowLeftRed:""}),Q=({content:n,product:t,indexKey:o,showEntitleValue:l,metadata:i,modalTriggered:r})=>{var a,d,c,u;const s=e.useRef(null),m=e.useContext(Z),p=()=>{w(`linetable-CardEntitlement-entitlementSection${m.indexKey}`,m.listLength)};return e.useEffect((()=>{setTimeout((()=>{(null==s?void 0:s.current)&&p()}),200),window.addEventListener("resize",p)}),[n]),e.createElement("div",{className:"linetable-CardEntitlement-mobileProductEntitlement",id:`linetable-CardEntitlement-entitlementSection${o}${m.indexKey}`,ref:s},e.createElement("div",{className:"row linetable-CardEntitlement-entitlementContent"},e.createElement("div",{className:"linetable-CardEntitlement-entitlementValue "},e.createElement(e.Fragment,null,(null==n?void 0:n.isblacktheme)?e.createElement(e.Fragment,null,(null===(a=null==n?void 0:n.blackFridayentitlementIcon)||void 0===a?void 0:a.filename)&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementIcon"},e.createElement("img",{src:null===(d=null==n?void 0:n.blackFridayentitlementIcon)||void 0===d?void 0:d.filename,width:20,height:20}))):e.createElement(e.Fragment,null,(null===(c=null==n?void 0:n.entitlementIcon)||void 0===c?void 0:c.filename)&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementIcon"},e.createElement("img",{src:null===(u=null==n?void 0:n.entitlementIcon)||void 0===u?void 0:u.filename,width:20,height:20}))),e.createElement("span",{className:"linetable-CardEntitlement-animationTitle entitlementDisplay"},null==n?void 0:n.entitlementName))),e.createElement("div",{className:"d-block"},n.entitlementDescription&&l&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementDescription"},null==n?void 0:n.entitlementDescription),(null==n?void 0:n.linkText)&&e.createElement(Y,{product:t,linkText:null==n?void 0:n.linkText,metadata:i,modalTriggered:r}))))};_(".linetable-card-linetable-card-flexGrid {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.linetable-card-productContainer {\r\n background-color: #fff;\r\n padding: 24px 0 16px;\r\n text-align: left;\r\n height: 100%;\r\n border-radius: 8px;\r\n}\r\n.linetable-card-productContainer hr {\r\n margin: 16px;\r\n}\r\n.linetable-card-introText {\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n font-size: 16px;\r\n line-height: 24px;\r\n font-weight: 500;\r\n color: #587467;\r\n}\r\n.linetable-card-productTeaser {\r\n background-color: #fff;\r\n border-radius: 8px;\r\n height: 100%;\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n box-shadow: 0px 4px 12px 0px #57545233;\r\n}\r\n.linetable-card-prodHeading {\r\n font-size: 14px;\r\n line-height: 20px;\r\n color: #606060;\r\n font-weight: bold;\r\n margin-bottom: 4px;\r\n}\r\n.linetable-card-titleContainer {\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n}\r\n.linetable-card-productTitle {\r\n color: #1e1e1e;\r\n font-weight: bold;\r\n margin-bottom: 4px;\r\n display: flex;\r\n align-items: baseline;\r\n justify-content: space-between;\r\n}\r\n.linetable-card-productTitle > h1,\r\n.linetable-card-productTitle > h2,\r\n.linetable-card-productTitle > h3,\r\n.linetable-card-productTitle > h4,\r\n.linetable-card-productTitle > h5,\r\n.linetable-card-productTitle > h6 {\r\n color: #1e1e1e !important;\r\n}\r\n.linetable-card-productTitle > h3 {\r\n font-size: 24px;\r\n line-height: 32px;\r\n}\r\n.linetable-card-productTitle > h2 {\r\n margin-right: 8px;\r\n}\r\n.linetable-card-prodDescription {\r\n font-size: 16px;\r\n line-height: 24px;\r\n color: #333333;\r\n display: flex;\r\n font-weight: 400;\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .linetable-card-productTitle {\r\n height: auto;\r\n }\r\n}\r\n\r\n.linetable-card-productDetailSection{\r\n margin: 0 16px;\r\n}\r\n.linetable-card-productDetailSection img {\r\n vertical-align: bottom;\r\n margin-right: 8px;\r\n}\r\n.linetable-card-bottomConatiner {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: end;\r\n}");const ee=({modalState:n,handler:t,showFooter:o,footerNode:l,children:r,width:a,height:d,noCloseButton:c,backButton:u})=>{const s=e.useContext(Z);return e.useEffect((()=>{const e=document.querySelector(".linetable-product-modal .footer-main");e&&(e.style.zIndex="10");const n=document&&document.querySelector(".modal-dialog.linetable-product-modal");n&&(n.style.maxWidth=a,n.style.padding="0",n.style.transform="none");const t=document.querySelector(".linetable-product-modal .modal-content");t&&(t.style.height=d,t.style.backgroundColor="#F7F6F5");const o=document.querySelector(".linetable-product-modal .modal-header");o&&(o.style.position="absolute",o.style.top="0",o.style.zIndex="1",o.style.maxWidth="100%",o.style.background="#f8f8f8",o.style.width="100%");const l=document.querySelector(".linetable-product-modal .modal-body");l&&(l.style.background="#f8f8f8",l.style.paddingTop="70px")}),[d]),e.createElement(i.Modal,{scrollable:!1,show:n,onHide:t,keyboard:!1,dialogClassName:"linetable-product-modal"},e.createElement(i.Modal.Header,null,u&&e.createElement("div",{style:{justifyContent:"start",cursor:"pointer"},onClick:t},e.createElement(e.Fragment,null,(null==s?void 0:s.arrowLeftRed)&&e.createElement("img",{src:null==s?void 0:s.arrowLeftRed,width:24,height:24}),e.createElement("span",{style:{color:"#DA291C"}}," ",u))),e.createElement("div",{style:{display:c?"none":"",justifyContent:"end"}},e.createElement(i.CloseButton,{className:"sr-modal-close",onClick:t}))),e.createElement(i.Modal.Body,null,r),o&&e.createElement(i.Modal.Footer,null,l))};_(".linetable-sr-def-row {\r\n margin-left: auto;\r\n margin-right: auto;\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n max-width: 1308px;\r\n width: 100%;\r\n}\r\n\r\n@media (min-width: 1024px) and (max-width: 1439px) {\r\n .linetable-sr-def-row {\r\n max-width: 972px;\r\n }\r\n}\r\n\r\n@media (min-width: 768px) and (max-width: 1023px) {\r\n .linetable-sr-def-row {\r\n max-width: 720px;\r\n }\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .linetable-sr-def-row {\r\n max-width: 972px;\r\n }\r\n}\r\n\r\n.linetable-sr-def-row .linetable-sr-def-row {\r\n padding: 0px;\r\n max-width: 100%;\r\n}");const ne=({children:n})=>e.createElement("div",{className:"linetable-sr-def-row linetable-sr-responsive-row"},n);_(".linetable-falconAccordion-section {\r\n text-align: center;\r\n}\r\n\r\n.linetable-falconAccordion-description {\r\n color: #3d3935;\r\n padding-bottom: 32px;\r\n text-align: center;\r\n}\r\n\r\n.linetable-falconAccordion-description p a {\r\n color: #da291c;\r\n}\r\n\r\n.linetable-falconAccordion-container {\r\n box-shadow: 0 2px 4px rgba(87, 84, 82, 0.2);\r\n border-radius: 8px;\r\n overflow: hidden;\r\n padding: 0;\r\n}\r\n\r\n.linetable-falconAccordion-current-item {\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-current-item:first-child {\r\n border-radius: 8px 8px 0 0;\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-current-item:last-child {\r\n border-bottom: none;\r\n border-radius: 0 0 8px 8px;\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-item:hover {\r\n background-color: #f7f6f5;\r\n}\r\n\r\n.linetable-falconAccordion-wrapper {\r\n margin-left: 32px;\r\n margin-right: 32px;\r\n border-bottom: 1px solid #e6e3df;\r\n}\r\n\r\n.linetable-falconAccordion-title {\r\n color: #3d3935;\r\n font-style: normal;\r\n font-weight: bold;\r\n font-size: 16px;\r\n line-height: 24px;\r\n margin-right: 28px;\r\n min-height: 24px;\r\n}\r\n\r\n.prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button {\r\n padding: 24px 0;\r\n}\r\n\r\n.prod-card .accordion-body {\r\n padding: 8px 0 32px 0;\r\n color: #3d3935;\r\n text-align: left;\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n\r\n.prod-card .accordion-button::after {\r\n position: absolute;\r\n top: 24px;\r\n right: 0;\r\n background-image: url('/ecom-int/icons/falcon-arrow-down.svg') !important;\r\n background-size: 24px 24px !important;\r\n background-size: unset;\r\n}\r\n\r\n.prod-card .accordion-button:not(.collapsed)::after {\r\n background-image: url('/ecom-int/icons/falcon-arrow-up.svg') !important;\r\n}\r\n\r\n.linetable-falconAccordion-disabled {\r\n opacity: 0.8;\r\n pointer-events: none;\r\n background-color: #e6e3df;\r\n}\r\n\r\n/* for mobile view */\r\n@media (max-width: 767px) {\r\n .prod-card .description {\r\n padding-bottom: 24px;\r\n }\r\n\r\n .linetable-falconAccordion-item:hover {\r\n background-color: none;\r\n }\r\n\r\n .linetable-falconAccordion-wrapper {\r\n margin-left: 16px;\r\n margin-right: 16px;\r\n }\r\n\r\n .prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button {\r\n padding: 16px 0;\r\n }\r\n\r\n .prod-card .accordion-body {\r\n padding-bottom: 24px;\r\n }\r\n\r\n .prod-card .accordion-button::after {\r\n top: 16px;\r\n }\r\n}\r\n\r\n/* For tablet view */\r\n@media (max-width: 1023px) {\r\n .linetable-falconAccordion-wrapper {\r\n margin-left: 24px;\r\n margin-right: 24px;\r\n }\r\n}");const te=({content:n})=>{const t=null==n?void 0:n._uid;return e.createElement("div",{className:"prod-card"},e.createElement(i.Accordion,{flush:!0,defaultActiveKey:(null==n?void 0:n.alwaysOpen)?t:""},e.createElement(i.Accordion.Item,{eventKey:t,className:`${(null==n?void 0:n.disabled)&&"linetable-falconAccordion-disabled"} linetable-falconAccordion-item`},e.createElement("div",{className:"linetable-falconAccordion-wrapper"},e.createElement(i.Accordion.Header,null,e.createElement("span",{className:"linetable-falconAccordion-title"},null==n?void 0:n.title)),e.createElement(i.Accordion.Body,null,(null==n?void 0:n.bodyText)&&e.createElement(q,{content:null==n?void 0:n.bodyText}))))))},oe=({content:n})=>{var t,o,l,i,r,a,d;return e.createElement("section",{className:"linetable-falconAccordion-section"},e.createElement(ne,null,e.createElement(e.Fragment,null,(null==n?void 0:n.title)&&(null===(t=null==n?void 0:n.title)||void 0===t?void 0:t.length)>0&&e.createElement(U,{content:null===(o=null==n?void 0:n.title)||void 0===o?void 0:o[0]}),(null==n?void 0:n.description)&&(null===(l=null==n?void 0:n.description)||void 0===l?void 0:l.length)>0&&e.createElement("div",{className:"linetable-falconAccordion-description"},e.createElement(W,{content:null===(i=null==n?void 0:n.description)||void 0===i?void 0:i[0]})),(null==n?void 0:n.accordions)&&(null===(r=null==n?void 0:n.accordions)||void 0===r?void 0:r.length)>0&&(null===(a=null==n?void 0:n.accordions[0])||void 0===a?void 0:a.title)&&e.createElement("div",{className:"linetable-falconAccordion-container"},null===(d=null==n?void 0:n.accordions)||void 0===d?void 0:d.map((n=>e.createElement("div",{tabIndex:0,key:null==n?void 0:n._uid,className:"linetable-falconAccordion-current-item"},e.createElement(te,{content:Object.assign({},n)}))))))))},le=({content:n})=>{const t=(e=>{switch(e){case"grey-100":return"falcon-background-grey-100";case"ice-white":return"falcon-background-ice-white";case"transparent":return"falcon-background-transparent";default:return""}})(null==n?void 0:n.backgroundColor),o=(e=>{switch(e){case"rubyglow-diagonal":return"falcon-gradient-rubyglow-diagonal";case"rubyglow-vertical":return"falcon-gradient-rubyglow-vertical";case"pinksky-diagonal":return"falcon-gradient-pinksky-diagonal";case"pinksky-vertical":return"falcon-gradient-pinksky-vertical";case"bluehaze-diagonal":return"falcon-gradient-bluehaze-diagonal";case"bluehaze-vertical":return"falcon-gradient-bluehaze-vertical";case"greencloud-diagonal":return"falcon-gradient-greencloud-diagonal";case"greencloud-vertical":return"falcon-gradient-greencloud-vertical";case"peachfog-diagonal":return"falcon-gradient-peachfog-diagonal";case"peachfog-vertical":return"falcon-gradient-peachfog-vertical";case"darkblue-haze":return"falcon-gradient-dark-blue-haze";default:return""}})(null==n?void 0:n.gradientBackground),l=(null==n?void 0:n.gradientBackground)===N?t:o;return e.createElement("div",null,n.height?e.createElement("div",{className:`d-none d-sm-block ${l}`,style:{height:`${n.height}px`}}):e.createElement("div",{className:`d-none d-sm-block ${l}`,style:{height:`${n.desktopHeight}px`}}),e.createElement("div",{className:`d-block d-sm-none ${l} `,style:{height:`${n.mobHeight}px`}}))};_(".linetable-productDetailsText {\r\n color: #da291c;\r\n text-decoration: underline;\r\n cursor: pointer;\r\n}");_('.linetable-staticPrice-priceWrapper {\r\n\tborder-radius: 8px;\r\n\tborder: 1px solid #E6E3DF;\r\n\tmargin: 16px 16px 0 16px;\r\n\tpadding: 8px 16px;\r\n\tfont-size: 14px;\r\n\tfont-weight: 400;\r\n\tline-height: 20px;\r\n}\r\n\r\n.linetable-staticPrice-discountPriceSection {\r\n\tcolor: #2E6199;\r\n\tmargin-right: 8px;\r\n}\r\n\r\n.linetable-staticPrice-discountedPrice {\r\n\tfont-size: 32px;\r\n\tfont-weight: 700;\r\n\tline-height: 40px;\r\n}\r\n\r\n.linetable-staticPrice-basePrice {\r\n\tfont-size: 20px;\r\n\tfont-weight: 700;\r\n\tline-height: 28px;\r\n\tposition: relative;\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.linetable-staticPrice-priceStrikeout::after {\r\n\tcontent: "";\r\n\tposition: absolute;\r\n\tright: -1px;\r\n\tleft: -2px;\r\n\ttop: 50%;\r\n\twidth: 100%;\r\n\tborder-bottom: 2px solid #da291c;\r\n\ttransform: rotate(-18.22deg);\r\n}\r\n\r\n.linetable-staticPrice-noDiscountPrice {\r\n\tfont-size: 32px;\r\n\tfont-weight: 700;\r\n\tline-height: 40px;\r\n}\r\n\r\n.linetable-staticPrice-contractDescription {\r\n\tmargin-top: 6px;\r\n}\r\n\r\n.linetable-staticPrice-addToCart {\r\n\tmargin-top: 8px;\r\n\twidth: 100%;\r\n\tpadding: 10px 24px;\r\n\tborder-radius: 25px;\r\n\tbackground: #DA291C;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 16px;\r\n\tfont-weight: 700;\r\n\tline-height: 24px;\r\n\tborder: 0px;\r\n}\r\n\r\n.linetable-staticPrice-productDetails-priceWrapper {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n@media (min-width: 425px) {\r\n\t.linetable-staticPrice-productDetails-addToCart {\r\n\t\tmin-width: 120px;\r\n\t}\r\n}');const ie=({content:n,addToCart:t,variant:o})=>{const l=e.useContext(Z),i=()=>{w("linetable-staticPrice-priceSection",l.listLength)};e.useEffect((()=>{setTimeout((()=>{i()}),200),window.addEventListener("resize",i)}),[n]);return e.createElement("div",{className:`linetable-staticPrice-priceWrapper ${"productDetails"===o&&"linetable-staticPrice-productDetails-priceWrapper"}`},e.createElement("div",{id:`linetable-staticPrice-priceSection${null==l?void 0:l.indexKey}`},e.createElement("div",{className:"linetable-staticPrice-priceSection"},(null==n?void 0:n.isEnableDiscountPrice)&&e.createElement("span",{className:"linetable-staticPrice-discountPriceSection"},e.createElement("span",{className:"linetable-staticPrice-discountedPrice"},null==n?void 0:n.discountPriceValue),null==n?void 0:n.priceDuration),e.createElement("span",null,e.createElement("span",{className:"linetable-staticPrice-basePrice "+((null==n?void 0:n.isEnableDiscountPrice)?"linetable-staticPrice-priceStrikeout":"linetable-staticPrice-noDiscountPrice")},P(null==n?void 0:n.priceValue)),!(null==n?void 0:n.isEnableDiscountPrice)&&e.createElement(e.Fragment,null,null==n?void 0:n.priceDuration))),e.createElement("div",{className:"linetable-staticPrice-contractDescription"},null==n?void 0:n.contractDescription)),e.createElement("div",null,e.createElement("button",{className:`linetable-staticPrice-addToCart ${"productDetails"===o&&"linetable-staticPrice-productDetails-addToCart"}`,onClick:()=>{"function"==typeof t&&t(n)}},null==n?void 0:n.addButton)))},re=({content:n,updatedContent:t,modalTriggered:o,addToCart:l})=>{var i;const[r,a]=e.useState(!1),d=null==n?void 0:n.subscriptionDetailModal;let c=[],u="";d&&(null==d?void 0:d.length)>0&&(null==d||d.map((e=>{c=null==e?void 0:e.modalBody,null==e||e.productPriceVariant,u=null==e?void 0:e.backButton,null==e||e.priceChangeContent})));const s=()=>{a(!r),"function"==typeof o&&o()};return e.createElement(e.Fragment,null,r&&e.createElement(ee,{modalState:r,handler:s,showFooter:!1,height:"100%",width:"883px",backButton:u},e.createElement(e.Fragment,null,null==c?void 0:c.map(((n,t)=>e.createElement(ne,null,e.createElement(e.Fragment,null,(null==n?void 0:n.component)===O&&e.createElement(W,{content:n,key:t}),(null==n?void 0:n.component)===A&&e.createElement(le,{content:n}),(null==n?void 0:n.component)===I&&e.createElement(oe,{content:n}))))),(null==n?void 0:n.isEnablePrice)&&e.createElement(ie,{content:n,addToCart:l,variant:"productDetails"}))),e.createElement("span",{onClick:s,className:"linetable-productDetailsText"},null!==(i=null==t?void 0:t.subscription)&&void 0!==i?i:null==t?void 0:t.subscriptionText))},ae=({content:n,showPrice:t,addToCart:o})=>{var l,i,r,a,d;const c=null!==(l=null==t?void 0:t.base)&&void 0!==l?l:0;let u=null!==(a=null===(r=null===(i=null==t?void 0:t.discount)||void 0===i?void 0:i[0])||void 0===r?void 0:r.value)&&void 0!==a?a:0;null===(d=null==t?void 0:t.discount)||void 0===d||d.map((e=>{1==(null==e?void 0:e.cycleStart)&&(u=null==e?void 0:e.value)}));const s=null==t?void 0:t.contractDuration;return e.createElement("div",{className:"linetable-staticPrice-priceWrapper"},(null==t?void 0:t.base)?e.createElement(e.Fragment,null,u>0&&e.createElement("span",{className:"linetable-staticPrice-discountPriceSection"},e.createElement("span",{className:"linetable-staticPrice-discountedPrice"},P(u)),null==n?void 0:n.priceDuration),e.createElement("span",null,e.createElement("span",{className:"linetable-staticPrice-basePrice "+(u>0?"linetable-staticPrice-priceStrikeout":"linetable-staticPrice-noDiscountPrice")},P(c)),0===u&&(null==n?void 0:n.priceDuration)),e.createElement("div",{className:"linetable-staticPrice-contractDescription"},s&&0!==s?e.createElement("div",null):e.createElement("div",null,null==n?void 0:n.contractDescription))):"",e.createElement("div",null,e.createElement("button",{className:"linetable-staticPrice-addToCart",onClick:o},null==n?void 0:n.addButton)))};var de={carouselContainer:"ProductTeaser-module_carouselContainer__RzBpK",arrowButton:"ProductTeaser-module_arrowButton__-AkY4",leftArrow:"ProductTeaser-module_leftArrow__Ybrjm",rightArrow:"ProductTeaser-module_rightArrow__MYs5F",stageTeaserTab:"ProductTeaser-module_stageTeaserTab__VYRxL",stageTeaserTabActive:"ProductTeaser-module_stageTeaserTabActive__Wu5nT",carousel_dot:"ProductTeaser-module_carousel_dot__zxG-A",carouselItem:"ProductTeaser-module_carouselItem__vtLwf",teaserImage:"ProductTeaser-module_teaserImage__sQ3ed",contentWrapper:"ProductTeaser-module_contentWrapper__3GKwX",titleSection:"ProductTeaser-module_titleSection__YqXUJ",featureSection:"ProductTeaser-module_featureSection__T-YzP",priceContainer:"ProductTeaser-module_priceContainer__CzBhB",contentMobWrapper:"ProductTeaser-module_contentMobWrapper__9rRLQ",heading:"ProductTeaser-module_heading__Xim2-",fadeOutText:"ProductTeaser-module_fadeOutText__nKr5i",fadeInText:"ProductTeaser-module_fadeInText__Ux98m",paragraph:"ProductTeaser-module_paragraph__hUonu",description:"ProductTeaser-module_description__s-lyV",extraSpace:"ProductTeaser-module_extraSpace__HFJ2A",toolTip:"ProductTeaser-module_toolTip__KL7Xx",gradiantBox:"ProductTeaser-module_gradiantBox__Eys-K",addOnSection:"ProductTeaser-module_addOnSection__G4zhX",featureList:"ProductTeaser-module_featureList__gmPS1",features:"ProductTeaser-module_features__o2jMu",horizontalLine:"ProductTeaser-module_horizontalLine__Nfj9U",horizontalLineDark:"ProductTeaser-module_horizontalLineDark__Sg-Ou",addOnSectionIcon:"ProductTeaser-module_addOnSectionIcon__9-EoX",toggleSection:"ProductTeaser-module_toggleSection__2az0R",toggle:"ProductTeaser-module_toggle__GClvg",serviceUnavail:"ProductTeaser-module_serviceUnavail__Pe52H",priceWrapper:"ProductTeaser-module_priceWrapper__7TC6y",slider:"ProductTeaser-module_slider__-V4R1",line:"ProductTeaser-module_line__mbJxT",clicked:"ProductTeaser-module_clicked__A9jUK",priceDuration:"ProductTeaser-module_priceDuration__TeeO9",callCart:"ProductTeaser-module_callCart__YLJSL",disableCallcart:"ProductTeaser-module_disableCallcart__-M8Od",priceDesc:"ProductTeaser-module_priceDesc__8Er0h"};_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ProductTeaser-module_carouselContainer__RzBpK {\n position: static;\n margin-top: 32px;\n border-radius: 24px;\n}\n@media (min-width: 768px) {\n .ProductTeaser-module_carouselContainer__RzBpK {\n box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_arrowButton__-AkY4, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n background: #ffffff;\n box-shadow: 0px 4px 12px rgba(87, 84, 82, 0.2);\n border-radius: 24px;\n font-size: 16px;\n height: 44px;\n width: 44px;\n padding: 10px;\n position: absolute;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_arrowButton__-AkY4::before, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm::before, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F::before {\n color: #da291c;\n font-size: 20px;\n display: block;\n font-family: revicons;\n text-align: center;\n z-index: 1;\n position: relative;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: 22px;\n top: 253px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: 16px;\n top: 263px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: -32px;\n top: 278px;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F::before {\n content: "\\e825";\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F:disabled {\n background: #E6E3DF;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: 22px;\n top: 253px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: 16px;\n top: 263px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: -32px;\n top: 278px;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm::before {\n content: "\\e824";\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm:disabled {\n background: #E6E3DF;\n}\n\n.ProductTeaser-module_stageTeaserTab__VYRxL, .ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n border-radius: 40px;\n border: none;\n color: #5f5955;\n background-color: #ffffff;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n padding: 10px 24px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_stageTeaserTab__VYRxL, .ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n max-width: 158px;\n }\n}\n\n.ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n color: #ffffff;\n background: #da291c;\n}\n\n.ProductTeaser-module_carousel_dot__zxG-A {\n border-radius: 50px;\n background-color: #ffffff;\n border: 2px solid rgba(61, 57, 53, 0.25);\n padding: 1px;\n width: fit-content;\n margin: 0 auto;\n position: absolute;\n top: -24px;\n height: fit-content;\n}\n\n.ProductTeaser-module_carouselItem__vtLwf {\n position: relative;\n width: 100%;\n}\n.ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_teaserImage__sQ3ed {\n object-fit: cover;\n object-position: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_carouselItem__vtLwf {\n display: flex;\n justify-content: center;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_teaserImage__sQ3ed {\n border-radius: 24px;\n position: absolute;\n }\n}\n\n.ProductTeaser-module_contentWrapper__3GKwX {\n position: absolute;\n left: 80px;\n top: 40px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_contentWrapper__3GKwX {\n max-width: 460px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_contentWrapper__3GKwX {\n left: 24px;\n max-width: 460px;\n }\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n text-align: center;\n left: unset;\n top: unset;\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_featureSection__T-YzP {\n position: relative;\n right: unset;\n top: unset;\n margin-top: 24px;\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_priceContainer__CzBhB {\n position: relative;\n top: unset;\n bottom: unset;\n margin-top: 24px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_contentMobWrapper__9rRLQ {\n position: relative;\n margin: 0 16px;\n width: 100%;\n }\n}\n@media (max-width: 320px) {\n .ProductTeaser-module_contentMobWrapper__9rRLQ {\n margin: 0 8px;\n }\n}\n\n.ProductTeaser-module_titleSection__YqXUJ {\n position: absolute;\n top: 173px;\n left: 107px;\n color: #ffffff;\n font-weight: 700;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n max-width: 412px;\n }\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n top: unset;\n left: unset;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n text-align: center;\n top: 32px;\n left: unset;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_heading__Xim2- {\n font-size: 16px;\n line-height: 24px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_heading__Xim2- {\n font-size: 14px;\n line-height: 20px;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_fadeOutText__nKr5i {\n opacity: 0;\n transition: opacity 1s ease;\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_fadeInText__Ux98m {\n opacity: 1;\n transition: opacity 1s ease;\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_paragraph__hUonu {\n font-size: 28px;\n line-height: 36px;\n margin: 8px 0 12px 0;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_paragraph__hUonu {\n font-size: 20px;\n line-height: 28px;\n max-width: 100%;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_description__s-lyV {\n font-weight: 400;\n font-size: 16px;\n line-height: 20px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_extraSpace__HFJ2A {\n top: 62px;\n }\n}\n\n.ProductTeaser-module_featureSection__T-YzP {\n position: absolute;\n right: 107px;\n top: 129px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_featureSection__T-YzP {\n max-width: 412px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureSection__T-YzP {\n right: unset;\n top: unset;\n margin-top: 397px;\n font-size: 14px;\n line-height: 20px;\n background-color: #ffffff;\n color: #3D3935;\n border-radius: 12px;\n position: relative;\n height: fit-content;\n }\n}\n.ProductTeaser-module_featureSection__T-YzP .ProductTeaser-module_toolTip__KL7Xx {\n filter: brightness(0) invert(1);\n margin-left: 16px;\n display: flex;\n align-items: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureSection__T-YzP .ProductTeaser-module_toolTip__KL7Xx {\n filter: none;\n }\n}\n\n.ProductTeaser-module_gradiantBox__Eys-K, .ProductTeaser-module_addOnSection__G4zhX, .ProductTeaser-module_featureList__gmPS1 {\n border-radius: 12px;\n background: rgba(0, 0, 0, 0.2);\n backdrop-filter: blur(12.5px);\n color: #ffffff;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_gradiantBox__Eys-K, .ProductTeaser-module_addOnSection__G4zhX, .ProductTeaser-module_featureList__gmPS1 {\n background: none;\n color: unset;\n backdrop-filter: unset;\n }\n}\n\n.ProductTeaser-module_featureList__gmPS1 {\n padding: 4px 20px;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu {\n display: flex;\n align-items: center;\n margin: 12px 0;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu .ProductTeaser-module_toolTip__KL7Xx {\n margin-left: auto;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu img {\n margin-right: 10px;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu span {\n color: #ffffff;\n text-decoration: underline;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu span {\n color: #3d3935;\n }\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_horizontalLine__Nfj9U, .ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_horizontalLineDark__Sg-Ou {\n opacity: 0.5;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);\n height: 1px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureList__gmPS1 {\n border-radius: 12px 12px 0px 0px;\n }\n}\n\n.ProductTeaser-module_addOnSection__G4zhX {\n padding: 16px 20px;\n margin-top: 16px;\n display: flex;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_addOnSectionIcon__9-EoX {\n margin-right: 10px;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R {\n margin-left: auto;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R .ProductTeaser-module_toggle__GClvg {\n margin-right: 10px;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R input {\n cursor: pointer;\n margin-top: unset;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R input:focus {\n border: unset !important;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_addOnSection__G4zhX {\n border-radius: 0px 0px 12px 12px;\n margin-top: 0px;\n padding: 12px 20px;\n align-items: center;\n }\n}\n\n.ProductTeaser-module_priceContainer__CzBhB {\n position: absolute;\n bottom: 40px;\n width: 100%;\n color: #ffffff;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_serviceUnavail__Pe52H {\n text-align: center;\n margin-bottom: 10px;\n font-size: 16px;\n line-height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_serviceUnavail__Pe52H img {\n margin-right: 8px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB {\n color: #3D3935;\n position: static;\n display: flex;\n justify-content: center;\n flex-direction: column;\n padding: 16px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y {\n margin-right: unset;\n flex-direction: column;\n font-size: 20px;\n line-height: 28px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 {\n height: 28px;\n overflow: hidden;\n margin-right: 12px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT {\n transition: transform 0.5s ease;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 {\n margin-bottom: 8px;\n margin-right: unset;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_clicked__A9jUK .ProductTeaser-module_line__mbJxT {\n transform: translateY(-100%);\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_priceDuration__TeeO9 {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n display: inline-block;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 10px 24px;\n font-weight: 700;\n border: none;\n background-color: #da291c;\n color: #ffffff;\n border-radius: 28px;\n display: flex;\n align-items: center;\n font-size: 16px;\n line-height: 24px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL img {\n margin-left: 8px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 14px 24px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 10px 24px;\n max-width: 100%;\n display: flex;\n justify-content: center;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_disableCallcart__-M8Od {\n background-color: #e6e3df;\n color: #b3aeaa;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDesc__8Er0h {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDesc__8Er0h {\n font-size: 14px;\n line-height: 20px;\n margin-top: 8px;\n }\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_horizontalLineDark__Sg-Ou {\n margin: 0 16px;\n height: 1px;\n background-color: #e6e3df;\n }\n}');class ce{constructor(e){this.config={baseURL:"",cartURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.config=e}}ce.getInstance=()=>ce.instance,ce.create=e=>{ce.instance=new ce(e)};var ue="ToolTip-module_tooltipicon__U5Rvt";_(".ToolTip-module_tooltipicon__U5Rvt {\n height: 24px;\n margin-left: 4px;\n min-width: 20px;\n width: 24px;\n cursor: pointer;\n}");const se=({content:n,tooltipClass:t=""})=>{var o;const l=V(),r=S(),a=null===(o=null==g?void 0:g.getInstance())||void 0===o?void 0:o.getAssetPath();return n&&e.createElement(i.OverlayTrigger,{placement:"auto",rootClose:!0,trigger:""+("mobile"===l||"tablet"===l||r?"click":"hover"),overlay:n&&e.createElement(i.Popover,{id:"popover-basic"},e.createElement(i.Popover.Body,null,n))},e.createElement("div",{className:`${ue} ${t}`},a&&e.createElement("img",{src:`${a}/icons/tooltip_icon.svg`,width:24,height:24,alt:""})))},me=({content:n,slides:t,index:o,offeringData:l,lineCheckCallBack:i})=>{var r,a,d,u,s,p,v,_,h,b,f,x,y,T,E,w,k,C,S,L,N,O,I,A,M,U,W;const G=null===(r=null==g?void 0:g.getInstance())||void 0===r?void 0:r.getAssetPath(),X=null===(a=null==ce?void 0:ce.getInstance())||void 0===a?void 0:a.getCartUrl(),[K,H]=e.useState(!1),Y=c.get("chAddressJson"),Z=V(),Q=()=>{var o,r,a,d,u,s,m,p,v,_,h,g,b,f,x,y,T,E,w,k,C;let V,S;const L=localStorage.getItem("lineCheckResponse"),N=L&&JSON.parse(L),O=K?null==t?void 0:t.tvProductId:null==t?void 0:t.productId,I=Y&&N&&(null==N?void 0:N.eligibleBundle.includes(O));return V=(null===(o=l[null==t?void 0:t.productId])||void 0===o?void 0:o.derivedPrice)?null===(d=null===(a=null===(r=l[null==t?void 0:t.productId])||void 0===r?void 0:r.derivedPrice)||void 0===a?void 0:a[0])||void 0===d?void 0:d.value:null===(m=null===(s=null===(u=l[null==t?void 0:t.productId])||void 0===u?void 0:u.prices)||void 0===s?void 0:s[0])||void 0===m?void 0:m.value,S=(null===(p=l[null==t?void 0:t.tvProductId])||void 0===p?void 0:p.derivedPrice)?null===(h=null===(_=null===(v=l[null==t?void 0:t.tvProductId])||void 0===v?void 0:v.derivedPrice)||void 0===_?void 0:_[0])||void 0===h?void 0:h.value:null===(f=null===(b=null===(g=l[null==t?void 0:t.tvProductId])||void 0===g?void 0:g.prices)||void 0===b?void 0:b[0])||void 0===f?void 0:f.value,e.createElement("div",{className:de.priceContainer},Y&&(null===(x=null==Object?void 0:Object.keys(Y))||void 0===x?void 0:x.length)>0&&!I&&(null==t?void 0:t.productType)===D&&e.createElement("div",{className:de.serviceUnavail},e.createElement("img",{src:`${G}/icons/not-available.svg`,alt:"",width:24,height:24}),null==n?void 0:n.serviceabilityError),(null===(E=null===(T=null===(y=l[null==t?void 0:t.productId])||void 0===y?void 0:y.prices)||void 0===T?void 0:T[0])||void 0===E?void 0:E.value)>0&&e.createElement("span",{className:de.priceWrapper},e.createElement("div",{className:`${de.slider} ${K&&(null==t?void 0:t.productType)===D&&de.clicked}`},V&&e.createElement("div",{className:de.line},B," ",P(V),e.createElement("p",{className:de.priceDuration},null==t?void 0:t.conDuration)),S&&e.createElement("div",{className:de.line},B," ",P(S),e.createElement("p",{className:de.priceDuration},null==t?void 0:t.conDuration))),e.createElement("button",{onClick:()=>(e=>{var n,t;if((null==e?void 0:e.productType)===D){const t=localStorage.getItem("lineCheckResponse"),o=t&&JSON.parse(t),r=c.get("one-commerce-linecheckcorrelationid"),a=K?null==e?void 0:e.tvProductId:null==e?void 0:e.productId,d=Y&&o&&(null==o?void 0:o.eligibleBundle.includes(a));o&&Y&&r?d&&0!==(null===(n=Object.keys(l))||void 0===n?void 0:n.length)&&J([l[a]],"",(null==e?void 0:e.promoId)?null==e?void 0:e.promoId:z,X,null==e?void 0:e.productType).then((n=>{var t;c.remove("one-commerce-cartId",{path:"/"}),c.set("one-commerce-cartId",null==n?void 0:n.id,{path:"/"}),c.set("cartProduct",a,{path:"/"}),c.remove("landline"),window.location.href=null===(t=null==e?void 0:e.summaryURL)||void 0===t?void 0:t.cached_url})).catch((e=>{console.log(e)})):"function"==typeof i&&i()}else(null==e?void 0:e.productType)===R&&0!==(null===(t=Object.keys(l))||void 0===t?void 0:t.length)&&J([l[null==e?void 0:e.productId]],"",(null==e?void 0:e.promoId)?null==e?void 0:e.promoId:F,X,null==e?void 0:e.productType).then((n=>{var t;c.remove("one-commerce-cartId",{path:"/"}),c.set("one-commerce-cartId",null==n?void 0:n.id,{path:"/"}),c.set("cartProduct",null==e?void 0:e.productId,{path:"/"}),window.location.href=null===(t=null==e?void 0:e.summaryURL)||void 0===t?void 0:t.cached_url})).catch((e=>{console.log(e)}))})(t),className:`${de.callCart} ${Y&&(null===(w=null==Object?void 0:Object.keys(Y))||void 0===w?void 0:w.length)>0&&!I&&(null==t?void 0:t.productType)===D?de.disableCallcart:""}`,disabled:Y&&(null===(k=null==Object?void 0:Object.keys(Y))||void 0===k?void 0:k.length)>0&&!I&&(null==t?void 0:t.productType)===D},null==t?void 0:t.buttonLbl,e.createElement("img",{src:null===(C=null==n?void 0:n.btnIcon)||void 0===C?void 0:C.filename,alt:"tv",width:24,height:24}))),e.createElement("div",{className:de.priceDesc},null==t?void 0:t.priceDesc))};return e.createElement("div",{className:de.carouselItem,key:o},("large-desktop"===Z||Z===$)&&(null===(d=null==t?void 0:t.desktopBGImage)||void 0===d?void 0:d.filename)&&e.createElement("img",{src:null===(u=null==t?void 0:t.desktopBGImage)||void 0===u?void 0:u.filename,alt:"",width:"100%",height:"550px",className:de.teaserImage}),Z===j&&(null===(s=null==t?void 0:t.tabBGImage)||void 0===s?void 0:s.filename)&&e.createElement("img",{src:null===(p=null==t?void 0:t.tabBGImage)||void 0===p?void 0:p.filename,alt:"",width:"100%",height:"550px",className:de.teaserImage}),Z===R&&(null===(v=null==t?void 0:t.mobileBGImage)||void 0===v?void 0:v.filename)&&e.createElement("img",{src:null===(_=null==t?void 0:t.mobileBGImage)||void 0===_?void 0:_.filename,alt:"",width:"100%",height:"500px",className:de.teaserImage}),e.createElement("div",{className:`${Z===j||Z===$?de.contentWrapper:de.contentMobWrapper}`},e.createElement("div",{className:`${de.titleSection} ${(null===(h=null==n?void 0:n.productTeaserSlides)||void 0===h?void 0:h.length)>1&&de.extraSpace}`},(null==t?void 0:t.heading)&&e.createElement(e.Fragment,null,!K&&e.createElement("div",{className:`${de.heading}`},null==t?void 0:t.heading),(null==t?void 0:t.tvSubHeading)&&K&&e.createElement("div",{className:`${de.heading} ${K?de.fadeInText:de.fadeOutText}`},null==t?void 0:t.tvSubHeading)),(null==t?void 0:t.subHeading)&&e.createElement("div",{className:de.paragraph},null==t?void 0:t.subHeading),(null==t?void 0:t.description)&&e.createElement("div",{className:de.description},e.createElement(q,{content:null==t?void 0:t.description}))),e.createElement("div",{className:de.featureSection},(null===(b=null==t?void 0:t.details)||void 0===b?void 0:b.length)>0&&e.createElement("div",{className:de.featureList},null===(f=(null==t?void 0:t.details)||[])||void 0===f?void 0:f.map(((n,t)=>{var o,l,i;return e.createElement(e.Fragment,null,t>0&&Z!==R&&e.createElement("div",{className:de.horizontalLine}),e.createElement("div",{className:de.features},(null===(o=null==n?void 0:n.icon)||void 0===o?void 0:o.filename)&&e.createElement("img",{src:Z===R?null===(l=null==n?void 0:n.mobIcon)||void 0===l?void 0:l.filename:null===(i=null==n?void 0:n.icon)||void 0===i?void 0:i.filename,alt:"icon",width:24,height:24}),(null==n?void 0:n.text)&&e.createElement(e.Fragment,null,e.createElement(q,{content:null==n?void 0:n.text,linkAsTooltip:!0,toolTipText:null==n?void 0:n.linkTxt}),(null==n?void 0:n.tooltipTxt)&&e.createElement(se,{content:null==n?void 0:n.tooltipTxt,tooltipClass:de.toolTip}))))}))),Z===R&&(null==t?void 0:t.productType)===D&&(null===(x=Object.keys(l))||void 0===x?void 0:x.length)>0&&e.createElement("div",{className:de.horizontalLineDark}),(null==t?void 0:t.productType)===D&&(null===(y=null==t?void 0:t.tvDetails)||void 0===y?void 0:y.length)>0&&""!==(null==t?void 0:t.tvProductId)&&e.createElement("div",{className:de.addOnSection},e.createElement("img",{src:Z===R?null===(w=null===(E=null===(T=null==t?void 0:t.tvDetails)||void 0===T?void 0:T[0])||void 0===E?void 0:E.mobIcon)||void 0===w?void 0:w.filename:null===(S=null===(C=null===(k=null==t?void 0:t.tvDetails)||void 0===k?void 0:k[0])||void 0===C?void 0:C.icon)||void 0===S?void 0:S.filename,className:de.addOnSectionIcon,alt:"tv",width:24,height:24}),e.createElement(q,{content:null===(N=null===(L=null==t?void 0:t.tvDetails)||void 0===L?void 0:L[0])||void 0===N?void 0:N.text}),e.createElement("span",{className:`d-flex align-items-center ${de.toggleSection}`},e.createElement("span",{className:de.toggle},null==t?void 0:t.tvPrice),e.createElement(m,null,e.createElement(m.Check,{type:"switch",readOnly:!0,onClick:()=>H(!K),checked:K})),(null===(I=null===(O=null==t?void 0:t.tvDetails)||void 0===O?void 0:O[0])||void 0===I?void 0:I.tooltipTxt)&&e.createElement(se,{content:null===(M=null===(A=null==t?void 0:t.tvDetails)||void 0===A?void 0:A[0])||void 0===M?void 0:M.tooltipTxt,tooltipClass:de.toolTip}))),Z===R&&(null===(U=Object.keys(l))||void 0===U?void 0:U.length)>0&&e.createElement(e.Fragment,null,e.createElement("div",{className:de.horizontalLineDark}),Q())),Z!==R&&(null===(W=Object.keys(l))||void 0===W?void 0:W.length)>0&&e.createElement(e.Fragment,null,Q())))};var pe={tabblock:"LineTableV3-module_tabblock__RT8F7",tabcontainer:"LineTableV3-module_tabcontainer__yoOyh",tabs:"LineTableV3-module_tabs__yAuu1",flexgrid:"LineTableV3-module_flexgrid__-yK7t",tabcontent:"LineTableV3-module_tabcontent__SRFXx",tabcontentactive:"LineTableV3-module_tabcontentactive__O-Bx4",tabcontentinactive:"LineTableV3-module_tabcontentinactive__QssoB",productcenter:"LineTableV3-module_productcenter__dJOxq",selected:"LineTableV3-module_selected__BQ-1W",inactiveicon:"LineTableV3-module_inactiveicon__F2il-",activeicon:"LineTableV3-module_activeicon__KF5V6",productcard:"LineTableV3-module_productcard__DerLh",titlecontainer:"LineTableV3-module_titlecontainer__MxMVB",title:"LineTableV3-module_title__wJh9k",description:"LineTableV3-module_description__a9gDY",productcontainer:"LineTableV3-module_productcontainer__r6eW3",productheader:"LineTableV3-module_productheader__ABVZv",productdescription:"LineTableV3-module_productdescription__eQkZI",productdetailswrapper:"LineTableV3-module_productdetailswrapper__2iyF7",productdetails:"LineTableV3-module_productdetails__d-3nO",productname:"LineTableV3-module_productname__rZDbH",icon:"LineTableV3-module_icon__RLfki",displayname:"LineTableV3-module_displayname__4jFfp",productdetailsdescription:"LineTableV3-module_productdetailsdescription__c-OwM",showmore:"LineTableV3-module_showmore__o16-Q",entitlement:"LineTableV3-module_entitlement__-okqD",entitlementvalue:"LineTableV3-module_entitlementvalue__VXoee",proddescription:"LineTableV3-module_proddescription__Gy12t",disabled:"LineTableV3-module_disabled__8ABhu",entitlementicon:"LineTableV3-module_entitlementicon__Baiv1",bundletooltip:"LineTableV3-module_bundletooltip__NNkP7",ordersection:"LineTableV3-module_ordersection__JxERw",optioncontainer:"LineTableV3-module_optioncontainer__5Iq2k",optionlist:"LineTableV3-module_optionlist__l77Xh",optiontitle:"LineTableV3-module_optiontitle__-9LCh",optionwrapper:"LineTableV3-module_optionwrapper__KhMtQ",text:"LineTableV3-module_text__mGMJw",pricesection:"LineTableV3-module_pricesection__UeR7S",discountedprice:"LineTableV3-module_discountedprice__cmfJn",duration:"LineTableV3-module_duration__b84yX",basePriceAfterDiscount:"LineTableV3-module_basePriceAfterDiscount__nc6cq",pricedisplay:"LineTableV3-module_pricedisplay__LSPcJ",blockskeleton:"LineTableV3-module_blockskeleton__XL-B7",productcontractduration:"LineTableV3-module_productcontractduration__Z2alP",buttontext:"LineTableV3-module_buttontext__zRD8D",buttondisabled:"LineTableV3-module_buttondisabled__HGHeR",buttontextdisabled:"LineTableV3-module_buttontextdisabled__XK6g-",addtocart:"LineTableV3-module_addtocart__FFHAw",productdetailslink:"LineTableV3-module_productdetailslink__zpVbJ",overlay:"LineTableV3-module_overlay__K6gGy",skeletontittle:"LineTableV3-module_skeletontittle__Wu6tZ",skeletonline:"LineTableV3-module_skeletonline__pXS60",space:"LineTableV3-module_space__DFFVs",newmodal:"LineTableV3-module_newmodal__FOvvH",tvHeading:"LineTableV3-module_tvHeading__mMLQZ",changeBtn:"LineTableV3-module_changeBtn__eVOuq",carouselpadding:"LineTableV3-module_carouselpadding__9zdTY",highlightText:"LineTableV3-module_highlightText__1QY-c",highlightBorder:"LineTableV3-module_highlightBorder__-1ffJ"};_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.LineTableV3-module_tabblock__RT8F7 {\n justify-content: center;\n padding-top: 40px;\n}\n\n.LineTableV3-module_tabcontainer__yoOyh {\n border: 1px solid #3d3935;\n border-radius: 35px;\n display: flex;\n margin-bottom: 0;\n padding: 4px !important;\n}\n@media (max-width: 767px) {\n .LineTableV3-module_tabcontainer__yoOyh {\n border-radius: 8px;\n }\n}\n\n.LineTableV3-module_tabs__yAuu1 {\n display: flex;\n justify-content: center;\n text-align: center;\n width: 100%;\n}\n\n.LineTableV3-module_flexgrid__-yK7t {\n display: flex;\n}\n\n.LineTableV3-module_tabcontent__SRFXx {\n align-items: center;\n border-radius: 35px;\n cursor: pointer;\n display: flex;\n font-size: 16px;\n font-weight: 700;\n justify-content: center;\n line-height: 24px;\n padding: 10px 12px;\n width: 100%;\n}\n@media (max-width: 767px) {\n .LineTableV3-module_tabcontent__SRFXx {\n border-radius: 8px;\n }\n}\n\n.LineTableV3-module_tabcontentactive__O-Bx4 {\n background-color: #da291c;\n border-radius: 35px;\n color: white !important;\n}\n.LineTableV3-module_tabcontentactive__O-Bx4:hover {\n background-color: #961c13;\n}\n@media (max-width: 767px) {\n .LineTableV3-module_tabcontentactive__O-Bx4 {\n border-radius: 8px;\n }\n}\n\n.LineTableV3-module_tabcontentinactive__QssoB:hover {\n color: #961c13;\n}\n\ninput[type=radio] {\n display: none;\n}\n\n.LineTableV3-module_productcenter__dJOxq {\n flex-direction: column;\n margin-left: 10px;\n margin-right: 10px;\n text-align: center;\n align-items: center;\n height: 100%;\n}\n\n.LineTableV3-module_selected__BQ-1W {\n font-size: 16px;\n line-height: 24px;\n align-items: center;\n color: #606060;\n display: inline-flex;\n font-weight: 500;\n margin-bottom: 12px;\n margin-right: 50px;\n margin-top: 4px;\n}\n.LineTableV3-module_selected__BQ-1W .LineTableV3-module_inactiveicon__F2il- {\n height: 32px;\n margin-right: 12px;\n width: 32px;\n}\n.LineTableV3-module_selected__BQ-1W .LineTableV3-module_activeicon__KF5V6 {\n height: 32px;\n margin-right: 12px;\n width: 32px;\n}\n\n.LineTableV3-module_productcard__DerLh {\n margin-top: 16px;\n position: relative;\n padding: 8px 8px 20px;\n background-color: #fff;\n text-align: left;\n border-radius: 8px;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n box-shadow: 0 2px 4px 0 rgba(87, 84, 82, 0.2);\n}\n\n.LineTableV3-module_titlecontainer__MxMVB {\n padding-bottom: 24px;\n}\n\n.LineTableV3-module_title__wJh9k {\n text-align: center;\n font-size: 24px;\n line-height: 30px;\n font-weight: 700;\n padding-top: 20px;\n}\n\n.LineTableV3-module_description__a9gDY {\n text-align: center;\n font-size: 16px;\n line-height: 24px;\n}\n\n.LineTableV3-module_productcontainer__r6eW3 {\n background-color: #fff;\n border-radius: 0 0 4px 4px;\n padding: 12px 8px 8px;\n text-align: left;\n height: 100%;\n}\n\n.LineTableV3-module_productheader__ABVZv {\n display: flex;\n align-items: center;\n font-weight: 700;\n font-size: 28px;\n line-height: 36px;\n margin-bottom: 6px;\n}\n\n.LineTableV3-module_productdescription__eQkZI {\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n color: #587467;\n}\n\n.LineTableV3-module_productdetailswrapper__2iyF7 {\n margin-bottom: 16px;\n}\n\n.LineTableV3-module_productdetails__d-3nO {\n border-top: 1px solid #e6e3df;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_productname__rZDbH {\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n margin: 10px 0 0;\n display: flex;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_productname__rZDbH .LineTableV3-module_icon__RLfki {\n height: 20px;\n width: 20px;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_productname__rZDbH .LineTableV3-module_displayname__4jFfp {\n width: calc(100% - 48px);\n margin-left: 8px;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_productdetailsdescription__c-OwM {\n margin-top: 6px;\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n margin-left: 32px;\n}\n.LineTableV3-module_productdetails__d-3nO .LineTableV3-module_showmore__o16-Q {\n color: #da291c;\n margin: 6px 0 0 32px;\n cursor: pointer;\n font-size: 14px;\n line-height: 20px;\n}\n\n.LineTableV3-module_entitlement__-okqD {\n margin-left: 32px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_entitlementvalue__VXoee {\n display: flex;\n margin-top: 6px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_proddescription__Gy12t {\n font-size: 14px;\n line-height: 20px;\n color: #606060;\n display: inline-block;\n font-weight: 500;\n margin-right: 6px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_disabled__8ABhu {\n font-size: 14px;\n line-height: 20px;\n opacity: 0.4;\n color: #606060;\n display: inline-block;\n font-weight: 500;\n margin-right: 6px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_entitlementicon__Baiv1 {\n align-self: center;\n margin-right: 8px;\n min-width: 20px;\n}\n.LineTableV3-module_entitlement__-okqD .LineTableV3-module_bundletooltip__NNkP7 {\n float: right;\n position: relative;\n top: 2px;\n}\n\n.LineTableV3-module_ordersection__JxERw {\n flex-direction: column;\n justify-content: flex-end;\n width: 100%;\n height: 100%;\n padding: 10px;\n}\n\n.LineTableV3-module_optioncontainer__5Iq2k {\n background: rgba(153, 178, 167, 0.1);\n margin: 0 8px 10px;\n border: 1px solid #B6C8C0;\n border-radius: 8px;\n padding: 8px 16px 16px;\n}\n.LineTableV3-module_optioncontainer__5Iq2k .LineTableV3-module_optionlist__l77Xh {\n margin-top: 2px;\n}\n.LineTableV3-module_optioncontainer__5Iq2k .LineTableV3-module_optionlist__l77Xh .LineTableV3-module_optiontitle__-9LCh {\n font-size: 16px;\n line-height: 24px;\n font-weight: bold;\n}\n.LineTableV3-module_optioncontainer__5Iq2k .LineTableV3-module_optionlist__l77Xh .LineTableV3-module_optionwrapper__KhMtQ {\n display: flex;\n justify-content: space-between;\n margin-top: 12px;\n font-size: 14px;\n line-height: 20px;\n color: #606060;\n font-weight: 500;\n min-height: 24px;\n}\n.LineTableV3-module_optioncontainer__5Iq2k .LineTableV3-module_optionlist__l77Xh .LineTableV3-module_optionwrapper__KhMtQ .LineTableV3-module_text__mGMJw > div > p > b {\n color: #5e94cf;\n}\n\n.LineTableV3-module_pricesection__UeR7S {\n justify-content: center;\n margin: 4px;\n padding: 10px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_discountedprice__cmfJn {\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_duration__b84yX {\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_basePriceAfterDiscount__nc6cq {\n font-weight: 700;\n font-size: 20px;\n line-height: 28px;\n position: relative;\n padding-left: 10px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_basePriceAfterDiscount__nc6cq::after {\n content: "";\n position: absolute;\n right: -1px;\n left: 8px;\n top: 50%;\n border-bottom: 2px solid #e6003c;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_pricedisplay__LSPcJ {\n padding: 4px;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n}\n.LineTableV3-module_pricesection__UeR7S .LineTableV3-module_blockskeleton__XL-B7 {\n height: 15px;\n top: 5px;\n bottom: 5px;\n}\n\n.LineTableV3-module_productcontractduration__Z2alP {\n padding: 4px;\n text-align: center;\n font-weight: 400;\n font-size: 12px;\n line-height: 16px;\n margin: 10px;\n}\n\n.LineTableV3-module_buttontext__zRD8D {\n font-size: 16px;\n line-height: 24px;\n color: #ffffff;\n font-weight: bold;\n text-align: center;\n}\n\n.LineTableV3-module_buttondisabled__HGHeR {\n text-align: center;\n background: #e5e5e5;\n border: none;\n border-radius: 28px;\n padding: 14px 24px;\n width: 100%;\n}\n\n.LineTableV3-module_buttontextdisabled__XK6g- {\n font-size: 16px;\n line-height: 24px;\n color: #606060;\n text-align: center;\n}\n\n.LineTableV3-module_addtocart__FFHAw {\n text-align: center;\n margin-top: 15px;\n border-top: 1px solid #e6e3df;\n}\n\n.LineTableV3-module_productdetailslink__zpVbJ {\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n color: #da291c;\n text-decoration: underline;\n}\n\n.LineTableV3-module_overlay__K6gGy {\n cursor: default;\n display: block;\n opacity: 0.4;\n pointer-events: none;\n}\n\n.LineTableV3-module_skeletontittle__Wu6tZ {\n height: 50px;\n}\n\n.LineTableV3-module_skeletonline__pXS60 {\n height: 15px;\n margin: 8px 0;\n}\n\n.LineTableV3-module_space__DFFVs {\n margin: 20px 0;\n}\n\n.LineTableV3-module_newmodal__FOvvH {\n margin-top: 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n border: 1px solid black;\n border-radius: 8px;\n min-height: 38px;\n margin-left: 28px;\n font-size: 14px;\n line-height: 20px;\n}\n.LineTableV3-module_newmodal__FOvvH .LineTableV3-module_tvHeading__mMLQZ {\n width: 100%;\n margin-left: 10px;\n font-weight: 700;\n font-size: 14px;\n line-height: 20px;\n}\n.LineTableV3-module_newmodal__FOvvH .LineTableV3-module_changeBtn__eVOuq {\n color: #da291c;\n}\n.LineTableV3-module_newmodal__FOvvH > img {\n margin: 4px 10px 0 4px;\n}\n\n@media (min-width: 1440px) {\n .LineTableV3-module_carouselpadding__9zdTY {\n padding: 0 90px;\n }\n}\n\n.LineTableV3-module_highlightText__1QY-c {\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n color: #fff;\n background-color: #587467;\n padding: 6px 6px;\n min-height: 24px;\n position: absolute;\n top: -18px;\n left: 24px;\n right: 24px;\n width: fit-content;\n border-radius: 4px;\n z-index: 5;\n}\n\n.LineTableV3-module_highlightBorder__-1ffJ {\n border: 4px solid #587467;\n}');const ve=n=>{var t,o;const l={superLargeDesktop:{breakpoint:{max:1e4,min:7e3},items:5},desktop:{breakpoint:{max:7e3,min:1024},items:3},tablet:{breakpoint:{max:1023,min:768},items:2},mobile:{breakpoint:{max:767,min:0},items:1,partialVisibilityGutter:(null===(t=null==n?void 0:n.children)||void 0===t?void 0:t.length)>1?40:5}},i=V(),r=e.useRef(),a=parseInt(n.carouselIndex,10);let d=!1;return e.useEffect((()=>{const e=window.innerWidth;d=e<767,setTimeout((()=>{var e;(!d&&a>2||d)&&(null===(e=r.current)||void 0===e||e.goToSlide(a,!1))}),400)}),[n.children.length]),e.createElement(s,{responsive:l,renderButtonGroupOutside:!0,partialVisible:!0,swipeable:!0,autoPlay:!1,shouldResetAutoplay:!1,arrows:!0,showDots:"mobile"===i||(null===(o=null==n?void 0:n.children)||void 0===o?void 0:o.length)>3,ref:r},n.children)},_e=({content:n})=>{const[t,o]=e.useState(!1);return e.useEffect((()=>{o(n.disabled)}),[n]),e.createElement("div",{className:pe.entitlement},e.createElement("div",{className:pe.entitlementvalue},n.icon.filename&&e.createElement("div",{className:pe.entitlementicon},e.createElement("img",{src:n.icon.filename,width:20,height:20})),e.createElement("div",{className:t?pe.disabled:pe.proddescription},n.value,n.toolTipText&&e.createElement("div",{className:pe.bundletooltip},e.createElement(se,{content:n.toolTipText})))))},he=({content:n,indexKey:t,listlength:o,showModalPopup:l,sbStaticConstants:i,tabIndex:r,bundleIndexKey:a})=>{var d,c,u,s,m,p,v,_,h,b,f,x,y,T,E,P,k,C,V,S,L,N,O;const[I,A]=e.useState(!1),B=e.useRef(null),D=null===(d=null==g?void 0:g.getInstance())||void 0===d?void 0:d.getAssetPath();e.useEffect((()=>{setTimeout((()=>{z()}),100)}),[I]);const z=()=>{w("productdetails",o),w(`product-entitlement${r}`,o)};return e.createElement("div",{className:pe.productdetailswrapper,ref:B},e.createElement("div",{className:pe.productdetails},e.createElement("div",{className:pe.productname,id:`wrapV3${t}`},(null===(s=null===(u=null===(c=n.bundleConfig)||void 0===c?void 0:c[0])||void 0===u?void 0:u.bundleIcon)||void 0===s?void 0:s.filename)?e.createElement("span",null,e.createElement("img",{src:null===(v=null===(p=null===(m=n.bundleConfig)||void 0===m?void 0:m[0])||void 0===p?void 0:p.bundleIcon)||void 0===v?void 0:v.filename,alt:"img",width:24,height:24})):"",e.createElement("span",{className:pe.displayname},(null===(h=null===(_=n.bundleConfig)||void 0===_?void 0:_[0])||void 0===h?void 0:h.bundleDisplayName)?null===(f=null===(b=n.bundleConfig)||void 0===b?void 0:b[0])||void 0===f?void 0:f.bundleDisplayName:n.displayName),n.toolTipText&&e.createElement("div",{className:pe.bundletooltip},e.createElement(se,{content:null==n?void 0:n.toolTipText}))),"TV"==(null==n?void 0:n.poType)&&["NETFLIX","SPORTS"].includes(null==n?void 0:n.tvGroup)&&e.createElement("div",{className:pe.newmodal,onClick:()=>{l()}},e.createElement("div",{className:pe.tvHeading},(null==n?void 0:n.tvChannelName)||(null==n?void 0:n.tvGroup)&&(null==n?void 0:n.displayName)),e.createElement("div",{className:pe.changeBtn},null==i?void 0:i.changeText),e.createElement("img",{src:`${D}/icons/chevron-down-red.svg`,height:24,width:24,alt:""})),(null===(y=null===(x=n.bundleConfig)||void 0===x?void 0:x[0])||void 0===y?void 0:y.includeDescription)?e.createElement("div",{className:pe.productdetailsdescription,id:`entitledespV3${t}`},e.createElement(q,{content:(null===(E=null===(T=n.bundleConfig)||void 0===T?void 0:T[0])||void 0===E?void 0:E.description)?null===(k=null===(P=n.bundleConfig)||void 0===P?void 0:P[0])||void 0===k?void 0:k.description:n.description})):e.createElement(e.Fragment,null,(null===(V=null===(C=null==n?void 0:n.bundleConfig)||void 0===C?void 0:C[0])||void 0===V?void 0:V.includeEntitlement)&&(null==n?void 0:n.entitlementConfig)&&(null===(S=null==n?void 0:n.entitlementConfig)||void 0===S?void 0:S.map((n=>{var o;return n.isBundle?e.createElement("div",{key:null==n?void 0:n._uid,id:`entitledeepV3${t}`},null===(o=null==n?void 0:n.entitlementValues)||void 0===o?void 0:o.map(((n,t)=>t<2||t>1&&I?e.createElement(_e,{content:Object.assign(Object.assign({},n),{showMore:I}),key:t}):""))):""}))),(null===(O=null===(N=null===(L=null==n?void 0:n.entitlementConfig)||void 0===L?void 0:L[0])||void 0===N?void 0:N.entitlementValues)||void 0===O?void 0:O.length)>2&&e.createElement("div",{className:pe.showmore,onClick:()=>A(!I)},I?null==i?void 0:i.show_less:null==i?void 0:i.show_more))))};var ge="SkeletonLoader-module_reactloadingskeletonV3__hLl73";_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.SkeletonLoader-module_reactloadingskeletonV3__hLl73 {\n --base-color: #ebebeb;\n --highlight-color: #f5f5f5;\n --animation-duration: 1.5s;\n --animation-direction: normal;\n --pseudo-element-display: block; /* Enable animation */\n background-color: var(--base-color);\n width: 100%;\n border-radius: 0.25rem;\n display: inline-flex;\n line-height: 1;\n position: relative;\n user-select: none;\n overflow: hidden;\n}\n\n.SkeletonLoader-module_reactloadingskeletonV3__hLl73::after {\n content: " ";\n display: var(--pseudo-element-display);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-repeat: no-repeat;\n background-image: linear-gradient(90deg, var(--base-color), var(--highlight-color), var(--base-color));\n transform: translateX(-100%);\n animation-name: SkeletonLoader-module_react-loading-skeleton__G8Drm;\n animation-direction: var(--animation-direction);\n animation-duration: var(--animation-duration);\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n}\n\n@media (prefers-reduced-motion) {\n .SkeletonLoader-module_reactloadingskeletonV3__hLl73 {\n --pseudo-element-display: none; /* Disable animation */\n }\n}');const be=({count:n=1})=>e.createElement("div",null,e.createElement(p,{className:ge,count:n})),fe=({content:n,priceCollection:t,bundleProducts:o,toggleSwitch:l,sbStaticConstants:i})=>{var r,a,d,c,u,s;const m=null!==(r=null==t?void 0:t.base)&&void 0!==r?r:0;let p=null!==(c=null===(d=null===(a=null==t?void 0:t.discount)||void 0===a?void 0:a[0])||void 0===d?void 0:d.value)&&void 0!==c?c:0;null===(u=null==t?void 0:t.discount)||void 0===u||u.map((e=>{1==(null==e?void 0:e.cycleStart)&&(p=null==e?void 0:e.value)}));const v=null==t?void 0:t.discount,_=null==t?void 0:t.int_fmc,h=null==t?void 0:t.mob_fmc;let g=!1;return e.createElement("div",null,Number(m)>0?e.createElement(e.Fragment,null,e.createElement("div",{className:`${pe.pricecontainer}`},e.createElement("span",{className:`${pe.discountedprice} ${l&&!(_>0||h>0)?"":l||_>0||h>0||(null==v?void 0:v.length)>0?pe.promo:""}`},P(p>0&&!l?p:m),e.createElement("span",{className:`${pe.duration}`},null==i?void 0:i.mt)),m&&(_>0||h>0||!l&&v.length>0)&&e.createElement("span",{className:`${pe.basePriceAfterDiscount}`},P(m)),(null==o?void 0:o.toolTipText)&&e.createElement("div",{className:`${pe.costtooltip} ${pe.tooltipicon}`},e.createElement(se,{content:null==o?void 0:o.toolTipText}))),!l&&(null==v?void 0:v.length)>0&&(null===(s=null==v?void 0:v[0])||void 0===s?void 0:s.cycleEnd)&&e.createElement("div",null,e.createElement("div",{className:pe.pricedisplay},v.length>0&&v.map((n=>(720===(null==n?void 0:n.cycleEnd)&&(g=!0),e.createElement(e.Fragment,null," ",e.createElement("span",{className:pe.pricelabel},g?null==i?void 0:i.lifetime_label:e.createElement(e.Fragment,null," ",1!=n.cycleStart&&e.createElement(e.Fragment,null,"CHF"," ",P(n.value))," ",1===n.cycleStart?L(null==i?void 0:i.promo_first_lt,[n.cycleEnd]):L(null==i?void 0:i.promo_next_lt,[n.cycleEnd-n.cycleStart+1]))))))),!g&&e.createElement("span",null," ",L(null==i?void 0:i.promo_then_lt,[P(m)]))))):e.createElement(be,{stylename:pe.blockskeleton}))},xe=({content:n,priceCollection:t,sbStaticConstants:o})=>{const l=null==t?void 0:t.int_fmc,i=null==t?void 0:t.mob_fmc,r=null==t?void 0:t.mob_benefit_category;return e.createElement("div",null,e.createElement("div",{className:pe.optioncontainer},e.createElement("div",{className:pe.optionlist},e.createElement("span",{className:pe.optiontitle},null==o?void 0:o.benefits),(n||[]).map(((n,t)=>{var o,a;return"default"==(null==n?void 0:n.id)||"int_fmc"==(null==n?void 0:n.id)&&l>0&&"FMC"!=r||"multimob_fmc"==(null==n?void 0:n.id)&&i>0&&"MULTIMOBILE"==r||"combi_fmc"==(null==n?void 0:n.id)&&i>0&&"FMC"==r?e.createElement("div",{key:t,className:pe.optionwrapper},e.createElement("span",null,n&&e.createElement("span",{className:"d-flex"},(null===(o=null==n?void 0:n.icon)||void 0===o?void 0:o.filename)&&e.createElement("img",{src:null===(a=null==n?void 0:n.icon)||void 0===a?void 0:a.filename,width:24,height:24}),(null==n?void 0:n.text)&&e.createElement("span",{className:`${pe.text} ms-2`},e.createElement(q,{content:null==n?void 0:n.text})))),e.createElement("span",null,(null==n?void 0:n.tooltip)&&e.createElement(se,{content:null==n?void 0:n.tooltip}))):""})))))};var ye="ProductDetailsV2-module_productmodal__2B7qv",Te="ProductDetailsV2-module_container__dH9t4",Ee="ProductDetailsV2-module_backbtn__5E2Ow",we="ProductDetailsV2-module_closebtn__vonVN",Pe="ProductDetailsV2-module_cartbtn__lmC7O",ke="ProductDetailsV2-module_check-footer__iuqqZ";_("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n@media (min-width: 1024px) {\n .ProductDetailsV2-module_productmodal__2B7qv {\n min-width: 884px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductDetailsV2-module_productmodal__2B7qv {\n min-width: 740px;\n }\n}\n.ProductDetailsV2-module_productmodal__2B7qv .modal-body {\n padding: 0 16px 16px;\n}\n@media (max-width: 767px) {\n .ProductDetailsV2-module_productmodal__2B7qv .modal-body {\n padding: 12px;\n }\n}\n.ProductDetailsV2-module_productmodal__2B7qv .modal-content {\n background-color: #f7f6f5;\n border-radius: 8px;\n box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);\n}\n.ProductDetailsV2-module_productmodal__2B7qv .modal-content .modal-header {\n border-bottom: none !important;\n}\n.ProductDetailsV2-module_productmodal__2B7qv .ProductDetailsV2-module_container__dH9t4 {\n display: flex;\n align-items: center;\n margin-left: 16px;\n}\n.ProductDetailsV2-module_productmodal__2B7qv .ProductDetailsV2-module_container__dH9t4 .ProductDetailsV2-module_backbtn__5E2Ow {\n color: #da291c;\n}\n@media (max-width: 767px) {\n .ProductDetailsV2-module_productmodal__2B7qv .ProductDetailsV2-module_container__dH9t4 {\n margin-left: 12px;\n }\n}\n.ProductDetailsV2-module_productmodal__2B7qv .ProductDetailsV2-module_closebtn__vonVN .btn-close:focus {\n border: none;\n box-shadow: none;\n}\n\n.ProductDetailsV2-module_cartbtn__lmC7O {\n cursor: pointer;\n text-align: center;\n width: fit-content;\n position: absolute;\n top: 20px;\n right: 10px;\n}\n.ProductDetailsV2-module_cartbtn__lmC7O .primarybutton {\n padding: 10px 24px;\n}\n@media (max-width: 767px) {\n .ProductDetailsV2-module_cartbtn__lmC7O {\n position: inherit;\n width: auto;\n top: 0;\n right: auto;\n }\n}\n\n.ProductDetailsV2-module_check-footer__iuqqZ {\n position: relative;\n bottom: 0;\n margin: 24px 16px;\n padding: 8px 16px;\n border: 1px solid #e6e3df;\n border-radius: 8px;\n}\n.ProductDetailsV2-module_check-footer__iuqqZ > div > div > div {\n justify-content: inherit;\n}\n\n.ProductDetailsV2-module_back-button__U8Wjz {\n position: fixed;\n top: 0;\n padding: 16px 0;\n}\n\n.ProductDetailsV2-module_modal-price__jlNZA {\n padding: 16px 0 24px;\n}\n\n.ProductDetailsV2-module_productDetailstext__Mg-EX {\n color: #3d3935;\n text-decoration: underline;\n}\n\n.ProductDetailsV2-module_productDetailstextNew__w3s0l {\n color: #da291c;\n text-decoration: underline;\n}\n\n.ProductDetailsV2-module_textColor__tQQxl {\n color: #ffffff;\n text-decoration: underline;\n}");const Ce=({modalState:n,handler:l,showFooter:i,footerNode:r,children:a,width:d,height:c,backButton:u})=>{var s;const m=null===(s=null==g?void 0:g.getInstance())||void 0===s?void 0:s.getAssetPath();return e.useEffect((()=>{const e=document.querySelector(".product-modal .footer-main");e&&(e.style.zIndex="10");const n=document&&document.querySelector(".modal-dialog.product-modal");n&&(n.style.maxWidth=d,n.style.padding="0",n.style.transform="none");const t=document.querySelector(".product-modal .modal-content");t&&(t.style.height=c,t.style.backgroundColor="#F7F6F5");const o=document.querySelector(".product-modal .modal-header");o&&(o.style.position="absolute",o.style.top="0",o.style.zIndex="1",o.style.maxWidth="100%",o.style.background="#f8f8f8",o.style.width="100%");const l=document.querySelector(".product-modal .modal-body");l&&(l.style.background="#f8f8f8",l.style.paddingTop="70px")}),[c]),e.createElement(t,{scrollable:!1,show:n,onHide:l,keyboard:!1,dialogClassName:ye},e.createElement(t.Header,null,e.createElement("div",{onClick:l,className:`${Te}`},e.createElement(e.Fragment,null,e.createElement("img",{src:`${m}/icons/arrow-left-red.svg`,alt:"",height:24,width:24,className:"me-3"}),e.createElement("span",{className:Ee},u))),e.createElement("div",{className:`${we} me-3 mt-3`},e.createElement(o,{className:"sr-modal-close",onClick:l}))),e.createElement(t.Body,null,a),i&&e.createElement(t.Footer,null,r))},Ve=({products:n,showProductDetail:t,setShowProductDetail:o,content:l,priceCollection:i,addToCart:r,bundleProducts:a,sbStaticConstants:d})=>{const[c,u]=e.useState(!0);let s=[],m="";n&&n.length>0&&(null==n||n.map((e=>{s=null==e?void 0:e.modalBody,m=null==e?void 0:e.backButton})));return e.createElement(e.Fragment,null,t&&e.createElement(e.Fragment,null,e.createElement(Ce,{modalState:c,handler:()=>{u(!c),o(!t)},showFooter:!1,height:"100%",backButton:m},e.createElement(e.Fragment,null,null==s?void 0:s.map(((n,t)=>e.createElement(ne,null,e.createElement(e.Fragment,null,(null==n?void 0:n.component)===O&&e.createElement(W,{content:n,key:t}),(null==n?void 0:n.component)===A&&e.createElement(le,{content:n}),(null==n?void 0:n.component)===I&&e.createElement(oe,{content:n}))))),e.createElement("div",{className:`footer-main ${ke}`,style:{border:"none"}},e.createElement(fe,{content:l,priceCollection:i,bundleProducts:a,sbStaticConstants:d}),e.createElement("div",{className:Pe},r()))))))};var Se={errormodalbox:"TVChannelOfferV2-module_errormodalbox__sDWbF",header:"TVChannelOfferV2-module_header__kzobu",errorwrapper:"TVChannelOfferV2-module_errorwrapper__Gg4jt",title:"TVChannelOfferV2-module_title__RbPPM",body:"TVChannelOfferV2-module_body__tQavD",footer:"TVChannelOfferV2-module_footer__4rVEl",optionsContent:"TVChannelOfferV2-module_optionsContent__AyBQJ",confirmBtn:"TVChannelOfferV2-module_confirmBtn__ZI4NW",errordialog:"TVChannelOfferV2-module_errordialog__llanJ"};_("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.TVChannelOfferV2-module_errormodalbox__sDWbF {\n border-radius: 0px;\n padding: 20px 16px 100px;\n box-shadow: rgba(87, 84, 82, 0.4);\n background-color: #f8f8f8;\n overflow: visible;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_header__kzobu {\n z-index: 1;\n border: none;\n padding: 0px;\n margin-bottom: -12px;\n margin-right: 0.5rem;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_header__kzobu .btn-close:focus {\n border: none;\n box-shadow: none;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_errorwrapper__Gg4jt {\n border-radius: 8px;\n box-shadow: rgba(87, 84, 82, 0.2);\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_errorwrapper__Gg4jt .TVChannelOfferV2-module_title__RbPPM {\n margin-right: 24px;\n margin-bottom: 24px;\n color: #3d3935;\n font-size: 20px;\n line-height: 28px;\n font-weight: 700;\n text-align: center;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_errorwrapper__Gg4jt .TVChannelOfferV2-module_body__tQavD {\n padding: 0px;\n display: flex;\n color: #5f5955;\n flex-wrap: wrap;\n justify-content: center;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl {\n border: none;\n position: absolute;\n bottom: 0px;\n right: 0;\n width: 100%;\n padding: 24px 0px;\n border-radius: 0px;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl .TVChannelOfferV2-module_optionsContent__AyBQJ {\n margin: auto;\n width: fit-content;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl .TVChannelOfferV2-module_confirmBtn__ZI4NW {\n border: none;\n width: fit-content;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl .TVChannelOfferV2-module_confirmBtn__ZI4NW > img {\n margin-left: 8px;\n}\n.TVChannelOfferV2-module_errormodalbox__sDWbF .TVChannelOfferV2-module_footer__4rVEl p {\n color: #ffffff;\n align-items: left;\n}\n\n.TVChannelOfferV2-module_errordialog__llanJ {\n max-width: 934px;\n}");var Le="EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h-",Ne="EntertainmentOptionsV2-module_cardinputelement__00RZZ",Oe="EntertainmentOptionsV2-module_card__LqNAf";_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- {\n align-items: flex-start;\n background: #ffffff;\n border-radius: 8px;\n box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);\n display: flex;\n flex: none;\n flex-direction: column;\n margin: 10px;\n max-width: 340px;\n order: 0;\n position: relative;\n width: 100%;\n}\n@media (min-width: 1024px) {\n .EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- {\n max-width: 380px;\n }\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_fs12__rhrjW {\n margin-left: 4px;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ + .EntertainmentOptionsV2-module_card__LqNAf {\n -webkit-box-shadow: none;\n border: 0px;\n border-radius: 8px;\n box-shadow: none;\n height: 100%;\n width: 100%;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ + .EntertainmentOptionsV2-module_card__LqNAf:hover {\n cursor: pointer;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ:checked + .EntertainmentOptionsV2-module_card__LqNAf {\n outline: 4px solid #da291c;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ:checked + .EntertainmentOptionsV2-module_card__LqNAf h4 {\n color: #da291c;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ:checked + .EntertainmentOptionsV2-module_card__LqNAf.EntertainmentOptionsV2-module_showArrow__timDx::after {\n width: 0;\n height: 0;\n border-left: 9px solid transparent;\n border-right: 9px solid transparent;\n border-top: 8px solid #f1571d;\n position: absolute;\n content: "";\n top: calc(100% + 4px);\n left: calc(50% - 9px);\n}\n@media (max-width: 767px) {\n .EntertainmentOptionsV2-module_entertainmentoptionswrapper__qk4h- .EntertainmentOptionsV2-module_cardinputelement__00RZZ:checked + .EntertainmentOptionsV2-module_card__LqNAf.EntertainmentOptionsV2-module_showArrow__timDx::after {\n display: none;\n }\n}\n\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH {\n align-items: flex-start;\n border-bottom: 1px solid #e5e5e5;\n display: flex;\n flex-direction: inherit;\n min-width: max-content;\n position: static;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 {\n border-radius: 8px;\n width: 100%;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_tabheading__ve-Rh {\n display: flex;\n padding: 0 0 10px 50px;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_tabheading__ve-Rh .EntertainmentOptionsV2-module_entoptibutton__TAVdH {\n margin-left: auto;\n padding-right: 15px;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_tabheading__ve-Rh h4 {\n color: #333333;\n font-size: 16px;\n font-weight: 700;\n left: 32px;\n line-height: 24px;\n top: 12px;\n min-width: max-content;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_additionalprice__s7i-2 {\n transform: translate(50px, -20px);\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_additionalprice__s7i-2 p span {\n color: #333333;\n font-size: 16px;\n font-weight: 700;\n left: 32px;\n line-height: 24px;\n top: 0;\n}\n.EntertainmentOptionsV2-module_entertainmentoptionswrappermobile__FX0BH .EntertainmentOptionsV2-module_mobcard__MUGs3 .EntertainmentOptionsV2-module_inputfield__grFes {\n height: 50px;\n margin: 0 16px 16px 16px;\n}\n\n.EntertainmentOptionsV2-module_radiocontainer__U83LN {\n cursor: pointer;\n display: inline-block;\n font-weight: 700;\n padding-left: 30px;\n position: relative;\n}\n.EntertainmentOptionsV2-module_radiocontainer__U83LN .EntertainmentOptionsV2-module_checkmark__BeCUA {\n border: 2px solid #b2b2b2;\n border-radius: 50%;\n height: 20px;\n left: 0;\n margin: 10px 10px 0 18px;\n position: absolute;\n top: 0;\n width: 20px;\n}\n.EntertainmentOptionsV2-module_radiocontainer__U83LN .EntertainmentOptionsV2-module_checkmark__BeCUA.EntertainmentOptionsV2-module_disabled__Lf1GV {\n border: 2px solid #b2b2b2;\n}\n\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input {\n cursor: pointer;\n opacity: 0;\n position: absolute;\n}\n\n/* When the radio button is checked, add a blue background */\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input:checked ~ .EntertainmentOptionsV2-module_checkmark__BeCUA {\n background-color: #ffffff;\n border: 2px solid #d9415c;\n}\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input:checked ~ .EntertainmentOptionsV2-module_checkmark__BeCUA:hover {\n border: 2px solid #d9415c;\n}\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input:checked ~ .EntertainmentOptionsV2-module_checkmark__BeCUA:hover:after {\n background: #d9415c;\n}\n\n/* Create the indicator (the dot/circle - hidden when not checked) */\n.EntertainmentOptionsV2-module_checkmark__BeCUA:after {\n content: "";\n display: none;\n position: absolute;\n}\n\n/* Show the indicator (dot/circle) when checked */\n.EntertainmentOptionsV2-module_radiocontainer__U83LN input:checked ~ .EntertainmentOptionsV2-module_checkmark__BeCUA:after {\n display: block;\n}\n\n/* Style the indicator (dot/circle) */\n.EntertainmentOptionsV2-module_radiocontainer__U83LN .EntertainmentOptionsV2-module_checkmark__BeCUA:after {\n background: #d9415c;\n border-radius: 50%;\n height: 10px;\n left: 3px;\n top: 3px;\n width: 10px;\n}');var Ie="ReactInputSelectV2-module_selectcontainer__neygJ",Ae="ReactInputSelectV2-module_downArrowIcon__KGx-5",Be="ReactInputSelectV2-module_transform180__XCHJs",De="ReactInputSelectV2-module_errormessage__FF0WO";_('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ReactInputSelectV2-module_selectcontainer__neygJ {\n position: relative;\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .react-select__control {\n border: 1px solid #b3aeaa !important;\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .ReactInputSelectV2-module_downArrowIcon__KGx-5 {\n content: "";\n display: inline-block;\n height: 24px;\n width: 24px;\n background: url("/ecom-int/icons/chevron-down.svg") no-repeat;\n background-size: cover;\n background-position: center;\n margin-left: 8px;\n transform: rotate(0);\n transition: transform 0.3s;\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .ReactInputSelectV2-module_downArrowIcon__KGx-5.ReactInputSelectV2-module_transform180__XCHJs {\n transform: rotate(180deg);\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .ReactInputSelectV2-module_downArrowIcon__KGx-5:hover {\n cursor: pointer;\n}\n.ReactInputSelectV2-module_selectcontainer__neygJ .ReactInputSelectV2-module_errormessage__FF0WO {\n color: #c60047;\n font-size: 12px;\n line-height: 16px;\n margin-top: 4px;\n}');const ze=e.forwardRef((({name:n,options:t,content:o,isSearchable:l=!0,disableValues:i=[],defaultValue:r="",optionsValue:a="value",optionsLabel:d="label",isDisabled:c=!1,isClearable:u=!0,onChange:s},m)=>{const[p,_]=e.useState(!1),[h,g]=e.useState(r),[b,f]=e.useState(!1),[x,y]=e.useState(!1);Boolean(h)==x&&y(!x);return e.createElement("div",{className:Ie},e.createElement(v,{className:`react-select-container ${x&&"errorborder"}`,styles:(T=x&&p,{control:e=>Object.assign(Object.assign({},e),T&&{border:"2px solid #C60047 !important"}),valueContainer:e=>Object.assign(Object.assign({},e),!o.label&&{padding:"0px 0px 0px 12px !important"})}),name:n,instanceId:"React-select",classNamePrefix:"react-select",components:{DropdownIndicator:n=>e.createElement(v.components.DropdownIndicator,Object.assign({},n),e.createElement("span",{className:`${Ae} ${n.selectProps.menuIsOpen?Be:""}`})),IndicatorSeparator:null},value:h,onChange:e=>{g(e),"function"==typeof s&&s(e?{name:n,value:e}:{name:n,value:{[a]:"",[d]:""}})},isClearable:u,placeholder:"",onFocus:()=>f(!0),onBlur:()=>{!p&&_(!0),f(!1)},backspaceRemovesValue:!0,options:t,ref:m,getOptionLabel:e=>e[d],getOptionValue:e=>e[a],isOptionDisabled:e=>i.includes(e[a]),isDisabled:c,isSearchable:l}),e.createElement("label",{className:`${(h&&h[a]&&h[d]||b)&&"activeLabel"} selectcomplabel`},o.label),x&&p&&e.createElement("span",{className:De},o.errorMessage));var T})),Fe=({className:n="",name:t="demo",content:o,checked:l,options:i,setProduct:r,onclick:a,localeID:d,type:c="radio",langSelected:u})=>{var s,m;const[p,v]=e.useState({details:"",included:""}),_="NETFLIX"==(null==o?void 0:o.tvGroup)||"SPORTS"==(null==o?void 0:o.tvGroup),h=e.useMemo((()=>{var e,n;const t=e=>{let n;return null==i||i.map(((t,o)=>{t.name==(null==e?void 0:e.toUpperCase())&&(n=o)})),n};return null!==(n=null!==(e=t(u||d))&&void 0!==e?e:t("de"))&&void 0!==n?n:0}),[i]),g=null==o?void 0:o.productId,[b,f]=e.useState(g);return e.useEffect((()=>{try{const e=null===localStorage||void 0===localStorage?void 0:localStorage.getItem("sbstaticcontent");if(""!==e){const n=e&&JSON.parse(e);v(Object.assign(Object.assign({},p),{details:null==n?void 0:n.details,included:null==n?void 0:n.included}))}}catch(e){}}),[]),e.createElement("label",{className:`${Le} ${n}`,onClick:a},e.createElement("input",{type:c,name:t,value:b,className:`${Ne} d-none`,id:"demo1","data-additional":null==o?void 0:o.tvGroup,checked:l,readOnly:!0}),e.createElement("div",{className:`${Oe} card card-body`},e.createElement("div",{className:"d-flex"},e.createElement("h4",null,null==o?void 0:o.displayName)),e.createElement("div",{className:"mb-3"},e.createElement(q,{content:null==o?void 0:o.description})),(null===(s=null==o?void 0:o.prodImage)||void 0===s?void 0:s.filename)&&e.createElement("img",{src:null===(m=null==o?void 0:o.prodImage)||void 0===m?void 0:m.filename,height:"",width:"",alt:""}),(null==i?void 0:i.length)>1&&e.createElement("div",{className:"mt-auto"},e.createElement(ze,{content:{label:"",errorMessage:""},options:i,optionsValue:"name",optionsLabel:"value",onChange:e=>{var n,t;const o=e.value.name;if(o){const e=i.filter((e=>e.name==o));r(null===(n=null==e?void 0:e[0])||void 0===n?void 0:n.prod),f(null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.prod)}},isSearchable:!1,isClearable:!1,defaultValue:i[h]})),_&&e.createElement("div",{className:`row w-100 pt-2 ${!((null==i?void 0:i.length)>1)&&"mt-auto"}`},e.createElement("h3",{className:"col-9 mb-0"},null==p?void 0:p.included))))},Re=({content:t,showModal:o,setShowModal:l,setEntertainment:r,setTvChannelName:a,radioValue:d,setRadioValue:c,metadata:u})=>{var s,m,p,v;const _=null==t?void 0:t.ids,[b,f]=e.useState([]),x=null==u?void 0:u.lang,[y,T]=e.useState([]),[E,w]=e.useState({}),P=null===(s=null==h?void 0:h.getInstance())||void 0===s?void 0:s.getSBUrl(),k=null===(m=null==g?void 0:g.getInstance())||void 0===m?void 0:m.getAssetPath(),C=localStorage.getItem("sbstaticcontent"),V=C&&JSON.parse(C),S=["NETFLIX","TVBOX","TVAPP"],L={language:x,type:"B2C"};e.useEffect((()=>{let e="";_.forEach((n=>{e=e+n+","}));const t=`${P}rest/cms/stories/?by_slugs=${e}`,o=[];n.CMSStoryblokServiceV2.get(t,L).then((e=>{var n,t;null===(t=null===(n=e.data)||void 0===n?void 0:n.stories)||void 0===t||t.map((e=>{o.push(e)}))})).catch((e=>{console.log(e)})).finally((()=>{B(o)})),f(o)}),[x]),e.useEffect((()=>{d&&b&&b.map((e=>{var n,t,o,l,i,r,c,u;(null===(t=null===(n=e.content)||void 0===n?void 0:n.body[0])||void 0===t?void 0:t.code)&&(null===(l=null===(o=e.content)||void 0===o?void 0:o.body[0])||void 0===l?void 0:l.code)===d&&a((null===(r=null===(i=null==e?void 0:e.content)||void 0===i?void 0:i.body[0])||void 0===r?void 0:r.displayName)+" "+(null===(u=null===(c=null==e?void 0:e.content)||void 0===c?void 0:c.body[0])||void 0===u?void 0:u.tvLang))}))}),[d]);const N=()=>{l(!1)},O=e=>{c(e.target.value)},I=M,A=e=>{c(e)},B=e=>{const n=[],t=[],o={};let l="";e.map((e=>{var i,r,a,d,c,u,s,m,p,v,_,h;const g=null===(r=null===(i=e.content)||void 0===i?void 0:i.body[0])||void 0===r?void 0:r.tvGroup;(null===(d=null===(a=e.content)||void 0===a?void 0:a.body[0])||void 0===d?void 0:d.isTvGroup)&&!l&&(l=null===(u=null===(c=e.content)||void 0===c?void 0:c.body[0])||void 0===u?void 0:u.code),n.includes(g)||(S.includes(g)||"DE"===(null===(s=e.content.body[0])||void 0===s?void 0:s.tvLang))&&(n.push(g),t.push(null===(m=e.content)||void 0===m?void 0:m.body[0])),(null===(p=o[g])||void 0===p?void 0:p.length)||(o[g]=[]),o[g].push({name:null===(v=e.content.body[0])||void 0===v?void 0:v.tvLang,value:I[null===(_=e.content.body[0])||void 0===_?void 0:_.tvLang],prod:null===(h=e.content.body[0])||void 0===h?void 0:h.code})})),w(o),""==d&&c(l);const i=t.filter((e=>"NETFLIX"===e.tvGroup)),r=t.indexOf(i[0]),a=t.splice(r,1)[0];t.splice(0,0,a),T(t)};return e.createElement(e.Fragment,null,e.createElement(i.Modal,{contentClassName:Se.errormodalbox,show:o,dialogClassName:Se.errordialog,onHide:N,centered:!0},e.createElement(i.Modal.Header,{className:Se.header,closeButton:!0,onClick:N}),e.createElement("div",{className:Se.errorwrapper},e.createElement(i.Modal.Title,{className:Se.title},(null===(p=null==t?void 0:t.product)||void 0===p?void 0:p.includes("Netflix"))?null==V?void 0:V.entertainment_prod_modal_head:null==V?void 0:V.choose_tv_box_app),e.createElement("div",null,e.createElement(i.Modal.Body,{className:Se.body},y&&y.map(((n,t)=>{var o;let l="",i=!1;const r=null===(o=E[null==n?void 0:n.tvGroup])||void 0===o?void 0:o.reduce(((e,n)=>(i=n.prod==d,i&&(l=n.name.toLowerCase()),e||i)),!1);return e.createElement(Fe,{key:t,content:n,value:t,options:E[null==n?void 0:n.tvGroup],setProduct:A,onclick:O,localeID:x,checked:r,langSelected:l})}))))),""!=d&&e.createElement(i.Modal.Footer,{className:Se.footer},e.createElement("div",{className:"row w-100"},e.createElement("div",{className:"text-center"},e.createElement("button",{className:`${Se.confirmBtn} primarybutton`,onClick:()=>(e=>{var n,o,i,a,d,c;const u=(b||[]).filter((n=>{if((null==n?void 0:n.content.body[0].productId)===e)return n})),s={ignoreId:"",selectedEntertainmentProduct:[]};(null===(i=null===(o=null===(n=u[0])||void 0===n?void 0:n.content)||void 0===o?void 0:o.body[0])||void 0===i?void 0:i.productId)&&e!==(null==t?void 0:t.product)&&(s.ignoreId=null==t?void 0:t.product,s.selectedEntertainmentProduct.push({id:null===(c=null===(d=null===(a=u[0])||void 0===a?void 0:a.content)||void 0===d?void 0:d.body[0])||void 0===c?void 0:c.productId,checkVoucher:!1,promoIds:[null==t?void 0:t.promotion]})),r&&r(s),l(!1)})(d)},(null===(v=null==t?void 0:t.product)||void 0===v?void 0:v.includes("Netflix"))?e.createElement(e.Fragment,null,V.confirm_your_choice,e.createElement("img",{className:Se["img-tick"],src:`${k}/icons/tick.svg`,height:24,width:24,alt:""})):null==V?void 0:V.continue))))))},$e=({content:n,cards:t,metadata:o,indexKey:l,offeringData:i,uniqueId:r,tabIndex:a,lineCheckCallBack:d,sbStaticConstants:u,address:s,eligibleBundle:m,summaryUrl:p})=>{var v,_,b,f,x,y,T,E,P,k,C,V,S,N,O,I,A,B,D,F,R,$,j,M,U,q,W,G,X,K,H,Y,Q;const[ee,ne]=e.useState({}),te=["NETFLIX","SPORTS"],[oe,le]=e.useState(),[ie,re]=e.useState(""),[ae,de]=e.useState(""),[ce,ue]=e.useState(!1),se=null===(v=null==g?void 0:g.getInstance())||void 0===v?void 0:v.getAssetPath(),me=null===(f=null===(b=null===(_=null==ee?void 0:ee.content)||void 0===_?void 0:_.body)||void 0===b?void 0:b[0])||void 0===f?void 0:f.code,ve=((null==i?void 0:i[r])||[]).filter((e=>(null==e?void 0:e.id)===me)),_e=((e,n)=>{var t,o,l,i;const r={base:"",onetimePrice:"",discount:[],contractDuration:"",int_fmc:0,mob_fmc:0,mob_benefit_category:"",id:""};Array.isArray(e)&&(null==e||e.map((e=>{var n,t,o;r.id=null!==(n=null==e?void 0:e.id)&&void 0!==n?n:"",null===(t=null==e?void 0:e.prices)||void 0===t||t.map((e=>{var n,t;"recurring"===(null===(n=null==e?void 0:e.priceType)||void 0===n?void 0:n.toLowerCase())?r.base=null==e?void 0:e.value:"one time"===(null===(t=null==e?void 0:e.priceType)||void 0===t?void 0:t.toLowerCase())&&(r.onetimePrice=null==e?void 0:e.value)})),null===(o=null==e?void 0:e.derivedPrice)||void 0===o||o.map((e=>{var n,t;const o={cycleStart:"",cycleEnd:"",value:""};o.cycleStart=null===(n=null==e?void 0:e.cycle)||void 0===n?void 0:n.cycleStart,o.cycleEnd=null===(t=null==e?void 0:e.cycle)||void 0===t?void 0:t.cycleEnd,o.value=null==e?void 0:e.value,r.discount.push(o)}))}))),null===(o=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.bundledOffers)||void 0===o||o.forEach((e=>{var n,t,o,l,i;null===(n=null==e?void 0:e.prices)||void 0===n||n.forEach((e=>{var n,t;(null===(n=null==e?void 0:e.priceAlteration)||void 0===n?void 0:n.length)>0&&(null===(t=null==e?void 0:e.priceAlteration)||void 0===t||t.forEach((e=>{"INTERNET_FMC"==(null==e?void 0:e.priceCategory)?r.int_fmc+=Number(null==e?void 0:e.value):"MULTIMOBILE"!=(null==e?void 0:e.priceCategory)&&"FMC"!=(null==e?void 0:e.priceCategory)||(r.mob_fmc+=Number(null==e?void 0:e.value),r.mob_benefit_category=null==e?void 0:e.priceCategory)})))})),(null===(o=null===(t=null==e?void 0:e.promotionInfo)||void 0===t?void 0:t[0])||void 0===o?void 0:o.contractDuration)&&(r.contractDuration=null===(i=null===(l=null==e?void 0:e.promotionInfo)||void 0===l?void 0:l[0])||void 0===i?void 0:i.contractDuration)}));let a=0;return null===(i=null===(l=null==e?void 0:e[0])||void 0===l?void 0:l.prices)||void 0===i||i.map((e=>{var n,t;(null===(n=null==e?void 0:e.priceAlteration)||void 0===n?void 0:n.length)>0&&(null===(t=null==e?void 0:e.priceAlteration)||void 0===t||t.map((e=>{"INTERNET_FMC"==(null==e?void 0:e.priceCategory)&&(a+=Number(null==e?void 0:e.value))})))})),r.int_fmc=n?a:r.int_fmc,r})(ve),ge=t,ye=null===(x=null==h?void 0:h.getInstance())||void 0===x?void 0:x.getCartUrl(),[Te,Ee]=e.useState(!1);let we;if(ee.products){const e=null===(T=null===(y=null==ee?void 0:ee.content)||void 0===y?void 0:y.body[0])||void 0===T?void 0:T.code;we=s&&m&&(null==m?void 0:m.eligibleBundle.includes(e))}const Pe=()=>{ee.serviceOptions&&ee.serviceOptions.avalaible&&ue(!0)};e.useEffect((()=>{var e,t,o,l,i,r,a;if(null==n?void 0:n.productStroyObj){const d=null==n?void 0:n.productStroyObj;d.noshowpromotion=null===(e=null==n?void 0:n.products)||void 0===e?void 0:e.dontShowPromotion;let c="";(null==n?void 0:n.promStroyObj)&&(c=null===(t=null==n?void 0:n.promStroyObj)||void 0===t?void 0:t.prom),d.includeoptions={avalaible:!1,promotion:c,ids:new Set,product:""},d.serviceOptions={avalaible:!1,promotion:c,ids:new Set,product:""},d.displayConfig=null==n?void 0:n.productDisplayConfig,d.giftCount=0;const u=(null===(i=null===(l=null===(o=null==d?void 0:d.content)||void 0===o?void 0:o.body)||void 0===l?void 0:l[0])||void 0===i?void 0:i.products)||[],s=[];null==u||u.map((e=>{const n=Number(null==e?void 0:e.order)||999,t=null==e?void 0:e.cProd;t.sortOrder=n,d.includeoptions.product=null==t?void 0:t.code,te.includes(null==t?void 0:t.tvGroup)&&(de(null==t?void 0:t.code),"NETFLIX"==(null==t?void 0:t.tvGroup)?re("Netflix"):"SPORTS"==(null==t?void 0:t.tvGroup)?re((null==t?void 0:t.displayName)+" "+(null==t?void 0:t.tvLang)):re("TV Box"),d.serviceOptions.avalaible=!0,d.serviceOptions.product=null==t?void 0:t.code,d.serviceOptions.ids.add(null==t?void 0:t.tvGroupProdPath)),s.push(t)})),null==s||s.sort(((e,n)=>(null==e?void 0:e.sortOrder)-(null==n?void 0:n.sortOrder))),d.products=s;const m={},p=[];if(null==n?void 0:n.promStroyObj){const e=null===(r=null==n?void 0:n.promStroyObj)||void 0===r?void 0:r.stroy,t=null==e?void 0:e.content;if(t&&(null==t?void 0:t.promoDescription)&&(null==t?void 0:t.promoDescription.length)>0){for(let e=0;e<t.promoDescription.length;e++){const o=t.promoDescription[e];if(n.promStroyObj.prom===o.parent_promo_id){m.promotion=null==o?void 0:o.parent_promo_id,m.description=null==o?void 0:o.description,m.isPricingPromo=!1,m.isGiftPromo=!1,m.isDefault=null===(a=null==n?void 0:n.promStroyObj)||void 0===a?void 0:a.isDefault,m.displayText=null==o?void 0:o.displayText,m.cashback=null==o?void 0:o.cashback,o.type.includes("pricing")?m.isPricingPromo=!0:o.type.includes("gift")&&(m.isGiftPromo=!0,m.giftConfig=null==o?void 0:o.giftConfig,m.giftConfigV2=null==o?void 0:o.giftConfigV2,m.parentPoType="HOME",o.giftConfig.length>0&&(d.giftCount=0===(null==d?void 0:d.giftCount)?1:(null==d?void 0:d.giftCount)+1));break}}d.homepromotionObj=m}p.push(m)}if((null==n?void 0:n.highlightText)&&(d.highlightText=null==n?void 0:n.highlightText),(null==m?void 0:m.isGiftPromo)?d.giftDisplayText=void 0!==(null==m?void 0:m.displayText)?null==m?void 0:m.displayText:"":(null==m?void 0:m.isPricingPromo)&&(d.priceDisplayText=void 0!==(null==m?void 0:m.displayText)?null==m?void 0:m.displayText:""),d.promotionObj=p,d.includeoptions.avalaible){const e=Array.from(d.includeoptions.ids);d.includeoptions.ids=e}ne(d)}}),[n]);const ke={listLength:ge,indexKey:l,arrowUpIcon:"",arrowDownIcon:"",arrowLeftRed:""},Ce=e.useMemo((()=>ke),[ke]);e.useEffect((()=>{setTimeout((()=>{Se()}),100),null===window||void 0===window||window.addEventListener("resize",Se)}),[ee]);const Se=()=>{w(`headingV3${a}`,t),w(`descriptionV3${a}`,t),w(`titleV3${a}`,t),w("gift-section",t),w("cashback-section",t),w(`benefits-section${a}`,t),w(`order-section${a}`,t),w("productprice",t),w("productdetails",t),w(`product-entitlement${a}`,t)},Le=()=>{var e,n,t;const o=c.get("one-commerce-linecheckcorrelationid"),l=null===(t=null===(n=null===(e=null==ee?void 0:ee.content)||void 0===e?void 0:e.body)||void 0===n?void 0:n[0])||void 0===t?void 0:t.code;m&&s&&o?0!==ve.length&&J(ve,ae,(null==ve?void 0:ve.promoId)?null==ve?void 0:ve.promoId:z,ye,"fixnet").then((e=>{c.remove("one-commerce-cartId",{path:"/"}),c.set("one-commerce-cartId",null==e?void 0:e.id,{path:"/"}),c.set("cartProduct",l,{path:"/"}),c.remove("landline"),window.location.href=p})).catch((e=>{console.log(e)})):d()},Ne=0===Object.keys(ee).length,Oe=()=>{var n,t;return e.createElement(e.Fragment,null,Ne?e.createElement(be,{stylename:pe.buttonskeleton}):s&&(null===(n=Object.keys(s))||void 0===n?void 0:n.length)>0&&!0===we&&""!==(null==_e?void 0:_e.base)?e.createElement("div",{onClick:Le,className:"primarybutton",style:{textAlign:"center"}},e.createElement("span",{className:pe.buttontext},null==u?void 0:u.addToCartBtnTxt)):s&&(null===(t=null==Object?void 0:Object.keys(s))||void 0===t?void 0:t.length)>0&&(!1===we||""===(null==_e?void 0:_e.base))?e.createElement("button",{className:pe.buttondisabled,disabled:!1===we||""===(null==_e?void 0:_e.base)}," ",e.createElement("span",{className:pe.buttontextdisabled},u.addToCartBtnTxt)):e.createElement("button",{onClick:Le,className:"configurebutton"},e.createElement("span",null,null==u?void 0:u.check_availability)))};return e.createElement(Z.Provider,{value:Ce},!Ne&&m&&n&&s&&e.createElement(e.Fragment,null,e.createElement("div",{className:pe.selected},e.createElement("span",null,we?e.createElement("span",{className:pe.activeicon},e.createElement("img",{src:`${se}/icons/lineCheck-success.svg`,alt:"",width:24,height:24,className:pe.activeicon}),e.createElement("span",null,null==u?void 0:u.subscriptionAvalTxt)):e.createElement("span",{className:pe.inactiveicon},e.createElement("img",{src:`${se}/icons/cross_disabled.svg`,alt:"",width:24,height:24,className:pe.inactiveicon}),e.createElement("span",null,null==u?void 0:u.notSubscriptionTxt))))),e.createElement("div",{className:`${pe.productcenter} ${pe.flexgrid} ${!1===we?pe.overlay:""} `,style:{flexDirection:"column"}},e.createElement("div",{className:`${pe.productcard} ${(null===(E=null==ee?void 0:ee.highlightText)||void 0===E?void 0:E.length)>0&&pe.highlightBorder}`},(null===(P=null==ee?void 0:ee.highlightText)||void 0===P?void 0:P.length)>0&&e.createElement("div",{className:`${pe.highlightText}`},null==ee?void 0:ee.highlightText),e.createElement("div",{className:`${pe.productcontainer} ${pe.flexgrid}`,style:{flexDirection:"column"},id:`headingV3${a}${l}`},e.createElement("div",null,e.createElement("div",{className:`${pe.productheader}`,id:`titleV3${a}${l}`},null===(C=null===(k=ee.content)||void 0===k?void 0:k.body)||void 0===C?void 0:C[0].displayName),e.createElement("div",{className:`${pe.productdescription}`,id:`descriptionV3${a}${l}`},null===(S=null===(V=ee.content)||void 0===V?void 0:V.body)||void 0===S?void 0:S[0].description))),Ne&&e.createElement(e.Fragment,null,e.createElement("div",{className:pe.space}),e.createElement(be,{stylename:pe.skeletontittle,count:1}),e.createElement(be,{stylename:pe.skeletonline,count:5}),e.createElement("div",{className:pe.space}),e.createElement(be,{stylename:pe.skeletontittle,count:1}),e.createElement(be,{stylename:pe.skeletonline,count:5})),e.createElement("div",{style:{padding:"10px"},id:`product-entitlement${a}${l}`},(null==ee?void 0:ee.products)&&(null===(N=null==ee?void 0:ee.products)||void 0===N?void 0:N.map(((n,o)=>e.createElement(he,{content:Object.assign(Object.assign({},n),{tvChannelName:ie,entertainOption:oe}),indexKey:o,listlength:t,showModalPopup:Pe,sbStaticConstants:u,tabIndex:a,bundleIndexKey:l}))))),ce&&(Ne?e.createElement(be,null):e.createElement(Re,{key:null===(I=null===(O=null==ee?void 0:ee.content)||void 0===O?void 0:O.body)||void 0===I?void 0:I[0].code,content:ee.serviceOptions,setShowModal:ue,uniqueId:r,setEntertainment:le,setTvChannelName:re,code:ee.content.body[0].code,showModal:ce,giftItem:[],radioValue:ae,setRadioValue:de})),e.createElement("div",{className:`${pe.flexgrid} \n ${pe.ordersection}\n `},e.createElement("div",{className:`${pe.marginauto} ${!1===we?pe.overlay:""}`,id:`benefits-section${a}${l}`},(null===(D=null===(B=null===(A=null==ee?void 0:ee.content)||void 0===A?void 0:A.body)||void 0===B?void 0:B[0])||void 0===D?void 0:D.benefitsSection)&&e.createElement(xe,{content:null===($=null===(R=null===(F=null==ee?void 0:ee.content)||void 0===F?void 0:F.body)||void 0===R?void 0:R[0])||void 0===$?void 0:$.benefitsSection,priceCollection:_e,sbStaticConstants:u})),e.createElement("div",{id:`order-section${a}${l}`},e.createElement("div",{className:`${pe.flexgrid} ${pe.pricesection} ${pe.addtocart}`},e.createElement(fe,{content:n,priceCollection:_e,toggleSwitch:!1,bundleProducts:null===(M=null===(j=null==ee?void 0:ee.content)||void 0===j?void 0:j.body)||void 0===M?void 0:M[0],sbStaticConstants:u}))," ",Oe(),e.createElement("div",{className:pe.productcontractduration},(null==_e?void 0:_e.contractDuration)?L(null===(U=null==u?void 0:u.minContractDuration)||void 0===U?void 0:U.substring(1),[null==_e?void 0:_e.contractDuration]):""),e.createElement("div",{style:{textAlign:"center",padding:"4px"}},(null===(G=null===(W=null===(q=null==ee?void 0:ee.content)||void 0===q?void 0:q.body)||void 0===W?void 0:W[0])||void 0===G?void 0:G.productDetailsModal)&&e.createElement("span",{className:pe.productdetailslink,onClick:()=>{Ee(!Te)}},null==u?void 0:u.details)),Te&&e.createElement(e.Fragment,null,e.createElement(Ve,{products:null===(H=null===(K=null===(X=null==ee?void 0:ee.content)||void 0===X?void 0:X.body)||void 0===K?void 0:K[0])||void 0===H?void 0:H.productDetailsModal,showProductDetail:Te,setShowProductDetail:Ee,content:n,priceCollection:_e,addToCart:Oe,bundleProducts:null===(Q=null===(Y=null==ee?void 0:ee.content)||void 0===Y?void 0:Y.body)||void 0===Q?void 0:Q[0],sbStaticConstants:u})))))))},je=({content:t,metadata:o,activeIndex:l,lineCheckCallBack:i,sbStaticConstants:r,address:a,eligibleBundle:d})=>{var c,s,m,p;const v=null==o?void 0:o.lang,[_,g]=e.useState(),x=null==t?void 0:t._uid,[y,T]=e.useState([]),E=[],P=new Map,k={language:v,type:"B2C"},C={},S=V(),L=null===(c=null==h?void 0:h.getInstance())||void 0===c?void 0:c.getSBUrl(),N=null===(s=null==h?void 0:h.getInstance())||void 0===s?void 0:s.getBaseUrl(),O=null===(p=null===(m=null==t?void 0:t.lineTableContent)||void 0===m?void 0:m.summaryPageUri)||void 0===p?void 0:p.cached_url,I=()=>{var e;const o=[];if(((e,n)=>{n.map((n=>{var t,o,l,i,r;const a={id:"",promoIds:[]},d=null===(t=null==n?void 0:n.products)||void 0===t?void 0:t.home_parent_promo_id,c=null===(o=null==n?void 0:n.products)||void 0===o?void 0:o.mob_parent_promo_id;a.id=null===(l=null==n?void 0:n.products)||void 0===l?void 0:l.product_id,d&&!(null===(i=null==a?void 0:a.promoIds)||void 0===i?void 0:i.includes(d))&&a.promoIds.push(d),c&&!(null===(r=null==a?void 0:a.promoIds)||void 0===r?void 0:r.includes(c))&&a.promoIds.push(c),e.push(a)}))})(o,(null==t?void 0:t.productList)||[]),(null==t?void 0:t.tabIndex)===(null==t?void 0:t.activeIndex)&&!(null==_?void 0:_[x])&&(null==t?void 0:t.dynamicProductOffer))try{null===(e=((e,t,o)=>K(void 0,void 0,void 0,(function*(){try{localStorage.removeItem("entertainment");const l={headers:{"x-correlation-id":u.v4(),"x-sunrise-channel":b}},i=o+f,r=yield n.ApiServiceV2.getApiServiceInstance().post(i,e,l).then((e=>{if(200==e.status)return null==e?void 0:e.data}));return r.error?r.error:{[t]:r}}catch(e){console.log("error---\x3e",e)}})))(o,null==t?void 0:t._uid,N))||void 0===e||e.then((e=>g(e))).catch((e=>{console.log("error---\x3e",e)}))}catch(e){console.log("error---\x3e",e)}};e.useEffect((()=>{l!=(null==t?void 0:t.tabIndex)&&l||I()}),[null==t?void 0:t.activeIndex]),e.useEffect((()=>{if(((null==t?void 0:t.productList)||[]).forEach((e=>{var n,o,l,i,r,a,d;P.get(null===(n=null==e?void 0:e.products)||void 0===n?void 0:n.product_story_uuid)||P.set(null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.product_story_uuid,{k:0,prod_id:null==e?void 0:e.products.product_id,showPromotion:null===(l=null==e?void 0:e.products)||void 0===l?void 0:l.dontShowPromotion}),P.get(null===(i=null==e?void 0:e.products)||void 0===i?void 0:i.home_promo_story_uuid)||P.set(null===(r=null==e?void 0:e.products)||void 0===r?void 0:r.home_promo_story_uuid,{k:0}),"4P"!==(null==t?void 0:t.pageType)||P.get(null===(a=null==e?void 0:e.products)||void 0===a?void 0:a.mob_promo_story_uuid)||P.set(null===(d=null==e?void 0:e.products)||void 0===d?void 0:d.mob_promo_story_uuid,{k:0}),E.push(e)})),P.size>0){let e="";for(const[n,t]of P.entries())0==t.k&&(e=e+n+",",t.k=1);const o=L+`rest/cms/stories/?by_uuids=${e}`;n.CMSStoryblokServiceV2.get(o,k).then((e=>{var n,t;null===(t=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.stories)||void 0===t||t.map((e=>{P.get(null==e?void 0:e.uuid).stroy=e}))})).catch((e=>{console.log(e)})).finally((()=>{const e=[];if("INTERNET"!==t.pageType&&"TV"!==t.pageType&&E.length>0){const o=new Map;if(E.map((e=>{var n,t,l,i,r,a;const d=null===(t=P.get(null===(n=null==e?void 0:e.products)||void 0===n?void 0:n.product_story_uuid))||void 0===t?void 0:t.stroy;if((null==d?void 0:d.content)&&(null===(l=null==d?void 0:d.content)||void 0===l?void 0:l.body)&&(null===(i=null==d?void 0:d.content)||void 0===i?void 0:i.body[0])){(null===(a=null===(r=null==d?void 0:d.content)||void 0===r?void 0:r.body[0])||void 0===a?void 0:a.products).map((e=>{o.get(null==e?void 0:e.listProduct)||o.set(null==e?void 0:e.listProduct,{k:0,prod_id:null==e?void 0:e.listProduct,order:null==e?void 0:e.order})}))}})),o.size>0){let l="";for(const[e,n]of o.entries())0==n.k&&(l=l+e+",",n.k=1);const i=L+`rest/cms/stories/?by_uuids=${l}`;n.CMSStoryblokServiceV2.get(i,k).then((e=>{e.data.stories.map((e=>{var n,t;const l=o.get(e.uuid);l.storyBody=(null===(t=null===(n=null==e?void 0:e.content)||void 0===n?void 0:n.body)||void 0===t?void 0:t[0])||null,l.storyBody.default_full_slug=null==e?void 0:e.default_full_slug,l.storyBody.slug=null==e?void 0:e.slug}))})).catch((e=>{console.log(e)})).finally((()=>{E.map((n=>{var l,i,r,a,d,c,u,s,m,p,v;const _=null===(i=P.get(null===(l=null==n?void 0:n.products)||void 0===l?void 0:l.product_story_uuid))||void 0===i?void 0:i.stroy;if((null==_?void 0:_.content)&&(null===(r=null==_?void 0:_.content)||void 0===r?void 0:r.body)&&(null===(a=null==_?void 0:_.content)||void 0===a?void 0:a.body[0])){const e=null===(d=null==_?void 0:_.content)||void 0===d?void 0:d.body[0],n=[];(null==e?void 0:e.products).map((e=>{var t;const l=null===(t=o.get(null==e?void 0:e.listProduct))||void 0===t?void 0:t.storyBody;if(n.push(Object.assign({},e,{cProd:l})),l){const e=(null==l?void 0:l.poType)?null==l?void 0:l.poType:null==l?void 0:l.subGroup;if(!C[e]){let n=null==l?void 0:l.slug;"TV"!==e||"NETFLIX"!==(null==l?void 0:l.tvGroup)&&"PREMIUM"!==(null==l?void 0:l.tvGroup)&&"SPORTS"!==(null==l?void 0:l.tvGroup)?"TV"!==e||"TVBOX"!==(null==l?void 0:l.tvGroup)&&"TVAPP"!==(null==l?void 0:l.tvGroup)||(n="tvboxorapp/"+n):n="entertainment/"+n;const t=null==l?void 0:l.default_full_slug.replace(n,"");C[e]={slug:t}}}})),e.products=n}const h=Object.assign({},P.get(null===(c=null==n?void 0:n.products)||void 0===c?void 0:c.home_promo_story_uuid));h.prom=null===(u=null==n?void 0:n.products)||void 0===u?void 0:u.home_parent_promo_id,h.isDefault=null===(s=null==n?void 0:n.products)||void 0===s?void 0:s.home_promo_default;let g=Object.assign({},n,{productStroyObj:_,promStroyObj:h,showPromotion:null==n?void 0:n.dontShowPromotion});if("4P"===t.pageType){const e=Object.assign({},P.get(null===(m=null==n?void 0:n.products)||void 0===m?void 0:m.mob_promo_story_uuid));e.prom=null===(p=null==n?void 0:n.products)||void 0===p?void 0:p.mob_parent_promo_id,e.isDefault=null===(v=null==n?void 0:n.products)||void 0===v?void 0:v.mob_promo_default,g=Object.assign({},g,{mobPromStroyObj:e})}e.push(g)}));try{localStorage.setItem("slugDetails",JSON.stringify(C))}catch(e){}T(e)}))}}}))}}),[v]),e.useEffect((()=>{setTimeout((()=>{A()}),100),null===window||void 0===window||window.addEventListener("resize",A)}),[y]);const A=()=>{var e;w(`cardV3${null==t?void 0:t.activeIndex}`,null===(e=null==t?void 0:t.productList)||void 0===e?void 0:e.length)};return e.createElement("div",null,e.createElement("div",{className:pe.titlecontainer},t.title&&e.createElement("div",{className:pe.title},t.title),t.subTitle&&e.createElement("div",{className:pe.description},null==t?void 0:t.subTitle)),e.createElement("div",{className:"linetableV3 "},t.pageType&&S&&e.createElement(ve,{carouselIndex:null==t?void 0:t.activeIndex,key:null==t?void 0:t.activeIndex},((null==y?void 0:y.length)&&y||new Array((null==y?void 0:y.length)||3).fill(1)).map(((n,l)=>{var c;return e.createElement("div",{key:l,className:`${pe.slide}`,id:`cardV3${null==t?void 0:t.activeIndex}`,style:{textAlign:"center"}},e.createElement($e,{content:n,updatedContent:t,key:l,indexKey:l,lineTableContent:t,metadata:o,productSection:l,cards:null===(c=null==t?void 0:t.productList)||void 0===c?void 0:c.length,tabIndex:null==t?void 0:t.tabIndex,offeringData:_,uniqueId:x,lineCheckCallBack:i,sbStaticConstants:r,address:a,eligibleBundle:d,summaryUrl:O}))})))))};var Me={offsetClass:"StickyProductAnchor-module_offsetClass__oPIod",offsetClass2:"StickyProductAnchor-module_offsetClass2__kkZCK",nonOffsetClass:"StickyProductAnchor-module_nonOffsetClass__PDwhG",stickyAnchorContainer:"StickyProductAnchor-module_stickyAnchorContainer__I9khe",productTitle:"StickyProductAnchor-module_productTitle__0QC0i",productPrice:"StickyProductAnchor-module_productPrice__Ex7ej",priceSection:"StickyProductAnchor-module_priceSection__Edxyi",priceDuration:"StickyProductAnchor-module_priceDuration__KIRL5",contentWrapper:"StickyProductAnchor-module_contentWrapper__dilZl",benefitsContainer:"StickyProductAnchor-module_benefitsContainer__3guW-",benefits:"StickyProductAnchor-module_benefits__RQU5F",buyNowButton:"StickyProductAnchor-module_buyNowButton__uPigF"};_("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.StickyProductAnchor-module_offsetClass__oPIod {\n position: fixed;\n top: 10px;\n z-index: 1;\n width: 100%;\n margin-top: 38px !important;\n}\n\n.StickyProductAnchor-module_offsetClass2__kkZCK {\n position: fixed;\n top: 10px;\n z-index: 1;\n width: 100%;\n margin-top: 98px !important;\n}\n\n.StickyProductAnchor-module_nonOffsetClass__PDwhG {\n visibility: hidden;\n position: absolute;\n width: 100%;\n margin-top: 0;\n}\n\n@media (min-width: 1024px) {\n .StickyProductAnchor-module_offsetClass__oPIod {\n top: 85px;\n }\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe {\n background-color: #e6e3df;\n margin-top: 20px;\n padding: 12px 0px;\n}\n@media (max-width: 767px) {\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe {\n padding: 8px 0px;\n }\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i {\n font-size: 18px;\n line-height: 24px;\n font-weight: 700;\n}\n@media (max-width: 767px) {\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i {\n font-size: 14px;\n line-height: 20px;\n }\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i .StickyProductAnchor-module_productPrice__Ex7ej {\n margin-left: 26px;\n }\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i .StickyProductAnchor-module_priceSection__Edxyi {\n font-size: 12px;\n line-height: 20px;\n }\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_productTitle__0QC0i .StickyProductAnchor-module_priceSection__Edxyi .StickyProductAnchor-module_priceDuration__KIRL5 {\n font-weight: 400;\n }\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl {\n display: flex;\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_benefitsContainer__3guW- {\n margin-right: 24px;\n display: flex;\n}\n@media (max-width: 767px) {\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_benefitsContainer__3guW- {\n margin-left: 10px;\n }\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_benefitsContainer__3guW- .StickyProductAnchor-module_benefits__RQU5F {\n margin-right: 18px;\n}\n@media (max-width: 767px) {\n .StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_benefitsContainer__3guW- .StickyProductAnchor-module_benefits__RQU5F {\n margin: 20px;\n }\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_priceSection__Edxyi {\n font-weight: 700;\n margin-right: 16px;\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_priceSection__Edxyi .StickyProductAnchor-module_priceDuration__KIRL5 {\n font-weight: 400;\n}\n.StickyProductAnchor-module_stickyAnchorContainer__I9khe .StickyProductAnchor-module_contentWrapper__dilZl .StickyProductAnchor-module_buyNowButton__uPigF {\n padding: 5px 24px;\n background-color: #da291c;\n color: #ffffff;\n border-radius: 25px;\n border: none;\n font-size: 14px;\n line-height: 20px;\n font-weight: 700;\n}");exports.AssetPathPropConfig=g,exports.Button=({type:n,text:t,onClick:o,content:l})=>e.createElement("button",{type:"button",className:`button Button-${null==l?void 0:l.type}`,onClick:o},null==l?void 0:l.text),exports.Card=({content:n,updatedContent:t,indexKey:o,listLength:l,addToCart:i,metadata:r,modalTriggered:a,showPrice:d})=>{var c,u,s,m,p,v,_,h,g,b,f,x,y,T,E,P,k,C,V,S,L,N,O,I,A,B,D,z,F,R,$,j,M,U,W,G,X,K,H,J,Y,ee,ne,te,oe,le,de,ce,ue,se,me,pe,ve,_e,he;const ge=Object.assign({},null!==(s=null===(u=null===(c=null==n?void 0:n.testProductReference)||void 0===c?void 0:c[0])||void 0===u?void 0:u.reference)&&void 0!==s?s:null==n?void 0:n.reference),be={listLength:l,indexKey:o,arrowUpIcon:null===(_=null===(v=null===(p=null===(m=null==ge?void 0:ge.content)||void 0===m?void 0:m.body)||void 0===p?void 0:p[0])||void 0===v?void 0:v.arrowUp)||void 0===_?void 0:_.filename,arrowDownIcon:null===(f=null===(b=null===(g=null===(h=null==ge?void 0:ge.content)||void 0===h?void 0:h.body)||void 0===g?void 0:g[0])||void 0===b?void 0:b.arrowDown)||void 0===f?void 0:f.filename,arrowLeftRed:null===(E=null===(T=null===(y=null===(x=null==ge?void 0:ge.content)||void 0===x?void 0:x.body)||void 0===y?void 0:y[0])||void 0===T?void 0:T.arrowLeftRed)||void 0===E?void 0:E.filename},fe=null!==(P=null==t?void 0:t.enableNewAddToCart)&&void 0!==P&&P,xe=e.useRef(null),ye=e.useRef(null),Te=e.useMemo((()=>be),[be]),Ee=()=>{w("linetable-card-title",l),w("linetable-card-tooltiptxt",l),w("linetable-card-bottomConatiner",l)};return e.useEffect((()=>{setTimeout((()=>{Ee()}),100),null===window||void 0===window||window.addEventListener("resize",Ee)}),[n]),e.createElement(Z.Provider,{value:Te},e.createElement("div",{className:"linetable-card-productTeaser"},e.createElement("div",{className:"linetable-card-productContainer "},ge.content&&e.createElement(e.Fragment,null,e.createElement("div",{className:"linetable-card-titleContainer",id:`linetable-card-title${o}`,ref:xe},e.createElement("div",{className:"linetable-card-prodHeading"},null===(C=null===(k=null==ge?void 0:ge.content)||void 0===k?void 0:k.body[0])||void 0===C?void 0:C.name),e.createElement("div",{className:"linetable-card-productTitle"},e.createElement("h3",null,null===(S=null===(V=null==ge?void 0:ge.content)||void 0===V?void 0:V.body[0])||void 0===S?void 0:S.displayName),(null===(O=null===(N=null===(L=null==ge?void 0:ge.content)||void 0===L?void 0:L.body[0])||void 0===N?void 0:N.prodImage)||void 0===O?void 0:O.filename)&&e.createElement("img",{src:null===(B=null===(A=null===(I=null==ge?void 0:ge.content)||void 0===I?void 0:I.body[0])||void 0===A?void 0:A.prodImage)||void 0===B?void 0:B.filename,height:15,width:20})),e.createElement("div",{className:"linetable-card-prodDescription"},e.createElement(q,{content:null===(z=null===(D=null==ge?void 0:ge.content)||void 0===D?void 0:D.body[0])||void 0===z?void 0:z.description}))),!(null==t?void 0:t.isPrepaidFlow)&&e.createElement("hr",null)),(null==ge?void 0:ge.content)&&(null===(R=null===(F=null==ge?void 0:ge.content)||void 0===F?void 0:F.body[0])||void 0===R?void 0:R.introText)&&e.createElement(e.Fragment,null,e.createElement("div",{className:""+(fe?"d-block":"d-none d-sm-block")},e.createElement("div",{className:"linetable-card-introText",id:`linetable-card-tooltiptxt${o}`,ref:ye},e.createElement(q,{content:null===(j=null===($=null==ge?void 0:ge.content)||void 0===$?void 0:$.body[0])||void 0===j?void 0:j.introText})),e.createElement("hr",null))),null===(W=(null===(U=null===(M=null==ge?void 0:ge.content)||void 0===M?void 0:M.body[0])||void 0===U?void 0:U.entitlementConfig)||[])||void 0===W?void 0:W.map(((t,o)=>e.createElement(Q,{content:t,product:n,key:o,indexKey:o,showEntitleValue:fe,metadata:r,modalTriggered:a}))),e.createElement("hr",null),e.createElement("div",{id:`linetable-card-bottomConatiner${o}`,className:"linetable-card-bottomConatiner"},e.createElement("div",{className:"linetable-card-productDetailSection"},(null===(H=null===(K=null===(X=null===(G=null==ge?void 0:ge.content)||void 0===G?void 0:G.body)||void 0===X?void 0:X[0])||void 0===K?void 0:K.productDetailIcon)||void 0===H?void 0:H.filename)&&e.createElement("img",{src:null===(ne=null===(ee=null===(Y=null===(J=null==ge?void 0:ge.content)||void 0===J?void 0:J.body)||void 0===Y?void 0:Y[0])||void 0===ee?void 0:ee.productDetailIcon)||void 0===ne?void 0:ne.filename,width:24,height:24}),e.createElement(re,{content:null===(oe=null===(te=null==ge?void 0:ge.content)||void 0===te?void 0:te.body)||void 0===oe?void 0:oe[0],updatedContent:t,modalTriggered:a,addToCart:i})),e.createElement("div",null,(null===(ce=null===(de=null===(le=null==ge?void 0:ge.content)||void 0===le?void 0:le.body)||void 0===de?void 0:de[0])||void 0===ce?void 0:ce.isEnablePrice)&&e.createElement(ie,{content:null===(se=null===(ue=null==ge?void 0:ge.content)||void 0===ue?void 0:ue.body)||void 0===se?void 0:se[0],addToCart:i,variant:"productCard"})),e.createElement("div",null,!(null===(ve=null===(pe=null===(me=null==ge?void 0:ge.content)||void 0===me?void 0:me.body)||void 0===pe?void 0:pe[0])||void 0===ve?void 0:ve.isEnablePrice)&&!(null==t?void 0:t.staticPrice)&&e.createElement(ae,{content:null===(he=null===(_e=null==ge?void 0:ge.content)||void 0===_e?void 0:_e.body)||void 0===he?void 0:he[0],showPrice:d,addToCart:i}))))))},exports.CardEntitlement=Q,exports.CarouselComp=n=>e.createElement(e.Fragment,null,e.createElement(s,{responsive:{desktop:{breakpoint:{max:7e3,min:1440},items:4},tabletLarge:{breakpoint:{max:1439,min:1024},items:3},tabletMedium:{breakpoint:{max:1023,min:768},items:2},mobile:{breakpoint:{max:767,min:0},items:1}},deviceType:"desktop",ssr:!0,renderButtonGroupOutside:!0,partialVisible:!0,swipeable:!0,autoPlay:!1,shouldResetAutoplay:!1,arrows:!0},n.children),e.createElement("p",null,"compo")),exports.LineTableBasicPropConfig=h,exports.LoginModal=({toggleFun:n})=>(e.useState(!1),e.createElement("div",{className:"loginModal"},e.createElement("div",{className:"w-100 h-100 d-flex position-relative justify-content-center align-items-center"},e.createElement("div",{className:"loginContainer"},"Hi Angles Kathirvel",e.createElement("button",{onClick:n},"Close"))))),exports.ProductTableV3=({content:t,metadata:o,lineCheckCallBack:l,changeAddressClicked:r})=>{var a,d;const[u,s]=e.useState(),[m,p]=e.useState(),[v,_]=e.useState(0);let g="undefined"!=typeof window&&localStorage.getItem("lineCheckResponse"),b=g&&(null===JSON||void 0===JSON?void 0:JSON.parse(g)),f=c.get("chAddressJson");const x=null===(a=null==h?void 0:h.getInstance())||void 0===a?void 0:a.getSBUrl(),E=x+y,w=x+T,P={find_by:"uuid",language:null==o?void 0:o.lang,type:"B2C",value:null==o?void 0:o.storyId};return e.useEffect((()=>{var e,t;(e=E,t=P,K(void 0,void 0,void 0,(function*(){try{return yield n.CMSStoryblokServiceV2.get(e,t).then((e=>{var n,t,o;const l=null===(o=null===(t=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.story)||void 0===t?void 0:t.content)||void 0===o?void 0:o.body;for(const e of l)if("productTableV2"==e.component||"productTableWithOutLC"===e.component||"prodConfigContainer"===e.component)return e})).catch((e=>{throw e}))}catch(e){return e}}))).then((e=>p(e))),((e="en",t)=>{try{return n.CMSStoryblokServiceV2.get(t,{dimension:e,per_page:1e3,type:"B2C"}).then((e=>{var n;const t={};((null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.datasource_entries)||[]).map((e=>{t[e.name]=null!=e.dimension_value?e.dimension_value:e.value}));try{localStorage.removeItem("sbstaticcontent"),localStorage.setItem("sbstaticcontent",JSON.stringify(t))}catch(e){}return t})).catch((e=>e))}catch(e){throw Error("Promise failed")}})(null==o?void 0:o.lang,w).then((e=>s(e))).catch((e=>console.log(e)))}),[]),e.useEffect((()=>{var e;const n=new URLSearchParams(null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.search).get("tabOption");m&&null!==n&&((null==m?void 0:m.productContainer)||[]).map(((e,t)=>{(null==e?void 0:e.tabId)===n&&_(t)}))}),[m]),e.useEffect((()=>{g="undefined"!=typeof window&&localStorage.getItem("lineCheckResponse"),b=g&&(null===JSON||void 0===JSON?void 0:JSON.parse(g)),f="undefined"!=typeof window&&c.get("chAddressJson")}),[r]),e.createElement("div",null,(null==m?void 0:m.productContainer)&&e.createElement(e.Fragment,null,e.createElement("div",{className:`row ${pe.tabblock} ${pe.carouselpadding}`},e.createElement("div",{className:` ${pe.tabcontainer}`},((null==m?void 0:m.productContainer)||[]).map(((n,t)=>e.createElement("div",{className:` ${pe.tabs} ${v===t?pe.tabcontentactive:pe.tabcontentinactive}`},e.createElement("label",{className:` ${pe.tabcontent} `},e.createElement("input",{type:"radio",checked:v===t,onClick:()=>_(t)}),null==n?void 0:n.tabCaption)))))),e.createElement("div",{className:`position-relative ${pe.carouselpadding}`},e.createElement(i.Carousel,{activeIndex:v,indicators:!1,controls:!1,interval:null,id:"pt-carousel"},(null===(d=null==m?void 0:m.productContainer)||void 0===d?void 0:d.length)>0&&((null==m?void 0:m.productContainer)||[]).map(((n,t)=>e.createElement(i.Carousel.Item,{key:t},e.createElement(je,{content:Object.assign(Object.assign({},n),{pageType:n.pageType,dynamicProductOffer:!0,tabIndex:t,activeIndex:v,lineTableContent:m}),metadata:o,activeIndex:v,lineCheckCallBack:l,sbStaticConstants:u,address:f,eligibleBundle:b}))))))))},exports.ProductTeaser=({content:t,lineCheckCallBack:o,offerDataCallBack:l})=>{var i,r,a,d,c,m;const[p,v]=e.useState([]),[_,h]=e.useState(""),g=null===(i=null==ce?void 0:ce.getInstance())||void 0===i?void 0:i.getBaseUrl(),x=V(),y=null===(r=(null==t?void 0:t.productTeaserSlides)||[])||void 0===r?void 0:r.map((e=>null==e?void 0:e.tabTitle)),T=[];return null===(a=(null==t?void 0:t.productTeaserSlides)||[])||void 0===a||a.forEach(((e,n)=>{var t,o;(null==e?void 0:e.productId)&&0===(null===(t=T.filter((n=>n.id===(null==e?void 0:e.productId))))||void 0===t?void 0:t.length)&&T.push({id:null==e?void 0:e.productId,promoIds:[(null==e?void 0:e.promoId)?null==e?void 0:e.promoId:(null==e?void 0:e.productType)===D?z:F]}),(null==e?void 0:e.tvProductId)&&0===(null===(o=T.filter((n=>(null==n?void 0:n.id)===(null==e?void 0:e.tvProductId))))||void 0===o?void 0:o.length)&&T.push({id:null==e?void 0:e.tvProductId,promoIds:[(null==e?void 0:e.promoId)?null==e?void 0:e.promoId:z]})})),e.useEffect((()=>{var e,t;0===(null==p?void 0:p.length)&&(e=T,t=g,K(void 0,void 0,void 0,(function*(){try{localStorage.removeItem("entertainment");const o={headers:{"x-correlation-id":u.v4(),"x-sunrise-channel":b}},l=t+f,i=yield n.ApiServiceV2.getApiServiceInstance().post(l,e,o).then((e=>{if(200==e.status)return null==e?void 0:e.data}));if(i.error)return i.error;{const e=[];return null==i||i.forEach((n=>{e[n.id]=n})),e}}catch(e){console.log("error---\x3e",e)}}))).then((e=>{var n;e&&(null===(n=Object.keys(e))||void 0===n?void 0:n.length)>0&&v(e)})).catch((e=>{console.log("error---\x3e",e)}))}),[]),e.useEffect((()=>{var e,n,t,o,i;if((null===(e=Object.keys(p))||void 0===e?void 0:e.length)>0&&"function"==typeof l){const e=null!==(i=null===(o=null===(t=null===(n=null==T?void 0:T.filter((e=>(null==e?void 0:e.id)===_)))||void 0===n?void 0:n[0])||void 0===t?void 0:t.promoIds)||void 0===o?void 0:o[0])&&void 0!==i?i:"";l(p[_],e)}}),[p,_]),e.createElement("div",{className:"position-relative"},(null===(d=null==t?void 0:t.productTeaserSlides)||void 0===d?void 0:d.length)>0&&x&&e.createElement(s,{responsive:{desktop:{breakpoint:{max:7e3,min:1440},items:1},tabletLarge:{breakpoint:{max:1439,min:1024},items:1},tabletMedium:{breakpoint:{max:1023,min:768},items:1},mobile:{breakpoint:{max:767,min:0},items:1}},autoPlay:!1,shouldResetAutoplay:!1,showDots:1!==(null===(c=null==t?void 0:t.productTeaserSlides)||void 0===c?void 0:c.length),customDot:e.createElement((n=>{const{onClick:t,active:o,index:l}=n;return o&&h(y[l]),e.createElement("button",{className:o?de.stageTeaserTabActive:de.stageTeaserTab,onClick:()=>t()},y[l])}),null),dotListClass:de.carousel_dot,itemClass:de.carouselItem,ssr:!0,arrows:!1,containerClass:de.carouselContainer,sliderClass:de.sliderClass,customButtonGroup:e.createElement((n=>{var o,l,i;return e.createElement(e.Fragment,null,(null===(o=null==t?void 0:t.productTeaserSlides)||void 0===o?void 0:o.length)>1&&x!==R&&e.createElement("div",{style:{textAlign:"center"}},e.createElement("button",{disabled:0===(null===(l=null==n?void 0:n.carouselState)||void 0===l?void 0:l.currentSlide),className:de.leftArrow,onClick:n.previous}),e.createElement("button",{disabled:(null===(i=null==n?void 0:n.carouselState)||void 0===i?void 0:i.currentSlide)+1===(null==n?void 0:n.carouselState.totalItems),className:de.rightArrow,onClick:n.next})))}),null),customTransition:"transform 1s ease",transitionDuration:500},null===(m=(null==t?void 0:t.productTeaserSlides)||[])||void 0===m?void 0:m.map(((n,l)=>e.createElement(me,{content:t,slides:n,index:l,offeringData:p,lineCheckCallBack:o})))))},exports.ProductTeaserPropConfig=ce,exports.StickyProductAnchor=({content:n,offerData:t})=>{var o,l,i,r,a,d,u,s,m,p;const v=null===(o=null==h?void 0:h.getInstance())||void 0===o?void 0:o.getBaseUrl(),[_,g]=e.useState(!1),[b,f]=e.useState(!1),[x,y]=e.useState(!1),T=V(),E=null===(l=null==n?void 0:n.filter((e=>(null==e?void 0:e.productId)===(null==t?void 0:t.id))))||void 0===l?void 0:l[0];let w=0;w=(null==t?void 0:t.derivedPrice)?null===(r=null===(i=null==t?void 0:t.derivedPrice)||void 0===i?void 0:i[0])||void 0===r?void 0:r.value:null===(d=null===(a=null==t?void 0:t.prices)||void 0===a?void 0:a[0])||void 0===d?void 0:d.value;const k=e=>{const n=(null==e?void 0:e.id)&&document.getElementById(null==e?void 0:e.id);n&&n.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},C=()=>e.createElement("div",{className:Me.priceSection},B," ",P(w),e.createElement("span",{className:Me.priceDuration},null==E?void 0:E.monthText));e.useEffect((()=>{const e=()=>{const e=document.getElementById("productTeaser");if(!e)return;const{top:n,bottom:t}=e.getBoundingClientRect(),o=(null===window||void 0===window?void 0:window.innerHeight)||document.documentElement.clientHeight;g(n<o&&t>=0);const l=document.getElementById("stickyAnchorContainer"),i=null==l?void 0:l.offsetTop;i&&window.scrollY>i?f(!0):f(!1);const r=document.getElementById("dropDownContainer");null==r||r.offsetTop};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]);return e.createElement(e.Fragment,null,(null==E?void 0:E.productName)&&e.createElement(e.Fragment,null,e.createElement("div",{className:`${Me.stickyAnchorContainer} ${b?Me.offsetClass:Me.nonOffsetClass}`,id:"stickyAnchorContainer"},e.createElement(ne,null,e.createElement("div",{className:"d-flex justify-content-between"},e.createElement("div",{className:Me.productTitle},T===R&&e.createElement("img",{onClick:()=>{y(!x)},className:Me.arrowIcon,src:x?null===(s=null==E?void 0:E.arrowUp)||void 0===s?void 0:s.filename:null===(u=null==E?void 0:E.arrowDown)||void 0===u?void 0:u.filename})," ",null==E?void 0:E.productName,e.createElement("div",{className:Me.productPrice},w>0&&T===R&&e.createElement(e.Fragment,null,C()))),e.createElement("div",{className:Me.contentWrapper},T!==R&&e.createElement(e.Fragment,null,e.createElement("span",{className:Me.benefitsContainer},null===(m=(null==E?void 0:E.benefits)||[])||void 0===m?void 0:m.map((n=>e.createElement("div",{className:Me.benefits,onClick:()=>k(n)},null==n?void 0:n.title)))),w>0&&e.createElement(e.Fragment,null,C())),(null==E?void 0:E.buyBtn)&&e.createElement("button",{className:Me.buyNowButton,onClick:()=>{(null==t?void 0:t.id)&&J([t],"",(null==t?void 0:t.promoId)?null==t?void 0:t.promoId:"",v,R).then((e=>{var n;c.remove("one-commerce-cartId",{path:"/"}),c.set("one-commerce-cartId",null==e?void 0:e.id,{path:"/"}),c.set("cartProduct",null==E?void 0:E.productId,{path:"/"}),window.location.href=null!==(n=null==E?void 0:E.checkoutUrl)&&void 0!==n?n:""})).catch((e=>{console.log(e)}))}},null==E?void 0:E.buyBtn))))),(null==E?void 0:E.productName)&&x&&e.createElement("div",{className:`${Me.stickyAnchorContainer} ${b?Me.offsetClass2:Me.nonOffsetClass}`,id:"dropDownContainer"},e.createElement("span",{className:Me.benefitsContainer},null===(p=(null==E?void 0:E.benefits)||[])||void 0===p?void 0:p.map((n=>e.createElement("div",{style:{margin:"0px 40px 20px"},onClick:()=>k(n)},null==n?void 0:n.title)))))))};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|