1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6816],{44105:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M396 512a112 112 0 10224 0 112 112 0 10-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"}}]},name:"eye",theme:"filled"}},52556:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M508 624a112 112 0 00112-112c0-3.28-.15-6.53-.43-9.74L498.26 623.57c3.21.28 6.45.43 9.74.43zm370.72-458.44L836 122.88a8 8 0 00-11.31 0L715.37 232.23Q624.91 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.7 119.43 136.55 191.45L112.56 835a8 8 0 000 11.31L155.25 889a8 8 0 0011.31 0l712.16-712.12a8 8 0 000-11.32zM332 512a176 176 0 01258.88-155.28l-48.62 48.62a112.08 112.08 0 00-140.92 140.92l-48.62 48.62A175.09 175.09 0 01332 512z"}},{tag:"path",attrs:{d:"M942.2 486.2Q889.4 375 816.51 304.85L672.37 449A176.08 176.08 0 01445 676.37L322.74 798.63Q407.82 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z"}}]},name:"eye-invisible",theme:"filled"}},77950:function(e,t,a){var r=a(75263).default,s=a(64836).default;t.Z=void 0;var n=s(a(10434)),l=r(a(67294)),o=s(a(44105)),i=s(a(92074)),d=l.forwardRef(function(e,t){return l.createElement(i.default,(0,n.default)({},e,{ref:t,icon:o.default}))});t.Z=d},5071:function(e,t,a){var r=a(75263).default,s=a(64836).default;t.Z=void 0;var n=s(a(10434)),l=r(a(67294)),o=s(a(52556)),i=s(a(92074)),d=l.forwardRef(function(e,t){return l.createElement(i.default,(0,n.default)({},e,{ref:t,icon:o.default}))});t.Z=d},36816:function(e,t,a){a.r(t);var r=a(85893),s=a(75859),n=a.n(s),l=a(50576),o=a(3544),i=a(14789),d=a(77950),u=a(5071),c=a(67294),f=a(9473);let m=new(n());t.default=e=>{let{onSuccess:t,open:a,onClose:s}=e,[n,p]=(0,c.useState)(!1),[h,v]=(0,c.useState)(""),x=(0,f.I0)(),w=(0,f.v9)(e=>e.user.username),[b,y]=(0,c.useState)(!1),handlePasswordSubmit=async e=>{try{if(e.preventDefault(),""===h||void 0===h){x((0,l.wz)("Password cannot be empty"));return}if(p(!0),!await m.login(w.toLowerCase(),h,{unlockWallet:!0})){p(!1),x((0,l.wz)("Invalid credentials"));return}x((0,o.h0)(m)),t(!0),p(!1)}catch(e){x((0,l.wz)(e.message))}},onCloseHandler=()=>{p(!1),s()};return(0,r.jsxs)(i.u_,{open:a,footer:!1,title:"Confirm password",onCancel:()=>onCloseHandler(),centered:!0,children:[(0,r.jsx)(i.ZT,{children:"To perform this action, please verify your password"}),(0,r.jsxs)("form",{onSubmit:e=>handlePasswordSubmit(e),children:[(0,r.jsx)("div",{className:"my-4",children:(0,r.jsx)(i.II,{placeholder:"Password",onChange:e=>v(e.target.value),type:b?"text":"password",className:"px-5 py-1 text-primary-200 font-poppins border-2 border-[#000000A8] font-semibold text-sm",suffixComponents:(0,r.jsx)("div",{className:"cursor-pointer text-base",onClick:()=>y(!b),children:b?(0,r.jsx)(d.Z,{}):(0,r.jsx)(u.Z,{})})})}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(i.zx,{title:"Submit",htmlType:"submit",className:"bg-primary-100 text-[white] rounded-none px-10",loading:n,disabled:n})})]})]})}}}]);
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.