1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[450],{15340:()=>{},26541:(e,t,r)=>{"use strict";r.d(t,{IB:()=>a,N_:()=>i,a8:()=>c,rd:()=>d});var s=r(18956),n=r(75087);let a=["en","es","zh","ko","fr","pt","ru"],o=(0,n.o)({locales:a,defaultLocale:"en",localePrefix:"as-needed"}),{Link:i,redirect:l,usePathname:c,useRouter:d,getPathname:h}=(0,s.xp)(o)},30836:(e,t,r)=>{"use strict";r.d(t,{default:()=>x});var s=r(95155),n=r(2821),a=r(95604);r(12115);var o=r(77566),i=r(61027),l=r(26541);let c=[{key:"telegramDiscussions",href:"https://t.me/Dex223_Defi"},{key:"telegramAnnouncements",href:"https://t.me/Dex_223"},{key:"dex223X",href:"https://twitter.com/Dex_223"},{key:"discord",href:"https://discord.gg/t5bdeGC5Jk"},{key:"dexaranX",href:"https://twitter.com/Dexaran"}],d=[{key:"lossesCalculator",href:"https://dexaran.github.io/erc20-losses/"},{key:"tokenConverter",href:"https://app.dex223.io/converter"},{key:"erc223FrontPage",href:"https://dexaran.github.io/erc223"},{key:"sourceCode",href:"https://github.com/Dexaran/Dex223-ICO-page/tree/main"},{key:"blog",href:"https://blog.dex223.io/"}],h=[{key:"blockzhub",href:"https://blockzhub.io/"},{key:"clsGlobal",href:"https://www.cls.global"},{key:"beosin",href:"https://beosin.com"},{key:"roroTechnology",href:"https://rorotechnology.io/"}],m=[{key:"operatingAgreement",href:"/operating-agreement"},{key:"tokenDescription",href:"/token-description"},{key:"privacyPolicy",href:"/privacy-policy"},{key:"defiAgreement",href:"/defi-agreement"},{key:"trademarkPolicy",href:"/trademark-policy"}];function x(e){let{className:t}=e,r=(0,l.a8)(),x=(0,a.useTranslations)("Navigation");return(0,s.jsx)("footer",{children:(0,s.jsxs)(o.A,{children:[(0,s.jsxs)("div",{className:"py-6 lg:py-10 flex justify-between before:h-[1px] before:bg-gradient-to-r before:from-secondary-border/20 before:via-50% before:via-secondary-border before:to-secondary-border/20 before:w-full before:absolute relative before:top-0 before:left-0",children:[(0,s.jsxs)("div",{className:"flex lg:gap-[80px] flex-col sm:grid sm:grid-cols-2 lg:flex gap-6 sm:gap-5 lg:flex-row w-full",children:[(0,s.jsxs)("div",{className:"flex flex-col lg:gap-3",children:[(0,s.jsx)("div",{className:"text-tertiary-text uppercase text-12 lg:text-14 font-semibold tracking-[0.14em]",children:x("socialMedia")}),c.map(e=>(0,s.jsx)("div",{children:(0,s.jsx)("a",{...(0,i.k)(e.href),href:e.href,className:"inline-flex items-center max-lg:min-h-11 font-medium hocus:text-green-hover duration-200 text-secondary-text",children:x("links.".concat(e.key))})},e.key))]}),(0,s.jsxs)("div",{className:"flex flex-col lg:gap-3",children:[(0,s.jsx)("div",{className:"text-tertiary-text uppercase text-12 lg:text-14 font-semibold tracking-[0.14em]",children:x("usefulLinks")}),d.map(e=>(0,s.jsx)("div",{children:(0,s.jsx)("a",{...(0,i.k)(e.href),href:e.href,className:"inline-flex items-center max-lg:min-h-11 font-medium hocus:text-green-hover duration-200 text-secondary-text",children:x("links.".concat(e.key))})},e.key))]}),(0,s.jsxs)("div",{className:"flex flex-col lg:gap-3",children:[(0,s.jsx)("div",{className:"text-tertiary-text uppercase text-12 lg:text-14 font-semibold tracking-[0.14em]",children:x("partners")}),h.map(e=>(0,s.jsx)("div",{children:(0,s.jsx)("a",{...(0,i.k)(e.href),href:e.href,className:"inline-flex items-center max-lg:min-h-11 font-medium hocus:text-green-hover duration-200 text-secondary-text",children:x("links.".concat(e.key))})},e.key))]}),(0,s.jsxs)("div",{className:"flex flex-col lg:gap-3",children:[(0,s.jsx)("div",{className:"text-tertiary-text uppercase text-12 lg:text-14 font-semibold tracking-[0.14em]",children:x("company")}),m.map(e=>(0,s.jsx)("div",{children:(0,s.jsx)(l.N_,{href:e.href,className:(0,n.A)("inline-flex items-center max-lg:min-h-11 text-16 font-medium duration-200 hover:text-green",r.includes(e.href)?"text-green pointer-events-none":"text-secondary-text"),children:x("links.".concat(e.key))})},e.key))]})]}),(0,s.jsx)("div",{})]}),(0,s.jsxs)("div",{className:"py-4 lg:py-6 flex justify-between max-lg:flex-col max-lg:items-start items-center before:h-[1px] before:bg-gradient-to-r before:from-secondary-border/20 before:via-50% before:via-secondary-border before:to-secondary-border/20 before:w-full before:absolute relative before:top-0 before:left-0",children:[(0,s.jsx)("div",{style:{maxWidth:872},children:(0,s.jsx)("p",{className:"text-tertiary-text max-lg:mb-4",children:x("disclaimer")})}),(0,s.jsxs)("span",{className:"text-tertiary-text text-right max-lg:text-12",children:[x("copyright",{year:new Date(Date.now()).getFullYear()})," ",(0,s.jsx)("br",{className:"max-lg:hidden"})," ",x("rightsReserved")]})]})]})})}},47725:()=>{},47790:()=>{},59727:(e,t,r)=>{Promise.resolve().then(r.bind(r,68332)),Promise.resolve().then(r.bind(r,98202)),Promise.resolve().then(r.bind(r,57445)),Promise.resolve().then(r.bind(r,93691)),Promise.resolve().then(r.bind(r,58558)),Promise.resolve().then(r.bind(r,28713)),Promise.resolve().then(r.t.bind(r,41402,23)),Promise.resolve().then(r.t.bind(r,78777,23)),Promise.resolve().then(r.bind(r,31622)),Promise.resolve().then(r.bind(r,3063)),Promise.resolve().then(r.bind(r,61841)),Promise.resolve().then(r.bind(r,57023)),Promise.resolve().then(r.bind(r,72206)),Promise.resolve().then(r.bind(r,75561)),Promise.resolve().then(r.bind(r,74866)),Promise.resolve().then(r.bind(r,74814)),Promise.resolve().then(r.bind(r,31226)),Promise.resolve().then(r.bind(r,99941)),Promise.resolve().then(r.bind(r,60752)),Promise.resolve().then(r.bind(r,86893)),Promise.resolve().then(r.bind(r,86475)),Promise.resolve().then(r.bind(r,61612)),Promise.resolve().then(r.bind(r,38222)),Promise.resolve().then(r.bind(r,10035)),Promise.resolve().then(r.bind(r,26819)),Promise.resolve().then(r.bind(r,21344)),Promise.resolve().then(r.bind(r,69046
1)),Promise.resolve().then(r.bind(r,16156)),Promise.resolve().then(r.bind(r,1595)),Promise.resolve().then(r.bind(r,3602)),Promise.resolve().then(r.bind(r,11928)),Promise.resolve().then(r.bind(r,88265)),Promise.resolve().then(r.bind(r,33732)),Promise.resolve().then(r.bind(r,88374)),Promise.resolve().then(r.bind(r,46659)),Promise.resolve().then(r.bind(r,38322)),Promise.resolve().then(r.bind(r,30400)),Promise.resolve().then(r.bind(r,11752)),Promise.resolve().then(r.bind(r,25195)),Promise.resolve().then(r.bind(r,71243)),Promise.resolve().then(r.bind(r,83351)),Promise.resolve().then(r.bind(r,26233)),Promise.resolve().then(r.bind(r,86275)),Promise.resolve().then(r.bind(r,14510)),Promise.resolve().then(r.bind(r,66305)),Promise.resolve().then(r.bind(r,88750)),Promise.resolve().then(r.bind(r,13632)),Promise.resolve().then(r.bind(r,74087)),Promise.resolve().then(r.bind(r,35614)),Promise.resolve().then(r.bind(r,98503)),Promise.resolve().then(r.bind(r,86954)),Promise.resolve().then(r.bind(r,13256)),Promise.resolve().then(r.bind(r,99914)),Promise.resolve().then(r.bind(r,64455)),Promise.resolve().then(r.bind(r,43657)),Promise.resolve().then(r.bind(r,64582)),Promise.resolve().then(r.bind(r,9786)),Promise.resolve().then(r.bind(r,86620)),Promise.resolve().then(r.bind(r,55234)),Promise.resolve().then(r.bind(r,63374)),Promise.resolve().then(r.bind(r,66700)),Promise.resolve().then(r.bind(r,90758)),Promise.resolve().then(r.bind(r,58273)),Promise.resolve().then(r.bind(r,32542)),Promise.resolve().then(r.bind(r,131)),Promise.resolve().then(r.bind(r,78490)),Promise.resolve().then(r.bind(r,38154)),Promise.resolve().then(r.bind(r,64272)),Promise.resolve().then(r.t.bind(r,47725,23)),Promise.resolve().then(r.bind(r,30836)),Promise.resolve().then(r.bind(r,87874)),Promise.resolve().then(r.bind(r,79963)),Promise.resolve().then(r.bind(r,65259))},61027:(e,t,r)=>{"use strict";r.d(t,{d:()=>n,k:()=>a});let s=new Set(["dex223.io","www.dex223.io","app.dex223.io","test-app.dex223.io","blog.dex223.io"]);function n(e){if(!/^https?:\/\//i.test(e))return!1;try{return!s.has(new URL(e).hostname.toLowerCase())}catch(e){return!1}}function a(e){return n(e)?{target:"_blank",rel:"noopener noreferrer"}:{}}},64272:(e,t,r)=>{"use strict";r.d(t,{default:()=>ep});var s=r(95155),n=r(31461),a=r(99776),o=r(12115),i=r(31622),l=r(95604),c=r(2821),d=r(96438),h=r(67217),m=r(64150);function x(e){let{onBack:t,onClose:r,title:n,paragraph:a,settings:o,titlePosition:i="left",className:l}=e,x=(0,d.uh)({onSwipedDown:e=>{r()},delta:{down:200}});return(0,s.jsxs)("div",{...x,className:(0,m.B)(t||"center"===i?"px-1 md:px-6":"lg:pr-6 pl-4 pr-2 sm:pr-4 sm:pl-6 lg:pl-10",l),children:[(0,s.jsx)("div",{className:(0,c.A)("h-[60px] flex items-center"),children:(0,s.jsxs)("div",{className:(0,c.A)("grid flex-grow",t||"center"===i?"grid-cols-[1fr_3fr_1fr]":"grid-cols-[1fr_auto] md:grid-cols-2"),children:[t&&(0,s.jsx)(h.Ay,{onClick:t,variant:h.nl.BACK,buttonSize:h.Tp.LARGE}),!t&&"center"===i&&(0,s.jsx)("span",{}),(0,s.jsx)("h2",{className:(0,c.A)("text-18 md:text-20 font-bold flex items-center text-nowrap text-primary-text",(t||"center"===i)&&"justify-center"),children:n}),(0,s.jsxs)("div",{className:"flex items-center gap-2 justify-end",children:[o&&o,(0,s.jsx)(h.Ay,{variant:h.nl.CLOSE,handleClose:r})]})]})}),a&&(0,s.jsx)("p",{className:"mt-2 text-16 text-secondary-text",children:a})]})}var u=r(52827),p=r(16424);function f(e){let{isOpen:t,setIsOpen:r,children:n}=e,{refs:a,context:i}=(0,p.we)({open:t,onOpenChange:r}),{isMounted:l,styles:c}=(0,p.DL)(i,{duration:{open:200,close:200}}),d=(0,p.kp)(i),h=(0,p.It)(i),m=(0,p.s9)(i,{outsidePressEvent:"mousedown",outsidePress:e=>!e.target||e.target.classList.contains("Dialog-overlay")}),{getFloatingProps:x}=(0,p.bv)([d,h,m]),u=(0,o.useId)(),f=(0,o.useId)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(p.XF,{children:l&&(0,s.jsx)(p.zR,{className:"Dialog-overlay",style:{...c},lockScroll:!0,children:(0,s.jsx)(p.s3,{context:i,children:(0,s.jsx)("div",{className:"bg-primary-bg rounded-5",ref:a.setFloating,"aria-labelledby":u,"aria-describedby":f,...x(),children:n})})})})})}var g=r(95542);function b(e){let{isOpen:t,children:r,setIsOpen:n}=e,a=(0,u.Ub)({query:"(max-width: 640px)"});return(0,d.uh)({onSwipedDown:e=>{n(!1)},delta:{down:200}}),(0,s.jsx)(s.Fragment,{children:a?(0,s.jsx)(g.A,{isOpen:t,setIsOpen:n,children:r}):(0,s.jsx)(f,{isOpen:t,setIsOpen:n,children:r})})}var v=r(3063),y=r(41521),j=r(61612),w=r(82900),k=r(34646),N=r(33070),P=r(96008);let A={[P.Y.DEFAULT]:"text-14",[P.Y.LARGE]:"text-16"};function C(e){let{label:t,inputSize:r=P.Y.DEFAULT,...n}=e;
1return(0,s.jsx)("p",{className:(0,c.A)("font-bold mb-1 flex items-center gap-1 text-secondary-text",n.disabled&&"opacity-50",A[r]),children:t})}function E(e){let{helperText:t,error:r,warning:n,disabled:a}=e;return(0,s.jsxs)("div",{className:"text-12 mt-1 min-h-4",children:[void 0!==t&&!r&&(0,s.jsx)("div",{className:(0,c.A)("text-12 text-tertiary-text h-4",a&&"opacity-50"),children:t}),void 0!==r&&(0,s.jsx)("p",{className:"text-12 text-red-light h-4",children:r}),n&&(0,s.jsx)("p",{className:"text-12 text-orange mt-1 h-4",children:n})]})}function _(e){let{label:t,helperText:r,error:n,warning:a,tooltipText:o,variant:i="default",internalText:l,isError:c=!1,isWarning:d=!1,inputSize:h=P.Y.LARGE,...m}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(C,{inputSize:h,label:t,tooltipText:o}),(0,s.jsxs)("div",{className:"relative",children:[m.isNumeric?(()=>{let{isNumeric:e,...t}=m;return(0,s.jsx)(N.HG,{inputMode:"decimal",allowedDecimalSeparators:[","],isError:!!n||c,isWarning:!!a||d,customInput:P.A,inputSize:h,...t})})():(0,s.jsx)(P.A,{isError:!!n||c,isWarning:!!a||d,...m}),l&&(0,s.jsx)("span",{className:"absolute right-5 text-tertiary-text top-1/2 -translate-y-1/2",children:l})]}),(0,s.jsx)(E,{helperText:r,error:n,warning:a,disabled:m.disabled})]})}var I=r(2535),S=r(43159),T=r(77608),D=r(11914),L=r(62420),F=r(82050),O=r(35715);function z(e){let t,{pk:r}=e,s=!1;return(0,I.U)(e=>({id:"keystore",name:"Keystore",type:z.type,async setup(){},async connect(e){let{chainId:t}=e,r=await this.getProvider({chainId:t});try{let e=await r.getAddresses(),t=await r.getChainId();return s=!0,console.log("onConnect"),console.log(e,t),{accounts:e,chainId:t}}catch(e){return console.log(e),{accounts:[],chainId:1}}},async disconnect(){s=!1},async getAccounts(){if(!s)throw new S.gC;let e=await this.getProvider();return console.log("Provider in get acc"),console.log(e),(await e.request({method:"eth_accounts"})).map(e=>(0,T.b)(e))},async getChainId(){let e=await this.getProvider(),t=await e.request({method:"eth_chainId"});return console.log("Is there any? "),console.log(t),(0,D.aD)(t,"number")},async isAuthorized(){return!!s&&!!(await this.getAccounts()).length},async switchChain(t){let{chainId:r}=t;return e.emitter.emit("change",{chainId:r}),e.chains.find(e=>e.id===r)},onAccountsChanged(e){},onChainChanged(e){},async onDisconnect(e){},async getProvider(s){if(!t){let n=(0,O.R)(r),a=e.chains.find(e=>e.id===s.chainId)||e.chains[0];t=(0,L.F)({account:n,chain:a,transport:(0,F.L)()})}return t},async getClient(s){if(!t){let n=(0,O.R)(r),a=e.chains.find(e=>e.id===s.chainId)||e.chains[0];t=(0,L.F)({account:n,chain:a,transport:(0,F.L)()})}return t}}))}z.type="keystore";var R=r(7172),M=r.n(R),U=r(81029).Buffer;let W=async(e,t)=>{let r={};if(e)return Object.keys(e).forEach(t=>{r[t.toLowerCase()]=e[t]}),((e,t)=>{if(null!=e.encseed)return M().fromEthSale(e,t);if(null!=e.Crypto||null!=e.crypto)return M().fromV3(e,t,!0);if(null!=e.hash)return R.thirdparty.fromEtherWallet(e,t);if("MyEtherWallet"==e.publisher)return(e=>{if(64!==e.privKey.length)throw Error("Invalid private key length");let t=new U(e.privKey,"hex");return new(M())(t)})(e);throw Error("Invalid Wallet file")})(r,t)};var G=r(96829);function X(e){let{isOpen:t,setIsOpen:r}=e,n=(0,l.useTranslations)("Wallet"),{setIsOpened:a}=(0,G.H)(),i=(0,o.useRef)(null),{chainToConnect:c}=(0,G.U)(),[d,h]=(0,o.useState)(null),[m,u]=(0,o.useState)(null),[p,f]=(0,o.useState)(!1),[g,v]=(0,o.useState)(""),[N,P]=(0,o.useState)(null),[A,C]=(0,o.useState)(),{connect:E}=(0,j.useConnect)(),I=async()=>{f(!0);try{let e=await W(m,g),t=(null==e?void 0:e.getPrivateKeyString)&&(null==e?void 0:e.getPrivateKeyString());if(t){let e=z({pk:t});E({chainId:c,connector:e}),r(!1),a(!1)}else P(n("keystore.wrongPassword"))}catch(e){console.log("importKeystoreFileHandler ~ error:",e),P(n("keystore.wrongPassword"))}finally{f(!1)}};return(0,s.jsx)(b,{isOpen:t,setIsOpen:r,children:(0,s.jsxs)("div",{className:"min-w-[440px]",children:[(0,s.jsx)(x,{onClose:()=>r(!1),title:n("keystore.title")}),(0,s.jsx)("div",{className:"p-10",children:(0,s.jsx)(y.l1,{initialValues:{name:"jared"},onSubmit:(e,t)=>
1{I()},children:e=>(0,s.jsxs)("form",{onSubmit:e.handleSubmit,children:[(0,s.jsx)("input",{type:"file",onChange:e=>(e=>{var t,r;P(null),C(void 0);let s=null==e||null==(r=e.target)||null==(t=r.files)?void 0:t[0];if(s){h(s);let e=new FileReader;e.onload=e=>{try{if(e.target){let t=e.target.result,r=JSON.parse(t);u(r)}}catch(e){C(n("keystore.unsupportedFileFormat"))}},e.readAsText(s)}else u(null)})(e),style:{display:"none"},ref:i}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"w-[120px]",children:(0,s.jsx)(w.Ay,{type:"button",onClick:()=>{if(i.current&&i.current){var e;null==(e=i.current)||e.click()}},colorScheme:w.mq.LIGHT_GREEN,children:n("keystore.browse")})}),(0,s.jsx)("p",{className:"overflow-hidden overflow-ellipsis whitespace-nowrap w-[200px]",children:(null==d?void 0:d.name)?"".concat(null==d?void 0:d.name):(0,s.jsx)("span",{className:"text-secondary-text",children:n("keystore.selectFile")})})]}),(0,s.jsx)("div",{className:"text-red text-12 pb-4 pt-1 h-10",children:A&&A}),(0,s.jsxs)("div",{children:[(0,s.jsx)(_,{disabled:!d||!!A,label:n("keystore.password"),value:g,type:"password",required:!0,onChange:e=>{v(e.target.value),P(null)},placeholder:n("keystore.password"),error:N||void 0,helperText:""}),(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(w.Ay,{type:"submit",disabled:!d||!!A,fullWidth:!0,children:p?(0,s.jsx)(k.A,{size:30,type:"awaiting"}):n("keystore.unlock")})})]})]})})})]})})}var q=r(15239),B=r(98822);function Y(e){let{isActive:t=!1,loading:r=!1,image:n,label:a,...o}=e;return(0,s.jsxs)("button",{className:(0,c.A)("flex flex-col gap-2 justify-center items-center py-4 border rounded-3 w-full duration-200 px-2 disabled:pointer-events-none disabled:opacity-50",t?"text-primary-text bg-green-bg border-green shadow shadow-green/60":"text-secondary-text bg-tertiary-bg border-transparent hocus:bg-green-bg "),...o,children:[(0,s.jsxs)("div",{className:"relative",children:[r?(0,s.jsx)(k.A,{size:32}):(0,s.jsx)(q.default,{src:n,alt:a,width:32,height:32}),(0,s.jsxs)("span",{className:(0,c.A)("w-5 h-5 absolute text-green flex items-center justify-center -right-1.5 -bottom-[5px] opacity-0 duration-200",t?"opacity-100":"opacity-0"),children:[(0,s.jsx)("span",{className:"absolute bg-green-bg rounded-full w-[18px] h-[18px]"}),(0,s.jsx)(B.A,{size:19,iconName:"done",className:"z-10 absolute"})]})]}),(0,s.jsx)("span",{className:"text-12 sm:text-14",children:a})]})}let H={metamask:{name:"Metamask",image:"/images/wallets/metamask.svg"},wc:{name:"WalletConnect",image:"/images/wallets/wc.svg"},keystore:{name:"Keystore",image:"/images/wallets/keystore.svg"}},{image:K,name:J}=H.keystore;function V(){let[e,t]=(0,o.useState)(!1),{isConnecting:r}=(0,v.useAccount)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Y,{disabled:r,onClick:()=>t(!0),image:K,label:J,loading:e}),(0,s.jsx)(X,{isOpen:e,setIsOpen:t})]})}var Z=r(92253),Q=r(86954);function $(e){let{isLoading:t}=e,[r,s]=(0,o.useState)(!1),n=(0,o.useRef)(t);return n.current=t,(0,o.useEffect)(()=>{t?setTimeout(()=>{n.current&&s(!0)},100):s(!1)},[t]),r}var ee=r(69885);let{image:et,name:er}=H.metamask;function es(){let e=(0,l.useTranslations)("Wallet"),{connectors:t,connectAsync:r,isPending:n}=(0,j.useConnect)(),{isConnecting:a}=(0,v.useAccount)(),{setName:i,chainToConnect:c}=(0,G.U)(),{setIsOpened:d}=(0,G.H)(),h=function(){let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=navigator.userAgent||"",r=/MetaMaskMobile/i.test(e),s=void 0!==window.ethereum;r&&s&&t(!0)},[]),e}(),{switchChainAsync:m}=(0,Q.useSwitchChain)(),x=$({isLoading:n});return Z.Fr&&!h?(0,s.jsx)("a",{href:"https://metamask.app.link/dapp/".concat(window.location.host||"test-app.dex223.io"),children:(0,s.jsx)(Y,{disabled:a,image:et,label:er,loading:x})}):(0,s.jsx)(Y,{disabled:a,onClick:async()=>{i("metamask");let s=t[1];if(console.log(s),!s)return(0,ee.A)(e("toasts.installMetamask"),"error");try{await r({connector:s}),d(!1),(0,ee.A)(e("toasts.walletConnected"))}catch(t){t.code&&4001===t.code?(0,ee.A)(e("toasts.userRejected"),"error"):(0,ee.A)(e("toasts.somethingWentWrong"),"error")}},image:et,label:er,loading:x})}let{image:en,name:ea}=H.wc;function eo(){let e=(0,l.useTranslations)("Wallet"),{isConnecting:t}=(0,v.useAccount)(),{connectors:r,connectAsync:n,isPending:a}=(0,j.useConnect)(),{walletName:o,setName:i,chainToConnect:c}=(0,G.U)(),{setIsOpened:d}=(0,G.H)(),h=$({isLoading:"wc"===o&&a});return(0,s.jsx)(Y,{disabled:t,onClick:()=>{i("wc"),n({connector:r[0],chainId:c}).then(()=>{d(!1),(0,ee.A)(e("toasts.walletConnected"))}).catch(t=>{t.code&&4001===t.code?(0,ee.A)(e("toasts.userRejected"),"error"):(0,ee.A)(e("toasts.somethingWentWrong"),"error")})},image:en,label:ea,loading:h})}function ei(){let e=(0,l.useTranslations)("Wallet"),{isOpened:t,setIsOpened:r}=(0,G.H)();return(0,s.jsx)(b,{isOpen:t,setIsOpen:r,children:(0,s.jsxs)("div",{className:"w-full md:w-[600px]",children:[(0,s.jsx)(x,{onClose:()=>r(!1),title:e("connectWallet")}),(0,s.jsx)("div",{className:"card-spacing",children:(0,s.jsxs)("div",{className:"grid grid-cols-3 gap-3 mt-3",children:[(0,s.jsx)(es,{}),(0,s.jsx)(eo,{}),(0,s.jsx)(V,{})]})})]})})}var el=r(91691),ec=r(10066),ed=r(10140),eh=r(30753),em=r(3917);let ex=(0,r(91053).x)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol
1:"ETH",decimals:18},rpcUrls:{default:{http:["https://eth-mainnet.public.blastapi.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0x8cab227b1162f03b8338331adaad7aadc83b895e",blockCreated:0x1214a52},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xdb04c1}}}),eu=(0,ec.Z)({chains:[ex],connectors:[(0,eh.u)({projectId:"109bdaa543046acc8c6a4d3d5310af12"}),(0,em.e)({dappMetadata:{name:"dex223.io",url:"https://app.dex223.io"},useDeeplink:!0})],ssr:!0,storage:(0,ed.wE)({storage:{getItem(e){let t=(0,el.Kh)(document.cookie,e);return null!=t?t:null},setItem(e,t){document.cookie="".concat(e,"=").concat(t,";path=/;samesite=Lax")},removeItem(e){document.cookie="".concat(e,"=;path=/;max-age=-1")}}}),multiInjectedProviderDiscovery:!1,transports:{[ex.id]:(0,F.L)()}});function ep(e){let{initialState:t,children:r}=e,[l]=(0,o.useState)(()=>new n.E);return(0,s.jsx)(i.WagmiProvider,{config:eu,initialState:t,children:(0,s.jsxs)(a.Ht,{client:l,children:[r,(0,s.jsx)(ei,{})]})})}},65259:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(95155),n=r(20063),a=r(68321);function o(){let e=(0,n.usePathname)();return(0,s.jsx)(a.default,{src:"https://api.tryjournalist.com/olayer/8e397cc6-695b-4e8a-9778-9163c6ebc625?path=".concat(e),strategy:"afterInteractive",defer:!0})}},73776:()=>{},79368:()=>{},79838:()=>{},79963:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var s=r(20063),n=r(12115);function a(){let e=(0,s.usePathname)();return(0,n.useEffect)(()=>{document.querySelectorAll("[data-reveal-stagger]").forEach(e=>{e.querySelectorAll("[data-reveal]").forEach((e,t)=>{e.style.setProperty("--reveal-delay","".concat(90*t,"ms"))})});let e=document.querySelectorAll("[data-reveal]:not([data-revealed])");if(!("IntersectionObserver"in window))return void e.forEach(e=>e.setAttribute("data-revealed",""));let t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.setAttribute("data-revealed",""),t.unobserve(e.target))})},{rootMargin:"0px 0px -8% 0px",threshold:.08});return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[e]),(0,n.useEffect)(()=>{let e=e=>{var t;let r=null==(t=e.target)?void 0:t.closest(".surface-hover");if(!r)return;let s=r.getBoundingClientRect();r.style.setProperty("--mx","".concat(e.clientX-s.left,"px")),r.style.setProperty("--my","".concat(e.clientY-s.top,"px"))};return document.addEventListener("pointermove",e,{passive:!0}),()=>document.removeEventListener("pointermove",e)},[]),null}},87874:(e,t,r)=>{"use strict";r.d(t,{default:()=>I});var s=r(95155),n=r(2821),a=r(15239),o=r(95604),i=r(12115),l=r(96438),c=r(3063),d=r(69046),h=r(67217),m=r(98822),x=r(77566),u=r(95542),p=r(16424),f=r(88334),g=r(21166),b=r(26541);let v={en:{img:"/images/locales/en.svg",label:"English",symbol:"En"},es:{img:"/images/locales/es.svg",label:"Espa\xf1ol",symbol:"Es"},zh:{img:"/images/locales/zh.svg",label:"䏿",symbol:"Zh"},ko:{img:"/images/locales/ko.svg",label:"íêµì´",symbol:"Ko"},fr:{img:"/images/locales/fr.svg",label:"Fran\xe7ais",symbol:"Fr"},pt:{img:"/images/locales/pt.svg",label:"Portugu\xeas",symbol:"Pt"},ru:{img:"/images/locales/ru.svg",label:"Ð ÑÑÑкий",symbol:"Ru"}};function y(e){let{locale:t}=e,r=v[t];return r.img?(0,s.jsx)(a.default,{src:r.img,alt:"",width:20,height:20,className:"rounded-full"}):(0,s.jsx)("span",{"aria-hidden":!0,className:"w-5 h-5 flex items-center justify-center rounded-full bg-quaternary-bg text-[9px] font-semibold text-secondary-text",children:r.symbol})}function j(e){var t;let{placement:r="bottom-end",portal:a=!0}=e,l=(0,o.useTranslations)("Navigation"),c=(0,o.useLocale)(),d=(0,b.a8)(),h=(0,b.rd)(),[x,u]=(0,i.useState)(!1),[j,w]=(0,i.useTransition)(),{refs:k,floatingStyles:N,context:P}=(0,p.we)({open:x,onOpenChange:u,placement:r,middleware:[(0,f.cY)(8),(0,f.UU)(),(0,f.BN)({padding:12})],whileElementsMounted:g.ll}),{getReferenceProps:A,getFloatingProps:C}=(0,p.bv)([(0,p.kp)(P),(0,p.s9)(P),(0,p.It)(P,{role:"listbox"})]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{ref:k.setReference,type:"button","aria-label":l("language"),className:(0,n.A)("inline-flex items-center gap-2 h-11 lg:h-10 pl-2.5 pr-2 roun
1ded-2 text-14 font-medium text-secondary-text border duration-200 hocus:text-primary-text hocus:bg-tertiary-bg",x?"bg-tertiary-bg border-white/[0.08]":"border-transparent",j&&"opacity-60"),...A(),children:[(0,s.jsx)(y,{locale:c}),v[c].symbol,(0,s.jsx)(m.A,{iconName:"arrow-right-small",size:20,className:(0,n.A)("duration-200",x?"-rotate-90":"rotate-90")})]}),x&&(0,s.jsx)(p.XF,{root:a||null==(t=k.domReference.current)?void 0:t.parentElement,children:(0,s.jsx)(p.s3,{context:P,modal:!1,children:(0,s.jsx)("ul",{ref:k.setFloating,style:N,className:"z-[120] min-w-[208px] py-1.5 rounded-3 bg-primary-bg/95 backdrop-blur-xl border border-white/[0.06] shadow-[0_24px_48px_-12px_rgba(0,0,0,0.85)]",...C(),children:b.IB.map(e=>(0,s.jsx)("li",{children:(0,s.jsxs)("button",{type:"button",role:"option","aria-selected":e===c,lang:e,onClick:()=>{u(!1),e!==c&&(document.cookie="NEXT_LOCALE=".concat(e,"; path=/; max-age=31536000; samesite=lax"),w(()=>{h.replace("".concat(d).concat(window.location.hash),{locale:e,scroll:!1})}))},className:(0,n.A)("w-full flex items-center gap-3 px-4 py-2.5 text-left text-14 duration-150",e===c?"text-green-hover":"text-secondary-text hocus:bg-tertiary-bg hocus:text-primary-text"),children:[(0,s.jsx)(y,{locale:e}),(0,s.jsx)("span",{className:"flex-grow",children:v[e].label}),e===c&&(0,s.jsx)(m.A,{iconName:"check",size:18})]})},e))})})})]})}var w=r(64150),k=r(61027);let N=[{key:"telegramDiscussions",href:"https://t.me/Dex223_Defi"},{key:"telegramAnnouncements",href:"https://t.me/Dex_223"},{key:"dex223X",href:"https://twitter.com/Dex_223"},{key:"discord",href:"https://discord.gg/t5bdeGC5Jk"},{key:"dexaranX",href:"https://twitter.com/Dexaran"}],P=[{key:"lossesCalculator",href:"https://dexaran.github.io/erc20-losses/"},{key:"tokenConverter",href:"https://app.dex223.io/converter"},{key:"erc223FrontPage",href:"https://dexaran.github.io/erc223"},{key:"sourceCode",href:"https://github.com/Dexaran/Dex223-ICO-page/tree/main"},{key:"blog",href:"https://blog.dex223.io/"}],A=[{key:"blockzhub",href:"https://blockzhub.io/"},{key:"clsGlobal",href:"https://www.cls.global"},{key:"beosin",href:"https://beosin.com"},{key:"roroTechnology",href:"https://rorotechnology.io/"}],C=[{key:"philosophy",href:"/#philosophy",icon:"lamp"},{key:"marginTrading",href:"/#margin",icon:"margin-trading"},{key:"tokenomics",href:"/#tokenomics",icon:"chart"},{key:"contactUs",href:"/#contact",icon:"contact"},{key:"development",href:"/development",icon:"code"},{key:"airdrops",href:"/airdrops",icon:"calendar"}],E="min-h-12 flex items-center gap-3 px-4 text-16 text-secondary-text duration-200 hocus:text-primary-text hocus:bg-tertiary-bg",_="relative whitespace-nowrap font-medium text-14 2xl:text-16 py-5 px-1.5 xl:px-2 2xl:px-3 text-secondary-text hocus:text-primary-text duration-200 after:absolute after:left-1.5 after:right-1.5 xl:after:left-2 xl:after:right-2 2xl:after:left-3 2xl:after:right-3 after:bottom-3.5 after:h-px after:origin-left after:scale-x-0 after:bg-gradient-to-r after:from-green after:to-green-hover after:transition-transform after:duration-300 hocus:after:scale-x-100";function I(){let e=(0,o.useTranslations)("Navigation"),t=(0,o.useLocale)(),[r,p]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=()=>p(window.scrollY>8);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let{isConnected:f,address:g}=(0,c.useAccount)(),{disconnect:v}=(0,d.useDisconnect)(),[y,I]=(0,i.useState)(!1),[S,T]=(0,i.useState)(!1),D=(0,b.a8)(),[L,F]=(0,i.useState)(!0),O=()=>T(!1),z=(0,l.uh)({onSwipedLeft:e=>{T(!1)}});return(0,s.jsxs)("div",{className:"sticky top-0 z-[80]",children:[(0,s.jsx)("div",{"aria-hidden":!0,className:(0,n.A)("absolute inset-0 border-b transition-[opacity,border-color] duration-300 bg-global-bg/70 backdrop-blur-xl backdrop-saturate-150",r?"opacity-100 border-white/[0.06]":"opacity-0 border-transparent")}),(0,s.jsxs)(x.A,{children:[(0,s.jsxs)("header",{className:"flex justify-between items-center max-lg:py-2.5 max-lg:-mr-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-5",children:[(0,s.jsx)(b.N_,{prefetch:!1,href:"/",children:(0,s.jsx)("div",{className:"w-[118px] lg:w-[150px] 2xl:w-[186px] h-[46px] relative",children:(0,s.jsx)(a.default,{src:"/images/comp-dex-logo.svg",alt:"",fill:!0})})}),(0,s.jsx)("nav",{className:"max-lg:hidden",children:(0,s.jsxs)("ul",{className:"flex items-center",children:[(0,s.jsx)(b.N_,{prefetch:!1,className:_,href:"/#philosophy",children:e("philosophy")}),(0,s.jsx)(b.N_,{prefetch:!1,className:_,href:"/#margin",children:e("marginTrading")}),(0,s.jsx)(b.N_,{prefetch:!1,className:_,href:"/#tokenomics",children:e("tokenomics")}),(0,s.jsx)(b.N_,{prefetch:!1,className:_,href:"/#contact",children:e("contactUs")}),(0,s.jsx)(b.N_,{prefetch:!1,className:_,href:"/development",children:e("development")}),(0,s.jsx)(b.N_,{prefetch:!1,className:_,href:"/airdrops",children:e("airdrops")}),(0,s.jsx)("a",{className:_,href:"https://blog.dex223.io/",children:e("blog")})]})})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(j,{}),(0,s.jsxs)("a",{href:"https://app.dex223.io/".concat(t,"/swap"),className:"sheen max-xl:hidden whitespace-nowrap group relative inline-flex items-center gap-1.5 h-10 px-5 rounded-2 text-14 font-medium text-black bg-green shadow-[inset_0_1px_0_rgba(255,255,255,0.35),0_8px_24px_-10px_rgba(125,164,145,0.8)] duration-200 hocus:bg-green-hover hocus:-translate-y-
1px",children:[e("launchApp"),(0,s.jsx)(m.A,{iconName:"forward",size:20,className:"duration-200 group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]}),(0,s.jsx)(h.Ay,{className:"lg:hidden",iconName:"menu",buttonSize:h.Tp.LARGE,"aria-label":e("menu"),"aria-expanded":S,onClick:()=>{F(!0),T(!0)}})]}),f&&g&&(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("button",{className:(0,w.B)("px-3 py-2 duration-200 hover:bg-green-bg rounded-2 bg-primary-bg flex items-center gap-2",y&&"bg-green-bg"),onClick:()=>I(!y),children:[(0,s.jsx)(m.A,{iconName:"wallet"}),(0,s.jsx)("span",{className:"text-secondary-text",children:"".concat(g.slice(0,6),"...").concat(g.slice(-4))}),(0,s.jsx)(m.A,{className:(0,n.A)("ml-2 duration-200 origin-center",y?"-rotate-90":"rotate-90"),iconName:"arrow-right-small"})]}),y&&(0,s.jsx)("div",{className:"absolute top-[calc(100%_+_10px)] right-0 rounded-2 py-1 bg-primary-bg",children:(0,s.jsxs)("button",{onClick:()=>v(),className:"flex items-center gap-2 py-2 px-5 hover:bg-tertiary-bg duration-200",children:[(0,s.jsx)(m.A,{iconName:"logout"}),"Disconnect"]})})]})]}),(0,s.jsx)(u.A,{handlers:z,placement:"left",label:e("menu"),returnFocus:L,isOpen:S,setIsOpen:()=>T(!1),children:(0,s.jsxs)("div",{className:"flex flex-col w-[min(320px,86vw)] min-h-full pb-6",children:[(0,s.jsxs)("div",{className:"sticky top-0 z-10 flex items-center justify-between h-[66px] pl-4 pr-2 bg-primary-bg border-b border-white/[0.06]",children:[(0,s.jsx)(b.N_,{prefetch:!1,href:"/",onClick:O,"aria-label":"DEX223",children:(0,s.jsx)("div",{className:"w-[118px] h-[46px] relative",children:(0,s.jsx)(a.default,{src:"/images/comp-dex-logo.svg",alt:"",fill:!0})})}
1),(0,s.jsx)(h.Ay,{iconName:"close",buttonSize:h.Tp.LARGE,"aria-label":e("closeMenu"),onClick:O})]}),(0,s.jsxs)("nav",{className:"flex flex-col py-2",children:[C.map(t=>(0,s.jsxs)(b.N_,{prefetch:!1,href:t.href,onClick:e=>((e,t)=>{let[r,s]=t.split("#");if(F(!1),T(!1),!s||D!==(r||"/"))return;let n=document.getElementById(s);n&&(e.preventDefault(),requestAnimationFrame(()=>requestAnimationFrame(()=>{n.scrollIntoView({behavior:"smooth",block:"start"}),window.history.pushState(null,"","#".concat(s))})))})(e,t.href),className:E,children:[(0,s.jsx)(m.A,{iconName:t.icon}),e(t.key)]},t.key)),(0,s.jsxs)("a",{href:"https://blog.dex223.io/",className:E,children:[(0,s.jsx)(m.A,{iconName:"blog"}),e("blog")]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 px-4 pb-6",children:[(0,s.jsxs)("a",{href:"https://app.dex223.io/".concat(t,"/swap"),className:"flex-grow inline-flex items-center justify-center gap-1.5 h-12 px-5 rounded-2 text-16 font-medium text-black bg-green shadow-[inset_0_1px_0_rgba(255,255,255,0.35),0_8px_24px_-10px_rgba(125,164,145,0.8)] duration-200 hocus:bg-green-hover",children:[e("launchApp"),(0,s.jsx)(m.A,{iconName:"forward",size:20})]}),(0,s.jsx)(j,{placement:"bottom-end",portal:!1})]}),[{title:e("socialMedia"),links:N},{title:e("usefulLinks"),links:P.filter(e=>"blog"!==e.key)},{title:e("partners"),links:A}].map(t=>(0,s.jsxs)("div",{className:"flex flex-col pb-4",children:[(0,s.jsx)("div",{className:"text-tertiary-text uppercase text-12 font-semibold tracking-[0.14em] px-4 py-2",children:t.title}),t.links.map(t=>(0,s.jsx)("a",{...(0,k.k)(t.href),href:t.href,className:"min-h-11 flex items-center px-4 text-secondary-text duration-200 hocus:text-primary-text hocus:bg-tertiary-bg",children:e("links.".concat(t.key))},t.key))]},t.title))]})})]})]})}},95542:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(95155),n=r(16424),a=r(2821);function o(e){let{isOpen:t,setIsOpen:r,children:o,placement:i="bottom",handlers:l={},label:c,returnFocus:d=!0}=e,{refs:h,context:m}=(0,n.we)({open:t,onOpenChange:r}),{isMounted:x,styles:u}=(0,n.DL)(m,{duration:{open:300,close:300}}),{isMounted:p,styles:f}=(0,n.DL)(m,{initial:{transform:"left"===i?"translateX(-100%)":"translateY(100%)",opacity:1},open:{transform:"left"===i?"translateX(0)":"translateY(0)"},duration:{open:300,close:300}}),g=(0,n.kp)(m),b=(0,n.It)(m),v=(0,n.s9)(m,{outsidePressEvent:"mousedown",outsidePress:e=>!e.target||e.target.classList.contains("drawer-overlay")}),{getFloatingProps:y}=(0,n.bv)([g,b,v]);return(0,s.jsx)(n.XF,{children:(0,s.jsxs)("div",{...l,children:[x&&(0,s.jsx)(n.zR,{className:"drawer-overlay",style:{...u},lockScroll:t}),p&&(0,s.jsx)(n.s3,{context:m,modal:!0,returnFocus:d,children:(0,s.jsx)("div",{className:(0,a.A)("drawer
1-container bg-primary-bg","left"===i&&"h-full","bottom"===i&&"w-full max-h-[100vh] rounded-t-5"),ref:h.setFloating,"aria-label":c,"aria-modal":"true",...y(),style:{...f,top:"left"===i?0:"unset",bottom:"bottom"===i?0:"unset",..."left"===i?{width:"auto"}:{}},children:o})})]})})}},96008:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,Y:()=>o});var s=r(95155),n=r(12115),a=r(64150),o=function(e){return e[e.DEFAULT=40]="DEFAULT",e[e.LARGE=48]="LARGE",e}({});let i={40:"h-10 text-14 rounded-2",48:"h-12 text-16 rounded-3"},l=(0,n.forwardRef)(function(e,t){let{isError:r=!1,isWarning:n=!1,className:o,inputSize:l=48,...c}=e;return(0,s.jsx)("input",{ref:t,className:(0,a.B)("duration-200 focus:outline-0 pl-5 placeholder:text-tertiary-text w-full bg-secondary-bg border text-primary-text",i[l],!r&&!n&&"border-transparent hocus:shadow hocus:shadow-green/60 focus:shadow focus:shadow-green focus:border-green",r&&"border-red-light hocus:shadow hocus:shadow-red-light-shadow/60 focus:shadow focus:shadow-red-light-shadow/60",n&&"border-orange hocus:shadow hocus:shadow-yellow/60 focus:shadow focus:shadow-yellow/60",c.disabled&&"opacity-50 pointer-events-none",c.readOnly&&"pointer-events-none bg-primary-bg border-secondary-border",o),...c})});l.displayName="Input";let c=l},96829:(e,t,r)=>{"use strict";r.d(t,{H:()=>o,U:()=>a});var s=r(25959),n=function(e){return e[e.MAINNET=0]="MAINNET",e}({});let a=(0,s.v)((e,t)=>({walletName:"metamask",setName:t=>e({walletName:t}),chainToConnect:n.MAINNET,setChainToConnect:t=>e({chainToConnect:t}),wcChainsToConnect:[n.MAINNET],addChainToConnect:r=>e({wcChainsToConnect:[...t().wcChainsToConnect,r]}),removeChainToConnect:r=>e({wcChainsToConnect:[...t().wcChainsToConnect].filter(e=>e!==r)})})),o=(0,s.v)((e,t)=>({isOpened:!1,setIsOpened:t=>e({isOpened:t})}))}},e=>{e.O(0,[363,654,545,268,12,619,739,720,549,30,958,210,966,441,255,358],()=>e(e.s=59727)),_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.