PageSourceSearch

https://my-sol-token-auth-example.vercel.app/_next/static/chunks/app/page-7033f6104cd33c1f.js

js my-sol-token-auth-example.vercel.app collected 2026-10-03 07:21:20 UTC 5,175 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{93941:function(e,t,n){Promise.resolve().then(n.bind(n,51888))},51888:function(e,t,n){"use strict";n.d(t,{CurrentAccount:function(){return w}});var l=n(57437),r=n(92101),o=n(17853),a=n(2265),c=n(54537),s=n(36760),i=n.n(s),p=n(50506),u=n(18694),m=n(71744),f=n(79326),d=n(59367),x=n(92570),v=n(8366),g=n(51248),y=n(55274),b=n(37381),O=n(20435),h=n(99320);let C=e=>{let{componentCls:t,iconCls:n,antCls:l,zIndexPopup:r,colorText:o,colorWarning:a,marginXXS:c,marginXS:s,fontSize:i,fontWeightStrong:p,colorTextHeading:u}=e;return{[t]:{zIndex:r,["&".concat(l,"-popover")]:{fontSize:i},["".concat(t,"-message")]:{marginBottom:s,display:"flex",flexWrap:"nowrap",alignItems:"start",["> ".concat(t,"-message-icon ").concat(n)]:{color:a,fontSize:i,lineHeight:1,marginInlineEnd:s},["".concat(t,"-title")]:{fontWeight:p,color:u,"&:only-child":{fontWeight:"normal"}},["".concat(t,"-description")]:{marginTop:c,color:o}},["".concat(t,"-buttons")]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:s}}}}};var E=(0,h.I$)("Popconfirm",e=>C(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),N=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let j=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:l,title:r,description:o,cancelText:s,okText:i,okType:p="primary",icon:u=a.createElement(c.Z,null),showCancel:f=!0,close:O,onConfirm:h,onCancel:C,onPopupClick:E}=e,{getPrefixCls:N}=a.useContext(m.E_),[j]=(0,y.Z)("Popconfirm",b.Z.Popconfirm),P=(0,x.Z)(r),Z=(0,x.Z)(o);return a.createElement("div",{className:"".concat(t,"-inner-content"),onClick:E},a.createElement("div",{className:"".concat(t,"-message")},u&&a.createElement("span",{className:"".concat(t,"-message-icon")},u),a.createElement("div",{className:"".concat(t,"-message-text")},P&&a.createElement("div",{className:"".concat(t,"-title")},P),Z&&a.createElement("div",{className:"".concat(t,"-description")},Z))),a.createElement("div",{className:"".concat(t,"-buttons")},f&&a.createElement(v.ZP,Object.assign({onClick:C,size:"small"},l),s||(null==j?void 0:j.cancelText)),a.createElement(d.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,g.nx)(p)),n),actionFn:h,close:O,prefixCls:N("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},i||(null==j?void 0:j.okText))))};var P=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let Z=a.forwardRef((e,t)=>{var n,l;let{prefixCls:r,placement:o="top",trigger:s="click",okType:d="primary",icon:x=a.createElement(c.Z,null),children:v,overlayClassName:g,onOpenChange:y,onVisibleChange:b}=e,O=P(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:h}=a.useContext(m.E_),[C,N]=(0,p.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(l=e.defaultOpen)&&void 0!==l?l:e.defaultVisible}),Z=(e,t)=>{N(e,!0),null==b||b(e),null==y||y(e,t)},k=h("popconfirm",r),w=i()(k,g),[_]=E(k);return _(a.createElement(f.Z,Object.assign({},(0,u.Z)(O,["title"]),{trigger:s,placement:o,onOpenChange:(t,n)=>{let{disabled:l=!1}=e;l||Z(t,n)},open:C,ref:t,overlayClassName:w,content:a.createElement(j,Object.assign({okType:d,icon:x},e,{prefixCls:k,close:e=>{Z(!1,e)},onConfirm:t=>{var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(void 0,t)},onCancel:t=>{var n;Z(!1,t),null===(n=e.onCancel)||void 0===n||n.call(void 0,t)}})),"data-popover-inject":!0}),v))});Z._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:l,style:r}=e,o=N(e,["prefixCls","placement","className","style"]),{getPrefixCls:c}=a.useContext(m.E_),s=c("popconfirm",t),[p]=E(s);return p(a.createElement(O.ZP,{placement:n,className:i()(s,l),style:r,content:a.createElement(j,Object.assign({prefixCls:s},o))}))};var k=n(27648);function w(){let{account:e}=function(){let{account:e}=(0,r.Z)();return{account:e}}(),{disconnect:t}=function(){let{connect:e,disconnect:t}=(0,r.Z)();return{connect:e,disconnect:t}}();return(0,l.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,l.jsx)(o.k,{className:"text-xs",address:null==e?void 0:e.address,tooltip:!1}),e?(0,l.jsx)(Z,{title:"Are your sure?",okButtonProps:{className:"text-xs py-0",variant:"text"},cancelButtonProps:{className:"text-xs py-0",type:"text"},onConfirm:()=>{null==t||t()},children:(0,l.jsx)("span",{className:"text-xs cursor-pointer hover:underline",children:"Disconnect"})}):(0,l.jsx)(k.default,{href:"/sign-in",className:"text-xs underline hover:text-gray-500",children:"Sign in"})]})}}}
1,function(e){e.O(0,[413,662,971,117,744],function(){return e(e.s=93941)}),_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.