[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 197.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[197],{197:(e,a,t)=>{t.r(a),t.d(a,{default:()=>C});var o=t(9726),i={id:"socialMedia",class:"db-card db-tab-div active"},l={class:"db-card-header"},s={class:"db-card-title"},r={class:"db-card-body"},c={class:"form-row"},d={class:"form-col-12 sm:form-col-6"},n={for:"social_media_facebook",class:"db-field-title"},m={key:0,class:"db-field-alert"},_={class:"form-col-12 sm:form-col-6"},u={for:"social_media_youtube",class:"db-field-title"},f={key:0,class:"db-field-alert"},b={class:"form-col-12 sm:form-col-6"},p={for:"social_media_instagram",class:"db-field-title"},v={key:0,class:"db-field-alert"},g={class:"form-col-12 sm:form-col-6"},y={for:"social_media_twitter",class:"db-field-title"},V={key:0,class:"db-field-alert"},h={class:"form-col-12"},k={type:"submit",class:"db-btn text-white bg-primary"};var E=t(5475),N=t(9856);const w={name:"SocialMediaComponent",components:{LoadingComponent:E.A},data:function(){return{loading:{isActive:!1},form:{social_media_facebook:"",social_media_youtube:"",social_media_instagram:"",social_media_twitter:""},errors:{}}},mounted:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("socialMedia/lists").then(function(a){e.form={social_media_facebook:a.data.data.social_media_facebook,social_media_youtube:a.data.data.social_media_youtube,social_media_instagram:a.data.data.social_media_instagram,social_media_twitter:a.data.data.social_media_twitter},e.loading.isActive=!1}).catch(function(a){e.loading.isActive=!1})}catch(e){this.loading.isActive=!1}},methods:{save:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("socialMedia/save",this.form).then(function(a){var t;e.loading.isActive=!1,N.A.successFlip(null!==(t="put"===a.config.method)&&void 0!==t?t:0,e.$t("menu.social_media")),e.errors={}}).catch(function(a){e.loading.isActive=!1,e.errors=a.response.data.errors})}catch(e){this.loading.isActive=!1,N.A.error(e)}}}};const C=(0,t(6262).A)(w,[["render",function(e,a,t,E,N,w){var C=(0,o.resolveComponent)("LoadingComponent");return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createVNode)(C,{props:N.loading},null,8,["props"]),(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("h3",s,(0,o.toDisplayString)(e.$t("menu.social_media")),1)]),(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("form",{onSubmit:a[4]||(a[4]=(0,o.withModifiers)(function(){return w.save&&w.save.apply(w,arguments)},["prevent"])),class:"w-full d-block"},[(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("div",d,[(0,o.createElementVNode)("label",n,(0,o.toDisplayString)(e.$t("label.facebook")),1),(0,o.withDirectives)((0,o.createElementVNode)("input",{"onUpdate:modelValue":a[0]||(a[0]=function(e){return N.form.social_media_facebook=e}),class:(0,o.normalizeClass)([N.errors.social_media_facebook?"invalid":"","db-field-control"]),type:"text",id:"social_media_facebook"},null,2),[[o.vModelText,N.form.social_media_facebook]]),N.errors.social_media_facebook?((0,o.openBlock)(),(0,o.createElementBlock)("small",m,(0,o.toDisplayString)(N.errors.social_media_facebook[0]),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",_,[(0,o.createElementVNode)("label",u,(0,o.toDisplayString)(e.$t("label.youtube")),1),(0,o.withDirectives)((0,o.createElementVNode)("input",{"onUpdate:modelValue":a[1]||(a[1]=function(e){return N.form.social_media_youtube=e}),class:(0,o.normalizeClass)([N.errors.social_media_youtube?"invalid":"","db-field-control"]),type:"text",id:"social_media_youtube"},null,2),[[o.vModelText,N.form.social_media_youtube]]),N.errors.social_media_youtube?((0,o.openBlock)(),(0,o.createElementBlock)("small",f,(0,o.toDisplayString)(N.errors.social_media_youtube[0]),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",b,[(0,o.createElementVNode)("label",p,(0,o.toDisplayString)(e.$t("label.instagram")),1),(0,o.withDirectives)((0,o.createElementVNode)("input",{"onUpdate:modelValue":a[2]||(a[2]=function(e){return N.form.social_media_instagram=e}),class:(0,o.normalizeClass)([N.errors.social_media_instagram?"invalid":"","db-field-control"]),type:"text",id:"social_media_instagram"},null,2),[[o.vModelText,N.form.social_media_instagram]]),N.errors.social_media_instagram?((0,o.openBlock)(),(0,o.createElementBlock)("small",v,(0,o.toDisplayString)(N.errors.social_media_instagram[0]),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",g,[(0,o.createElementVNode)("label",y,(0,o.toDisplayString)(e.$t("label.twitter")),1),(0,o.withDirectives)((0,o.createElementVNode)("input",{"onUpdate:modelValue":a[3]||(a[3]=function(e){return N.form.social_media_twitter=e}),class:(0,o.normalizeClass)([N.errors.social_media_twitter?"invalid":"","db-field-control"]),type:"text",id:"social_media_twitter"},null,2),[[o.vModelText,N.form.social_media_twitter]]),N.errors.social_media_twitter?((0,o.openBlock)(),(0,o.createElementBlock)("small",V,(0,o.toDisplayString)(N.errors.social_media_twitter[0]),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",h,[(0,o.createElementVNode)("button",k,[a[5]||(a[5]=(0,o.createElementVNode)("i",{class:"lab lab-fill-save"},null,-1)),(0,o.createElementVNode)("span",null,(0,o.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