PageSourceSearch

https://polsatboxgo.pl/_next/static/chunks/pages/account/my-access-resignation-confirm-03476a5942d976ab.js

js polsatboxgo.pl collected 2026-10-02 03:34:53 UTC 15,132 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9089,2378],{15249:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/my-access-resignation-confirm",function(){return i(53897)}])},12957:function(e,t,i){"use strict";var r=i(64673),n=i(44474),s=i(93265),u=i(59713);t.Z=e=>{let t=(0,r.ZP)(u.Y.NAVIGATION,u.U.FETCH_PRODUCT,e),{data:i,isFetching:o,error:a}=(0,n.Al)(t,{appendAuthData:!0});return{data:i&&new s.F(i),isFetching:o,error:a}}},31170:function(e,t,i){"use strict";i.d(t,{EX:function(){return m},Lz:function(){return g},Mn:function(){return l},NI:function(){return h},Uk:function(){return a},W6:function(){return f},_w:function(){return c},fN:function(){return o},oe:function(){return p},wS:function(){return d}});var r=i(20567),n=i(62501),s=i(34050),u=i(14852);function o(e){return e.type===u.Pm.MEDIA&&e.subType===u.A5.LIVE}function a(e){return e.type===u.Pm.MEDIA&&e.subType===u.A5.TV}function c(e){return e.type===u.Pm.MEDIA&&(e.subType===u.A5.VOD||e.subType===u.A5.MOVIE)}function l(e){return e.type===u.Pm.MULTIPLE&&e.subType===u.A5.PACKET}function d(e,t){return e.id===t.id&&e.type===t.type&&e.subType===t.subType}function p(e,t){return e.id===t.id&&e.type===t.type}function h(e){switch(!0){case c(e):return u.pP.VOD_OR_MOVIE;case o(e)||a(e):return u.pP.EVENT_OR_CHANNEL;default:return}}function g(e){return e===u.pP.VOD_OR_MOVIE||e===u.pP.EVENT_OR_CHANNEL?e:void 0}function f(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(l(e)){let t=s.Z6.PACKET_DETAILS,a=(0,r._)({packetId:e.id,trimPurchaseHistory:i},o&&{paymentSuccess:!0});u?n.F0.replaceRoute(t,a):n.F0.pushRoute(t,a);return}if(t){t.goToDetails({trimPurchaseHistory:i,replaceRoute:u},o);return}n.F0.pushRoute(s.Z6.HOME)}function m(e,t){let i=e.getOffers()[0],r=i.getOptions(),n=r.find(e=>e.getType()===t);return{productId:e.getAddonIds(),offer:null==i?void 0:i.getOfferId(),option:n?null==n?void 0:n.getOptionId(!0):r[0].getOptionId(!0)}}},63507:function(e,t,i){"use strict";i.d(t,{L0:function(){return c},oE:function(){return a},pc:function(){return o},ps:function(){return d},w:function(){return l}});var r=i(84019),n=i(31170),s=i(67294);let u={sst:"Sky ShowTime",disney:"Disney +",apple:"Apple",wbd:"HBO"},o=e=>u[e]||e,a=()=>{let e=(0,r.m)();return(0,s.useCallback)(t=>{var i;let r=null==e?void 0:null===(i=e.payments)||void 0===i?void 0:i.bundleConfigurations;if(!r)return{isOfferAvailable:!1,bundleName:null};let s=Object.entries(r).find(e=>{let[,i]=e;return i.offers.some(e=>(0,n.oe)(t,e))});return{isOfferAvailable:!!s,bundleName:s?o(s[0]):null,offerId:s?s[0]:null}},[e])},c=e=>{var t;let i=(0,r.m)(),s=null==i?void 0:null===(t=i.payments)||void 0===t?void 0:t.bundleConfigurations;if(!s)return{isOfferAvailable:!1,bundleName:null};if("string"!=typeof e)return{bundleNames:Object.entries(s).filter(t=>{let[,i]=t;return i.offers.some(t=>e&&e.some(e=>(0,n.oe)(e,t)))}).map(e=>{let[t]=e;return o(t)})};{let t=Object.entries(s).find(t=>{let[,i]=t;return i.offers.some(t=>e===t.id)});return{bundleNames:t?[o(t[0])]:void 0}}},l=(e,t,i)=>{let r={"disney+":"disney",skyshowtime:"sst",wbd:"wbd",apple:"apple"}[e.split(" ").join("").toLowerCase()];if(!r||!i[r])return[];let n=i[r].offers;return t.filter(e=>n.some(t=>t.id===e.id))},d=(e,t,i)=>{let r=i[t];return!!(r&&Array.isArray(r.offers))&&r.offers.some(t=>t.id===e)}},29834:function(e,t,i){"use strict";i.d(t,{c:function(){return s}});var r=i(77337);class n{getId(){return this.id}getName(){return this.name}getDescription(){return this.description}getOptionTypes(){var e;return(null===(e=this.items)||void 0===e?void 0:e.map(e=>e.optionType))||[]}getTerms(){return this.terms}isTermsExists(){return this.terms.length>0}isSupported(){let e=["dotpay","dotpay-blik","dotpay-card","payu","payu-blik","sms","plusbill","cpwallet","plusbank-blik","payu-blik-recurring"];return this.getOptionTypes().some(t=>t&&e.includes(t))}constructor(e){this.terms=[],this.id=e.id,this.name=e.name,this.description=e.description,this.items=e.items,e.terms&&(this.terms=e.terms.map(e=>new r.d(e)))}}class s{getId(){return this.id}getMinPriceText(){var e;return null===(e=this.minPriceIncludingPricingPlans)||void 0===e?void 0:e.valueTextIncludingPricingPlans}getMinPriceValue(){var e;return null===(e=this.minPriceIncludingPricingPlans)||void 0===e?void 0:e.valueIncludingPricingPlans}getPricingPlan(){return this.pricingPlan}constructor(e){this.id=e.id,this.minPriceIncludingPricingPlans=e.minPriceIncludingPricingPlans,this.pricingPlan=new n(e.pricingPlan)}}},93265:function(e,t,i){"use strict";i.d(t,{F:function(){return T}});var r=i(20567),n=i(14932),s=i(67825),u=i(81919),o=i(62501),a=i(34050),c=i(9409),l=i(70480
1),d=i(14852),p=i(81780),h=i(77337);class g{getId(){return this.id}getType(){return this.type}getOptionId(){return{id:this.id,type:this.type}}getPaymentCardOptionType(e){return e?{type:this.type,paymentCard:{operator:e.getOperator(),id:e.getId()}}:{type:this.type}}getTerms(){return this.terms}isTermsExists(){return this.terms.length>0}getName(){return this.name}getMinPrice(){return this.minPrice}getMinPriceText(){var e;return null===(e=this.minPrice)||void 0===e?void 0:e.valueText}getMinPriceTextForPricingPlan(){var e;return null===(e=this.minPriceIncludingPricingPlans)||void 0===e?void 0:e.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(e){this.terms=[],this.id=e.id,this.type=e.type,this.name=e.name,this.minPrice=e.minPrice,this.minPriceIncludingPricingPlans=e.minPriceIncludingPricingPlans,e.terms&&(this.terms=e.terms.map(e=>new h.d(e)))}}var f=i(29834);class m{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(e){return this.offerPricingPlans.find(t=>t.getId()===e)}getOptions(){return this.options}findOption(e){return this.options.find(t=>t.getId()===e)}getMinPriceText(){var e;return null===(e=this.minPrice)||void 0===e?void 0:e.valueText}getDataLayerPrice(){var e,t;return(null===(e=this.minPrice)||void 0===e?void 0:e.value)?(null===(t=this.minPrice)||void 0===t?void 0:t.value)/100:.01}getAccessText(){return this.accessText}getAccessDescriptionText(){return this.longAccessText}getTerms(){return this.terms}isTermsExists(){return this.terms.length>0}isOfferOrOptionsTermsExists(){let e=this.isTermsExists();return this.getOptions().forEach(t=>{t.isTermsExists()&&(e=!0)}),e}getDescription(){return this.description}isCyclic(){return!!this.cyclic}getTrialDuration(){var e;return null===(e=this.trial)||void 0===e?void 0:e.durationText}isOfferPricingPlanRequired(){return!!this.offerPricingPlanRequired}getResignInfo(){return this.resignInfo}isPartnerOffer(){return!!this.partnerId}isRecommended(){return!!this.recommended}constructor(e){if(this.offerPricingPlans=[],this.options=[],this.terms=[],this.accessText=e.accessText,this.cyclic=e.cyclic,this.description=e.description,this.id=e.id,this.longAccessText=e.longAccessText,this.minPrice=e.minPrice,this.minPriceIncludingPricingPlans=e.minPriceIncludingPricingPlans,this.name=e.name,this.offerPricingPlanRequired=e.offerPricingPlanRequired,this.partnerId=e.partnerId,this.resignInfo=e.resignInfo,this.trial=e.trial,this.type=e.type,this.recommended=e.recommended,e.offerPricingPlans){let t=e.offerPricingPlans.map(e=>new f.c(e));this.offerPricingPlans=t.filter(e=>e.getPricingPlan().isSupported())}e.options&&e.options.forEach(e=>{"appstore"!==e.type&&"googleplay"!==e.type&&new g(e).isSupported()&&this.options.push(new g(e))}),e.terms&&(this.terms=e.terms.map(e=>new h.d(e)))}}var P=i(68200),y=i(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(e){return this.offers.find(t=>t.getId()===e)}getPlatforms(){return this.platforms}getGallery(){return this.gallery||[]}getThumbnails(){return this.thumbnails}getPosters(){return this.posters}getLicenseEndDate(){return(0,u.p6)(this.licenseEndDate,l.FORMAT_DATE_MODE.DATE_WITH_YEAR)}getLicenseLocation(){return this.licenseLocation}getLicenseLocationText(){return this.licenseLocationText}getImage(e){let t=this.imageDisplayMode===c.z.THUMBNAILS?this.getThumbnails():this.getPosters(),i=(0,p.E)(t,this.imageDisplayMode,e);return{src:i?i.src:"",displayMode:this.imageDisplayMode,galleryImageDisplay:this.galleryImageDisplay}}getPacketBgImage(){let e=this.getPosters()[0];return(null==e?void 0:e.src)||""}getTerms(){return this.terms}getMetadata(){return this.type===d.Pm.MULTIPLE?"Pakiet":""}getDetailsRoute(){return a.Z6.PACKET_DETAILS}getRouteParams(){return{packetId:this.id}}goToDetails(e){let{trimPurchaseHistory:t}=e||{},i=this.getDetailsRoute(),r=this.getRouteParams();t&&Object.assign(r,{trimPurchaseHistory:t}),o.F0.pushRoute(i,r)}get platformsIcons(){return this.platforms.map(e=>{switch(e){case"mobile":return s.UZ.MOBILE;case"pc":return s.UZ.PC;case"tv":return s.UZ.TV;case"stb":return s.UZ.STB;default:return null}}).filter(e=>null!==e)}get subTypeIcon(){switch(this.subType){case d.A5.LIVE:return s.UZ.MEDIA_TYPE_LIVE;case d.A5.VOD:case d.A5.MOVIE:return s.UZ.MEDIA_TYPE_VOD;default:return null}}get metadataIcons(){return[this.subTypeIcon].filter(e=>null!==e)}seoTitle(){return(0,P.Z)("seo.packet_details.title",{packet_name:this.getTitle(),portal_domain:(0,P.Z)("domain-url")})}seoDescription(){return this.getDescription()}get getSeoAttributes(){return{title:this.seoTitle(),description:this.seoDescription()}}findMinPriceOfferLastThirtyDays(e,t){var i;let s=null===(i=this.minPriceOffersLastThirtyDays)||void 0===i?void 0:i.find(t=>t.offer.id===e),u=null==s?void 0:s.prices[0];if(null==t?void 0:t.withPricingPlan){let e=null==s?void 0:s.pricingPlanName;return(0,n._)((0,r._)({},u),{pricingPlanName:e})}return(0,r._)({},u)}constructor(e){this.imageDisplayMode=c.z.THUMBNAILS,this.galleryImageDisplay=y.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=[],e&&(this.minPriceOffersLastThirtyDays=e.minPriceOffersLastThirtyDays,Object.keys(e).forEach(t=>{var i,r;switch(t){case"offers":((null===(i=e[t])||void 0===i?void 0:i.map(e=>new m(e)))||[]).forEach(e=>{e.isPartnerOffer()&&this.partnerOffers.push(e),e.isRecommended()&&this.recommendedOffers.push(e),e.getOptions().length&&this.offers.push(e)});break;case"terms":null===(r=e[t])||void 0===r||r.map(e=>this.terms.push(new h.d(e)));break;default:this[t]=e[t]}})),this.subType===d.A5.MOVIE&&(this.imageDisplayMode=c.z.POSTERS)}}},77337:function(e,t,i){"use strict";i.d(t,{d:function(){return r}});class r{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 e;let t=this.getSources();if(t)return null===(e=t.find(e=>"pdf"===e.type))||void 0===e?void 0:e.url}isRodoRule(){return"rodo"===this.label&&!this.sources.length}constructor(e){this.id=e.rulesId,this.name=e.name,this.label=e.label,this.description=e.description,this.agreeDescription=e.agreeDescription,this.version=e.version,this.required=e.required,this.requiredAnswer=e.requiredAnswer,this.sources=e.sources}}},53897:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return N}});var r=i(85893),n=i(67294),s=i(11817),u=i(96465),o=i(11010),a=i(12957),c=i(64673),l=i(44474),d=i(59713),p=()=>{let e=(0,c.ZP)(d.Y.PAYMENTS,d.U.CANCEL_PRODUCT_SUBSCRIPTION,null);return(0,l.Vp)(e,{appendAuthData:!0,invalidate:[[d.Y.PAYMENTS,d.U.FETCH_PRODUCT_SUBSCRIPTIONS]]})},h=i(34737),g=i(91952),f=i(67825),m=i(85362),P=i(3464),y=i(89274),T=i(68200),I=i(62501),v=i(34050),O=i(7824),E=i(16515),b=i(63507),A=i(79749);let D=()=>{var e;let{setError:t}=(0,E.VI)(),{subscriptionId:i,possessionName:s}=(0,y.o)(),{query:{productId:u,offerId:c,validTo:l}}=(0,I.tv)(),[d,{status:D,error:_,isFetching:M}]=p(),{data:N,isFetching:R}=(0,a.Z)(u&&{product:{id:u,type:"multiple",subType:"packet"}}),x=null==N?void 0:N.getPartnerOffers().find(e=>e.getId()===c),S=null==x?void 0:x.getResignInfo(),C=(0,b.oE)(),L=i||"",w=decodeURI(s||""),k=(e=(0,o._)(function*(){if((yield d({productSubscriptionId:L})).ok)return I.F0.pushRoute(v.Z6.MY_ACCESS_RESIGNATION_SUCCESS,{possessionName:w,offerId:c,validTo:l})}),function(){return e.apply(this,arguments)});return((0,n.useEffect)(()=>{_&&t(_)},[_]),M||R||"success"===D)?(0,r.jsx)(m.J5,{isFetching:!0,text:(0,T.Z)("product-access.resignation-loader-info"),highlight:!0}):S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(P.v,{icon:f.UZ.INFO_CIRCLE,title:S.description,gutter:O.G.MEDIUM}),(0,r.jsx)(h.z,{text:(0,T.Z)("ok-button-label"),onButtonAction:I.F0.back,btnType:g.JB.PRIMARY,transparent:!0,"data-testing":"".concat(A.X.PAYMENT,"-").concat(A.X.BUTTON,"-ok")})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(P.v,{icon:f.UZ.INFO_CIRCLE,title:(()=>{let e=C({id:c,type:"online"}),t=null==e?void 0:e.isOfferAvailable,i=null==e?void 0:e.bundleName;return t?(0,T.Z)("product-access.resignation-bundle-title",{possessionDetail
1s:w,bundleOfferName:i}):(0,T.Z)("product-access.resignation-title",{possessionDetails:w})})(),gutter:O.G.MEDIUM}),(0,r.jsx)(h.z,{text:(0,T.Z)("ok-button-label"),onButtonAction:k,btnType:g.JB.PRIMARY,gutter:O.G.MEDIUM,"data-testing":"".concat(A.X.PAYMENT,"-").concat(A.X.BUTTON,"-ok")}),(0,r.jsx)(h.z,{text:(0,T.Z)("cancel-button-label"),onButtonAction:I.F0.back,btnType:g.JB.PRIMARY,transparent:!0,"data-testing":"".concat(A.X.PAYMENT,"-").concat(A.X.BUTTON,"-cancel")})]})};var _=i(32618),M=i(41959),N=()=>{let e="".concat(A.X.WRAPPER,"-").concat(A.X.ACCESS,"-resignation-confirm");return(0,r.jsx)(s.Z,{activityEvents:{placeType:M.U.PAYMENTS_CANCEL_SUBSCRIPTION},children:(0,r.jsx)(u.p0,{selectedRoute:v.Z6.MY_ACCESS,children:(0,r.jsx)(_.gf,{centered:!0,topGutter:O.G.XSMALL,"data-testing":e,children:(0,r.jsx)(D,{})})})})}}},function(e){e.O(0,[5079,5675,3290,2901,2903,1817,6465,2888,9774,179],function(){return e(e.s=15249)}),_N_E=e.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.