Software: Microsoft-IIS/10.0. PHP/7.4.33 uname -a: Windows NT LAKE 10.0 build 20348 (Windows Server 2016) AMD64 IWPD_801(traduongco) Safe-mode: OFF (not secure) C:\Windows\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\webapps\inclusiveOobe\js\ drwxrwxrwx | |
| Viewing file: Select action/file-type: //
// Copyright (C) Microsoft. All rights reserved.
//
(() => {
WinJS.UI.Pages.define("/webapps/inclusiveoobe/view/oobeautopilotupdate-main.html", {
init: (element, options) => {
require.config(new RequirePathConfig('/webapps/inclusiveoobe'));
// Load css per scenario
let loadCssPromise = requireAsync(['legacy/uiHelpers', 'legacy/bridge']).then((result) => {
return result.legacy_uiHelpers.LoadCssPromise(document.head, "", result.legacy_bridge);
});
let langAndDirPromise = requireAsync(['legacy/uiHelpers', 'legacy/bridge']).then((result) => {
return result.legacy_uiHelpers.LangAndDirPromise(document.documentElement, result.legacy_bridge);
});
// Load resource strings
let getLocalizedStringsPromise = requireAsync(['legacy/bridge']).then((result) => {
return result.legacy_bridge.invoke("CloudExperienceHost.AutoPilot.makeAutopilotResourceObject");
}).then((result) => {
this.resourceStrings = JSON.parse(result);
});
return WinJS.Promise.join({ loadCssPromise: loadCssPromise, langAndDirPromise: langAndDirPromise, getLocalizedStringsPromise: getLocalizedStringsPromise });
},
error: (e) => {
require(['legacy/bridge', 'legacy/events'], (bridge, constants) => {
bridge.fireEvent(constants.Events.done, constants.AppResult.error);
});
},
ready: (element, options) => {
require(['lib/knockout', 'corejs/knockouthelpers', 'legacy/bridge', 'legacy/events', 'oobeautopilotupdate-vm', 'lib/knockout-winjs'], (ko, KoHelpers, bridge, constants, AutopilotUpdateViewModel) => {
// Setup knockout customizations
koHelpers = new KoHelpers();
koHelpers.registerComponents(CloudExperienceHost.RegisterComponentsScenarioMode.InclusiveOobe);
// Apply bindings and show the page
let vm = new AutopilotUpdateViewModel(this.resourceStrings);
ko.applyBindings(vm);
KoHelpers.waitForInitialComponentLoadAsync().then(() => {
WinJS.Utilities.addClass(document.body, "pageLoaded");
bridge.fireEvent(constants.Events.visible, true);
KoHelpers.setFocusOnAutofocusElement();
});
});
}
});
})();
|
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.7945 ]-- |