SILENT KILLERPanel

Current Path: > home > > > > transcarter > www > wp-content > > > plugins > wp-optimize > vendor > mrclay > > minify


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home////transcarter/www/wp-content///plugins/wp-optimize/vendor/mrclay//minify

NameTypeSizeLast ModifiedActions
builder Directory - -
lib Directory - -
static Directory - -
LICENSE.txt File 1558 bytes July 17 2025 21:05:49.
bootstrap.php File 658 bytes July 17 2025 21:05:49.
config-test.php File 290 bytes July 17 2025 21:05:49.
config.php File 6646 bytes July 17 2025 21:05:49.
example.index.php File 226 bytes July 17 2025 21:05:49.
groupsConfig.php File 539 bytes July 17 2025 21:05:49.
index.php File 254 bytes July 17 2025 21:05:49.
quick-test.css File 547 bytes July 17 2025 21:05:49.
quick-test.js File 2811 bytes July 17 2025 21:05:49.
quick-test.less File 474 bytes July 17 2025 21:05:49.
quick-testinc.less File 442 bytes July 17 2025 21:05:49.
server-info.php File 4488 bytes July 17 2025 21:05:49.
utils.php File 2633 bytes July 17 2025 21:05:49.

Reading File: /home////transcarter/www/wp-content///plugins/wp-optimize/vendor/mrclay//minify/quick-test.js

/*! This file exists only for testing a Minify installation. Its content is not used.
 *
 * http://example.org/min/f=min/quick-test.js
 */

/* Finds the lowest common multiple of two numbers */
function LCMCalculator(x, y) { // constructor function
    var checkInt = function (x) { // inner function
        if (x % 1 !== 0) {
            throw new TypeError(x + " is not an integer"); // throw an exception
        }
        return x;
    };
    this.a = checkInt(x);
    // ^ semicolons are optional
    this.b = checkInt(y);
}
// The prototype of object instances created by a constructor is
// that constructor's "prototype" property.
LCMCalculator.prototype = { // object literal
    constructor: LCMCalculator, // when reassigning a prototype, set the constructor property appropriately
    gcd: function () { // method that calculates the greatest common divisor
        // Euclidean algorithm:
        var a = Math.abs(this.a), b = Math.abs(this.b), t;
        if (a < b) {
            // swap variables
            t = b;
            b = a;
            a = t;
        }
        while (b !== 0) {
            t = b;
            b = a % b;
            a = t;
        }
        // Only need to calculate GCD once, so "redefine" this method.
        // (Actually not redefinition - it's defined on the instance itself,
        // so that this.gcd refers to this "redefinition" instead of LCMCalculator.prototype.gcd.)
        // Also, 'gcd' === "gcd", this['gcd'] === this.gcd
        this['gcd'] = function () {
            return a;
        };
        return a;
    },
    // Object property names can be specified by strings delimited by double (") or single (') quotes.
    "lcm" : function () {
        // Variable names don't collide with object properties, e.g. |lcm| is not |this.lcm|.
        // not using |this.a * this.b| to avoid FP precision issues
        var lcm = this.a / this.gcd() * this.b;
        // Only need to calculate lcm once, so "redefine" this method.
        this.lcm = function () {
            return lcm;
        };
        return lcm;
    },
    toString: function () {
        return "LCMCalculator: a = " + this.a + ", b = " + this.b;
    }
};

//define generic output function; this implementation only works for web browsers
function output(x) {
    document.write(x + "<br>");
}

// Note: Array's map() and forEach() are defined in JavaScript 1.6.
// They are used here to demonstrate JavaScript's inherent functional nature.
[[25, 55], [21, 56], [22, 58], [28, 56]].map(function (pair) { // array literal + mapping function
    return new LCMCalculator(pair[0], pair[1]);
}).sort(function (a, b) { // sort with this comparative function
    return a.lcm() - b.lcm();
}).forEach(function (obj) {
    output(obj + ", gcd = " + obj.gcd() + ", lcm = " + obj.lcm());
});

SILENT KILLER Tool