PageSourceSearch

https://0x.kz/build/assets/Index-C-6aEK-l.js

js 0x.kz collected 2026-10-09 04:37:45 UTC 2,909 bytes, 1 lines download raw bytes

1import{_ as c,B as p,o as g,g as f,h,a as e,t as n,e as l,v as m,m as r}from"./app-DVhk9hEg.js";import{M as u}from"./Main-16vdnVOn.js";/* empty css            */import"./keyboard-BzxerdJT.js";import"./use-resolve-button-type-CpPrrBwU.js";const x={name:"Profile",components:[u],data(){return{name:"",email:""}},mounted(){this.fetchProfile()},methods:{fetchProfile(){r.get("/api/profile").then(s=>{this.name=s.data.data.name,this.email=s.data.data.email}).catch(s=>{console.error("There was an error fetching the profile!",s)})},update(){if(this.name===""||this.email==="")return 0;r.post("/api/profile",{name:this.name,email:this.email}).then(this.load)},load(){this.name="",this.email=""}}},_={class:"flex justify-center md:flex-row md:items-start items-center flex-col gap-5 text-gray-800 max-w-[1300px] mx-auto min-h-[580px] mt-5 md:mt-20 md:px-8 px-0"},y={class:"w-[30%] mt-2 md:block hidden"},b={class:"text-gray-700 text-center md:text-start"},v={class:"text-xl"},w={class:"text-base"},k={class:"md:w-[60%] w-[95%]"},M={class:"bg-white shadow-md w-full h-[300px] rounded-lg"},B={action:"",method:"post"},C={class:"md:pt-10 pt-2 md:ml-7 ml-0 grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-2"},P={class:"sm:col-span-5"},V={class:"mt-2"},j={class:"sm:col-span-5"},D={class:"mt-2"},N={class:"sm:col-span-4 mt-10 flex justify-end mr-12"};function S(s,t,T,U,o,i){const d=p("Main");return g(),f(d,null,{default:h(()=>[e("div",_,[e("div",y,[e("div",b,[e("h2",v,n(s.$page.props.translations.messages.profile_information),1),e("span",w,n(s.$page.props.translations.messages.before_data_change)+".",1)])]),e("div",k,[e("div",M,[e("form",B,[e("div",C,[e("div",P,[t[3]||(t[3]=e("label",{for:"email",class:"block text-base font-medium leading-6 text-gray-900"},"Email:",-1)),e("div",V,[l(e("input",{type:"email",name:"email","onUpdate:modelValue":t[0]||(t[0]=a=>o.email=a),autocomplete:"given-name",class:"block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-800 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"},null,512),[[m,o.email]])])]),e("div",j,[t[4]||(t[4]=e("label",{for:"name",class:"block text-base font-medium leading-6 text-gray-900"},"Name:",-1)),e("div",D,[l(e("input",{type:"text",name:"name","onUpdate:modelValue":t[1]||(t[1]=a=>o.name=a),autocomplete:"given-name",class:"block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-800 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"},null,512),[[m,o.name]])])])]),e("div",N,[e("button",{type:"button",onClick:t[2]||(t[2]=(...a)=>i.update&&i.update(...a)),class:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"}," Save ")])])])])])]),_:1})}const F=c(x,[["render",S]]);export{F as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.