import{D as f}from"./DataTableSpinner-CZOI5RhJ.js";import{_ as l,e as h,g as m,c as n,a as s,l as g,h as _,t as o,j as d,i as u,o as c,r as v}from"./app-DWPMZhx6.js";/* empty css            */const b={props:{},components:{DataTableSpinner:f},setup(r){const i=h({isLoading:!1,error:null,info:{version:"",rconfig_sub_id:"",rconfig_sub_name:"",rconfig_sub_status:"",rconfig_sub_exiry:""}}),a=u("create-notification");m(()=>{i.isLoading=!0,t()});function t(){axios.get("/api/settings/support-info").then(e=>{Object.assign(i.info,e.data.data),i.isLoading=!1,i.error=null}).catch(e=>{a({type:"error",message:e.response.data.message})})}return{state:i}}},x={class:"pf-c-panel pf-m-raised"},y=s("div",{class:"pf-c-panel__header"},"About",-1),L=s("hr",{class:"pf-c-divider"},null,-1),N={class:"pf-c-panel__main"},k={class:"pf-c-panel__main-body"},w={key:0,class:"pf-l-flex",style:{"justify-content":"center"}},S={class:"pf-l-flex__item"},j={key:1,class:"pf-m-gutter"},B={class:"pf-c-card"},C=s("div",{class:"pf-c-card__title"},[s("h2",{class:"pf-c-title pf-m-xl"},"License and Support Information")],-1),D={class:"pf-c-card__body"},V={class:"pf-c-description-list"},I={class:"pf-c-description-list__group"},A=s("dt",{class:"pf-c-description-list__term"},[s("span",{class:"pf-c-description-list__text"},"Version ")],-1),E={class:"pf-c-description-list__description"},O={class:"pf-c-description-list__text"},T={class:"pf-c-description-list__group"},H=s("dt",{class:"pf-c-description-list__term"},[s("span",{class:"pf-c-description-list__text"},"License ID")],-1),M={class:"pf-c-description-list__description"},q={class:"pf-c-description-list__text"},z={class:"pf-c-description-list__group"},F=s("dt",{class:"pf-c-description-list__term"},[s("span",{class:"pf-c-description-list__text"},"Licensee Name")],-1),G={class:"pf-c-description-list__description"},J={class:"pf-c-description-list__text"},K={class:"pf-c-description-list__group"},P=s("dt",{class:"pf-c-description-list__term"},[s("span",{class:"pf-c-description-list__text"},"License Status")],-1),Q={class:"pf-c-description-list__description"},R={class:"pf-c-description-list__text"},U={class:"pf-c-description-list__group"},W=s("dt",{class:"pf-c-description-list__term"},[s("span",{class:"pf-c-description-list__text"},"License Expiry")],-1),X={class:"pf-c-description-list__description"},Y={class:"pf-c-description-list__text"},Z=s("hr",{class:"pf-c-divider"},null,-1),$={class:"pf-c-card__footer"},ss=s("a",{href:"https://www.rconfig.com/eula",target:"_blank"},"License",-1),ts=["href"],is=s("a",{href:"https://www.rconfig.com/docs/5.1/getstarted/overview",target:"_blank"},"Online Help",-1);function os(r,i,a,t,e,es){const p=v("data-table-spinner");return c(),n("div",x,[y,L,s("div",N,[s("div",k,[t.state.isLoading?(c(),n("div",w,[s("div",S,[t.state.isLoading?(c(),g(p,{key:0})):_("",!0)])])):_("",!0),t.state.isLoading?_("",!0):(c(),n("div",j,[s("div",B,[C,s("div",D,[s("dl",V,[s("div",I,[A,s("dd",E,[s("div",O,o(t.state.info.version?t.state.info.version:"No information found!"),1)])]),s("div",T,[H,s("dd",M,[s("div",q,o(t.state.info.rconfig_sub_id?t.state.info.rconfig_sub_id:"No information found!"),1)])]),s("div",z,[F,s("dd",G,[s("div",J,o(t.state.info.rconfig_sub_name?t.state.info.rconfig_sub_name:"No information found!"),1)])]),s("div",K,[P,s("dd",Q,[s("div",R,o(t.state.info.rconfig_sub_status?t.state.info.rconfig_sub_status:"No information found!"),1)])]),s("div",U,[W,s("dd",X,[s("div",Y,o(t.state.info.rconfig_sub_exiry?t.state.info.rconfig_sub_exiry:"No information found!"),1)])])])]),Z,s("div",$,[ss,d(" | "),s("a",{href:"mailto:support@rconfig.com?subject=rConfig Support from "+t.state.info.rconfig_sub_name},"Contact Support",8,ts),d(" | "),is])])]))])])])}const as=l(b,[["render",os]]);export{as as default};
