PageSourceSearch

https://www.socrazycoin.com/_next/static/chunks/41-20c63b1035a37196.js

js socrazycoin.com collected 2026-10-08 10:53:49 UTC 13,394 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[41],{8757:function(e,t,n){n.d(t,{H:function(){return i},i1:function(){return l},mI:function(){return s},su:function(){return c}});var a,l,r=n(7336),o=n(4659);(a=l||(l={})).Installed="Installed",a.NotDetected="NotDetected",a.Loadable="Loadable",a.Unsupported="Unsupported";class s extends r.Z{get connected(){return!!this.publicKey}async autoConnect(){await this.connect()}async prepareTransaction(e,t,n={}){let a=this.publicKey;if(!a)throw new o.oS;return e.feePayer=e.feePayer||a,e.recentBlockhash=e.recentBlockhash||(await t.getLatestBlockhash({commitment:n.preflightCommitment,minContextSlot:n.minContextSlot})).blockhash,e}}function c(e){if("undefined"==typeof window||"undefined"==typeof document)return;let t=[];function n(){if(e())for(let e of t)e()}let a=setInterval(n,1e3);t.push(()=>clearInterval(a)),"loading"===document.readyState&&(document.addEventListener("DOMContentLoaded",n,{once:!0}),t.push(()=>document.removeEventListener("DOMContentLoaded",n))),"complete"!==document.readyState&&(window.addEventListener("load",n,{once:!0}),t.push(()=>window.removeEventListener("load",n))),n()}function i(){if(!navigator)return!1;let e=navigator.userAgent.toLowerCase(),t=e.includes("iphone")||e.includes("ipad"),n=e.includes("safari");return t&&n}},4659:function(e,t,n){n.d(t,{$w:function(){return s},IW:function(){return p},Nx:function(){return d},OZ:function(){return l},PY:function(){return f},UG:function(){return i},W8:function(){return r},at:function(){return c},bD:function(){return h},cO:function(){return u},fk:function(){return E},lj:function(){return a},oS:function(){return m},p6:function(){return o}});class a extends Error{constructor(e,t){super(e),this.error=t}}class l extends a{constructor(){super(...arguments),this.name="WalletNotReadyError"}}class r extends a{constructor(){super(...arguments),this.name="WalletLoadError"}}class o extends a{constructor(){super(...arguments),this.name="WalletConfigError"}}class s extends a{constructor(){super(...arguments),this.name="WalletConnectionError"}}class c extends a{constructor(){super(...arguments),this.name="WalletDisconnectedError"}}class i extends a{constructor(){super(...arguments),this.name="WalletDisconnectionError"}}class u extends a{constructor(){super(...arguments),this.name="WalletAccountError"}}class d extends a{constructor(){super(...arguments),this.name="WalletPublicKeyError"}}class m extends a{constructor(){super(...arguments),this.name="WalletNotConnectedError"}}class p extends a{constructor(){super(...arguments),this.name="WalletSendTransactionError"}}class f extends a{constructor(){super(...arguments),this.name="WalletSignTransactionError"}}class E extends a{constructor(){super(...arguments),this.name="WalletSignMessageError"}}class h extends a{constructor(){super(...arguments),this.name="WalletSignInError"}}},6625:function(e,t,n){n.d(t,{z:function(){return l}});var a=n(2265);let l=e=>a.createElement("button",{className:`wallet-adapter-button ${e.className||""}`,disabled:e.disabled,style:e.style,onClick:e.onClick,tabIndex:e.tabIndex||0,type:"button"},e.startIcon&&a.createElement("i",{className:"wallet-adapter-button-start-icon"},e.startIcon),e.children,e.endIcon&&a.createElement("i",{className:"wallet-adapter-button-end-icon"},e.endIcon))},724:function(e,t,n){n.d(t,{o:function(){return l}});var a=n(2265);let l=({wallet:e,...t})=>e&&a.createElement("img",{src:e.adapter.icon,alt:`${e.adapter.name} icon`,...t})},3891:function(e,t,n){n.d(t,{x:function(){return p}});var a=n(8757),l=n(5408),r=n(2265),o=n(4887);let s=({id:e,children:t,expanded:n=!1})=>{let a=(0,r.useRef)(null),l=(0,r.useRef)(!0),o=()=>{let e=a.current;e&&requestAnimationFrame(()=>{e.style.height=e.scrollHeight+"px"})},s=()=>{let e=a.current;e&&requestAnimationFrame(()=>{e.style.height=e.offsetHeight+"px",e.style.overflow="hidden",requestAnimationFrame(()=>{e.style.height="0"})})};return(0,r.useLayoutEffect)(()=>{n?o():s()},[n]),(0,r.useLayoutEffect)(()=>{let e=a.current;if(e)return l.current&&(t(),l.current=!1),e.addEventListener("transitionend",r),()=>e.removeEventListener("transitionend",r);function t(){e&&(e.style.overflow=n?"initial":"hidden",n&&(e.style.height="auto"))}function r(n){e&&n.target===e&&"height"===n.propertyName&&t()}},[n]),r.createElement("div",{className:"wallet-adapter-collapse",id:e,ref:a,role:"region",style:{height:0,transition:l.current?void 0:"height 250ms ease-out"}},t)};var c=n(6625),i=n(724);let u=({handleClick:e,tabIndex:t,wallet:n})=>r.createElement("li",null,r.createElement(c.z,{onClick:e,startIcon:r.createElement(i.o,{wallet:n}),tabIndex:t},n.adapter.name,n.readyState===a.i1.Installed&&r.createElement("span",null,"Detected"))),d=()=>r.createElement("svg",{width:"97",height:"96",viewBox:"0 0 97 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("circle",{cx:"48.5",cy:"48",r:"48",fill:"url(#paint0_linear_880_5115)",fillOpacity:"0.1"}
1),r.createElement("circle",{cx:"48.5",cy:"48",r:"47",stroke:"url(#paint1_linear_880_5115)",strokeOpacity:"0.4",strokeWidth:"2"}),r.createElement("g",{clipPath:"url(#clip0_880_5115)"},r.createElement("path",{d:"M65.5769 28.1523H31.4231C27.6057 28.1523 24.5 31.258 24.5 35.0754V60.9215C24.5 64.7389 27.6057 67.8446 31.4231 67.8446H65.5769C69.3943 67.8446 72.5 64.7389 72.5 60.9215V35.0754C72.5 31.258 69.3943 28.1523 65.5769 28.1523ZM69.7308 52.1523H59.5769C57.2865 52.1523 55.4231 50.289 55.4231 47.9985C55.4231 45.708 57.2864 43.8446 59.5769 43.8446H69.7308V52.1523ZM69.7308 41.0754H59.5769C55.7595 41.0754 52.6539 44.1811 52.6539 47.9985C52.6539 51.8159 55.7595 54.9215 59.5769 54.9215H69.7308V60.9215C69.7308 63.2119 67.8674 65.0754 65.5769 65.0754H31.4231C29.1327 65.0754 27.2692 63.212 27.2692 60.9215V35.0754C27.2692 32.785 29.1326 30.9215 31.4231 30.9215H65.5769C67.8673 30.9215 69.7308 32.7849 69.7308 35.0754V41.0754Z",fill:"url(#paint2_linear_880_5115)"}),r.createElement("path",{d:"M61.4231 46.6172H59.577C58.8123 46.6172 58.1924 47.2371 58.1924 48.0018C58.1924 48.7665 58.8123 49.3863 59.577 49.3863H61.4231C62.1878 49.3863 62.8077 48.7664 62.8077 48.0018C62.8077 47.2371 62.1878 46.6172 61.4231 46.6172Z",fill:"url(#paint3_linear_880_5115)"})),r.createElement("defs",null,r.createElement("linearGradient",{id:"paint0_linear_880_5115",x1:"3.41664",y1:"98.0933",x2:"103.05",y2:"8.42498",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#9945FF"}),r.createElement("stop",{offset:"0.14",stopColor:"#8A53F4"}),r.createElement("stop",{offset:"0.42",stopColor:"#6377D6"}),r.createElement("stop",{offset:"0.79",stopColor:"#24B0A7"}),r.createElement("stop",{offset:"0.99",stopColor:"#00D18C"}),r.createElement("stop",{offset:"1",stopColor:"#00D18C"})),r.createElement("linearGradient",{id:"paint1_linear_880_5115",x1:"3.41664",y1:"98.0933",x2:"103.05",y2:"8.42498",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#9945FF"}),r.createElement("stop",{offset:"0.14",stopColor:"#8A53F4"}),r.createElement("stop",{offset:"0.42",stopColor:"#6377D6"}),r.createElement("stop",{offset:"0.79",stopColor:"#24B0A7"}),r.createElement("stop",{offset:"0.99",stopColor:"#00D18C"}),r.createElement("stop",{offset:"1",stopColor:"#00D18C"})),r.createElement("linearGradient",{id:"paint2_linear_880_5115",x1:"25.9583",y1:"68.7101",x2:"67.2337",y2:"23.7879",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#9945FF"}),r.createElement("stop",{offset:"0.14",stopColor:"#8A53F4"}),r.createElement("stop",{offset:"0.42",stopColor:"#6377D6"}),r.createElement("stop",{offset:"0.79",stopColor:"#24B0A7"}),r.createElement("stop",{offset:"0.99",stopColor:"#00D18C"}),r.createElement("stop",{offset:"1",stopColor:"#00D18C"})),r.createElement("linearGradient",{id:"paint3_linear_880_5115",x1:"58.3326",y1:"49.4467",x2:"61.0002",y2:"45.4453",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#9945FF"}),r.createElement("stop",{offset:"0.14",stopColor:"#8A53F4"}),r.createElement("stop",{offset:"0.42",stopColor:"#6377D6"}),r.createElement("stop",{offset:"0.79",stopColor:"#24B0A7"}),r.createElement("stop",{offset:"0.99",stopColor:"#00D18C"}),r.createElement("stop",{offset:"1",stopColor:"#00D18C"})),r.createElement("clipPath",{id:"clip0_880_5115"},r.createElement("rect",{width:"48",height:"48",fill:"white",transform:"translate(24.5 24)"}
1))));var m=n(2941);let p=({className:e="",container:t="body"})=>{let n=(0,r.useRef)(null),{wallets:c,select:i}=(0,l.O)(),{setVisible:p}=(0,m.h)(),[f,E]=(0,r.useState)(!1),[h,C]=(0,r.useState)(!1),[w,y]=(0,r.useState)(null),[v,g]=(0,r.useMemo)(()=>{let e=[],t=[];for(let n of c)n.readyState===a.i1.Installed?e.push(n):t.push(n);return e.length?[e,t]:[t,[]]},[c]),x=(0,r.useCallback)(()=>{C(!1),setTimeout(()=>p(!1),150)},[p]),b=(0,r.useCallback)(e=>{e.preventDefault(),x()},[x]),k=(0,r.useCallback)((e,t)=>{i(t),b(e)},[i,b]),_=(0,r.useCallback)(()=>E(!f),[f]),L=(0,r.useCallback)(e=>{let t=n.current;if(!t)return;let a=t.querySelectorAll("button"),l=a[0],r=a[a.length-1];e.shiftKey?document.activeElement===l&&(r.focus(),e.preventDefault()):document.activeElement===r&&(l.focus(),e.preventDefault())},[n]);return(0,r.useLayoutEffect)(()=>{let e=e=>{"Escape"===e.key?x():"Tab"===e.key&&L(e)},{overflow:t}=window.getComputedStyle(document.body);return setTimeout(()=>C(!0),0),document.body.style.overflow="hidden",window.addEventListener("keydown",e,!1),()=>{document.body.style.overflow=t,window.removeEventListener("keydown",e,!1)}},[x,L]),(0,r.useLayoutEffect)(()=>y(document.querySelector(t)),[t]),w&&(0,o.createPortal)(r.createElement("div",{"aria-labelledby":"wallet-adapter-modal-title","aria-modal":"true",className:`wallet-adapter-modal ${h&&"wallet-adapter-modal-fade-in"} ${e}`,ref:n,role:"dialog"},r.createElement("div",{className:"wallet-adapter-modal-container"},r.createElement("div",{className:"wallet-adapter-modal-wrapper"},r.createElement("button",{onClick:b,className:"wallet-adapter-modal-button-close"},r.createElement("svg",{width:"14",height:"14"},r.createElement("path",{d:"M14 12.461 8.3 6.772l5.234-5.233L12.006 0 6.772 5.234 1.54 0 0 1.539l5.234 5.233L0 12.006l1.539 1.528L6.772 8.3l5.69 5.7L14 12.461z"}))),v.length?r.createElement(r.Fragment,null,r.createElement("h1",{className:"wallet-adapter-modal-title"},"Connect a wallet on Solana to continue"),r.createElement("ul",{className:"wallet-adapter-modal-list"},v.map(e=>r.createElement(u,{key:e.adapter.name,handleClick:t=>k(t,e.adapter.name),wallet:e})),g.length?r.createElement(s,{expanded:f,id:"wallet-adapter-modal-collapse"},g.map(e=>r.createElement(u,{key:e.adapter.name,handleClick:t=>k(t,e.adapter.name),tabIndex:f?0:-1,wallet:e}))):null),g.length?r.createElement("button",{className:"wallet-adapter-modal-list-more",onClick:_,tabIndex:0},r.createElement("span",null,f?"Less ":"More ","options"),r.createElement("svg",{width:"13",height:"7",viewBox:"0 0 13 7",xmlns:"http://www.w3.org/2000/svg",className:`${f?"wallet-adapter-modal-list-more-icon-rotate":""}`},r.createElement("path",{d:"M0.71418 1.626L5.83323 6.26188C5.91574 6.33657 6.0181 6.39652 6.13327 6.43762C6.24844 6.47872 6.37371 6.5 6.50048 6.5C6.62725 6.5 6.75252 6.47872 6.8677 6.43762C6.98287 6.39652 7.08523 6.33657 7.16774 6.26188L12.2868 1.626C12.7753 1.1835 12.3703 0.5 11.6195 0.5H1.37997C0.629216 0.5 0.224175 1.1835 0.71418 1.626Z"}))):null):r.createElement(r.Fragment,null,r.createElement("h1",{className:"wallet-adapter-modal-title"},"You'll need a wallet on Solana to continue"),r.createElement("div",{className:"wallet-adapter-modal-middle"},r.createElement(d,null)),g.length?r.createElement(r.Fragment,null,r.createElement("button",{className:"wallet-adapter-modal-list-more",onClick:_,tabIndex:0},r.createElement("span",null,f?"Hide ":"Already have a wallet? View ","options"),r.createElement("svg",{width:"13",height:"7",viewBox:"0 0 13 7",xmlns:"http://www.w3.org/2000/svg",className:`${f?"wallet-adapter-modal-list-more-icon-rotate":""}`},r.createElement("path",{d:"M0.71418 1.626L5.83323 6.26188C5.91574 6.33657 6.0181 6.39652 6.13327 6.43762C6.24844 6.47872 6.37371 6.5 6.50048 6.5C6.62725 6.5 6.75252 6.47872 6.8677 6.43762C6.98287 6.39652 7.08523 6.33657 7.16774 6.26188L12.2868 1.626C12.7753 1.1835 12.3703 0.5 11.6195 0.5H1.37997C0.629216 0.5 0.224175 1.1835 0.71418 1.626Z"}))),r.createElement(s,{expanded:f,id:"wallet-adapter-modal-collapse"},r.createElement("ul",{className:"wallet-adapter-modal-list"},g.map(e=>r.createElement(u,{key:e.adapter.name,handleClick:t=>k(t,e.adapter.name),tabIndex:f?0:-1,wallet:e}))))):null))),r.createElement("div",{className:"wallet-adapter-modal-overlay",onMouseDown:b})),w)}},5041:function(e,t,n){n.d(t,{s:function(){return o}});var a=n(2265),l=n(2941),r=n(3891);let o=({children:e,...t})=>{let[n,o]=(0,a.useState)(!1);return a.createElement(l.g.Provider,{value:{visible:n,setVisible:o}},e,n&&a.createElement(r.x,{...t}))}},2941:function(e,t,n){n.d(t,{g:function(){return o},h:function(){return s}});var a=n(2265);let l={setVisible(e){console.error(r("call","setVisible"))},visible:!1};function r(e,t){return`You have tried to  ${e} "${t}" on a WalletModalContext without providing one. Make sure to render a WalletModalProvider as an ancestor of the component that uses WalletModalContext`}Object.defineProperty(l,"visible",{get:()=>(console.error(r("read","visible")),!1)});let o=(0,a.createContext)(l);function s(){return(0,a.useContext)(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.