1"use strict"; 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4593b966-2098-5abd-b7dd-152bc4c0d5ef")}catch(e){}}(); 3(self.webpackChunkclient=self.webpackChunkclient||[]).push([["2969"],{49987(e,a,o){o.d(a,{SubscriptionPurchaseConfirmationOverlay:()=>j});var n=o(42062),t=o(43751),i=o(79760),s=o(55649),l=o(20345),c=o(78903),r=o(81924),m=o(42720),d=o(22352),u=o(13772),p=o(15782),f=o(31085);let h=(0,n.memo)(e=>{var{selectedPackage:a,onConfirmButtonClick:o,onBackButtonClick:n,onCloseButtonClick:t}=e,i=(0,p.A)("payment","form-confirmation-modal-button")||"";return(0,f.jsxs)("div",{className:"payment-subscription-confirmation__container",children:[(0,f.jsxs)("div",{className:"payment-subscription-confirmation__banner",children:[(0,f.jsx)("div",{className:"payment-subscription-confirmation__scrim"}),(0,f.jsxs)("button",{className:"payment-subscription-confirmation__backButton",type:"button",onClick:n,children:[(0,f.jsx)(c.Icon,{name:"arrow-left-redesigned",size:"normal",color:"inherit"}),(0,f.jsx)(r.LocalizedText,{href:"/payment#form-confirmation-modal-back",variant:"caption-2",color:"light-active"})]}),(0,f.jsx)(m.g,{className:"payment-subscription-confirmation__closeButton",forceOnClose:!0,onClose:t}),(0,f.jsxs)("div",{className:"payment-subscription-confirmation__bannerText",children:[(0,f.jsx)(r.LocalizedText,{href:"/payment#form-confirmation-modal-title",variant:"h1",color:"light"}),(0,f.jsx)(r.LocalizedText,{href:"/payment#form-confirmation-modal-subtitle",variant:"body-3",color:"light"})]})]}),(0,f.jsxs)("div",{className:"payment-subscription-confirmation__body",children:[(0,f.jsxs)("div",{className:"payment-subscription-confirmation__text",children:[(0,f.jsx)(r.LocalizedText,{href:"/payment#form-confirmation-modal-agreement",variant:"footnote-2"}),(0,f.jsx)(d.P,{selectedPackage:a,variant:"dsgn7153"}),(0,f.jsx)(u.t,{designVariant:"dsgn4759"})]}),(0,f.jsx)("div",{className:"payment-subscription-confirmation__cancelNotice",children:(0,f.jsx)(r.LocalizedText,{href:"/payment#form-confirmation-modal-cancel-notice",variant:"body-4"})}),(0,f.jsx)(l.$,{variant:"secondary",size:"medium",blockLevel:!0,title:i,onClick:o})]})]})});var v=o(53940),k=o(56177),C=o(15526),b=o(2071),y=o(37418),g=o(19156);class x{constructor(e){this.userId=e}logEvent(e,a){b.R.shared().getState(e).pipe((0,v.p)(e=>void 0===e||(0,b.J)(e,["packagesSku","stepsCount","design","type"])),(0,k.s)(1)).safeSubscribe(e=>{e&&e.userId===this.userId&&a(e)})}logViewed(e){this.logEvent(e,e=>{y.V.shared().logEvent("paywall","view","purchase_confirmation_overlay",{paywall:(0,g.qZ)(e)},!0)})}logConfirmButtonClicked(e){this.logEvent(e,e=>{y.V.shared().logEvent("paywall","click","purchase_confirmation_overlay_confirm",{paywall:(0,g.qZ)(e)},!0)})}logCloseButtonClicked(e){this.logEvent(e,e=>{y.V.shared().logEvent("paywall","click","purchase_confirmation_overlay_closed",{paywall:(0,g.qZ)(e)},!0)})}}x.shared=(0,C.G)(e=>new x(e));var _=(0,n.memo)(e=>{var{userId:a,paywallSessionId:o,onConfirmButtonClick:t,onBackButtonClick:i,onCloseButtonClick:s}=e;(0,n.useEffect)(()=>{x.shared(a).logViewed(o)},[a,o]);var l=(0,n.useCallback)(()=>{x.shared(a).logConfirmButtonClicked(o),t()},[a,o,t]),c=(0,n.useCallback)(()=>{x.shared(a).logCloseButtonClicked(o),i()},[a,o,i]),r=(0,n.useCallback)(()=>{x.shared(a).logCloseButtonClicked(o),s()},[a,o,s]);return(0,f.jsx)(h,Object.assign({},e,{onConfirmButtonClick:l,onBackButtonClick:c,onCloseButtonClick:r}))}),j=(0,n.memo)(e=>{var{selectedPackage:a,userId:o,paywallSessionId:l,onConfirm:c}=e,r=(0,n.useCallback)(()=>{t.Y.shared().get(i.A).actions.close(s.A)},[]),m=(0,n.useCallback)(()=>{r(),c()},[r,c]);return o?(0,f.jsx)(_,{selectedPackage:a,userId:o,paywallSessionId:l,onConfirmButtonClick:m,onBackButtonClick:r,onCloseButtonClick:r}):null})}}]); 4//# sourceMappingURL=sourcemaps/b884ed1bff082235.js.map 5//# debugId=4593b966-2098-5abd-b7dd-152bc4c0d5ef
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.