PageSourceSearch

https://polsatboxgo.pl/_next/static/chunks/pages/purchase-status-60eb9d4df2065884.js

js polsatboxgo.pl collected 2026-10-02 03:36:40 UTC 27,170 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6551],{14241:function(t,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/purchase-status",function(){return s(9023)}])},31815:function(t,e,s){"use strict";s.d(e,{P:function(){return a}});var n=s(64673),i=s(59713),r=s(44474);let a=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=(0,n.ZP)(i.Y.DRM,i.U.CHECK_PRODUCT_EXTERNAL_ACTIVATION,t),a={appendAuthData:!0,disableCache:!0};return e&&(a.queryOptions={refetchOnMount:"always",refetchOnWindowFocus:"always"}),(0,r.Al)(s,a)}},78908:function(t,e,s){"use strict";s.d(e,{D:function(){return a}});var n=s(64673),i=s(59713),r=s(44474);let a=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=(0,n.ZP)(i.Y.DRM,i.U.GET_PRODUCT_EXTERNAL_ACTIVATION_DATA,t),a={appendAuthData:!0,disableCache:!0};return e&&(a.queryOptions={refetchOnMount:"always"}),(0,r.Al)(s,a)}},14092:function(t,e,s){"use strict";s.d(e,{u:function(){return c}});var n=s(44474),i=s(59713),r=s(44985),a=s(64673);let c=()=>{let t=(0,a.ZP)(i.Y.NAVIGATION,i.U.GET_MEDIA,null);return(0,n.Vp)(t,{appendAuthData:!0})};e.Z=t=>{let e=(0,a.ZP)(i.Y.NAVIGATION,i.U.GET_MEDIA,t),{data:s,isFetching:c,error:u}=(0,n.Al)(e,{appendAuthData:!0});return{data:new r.P(s),isFetching:c,error:u}}},12957:function(t,e,s){"use strict";var n=s(64673),i=s(44474),r=s(93265),a=s(59713);e.Z=t=>{let e=(0,n.ZP)(a.Y.NAVIGATION,a.U.FETCH_PRODUCT,t),{data:s,isFetching:c,error:u}=(0,i.Al)(e,{appendAuthData:!0});return{data:s&&new r.F(s),isFetching:c,error:u}}},56398:function(t,e,s){"use strict";s.d(e,{n:function(){return u}});var n=s(64673),i=s(44474),r=s(59713),a=s(15690),c=s(2436);let u=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,c.L)().isLogged(),s=(0,n.ZP)(r.Y.PAYMENTS,r.U.FETCH_POSSESSIONS,e?{}:null),u={appendAuthData:!0,disableCache:!0};t&&(u.queryOptions={refetchOnMount:"always"});let{data:o,error:l,isFetching:p}=(0,i.Al)(s,u);return{data:null==o?void 0:o.map(t=>new a.S(t)),error:l,isFetching:p}}},65077:function(t,e,s){"use strict";s.d(e,{T:function(){return p}});var n=s(64673),i=s(44474),r=s(59713);class a{getId(){return this.id}getProduct(){return this.product}getProductId(){let{id:t,type:e,subType:s}=this.product;return{id:t,type:e,subType:s}}getOffer(){return this.offer}getStatus(){return this.status}getLastPaymentDate(){return this.lastPaymentDate}getNextPaymentDate(){return this.nextPaymentDate}getOption(){return this.option}constructor(t){this.id=t.id,this.product=t.product,this.status=t.status,this.offer=t.offer,this.lastPaymentDate=t.lastPaymentDate,this.nextPaymentDate=t.nextPaymentDate,this.option=t.option}}var c=s(67294),u=s(2436);let o=r.Y.PAYMENTS,l=r.U.FETCH_PRODUCT_SUBSCRIPTIONS,p=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,u.L)().isLogged(),s=(0,n.ZP)(o,l,e?{}:null),r={appendAuthData:!0,disableCache:!0};t&&(r.queryOptions={refetchOnMount:"always"});let{data:p,error:d,isFetching:h}=(0,i.Al)(s,r);return{data:(0,c.useMemo)(()=>(null==p?void 0:p.map(t=>new a(t)))||[],[p]),error:d,isFetching:h}}},31170:function(t,e,s){"use strict";s.d(e,{EX:function(){return g},Lz:function(){return f},Mn:function(){return l},NI:function(){return h},Uk:function(){return u},W6:function(){return m},_w:function(){return o},fN:function(){return c},oe:function(){return d},wS:function(){return p}});var n=s(20567),i=s(62501),r=s(34050),a=s(14852);function c(t){return t.type===a.Pm.MEDIA&&t.subType===a.A5.LIVE}function u(t){return t.type===a.Pm.MEDIA&&t.subType===a.A5.TV}function o(t){return t.type===a.Pm.MEDIA&&(t.subType===a.A5.VOD||t.subType===a.A5.MOVIE)}function l(t){return t.type===a.Pm.MULTIPLE&&t.subType===a.A5.PACKET}function p(t,e){return t.id===e.id&&t.type===e.type&&t.subType===e.subType}function d(t,e){return t.id===e.id&&t.type===e.type}function h(t){switch(!0){case o(t):return a.pP.VOD_OR_MOVIE;case c(t)||u(t):return a.pP.EVENT_OR_CHANNEL;default:return}}function f(t){return t===a.pP.VOD_OR_MOVIE||t===a.pP.EVENT_OR_CHANNEL?t:void 0}function m(t,e){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(l(t)){let e=r.Z6.PACKET_DETAILS,u=(0,n._)({packetId:t.id,trimPurchaseHistory:s},c&&{paymentSuccess:!0});a?i.F0.replaceRoute(e,u):i.F0.pushRoute(e,u);return}if(e){e.goToDetails({trimPurchaseHistory:s,replaceRoute:a},c);return}i.F0.pushRoute(r.Z6.HOME)}function g(t,e){let s=t.getOffers()[0],n=s.getOptions(),i=n.find(t=>t.getType()===e);return{productId:t.getAddonIds(),offer:null==s?void 0:s.getOfferId(),option:i?null==i?void 0:i.getOptionId(!0):n[0].getOptionId(!0)}}},63507:function(t,e,s){"use strict";s.d(e,{L0:function(){return o},oE:function(){return u},pc:function(){return c},ps:function(){return p},w:function(){return l}});var n=s(84019),i=s(31170),r=s(67294);let a={sst:"Sky ShowTime",disney:"Disney +",apple:"Apple",wbd:"HBO"},c=t=>a[t]||t,u=()=>{let t=(0,n.m)();return(0,r.useCallback)(e=>{var s;let n=null==t?void 0:null===(s=t.payments)||void 0===s?void 0:s.bundleConfigurations;if(!n)return{isOfferAvailable:!1,bundleName:null};let r=Object.entries(n).find(t=>{let[,s]=t;return s.offers.some(t=>(0,i.oe)(e,t))});return{isOfferAvailable:!!r,bundleName:r?c(r[0]):null,offerId:r?r[0]:null}},[t])},o=t=>{var e;let s=(0,n.m)(),r=null==s?void 0:null===(e=s.payments)||void 0===e?void 0:e.bundleConfigurations;if(!r)return{isOfferAvailable:!1,bundleName:null};if("string"!=typeof t)return{bundleNames:Object.entries(r).filter(e=>{let[,s]=e;return s.offers.some(e=>t&&t.some(t=>(0,i.oe)(t,e)))}).map(t=>{let[e]=t;return c(e)})};{let e=Object.entries(r).find(e=>{let[,s]=e;return s.offers.some(e=>t===e.id)});return{bundleNames:e?[c(e[0])]:void 0}}},l=(t,e,s)=>{let n={"disney+":"disney",skyshowtime:"sst",wbd:"wbd",apple:"apple"}[t.split(" ").join("").toLowerCase()];if(!n||!s[n])return[];let i=s[n].offers;return e.filter(t=>i.some(e=>e.id===t.id))},p=(t,e,s)=>{let n=s[e];return!!(n&&Array.isArray(n.offers))&&n.offers.some(e=>e.id===t)}},15690:function(t,e,s){"use strict";s.d(e,{S:function(){return n}});
1class n{getId(){return this.id}getProduct(){return this.product}getProductId(){let{id:t,type:e,subType:s}=this.product;return{id:t,type:e,subType:s}}getOfferId(){var t;return null===(t=this.offer)||void 0===t?void 0:t.id}getOfferIdData(){if(!this.offer)return;let{id:t,type:e}=this.offer;return{id:t,type:e}}getStatus(){return this.status}getValidFrom(){return this.validFrom}getValidTo(){return this.validTo}isCyclic(){var t;return(null===(t=this.offer)||void 0===t?void 0:t.cyclic)||!1}isPlusbill(){var t;return(null===(t=this.option)||void 0===t?void 0:t.type)==="plusbill"}isDotPay(){var t;return(null===(t=this.option)||void 0===t?void 0:t.type)==="dotpay-card"}isTrial(){return this.trial||!1}getTrialDuration(){var t;return null===(t=this.offer)||void 0===t?void 0:t.trialDuration}getAccessDuration(){var t;return null===(t=this.offer)||void 0===t?void 0:t.accessDuration}getOffer(){return this.offer}getPartnerId(){return this.partnerId}getProductSubscriptionId(){return this.productSubscriptionId}getUserPackSubscriptionId(){return this.userPackSubscriptionId}constructor(t){this.id=t.id,this.product=t.product,this.status=t.status,this.offer=t.offer,this.option=t.option,this.validFrom=t.validFrom,this.validTo=t.validTo,this.trial=t.trial,this.partnerId=t.partnerId,this.productSubscriptionId=t.productSubscriptionId,this.userPackSubscriptionId=t.userPackSubscriptionId,this.isLegacy=!!t.isLegacy}}},29834:function(t,e,s){"use strict";s.d(e,{c:function(){return r}});var n=s(77337);class i{getId(){return this.id}getName(){return this.name}getDescription(){return this.description}getOptionTypes(){var t;return(null===(t=this.items)||void 0===t?void 0:t.map(t=>t.optionType))||[]}getTerms(){return this.terms}isTermsExists(){return this.terms.length>0}isSupported(){let t=["dotpay","dotpay-blik","dotpay-card","payu","payu-blik","sms","plusbill","cpwallet","plusbank-blik","payu-blik-recurring"];return this.getOptionTypes().some(e=>e&&t.includes(e))}constructor(t){this.terms=[],this.id=t.id,this.name=t.name,this.description=t.description,this.items=t.items,t.terms&&(this.terms=t.terms.map(t=>new n.d(t)))}}class r{getId(){return this.id}getMinPriceText(){var t;return null===(t=this.minPriceIncludingPricingPlans)||void 0===t?void 0:t.valueTextIncludingPricingPlans}getMinPriceValue(){var t;return null===(t=this.minPriceIncludingPricingPlans)||void 0===t?void 0:t.valueIncludingPricingPlans}getPricingPlan(){return this.pricingPlan}constructor(t){this.id=t.id,this.minPriceIncludingPricingPlans=t.minPriceIncludingPricingPlans,this.pricingPlan=new i(t.pricingPlan)}}},93265:function(t,e,s){"use strict";s.d(e,{F:function(){return T}});var n=s(20567),i=s(14932),r=s(67825),a=s(81919),c=s(62501),u=s(34050),o=s(9409),l=s(70480),p=s(14852),d=s(81780),h=s(77337);class f{getId(){return this.id}getType(){return this.type}
1getOptionId(){return{id:this.id,type:this.type}}getPaymentCardOptionType(t){return t?{type:this.type,paymentCard:{operator:t.getOperator(),id:t.getId()}}:{type:this.type}}getTerms(){return this.terms}isTermsExists(){return this.terms.length>0}getName(){return this.name}getMinPrice(){return this.minPrice}getMinPriceText(){var t;return null===(t=this.minPrice)||void 0===t?void 0:t.valueText}getMinPriceTextForPricingPlan(){var t;return null===(t=this.minPriceIncludingPricingPlans)||void 0===t?void 0:t.valueTextIncludingPricingPlans}isSupported(){return["dotpay","dotpay-blik","dotpay-card","payu","payu-blik","sms","plusbill","cpwallet","plusbank-blik","payu-blik-recurring"].includes(this.type)}isPlusbill(){return"plusbill"===this.type}isDotpayCard(){return"dotpay-card"===this.type}constructor(t){this.terms=[],this.id=t.id,this.type=t.type,this.name=t.name,this.minPrice=t.minPrice,this.minPriceIncludingPricingPlans=t.minPriceIncludingPricingPlans,t.terms&&(this.terms=t.terms.map(t=>new h.d(t)))}}var m=s(29834);class g{getId(){return this.id}
1getOfferId(){return{id:this.id,type:this.type}}getName(){return this.name||""}isPricingPlansExists(){return this.offerPricingPlans.length>0}getOfferPricingPlans(){return this.offerPricingPlans}findOfferPricingPlan(t){return this.offerPricingPlans.find(e=>e.getId()===t)}getOptions(){return this.options}findOption(t){return this.options.find(e=>e.getId()===t)}getMinPriceText(){var t;return null===(t=this.minPrice)||void 0===t?void 0:t.valueText}getDataLayerPrice(){var t,e;return(null===(t=this.minPrice)||void 0===t?void 0:t.value)?(null===(e=this.minPrice)||void 0===e?void 0:e.value)/100:.01}getAccessText(){return this.accessText}getAccessDescriptionText(){return this.longAccessText}getTerms(){return this.terms}isTermsExists(){return this.terms.length>0}isOfferOrOptionsTermsExists(){let t=this.isTermsExists();return this.getOptions().forEach(e=>{e.isTermsExists()&&(t=!0)}),t}getDescription(){return this.description}isCyclic(){return!!this.cyclic}getTrialDuration(){var t;return null===(t=this.trial)||void 0===t?void 0:t.durationText}isOfferPricingPlanRequired(){return!!this.offerPricingPlanRequired}getResignInfo(){return this.resignInfo}isPartnerOffer(){return!!this.partnerId}isRecommended(){return!!this.recommended}constructor(t){if(this.offerPricingPlans=[],this.options=[],this.terms=[],this.accessText=t.accessText,this.cyclic=t.cyclic,this.description=t.description,this.id=t.id,this.longAccessText=t.longAccessText,this.minPrice=t.minPrice,this.minPriceIncludingPricingPlans=t.minPriceIncludingPricingPlans,this.name=t.name,this.offerPricingPlanRequired=t.offerPricingPlanRequired,this.partnerId=t.partnerId,this.resignInfo=t.resignInfo,this.trial=t.trial,this.type=t.type,this.recommended=t.recommended,t.offerPricingPlans){let e=t.offerPricingPlans.map(t=>new m.c(t));this.offerPricingPlans=e.filter(t=>t.getPricingPlan().isSupported())}t.options&&t.options.forEach(t=>{"appstore"!==t.type&&"googleplay"!==t.type&&new f(t).isSupported()&&this.options.push(new f(t))}),t.terms&&(this.terms=t.terms.map(t=>new h.d(t)))}}var y=s(68200),P=s(23099);class T{getName(){return this.name}getAgeGroup(){return this.ageGroup}
1getProductId(){return{id:this.id,type:this.type,subType:this.subType}}getId(){return this.id}getType(){return this.type}getSubType(){return this.subType}getTitle(){return this.name}getDescription(){return this.description}getLongDescription(){return this.longDescription}getPurchaseDescription(){return this.purchaseDescription}getOffers(){return this.offers}getPartnerOffers(){return this.partnerOffers}getRecommendedOffers(){return this.recommendedOffers}findOffer(t){return this.offers.find(e=>e.getId()===t)}getPlatforms(){return this.platforms}getGallery(){return this.gallery||[]}getThumbnails(){return this.thumbnails}getPosters(){return this.posters}getLicenseEndDate(){return(0,a.p6)(this.licenseEndDate,l.FORMAT_DATE_MODE.DATE_WITH_YEAR)}getLicenseLocation(){return this.licenseLocation}getLicenseLocationText(){return this.licenseLocationText}getImage(t){let e=this.imageDisplayMode===o.z.THUMBNAILS?this.getThumbnails():this.getPosters(),s=(0,d.E)(e,this.imageDisplayMode,t);return{src:s?s.src:"",displayMode:this.imageDisplayMode,galleryImageDisplay:this.galleryImageDisplay}}getPacketBgImage(){let t=this.getPosters()[0];return(null==t?void 0:t.src)||""}getTerms(){return this.terms}getMetadata(){return this.type===p.Pm.MULTIPLE?"Pakiet":""}getDetailsRoute(){return u.Z6.PACKET_DETAILS}getRouteParams(){return{packetId:this.id}}goToDetails(t){let{trimPurchaseHistory:e}=t||{},s=this.getDetailsRoute(),n=this.getRouteParams();e&&Object.assign(n,{trimPurchaseHistory:e}),c.F0.pushRoute(s,n)}get platformsIcons(){return this.platforms.map(t=>{switch(t){case"mobile":return r.UZ.MOBILE;case"pc":return r.UZ.PC;case"tv":return r.UZ.TV;case"stb":return r.UZ.STB;default:return null}}).filter(t=>null!==t)}get subTypeIcon(){switch(this.subType){case p.A5.LIVE:return r.UZ.MEDIA_TYPE_LIVE;case p.A5.VOD:case p.A5.MOVIE:return r.UZ.MEDIA_TYPE_VOD;default:return null}}get metadataIcons(){return[this.subTypeIcon].filter(t=>null!==t)}seoTitle(){return(0,y.Z)("seo.packet_details.title",{packet_name:this.getTitle(),portal_domain:(0,y.Z)("domain-url")})}seoDescription(){return this.getDescription()}get getSeoAttributes(){return{title:this.seoTitle(),description:this.seoDescription()}}findMinPriceOfferLastThirtyDays(t,e){var s;let r=null===(s=this.minPriceOffersLastThirtyDays)||void 0===s?void 0:s.find(e=>e.offer.id===t),a=null==r?void 0:r.prices[0];if(null==e?void 0:e.withPricingPlan){let t=null==r?void 0:r.pricingPlanName;return(0,i._)((0,n._)({},a),{pricingPlanName:t})}return(0,n._)({},a)}constructor(t){this.imageDisplayMode=o.z.THUMBNAILS,this.galleryImageDisplay=P.BW.STANDARD,this.ageGroup=0,this.description="",this.purchaseDescription="",this.id="",this.licenseEndDate="",this.licenseLocation="",this.licenseLocationText="",this.longDescription="",this.name="",this.offers=[],this.partnerOffers=[],this.recommendedOffers=[],this.platforms=[],this.posters=[],this.subType="",this.thumbnails=[],this.gallery=[],this.type="",this.terms=[],t&&(this.minPriceOffersLastThirtyDays=t.minPriceOffersLastThirtyDays,Object.keys(t).forEach(e=>{var s,n;switch(e){case"offers":((null===(s=t[e])||void 0===s?void 0:s.map(t=>new g(t)))||[]).forEach(t=>{t.isPartnerOffer()&&this.partnerOffers.push(t),t.isRecommended()&&this.recommendedOffers.push(t),t.getOptions().length&&this.offers.push(t)});break;case"terms":null===(n=t[e])||void 0===n||n.map(t=>this.terms.push(new h.d(t)));break;default:this[e]=t[e]}})),this.subType===p.A5.MOVIE&&(this.imageDisplayMode=o.z.POSTERS)}}},77337:function(t,e,s){"use strict";s.d(e,{d:function(){return n}});class n{getId(){return this.id}getName(){return this.name}getLabel(){return this.label}getAgreeDescription(){return this.agreeDescription}getDescription(){return this.description}getVersion(){return this.version}isRequired(){return this.required}isRequiredAnswer(){return this.requiredAnswer}getSources(){return this.sources}getPdfSource(){var t;let e=this.getSources();if(e)return null===(t=e.find(t=>"pdf"===t.type))||void 0===t?void 0:t.url}isRodoRule(){return"rodo"===this.label&&!this.sources.length}constructor(t){this.id=t.rulesId,this.name=t.name,this.label=t.label,this.description=t.description,this.agreeDescription=t.agreeDescription,this.version=t.version,this.required=t.required,this.requiredAnswer=t.requiredAnswer,this.sources=t.sources}}},9023:function(t,e,s){"use strict";s.r(e),s.d(e,{default:function(){return Y}});var n=s(85893),i=s(11817),r=s(56398),a=s(12957),c=s(31170),u=s(14092),o=s(67294),l=s(11010),p=s(67825),d=s(81919),h=s(68200),f=s(70480
1),m=s(50661),g=s(1566);let y=m.ZP.div.withConfig({componentId:"sc-9f1571af-0"})(["display:flex;flex-direction:column;justify-content:space-between;height:calc(100vh - 5.5rem);@media ","{flex-direction:row;}"],g.Uh.laptop);m.ZP.div.withConfig({componentId:"sc-9f1571af-1"})(["display:flex;justify-content:center;margin-bottom:10rem;@media ","{margin-bottom:0;width:23.5rem;}"],g.Uh.laptop);let P=m.ZP.div.withConfig({componentId:"sc-9f1571af-2"})(["display:flex;flex-direction:column;justify-content:center;justify-self:center;align-items:center;width:100%;height:100%;"]),T=m.ZP.div.withConfig({componentId:"sc-9f1571af-3"})(["width:100%;@media ","{width:55rem;}& span{color:",";font-weight:bold;}"],g.Uh.laptop,t=>{let{theme:e}=t;return e.paymentSuccess.highlight}),v=m.ZP.div.withConfig({componentId:"sc-9f1571af-4"})(["display:flex;flex-direction:column;justify-content:space-between;& > div{min-width:30rem;margin:1rem 0 1rem 0;}@media ","{flex-direction:row;gap:1rem;& > div{margin:0 2rem 0 1rem;}}"],g.Uh.laptop);var A=s(34737),b=s(3464),I=s(43058),D=s(27685),E=s(57192),x=s(2436),O=s(79749),Z=s(63811),_=s.n(Z),M=s(70760),w=s(71533);let N=t=>{let{possession:e,possessionProduct:s,baseProductId:i,isPlusbill:r,media:a,productSubscription:u,hasExternalActivation:m,onBundleButtonAction:g,isBundleOffer:Z,bundleOfferName:N}=t,k=(0,M.ew)(),R=s.getProductId(),S=!(0,c.wS)(R,i),{refetch:C}=(0,E.W)(),L=(0,x.L)();(0,o.useEffect)(()=>{var t;(t=(0,l._)(function*(){var t;let e=yield null==C?void 0:C(),s=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.result;s&&L.setAuthSession(s)}),function(){return t.apply(this,arguments)})()},[L,C]),(0,o.useEffect)(()=>{(0,w._p)(k)},[]);let U=e.getValidTo(),F=e.getAccessDuration(),V=e.getTrialDuration(),j=e.isTrial(),Y=e.isCyclic(),H=[],B=[(0,h.Z)("payment-steps.payment-success")],q=(0,h.Z)("payment-steps.active"),W=(0,h.Z)("payment-steps.important"),X=(0,h.Z)("payment-steps.vod-button-text"),G=(0,h.Z)("payment-steps.live-button-text"),z=(0,h.Z)("payment-steps.channel-tv-button-text"),K=(0,h.Z)("payment-steps.packet-button-text"),J=(0,h.Z)("payment-steps.bundle-button-text",{bundleOfferName:N}),Q=()=>null==a?void 0:a.goToDetails(void 0,!0),$=s.goToDetails.bind(s);switch(!0){case(0,c._w)(R):(()=>{let t=U&&(0,d.p6)(U,f.FORMAT_DATE_MODE.FULL_DATE);t&&(r?B.push((0,h.Z)("payment-steps.vod-plusbill-success-text",{status:"<span>".concat(W,"</span>"),accessTo:"<span>".concat(t,"</span>"),portalName:"<span>".concat((0,h.Z)("domain"),"</span>")})):B.push((0,h.Z)("payment-steps.vod-success-text",{status:"<span>".concat(W,"</span>"),accessTo:"<span>".concat(t,"</span>")}))),Q&&H.push({text:X,onAction:Q})})();break;case(0,c.fN)(R):r?B.push((0,h.Z)("payment-steps.live-plusbill-success-text",{status:"<span>".concat(q,"</span>"),portalName:"<span>".concat((0,h.Z)("domain"),"</span>")})):B.push((0,h.Z)("payment-steps.live-success-text",{status:"<span>".concat(q,"</span>")})),Q&&H.push({text:G,onAction:Q});break;case(0,c.Mn)(R):if(Z){(()=>{if(!U)return;let t=(0,d.p6)(U,f.FORMAT_DATE_MODE.DATE_WITH_YEAR);if(Y){if(r)B.push((0,h.Z)("payment-steps.packet-cyclic-bundle-plusbill-success-text",{portalName:"<span>".concat((0,h.Z)("domain"),"</span>"),status:"<span>".concat(W,"</span>"),bundleOfferName:N}),(0,h.Z)("payment-steps.packet-bundle-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>"),bundleOfferName:N}));else{let e=null==u?void 0:u.getNextPaymentDate();if(e){let s=(0,d.p6)(e,f.FORMAT_DATE_MODE.DATE_WITH_YEAR);B.push((0,h.Z)("payment-steps.packet-cyclic-bundle-success-text",{status:"<span>".concat(W,"</span>"),accessTo:"<span>".concat(t,"</span>"),nextPaymentDate:"<span>".concat(s,"</span>"),bundleOfferName:N}),(0,h.Z)("payment-steps.packet-bundle-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>"),bundleOfferName:N}))}}}else r?B.push((0,h.Z)("payment-steps.packet-bundle-plusbill-success-text",{portalName:"<span>".concat((0,h.Z)("domain"),"</span>"),accessTo:"<span>".concat(t,"</span>"),status:"<span>".concat(W,"</span>"),bundleOfferName:N}),(0,h.Z)("payment-steps.packet-bundle-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>"),bundleOfferName:N})):B.push((0,h.Z)("payment-steps.packet-bundle-success-text",{status:"<span>".concat(W,"</span>"),accessTo:"<span>".concat(t,"</span>"),bundleOfferName:N}),(0,h.Z)("payment-steps.packet-bundle-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>"),bundleOfferName:N}));m||B.push((0,h.Z)("payment-steps.bundle-activate-text",{bundleOfferName:N}))})(),(()=>{if(m||H.push({text:J,isBundle:!0,onAction:g}),S&&Q)switch(!0){case(0,c._w)(i):H.push({text:X,transparent:!0,onAction:Q});break;case(0,c.fN)(i):H.push({text:G,transparent:!0,onAction:Q});break;case(0,c.Uk)(i):H.push({text:z,transparent:!0,onAction:Q})}H.push({text:K,transparent:!0,onAction:$})})();break}(()=>
1{if(Y){if(j){let t=F&&(0,d.hQ)(F),e=V&&(0,d.hQ)(V);t&&e&&(r?B.push((0,h.Z)("payment-steps.packet-cyclic-trial-plusbill-success-text",{portalName:"<span>".concat((0,h.Z)("domain"),"</span>"),accessDurationInDays:t,trialDurationInDays:e,status:"<span>".concat(W,"</span>")}),(0,h.Z)("payment-steps.packet-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>")})):B.push((0,h.Z)("payment-steps.packet-cyclic-trial-success-text",{status:"<span>".concat(W,"</span>"),accessDurationInDays:t,trialDurationInDays:e}),(0,h.Z)("payment-steps.packet-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>")})))}else if(r)B.push((0,h.Z)("payment-steps.packet-cyclic-plusbill-success-text",{portalName:"<span>".concat((0,h.Z)("domain"),"</span>"),status:"<span>".concat(W,"</span>")}),(0,h.Z)("payment-steps.packet-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>")}));else{let t=null==u?void 0:u.getNextPaymentDate(),e=t&&(0,d.p6)(t,f.FORMAT_DATE_MODE.DATE_WITH_YEAR),s=U&&(0,d.p6)(U,f.FORMAT_DATE_MODE.DATE_WITH_YEAR);B.push((0,h.Z)("payment-steps.packet-cyclic-success-text",{status:"<span>".concat(W,"</span>"),accessTo:"<span>".concat(s,"</span>"),nextPaymentDate:"<span>".concat(e,"</span>")}),(0,h.Z)("payment-steps.packet-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>")}))}}else{let t=U&&(0,d.p6)(U,f.FORMAT_DATE_MODE.DATE_WITH_YEAR);r?B.push((0,h.Z)("payment-steps.packet-plusbill-success-text",{status:"<span>".concat(W,"</span>"),accessTo:"<span>".concat(t,"</span>"),portalName:"<span>".concat((0,h.Z)("domain"),"</span>")}),(0,h.Z)("payment-steps.packet-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>")})):U&&B.push((0,h.Z)("payment-steps.packet-success-text",{status:"<span>".concat(q,"</span>"),accessTo:"<span>".concat(t,"</span>")}),(0,h.Z)("payment-steps.packet-extra-succes-text",{redirectToMyAccess:"<span>".concat((0,h.Z)("account-menu.my-access"),"</span>")}))}})(),(()=>{if(S&&Q)switch(!0){case(0,c._w)(i):H.push({text:X,onAction:Q});break;case(0,c.fN)(i):H.push({text:G,onAction:Q});break;case(0,c.Uk)(i):H.push({text:z,onAction:Q})}let t=H.length>1;H.push({text:K,transparent:t,onAction:$})})()}let tt="".concat(O.X.WRAPPER,"-").concat(O.X.PAYMENT,"-success");return(0,n.jsx)(y,{"data-testing":tt,children:(0,n.jsxs)(P,{children:[(0,n.jsx)(T,{children:(0,n.jsx)(b.v,{icon:p.UZ.SUCCESS_CIRCLE,title:(0,h.Z)("payment-steps.thank-you"),innerHtmlDescription:B})}),(0,n.jsx)(v,{children:H.map((t,e)=>{let s=t.btnType||I.J.PRIMARY,i="".concat(O.X.PAYMENT,"-").concat(O.X.BUTTON,"-").concat(_()(t.text)),r=(0,n.jsx)(A.z,{fullWidth:!0,transparent:t.transparent,btnType:s,text:t.text,onButtonAction:t.onAction,"data-testing":i},e);if(t.isBundle){let t={id:D.W.BUNDLE_ACTIVATE,disableTimeout:180};return(0,n.jsx)(A.a,{button:t,children:r},e)}return r})})]})})};var k=s(62501),R=s(34050);let S=t=>{let{possessionProduct:e}=t;return(0,n.jsx)(y,{"data-testing":"".concat(O.X.WRAPPER,"-").concat(O.X.PAYMENT,"-default-message"),children:(0,n.jsxs)(P,{fullWidth:!e,children:[(0,n.jsx)(T,{children:(0,n.jsx)(b.v,{icon:p.UZ.SUCCESS_CIRCLE,title:(0,h.Z)("payment-steps.thank-you"),innerHtmlDescription:(0,h.Z)("payment-steps.payment-success")})}),(0,n.jsx)(v,{children:(0,n.jsx)(A.z,{text:(0,h.Z)("ok-button-label"),btnType:I.J.PRIMARY,fullWidth:!0,onButtonAction:()=>k.F0.pushRoute(R.Z6.HOME),"data-testing":"".concat(O.X.PAYMENT,"-").concat(O.X.BUTTON)})})]})})};var C=s(85362),L=s(89274),U=s(78908),F=s(65077),V=s(31815),j=s(63507),Y=()=>{let[t,e]=(0,o.useState)(!1),{id:s,type:l,subType:p,possessionId:d}=(0,L.o)(),f={id:s,type:l,subType:p},{data:m,isFetching:g}=(0,r.n)(),y=null==m?void 0:m.find(t=>t.getId()===d),P=null==y?void 0:y.getProductId(),{data:T,isFetching:v}=(0,a.Z)(P&&{product:P}),A=(0,j.oE)(),b=(null==y?void 0:y.getOfferId())||"",I=y&&A({id:b,type:"online"}),D=null==I?void 0:I.offerId,E=P&&null!==D||P&&void 0!==D?{product:P,externalActivationType:D}:void 0,{data:x,isFetching:O}=(0,V.P)(E),{data:Z,error:_}=(0,U.D)(t?E:void 0),{data:M,isFetching:w}=(0,F.T)(),Y=(0,c.NI)(f),{data:H,isFetching:B}=(0,u.Z)(void 0!==Y?{mediaId:s,cpid:Y}:void 0),q=g||v||B||w||O||!1;(0,o.useEffect)(()=>{let t=null==P?void 0:P.id;if((Z||_)&&t){if(null==Z?void 0:Z.activationUrl){window.open(Z.activationUrl,"_blank"),k.F0.pushRoute(R.Z6.PACKET_DETAILS,{packetId:t});return}k.F0.pushRoute(R.Z6.PACKET_EXTERNAL_ACTIVATION_FAIL,{packetId:t,bundleOfferName:null==I?void 0:I.bundleName})}},[Z,_,P]);let W=()=>M.find(t=>t.getId()===(null==y?void 0:y.getProductSubscriptionId()));
1return(0,n.jsx)(i.Z,{simpleView:!0,hideCancel:!0,customTabTitle:"".concat((0,h.Z)("payment-steps.step-4-title",{product_name:null==T?void 0:T.getTitle(),portal_domain:(0,h.Z)("domain-url")})),children:(0,n.jsx)(C.u,{isFetching:q,children:(()=>{if(q)return null;if(y&&T){let t=W(),s=y.isPlusbill(),i=y.getOfferIdData(),r=(null==x?void 0:x.status)===0,a=!!i&&A({id:b,type:"online"}).isOfferAvailable;return(0,n.jsx)(N,{possession:y,possessionProduct:T,baseProductId:f,isPlusbill:s,media:H,productSubscription:t,hasExternalActivation:r,isBundleOffer:a,bundleOfferName:null==I?void 0:I.bundleName,onBundleButtonAction:()=>e(!0)})}return(0,n.jsx)(S,{possessionProduct:T})})()})})}}},function(t){t.O(0,[5079,5675,2901,2903,1817,2888,9774,179],function(){return t(t.s=14241)}),_N_E=t.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.