PageSourceSearch

https://app.smm-gpt.ru/chunk-VHWILGYY.js

js smm-gpt.ru collected 2026-10-08 09:46:46 UTC 1,497 bytes, 1 lines download raw bytes

1import{c as u}from"./chunk-IJEOQW3J.js";import{h}from"./chunk-FVSJVRGG.js";import"./chunk-YLQIVW4D.js";import"./chunk-VJXCDE5T.js";import{a as n}from"./chunk-3EWVCF2G.js";import"./chunk-5JHZ5FCW.js";import"./chunk-3YAIYLMT.js";import"./chunk-W4WHHZIM.js";import{e as m,i as p}from"./chunk-NAIS6S7Q.js";import"./chunk-IV5I5P42.js";import"./chunk-UCZAMCMX.js";import{D as c,Ja as r,Wb as l,ca as v,mb as f,se as g,va as o}from"./chunk-MM5NTTZF.js";var d=(()=>{let e=class{constructor(){this.platformId=r(f),this.authService=r(h),this.route=r(m),this.router=r(p),this.metrika=r(u),this.authFlow=r(n)}ngOnInit(){if(!g(this.platformId))return;let s=this.route.snapshot.queryParamMap.get("provider"),i=this.route.snapshot.queryParamMap.get("isNewUser")==="true"&&!!s&&s!=="tg";this.authService.save({accessToken:this.route.snapshot.queryParams.accessToken,refreshToken:this.route.snapshot.queryParams.refreshToken}),this.authService.getUser().pipe(o(t=>{var a;return(a=t==null?void 0:t.utm)!=null&&a.isNewUser&&this.authService.saveUtmToServer().pipe(o(()=>this.authService.getUser()),v(1)).subscribe(),c(t)})).subscribe(t=>{if(!this.router.url.startsWith("/oauth"))return;i&&t!=null&&t.id&&this.metrika.trackRegistrationGoal(t.id);let a=this.authFlow.buildPostAuthUrl();this.router.navigateByUrl(a)})}};return e.ɵfac=function(s){return new(s||e)},e.ɵcmp=l({type:e,selectors:[["mc-oauth"]],decls:0,vars:0,template:function(s,i){},encapsulation:2,changeDetection:0}),e})();export{d as OauthComponent};

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.