Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
base64 deshadowing indices
- Loading branch information
1 parent
14dbe39
commit 7c34a207e705737df59bf584433a3ea05ca3c901
Showing
17 changed files
with
94 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,11 @@ | ||
const chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'; | ||
|
||
export function toBase64(num: number) { | ||
let outStr = ''; | ||
do { | ||
const curDigit = num % 64; | ||
num = Math.floor(num / 64); | ||
outStr = chars[curDigit] + outStr; | ||
} while (num !== 0); | ||
return outStr; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
description: 'base64 deshadowing indices' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,37 @@ | ||
var name = 5; | ||
|
||
var name$1 = 5; | ||
|
||
var name$2 = 5; | ||
|
||
var name$3 = 5; | ||
|
||
var name$4 = 5; | ||
|
||
var name$5 = 5; | ||
|
||
var name$6 = 5; | ||
|
||
var name$7 = 5; | ||
|
||
var name$8 = 5; | ||
|
||
var name$9 = 5; | ||
|
||
var name$a = 5; | ||
|
||
console.log(name); | ||
console.log(name$1); | ||
console.log(name$2); | ||
console.log(name$3); | ||
console.log(name$4); | ||
console.log(name$5); | ||
console.log(name$6); | ||
console.log(name$7); | ||
console.log(name$8); | ||
console.log(name$9); | ||
console.log(name$a); | ||
|
||
var name$b = 'name'; | ||
|
||
export { name$b as name }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
export var name = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,25 @@ | ||
import { name as a } from './dep1.js'; | ||
import { name as b } from './dep2.js'; | ||
import { name as c } from './dep3.js'; | ||
import { name as d } from './dep4.js'; | ||
import { name as e } from './dep5.js'; | ||
import { name as f } from './dep6.js'; | ||
import { name as g } from './dep7.js'; | ||
import { name as h } from './dep8.js'; | ||
import { name as i } from './dep9.js'; | ||
import { name as j } from './dep10.js'; | ||
import { name as k } from './dep11.js'; | ||
|
||
console.log(a); | ||
console.log(b); | ||
console.log(c); | ||
console.log(d); | ||
console.log(e); | ||
console.log(f); | ||
console.log(g); | ||
console.log(h); | ||
console.log(i); | ||
console.log(j); | ||
console.log(k); | ||
|
||
export var name = 'name'; |