PageSourceSearch

https://varkala-react-2.vercel.app/_next/static/chunks/pages/customer-account-d9978c9650d6f8dd.js

js varkala-react-2.vercel.app collected 2026-10-03 07:59:54 UTC 8,163 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[782],{63152:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer-account",function(){return a(48045)}])},4225:function(e,s,a){"use strict";var t=a(828),n=a(85893),r=a(67294),l=a(18695),i=a(27977),c=a(48676),m=a(68357),d=a(49907),o=a(65907);s.Z=function(){var e=(0,t.Z)(r.useContext(c.j),2),s=e[0];e[1];return(0,n.jsxs)("div",{className:"customer-sidebar card border-0",children:[(0,n.jsxs)("div",{className:"customer-profile",children:[(0,n.jsx)("a",{className:"d-inline-block",href:"#",children:(0,n.jsx)(o.Z,{className:"img-fluid rounded-circle customer-image",src:"/img/avatar/avatar-0.jpg",alt:"",width:144,height:144})}),(0,n.jsx)("h5",{children:"Jane Doe"}),(0,n.jsx)("p",{className:"text-muted text-sm mb-0",children:"Los Angeles, CA"})]}),(0,n.jsxs)(l.Z,{className:"customer-nav",children:[(0,n.jsx)(d.Z,{href:"/customer-orders",activeClassName:"active",passHref:!0,children:(0,n.jsxs)(l.Z.Item,{as:"a",className:"d-flex justify-content-between align-items-center",children:[(0,n.jsxs)("span",{children:[(0,n.jsx)(m.Z,{icon:"paper-bag-1",className:"svg-icon-heavy me-2"}),"Orders"]}),(0,n.jsx)(i.Z,{pill:!0,className:"fw-normal px-3",bg:"light",text:"dark",children:"5"})]})}),(0,n.jsx)(d.Z,{href:"/customer-account",activeClassName:"active",passHref:!0,children:(0,n.jsx)(l.Z.Item,{as:"a",className:"d-flex justify-content-between align-items-center",children:(0,n.jsxs)("span",{children:[(0,n.jsx)(m.Z,{icon:"male-user-1",className:"svg-icon-heavy me-2"}),"Profile"]})})}),(0,n.jsx)(d.Z,{href:"/customer-addresses",activeClassName:"active",passHref:!0,children:(0,n.jsx)(l.Z.Item,{as:"a",className:"d-flex justify-content-between align-items-center",children:(0,n.jsxs)("span",{children:[(0,n.jsx)(m.Z,{icon:"real-estate-1",className:"svg-icon-heavy me-2"}),"Addresses"]})})}),(0,n.jsx)(d.Z,{href:"/customer-wishlist",activeClassName:"active",passHref:!0,children:(0,n.jsxs)(l.Z.Item,{as:"a",className:"d-flex justify-content-between align-items-center",children:[(0,n.jsxs)("span",{children:[(0,n.jsx)(m.Z,{icon:"heart-1",className:"svg-icon-heavy me-2"}),"Wishlist"]}),(0,n.jsx)(i.Z,{pill:!0,className:"fw-normal px-3",bg:"light",text:"dark",children:s.length})]})}),(0,n.jsx)(d.Z,{href:"/customer-login",activeClassName:"active",passHref:!0,children:(0,n.jsx)(l.Z.Item,{as:"a",className:"d-flex justify-content-between align-items-center",children:(0,n.jsxs)("span",{children:[(0,n.jsx)(m.Z,{icon:"exit-1",className:"svg-icon-heavy me-2"}),"Log out"]})})})]})]})}},48045:function(e,s,a){"use strict";a.r(s),a.d(s,{__N_SSG:function(){return N}});var t=a(14924),n=a(26042),r=a(69396),l=a(828),i=a(85893),c=a(67294),m=a(10682),d=a(26699),o=a(34051),u=a(31555),h=a(12529),x=a(35005),p=a(41664),j=a.n(p),v=a(4225),f=a(92814),b=a(56024),N=!0;s.default=function(){var e=(0,l.Z)(c.useState({}),2),s=e[0],a=e[1],p=function(e){var l=e.target.value;a((0,r.Z)((0,n.Z)({},s),(0,t.Z)({},e.target.name,l)))};return(0,i.jsxs)(c.Fragment,{children:[(0,i.jsx)("section",{className:"hero py-6",children:(0,i.jsxs)(m.Z,{children:[(0,i.jsxs)(d.Z,{children:[(0,i.jsx)(j(),{href:"/",passHref:!0,children:(0,i.jsx)(d.Z.Item,{children:"Home"})}),(0,i.jsx)(d.Z.Item,{active:!0,children:"Your addresses"})]}),(0,i.jsxs)("div",{className:"hero-content",children:[(0,i.jsx)("h1",{className:"hero-heading mb-3",children:"Your addresses"}),(0,i.jsx)("div",{children:(0,i.jsx)("p",{className:"lead text-muted",children:"Maecenas sollicitudin. In rutrum. In convallis. Nunc tincidunt ante vitae massa. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Fusce dui leo, imperdiet in."})})]})]})}),(0,i.jsx)("section",{className:"pb-6",children:(0,i.jsx)(m.Z,{children:(0,i.jsxs)(o.Z,{children:[(0,i.jsxs)(u.Z,{lg:"8",xl:"9",className:"mb-5 mb-lg-0",children:[(0,i.jsxs)("div",{className:"mb-5",children:[(0,i.jsx)("h3",{className:"mb-5",children:"Change your password"}),(0,i.jsxs)(h.Z,{children:[Z.map((function(e,a){return(0,i.jsx)(o.Z,{children:e.map((function(e){return(0,i.jsx)(u.Z,{sm:"6",children:(0,i.jsxs)("div",{className:"mb-4",children:[(0,i.jsx)(h.Z.Label,{htmlFor:e.name,children:e.label}),(0,i.jsx)(h.Z.Control,{type:e.type,id:e.name,value:s[e.name]||"",onChange:function(e){return p(e)},autoComplete:e.autocomplete})]})},e.name)}))},a)})),(0,i.jsx)("div",{className:"mt-4",children:(0,i.jsxs)(x.Z,{variant:"dark",type:"submit",children:[(0,i.jsx)(f.G,{icon:b.r6,className:"me-2"}),"Change password"]})})]})]}),(0,i.jsx)("hr",{className:"mb-5"}),(0,i.jsx)("h3",{className:"mb-5",children:"Personal details"}),(0,i.jsxs)(h.Z,{children:[y.map((function(e,a){return(0,i.jsx)(o.Z,{children:e.map((function(e){return(0,i.jsx)(u.Z,{sm:"6",md:e.md,children:(0,i.jsxs)("div",{className:"mb-4",children:[(0,i.jsx)(h.Z.Label,{htmlFor:e.name,children:e.label}),(0,i.jsx)(h.Z.Control,{type:e.type,id:e.name,value:s[e.name]||"",onChange:function(e){return p(e)}})]})},e.name)}))},a)})),(0,i.jsx)("div",{className:"mt-4",children:(0,i.jsxs)(x.Z,{variant:"dark",type:"submit",children:[(0,i.jsx)(f.G,{icon:b.r6,className:"me-2"}),"Save changes"]})})]})]}),(0,i.jsx)(u.Z,{xl:"3",lg:"4",className:"mb-5",children:(0,i.jsx)(v.Z,{})})]})})})]})};var Z=[[{label:"Old password",name:"password_old",type:"password",autocomplete:"current-password"}],[{label:"New password",name:"password_1",type:"password",autocomplete:"new-password"},{label:"Retype new password",name:"password_2",type:"password",autocomplete:"new-password"}]],y=[[{label:"Firstname",name:"firstname",type:"text"},{label:"Lastname",name:"lastname",type:"text"}],[{label:"Company",name:"company",type:"text"},{label:"Street",name:"street",type:"text"}],[{label:"Company",name:"company2",type:"text",md:3},{label:"ZIP",name:"zip",type:"text",md:3},{label:"State",name:"state",type:"select",md:3},{label:"Country",name:"country",type:"select",md:3},{label:"Telephone",name:"phone",type:"text"}
1,{label:"Email",name:"emailAccount",type:"text"}]]},26699:function(e,s,a){"use strict";a.d(s,{Z:function(){return u}});var t=a(94184),n=a.n(t),r=a(67294),l=a(76792),i=a(13551),c=a(85893);const m=r.forwardRef((({bsPrefix:e,active:s,children:a,className:t,as:r="li",linkAs:m=i.Z,linkProps:d,href:o,title:u,target:h,...x},p)=>{const j=(0,l.vE)(e,"breadcrumb-item");return(0,c.jsx)(r,{ref:p,...x,className:n()(j,t,{active:s}),"aria-current":s?"page":void 0,children:s?a:(0,c.jsx)(m,{...d,href:o,title:u,target:h,children:a})})}));m.displayName="BreadcrumbItem",m.defaultProps={active:!1,linkProps:{}};var d=m;const o=r.forwardRef((({bsPrefix:e,className:s,listProps:a,children:t,label:r,as:i="nav",...m},d)=>{const o=(0,l.vE)(e,"breadcrumb");return(0,c.jsx)(i,{"aria-label":r,className:s,ref:d,...m,children:(0,c.jsx)("ol",{...a,className:n()(o,null==a?void 0:a.className),children:t})})}));o.displayName="Breadcrumb",o.defaultProps={label:"breadcrumb",listProps:{}};var u=Object.assign(o,{Item:d})},18695:function(e,s,a){"use strict";a.d(s,{Z:function(){return j}});var t=a(94184),n=a.n(t),r=a(67294),l=(a(42473),a(47150)),i=a(25115),c=a(76792),m=a(78146),d=a(73716),o=a(87126),u=a(85893);const h=r.forwardRef((({bsPrefix:e,active:s,disabled:a,eventKey:t,className:r,variant:l,action:i,as:h,...x},p)=>{e=(0,c.vE)(e,"list-group-item");const[j,v]=(0,d.v)({key:(0,o.h)(t,x.href),active:s,...x}),f=(0,m.Z)((e=>{if(a)return e.preventDefault(),void e.stopPropagation();j.onClick(e)}));a&&void 0===x.tabIndex&&(x.tabIndex=-1,x["aria-disabled"]=!0);const b=h||(i?x.href?"a":"button":"div");return(0,u.jsx)(b,{ref:p,...x,...j,onClick:f,className:n()(r,e,v.isActive&&"active",a&&"disabled",l&&`${e}-${l}`,i&&`${e}-action`)})}));h.displayName="ListGroupItem";var x=h;const p=r.forwardRef(((e,s)=>{const{className:a,bsPrefix:t,variant:r,horizontal:m,numbered:d,as:o="div",...h}=(0,l.Ch)(e,{activeKey:"onSelect"}),x=(0,c.vE)(t,"list-group");let p;return m&&(p=!0===m?"horizontal":`horizontal-${m}`),(0,u.jsx)(i.Z,{ref:s,...h,as:o,className:n()(a,x,r&&`${x}-${r}`,p&&`${x}-${p}`,d&&`${x}-numbered`)})}));p.displayName="ListGroup";var j=Object.assign(p,{Item:x})}},function(e){e.O(0,[9774,2888,179],(function(){return s=63152,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

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.