!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/draft-js/lib/   drwxr-xr-x
Free 13.01 GB of 57.97 GB (22.45%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     getSampleStateForTesting.js (2.45 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 * 
 * @emails oncall+draft_js
 */
'use strict';

var BlockMapBuilder = require("./BlockMapBuilder");

var CharacterMetadata = require("./CharacterMetadata");

var ContentBlock = require("./ContentBlock");

var ContentState = require("./ContentState");

var EditorState = require("./EditorState");

var SampleDraftInlineStyle = require("./SampleDraftInlineStyle");

var SelectionState = require("./SelectionState");

var Immutable = require("immutable");

var BOLD = SampleDraftInlineStyle.BOLD,
    ITALIC = SampleDraftInlineStyle.ITALIC;
var ENTITY_KEY = '2';
var BLOCKS = [new ContentBlock({
  key: 'a',
  type: 'unstyled',
  text: 'Alpha',
  characterList: Immutable.List(Immutable.Repeat(CharacterMetadata.EMPTY, 5))
}), new ContentBlock({
  key: 'b',
  type: 'unordered-list-item',
  text: 'Bravo',
  characterList: Immutable.List(Immutable.Repeat(CharacterMetadata.create({
    style: BOLD,
    entity: ENTITY_KEY
  }), 5))
}), new ContentBlock({
  key: 'c',
  type: 'code-block',
  text: 'Test',
  characterList: Immutable.List(Immutable.Repeat(CharacterMetadata.EMPTY, 4))
}), new ContentBlock({
  key: 'd',
  type: 'code-block',
  text: '',
  characterList: Immutable.List()
}), new ContentBlock({
  key: 'e',
  type: 'code-block',
  text: '',
  characterList: Immutable.List()
}), new ContentBlock({
  key: 'f',
  type: 'blockquote',
  text: 'Charlie',
  characterList: Immutable.List(Immutable.Repeat(CharacterMetadata.create({
    style: ITALIC,
    entity: null
  }), 7))
})];
var selectionState = new SelectionState({
  anchorKey: 'a',
  anchorOffset: 0,
  focusKey: 'a',
  focusOffset: 0,
  isBackward: false,
  hasFocus: true
});
var blockMap = BlockMapBuilder.createFromArray(BLOCKS);
var contentState = new ContentState({
  blockMap: blockMap,
  entityMap: Immutable.OrderedMap(),
  selectionBefore: selectionState,
  selectionAfter: selectionState
}).createEntity({
  type: 'IMAGE',
  mutability: 'IMMUTABLE',
  data: null
});
var editorState = EditorState.createWithContent(contentState);
editorState = EditorState.forceSelection(editorState, selectionState);

var getSampleStateForTesting = function getSampleStateForTesting() {
  return {
    editorState: editorState,
    contentState: contentState,
    selectionState: selectionState
  };
};

module.exports = getSampleStateForTesting;

:: 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.0227 ]--