Loading
function(e,t,n){"use strict";n.d(t,{j:()=>a,v:()=>s.v});var l=n(260447),i=n(174459),s=n(71804),r=n(652215);class a extends l.z{getSentryAppContext(){return"billing"}getSentryTags(e,t){return{...super.getSentryTags(e,t),checkout_error:"true",billing_context:"checkout"}}getSentryExtras(e){let{loadId:t,selectedSkuId:n,selectedPlanId:l,skuIds:i,isGift:r,purchaseType:a,locationStack:o}=this.props;return{loadId:t,selectedSkuId:n,selectedPlanId:l,isGift:r,purchaseType:a,skuIds:i,locationStack:o,...e instanceof s.v?{checkoutErrorExtraInformation:e.extraSentryInformation}:{}}}onErrorCaught(e){this.emitPaymentFlowErrorAnalytics(e)}emitPaymentFlowErrorAnalytics(e){let t=this.getCrashedFlag(e),{loadId:n,locationStack:l,additionalAnalyticsData:s}=this.props,a="string"==typeof e?e:e.message;i.default.track(r.HAw.PAYMENT_FLOW_ERROR,{load_id:n,crashed:t,error_message:a,location_stack:l??[],...s})}}}