Build 574548stable
Module 739508
705 characters · in no known chunkDependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{eS:()=>l,gr:()=>d,hD:()=>_,ob:()=>u,pM:()=>c});var i=n(636537),r=n(136857),s=n(184015),a=n(38405),o=n(818348);function l(e,t){let n=new Date;return n.setMonth(e-1),n.toLocaleString(t,{month:"short"})}async function u(e){let t=null;if(null!=e&&e.paymentGateway===o.kM.BRAINTREE){let e=await (0,s.Z)();null!=e&&(t={braintree_device_data:e})}return t}function c(e,t){a.A.captureException(e,{...t,tags:{...t?.tags,app_context:"billing"}})}function d(e){return e instanceof i.oh&&!!(e.status>=400)&&!!(e.status<500)||e instanceof r.Ay&&null!=e.status&&!!(e.status>=400)&&!!(e.status<500)}function _(e,t){a.A.captureMessage(e,{...t,tags:{...t?.tags,app_context:"billing"}})}}