PageSourceSearch

https://www.stoos.ch/_nuxt/login-success.U3xq5siU.js

js stoos.ch collected 2026-10-02 10:40:53 UTC 1,599 bytes, 1 lines download raw bytes

1import{U as a,e as n,W as c,bz as h,bA as d,Z as l}from"./entry.-TwKWt-I.js";const u={name:"SkilineLoginSuccess",head(){return{title:"Skiline - Login Success"}},computed:{oAuthSettings(){return this.$store.getters["config/byKey"]("skilineOAuthSettings",null)}},async mounted(){if(!this.oAuthSettings){this.handleError();return}try{const t=new URLSearchParams(window.location.hash.replace("#","")).get("access_token");let s;if(t)s=t;else{const r=new URLSearchParams(window.location.search).get("code");if(r!=null){await this.$store.dispatch("user/index/loginWithSkilineCode",{code:r,baseUrl:this.oAuthSettings.baseUrl}),await this.$router.push(this.localePath("/user"));return}}if(!s){this.handleError();return}this.$store.commit("user/index/setSkilineToken",s),await this.$store.dispatch("user/index/loadSkilineUserData"),await this.$store.dispatch("user/index/getCustomerInfo");const i=this.$store.getters["user/index/skilineId"];await this.$store.dispatch("user/index/connectSkilineToPeaksolution",{skilineUserId:i,skilineAuthToken:s,keycloakToken:s}),await this.$router.push(this.localePath("/user"))}catch(e){this.handleError(e)}},methods:{handleError(){this.$router.push(this.localePath("/user/login")),this.$toast.error(this.$store.getters["config/__"]("An unexpected error occurred. Please try again"),{autoClose:3e3})}}},p=e=>(h("data-v-97429e7d"),e=e(),d(),e),k={class:"spinner-container"},_=p(()=>l("div",{class:"spinner-border text-primary"},null,-1)),g=[_];function m(e,t,s,i,o,r){return n(),c("div",k,g)}const $=a(u,[["render",m],["__scopeId","data-v-97429e7d"]]);export{$ as default};

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.