1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6552],{16238:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/setting",function(){return l(43275)}])},43275:function(e,t,l){"use strict";l.r(t);var s=l(85893),a=l(67294);let n={photoUrl:"https://yt3.googleusercontent.com/-CFTJHU7fEWb7BYEb6Jh9gm1EpetvVGQqtof0Rbh-VQRIznYYKJxCaqv_9HeBcmJmIsp2vOO9JU=s900-c-k-c0x00ffffff-no-rj",name:"Jane Doe",email:"[email protected]",contactNumber:"+1234567890",favorites:{tools:[{id:1,name:"Tool 1"}],categories:[{id:1,name:"Category 1"}],subcategories:[{id:1,name:"Subcategory 1"}],courses:[{id:1,name:"Course 1"}]}};t.default=()=>{let[e,t]=(0,a.useState)(n),l=l=>{let{name:s,value:a}=l.target;t({...e,[s]:a})};return(0,s.jsxs)("div",{className:"container mx-auto px-4 pt-2",children:[(0,s.jsx)("h1",{className:"text-2xl font-semibold text-center text-purple-500 border-b-[1px] border-b-white w-fit mx-auto pb-1 my-10",children:"Settings"}),(0,s.jsxs)("div",{className:"grid sm:grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{className:"bg-slate-900/50 shadow-md rounded-lg p-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center mb-4",children:[(0,s.jsx)("img",{src:e.photoUrl,alt:"Profile",className:"w-32 h-32 rounded-full object-cover mb-3"}),(0,s.jsx)("h2",{className:"text-xl font-medium text-white",children:e.name}),(0,s.jsx)("p",{className:"text-white",children:e.email})]}),(0,s.jsxs)("form",{className:"mx-4 flex-col flex space-y-10 justify-center ",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("label",{htmlFor:"name",className:"block text-white",children:"Name"}),(0,s.jsx)("input",{type:"text",name:"name",value:e.name,onChange:l,className:"mt-1 p-2 w-full border rounded-md text-black"})]}),(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("label",{htmlFor:"email",className:"block text-white",children:"Email"}),(0,s.jsx)("input",{type:"email",name:"email",value:e.email,onChange:l,className:"mt-1 p-2 w-full border rounded-md text-black"})]}),(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("label",{htmlFor:"contactNumber",className:"block text-white",children:"Contact Number"}),(0,s.jsx)("input",{type:"tel",name:"contactNumber",value:e.contactNumber,onChange:l,className:"mt-1 p-2 w-full border rounded-md text-black"})]}),(0,s.jsx)("button",{type:"submit",className:"mt-4 px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600",children:"Update Profile"})]})]}),(0,s.jsx)("div",{className:"bg-slate-900/50 shadow-md rounded-lg p-6",children:(0,s.jsx)("h2",{className:"text-xl font-medium mb-4 text-white text-center"})})]})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=16238)}),_N_E=e.O()}]);
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.