PageSourceSearch

https://app.dopewars.gg/_next/static/chunks/pages/wallet-bbe06bdf587d49f0.js

js dopewars.gg collected 2026-10-05 00:58:39 UTC 17,125 bytes, 24 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5789],{87945:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/wallet",function(){return n(94329)}])},18534:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return a},default:function(){return l}});let r=n(83166);n(97458),n(52983);let o=r._(n(69679));function i(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function l(e,t){let n=o.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let l=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=l?l().then(i):Promise.resolve(i(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82681:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(83166)._(n(52983)).default.createContext(null)},69679:function(e,t,n){"use strict";/**
2@copyright (c) 2017-present James Kyle <[email protected]>
3 MIT License
4 Permission is hereby granted, free of charge, to any person obtaining
5a copy of this software and associated documentation files (the
6"Software"), to deal in the Software without restriction, including
7without limitation the rights to use, copy, modify, merge, publish,
8distribute, sublicense, and/or sell copies of the Software, and to
9permit persons to whom the Software is furnished to do so, subject to
10the following conditions:
11 The above copyright notice and this permission notice shall be
12included in all copies or substantial portions of the Software.
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
17LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
18OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
19WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
20*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let r=n(83166)._(n(52983)),o=n(82681),i=[],a=[],l=!1;function u(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class s{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),i=null;function u(){if(!i){let t=new s(e,n);i={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return i.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return u()})}function c(e,t){!function(){u();let e=r.default.useContext(o.LoadableContext);
20e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let a=r.default.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:i.retry}),[]),r.default.useMemo(()=>{var t;return a.loading||a.error?r.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:i.retry}):a.loaded?r.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return c.preload=()=>u(),c.displayName="LoadableComponent",r.default.forwardRef(c)}(u,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(i).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());d(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let p=c},39687:function(e,t,n){"use strict";n.d(t,{Jq:function(){return p},ZP:function(){return f}});var r=n(15408),o=n(90495),i=n(13838),a=n(19275),l=n(98229),u=n(47695),s=n(83418),c=n(12452);let d=()=>window.innerWidth>=(0,i.hQ)("tablet")?"32px":"16px",p=(0,o.Z)("div",{target:"e1hv653h0"})("position:relative;height:100%;overflow-y:",e=>{let{scrollable:t}=e;return t?"scroll":"hidden"},";overflow-x:hidden;background:",e=>{let{background:t}=e;return t||"#a8a9ae"},"  padding:",e=>{let{padBody:t}=e;return t?d():"0px"},";");function f(e){let{title:t,requiresWalletConnection:n=!1,padBody:o=!0,scrollable:i=!0,width:d,height:f,children:h,navbar:m,footer:g,onlyFullScreen:b,fullScreen:y,background:_}=e,{address:w}=(0,a.mA)();return(0,r.BX)(s.Z,{title:t||"DOPE WARS",titleChildren:m,width:d,height:f,onlyFullScreen:b,fullScreen:y,background:_,children:[(0,r.tZ)(c.r,{children:n&&!w?(0,r.tZ)(u.Z,{}):(0,r.tZ)(p,{className:"appWindowBody",background:_,scrollable:i,padBody:o,children:h})}),(0,r.tZ)(l.Z,{children:g})]})}},98229:function(e,t,n){"use strict";var r=n(15408),o=n(49175);t.Z=e=>{let{children:t}=e;return(0,r.tZ)("footer",{css:(0,o.iv)("height:var(--footer-height);border-top:var(--border-black);a{text-decoration:none;}"),children:t})}},57821:function(e,t,n){"use strict";var r=n(15408),o=n(49175),i=n(5451);t.Z=e=>{let{children:t,showBorder:n=!1}=e;return(0,r.tZ)(i.xu,{id:"app-title-bar_nav-items",css:(0,o.iv)("position:relative;background:var(--gray-800);border:0;border-bottom:",n?"4px":"0"," solid white;height:40px;width:100%;overflow-y:hidden;display:flex;align-items:flex-end;justify-content:stretch;a{position:relative;height:30px;background-color:#434345;color:#fff;display:flex;align-items:center;justify-content:center;margin-left:20px;white-space:nowrap;padding:0px 24px;}.active{text-decoration:none;background:#fff;color:#000;}a::before{content:' ';position:absolute;width:10px;top:0;left:0;bottom:0;background-color:#434345;border-radius:3px 3px 0 0;transform:translateX(-5px) scale(1.26) perspective(1px) rotateX(0.5deg);transform-origin:bottom;}a.active::before{background-color:#fff;}a::after{content:' ';position:absolute;width:10px;top:0;right:0;bottom:0;background-color:#434345;border-radius:3px 3px 0 0;transform:translateX(5px) scale(1.26) perspective(1px) rotateX(0.5deg);transform-origin:bottom;}a.active::after{background-color:#fff;}"),children:t})}},32374:function(e,t,n){"use strict";var r=n(5079),o=n(15408),i=n(5451),a=n(8947),l=n(49175),u=n(47770);function s(){let e=(0,r._)(["\n        width: 128px;\n        height: 128px;\n      "]);return s=function(){return e},e}function c(){let e=(0,r._)(["\n          width: 64px;\n          height: 64px;\n        "]);return c=function(){return e},e}function d(){let e=(0,r._)(["\n          font-size: var(--text-00);\n          padding: 4px 8px;\n        "]);return d=function(){return e},e}t.Z=e=>{let{icon:t,label:n,clickAction:r}=e;return(0,o.BX)(i.xu,{onClick:()=>r(),onKeyDown:()=>{},onKeyUp:()=>{},onKeyPress:()=>{},className:"desktop-icon",css:(0,l.iv)("display:flex;justify-content:center;flex-direction:column;
20cursor:pointer;cursor:hand;width:88px;height:88px;",u.BC.tablet(s())),children:[(0,o.tZ)(i.xu,{className:"desktop-icon-image",css:(0,l.iv)("align-self:center;display:flex;justify-content:center;align-items:center;margin-bottom:8px;width:48px;height:48px;",u.BC.tablet(c())),children:(0,o.tZ)(a.E,{src:"/images/icon/".concat(t,".svg"),alt:t,width:"100%",height:"100%"})}),(0,o.tZ)(i.xu,{className:"desktop-icon-label",css:(0,l.iv)("align-self:center;font-size:12px;background-color:#000;color:#fff;text-align:center;padding:4px;font-size:var(--text-small);",u.BC.tablet(d())),children:n.toUpperCase()})]})}},41979:function(e,t,n){"use strict";var r=n(15408),o=n(33337),i=n(52983),a=n(32374),l=n(6018),u=n(47820);t.Z=()=>{let[e,t]=(0,i.useState)(!1),n=(0,o.useRouter)(),s=e=>{n.replace(e)},c=e=>{var t;null===(t=window.open(e,"_blank"))||void 0===t||t.focus()};return(0,r.BX)(r.HY,{children:[e&&(0,r.tZ)(u.Z,{onClose:()=>t(!1)}),(0,r.BX)(l.Z,{children:[(0,r.tZ)(a.Z,{icon:"dopewars-exe",label:"SWAP MEET",clickAction:()=>{"true"===window.localStorage.getItem("tos")?s("/swap-meet"):s("/terms-of-service")}}),(0,r.tZ)(a.Z,{icon:"ryo",label:"PLAY RYO",clickAction:()=>c("https://rollyourown.preview.cartridge.gg/")}),(0,r.tZ)(a.Z,{icon:"dope_frenzy",label:"PLAY Mean Streets",clickAction:()=>c("https://dopefrenzy.gg/")}),(0,r.tZ)(a.Z,{icon:"uniswap-uni-logo",label:"Get $PAPER",clickAction:()=>c("https://app.uniswap.org/#/swap?theme=dark&inputCurrency=ETH&outputCurrency=0x7ae1d57b58fa6411f32948314badd83583ee0e8c")}),(0,r.tZ)(a.Z,{icon:"winamp",label:"Dope Amp",clickAction:()=>t(!0)}),(0,r.tZ)(a.Z,{icon:"file",label:"ABOUT.TXT",clickAction:()=>s("/about")}),(0,r.tZ)(a.Z,{icon:"file",label:"WIKI.LNK",clickAction:()=>c("/wiki")})]})]})}},37404:function(e,t,n){"use strict";var r=n(15408),o=n(38318),i=n(57821);t.Z=()=>(0,r.tZ)(r.HY,{children:(0,r.BX)(i.Z,{showBorder:!0,children:[(0,r.tZ)(o.O,{href:"/swap-meet/inventory",children:(0,r.tZ)(r.HY,{children:"\uD83D\uDC49 Your Stuff \uD83D\uDC48"})}),(0,r.tZ)(o.O,{href:"/swap-meet",children:(0,r.tZ)(r.HY,{children:"DOPE"})}),(0,r.tZ)(o.O,{href:"/swap-meet/hustlers",children:(0,r.tZ)(r.HY,{children:"Hustlers"})}),(0,r.tZ)(o.O,{href:"/swap-meet/gear",children:(0,r.tZ)(r.HY,{children:"Gear"})}),(0,r.tZ)(o.O,{href:"/swap-meet/activity",children:(0,r.tZ)(r.HY,{children:"Activity"})})]})})},62063:function(e,t,n){"use strict";var r=n(15408),o=n(5885),i=n.n(o),a=n(33337);let l="DOPE WARS",u="Welcome to the streets",s="/fpo/social-card.gif";t.Z=e=>{let{title:t,description:n,ogImage:o}=e,c=(0,a.useRouter)(),d="".concat("https://app.dopewars.gg").concat(c.asPath);return(0,r.BX)(i(),{children:[(0,r.tZ)("meta",{charSet:"UTF-8"}),(0,r.tZ)("title",{children:t?"".concat(l," | ").concat(t):l}),(0,r.tZ)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),(0,r.tZ)("meta",{name:"description",content:n||u}),(0,r.tZ)("link",{rel:"icon",type:"image/png",sizes:"24x24",href:"/fpo/favicon.png"}),(0,r.tZ)("meta",{property:"og:url",content:d}),(0,r.tZ)("meta",{property:"og:title",content:t?"".concat(l," | ").concat(t):l}),(0,r.tZ)("meta",{property:"og:description",content:n||u}),(0,r.tZ)("meta",{property:"twitter:title",content:t?"".concat(l," | ").concat(t):l}),(0,r.tZ)("meta",{property:"twitter:description",content:n||u}),(0,r.tZ)("meta",{name:"twitter:site",content:d}),(0,r.tZ)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.tZ)("meta",{name:"twitter:image",content:o||s}),(0,r.tZ)("meta",{property:"og:image",content:o||s}),(0,r.tZ)("meta",{property:"og:image:secure_url",content:o||s}),(0,r.tZ)("meta",{property:"og:image:width",content:"1200"}),(0,r.tZ)("meta",{property:"og:image:height",content:"630"}),(0,r.tZ)("meta",{name:"format-detection",content:"telephone=no, date=no, email=no, address=no"}),(0,r.tZ)("meta",{property:"reservoir:title",content:"Dope Wars Swap Meet"})]})}},6018:function(e,t,n){"use strict";var r=n(5079),o=n(47770);function i(){let e=(0,r._)(["\n    top: 32px;\n    bottom: unset;\n    align-items: flex-start;\n    justify-content: flex-start;\n    width: 50%;\n  "]);return i=function(){return e},e}function a(){let e=(0,r._)(["\n    gap: 32px;\n    padding: 32px;\n    // flex-flow: column wrap;\n    // justify-content: flex-start;\n    // align-items: flex-start;\n  "]);return a=function(){return e},e}let l=(0,n(90495).Z)("div",{target:"e1qv43250"})("position:fixed;z-index:0;left:0px;display:flex;width:100%;flex-flow:row wrap;justify-content:flex-end;align-items:center;bottom:32px;gap:24px;padding:24px;",o.BC.tablet(i())," ",o.BC.laptop(a()));t.Z=l},38318:function(e,t,n){"use strict";n.d(t,{O:function(){return d}});var r=n(15408),o=n(52983),i=n(33337),a=n(51865),l=n.n(a),u=n(50009),s=n.n(u),c=n(5451);let d=e=>{let{children:t,activeClassName:n="active",...a}=e,{pathname:u}=(0,i.useRouter)(),d=o.Children.only(t),p=d.props.className||"",f=u===a.href||u===a.as,h=l()(p,""===u?"index":u,{[n]:f}),m=(0,o.useRef)(null);return(0,o.useEffect)(()=>{f&&(null==m?void 0:m.current)&&m.current.scrollIntoView({behavior:"auto",block:"center",inline:"end"})},[f,m]),(0,o.useEffect)(()=>{},[a.saveFullScreen]),(0,r.tZ)(c.xu,{ref:m,children:(0,r.tZ)(s(),{className:h,...a,children:d})})}},47820:function(e,t,n){"use strict";var r=n(15408),o=n(52983),i=n(90495);let a=[];for(let e of[{artist:"DJ Green Lantern",title:"Dope Wars Mix Vol 1",url:"dope-wars_green-lantern-mix-vol-1.mp3",duration:3520},{artist:"@baronvonfuture",title:"2 Of Amerikas Most Wanted",url:"2_of_Amerikas_Most_Wanted.mp3",duration:213},{artist:"@baronvonfuture",title:"Shook Ones Pt2",url:"Shook_Ones_Pt_2.mp3",duration:122},{artist:"@baronvonfuture",title:"Aint Nuthin But a G thang",url:"Aint_Nuthin_But_a_G_thang.mp3",duration:249},{artist:"@baronvonfuture",title:"CREAM",url:"CREAM_WuTang.mp3",duration:192},{artist:"@baronvonfuture",title:"BIG POPPA",url:"BIG_POPPA.mp3",duration:288}
20,{artist:"@baronvonfuture",title:"So Fresh So Clean",url:"So_Fresh_So_Clean.mp3",duration:238}])a.push({metaData:{title:e.title,artist:e.artist},url:"https://dope-wars-gg.s3.us-west-1.amazonaws.com/audio/"+e.url,duration:e.duration});let l=(0,i.Z)("div",{target:"e1bqem520"})("position:absolute;top:25%;left:50%;translate:(-50%,-25%);");t.Z=e=>{let{onClose:t}=e,n=(0,o.useRef)(null),i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(!n.current)return;let e=document.createElement("script");return e.src="https://unpkg.com/[email protected]/built/webamp.bundle.min.js",e.async=!0,document.body.appendChild(e),e.onload=()=>{i.current&&i.current.dispose();let e=new window.Webamp({initialTracks:a,initialSkin:{url:"/webamp_skins/dope-amp.zip"}});e.renderWhenReady(n.current),t&&e.onClose(()=>t()),i.current=e},()=>{i.current&&(i.current.dispose(),i.current=null)}},[n]),(0,r.tZ)(l,{id:"webamp-container",ref:n})}},94329:function(e,t,n){"use strict";n.r(t);var r=n(15408),o=n(33337),i=n(39687),a=n(62063),l=n(47695),u=n(37404),s=n(41979);t.default=()=>{let e=(0,o.useRouter)(),t=()=>{e.replace("/")};return(0,r.BX)(r.HY,{children:[(0,r.tZ)(s.Z,{}),(0,r.BX)(i.ZP,{requiresWalletConnection:!0,padBody:!1,navbar:(0,r.tZ)(u.Z,{}),children:[(0,r.tZ)(a.Z,{}),(0,r.tZ)(l.Z,{onClose:()=>t()})]})]})}},72491:function(e,t,n){e.exports=n(18534)},5885:function(e,t,n){e.exports=n(41338)},51865:function(e,t){var n;/*!
21	Copyright (c) 2018 Jed Watson.
22	Licensed under the MIT License (MIT), see
23	http://jedwatson.github.io/classnames
24*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}(n)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},92571:function(e,t,n){"use strict";n.d(t,{E:function(){return l}});var r=n(25940),o=n(77322),i=n(59865),a=n(97458),l=(0,o.G)((e,t)=>(0,a.jsx)(i.m.img,{ref:t,as:r.Z,className:"chakra-image",...e}))},25341:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});var r=n(77322),o=n(51921),i=n(42089),a=n(59865),l=n(19938),u=n(97458),s=(0,r.G)(function(e,t){let n=(0,o.mq)("Heading",e),{className:r,...s}=(0,i.Lr)(e);return(0,u.jsx)(a.m.h2,{ref:t,className:(0,l.cx)("chakra-heading",e.className),...s,__css:n})});s.displayName="Heading"}},function(e){e.O(0,[3824,9704,7915,3618,5994,2888,9774,179],function(){return e(e.s=87945)}),_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.