| Server IP : 104.21.37.246 / Your IP : 172.71.28.146 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/2388322/cwd/unprotected/cpanel/ |
Upload File : |
/**
* base/unprotected/resetpass.js Copyright 2022 cPanel, L.L.C.
* All rights reserved.
* [email protected] http://cpanel.net
* This code is subject to the cPanel license. Unauthorized copying is prohibited
*/
/* global require: false, define: false */
define([
"angular",
"cjt/core",
"cjt/modules",
"uiBootstrap"
],
function(angular, CJT) {
"use strict";
return function() {
// First create the application
angular.module("App", [
"ngRoute",
"ui.bootstrap",
"cjt2.unprotected"
]);
// Then load the application dependencies
var app = require([
// Application Modules
"cjt/views/applicationController",
"cjt/services/autoTopService",
"app/controllers/puzzleController",
"app/controllers/setPasswordController",
], function() {
var app = angular.module("App");
// routing
app.config([
"$compileProvider",
function(
$compileProvider
) {
if (!CJT.config.debug) {
$compileProvider.debugInfoEnabled(false);
}
}
]);
app.run(["autoTopService", function(autoTopService) {
autoTopService.initialize();
}]);
/**
* Initialize the application
* @return {ngModule} Main module.
*/
app.init = function() {
var appContent = angular.element("#content");
if (appContent[0] !== null) {
// apply the app after requirejs loads everything
angular.bootstrap(appContent[0], ["App"]);
}
// Chaining
return app;
};
// We can now run the bootstrap for the application
app.init();
});
return app;
};
});