1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[277],{8750:function(e,i,n){"use strict";n.d(i,{Z:function(){return a}});n(7294);var s=n(5893);function a(e){var i=e.reverse,n=void 0!==i&&i;return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"38",height:"38",viewBox:"0 0 38 38",children:(0,s.jsxs)("g",{id:"Group_127","data-name":"Group 127",transform:"translate(0.096 -0.214)",children:[(0,s.jsxs)("g",{id:"Ellipse_18","data-name":"Ellipse 18",transform:"translate(-0.096 0.214)",fill:n?"black":"white",stroke:"rgba(0,0,0,0)",strokeWidth:"1",children:[(0,s.jsx)("circle",{cx:"19",cy:"19",r:"19",stroke:"none"}),(0,s.jsx)("circle",{cx:"19",cy:"19",r:"18.5",fill:"none"})]}),(0,s.jsx)("path",{id:"Path_208","data-name":"Path 208",d:"M-113.356,1004.549l-7.5,7.233,7.5,6.564",transform:"translate(131.581 -992.398)",fill:"none",stroke:n?"white":"black",strokeLinecap:"round",strokeWidth:"2"}),(0,s.jsx)("path",{id:"Path_210","data-name":"Path 210",d:"M-118.748,1012.383h14.883",transform:"translate(130.653 -992.951)",fill:"none",stroke:n?"white":"black",strokeLinecap:"round",strokeWidth:"2"})]})})}},6608:function(e,i,n){"use strict";var s=n(7294),a=n(5893);i.Z=s.memo((function(e){var i=e.children;return(0,a.jsx)("div",{className:"anima-container-center-horizontal",children:(0,a.jsx)("div",{className:"dashboard anima-screen container-center-horizontal min-vh-100",children:i})})}))},3245:function(e,i,n){"use strict";n.r(i);var s=n(7294),a=n(5890),r=n(9249),c=n(1163),t=n(6608),l=n(8750),o=n(5893);i.default=function(){var e=(0,c.useRouter)(),i=(0,s.useState)(null),n=i[0],d=i[1],u=(0,s.useState)(),m=u[0],h=u[1],f=function(){e.push("/")};(0,s.useEffect)((function(){var e=!0;a.W4.getUserDetails().then((function(i){var n=i.success,s=i.errorMessage;n&&e?d(i):r.Am.error(s)}));var i=a.W4.getUserValue().subscribe((function(e){var i=(e||{}).avatarImage;i&&h(i)}));return function(){e=!1,i.unsubscribe()}}),[]);var v=function(i,n){switch(n){case"PASSWORD":e.push("/update-password");break;case"EMAIL":e.push("/update-email");break;case"PHONE":e.push("/update-phone");break;case"DELETE_ACCOUNT":e.push("/delete-account")}};return(0,o.jsxs)(t.Z,{children:[(0,o.jsxs)("div",{className:"main-panel cus-profile-page",children:[(0,o.jsx)("div",{className:"back-button",onClick:f,children:(0,o.jsx)(l.Z,{})}),(0,o.jsxs)("div",{className:"container text-center pt-5 pb-3",children:[(0,o.jsx)("div",{className:"header-icon",children:(0,o.jsx)("div",{onClick:function(){e.push("/update-avatar")},className:"cursor-pointer",children:m?(0,o.jsx)("div",{children:(0,o.jsx)("img",{src:"https://avataaars.io/?avatarStyle=Circle"+m,alt:"Avatar",width:100,height:100})}):(0,o.jsx)("img",{src:"".concat("","/img/[email protected]"),className:"logo-2-nav",alt:"avatar"})})}),(0,o.jsx)("h4",{className:"pt-2",children:"Profile"})]}),(0,o.jsx)("div",{className:"title-border"}),(0,o.jsx)("div",{className:"container text-center pb-3",children:n&&(0,o.jsxs)("div",{className:"row justify-content-center m-3 p-3",children:[(0,o.jsxs)("div",{className:"col-lg-6 col-md-6 mb-3",children:[(0,o.jsx)("div",{className:"profile-info-title",children:"Name"}),(0,o.jsx)("div",{className:"profile-info-input-locked",onClick:function(e){return v(0,"NAME")},children:function(){if(n){var e=n.firstName,i=n.middleName;return(e?e+" ":"")+(i?i+" ":"")+n.lastName}}()})]}),(0,o.jsxs)("div",{className:"col-lg-6 col-md-6 mb-3",children:[(0,o.jsx)("div",{className:"profile-info-title",children:"Username"}),(0,o.jsx)("div",{className:"profile-info-input-locked",onClick:function(e){return v(0,"USERNAME")},children:n.userName})]}),(0,o.jsxs)("div",{className:"col-lg-6 col-md-6 mb-3",children:[(0,o.jsx)("div",{className:"profile-info-title",children:"Email"}),(0,o.jsx)("div",{className:"profile-info-input-unlocked",onClick:function(e){return v(0,"EMAIL")},children:n.email})]}),(0,o.jsxs)("div",{className:"col-lg-6 col-md-6 mb-3",children:[(0,o.jsx)("div",{className:"profile-info-title",children:"Phone"}),(0,o.jsx)("div",{className:"profile-info-input-unlocked",onClick:function(e){return v(0,"PHONE")},children:n.phone})]}),(0,o.jsxs)("div",{className:"col-lg-6 col-md-6 mb-3",children:[(0,o.jsx)("div",{className:"profile-info-title",children:"Address"}),(0,o.jsx)("div",{className:"profile-info-input-locked",onClick:function(e){return v(0,"ADDRESS")},children:function(){if(n){var e=n.address1,i=n.address2,s=n.city;return(e?e+", ":" ")+(i?i+", ":" ")+(s?s+", ":" ")+(n.state||"")}}()})]}),(0,o.jsxs)("div",{className:"col-lg-6 col-md-6 mb-3",children:[(0,o.jsx)("div",{className:"profile-info-title",children:"Password"}),(0,o.jsx)("div",{className:"profile-info-input-unlocked",onClick:function(e){return v(0,"PASSWORD")},children:"**********"})]}),(0,o.jsxs)("div",{className:"col-lg-6 col-md-6 mb-3",children:[(0,o.jsx)("div",{className:"profile-info-title",children:"Delete Account"}),(0,o.jsx)("div",{className:"profile-info-input-unlocked",onClick:function(e){return v(0,"DELETE_ACCOUNT")},children:"Delete Account"})]})]})})]}),(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"row justify-content-center align-content-center align-items-center position-relative",children:(0,o.jsxs)("div",{className:"background-detail",children:[(0,o.jsx)("div",{className:"back-button",onClick:f,children:(0,o.jsx)(l.Z,{})}),(0,o.jsx)("div",{className:"title-border"})]})})})]})}},907:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile",function(){return n(3245)}])}},function(e){e.O(0,[9774,2888,179],(function(){return i=907,e(e.s=i);var i}));var i=e.O();_N_E=i}]);
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.