fca-priyansh 10.2.3 → 10.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +573 -84
- package/package.json +1 -1
package/index.js
CHANGED
@@ -192,86 +192,575 @@ log.maxRecordSize = 100;
|
|
192
192
|
var checkVerified = null;
|
193
193
|
var Boolean_Option = ['online','selfListen','listenEvents','updatePresence','forceLogin','autoMarkDelivery','autoMarkRead','listenTyping','autoReconnect','emitReady'];
|
194
194
|
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
195
|
+
/!-[ Set And Check Template HTML ]-!/
|
196
|
+
|
197
|
+
var css = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'style.css'));
|
198
|
+
var js = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'script.js'));
|
199
|
+
|
200
|
+
/!-[ Function Generate HTML Template ]-!/
|
201
|
+
|
202
|
+
/**
|
203
|
+
* It returns a string of HTML code.
|
204
|
+
* @param UserName - The username of the user
|
205
|
+
* @param Type - The type of user, either "Free" or "Premium"
|
206
|
+
* @param link - The link to the music you want to play
|
207
|
+
* @returns A HTML file
|
208
|
+
*/
|
209
|
+
|
210
|
+
function ClassicHTML(UserName,Type,link) {
|
211
|
+
return `<!DOCTYPE html>
|
212
|
+
<html lang="en">
|
213
|
+
<head>
|
214
|
+
<meta charset="UTF-8">
|
215
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
216
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
217
|
+
<title>Priyanshu Rajput Info</title>
|
218
|
+
<!--font awasome icons-->
|
219
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
220
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
221
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
222
|
+
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
|
223
|
+
<!--my css file-->
|
224
|
+
<link rel="stylesheet" href="style.css">
|
225
|
+
</head>
|
226
|
+
<body >
|
227
|
+
<video autoplay muted plays-inline loop>
|
228
|
+
<source src="https://imgur.com/aoGxVLX.mp4" type="video/mp4">
|
229
|
+
</video>
|
230
|
+
<div class="container">
|
231
|
+
<button class="call"><i class="fa-solid fa-phone"></i></button>
|
232
|
+
<div class="card move">
|
233
|
+
<div class="imgbox">
|
234
|
+
<img src="https://i.imgur.com/eDbdlvd.jpg" alt="">
|
235
|
+
</div>
|
236
|
+
<div class="name-job">
|
237
|
+
<h3>Priyansh Rajput</h3>
|
238
|
+
<h5>Web Developer</h5>
|
239
|
+
</div>
|
240
|
+
<div class="skills">
|
241
|
+
<button class="btn-Follow"><a href="https://facebook.com/Priyanshu.Rajput.Official" target="_blank">Follow</a></button>
|
242
|
+
<button class="btn-Message"><a href=" https://telegram.me/Priyanshrajput" target="_blank">Message!</a></button>
|
243
|
+
</div>
|
244
|
+
|
245
|
+
</div>
|
246
|
+
<div class="icons">
|
247
|
+
<div class="icon">
|
248
|
+
<i class="fa-brands fa-twitter front"></i>
|
249
|
+
<i class="fa-brands fa-twitter back"></i>
|
250
|
+
<i class="fa-brands fa-twitter left"></i>
|
251
|
+
<i class="fa-brands fa-twitter right"></i>
|
252
|
+
<i class="fa-brands fa-twitter top"></i>
|
253
|
+
<i class="fa-brands fa-twitter bottom"></i>
|
254
|
+
</div>
|
255
|
+
<div class="icon">
|
256
|
+
<i class="fa-brands fa-youtube front"></i>
|
257
|
+
<i class="fa-brands fa-youtube back"></i>
|
258
|
+
<i class="fa-brands fa-youtube left"></i>
|
259
|
+
<i class="fa-brands fa-youtube right"></i>
|
260
|
+
<i class="fa-brands fa-youtube top"></i>
|
261
|
+
<i class="fa-brands fa-youtube bottom"></i>
|
262
|
+
</div>
|
263
|
+
<div class="icon">
|
264
|
+
<i class="fa-brands fa-facebook-f front"></i>
|
265
|
+
<i class="fa-brands fa-facebook-f back"></i>
|
266
|
+
<i class="fa-brands fa-facebook-f left"></i>
|
267
|
+
<i class="fa-brands fa-facebook-f right"></i>
|
268
|
+
<i class="fa-brands fa-facebook-f top"></i>
|
269
|
+
<i class="fa-brands fa-facebook-f bottom"></i>
|
270
|
+
</div>
|
271
|
+
<div class="icon">
|
272
|
+
<i class="fa-brands fa-whatsapp front"></i>
|
273
|
+
<i class="fa-brands fa-whatsapp back"></i>
|
274
|
+
<i class="fa-brands fa-whatsapp left"></i>
|
275
|
+
<i class="fa-brands fa-whatsapp right"></i>
|
276
|
+
<i class="fa-brands fa-whatsapp top"></i>
|
277
|
+
<i class="fa-brands fa-whatsapp bottom"></i>
|
278
|
+
</div>
|
279
|
+
</div>
|
280
|
+
</div>
|
281
|
+
</body>
|
282
|
+
</html>
|
283
|
+
<script>
|
284
|
+
var container=document.querySelector('.container')
|
285
|
+
var icons=document.querySelector('.icons')
|
286
|
+
var call=document.querySelector('.call')
|
287
|
+
var body =document.querySelector('body')
|
288
|
+
var card=document.querySelector('.card')
|
289
|
+
// body.addEventListener('onload',function(){
|
290
|
+
setTimeout(function(){
|
291
|
+
container.classList.add('move')
|
292
|
+
},3000)
|
293
|
+
// })
|
294
|
+
setTimeout(function(){
|
295
|
+
icons.style="opacity: 0"
|
296
|
+
call.style="opacity: 0"
|
297
|
+
},2000)
|
298
|
+
setTimeout(function(){
|
299
|
+
card.classList.remove('move')
|
300
|
+
icons.style="opacity: 1"
|
301
|
+
call.style="opacity: 1"
|
302
|
+
},6000)
|
303
|
+
|
304
|
+
</script>
|
305
|
+
|
306
|
+
<style>/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300&display=swap'); */
|
307
|
+
* {
|
308
|
+
padding: 0;
|
309
|
+
margin: 0;
|
310
|
+
box-sizing: border-box;
|
311
|
+
font-family: 'Roboto', sans-serif;
|
312
|
+
}
|
313
|
+
:root {
|
314
|
+
--width: 250px;
|
315
|
+
--height: 260px;
|
316
|
+
--i-width: calc(var(--height)*0.25 - 23px);
|
317
|
+
}
|
318
|
+
|
319
|
+
@media only screen and (min-width:64.1875em){
|
320
|
+
video{
|
321
|
+
height: 100%;
|
322
|
+
width: 100%;
|
323
|
+
}
|
324
|
+
|
325
|
+
}
|
326
|
+
@media only screen and (min-width:46.1875em) and (max-width:63.9375em){
|
327
|
+
video{
|
328
|
+
position: fixed;
|
329
|
+
top:0;
|
330
|
+
left: 0;
|
331
|
+
right: 0;
|
332
|
+
bottom: 0;
|
333
|
+
background-color: #000;
|
334
|
+
height: 100%;
|
335
|
+
display: block;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
@media only screen and (max-width:46.1875em){
|
339
|
+
video{
|
340
|
+
position: fixed;
|
341
|
+
top:0;
|
342
|
+
left: 0;
|
343
|
+
right: 0;
|
344
|
+
bottom: 0;
|
345
|
+
background-color: #000;
|
346
|
+
height: 100%;
|
347
|
+
display: block;
|
348
|
+
}
|
349
|
+
|
350
|
+
}
|
351
|
+
body {
|
352
|
+
height: 100vh;
|
353
|
+
width: 100vw;
|
354
|
+
background-color: black;
|
355
|
+
display: flex;
|
356
|
+
justify-content: center;
|
357
|
+
align-items: center;
|
358
|
+
perspective: 600px;
|
359
|
+
overflow: hidden;
|
360
|
+
}
|
361
|
+
body::before {
|
362
|
+
content: '';
|
363
|
+
position: absolute;
|
364
|
+
left: 0;
|
365
|
+
top: 0;
|
366
|
+
width: 100%;
|
367
|
+
height: 100%;
|
368
|
+
background: linear-gradient(#E91e63, #FF0);
|
369
|
+
clip-path: circle(22% at 30% 22%);
|
370
|
+
z-index: -1;
|
371
|
+
}
|
372
|
+
body::after {
|
373
|
+
content: '';
|
374
|
+
position: absolute;
|
375
|
+
left: 0;
|
376
|
+
top: 0;
|
377
|
+
width: 100%;
|
378
|
+
height: 100%;
|
379
|
+
background: linear-gradient(#FFF, #DA00FF);
|
380
|
+
clip-path: circle(25% at 70% 80%);
|
381
|
+
z-index: -1;
|
382
|
+
}
|
383
|
+
.container {
|
384
|
+
position: fixed;
|
385
|
+
transform-style: preserve-3d;
|
386
|
+
|
387
|
+
display: none;
|
388
|
+
|
389
|
+
z-index: 99;
|
390
|
+
|
391
|
+
|
392
|
+
}
|
393
|
+
@keyframes move{
|
394
|
+
0% {
|
395
|
+
transform: scale(0);
|
396
|
+
/* opacity: 0; */
|
397
|
+
border-radius: 50%;
|
398
|
+
}
|
399
|
+
25% {
|
400
|
+
transform: scale(0.20);
|
401
|
+
/* opacity: 0.3; */
|
402
|
+
border-radius: 25%;
|
403
|
+
}
|
404
|
+
50% {
|
405
|
+
transform: scale(0.50);
|
406
|
+
/* opacity: 0,6; */
|
407
|
+
}
|
408
|
+
75% {
|
409
|
+
transform: scale(0.75);
|
410
|
+
/* opacity: 0,6; */
|
411
|
+
}
|
412
|
+
100% {
|
413
|
+
transform: scale(1);
|
414
|
+
/* opacity: 1; */
|
415
|
+
}
|
416
|
+
}
|
417
|
+
.container.move{
|
418
|
+
animation: move linear 1.5s;
|
419
|
+
display: block;
|
420
|
+
}
|
421
|
+
.container::before{
|
422
|
+
content: "";
|
423
|
+
position: absolute;
|
424
|
+
top:-2px;
|
425
|
+
left: -2px;
|
426
|
+
width:calc(100% + 5px) ;
|
427
|
+
height: calc(100% + 5px);
|
428
|
+
border:3px solid linear-gradient(45deg,#e6fb04,#00ff66,#00ffff,#ff00ff
|
429
|
+
,#ff0099,#6e0dde,#ff3300,#099fff);
|
430
|
+
/* background: linear-gradient(45deg,#e6fb04,#00ff66,#00ffff,#ff00ff
|
431
|
+
,#ff0099,#6e0dde,#ff3300,#099fff); */
|
432
|
+
animation: animate 20s linear infinite;
|
433
|
+
background-size: 400%;
|
434
|
+
/* background:linear-gradient(transparent,#45f3ff,#45f3ff,#45f3ff,transparent); */
|
435
|
+
z-index: -1;
|
436
|
+
|
437
|
+
}
|
438
|
+
/* .container::after{
|
439
|
+
content: "";
|
440
|
+
position: absolute;
|
441
|
+
|
442
|
+
inset: 3px;
|
443
|
+
} */
|
444
|
+
@keyframes animate{
|
445
|
+
0%{
|
446
|
+
/* transform: translate(-50%,-50%) rotate(0deg); */
|
447
|
+
|
448
|
+
background-position: 0 0;
|
449
|
+
}
|
450
|
+
50%{
|
451
|
+
background-position:100% 0;
|
452
|
+
}
|
453
|
+
100%{
|
454
|
+
/* transform: translate(-50%,-50%) rotate(360deg); */
|
455
|
+
background-position: 0 0;
|
456
|
+
}
|
457
|
+
}
|
458
|
+
.card {
|
459
|
+
position: relative;
|
460
|
+
width: var(--width);
|
461
|
+
height: var(--height);
|
462
|
+
background-color: rgba(255, 255, 255, 0.02);
|
463
|
+
backdrop-filter: blur(9px);
|
464
|
+
border-top: 1px solid #FFF2;
|
465
|
+
border-left: 1px solid #FFF2;
|
466
|
+
box-shadow: 4px 4px 12px #0004;
|
467
|
+
|
468
|
+
|
469
|
+
color: #FFF;
|
470
|
+
overflow: hidden;
|
471
|
+
transition: transform 0.7s;
|
472
|
+
display: flex;
|
473
|
+
flex-wrap: wrap;
|
474
|
+
justify-content: center;
|
475
|
+
transition: 1s linear;
|
476
|
+
}
|
477
|
+
.card.move{
|
478
|
+
width: 120px;
|
479
|
+
height: 120px;
|
480
|
+
border-radius: 50%;
|
481
|
+
overflow: hidden;
|
482
|
+
padding: 0px;
|
483
|
+
|
484
|
+
}
|
485
|
+
.card.move .imgbox{
|
486
|
+
transform: translateY(0);
|
487
|
+
}
|
488
|
+
.card.move.card:before{
|
489
|
+
opacity: 0;
|
490
|
+
}
|
491
|
+
.card::before {
|
492
|
+
content: '';
|
493
|
+
position: absolute;
|
494
|
+
left: -99%;
|
495
|
+
width: 70px;
|
496
|
+
height: 400px;
|
497
|
+
background-color: #FFFB;
|
498
|
+
transform: rotate(38deg) translateY(-25%);
|
499
|
+
z-index: 1;
|
500
|
+
}
|
501
|
+
.container:hover .card:before {
|
502
|
+
animation: brightness 0.8s 1 forwards;
|
503
|
+
}
|
504
|
+
@keyframes brightness {
|
505
|
+
0% {
|
506
|
+
left: -99%;
|
507
|
+
}
|
508
|
+
100% {
|
509
|
+
left: 120%;
|
510
|
+
}
|
511
|
+
}
|
512
|
+
.imgbox {
|
513
|
+
width: 115px;
|
514
|
+
height: 115px;
|
515
|
+
border: 5px solid transparent;
|
516
|
+
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.533);
|
517
|
+
border-radius: 50%;
|
518
|
+
overflow: hidden;
|
519
|
+
text-align: center;
|
520
|
+
transition: 1s;
|
521
|
+
transform: translateY(10px);
|
522
|
+
}
|
523
|
+
.imgbox:hover{
|
524
|
+
width: 100%;
|
525
|
+
height: 100%;
|
526
|
+
border: none;
|
527
|
+
border-radius: unset;
|
528
|
+
transform: translateY(0px);
|
529
|
+
}
|
530
|
+
.imgbox:hover.card{
|
531
|
+
padding: 0;
|
532
|
+
}
|
533
|
+
.imgbox img {
|
534
|
+
width: 100%;
|
535
|
+
height: 100%;
|
536
|
+
|
537
|
+
}
|
538
|
+
.name-job {
|
539
|
+
width: 100%;
|
540
|
+
text-align: center;
|
541
|
+
text-shadow: 1px 2px 2px #000;
|
542
|
+
/* margin-bottom: 40px; */
|
543
|
+
margin-top: 10px
|
544
|
+
}
|
545
|
+
|
546
|
+
.name-job h3 {
|
547
|
+
margin-bottom: 0.1em;
|
548
|
+
}
|
549
|
+
.name-job h5 {
|
550
|
+
color: rgb(36, 219, 36);
|
551
|
+
line-height: 25px;
|
552
|
+
}
|
553
|
+
.info {
|
554
|
+
grid-column: 2 / 4;
|
555
|
+
grid-row: 1 / 3;
|
556
|
+
padding: 7px;
|
557
|
+
line-height: 1.8;
|
558
|
+
font-weight: 200;
|
559
|
+
}
|
560
|
+
.skills {
|
561
|
+
display: flex;
|
562
|
+
justify-content: space-around;
|
563
|
+
align-items: center;
|
564
|
+
margin-bottom: 6px;
|
565
|
+
}
|
566
|
+
.skills button{
|
567
|
+
padding: 5px 10px;
|
568
|
+
width: 85px;
|
569
|
+
margin: 5px;
|
570
|
+
|
571
|
+
|
572
|
+
cursor: pointer;
|
573
|
+
}
|
574
|
+
.btn-Follow a{
|
575
|
+
text-decoration: none;
|
576
|
+
color: black;
|
577
|
+
}
|
578
|
+
.btn-Follow{
|
579
|
+
background-color: rgb(36, 219, 36);
|
580
|
+
border-radius: 1px;
|
581
|
+
border: none;
|
582
|
+
}
|
583
|
+
.btn-Follow:hover{
|
584
|
+
background-color: rgb(2, 250, 2);
|
585
|
+
|
586
|
+
}
|
587
|
+
.btn-Message a{
|
588
|
+
text-decoration: none;
|
589
|
+
color: rgb(36, 219, 36);
|
590
|
+
}
|
591
|
+
.btn-Message a:hover{
|
592
|
+
color: #000;
|
593
|
+
}
|
594
|
+
.btn-Message{
|
595
|
+
border: 1px solid rgb(36, 219, 36);
|
596
|
+
border-radius: 3px;
|
597
|
+
background-color: transparent;
|
598
|
+
color: #fff;
|
599
|
+
}
|
600
|
+
.btn-Message:hover{
|
601
|
+
background-color: rgb(2, 250, 2);
|
602
|
+
color: red;
|
603
|
+
}
|
604
|
+
.skills .fa-brands {
|
605
|
+
cursor: pointer;
|
606
|
+
position: relative;
|
607
|
+
width: 45px;
|
608
|
+
height: 45px;
|
609
|
+
background-color: #FFF5;
|
610
|
+
box-shadow: 0px 2px 4px #0008, 0px -1px 1px #FFF;
|
611
|
+
display: grid;
|
612
|
+
place-content: center;
|
613
|
+
font-size: 1.22em;
|
614
|
+
border-radius: 50%;
|
615
|
+
transition: 0.3s;
|
616
|
+
}
|
617
|
+
.skills .fa-brands:hover {
|
618
|
+
background-color: #FFF;
|
619
|
+
color: #222;
|
620
|
+
}
|
621
|
+
.call {
|
622
|
+
cursor: pointer;
|
623
|
+
position: absolute;
|
624
|
+
left: 10px;
|
625
|
+
top: 10px;
|
626
|
+
width: 40px;
|
627
|
+
height: 40px;
|
628
|
+
background-color: #555;
|
629
|
+
color: #FFF;
|
630
|
+
border: 2px solid #FFF;
|
631
|
+
display: grid;
|
632
|
+
place-content: center;
|
633
|
+
border-radius: 50%;
|
634
|
+
z-index: 1;
|
635
|
+
transition: 0.4s;
|
636
|
+
}
|
637
|
+
.call:focus {
|
638
|
+
transform: rotateY(45deg) translateX(120px) translateZ(-70px);
|
639
|
+
}
|
640
|
+
.call:focus ~ .card {
|
641
|
+
transform: rotateY(45deg) translateX(140px) translateZ(-120px);
|
642
|
+
}
|
643
|
+
.call:focus ~ .icons {
|
644
|
+
height: var(--height);
|
645
|
+
transform: translateZ(var(--i-width)) translateY(-50%);
|
646
|
+
}
|
647
|
+
.icon {
|
648
|
+
position: relative;
|
649
|
+
width: var(--i-width);
|
650
|
+
height: var(--i-width);
|
651
|
+
transform-style: preserve-3d;
|
652
|
+
transform: rotateX(-40deg) rotateY(45deg);
|
653
|
+
transition: 0.7s;
|
654
|
+
}
|
655
|
+
.icons {
|
656
|
+
position: absolute;
|
657
|
+
left: 5px;
|
658
|
+
top: 50%;
|
659
|
+
width: var(--i-width);
|
660
|
+
height: calc(var(--i-width)*4);
|
661
|
+
transition: 0.6s;
|
662
|
+
display: flex;
|
663
|
+
flex-direction: column;
|
664
|
+
justify-content: space-between;
|
665
|
+
transform: translateZ(calc(var(--i-width) * -1)) translateY(-50%);
|
666
|
+
transform-style: preserve-3d;
|
667
|
+
}
|
668
|
+
.icon .fa-brands {
|
669
|
+
position: absolute;
|
670
|
+
left: 0;
|
671
|
+
top: 0;
|
672
|
+
width: 100%;
|
673
|
+
height: 100%;
|
674
|
+
background-color: #222;
|
675
|
+
color: #0FF;
|
676
|
+
border: 1px dashed #0FF;
|
677
|
+
display: grid;
|
678
|
+
place-content: center;
|
679
|
+
font-size: 1.2em;
|
680
|
+
transition: 0.5s;
|
681
|
+
}
|
682
|
+
.call:hover {
|
683
|
+
border-color: #222;
|
684
|
+
color: #000;
|
685
|
+
background-color: #FC0;
|
686
|
+
}
|
687
|
+
.icon:hover {
|
688
|
+
cursor: pointer;
|
689
|
+
transform: rotateX(-40deg) rotateY(315deg);
|
690
|
+
}
|
691
|
+
.icon:hover .fa-brands {
|
692
|
+
border-color: inherit;
|
693
|
+
background-color: #FFF;
|
694
|
+
}
|
695
|
+
.icon:hover .fa-facebook-f {
|
696
|
+
color: #0000dd;
|
697
|
+
}
|
698
|
+
.icon:hover .fa-twitter {
|
699
|
+
color: #002fff;
|
700
|
+
}
|
701
|
+
.icon:hover .fa-youtube {
|
702
|
+
color: #F00;
|
703
|
+
}
|
704
|
+
.icon:hover .fa-whatsapp {
|
705
|
+
color: #0F0;
|
706
|
+
}
|
707
|
+
.front {
|
708
|
+
transform: translateZ(calc(var(--i-width)*0.5));
|
709
|
+
}
|
710
|
+
.back {
|
711
|
+
transform: translateZ(calc(var(--i-width)* -0.5));
|
712
|
+
}
|
713
|
+
.left {
|
714
|
+
transform: rotateY(-90deg) translateZ(calc(var(--i-width)* 0.5));
|
715
|
+
}
|
716
|
+
.right {
|
717
|
+
transform: rotateY(90deg) translateZ(calc(var(--i-width)* 0.5));
|
718
|
+
}
|
719
|
+
.bottom {
|
720
|
+
transform: rotateX(-90deg) translateZ(calc(var(--i-width)* 0.5));
|
721
|
+
}
|
722
|
+
.top {
|
723
|
+
transform: rotateX(90deg) translateZ(calc(var(--i-width)* 0.5));
|
724
|
+
}</style>`
|
725
|
+
//lazy to change
|
726
|
+
}
|
727
|
+
|
728
|
+
/!-[ Stating Http Infomation ]-!/
|
729
|
+
|
730
|
+
express.set('DFP', (process.env.PORT || process.env.port || 1932));
|
731
|
+
express.use(function(req, res, next) {
|
732
|
+
switch (req.url.split('?')[0]) {
|
733
|
+
case '/script.js': {
|
734
|
+
res.writeHead(200, { 'Content-Type': 'text/javascript' });
|
735
|
+
res.write(js);
|
736
|
+
break;
|
737
|
+
}
|
738
|
+
case '/style.css': {
|
739
|
+
res.writeHead(200, { 'Content-Type': 'text/css' });
|
740
|
+
res.write(css);
|
741
|
+
break;
|
742
|
+
}
|
743
|
+
// case '/History': {
|
744
|
+
// if (req.query.PassWord == process.env.REPL_OWNER) {
|
745
|
+
// res.writeHead(200, { 'Content-Type': 'application/json charset=utf-8' });
|
746
|
+
// res.write(JSON.stringify(console.history,null,2),'utf8');
|
747
|
+
// res.end();
|
748
|
+
// }
|
749
|
+
// else res.json({
|
750
|
+
// Status: false,
|
751
|
+
// Error: "Thiếu Params ?PassWord=PassWordCuaBan =))"
|
752
|
+
// });
|
753
|
+
// break;
|
754
|
+
// }
|
755
|
+
default: {
|
756
|
+
res.writeHead(200, "OK", { "Content-Type": "text/html" });
|
757
|
+
res.write(ClassicHTML(global.Fca.Require.Priyansh.HTML.UserName, global.Fca.Data.PremText.includes("Premium") ? "Premium": "Free", global.Fca.Require.Priyansh.HTML.MusicLink));
|
758
|
+
}
|
759
|
+
}
|
760
|
+
res.end();
|
761
|
+
})
|
762
|
+
|
763
|
+
global.Fca.Require.Web = express;
|
275
764
|
|
276
765
|
/!-[ Function setOptions ]-!/
|
277
766
|
|
@@ -1179,9 +1668,9 @@ try {
|
|
1179
1668
|
else {
|
1180
1669
|
logger.Normal(getText(Language.LocalVersion,localVersion));
|
1181
1670
|
logger.Normal(getText(Language.CountTime,global.Fca.Data.CountTime()))
|
1182
|
-
|
1671
|
+
logger.Normal(Language.WishMessage[Math.floor(Math.random()*Language.WishMessage.length)]);
|
1183
1672
|
require('./Extra/ExtraUptimeRobot')();
|
1184
|
-
|
1673
|
+
DataLanguageSetting.HTML.HTML==true? global.Fca.Require.Web.listen(global.Fca.Require.Web.get('DFP')) : global.Fca.Require.Web = null;
|
1185
1674
|
callback(null, api);
|
1186
1675
|
};
|
1187
1676
|
}).catch(async function(e) {
|
@@ -1189,9 +1678,9 @@ try {
|
|
1189
1678
|
logger.Warning(Language.AutoCheckUpdateFailure)
|
1190
1679
|
logger.Normal(getText(Language.LocalVersion,global.Fca.Version));
|
1191
1680
|
logger.Normal(getText(Language.CountTime,global.Fca.Data.CountTime()))
|
1192
|
-
|
1681
|
+
logger.Normal(Language.WishMessage[Math.floor(Math.random()*Language.WishMessage.length)]);
|
1193
1682
|
require('./Extra/ExtraUptimeRobot')();
|
1194
|
-
|
1683
|
+
DataLanguageSetting.HTML.HTML==true? global.Fca.Require.Web.listen(global.Fca.Require.Web.get('DFP')) : global.Fca.Require.Web = null;
|
1195
1684
|
callback(null, api);
|
1196
1685
|
});
|
1197
1686
|
}).catch(function(/** @type {{ error: any; }} */e) {
|