1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`release-202609300849`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`613eab31-6343-4aaf-9aa8-003cd63a3f3a`,e._sentryDebugIdIdentifier=`sentry-dbid-613eab31-6343-4aaf-9aa8-003cd63a3f3a`)}catch{}})();import{M as e,Ot as t,R as n,Z as r,c as i,et as a,k as o,s}from"./vendor-vue-core-DI5wj9bP.js";import{Ct as c}from"./utils-CL0hl12X.js";import{i as l,it as u,nt as d,t as f,tt as p,x as m}from"./user-TQfZ8_Hw.js";import{t as h}from"./_plugin-vue_export-helper-C8SdpCFW.js";var g={class:`bg-grey900 h-screen flex justify-center items-center`},_=h(n({__name:`big-commerce-login`,setup(n){let h=s(),_=i(),v=f(),{setUser:y,getCurrentUser:b}=l(),x=t(!1),S=async()=>{await y(null),v.currentShopIdentifier=``,p(),x.value=!0;try{let{signed_payload:e,signed_payload_jwt:t}=h.query,{data:n,included:r}=await new m().bigCommerceLogin({signed_payload:e,signed_payload_jwt:t}),i=n.attributes.access_token;v.currentShopIdentifier=n.attributes.current_shop_identifier.toString(),v.currentShopChannel=n.attributes.current_shop_channel.toLowerCase();let a={};if(r&&r.length){let e=r[0].attributes;a={agent_id:r[0].id,status:e.status,online_status:e.online_status,last_active_at:e.last_active_at,join_date:e.join_date,role:e.role,team_id:e.team_id}}return await y({id:n.id,type:n.type,attributes:{...n.attributes,...a}}),v.showTrialCountdown=v.showProUpgradeRibbon,d(i),u(i),await b({isSecondCall:!1,updateCustomField:!0}),v.turnOnAnimatedLogo(),_.push(`/`)}catch(e){x.value=!1,c(e),await _.push(`/login`)}};return r(async()=>{await S()}),(t,n)=>(a(),e(`div`,g,n[0]||=[o(`div`,{class:`loading`},null,-1)]))}}),[[`__scopeId`,`data-v-11a4d336`]]);export{_ as default}; 2//# sourceMappingURL=big-commerce-login-pemynESk.js.map
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.