uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
admin
/
..
/
post
/
scripts
/
Portal_012.js
/
/
define("Portal.EP_Headers.InteractivePageHeader.mvc$model", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.EP_Layouts.HeaderLayout.mvc$model", "Portal.EP_Common.ApplicationTitle.mvc$model", "Portal.EP_Common.LoginInfo.mvc$model"], function (OutSystems, PortalModel, Portal_EP_Layouts_HeaderLayout_mvcModel, Portal_EP_Common_ApplicationTitle_mvcModel, Portal_EP_Common_LoginInfo_mvcModel) { var OS = OutSystems.Internal; var VariablesRecord = (function (_super) { __extends(VariablesRecord, _super); function VariablesRecord(defaults) { _super.apply(this, arguments); } VariablesRecord.attributesToDeclare = function () { return [ this.attr("IsVisible", "isVisibleVar", "IsVisible", true, false, OS.Types.Boolean, function () { return false; }, false), this.attr("locale", "localeIn", "locale", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_localeInDataFetchStatus", "_localeInDataFetchStatus", "_localeInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("BannerURL", "bannerURLIn", "BannerURL", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_bannerURLInDataFetchStatus", "_bannerURLInDataFetchStatus", "_bannerURLInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("IsNotCareersPage", "isNotCareersPageIn", "IsNotCareersPage", true, false, OS.Types.Boolean, function () { return true; }, false), this.attr("_isNotCareersPageInDataFetchStatus", "_isNotCareersPageInDataFetchStatus", "_isNotCareersPageInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("IsLoginScreen", "isLoginScreenIn", "IsLoginScreen", true, false, OS.Types.Boolean, function () { return false; }, false), this.attr("_isLoginScreenInDataFetchStatus", "_isLoginScreenInDataFetchStatus", "_isLoginScreenInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false) ].concat(_super.attributesToDeclare.call(this)); }; VariablesRecord.init(); return VariablesRecord; })(OS.DataTypes.GenericRecord); var WidgetsRecord = (function (_super) { __extends(WidgetsRecord, _super); function WidgetsRecord() { _super.apply(this, arguments); } WidgetsRecord.getWidgetsType = function () { return {}; }; return WidgetsRecord; })(OS.Model.BaseWidgetRecordMap); var Model = (function (_super) { __extends(Model, _super); function Model() { _super.apply(this, arguments); } Model.getVariablesRecordConstructor = function () { return VariablesRecord; }; Model.getWidgetsRecordConstructor = function () { return WidgetsRecord; }; Model._hasValidationWidgetsValue = undefined; Object.defineProperty(Model, "hasValidationWidgets", { enumerable: true, configurable: true, get: function () { if((Model._hasValidationWidgetsValue === undefined)) { Model._hasValidationWidgetsValue = ((Portal_EP_Layouts_HeaderLayout_mvcModel.hasValidationWidgets || Portal_EP_Common_ApplicationTitle_mvcModel.hasValidationWidgets) || Portal_EP_Common_LoginInfo_mvcModel.hasValidationWidgets); } return Model._hasValidationWidgetsValue; } }); Model.prototype.setInputs = function (inputs) { if("locale" in inputs) { this.variables.localeIn = inputs.locale; if("_localeInDataFetchStatus" in inputs) { this.variables._localeInDataFetchStatus = inputs._localeInDataFetchStatus; } } if("BannerURL" in inputs) { this.variables.bannerURLIn = inputs.BannerURL; if("_bannerURLInDataFetchStatus" in inputs) { this.variables._bannerURLInDataFetchStatus = inputs._bannerURLInDataFetchStatus; } } if("IsNotCareersPage" in inputs) { this.variables.isNotCareersPageIn = inputs.IsNotCareersPage; if("_isNotCareersPageInDataFetchStatus" in inputs) { this.variables._isNotCareersPageInDataFetchStatus = inputs._isNotCareersPageInDataFetchStatus; } } if("IsLoginScreen" in inputs) { this.variables.isLoginScreenIn = inputs.IsLoginScreen; if("_isLoginScreenInDataFetchStatus" in inputs) { this.variables._isLoginScreenInDataFetchStatus = inputs._isLoginScreenInDataFetchStatus; } } }; return Model; })(OS.Model.BaseViewModel); return new OS.Model.ModelFactory(Model); }); define("Portal.EP_Headers.InteractivePageHeader.mvc$view", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.controller", "react", "OutSystems/ReactView/Main", "Portal.EP_Headers.InteractivePageHeader.mvc$model", "Portal.EP_Headers.InteractivePageHeader.mvc$controller", "Portal.clientVariables", "Portal.EP_Layouts.HeaderLayout.mvc$view", "OutSystems/ReactWidgets/Main", "Portal.EP_Common.ApplicationTitle.mvc$view", "Portal.EP_Common.LoginInfo.mvc$view"], function (OutSystems, PortalModel, PortalController, React, OSView, Portal_EP_Headers_InteractivePageHeader_mvc_model, Portal_EP_Headers_InteractivePageHeader_mvc_controller, PortalClientVariables, Portal_EP_Layouts_HeaderLayout_mvc_view, OSWidgets, Portal_EP_Common_ApplicationTitle_mvc_view, Portal_EP_Common_LoginInfo_mvc_view) { var OS = OutSystems.Internal; var PlaceholderContent = OSView.Widget.PlaceholderContent; var IteratorPlaceholderContent = OSView.Widget.IteratorPlaceholderContent; var View = (function (_super) { __extends(View,_super); function View() { try { this.initialize.apply(this, arguments); } catch (error) { View.handleError(error); throw error; } } View.prototype.initialize = function() { _super.apply(this, arguments); }; View.displayName = "EP_Headers.InteractivePageHeader"; View.getCssDependencies = function() { return ["css/OutSystemsReactWidgets.css"]; }; View.getJsDependencies = function() { return []; }; View.getBlocks = function() { return [Portal_EP_Layouts_HeaderLayout_mvc_view, Portal_EP_Common_ApplicationTitle_mvc_view, Portal_EP_Common_LoginInfo_mvc_view]; }; Object.defineProperty(View.prototype, "modelFactory", { get: function () { return Portal_EP_Headers_InteractivePageHeader_mvc_model; }, enumerable: true, configurable: true }); Object.defineProperty(View.prototype, "controllerFactory", { get: function () { return Portal_EP_Headers_InteractivePageHeader_mvc_controller; }, enumerable: true, configurable: true }); Object.defineProperty(View.prototype, "title", { get: function () { return ""; }, enumerable: true, configurable: true }); View.prototype.internalRender = function() { var model = this.model; var controller = this.controller; var idService = this.idService; var validationService = controller.validationService; var widgetsRecordProvider = this.widgetsRecordProvider; var callContext = controller.callContext(); var $if = View.ifWidget; var asPrimitiveValue = View.asPrimitiveValue; var _this = this; return React.createElement("div", this.getRootNodeProperties(), React.createElement(Portal_EP_Layouts_HeaderLayout_mvc_view, { inputs: { BannerURL: model.variables.bannerURLIn, _bannerURLInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._bannerURLInDataFetchStatus) }, events: { _handleError: function (ex) { controller.handleError(ex); } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "0", alias: "1" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { left: new PlaceholderContent(function () { return [React.createElement(Portal_EP_Common_ApplicationTitle_mvc_view, { inputs: {}, events: { _handleError: function (ex) { controller.handleError(ex); }, logoClicked$Action: function () { var eventHandlerContext = callContext.clone(); controller.logoClicked$Action(controller.callContext(eventHandlerContext)); ; } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "1", alias: "2" }, _widgetRecordProvider: widgetsRecordProvider, _dependencies: [] })]; }), center: new PlaceholderContent(function () { return [React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, style: "TopMenuContainer", visible: true, _idProps: { service: idService, name: "TopMenuContainer" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, extendedEvents: { onClick: function () { return Promise.resolve().then(function () { var eventHandlerContext = callContext.clone(); controller.onClick$Action(controller.callContext(eventHandlerContext)); }); ; } }, visible: true, _idProps: { service: idService, uuid: "3" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, style: "icon fa fa-navicon fa-2x menuicon", visible: true, _idProps: { service: idService, name: "Menu" }, _widgetRecordProvider: widgetsRecordProvider }), React.createElement(OSWidgets.Text, { extendedProperties: { "data-trans": "home-banner-menu" }, text: ["Menu"], _idProps: { service: idService, uuid: "5" }, _widgetRecordProvider: widgetsRecordProvider })), React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, visible: true, _idProps: { service: idService, uuid: "6" }, _widgetRecordProvider: widgetsRecordProvider })), React.createElement(OSWidgets.AdvancedHtml, { tag: "div", _idProps: { service: idService, name: "ytWidget" }, _widgetRecordProvider: widgetsRecordProvider })]; }), right: new PlaceholderContent(function () { return [React.createElement(Portal_EP_Common_LoginInfo_mvc_view, { inputs: { inputLocale: model.variables.localeIn, _inputLocaleInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._localeInDataFetchStatus), IsNotCareers: model.variables.isNotCareersPageIn, _isNotCareersInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._isNotCareersPageInDataFetchStatus), IsLoginScreen: model.variables.isLoginScreenIn, _isLoginScreenInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._isLoginScreenInDataFetchStatus) }, events: { _handleError: function (ex) { controller.handleError(ex); }, clickMenu$Action: function () { var eventHandlerContext = callContext.clone(); controller.menuClicked$Action(controller.callContext(eventHandlerContext)); ; }, userLoggedIn$Action: function () { var eventHandlerContext = callContext.clone(); controller.userLoggedIn$Action(controller.callContext(eventHandlerContext)); ; }, localeChanged$Action: function (newLocaleIn) { var eventHandlerContext = callContext.clone(); controller.localeChanged$Action(newLocaleIn, controller.callContext(eventHandlerContext)); ; }, rolesFetched$Action: function (isUserCandidateIn, isUserCorporateIn, isUserBlockedIn, isUserPersonalIn, isUserCorporateCashIn, isUserCorporateCreditIn, isUserCourierIn, isUserPostalIn, isUserHeadOfficeIn, isUserLECourtIn, isUserCashOnDeliveryIn) { var eventHandlerContext = callContext.clone(); controller.rolesFetched$Action(isUserCandidateIn, isUserCorporateIn, isUserBlockedIn, isUserPersonalIn, isUserCorporateCashIn, isUserCorporateCreditIn, isUserCourierIn, isUserPostalIn, isUserHeadOfficeIn, isUserLECourtIn, isUserCashOnDeliveryIn, controller.callContext(eventHandlerContext)); ; } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "8", alias: "3" }, _widgetRecordProvider: widgetsRecordProvider, _dependencies: [] })]; }), content: PlaceholderContent.Empty, menuPlaceholder: new PlaceholderContent(function () { return [React.createElement(OSWidgets.Placeholder, { align: /*Default*/ 0, content: _this.props.placeholders.menuPlaceholder, _idProps: { service: idService, name: "MenuPlaceholder" }, _widgetRecordProvider: widgetsRecordProvider })]; }) } })); }; return View; })(OSView.BaseView.BaseWebBlock); return View; }); define("Portal.EP_Headers.InteractivePageHeader.mvc$controller", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.controller", "Portal.languageResources", "Portal.clientVariables"], function (OutSystems, PortalModel, PortalController, PortalLanguageResources, PortalClientVariables) { var OS = OutSystems.Internal; var Controller = (function (_super) { __extends(Controller, _super); function Controller() { _super.apply(this, arguments); var controller = this.controller; this.clientActionProxies = {}; this.dataFetchDependenciesOriginal = {}; this.dataFetchDependentsGraph = {}; this.useImprovedDataFetch = false; this.hasDependenciesBetweenSources = false; this.shouldSendClientVarsToDataSources = false; } // Server Actions // Aggregates and Data Actions Controller.prototype.dataFetchActionNames = []; // Client Actions Controller.prototype._loginInfoClickMenu$Action = function (callContext) { var model = this.model; var controller = this.controller; var idService = this.idService; controller.ensureControllerAlive("LoginInfoClickMenu"); callContext = controller.callContext(callContext); // IsVisible = notIsVisible model.variables.isVisibleVar = !(model.variables.isVisibleVar); }; Controller.prototype._onClick$Action = function (callContext) { var model = this.model; var controller = this.controller; var idService = this.idService; controller.ensureControllerAlive("OnClick"); callContext = controller.callContext(callContext); return OS.Flow.executeAsyncFlow(function () { // IsVisible = notIsVisible model.variables.isVisibleVar = !(model.variables.isVisibleVar); // Trigger Event: MenuClicked2 return controller.menuClicked$Action(callContext); }); }; Controller.prototype.loginInfoClickMenu$Action = function (callContext) { var controller = this.controller; return controller.safeExecuteClientAction(controller._loginInfoClickMenu$Action, callContext); }; Controller.prototype.onClick$Action = function (callContext) { var controller = this.controller; return controller.safeExecuteClientAction(controller._onClick$Action, callContext); }; Controller.prototype.logoClicked$Action = function () { return Promise.resolve(); }; Controller.prototype.menuClicked$Action = function () { return Promise.resolve(); }; Controller.prototype.localeChanged$Action = function () { return Promise.resolve(); }; Controller.prototype.userLoggedIn$Action = function () { return Promise.resolve(); }; Controller.prototype.rolesFetched$Action = function () { return Promise.resolve(); }; // Event Handler Actions Controller.prototype.onInitializeEventHandler = null; Controller.prototype.onReadyEventHandler = null; Controller.prototype.onRenderEventHandler = null; Controller.prototype.onDestroyEventHandler = null; Controller.prototype.onParametersChangedEventHandler = null; Controller.prototype.handleError = function (ex) { return controller.handleError(ex); }; Controller.checkPermissions = function () { }; Controller.prototype.getDefaultTimeout = function () { return PortalController.default.defaultTimeout; }; return Controller; })(OS.Controller.BaseViewController); return new OS.Controller.ControllerFactory(Controller, PortalLanguageResources); });
/home2/wtmwscom/public_html/admin/../post/scripts/Portal_012.js