⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.74
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
psa
/
admin
/
cp
/
public
/
javascript
/
app
/
View File Name :
convert-resellers-to-customers.js
"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/convert-resellers-to-customers"],{3056:(e,s,t)=>{t.r(s),t.d(s,{default:()=>r});var i=t(89);class n extends i.ConfirmationPopupManager.PopupForm{_initConfiguration(e){super._initConfiguration({locale:i.Locale.getSection("admin.components.confirmations.reseller"),...e})}_onSuccessPreparePopup(e){if(this._clearMessages(),this._response=e,"success"===this._response.status){document.getElementById(this._formBoxAreaId).innerHTML="",document.getElementById(this._formListAreaId).innerHTML=`
`;let e=!1;$H(this._response.resellers).each((({value:s})=>{0!==s.subscriptions.length&&(e=!0),this.addReseller(s)})),e&&(0,i.render)(document.getElementById(this._formDescriptionId),` ${this.lmsg("descriptionExtended")}`)}else this._addErrorMessage(this._response.message)}addReseller(e){if(0===e.subscriptions.length){this._itemClass="odd"===this._itemClass?"even":"odd";const s=`
${(0,i.escapeHtml)(e.name)}
`;(0,i.render)(document.getElementById(this._formListItemsAreaId),s)}else{let s=e.name;$H(e.subscriptions).each((({value:e})=>{this.addSubscription(e,s),s=" "}))}}addSubscription(e,s){this._itemClass="odd"===this._itemClass?"even":"odd";const t=`
${(0,i.escapeHtml)(s)}
${(0,i.escapeHtml)(e.name)}
${this.getPlanSelectorHtml(e)}
`;(0,i.render)(document.getElementById(this._formListItemsAreaId),t)}getPlanSelectorHtml(e){let s=`
`;return $H(this._response.plans).each((({value:e})=>{s+=`
${(0,i.escapeHtml)(e.name)}
`})),s+="
",s}_getAdditionalParams(e){return document.querySelectorAll(".subscriptions").forEach((({title:s,value:t})=>{e.set(`subscriptions[${s}]`,t)})),e}}const r=n}}]); //# sourceMappingURL=convert-resellers-to-customers.js.map?8d42ddf32c68c3374b30