Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.15.28.86
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
node_modules /
gauge /
Delete
Unzip
Name
Size
Permission
Date
Action
node_modules
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
CHANGELOG.md
6.23
KB
-rw-r--r--
2017-04-21 23:05
LICENSE
751
B
-rw-r--r--
2015-01-25 21:05
README.md
14.72
KB
-rw-r--r--
2016-11-03 21:33
base-theme.js
395
B
-rw-r--r--
2016-06-16 01:59
error.js
616
B
-rw-r--r--
2016-06-16 01:59
has-color.js
292
B
-rw-r--r--
2016-06-16 01:59
index.js
6.83
KB
-rw-r--r--
2017-02-08 00:49
package.json
2.1
KB
-rw-r--r--
2021-02-04 21:24
plumbing.js
1.24
KB
-rw-r--r--
2017-04-21 22:13
process.js
89
B
-rw-r--r--
2016-06-16 01:59
progress-bar.js
998
B
-rw-r--r--
2016-06-16 01:59
render-template.js
5.6
KB
-rw-r--r--
2016-06-16 08:51
set-immediate.js
139
B
-rw-r--r--
2016-06-16 01:59
set-interval.js
93
B
-rw-r--r--
2016-06-16 01:59
spin.js
105
B
-rw-r--r--
2016-06-16 01:59
template-item.js
1.86
KB
-rw-r--r--
2016-06-16 01:59
theme-set.js
3.61
KB
-rw-r--r--
2016-06-16 01:59
themes.js
1.51
KB
-rw-r--r--
2016-06-16 01:59
wide-truncate.js
828
B
-rw-r--r--
2016-06-16 01:59
Save
Rename
'use strict' var stringWidth = require('string-width') module.exports = TemplateItem function isPercent (num) { if (typeof num !== 'string') return false return num.slice(-1) === '%' } function percent (num) { return Number(num.slice(0, -1)) / 100 } function TemplateItem (values, outputLength) { this.overallOutputLength = outputLength this.finished = false this.type = null this.value = null this.length = null this.maxLength = null this.minLength = null this.kerning = null this.align = 'left' this.padLeft = 0 this.padRight = 0 this.index = null this.first = null this.last = null if (typeof values === 'string') { this.value = values } else { for (var prop in values) this[prop] = values[prop] } // Realize percents if (isPercent(this.length)) { this.length = Math.round(this.overallOutputLength * percent(this.length)) } if (isPercent(this.minLength)) { this.minLength = Math.round(this.overallOutputLength * percent(this.minLength)) } if (isPercent(this.maxLength)) { this.maxLength = Math.round(this.overallOutputLength * percent(this.maxLength)) } return this } TemplateItem.prototype = {} TemplateItem.prototype.getBaseLength = function () { var length = this.length if (length == null && typeof this.value === 'string' && this.maxLength == null && this.minLength == null) { length = stringWidth(this.value) } return length } TemplateItem.prototype.getLength = function () { var length = this.getBaseLength() if (length == null) return null return length + this.padLeft + this.padRight } TemplateItem.prototype.getMaxLength = function () { if (this.maxLength == null) return null return this.maxLength + this.padLeft + this.padRight } TemplateItem.prototype.getMinLength = function () { if (this.minLength == null) return null return this.minLength + this.padLeft + this.padRight }