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\js\ drwxrwxrwx | |
| Viewing file: Select action/file-type: //
// Copyright (C) Microsoft. All rights reserved.
//
/// <disable>JS2085.EnableStrictMode</disable>
"use strict";
var CloudExperienceHost;
(function (CloudExperienceHost) {
var Hello;
(function (Hello) {
var helloEnrollmentManager = null;
function localizedStrings() {
var helloResources = {};
var keyList = [
'HelloTitleMulti', 'HelloTitleFace', 'HelloTitleFingerprint',
'HelloMultiListAccessibleName',
'HelloFaceAnimationAltText',
'HelloFaceIconAriaLabel', 'HelloFingerprintIconAriaLabel',
'HelloOptionTitleFace', 'HelloOptionTitleFingerprint',
'HelloLeadTextFace', 'HelloLeadTextFingerprint',
'HelloOptionBodyFingerprint',
'HelloSkipLink',
'HelloButtonText'];
var i = 0;
for (i = 0; i < keyList.length; i++) {
var resourceId = '/oobeHello/' + keyList[i];
helloResources[keyList[i]] = WinJS.Resources.getString(resourceId).value;
}
return JSON.stringify(helloResources);
}
Hello.localizedStrings = localizedStrings;
function getSupportedHelloEnrollmentKinds() {
return new WinJS.Promise(function (completeDispatch, errorDispatch) {
getHelloEnrollmentManager().getSupportedEnrollmentKindsAsync().done(function (winrtKinds) {
var supportedKinds = {};
supportedKinds.face = (winrtKinds & CloudExperienceHostBroker.Hello.EnrollmentFlags.face);
supportedKinds.fingerprint = (winrtKinds & CloudExperienceHostBroker.Hello.EnrollmentFlags.fingerprint);
completeDispatch(JSON.stringify(supportedKinds));
}, function (e) { errorDispatch(e); });
});
}
Hello.getSupportedHelloEnrollmentKinds = getSupportedHelloEnrollmentKinds;
function startHelloEnrollment(kind, appWindowLocation) {
var winrtKind;
if (kind && kind.face) {
winrtKind = CloudExperienceHostBroker.Hello.EnrollmentFlags.face;
}
else if (kind && kind.fingerprint) {
winrtKind = CloudExperienceHostBroker.Hello.EnrollmentFlags.fingerprint;
}
else {
throw new CloudExperienceHost.InvalidArgumentError("No supported Hello enrollment type provided");
}
return new WinJS.Promise(function (completeDispatch, errorDispatch) {
getHelloEnrollmentManager().showEnrollmentAsync(winrtKind, appWindowLocation).done(function (enrollmentResult) {
let enrollResult = {};
enrollResult.completed = (enrollmentResult === CloudExperienceHostBroker.Hello.EnrollmentResult.completed);
enrollResult.completedWithError = (enrollmentResult === CloudExperienceHostBroker.Hello.EnrollmentResult.completedWithError);
completeDispatch(JSON.stringify(enrollResult));
}, function (e) { errorDispatch(e); });
});
}
Hello.startHelloEnrollment = startHelloEnrollment;
function updateWindowLocation(appWindowLocation) {
getHelloEnrollmentManager().updateWindowLocation(appWindowLocation);
}
Hello.updateWindowLocation = updateWindowLocation;
function getHelloEnrollmentManager() {
if (helloEnrollmentManager === null) {
var userObj = CloudExperienceHost.IUserManager.getInstance().getIUser();
helloEnrollmentManager = CloudExperienceHostBroker.Hello.HelloEnrollmentManagerFactory.getHelloEnrollmentManager(userObj);
}
return helloEnrollmentManager;
}
})(Hello = CloudExperienceHost.Hello || (CloudExperienceHost.Hello = {}));
})(CloudExperienceHost || (CloudExperienceHost = {}));
var CloudExperienceHost;
(function (CloudExperienceHost) {
var HelloCleanup;
(function (HelloCleanup) {
function cleanupHelloEnrollment() {
return new WinJS.Promise(function (completeDispatch, errorDispatch) {
var helloEnrollmentManager = new CloudExperienceHostBroker.Hello.HelloEnrollmentManager();
helloEnrollmentManager.cleanupEnrollmentAsync().done(function () {
completeDispatch();
}, function (e) { errorDispatch(e); });
});
}
HelloCleanup.cleanupHelloEnrollment = cleanupHelloEnrollment;
})(HelloCleanup = CloudExperienceHost.HelloCleanup || (CloudExperienceHost.HelloCleanup = {}));
})(CloudExperienceHost || (CloudExperienceHost = {}));
//# sourceMappingURL=Hello.js.map |
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5604 ]-- |