[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 4619.js
/*! For license information please see 4619.js.LICENSE.txt */ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4619],{4619:(e,t,o)=>{o.r(t),o.d(t,{default:()=>Ce});var r=o(9726),n={class:"capitalize text-2xl font-bold mb-7 text-primary"},a={class:"p-6 rounded-2xl shadow-card bg-white"},l={class:"row"},s={class:"py-3 px-4 rounded-2xl bg-[#F7F7F7]"},i={class:"flex items-center justify-between mb-1"},c={class:"text-sm font-medium capitalize whitespace-nowrap overflow-hidden text-ellipsis"},d={class:"group relative"},p={class:"w-20 rounded-lg shadow-paper absolute top-5 right-0 z-10 origin-top scale-y-0 transition-all duration-300 group-hover:scale-y-100 bg-white"},u=["onClick"],m=["onClick"],f={class:"text-sm leading-6"},y={key:0},h={key:1},b={key:2},g={key:3},v={key:4},C={key:5},V={key:0},x={key:6},E={class:"col-12 sm:col-6"};var k=o(9856),N=o(8655),w=o(1811),_={class:"text-lg font-semibold capitalize"},D={id:"address",class:"fixed inset-0 z-50 p-3 w-screen h-dvh overflow-y-auto bg-black/50 transition-all duration-300 opacity-0 invisible"},B={class:"w-full rounded-xl mx-auto bg-white transition-all duration-300 max-w-3xl"},S={class:"flex items-center justify-between gap-2 py-4 px-4 border-b border-slate-100"},A={class:"text-lg font-bold capitalize"},z={class:"form-row"},$={class:"form-col-12 sm:form-col-6"},T={for:"full_name",class:"text-sm font-medium capitalize mb-1 field-title required"},F={key:0,class:"db-field-alert"},j={class:"form-col-12 sm:form-col-6"},O={for:"email",class:"text-sm font-medium capitalize mb-1 field-title"},U={key:0,class:"db-field-alert"},M={class:"form-col-12 sm:form-col-6"},q={for:"phone",class:"text-sm font-medium capitalize mb-1 field-title required"},G={class:"w-fit flex-shrink-0 dropdown-group"},I={type:"button",class:"flex items-center gap-1 dropdown-btn"},P={class:"whitespace-nowrap flex-shrink-0 text-xs"},L={class:"p-1.5 w-24 rounded-lg shadow-xl absolute top-8 -left-4 z-10 border border-gray-200 bg-white scale-y-0 origin-top dropdown-list !h-52 !overflow-x-hidden !overflow-y-auto thin-scrolling"},K=["onClick"],H={class:"whitespace-nowrap text-xs"},J={key:0,class:"db-field-alert"},Q={class:"form-col-12 sm:form-col-6"},R={class:"text-sm font-medium capitalize mb-1 field-title required",for:"country"},W={key:0,class:"db-field-alert"},X={class:"form-col-12 sm:form-col-6"},Y={class:"text-sm font-medium capitalize mb-1 field-title required",for:"state"},Z={key:0,class:"db-field-alert"},ee={class:"form-col-12 sm:form-col-6"},te={class:"text-sm font-medium capitalize mb-1 field-title required"},oe={key:0,class:"db-field-alert"},re={class:"form-col-12 sm:form-col-6"},ne={class:"text-sm font-medium capitalize mb-1",for:"zip_code"},ae={key:0,class:"db-field-alert"},le={class:"form-col-12 sm:form-col-6"},se={class:"text-sm font-medium capitalize mb-1 field-title required",for:"street_address"},ie={key:0,class:"db-field-alert"},ce={class:"form-col-12 sm:form-col-6"},de={class:"flex flex-wrap gap-6 mt-2"},pe={type:"submit",class:"font-bold text-center h-12 leading-12 px-8 rounded-full whitespace-nowrap bg-primary text-white capitalize"};var ue=o(4233);const me={name:"AddressComponent",components:{LoadingComponent:w.A},props:["props"],data:function(){return{loading:{isActive:!1},errors:{},targetID:"address",addClass:"modal-active",flag:"",calling_code:"",worldMapData:[]}},mounted:function(){var e=this;this.loading.isActive=!0,setTimeout(function(){e.callCountry()},300),this.$store.dispatch("frontendCountryCode/lists"),this.$store.dispatch("frontendSetting/lists").then(function(t){e.$store.dispatch("frontendCountryCode/show",t.data.data.company_country_code).then(function(t){e.props.form.country_code=t.data.data.calling_code,e.calling_code=t.data.data.calling_code,e.props.flag=t.data.data.flag_emoji,e.flag=t.data.data.flag_emoji,e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})}).catch(function(t){e.loading.isActive=!1})},computed:{addButton:function(){return{title:this.$t("button.add_new_address")}},countryCodes:function(){return this.$store.getters["frontendCountryCode/lists"]},countries:function(){return this.$store.getters["frontendCountryStateCity/countries"]}},methods:{phoneNumber:function(e){return N.A.phoneNumber(e)},showTarget:function(){ue.A.showTarget(this.targetID,this.addClass)},changeCountry:function(e){this.props.flag=e.flag_emoji,this.$props.props.form.country_code=e.calling_code},callCountry:function(){this.$store.dispatch("frontendCountryStateCity/countries")},callStates:function(e){var t=this;this.props.form.state=null,this.props.cities=[],this.props.form.city=null,this.$store.dispatch("frontendCountryStateCity/statesByCountry",e).then(function(e){t.props.states=e.data.data})},callCities:function(e){var t=this;this.props.form.city=null,this.$store.dispatch("frontendCountryStateCity/citiesByState",e).then(function(e){t.props.cities=e.data.data})},reset:function(){ue.A.hideTarget(this.targetID,this.addClass),this.$store.dispatch("frontendAddress/reset").then().catch(),this.errors={},this.$props.props.form={full_name:"",email:"",country_code:this.calling_code,phone:"",country:null,state:null,city:null,zip_code:"",address:""},this.$props.props.flag=this.flag,this.$props.props.states=[],this.$props.props.cities=[]},save:function(){var e=this;try{var t=this.$store.getters["frontendAddress/temp"].temp_id;this.loading.isActive=!0,this.$store.dispatch("frontendAddress/save",this.props).then(function(o){ue.A.hideTarget(e.targetID,e.addClass),e.loading.isActive=!1,k.A.successFlip(null===t?0:1,e.$t("label.address")),e.props.form={full_name:"",email:"",country_code:e.calling_code,phone:"",country:null,state:null,city:null,zip_code:"",address:""},e.$props.props.flag=e.flag,e.$props.props.states=[],e.$props.props.cities=[],e.errors={}}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.errors})}catch(e){this.loading.isActive=!1,k.A.error(e)}}}};var fe=o(6262);const ye=(0,fe.A)(me,[["render",function(e,t,o,n,a,l){var s=(0,r.resolveComponent)("LoadingComponent"),i=(0,r.resolveComponent)("vue-select");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(s,{props:a.loading},null,8,["props"]),(0,r.createElementVNode)("button",{"data-modal":"#address",onClick:t[0]||(t[0]=function(e){return l.showTarget()}),type:"button",class:"w-full rounded-2xl py-10 flex items-center justify-center gap-2.5 text-primary bg-[#FFF4F1]"},[t[15]||(t[15]=(0,r.createElementVNode)("i",{class:"lab-fill-circle-plus text-lg"},null,-1)),(0,r.createElementVNode)("span",_,(0,r.toDisplayString)(l.addButton.title),1)]),(0,r.createElementVNode)("div",D,[(0,r.createElementVNode)("div",B,[(0,r.createElementVNode)("div",S,[(0,r.createElementVNode)("h3",A,(0,r.toDisplayString)(e.$t("label.address")),1),(0,r.createElementVNode)("button",{onClick:t[1]||(t[1]=function(e){return l.reset()}),type:"button",class:"lab-line-circle-cross text-lg text-[#E93C3C]"})]),(0,r.createElementVNode)("form",{class:"w-full p-5",onSubmit:t[14]||(t[14]=(0,r.withModifiers)(function(){return l.save&&l.save.apply(l,arguments)},["prevent"]))},[(0,r.createElementVNode)("div",z,[(0,r.createElementVNode)("div",$,[(0,r.createElementVNode)("label",T,(0,r.toDisplayString)(e.$t("label.full_name")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=function(e){return o.props.form.full_name=e}),class:(0,r.normalizeClass)([a.errors.full_name?"invalid":"","w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"])},null,2),[[r.vModelText,o.props.form.full_name]]),a.errors.full_name?((0,r.openBlock)(),(0,r.createElementBlock)("small",F,(0,r.toDisplayString)(a.errors.full_name[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",j,[(0,r.createElementVNode)("label",O,(0,r.toDisplayString)(e.$t("label.email")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"email","onUpdate:modelValue":t[3]||(t[3]=function(e){return o.props.form.email=e}),class:(0,r.normalizeClass)([a.errors.email?"invalid":"","w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"])},null,2),[[r.vModelText,o.props.form.email]]),a.errors.email?((0,r.openBlock)(),(0,r.createElementBlock)("small",U,(0,r.toDisplayString)(a.errors.email[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",M,[(0,r.createElementVNode)("label",q,(0,r.toDisplayString)(e.$t("label.phone")),1),(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)([a.errors.phone?"invalid":"","field-control flex items-center"])},[(0,r.createElementVNode)("div",G,[(0,r.createElementVNode)("button",I,[(0,r.createTextVNode)((0,r.toDisplayString)(o.props.flag)+" ",1),(0,r.createElementVNode)("span",P,(0,r.toDisplayString)(o.props.form.country_code),1),t[16]||(t[16]=(0,r.createElementVNode)("i",{class:"fa-solid fa-caret-down text-xs"},null,-1))]),(0,r.createElementVNode)("ul",L,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(l.countryCodes,function(e){return(0,r.openBlock)(),(0,r.createElementBlock)("li",{onClick:function(t){return l.changeCountry(e)},class:"flex items-center gap-2 p-1.5 rounded-md cursor-pointer hover:bg-gray-100"},[(0,r.createTextVNode)((0,r.toDisplayString)(e.flag_emoji)+" ",1),(0,r.createElementVNode)("span",H,(0,r.toDisplayString)(e.calling_code),1)],8,K)}),256))])]),(0,r.withDirectives)((0,r.createElementVNode)("input",{"onUpdate:modelValue":t[4]||(t[4]=function(e){return o.props.form.phone=e}),onKeypress:t[5]||(t[5]=function(e){return l.phoneNumber(e)}),class:(0,r.normalizeClass)([a.errors.phone?"invalid":"","pl-2 text-sm w-full h-full"]),type:"text",id:"phone"},null,34),[[r.vModelText,o.props.form.phone]])],2),a.errors.phone?((0,r.openBlock)(),(0,r.createElementBlock)("small",J,(0,r.toDisplayString)(a.errors.phone[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",Q,[(0,r.createElementVNode)("label",R,(0,r.toDisplayString)(e.$t("label.country")),1),(0,r.createVNode)(i,{class:(0,r.normalizeClass)(["frontend-select w-full h-12 px-4 rounded-lg text-base capitalize border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500 appearance-none",a.errors.country?"invalid":""]),id:"country",modelValue:o.props.form.country,"onUpdate:modelValue":[t[6]||(t[6]=function(e){return o.props.form.country=e}),t[7]||(t[7]=function(e){return l.callStates(e)})],options:l.countries,"label-by":"name","value-by":"name",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["class","modelValue","options"]),a.errors.country?((0,r.openBlock)(),(0,r.createElementBlock)("small",W,(0,r.toDisplayString)(a.errors.country[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",X,[(0,r.createElementVNode)("label",Y,(0,r.toDisplayString)(e.$t("label.state")),1),(0,r.createVNode)(i,{class:(0,r.normalizeClass)(["frontend-select w-full h-12 px-4 rounded-lg text-base capitalize border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500 appearance-none",a.errors.state?"invalid":""]),id:"state",modelValue:o.props.form.state,"onUpdate:modelValue":[t[8]||(t[8]=function(e){return o.props.form.state=e}),t[9]||(t[9]=function(e){return l.callCities(e)})],options:o.props.states,"label-by":"name","value-by":"name",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["class","modelValue","options"]),a.errors.state?((0,r.openBlock)(),(0,r.createElementBlock)("small",Z,(0,r.toDisplayString)(a.errors.state[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",ee,[(0,r.createElementVNode)("label",te,(0,r.toDisplayString)(e.$t("label.city")),1),(0,r.createVNode)(i,{class:(0,r.normalizeClass)(["frontend-select w-full h-12 px-4 rounded-lg text-base capitalize border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500 appearance-none",a.errors.city?"invalid":""]),id:"city",modelValue:o.props.form.city,"onUpdate:modelValue":t[10]||(t[10]=function(e){return o.props.form.city=e}),options:o.props.cities,"label-by":"name","value-by":"name",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["class","modelValue","options"]),a.errors.city?((0,r.openBlock)(),(0,r.createElementBlock)("small",oe,(0,r.toDisplayString)(a.errors.city[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",re,[(0,r.createElementVNode)("label",ne,(0,r.toDisplayString)(e.$t("label.zip_code")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[11]||(t[11]=function(e){return o.props.form.zip_code=e}),class:(0,r.normalizeClass)([a.errors.zip_code?"invalid":"","w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"])},null,2),[[r.vModelText,o.props.form.zip_code]]),a.errors.zip_code?((0,r.openBlock)(),(0,r.createElementBlock)("small",ae,(0,r.toDisplayString)(a.errors.zip_code[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",le,[(0,r.createElementVNode)("label",se,(0,r.toDisplayString)(e.$t("label.street_address")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"text",class:(0,r.normalizeClass)([a.errors.address?"invalid":"","w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"]),"onUpdate:modelValue":t[12]||(t[12]=function(e){return o.props.form.address=e})},null,2),[[r.vModelText,o.props.form.address]]),a.errors.address?((0,r.openBlock)(),(0,r.createElementBlock)("small",ie,(0,r.toDisplayString)(a.errors.address[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",ce,[(0,r.createElementVNode)("div",de,[(0,r.createElementVNode)("button",pe,(0,r.toDisplayString)(e.$t("button.add_address")),1),(0,r.createElementVNode)("button",{onClick:t[13]||(t[13]=function(e){return l.reset()}),type:"button",class:"font-bold text-center h-12 leading-12 px-8 rounded-full whitespace-nowrap bg-[#F7F7FC] capitalize"},(0,r.toDisplayString)(e.$t("button.cancel")),1)])])])],32)])])],64)}]]);function he(){var e,t,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",n=o.toStringTag||"@@toStringTag";function a(o,r,n,a){var i=r&&r.prototype instanceof s?r:s,c=Object.create(i.prototype);return be(c,"_invoke",function(o,r,n){var a,s,i,c=0,d=n||[],p=!1,u={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,o){return a=t,s=0,i=e,u.n=o,l}};function m(o,r){for(s=o,i=r,t=0;!p&&c&&!n&&t<d.length;t++){var n,a=d[t],m=u.p,f=a[2];o>3?(n=f===r)&&(i=a[(s=a[4])?5:(s=3,3)],a[4]=a[5]=e):a[0]<=m&&((n=o<2&&m<a[1])?(s=0,u.v=r,u.n=a[1]):m<f&&(n=o<3||a[0]>r||r>f)&&(a[4]=o,a[5]=r,u.n=f,s=0))}if(n||o>1)return l;throw p=!0,r}return function(n,d,f){if(c>1)throw TypeError("Generator is already running");for(p&&1===d&&m(d,f),s=d,i=f;(t=s<2?e:i)||!p;){a||(s?s<3?(s>1&&(u.n=-1),m(s,i)):u.n=i:u.v=i);try{if(c=2,a){if(s||(n="next"),t=a[n]){if(!(t=t.call(a,i)))throw TypeError("iterator result is not an object");if(!t.done)return t;i=t.value,s<2&&(s=0)}else 1===s&&(t=a.return)&&t.call(a),s<2&&(i=TypeError("The iterator does not provide a '"+n+"' method"),s=1);a=e}else if((t=(p=u.n<0)?i:o.call(r,u))!==l)break}catch(t){a=e,s=1,i=t}finally{c=1}}return{value:t,done:p}}}(o,n,a),!0),c}var l={};function s(){}function i(){}function c(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(be(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(d);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,be(e,n,"GeneratorFunction")),e.prototype=Object.create(p),e}return i.prototype=c,be(p,"constructor",c),be(c,"constructor",i),i.displayName="GeneratorFunction",be(c,n,"GeneratorFunction"),be(p),be(p,n,"Generator"),be(p,r,function(){return this}),be(p,"toString",function(){return"[object Generator]"}),(he=function(){return{w:a,m:u}})()}function be(e,t,o,r){var n=Object.defineProperty;try{n({},"",{})}catch(e){n=0}be=function(e,t,o,r){if(t)n?n(e,t,{value:o,enumerable:!r,configurable:!r,writable:!r}):e[t]=o;else{var a=function(t,o){be(e,t,function(e){return this._invoke(t,o,e)})};a("next",0),a("throw",1),a("return",2)}},be(e,t,o,r)}function ge(e,t,o,r,n,a,l){try{var s=e[a](l),i=s.value}catch(e){return void o(e)}s.done?t(i):Promise.resolve(i).then(r,n)}const ve={name:"AddressComponent",components:{LoadingComponent:w.A,AddressCreateComponent:ye},props:["props"],data:function(){return{loading:{isActive:!1},localAddress:{},targetID:"address",addClass:"modal-active",address:{form:{full_name:"",email:"",country_code:null,phone:"",country:null,state:null,city:null,zip_code:"",address:""},search:{paginate:0,order_column:"id",order_type:"asc"},flag:"",states:[],cities:[]}}},mounted:function(){this.list()},computed:{addresses:function(){return this.$store.getters["frontendAddress/lists"]}},methods:{list:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("frontendAddress/lists",{search:this.address.search}).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})},edit:function(e){var t=this;ue.A.showTarget(this.targetID,this.addClass),this.loading.isActive=!0,this.$store.dispatch("frontendAddress/edit",e.id).then(function(){var o,r=(o=he().m(function o(r){return he().w(function(o){for(;;)switch(o.n){case 0:if(""===e.state){o.n=3;break}return o.n=1,t.$store.dispatch("frontendCountryStateCity/statesByCountry",e.country).then(function(e){t.address.states=e.data.data});case 1:return o.n=2,t.$store.dispatch("frontendCountryStateCity/citiesByState",e.state).then(function(e){t.address.cities=e.data.data});case 2:""===e.city&&(t.address.form.city=null),o.n=5;break;case 3:return o.n=4,t.$store.dispatch("frontendCountryStateCity/statesByCountry",e.country).then(function(e){t.address.states=e.data.data});case 4:t.address.form.state=null,t.address.form.city=null;case 5:setTimeout(function(){t.address.form={full_name:e.full_name,email:e.email,country_code:e.country_code,phone:e.phone,country:e.country,state:e.state,city:e.city,zip_code:e.zip_code,address:e.address},""===e.state&&(t.address.form.state=null),""===e.city&&(t.address.form.city=null)},200),t.loading.isActive=!1,t.$store.dispatch("frontendCountryCode/callingCode",e.country_code).then(function(e){t.address.flag=e.data.data.flag_emoji,t.loading.isActive=!1}).catch(function(e){t.loading.isActive=!1});case 6:return o.a(2)}},o)}),function(){var e=this,t=arguments;return new Promise(function(r,n){var a=o.apply(e,t);function l(e){ge(a,r,n,l,s,"next",e)}function s(e){ge(a,r,n,l,s,"throw",e)}l(void 0)})});return function(e){return r.apply(this,arguments)}}()).catch(function(e){k.A.error(e.response.data.message)})},destroy:function(e){var t=this;N.A.destroyConfirmation().then(function(o){try{t.loading.isActive=!0,t.$store.dispatch("frontendAddress/destroy",{id:e,search:t.address.search}).then(function(e){t.loading.isActive=!1,k.A.successFlip(null,t.$t("label.address"))}).catch(function(e){t.loading.isActive=!1,k.A.error(e.response.data.message)})}catch(e){t.loading.isActive=!1,k.A.error(e.response.data.message)}}).catch(function(e){t.loading.isActive=!1})}}},Ce=(0,fe.A)(ve,[["render",function(e,t,o,k,N,w){var _=(0,r.resolveComponent)("AddressCreateComponent");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createElementVNode)("h2",n,(0,r.toDisplayString)(e.$t("menu.addresses")),1),(0,r.createElementVNode)("div",a,[(0,r.createElementVNode)("div",l,[w.addresses.length>0?((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,{key:0},(0,r.renderList)(w.addresses,function(o){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:"col-12 sm:col-6",key:o},[(0,r.createElementVNode)("div",s,[(0,r.createElementVNode)("div",i,[(0,r.createElementVNode)("h3",c,(0,r.toDisplayString)(o.full_name),1),(0,r.createElementVNode)("div",d,[t[0]||(t[0]=(0,r.createElementVNode)("button",{type:"button",class:"lab-line-circle-more text-primary"},null,-1)),(0,r.createElementVNode)("nav",p,[(0,r.createElementVNode)("button",{"data-modal":"#address",type:"button",onClick:function(e){return w.edit(o)},class:"text-sm font-semibold capitalize py-2 px-3 text-left w-full block border-b last:border-b-0 border-gray-200"},(0,r.toDisplayString)(e.$t("button.edit")),9,u),(0,r.createElementVNode)("button",{type:"button",onClick:function(e){return w.destroy(o.id)},class:"text-sm font-semibold capitalize py-2 px-3 text-left w-full block border-b last:border-b-0 border-gray-200"},(0,r.toDisplayString)(e.$t("button.delete")),9,m)])])]),(0,r.createElementVNode)("p",f,[o.email?((0,r.openBlock)(),(0,r.createElementBlock)("span",y,(0,r.toDisplayString)(o.email)+",",1)):(0,r.createCommentVNode)("",!0),o.phone?((0,r.openBlock)(),(0,r.createElementBlock)("span",h,(0,r.toDisplayString)(o.phone)+",",1)):(0,r.createCommentVNode)("",!0),o.state?((0,r.openBlock)(),(0,r.createElementBlock)("span",b,(0,r.toDisplayString)(o.state)+",",1)):(0,r.createCommentVNode)("",!0),o.city?((0,r.openBlock)(),(0,r.createElementBlock)("span",g,(0,r.toDisplayString)(o.city)+",",1)):(0,r.createCommentVNode)("",!0),o.country?((0,r.openBlock)(),(0,r.createElementBlock)("span",v,(0,r.toDisplayString)(o.country)+",",1)):(0,r.createCommentVNode)("",!0),o.address?((0,r.openBlock)(),(0,r.createElementBlock)("span",C,[(0,r.createTextVNode)((0,r.toDisplayString)(o.address),1),o.address?((0,r.openBlock)(),(0,r.createElementBlock)("span",V,",")):(0,r.createCommentVNode)("",!0)])):(0,r.createCommentVNode)("",!0),o.zip_code?((0,r.openBlock)(),(0,r.createElementBlock)("span",x,(0,r.toDisplayString)(o.zip_code),1)):(0,r.createCommentVNode)("",!0)])])])}),128)):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("div",E,[(0,r.createVNode)(_,{props:N.address},null,8,["props"])])])])],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