PageSourceSearch

https://sistema.spacenet.com.br/central_assinante_web/controller/cadastro_login/cadastro_login.js

js spacenet.com.br collected 2026-09-24 13:44:34 UTC 2,639 bytes, 67 lines download raw bytes

1cadastroLogin();
2
3var funcoes_cad_login = {
4    validarDadosUsuario() {
5        var hs_web = new HotsiteWeb();
6        $(document).ready(function () {
7            router.history.current.matched[0].instances.default.loading_one = true;
8            return hs_web.validarDadosUsuarioPrimeiroAcesso();
9        });
10    },
11    validarCriarUsuario(email_user, pass_user, pass_two_user) {
12        var hs_web = new HotsiteWeb();
13        router.history.current.matched[0].instances.default.loading_two = true;
14        if (email_user && pass_user && pass_two_user) {
15            if (!email_user.match(/^(.*)+(@)+(.*)+(\.)+(.*)$/)) {
16                hs_web.criarToast('5000', 'Erro!', 'Email inválido!', 'fas fa-exclamation-circle', 'red', 'id_erro');
17                return router.history.current.matched[0].instances.default.loading_two = false;
18            }
19
20            if (pass_user != pass_two_user) {
21                hs_web.criarToast('5000', 'Erro!', 'Senhas digitadas não são iguais!', 'fas fa-exclamation-circle', 'red', 'id_erro');
22                return router.history.current.matched[0].instances.default.loading_two = false;
23            }
24
25            return hs_web.validarCriarUsuarioPrimeiroAcesso(email_user, pass_user, pass_two_user);
26        } else {
27            hs_web.criarToast('5000', 'Erro!', 'Preecha todos os campos!', 'fas fa-exclamation-circle', 'red', 'id_erro');
28            router.history.current.matched[0].instances.default.loading_two = false;
29        }
30    }
31};
32
33function cadastroLogin() {
34    try {
35        $.ajax({
36            url: __SERVER__ + "/view/cadastro_login/cadastro_login.vue",
37            type: "GET",
38            data: "",
39            dataType: 'html'
40        }).done(function (resposta) {
41            __ROTAS__.push({
42                path: '/central_assinante_web/cadastro_login',
43                name: 'cadastro_login',
44                component: {
45                    template: resposta,
46                    data() {
47                        return {
48                            email_user: '',
49                            pass_user: '',
50                            pass_two_user: '',
51                            logo_base_login: '',
52                            loading_one: false,
53                            loading_two: false,
54                            wizard: '',
55                            mostrar_tela: ''
56                        }
57                    },
58                    methods: funcoes_cad_login
59                }
60            });
61            PAGE_CADASTRO_LOGIN = true;
62            verificaPages();
63        })
64    } catch (e) {
65        console.log("Error message ->" + e);
66    }
67}

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.