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/oobefeatureupdate-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.StringResources.makeResourceObject", "oobeFeatureUpdate");
}).then((result) => {
this.resourceStrings = JSON.parse(result);
});
return WinJS.Promise.join({ loadCssPromise: loadCssPromise, langAndDirPromise: langAndDirPromise, getLocalizedStringsPromise: getLocalizedStringsPromise });
},
error: (e) => {
require(['legacy/bridge', 'legacy/events', 'legacy/appObjectFactory', 'optional!sample/CloudExperienceHost.Telemetry.WebAppTelemetry'],
(bridge, constants, appObjectFactory) => {
bridge.invoke("CloudExperienceHost.Telemetry.logEvent", "FeatureUpdateScanFailure", JSON.stringify({ objectType: e && e.toString(), status: e.status && e.status.toString() }));
bridge.fireEvent(constants.Events.done, constants.AppResult.error);
});
},
ready: (element, options) => {
require(['lib/knockout', 'corejs/knockouthelpers', 'oobefeatureupdate-vm'], (ko, KoHelpers, FeatureUpdateModel) => {
// Setup knockout customizations
koHelpers = new KoHelpers();
koHelpers.registerComponents(CloudExperienceHost.RegisterComponentsScenarioMode.InclusiveOobe);
// Apply bindings. The page will show up when status becomes scanning
ko.applyBindings(new FeatureUpdateModel(this.resourceStrings));
});
}
});
})();
|
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5523 ]-- |