1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4805,7143,8450],{1232:(e,t,n)=>{"use strict";n.d(t,{PI:()=>s,We:()=>a,lg:()=>o});var a=function(e){return e.prod="prod",e.dev="dev",e.local="local",e}({}),o=function(e){return e.mainnet="mainnet",e.kairos="kairos",e}({});let r="G-6T0ZW0DVP9",i=new Date(1561452123e3),l=new Date(1561543562e3),s={prod:{mainnet:{apiUrl:"https://mainnet-api.kaiascan.io",compilerUrl:"https://compiler-api-v2.kaiascan.io",serverApiUrl:"http://prod-scan-mainnet-api.scan.svc.cluster.local:8080",publicEn:"https://public-en.node.kaia.io",networks:{mainnet:"https://kaiascan.io/",kairos:"https://kairos.kaiascan.io/"},accessKey:"IaiYAoQFTzYHtRaJQ8qkB31W1CXw5uDuABdZ15Dd",secretKey:"W7VZhAc268kL7rL3A69eAIH7KYYlLqDtuJgacRwp",gaId:r,genesisBlockDate:i,kaiStartDate:0x66cfd801},kairos:{apiUrl:"https://kairos-api.kaiascan.io",compilerUrl:"https://compiler-api-v2.kaiascan.io",publicEn:"https://public-en-kairos.node.kaia.io",serverApiUrl:"http://prod-scan-kairos-api.scan.svc.cluster.local:8080",networks:{mainnet:"https://kaiascan.io/",kairos:"https://kairos.kaiascan.io/"},accessKey:"IaiYAoQFTzYHtRaJQ8qkB31W1CXw5uDuABdZ15Dd",secretKey:"W7VZhAc268kL7rL3A69eAIH7KYYlLqDtuJgacRwp",gaId:r,genesisBlockDate:l,kaiStartDate:0x666a4827}},dev:{mainnet:{apiUrl:"https://dev-mainnet-api.kaiascan.io",compilerUrl:"https://dev-compiler-api-v2.kaiascan.io",publicEn:"https://public-en.node.kaia.io",serverApiUrl:"http://dev-scan-mainnet-api.scan.svc.cluster.local:8080",networks:{mainnet:"https://dev.kaiascan.io/",kairos:"https://dev-kairos.kaiascan.io/"},accessKey:"IaiYAoQFTzYHtRaJQ8qkB31W1CXw5uDuABdZ15Dd",secretKey:"W7VZhAc268kL7rL3A69eAIH7KYYlLqDtuJgacRwp",gaId:r,genesisBlockDate:i,kaiStartDate:0x66cfd801},kairos:{apiUrl:"https://dev-kairos-api.kaiascan.io",compilerUrl:"https://dev-compiler-api-v2.kaiascan.io",publicEn:"https://public-en-kairos.node.kaia.io",serverApiUrl:"http://dev-scan-kairos-api.scan.svc.cluster.local:8080",networks:{mainnet:"https://dev.kaiascan.io/",kairos:"https://dev-kairos.kaiascan.io/"},accessKey:"IaiYAoQFTzYHtRaJQ8qkB31W1CXw5uDuABdZ15Dd",secretKey:"W7VZhAc268kL7rL3A69eAIH7KYYlLqDtuJgacRwp",gaId:r,genesisBlockDate:l,kaiStartDate:0x666a4827}},local:{mainnet:{apiUrl:"http://127.0.0.1:8080",compilerUrl:"http://127.0.0.1:3001",publicEn:"https://public-en.node.kaia.io",serverApiUrl:"http://127.0.0.1:8080",networks:{mainnet:"https://dev.kaiascan.io/",kairos:"https://dev-kairos.kaiascan.io/"},accessKey:"IaiYAoQFTzYHtRaJQ8qkB31W1CXw5uDuABdZ15Dd",secretKey:"W7VZhAc268kL7rL3A69eAIH7KYYlLqDtuJgacRwp",gaId:r,genesisBlockDate:i,kaiStartDate:0x66cfd801},kairos:{apiUrl:"http://127.0.0.1:8080",compilerUrl:"http://127.0.0.1:3001",publicEn:"https://public-en-kairos.node.kaia.io",serverApiUrl:"http://127.0.0.1:8080",networks:{mainnet:"https://dev.kaiascan.io/",kairos:"https://dev-kairos.kaiascan.io/"},accessKey:"IaiYAoQFTzYHtRaJQ8qkB31W1CXw5uDuABdZ15Dd",secretKey:"W7VZhAc268kL7rL3A69eAIH7KYYlLqDtuJgacRwp",gaId:r,genesisBlockDate:l,kaiStartDate:0x666a4827}}}},6896:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var a=n(18955);let o=()=>{let e=(0,a.k)();return{UTCFormatter:t=>{if(!t)return"-";let n=new Date(t);return"number"==typeof t&&10===t.toString().length&&(n=new Date(1e3*t)),e.dateTime(new Date(n),{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:"UTC",hour12:!1}).replace(", "," ")+" (UTC)"},formatter:e,ReadableDateFormatter:t=>{if(!t)return"-";let n=new Date(t);return"number"==typeof t&&10===t.toString().length&&(n=new Date(1e3*t)),e.dateTime(new Date(n),{year:"numeric",month:"long",day:"numeric"})}}}},11369:(e,t,n)=>{"use strict";n.d(t,{Ft:()=>p,HM:()=>c,Lm:()=>l,TX:()=>d,di:()=>u,u9:()=>s});var a=n(90714),o=n(7351),r=n(56618),i=n(50625);let l=i.Ay.div.withConfig({componentId:"sc-5d5f9d88-0"})([""," align-items:center;padding:80px 40px;gap:24px;",""],a.ec,(0,r.MV)({},{},{padding:"80px 24px"},{padding:"80px 24px"})),s=i.Ay.div.withConfig({componentId:"sc-5d5f9d88-1"})([""," align-items:center;gap:16px;.build{path:last-of-type{fill:",";}}"],a.ec,e=>{let{theme:t}=e;return t.Color.background.Icon.strong}),c=i.Ay.div.withConfig({componentId:"sc-5d5f9d88-2"})([""," gap:8px;"],a.Wh),d=i.Ay.h1.withConfig({componentId:"sc-5d5f9d88-3"})(["color:",";",";"],e=>{let{theme:t}=e;return t.Color.text.text.base},o.Il.title["3xl"]),p=i.Ay.h2.withConfig({componentId:"sc-5d5f9d88-4"})(["color:",";",";"],e=>{let{theme:t}=e;return t.Color.text.text.base},o.Il.title.lg),u=i.Ay.p.withConfig({componentId:"sc-5d5f9d88-5"})(["color:",";",";a{color:",";",";&:hover{color:",";","}}"],e=>{let{theme:t}=e;return t.Color.text.text.weak},o.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},o.Il.body.sm_underline,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]},a.lw)},15641:(e,t,n)=>{"use strict";n.d(t,{$$:()=>d,Cg:()=>f,Cl:()=>x,HE:()=>g,cw:()=>h,f5:()=>u,mF:()=>m,nR:()=>p,sb:()=>w,u4:()=>c,yp:()=>v,zV:()=>b});var a=n(90714),o=n(51644),r=n(7351),i=n(56618),l=n(50625);let s={md:(0,l.AH)(["padding:0px 16px;"," "," font-weight:500;",""],r.Il.fontSize["4xl"]("height"),r.Il.body.sm,o.V.m),sm:(0,l.AH)(["he
1ight:40px;padding:8px;"," font-weight:500;",""],r.Il.body.sm,o.V.m),lg:(0,l.AH)(["padding:0px 16px;height:48px;"," font-weight:500;",""],r.Il.body.md,o.V.m),xs:(0,l.AH)(["padding:0px 12px;height:32px;"," font-weight:500;",""],r.Il.body.xs,o.V.s)},c=l.Ay.button.withConfig({componentId:"sc-b386188d-0"})([""," "," "," "," gap:4px;"," border:none;&:hover{","}&:disabled,.disabled{"," "," opacity:0.4;}.dropdown-icon{transition:transform 0.15s ease;transform:",";flex-shrink:0;}"],a.Q8,a.lw,a.or,a.H8,e=>{let{$size:t}=e;return s[t]},a.lw,a.lw,a.Oi,e=>{let{$isOpen:t}=e;return t?"rotate(180deg)":"rotate(0deg)"}),d=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-1"})(["background-color:",";color:",";&:hover{background-color:",";}"],e=>{let{theme:t}=e;return t.Color.background.component["primary-default"]},e=>{let{theme:t}=e;return t.Color.text.button["default-inverse"]},e=>{let{theme:t}=e;return t.Color.background.component["primary-hover"]}),p=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-2"})(["background-color:",";color:",";&:hover{background-color:",";}"],e=>{let{theme:t}=e;return t.Color.background.component.default},e=>{let{theme:t}=e;return t.Color.text.button.default},e=>{let{theme:t}=e;return t.Color.background.component["default-hover"]}),u=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-3"})(["background-color:",";color:",";&:hover{background-color:",";}white-space:nowrap;"],e=>{let{theme:t}=e;return t.Color.background.component["primary-weak"]},e=>{let{theme:t}=e;return t.Color.text.button.primary},e=>{let{theme:t}=e;return t.Color.background.component["primary-weak-hover"]}),h=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-4"})(["background-color:",";color:",";&:hover{color:",";}padding:0px 12px;border-radius:var(--Radius-s,8px);"," box-shadow:0px 0px 4px 0px rgba(0,0,0,0.04);"],e=>{let{theme:t}=e;return t.Color.background.surface.base},e=>{let{theme:t}=e;return t.Color.text.textButton.default},e=>{let{theme:t}=e;return t.Color.text.textButton["default-hover"]},o.r.s("borderRadius")),g=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-5"})(["background-color:",";color:",";"," &:hover{"," background-color:",";}"],e=>{let{theme:t}=e;return t.Color.text.button.default},e=>{let{theme:t}=e;return t.Color.text.text["base-inverse"]},o.V.m,a.lw,e=>{let{theme:t}=e;return t.Color.background.component["default-inverse-hover"]}),f=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-6"})(["background:",";color:",";&:hover{background:",";}"],e=>{let{theme:t}=e;return t.Color.background.component["input-default"]},e=>{let{theme:t}=e;return t.Color.text.button.default},e=>{let{theme:t}=e;return t.Color.background.component["default-hover"]}),m=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-7"})(["background:",";color:",";padding:0 12px;&:hover{background:",";}"],e=>{let{theme:t}=e;return t.Color.background.component.default},e=>{let{theme:t}=e;return t.Color.text.button.default},e=>{let{theme:t}=e;return t.Color.background.component["default-hover"]}),x=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-8"})(["background:",";color:",";&:hover{background:",";}.delete-icon{circle{fill:",";}path{stroke:",";}}"],e=>{let{theme:t}=e;return t.Color.background.component["default-inverse"]},e=>{let{theme:t}=e;return t.Color.text.button["default-inverse"]},e=>{let{theme:t}=e;return t.Color.background.component["default-inverse-hover"]},e=>{let{theme:t}=e;return t.Color.background.Icon["strong-inverse"]},e=>{let{theme:t}=e;return t.Color.background.Icon.strong}),b=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-9"})(["border:1px solid ",";background:transparent;color:",";padding:0px 10px;svg path{","}&.active{background:",";border:1px solid ",";color:",";svg path{stroke:",";}}&:hover{"," border:1px solid ",";}"," font-weight:500;line-height:16px;height:32px;",""],e=>{let{theme:t}=e;return t.Color.background.border["outline-base"]},e=>{let{theme:t}=e;return t.Color.text.button.primary},a.lw,e=>{let{theme:t}=e;return t.Color.text.button.primary},e=>{let{theme:t}=e;return t.Color.text.button.primary},e=>{let{theme:t}=e;return t.Color.text.button["default-inverse"]},e=>{let{theme:t}=e;return t.Color.text.button["default-inverse"]},a.lw,e=>{let{theme:t}=e;return t.Color.background.border["outline-strong"]},r.Il.body.xs,o.r.s("borderRadius")),v={primary:d,secondary:p,primaryWeak:u,inputDefault:f,white:h,inverse:g,default:m,defaultInverse:x,outline:b},w=(0,l.Ay)(c).withConfig({componentId:"sc-b386188d-10"})(["position:fixed;bottom:",";right:16px;flex-shrink:0;cursor:pointer;z-index:80;opacity:0.8;transition:0.15s linear,bottom;svg{path{stroke:",";}}"," border-radius:var(--Radius-full,999px);border:1px solid ",";box-shadow:0px 0px 4px 0px rgba(0,0,0,0.04);background:",";color:",";"," font-weight:500;&:hover{background:",";}"],e=>{let{$bottom:t}=e;return"".concat(t,"px")},e=>{let{theme:t}=e;return t.Color.background.Icon.base},(0,i.MV)({},{},{},{bottom:"60px"}),e=>{let{theme:t}=e;return t.Color.background.border["outline-base"]},e=>{let{theme:t}=e;return t.Color.background.component.top},e=>{let{theme:t}=e;return t.Color.text.button.default},r.Il.body.sm,e=>{let{theme:t}=e;return t.Color.background.component["top-hover"]})}
1,17554:(e,t,n)=>{Promise.resolve().then(n.bind(n,3809)),Promise.resolve().then(n.bind(n,87015)),Promise.resolve().then(n.bind(n,49155)),Promise.resolve().then(n.t.bind(n,41402,23)),Promise.resolve().then(n.bind(n,19227))},19227:(e,t,n)=>{"use strict";n.d(t,{LayoutBase:()=>aO});var a=n(95155),o=n(41996),r=n(99776),i=n(50625),l=n(80568),s=n(56618),c=n(63693),d=n.n(c);let p=(0,i.DU)(["*{box-sizing:border-box;padding:0;margin:0;}html,body{overflow:hidden;"," width:100%;margin:0px !important;height:100dvh;font-family:",' -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";-webkit-text-size-adjust:none;-webkit-font-smoothing:antialiased;-webkit-backface-visibility:hidden;backface-visibility:hidden;}body{}a{font-weight:500 !important;}::-webkit-scrollbar-thumb{width:0px;}::-webkit-scrollbar-track{width:0px;}::-webkit-scrollbar{width:0px;opacity:0;}.scroll::-webkit-scrollbar-thumb{background-color:#D1D1D1;border-radius:10px;background-clip:padding-box;opacity:0;}.scroll::-webkit-scrollbar{opacity:0;width:8px;height:8px;background:#e0e0e0;border-radius:10px;}.scroll::-webkit-scrollbar-track{opacity:0;-webkit-box-shadow:auto;-webkit-border-radius:auto;border-radius:auto;background:auto;}::-webkit-media-controls{display:none !important;}::-webkit-media-controls{display:none !important;}::-webkit-media-controls-enclosure{display:none !important;}::-webkit-media-controls-fullscreen-button{display:none !important;}*::-webkit-media-controls-panel{display:none !important;-webkit-appearance:none;}*::-webkit-media-controls-start-playback-button{display:none !important;-webkit-appearance:none;}a{color:inherit;text-decoration:none;width:fit-content;}li{list-style:none !important;}img{-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;}*{-webkit-tap-highlight-color:rgba(0,0,0,0);}.pc-laptop{',"}.pc-laptop-mobile{","}.tablet{","}.tablet-mobile{","}.mobile{","}.pc-laptop-tablet{",'}.nowrap{white-space:nowrap;}a,h1,h2,h3,h4,h5,h6,p{font-size:unset;font-weight:unset;text-decoration:unset;text-align:unset;}input[type=search]::-ms-clear{display:none;width :0;height:0;}input[type=search]::-ms-reveal{display:none;width :0;height:0;}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-results-button,input[type="search"]::-webkit-search-results-decoration{display:none;}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}input[type=number]{-moz-appearance:textfield;}.disabled,.disabled *,:disabled,:disabled *{cursor:default;pointer-events:none;}.blur{filter:blur(4px);}main{max-width:1600px;margin:0 auto;}.skeleton{'," pointer-events:none;}"],(0,s.MV)({},{},{},{overflow:"auto"}),d().style.fontFamily,(0,s.MV)({},{},{display:"none!important"},{display:"none!important"}),(0,s.MV)({},{},{display:"none!important"},{}),(0,s.MV)({display:"none!important"},{display:"none!important"},{},{display:"none!important"}),(0,s.MV)({display:"none!important"},{display:"none!important"},{},{}),(0,s.MV)({display:"none!important"},{display:"none!important"},{display:"none!important"},{}),(0,s.MV)({},{},{},{display:"none!important"}),l.s2);var u=n(14851),h=n(84060),g=n(12115),f=n(20063);function m(e){let{children:t}=e,[n]=(0,g.useState)(()=>new i.E);return(0,f.useServerInsertedHTML)(()=>{let e=n.getStyleElement();return n.instance.clearTag(),(0,a.jsx)(a.Fragment,{children:e})}),(0,a.jsx)(a.Fragment,{children:t})}var x=n(47970),b=n(90714),v=n(51644),w=n(7351);let k=i.Ay.div.withConfig({componentId:"sc-4b864c14-0"})([""," "," margin-top:auto;"],b.ec,b.c6),y=i.Ay.div.withConfig({componentId:"sc-4b864c14-1"})([""," height:56px;background:",";"],b.c6,e=>{let{theme:t}=e;return t.Color.background.surface.alt}),C=i.Ay.div.withConfig({componentId:"sc-4b864c14-2"})(["border-top:1px solid ",";background:",";"," padding:32px 40px 16px 40px;"," gap:16px;",""],e=>{let{theme:t}=e;return t.Color.background.border["divide-base"]},e=>{let{theme:t}=e;return t.Color.background.surface.base},b.c6,b.ec,(0,s.MV)({},{},{padding:"24px 16px 16px 16px"},{padding:"24px 16px 16px 16px"})),j=i.Ay.div.withConfig({componentId:"sc-4b864c14-3"})([""," "," "," .mobile{","}"],b.c6,b.ce,(0,s.MV)({},{},{flexDirection:"column",gap:"16px"},{flexDirection:"column",gap:"16px"}),(0,s.MV)({display:"none"},{display:"none"},{},{})),I=i.Ay.div.withConfig({componentId:"sc-4b864c14-4"})([""," "," gap:24px;"," ",""],b.c6,b.NY,b.ec,(0,s.MV)({},{},{flexDirection:"row",justifyContent:"space-between"},{flexDirection:"row",justifyContent:"space-between"})),A=i.Ay.div.withConfig({componentId:"sc-4b864c14-5"})([""]),T=i.Ay.div.withConfig({componentId:"sc-4b864c14-6"})([""]),S=i.Ay.div.withConfig({componentId:"sc-4b864c14-7"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.caption},w.Il.body.sm);i.Ay.div.withConfig({componentId:"sc-4b864c14-8"})([""," gap:4px;"],b.Uu),i.Ay.div.withConfig({componentId:"sc-4b864c14-9"})([""," "," width:40px;height:40px;"," background:",";"," .icon path{fill:",";}&:hover{"," background:",";.icon path{"," fill:",";}}"],b.or,b.tR,v.r.s("borderRadius"),e=>{let{theme:t}=e;return t.Color.background.component.default},(0,s.MV)({},{},{},{}),e=>{let{theme:t}=e;return t.Color.background.Icon.base},b.lw,e=>{let{theme:t}=e;return t.Color.background.component["default-hover"]},b.lw,e=>{let{theme:t}=e;return t.Color.background.Icon["base-hover"]});let R=i.Ay.div.withConfig({componentId:"sc-4b864c14-10"})([""," gap:64px;white-space:nowrap;",""],b.Uu,(0,s.MV)({},{},{width:"100%",justifyContent:"space-between"},{width:"100%",justifyContent:"space-between",whiteSpace:"wrap",flexWrap:"wrap"})),N=i.Ay.div.withConfig({componentId:"sc-4b864c14-11"})([""," gap:16px;",""],b.ec,(0,s.MV)({},{},{minWidth:"144px"},{minWidth:"144px"})),P=i.Ay.div.withConfig({componentId:"sc-4b864c14-12"})(["color:",";"," font-weight:500;"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm),E=i.Ay.div.withConfig({componentId:"sc-4b864c14-13"})([""," gap:4px;"],b.ec),O=i.Ay.div.withConfig({componentId:"sc-4b864c14-14"})([""," "," color:",";"," font-weight:500;height:24px;&:hover{"," color:",";}"],b.or,b.lw,e=>{let{theme:t}=e;return t.Color.text.text.weak},w.Il.body.sm,b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["weak-hover"]}),D=i.Ay.div.withConfig({componentId:"sc-4b864c14-15"})([""," ",""],b.d2,(0,s.MV)({},{},{gap:"16px"}
1,{flexDirection:"column",alignItems:"flex-start",gap:"16px"})),M=i.Ay.div.withConfig({componentId:"sc-4b864c14-16"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.caption},w.Il.body.xs),_=i.Ay.div.withConfig({componentId:"sc-4b864c14-17"})([""," gap:8px;white-space:nowrap;.icon path{fill:",";}.theme-icon path{fill:",";}&:hover{.theme-icon path{fill:",";}}"],b.Wh,e=>{let{theme:t}=e;return t.Color.background.Icon.primary_default},e=>{let{theme:t}=e;return t.Color.background.Icon.base},e=>{let{theme:t}=e;return t.Color.background.Icon["base-hover"]}),F=i.Ay.div.withConfig({componentId:"sc-4b864c14-18"})([""," gap:4px;color:",";"," font-weight:500;"],b.Wh,e=>{let{theme:t}=e;return t.Color.text.text.weak},w.Il.body.sm);var K=n(96129),z=n(39724),U=n(37186),L=n(15641),B=n(4836),V=n(66305),$=n(24716),X=n(28479),G=n(85809),W=n(34561),H=n(76059),q=n(74797);let Y=()=>{let e=(0,U.rd)(),t=(0,u.C)(e=>e.theme);(0,u.C)(e=>e.setTheme),(0,H.Kr)(e=>e.modal);let n=(0,H.Kr)(e=>e.setModal);(0,H.Kr)(e=>e.modalOpen);let o=(0,H.Kr)(e=>e.setModalOpen),{addToast:r}=(0,q.dj)(),{sendTransactionAsync:i}=(0,V.s)({config:$.Gl}),l=(0,z.k)(),c=(0,U.a8)();K.RIU,K.FsQ,K.cFP,K.Yt;let d=[{title:"footer.content.company",links:[...(0,G.p3)()?[{label:"footer.content.contactUs",url:X.a.contactUs}]:[],{label:"footer.content.termAndPrivacy",url:"/"}]},{title:"footer.content.community",links:[{label:"footer.content.apiDocumentation",url:(0,G.V$)()},{label:"footer.content.networkStatus",url:"https://status.kaia.io/"}]},{title:"footer.content.productsAndServices",links:[...(0,G.p3)()?[{label:"footer.content.advertise",url:X.a.advertise}]:[],{label:"footer.content.apiPlans",url:X.a.apis}]}],p=function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n?window.open(t,"_blank"):e.push(t)},h=async()=>{n(t=>({...t,[H.lX.wallet]:{onSuccess:async t=>{o(void 0);try{let n;if("kaiaWallet"===t.id){let e={from:window.klaytn.selectedAddress,to:B.wN,value:(0,W.nj)(BigInt(1e18*B.p5)),gas:"0x30d40"};n=await new Promise((t,n)=>{window.klaytn.sendAsync({method:"klay_sendTransaction",params:[e],from:window.klaytn.selectedAddress},(e,a)=>e?n(e):t(a.result))})}else n=await i({to:B.wN,connector:t,value:BigInt(1e18*B.p5),chainId:(0,$.gr)()});(null==n?void 0:n.startsWith("0x"))&&(r({type:q.Ck.SUCCESS,title:"Success",subTitle:"Donation success"}),await (0,s.yy)(2e3),e.push(X.a.transaction(n)))}catch(e){var n,a;r({type:q.Ck.ERROR,title:"Failed",subTitle:(null==e||null==(a=e.message)||null==(n=a.toString())?void 0:n.slice(0,103))||"Unknown error"})}},onError:()=>{}}})),o(H.lX.wallet)},g=new Date().getFullYear();return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(k,{children:[!c.startsWith("/my")&&(0,a.jsx)(y,{}),(0,a.jsxs)(C,{id:"footer",children:[(0,a.jsxs)(j,{children:[(0,a.jsx)(I,{children:(0,a.jsxs)(A,{children:[(0,a.jsx)(T,{children:t===B.lG.light?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K.Han,{width:180,height:30,className:"pc-laptop"}),(0,a.jsx)(K.PcT,{width:104,height:30,className:"tablet-mobile"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K.t6$,{width:180,height:30,className:"pc-laptop"}),(0,a.jsx)(K.B2S,{width:104,height:30,className:"tablet-mobile"})]})}),(0,a.jsx)(S,{children:(0,a.jsx)(U.N_,{href:"https://bisonai.com/",target:"_blank",children:l("footer.content.poweredBy")})})]})}),(0,a.jsx)(x.iL,{className:"mobile"}),(0,a.jsx)(R,{children:d.map((e,t)=>(0,a.jsxs)(N,{children:[(0,a.jsx)(P,{children:l(e.title)}),(0,a.jsx)(E,{children:e.links.map((e,t)=>"footer.content.termAndPrivacy"===e.label?(0,a.jsxs)(F,{children:[(0,a.jsx)(O,{onClick:()=>p(X.a.terms),children:l("footer.content.terms")}),(0,a.jsx)("div",{children:"&"}),(0,a.jsx)(O,{onClick:()=>p(X.a.privacyPolicy),children:l("footer.content.privacy")})]},t):(0,a.jsx)(O,{onClick:()=>p(e.url,!0),children:l(e.label)},t))})]},t))})]}),(0,a.jsx)(x.iL,{}),(0,a.jsxs)(D,{children:[(0,a.jsxs)(M,{children:[l("footer.bottom.copyrightPrefix")," ",g,"."," ",l("footer.bottom.copyrightSuffix")]}),(0,a.jsxs)(_,{children:[(0,a.jsxs)(L.f5,{$size:"md",onClick:h,children:[(0,a.jsx)(K.NSN,{width:24,height:24,className:"icon"}),(0,a.jsxs)("div",{children:[l("footer.bottom.donations"),":",(0,s.Wr)(B.wN,5,5)]}),(0,a.jsx)(K.lWp,{width:16,height:16})]}),(0,a.jsx)(J,{})]})]})]})]})})},J=()=>{let e=(0,u.C)(e=>e.theme),t=(0,u.C)(e=>e.setTheme),n=(0,z.k)(),o=()=>{t(e===B.lG.light?B.lG.dark:B.lG.light)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(L.mF,{$size:"md",onClick:o,className:"pc-laptop",children:[e===B.lG.light?(0,a.jsx)(K.lfK,{width:24,height:24,className:"theme-icon"}):(0,a.jsx)(K.Mm,{width:24,height:24,className:"theme-icon"}),(0,a.jsx)("div",{children:n(e===B.lG.light?"footer.bottom.darkMode":"footer.bottom.lightMode")})]}),(0,a.jsx)(L.mF,{$size:"sm",onClick:o,className:"tablet-mobile",children:(0,a.jsx)(K.lfK,{width:24,height:24,className:"theme-icon"})})]})};var Q=n(67909),Z=n(65465),ee=n(40599),et=n(67972);let en=(0,g.createContext)({});async function ea(e,t){try{let{data:{application:n,config:a}}=await (0,et.WN)();if(e!==X.a.maintenance)return{application:n,config:a};t.replace(X.a.main)}catch(n){e!==X.a.maintenance&&t.replace(X.a.maintenance)}}let eo=e=>{let{children:t}=e,[n,o]=(0,g.useState)(),[r,i]=(0,g.useState)(),l=(0,U.a8)(),s=(0,U.rd)(),c=(0,g.useCallback)(async()=>{let e=await ea(l,s);e&&JSON.stringify(r)!==JSON.stringify(e)&&i(e)},[r,l]);return((0,g.useEffect)(()=>{c()},[c]),(0,g.useEffect)(()=>{(async()=>{o((0,G.sg)())})()},[]),n&&r)?(0,a.jsx)(en.Provider,{value:{config:n,maintenanceInfo:r},children:t}):null};var er=n(33617),ei=n(31606),el=n(90486),es=n(33291),ec=n(41444),ed=n(6896),ep=n(67844),eu=n(91542),eh=n(53387),eg=n(24029);let ef=async(e,t,n,o)=>{let r=e.plan.replace("_"," "),i=o(1e3*e.billing_cycle);return{UPGRADE_PLAN:{success:()=>t({title:"Your plan upgrade is complete!",content:(0,a.jsx)(es.I,{color:"success",content:"Your subscription has been upgraded to the ".concat(r," for the remaining billing period, until ").concat(i,".")}),leftButton:"See your new endpoints",rightButton:"Return to account overview",onLeftClick:()=>{window.open((0,G.eK)(e.plan),"_blank")},onRightClick:()=>{n.push(X.a.apiDashboard)}}),fail:()=>t({title:"Plan upgrade failed",content:(0,a.jsx)(es.I,{color:"error",content:"The upgrade to the ".concat(r," has failed")}),leftButton:"Contact Us",onLeftClick:()=>{n.push(X.a.contactUs)},rightButton:"Return to account overview",onRightClick:()=>{n.push(X.a.apiDashboard)}})},DOWNGRADE_PLAN:{success:()=>t({title:"Your plan downgrade is complete!",content:(0,a.jsx)(es.I,{color:"success",content:"Your subscription has been downgraded to the ".concat(r," for the remaining billing period, until ").concat(i,".")}),leftButton:"See your new endpoints",rightButton:"Return to account overview",onLeftClick:()=>{window.open((0,G.eK)(e.plan),"_blank")},onRightClick:()=>{n.push(X.a.apiDashboard)}}),fail:()=>t({title:"Plan downgrade failed",content:(0,a.jsx)(es.I,{color:"error",content:"The downgrade to the ".concat(r," has failed")}),leftButton:"Contact Us",onLeftClick:()=>{n.push(X.a.contactUs)},rightButton:"Return to account overview",onRightClick:()=>{n.push(X.a.apiDashboard)}})},CANCEL_PLAN:{success:()=>t({title:"Your plan cancellation is complete!",content:(0,a.jsx)(es.I,{color:"success",content:"Your subscription has been cancelled."}),rightButton:"Return to account overview",onRightClick:()=>{n.push(X.a.apiDashboard)}}),fail:()=>t({title:"Plan cancellation failed",content:(0,a.jsx)(es.I,{color:"error",content:"The cancellation of the ".concat(r," has failed")}),leftButton:"Contact Us",onLeftClick:()=>{n.push(X.a.contactUs)},rightButton:"Return to account overview",onRightClick:()=>{n.push(X.a.apiDashboard)}})},CHANGE_PAYMENT_METHOD:{success:()=>t({title:"Your payment method has been changed!",content:(0,a.jsx)(es.I,{color:"success",content:"Your payment method has been successfully changed."}),rightButton:"Return to account overview",onRightClick:()=>{n.push(X.a.apiDashboard)}}),fail:()=>t({title:"Payment method change failed",content:(0,a.jsx)(es.I,{color:"error",content:"The change of payment method has failed"}),leftButton:"Contact Us",onLeftClick:()=>{n.push(X.a.contactUs)},rightButton:"Return to account overview",onRightClick:()=>{n.push(X.a.apiDashboard)}})},REACTIVATE_PLAN:{success:()=>t({title:"Your plan reactivation is complete!",content:(0,a.jsx)(es.I,{color:"success",content:"Your subscription has been reactivated to the ".concat(r," for the remaining billing period, until ").concat(i,".")}),leftButton:"See your new endpoints",rightButton:"Return to account overview",onLeftClick:()=>{window.open((0,G.eK)(e.plan),"_blank")},onRightClick:()=>{n.push(X.a.apiDashboard)}}),fail:()=>t({title:"Plan reactivation failed",content:(0,a.jsx)(es.I,{color:"error",content:"The reactivation to the ".concat(r," has failed")}),leftButton:"Contact Us",onLeftClick:()=>{n.push(X.a.contactUs)},rightButton:"Return to account overview",onRightClick:()=>{n.push(X.a.apiDashboard)}})}}},em=e=>{let{children:t}=e,n=(0,U.rd)(),o=(0,g.useRef)(),r=(0,eh.G)(e=>e.setTimer),i=(0,el.SC)(),l=(0,eg.kH)(e=>e.user),s=null==l?void 0:l.sessionId,[,c]=(0,eg.S8)(),d=(0,ep.v)(e=>e.setFinderStatus),p=(0,eu.t)(e=>e.setFinderSummary),u=(0,er.W)(e=>e.setFinderKaiaPrice),{ReadableDateFormatter:h}=(0,ed.G)(),{addToast:f}=(0,q.dj)(),{apiUrl:m}=(()=>{let{config:e}=(0,g.useContext)(en);if(!e)throw Error("Not loaded config");return e})(),x=m.startsWith("https://"),b=m.replace("https://","").replace("http://",""),v="".concat(x?"wss":"ws","://").concat(b,"/ws"),w=(0,g.useCallback)(()=>
1{o.current=new ee.K({brokerURL:v,reconnectDelay:5e3,heartbeatIncoming:3e3,heartbeatOutgoing:3e3}),o.current.onConnect=()=>{var e,t,a,r,l;if(s){null==(r=o.current)||r.subscribe("/app/user-subscribe/".concat(s),function(e){let t=JSON.parse(e.body);Object.keys(B.kz).includes(null==t?void 0:t.plan)&&c(),ef(t,i,n,h).then(async e=>{try{await e[t.method][t.success?"success":"fail"]()}catch(e){ec.v.error("Plan modification confirm error",e)}})});let e=null==s?void 0:s.split(":").pop();null==(l=o.current)||l.subscribe("/app/alert-notification/".concat(e),function(e){try{let t=JSON.parse(e.body),n=t.slice(0,3),a=t.length-n.length;for(let e of n){let t=e.amount?Number(e.amount).toLocaleString():"",n=e.valueUsd?"($".concat(Number(e.valueUsd).toLocaleString(),")"):"";f({title:"".concat(e.tokenSymbol||"Token"," Transfer Alert"),subTitle:"".concat(t," ").concat(e.tokenSymbol||""," ").concat(n),type:q.Ck.INFORMATION})}a>0&&f({title:"More Alerts",subTitle:"+".concat(a," more transfer alerts"),type:q.Ck.INFORMATION})}catch(e){ec.v.error("Alert notification parse error",e)}})}null==(e=o.current)||e.subscribe("/app/status",function(e){let t=JSON.parse(e.body);d({block_burnt:t.block_burnt||{accumulate_burnt_fees:"0",accumulate_burnt_kaia:"0",accumulate_burnt:"0",nearest_block_number:0},...t})}),null==(t=o.current)||t.subscribe("/app/summary",function(e){p(JSON.parse(e.body))}),null==(a=o.current)||a.subscribe("/app/".concat(ei.X.unit.toLowerCase(),"-price"),function(e){u({...JSON.parse(e.body)})})},o.current.activate()},[d,p,u,v,ei.X,s,f,i,n,h,c]),k=(0,g.useCallback)(()=>{var e;null==(e=o.current)||e.deactivate()},[]);return(0,g.useEffect)(()=>{w();let e=setInterval(()=>{r(Date.now())},1e3);return()=>{k(),clearInterval(e)}},[r,w,k]),(0,a.jsx)(a.Fragment,{children:t})};var ex=n(14544),eb=n(78322),ev=n(29183);let ew=()=>{let e=(0,z.k)(),[t,n]=(0,g.useState)(""),[o,r]=(0,g.useState)(""),i=(0,H.Kr)(e=>e.modal),l=(0,H.Kr)(e=>e.setModalOpen),s=async()=>{if(t.length<12)return void r("Password must be at least 12 characters long.");let e=await i[H.lX.passwordRequired].onConfirm(t);!0===e?l(void 0):r(e.message)};return(0,a.jsxs)(ev.i1,{children:[(0,a.jsxs)(ev.Xb,{children:[(0,a.jsx)(ev.A2,{children:e("modal.passwordRequired.title")}),(0,a.jsx)(eb.R,{error:o,label:e("modal.passwordRequired.description"),labelStyle:{paddingBottom:"8px",fontSize:"14px"},children:(0,a.jsx)(eb.p,{placeholder:e("modal.passwordRequired.password"),value:t,onChange:e=>{let t=e.target.value;n(e.target.value),t.length<12?r("Password must be at least 12 characters long."):r("")},type:"password",autoComplete:"new-password",onKeyPress:e=>{"Enter"===e.key&&s()}})})]}),(0,a.jsxs)(ev.cw,{children:[(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{l(void 0)},children:e("modal.passwordRequired.cancel")}),(0,a.jsx)(L.$$,{$size:"md",onClick:s,children:e("modal.passwordRequired.submit")})]})]})};var ek=n(52619),ey=n.n(ek);let eC=()=>{let e=(0,z.k)();(0,H.Kr)(e=>e.modal);let t=(0,H.Kr)(e=>e.setModalOpen);return(0,a.jsxs)(ev.i1,{children:[(0,a.jsxs)(ev.Xb,{children:[(0,a.jsx)(ev.A2,{children:e("modal.DeletionConfirmationRequired.title")}),(0,a.jsxs)(ev.Kz,{children:[e("modal.DeletionConfirmationRequired.messagePart1"),(0,a.jsxs)("span",{children:[" ",e("modal.DeletionConfirmationRequired.messagePart2")]})]})]}),(0,a.jsx)(ev.Kz,{children:e("modal.DeletionConfirmationRequired.messagePart3")}),(0,a.jsxs)(ev.Kz,{children:[e("modal.DeletionConfirmationRequired.messagePart4").split("contact us")[0],(0,a.jsx)(ey(),{href:X.a.contactUs,target:"_blank",rel:"noopener noreferrer",children:"contact us"}),e("modal.DeletionConfirmationRequired.messagePart4").split("contact us")[1]]}),(0,a.jsx)(ev.cw,{children:(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{t(void 0)},children:e("modal.DeletionConfirmationRequired.cancel")})})]})};var ej=n(1141);let eI=()=>{let e=(0,z.k)(),t=(0,H.Kr)(e=>e.modal),[n,o]=(0,g.useState)(null),r=(0,H.Kr)(e=>e.setModalOpen);return(0,g.useEffect)(()=>{window.recaptchaOptions={useRecaptchaNet:!0,enterprise:!0}},[]),(0,a.jsxs)(ev.i1,{children:[(0,a.jsx)(ev.Xb,{children:(0,a.jsx)(ev.A2,{children:e("modal.DeletionConfirmationRequiredCaptcha.title")})}),(0,a.jsx)(b.so,{justify:"center",children:(0,a.jsx)(ej.A,{sitekey:B._A,onChange:e=>{o(e)}})}),(0,a.jsxs)(ev.cw,{children:[(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{r(void 0)},children:e("modal.DeletionConfirmationRequiredCaptcha.cancel")}),(0,a.jsx)(L.Cl,{$size:"md",onClick:()=>
1{n&&t[H.lX.deletionConfirmationRequiredCaptcha].onConfirm(n)},disabled:!n,children:e("modal.DeletionConfirmationRequiredCaptcha.confirmDelete")})]})]})},eA=i.Ay.div.withConfig({componentId:"sc-341b0674-0"})([""," "," gap:24px;padding:24px 32px;",""],b.c6,b.ec,(0,s.MV)({},{},{padding:"24px"},{padding:"24px"})),eT=i.Ay.div.withConfig({componentId:"sc-341b0674-1"})([""," "," justify-content:space-between;align-items:flex-start;"],b.c6,b.Wh),eS=i.Ay.div.withConfig({componentId:"sc-341b0674-2"})([""," gap:4px;"],b.ec),eR=i.Ay.div.withConfig({componentId:"sc-341b0674-3"})(["svg{"," path{stroke:",";}&:hover{"," path{"," stroke:",";}}}"],b.or,e=>{let{theme:t}=e;return t.Color.background.component["default-inverse"]},b.lw,b.lw,e=>{let{theme:t}=e;return t.Color.background.component["default-inverse-hover"]}),eN=i.Ay.div.withConfig({componentId:"sc-341b0674-4"})(["color:",";",";"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg),eP=i.Ay.div.withConfig({componentId:"sc-341b0674-5"})(["color:",";",";"],e=>{let{theme:t}=e;return t.Color.text.text.weak},w.Il.body.sm),eE=i.Ay.div.withConfig({componentId:"sc-341b0674-6"})([""," gap:8px;"],b.ec),eO=i.Ay.div.withConfig({componentId:"sc-341b0674-7"})([""," gap:12px;"],b.Wh),eD=i.Ay.div.withConfig({componentId:"sc-341b0674-8"})(["display:flex;svg{g{stroke:",";}}"],e=>{let{theme:t}=e;return t.Color.background.Icon.base}),eM=i.Ay.div.withConfig({componentId:"sc-341b0674-9"})(["",""],b.ec),e_=i.Ay.div.withConfig({componentId:"sc-341b0674-10"})(["color:",";",";"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm),eF=i.Ay.div.withConfig({componentId:"sc-341b0674-11"})(["color:",";",";"],e=>{let{theme:t}=e;return t.Color.text.text.weak},w.Il.body.xs);var eK=n(50974),ez=n(30130);let eU=()=>{let e=(0,z.k)(),[t,n]=(0,g.useState)([]);(0,H.Kr)(e=>e.modal);let o=(0,H.Kr)(e=>e.setModalOpen);return(0,g.useEffect)(()=>{(0,ez.qw)().then(e=>{(null==e?void 0:e.code)||n(e)})},[]),(0,a.jsxs)(eA,{children:[(0,a.jsxs)(eT,{children:[(0,a.jsxs)(eS,{children:[(0,a.jsx)(eN,{children:e("modal.loginHistory.loginHistory")}),(0,a.jsx)(eP,{children:e("modal.loginHistory.showingLast5LoginHistory")})]}),(0,a.jsx)(eR,{children:(0,a.jsx)(K.wQi,{width:20,height:20,onClick:()=>{o(void 0)}})})]}),(0,a.jsx)(eE,{children:t.map((e,n)=>(0,a.jsx)(eL,{data:parseInt(e),isLast:n===t.length-1},n))})]})},eL=e=>{let{data:t,isLast:n}=e,o=new Date(1e3*t),{UTCFormatter:r}=(0,ed.G)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(eO,{children:[(0,a.jsx)(eD,{children:(0,a.jsx)(K.iOK,{width:16,height:16})}),(0,a.jsxs)(eM,{children:[(0,a.jsx)(e_,{children:r(o)}),(0,a.jsx)(eF,{children:(0,a.jsx)(eK.fV,{datetime:1e3*t})})]})]}),!n&&(0,a.jsx)(x.iL,{})]})},eB=i.Ay.div.withConfig({componentId:"sc-dc2d3421-0"})([""," gap:24px;"],b.ec),eV=i.Ay.div.withConfig({componentId:"sc-dc2d3421-1"})([""," gap:16px;"],b.ec),e$=i.Ay.div.withConfig({componentId:"sc-dc2d3421-2"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg),eX=i.Ay.div.withConfig({componentId:"sc-dc2d3421-3"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm),eG=i.Ay.div.withConfig({componentId:"sc-dc2d3421-4"})([""," gap:8px;"],b.ec),eW=i.Ay.div.withConfig({componentId:"sc-dc2d3421-5"})([""," gap:4px;"," color:",";svg{min-height:16px;min-width:16px;path{stroke:",";}}a{"," color:",";&:hover{"," color:",";}}.link{color:",";&:hover{"," color:",";}}"],b.Wh,w.Il.body.sm,e=>{let{$completed:t,theme:n}=e;return t?n.Color.text.text["point-primary"]:n.Color.text.text.base},e=>{let{$completed:t,theme:n}=e;return t?n.Color.text.text["point-primary"]:n.Color.text.text.base},w.Il.body.sm_underline,e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},b.or,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]},e=>{let{theme:t}=e;return t.Color.text.textButton.default},b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["default-hover"]}),eH=i.Ay.div.withConfig({componentId:"sc-dc2d3421-6"})([""," gap:8px;button,a{"," height:48px;}"],b.Wh,b.c6),eq=()=>{let e=(0,z.k)();(0,H.Kr)(e=>e.modalOpen);let t=(0,H.Kr)(e=>e.setModalOpen),n=(0,U.rd)(),o=(0,eg.kH)(e=>e.user),[r,i]=(0,g.useState)({registered:!!o,verifiedContract:!1,verifiedOwner:!1}),l=e=>{o||n.push("".concat(X.a.login,"?redirect=").concat(X.a.contactUs)),e.stopPropagation(),t(void 0)};return(0,a.jsxs)(eB,{children:[(0,a.jsxs)(eV,{children:[(0,a.jsx)(e$,{children:e("account.updateTokenInfo.title")}),(0,a.jsx)(eX,{children:e("account.updateTokenInfo.description")}),(0,a.jsxs)(eG,{children:[(0,a.jsxs)(eW,{$completed:r.registered,children:[(0,a.jsx)(K.erz,{width:16,height:16}),e("account.updateTokenInfo.registered")]}),(0,a.jsxs)(eW,{$completed:r.verifiedContract,children:[(0,a.jsx)(K.erz,{width:16,height:16}),(0,a.jsxs)("div",{children:[e("account.updateTokenInfo.verifiedContract"),"\xa0",(0,a.jsx)(ey(),{href:X.a.contract,target:"_blank",children:e("account.updateTokenInfo.here")})]})]}),(0,a.jsxs)(eW,{$completed:r.verifiedOwner,children:[(0,a.jsx)(K.erz,{width:16,height:16}),(0,a.jsxs)("div",{children:[e("account.updateTokenInfo.verifiedAddress"),"\xa0",(0,a.jsx)(ey(),{href:X.a.myAddress,target:"_blank",children:e("account.updateTokenInfo.contractAddressOwner")})]})]})]})]}),(0,a.jsxs)(eH,{children:[(0,a.jsx)(L.mF,{$size:"sm",onClick:l,children:e("common.close")}),(0,a.jsx)(ey(),{href:o?X.a.tokenUpdate:X.a.login,children:(0,a.jsx)(L.$$,{$size:"sm",onClick:l,children:e(o?"account.updateTokenInfo.updateTokenInfo":"account.updateTokenInfo.login")})})]})]})},eY=i.Ay.div.withConfig({componentId:"sc-11a9336a-0"})([""," gap:16px;"],b.ec),eJ=i.Ay.div.withConfig({componentId:"sc-11a9336a-1"})([""," svg{cursor:pointer;path{stroke:",";}}"],b.d2,e=>{let{theme:t}=e;return t.Color.background.Icon.strong}),eQ=i.Ay.div.withConfig({componentId:"sc-11a9336a-2"})(["color:",";"," font-weight:500;"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg),eZ=i.Ay.div.withConfig({componentId:"sc-11a9336a-3"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm),e0=()=>{let e=(0,H.Kr)(e=>e.setModalOpen),t=(0,z.k)();return(0,a.jsxs)(eY,{children:[(0,a.jsxs)(eJ,{children:[(0,a.jsx)(eQ,{children:t("tokenUpdate.modal.title")}),(0,a.jsx)(K.fAT,{width:24,height:24,onClick:()=>e(void 0)})]}),(0,a.jsx)(es.I,{content:t("tokenUpdate.modal.betaNotice"),color:"gray"}),(0,a.jsxs)(eZ,{children:[(0,a.jsx)("p",{children:t("tokenUpdate.modal.intro")}),(0,a.jsx)("p",{children:t("tokenUpdate.modal.purpose")}),(0,a.jsx)("p",{children:t("tokenUpdate.modal.preSubmission")}),(0,a.jsxs)("div",{style:{marginTop:"16px"},children:[(0,a.jsx)("strong",{children:t("tokenUpdate.modal.requirements.title")}),(0,a.jsxs)("div",{style:{marginTop:"12px",lineHeight:"1.8"},children:[(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.mandatory")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.email")}),(0,a.jsxs)("div",{style:{marginTop:"8px"},children:[(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.websiteTitle")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.website1")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.website2")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.website3")})]}),(0,a.jsxs)("div",{style:{marginTop:"8px"},children:[(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.contractTitle")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.contract1")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.contract2")})]}),(0,a.jsxs)("div",{style:{marginTop:"8px"},children:[(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.projectTitle")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.project1")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.project2")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.project3")}),(0,a.jsx)("div",{children:t("tokenUpdate.modal.requirements.project4")})]})]})]}),(0,a.jsx)("p",{style:{marginTop:"16px"},children:t("tokenUpdate.modal.disclaimer")})]})]})},e1=i.Ay.div.withConfig({componentId:"sc-63f09dca-0"})([""," "," gap:24px;padding:24px 32px;",""],b.c6,b.Up,(0,s.MV)({},{},{padding:"24px"},{padding:"24px"})),e2=i.Ay.div.withConfig({componentId:"sc-63f09dca-1"})([""," "," color:",";"," font-weight:500;.close-icon{"," path{stroke:",";}&:hover{"," path{"," stroke:",";}}}"],b.c6,b.d2,e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg,b.or,e=>{let{theme:t}=e;return t.Color.background.component["default-inverse"]},b.lw,b.lw,e=>{let{theme:t}=e;return t.Color.background.component["default-inverse-hover"]}),e4=i.Ay.div.withConfig({componentId:"sc-63f09dca-2"})([""," "," gap:4px;"],b.c6,b.Up),e6=i.Ay.button.withConfig({componentId:"sc-63f09dca-3"})([""," display:flex;padding:12px 0px;justify-content:space-between;align-items:center;align-self:stretch;background-color:transparent;outline:0px;border:0px;opacity:",";cursor:",";&:disabled,.disabled{"," opacity:0.4;}"," .popular{display:flex;padding:4px 8px 4px 6px;align-items:center;gap:2px;"," background:",";color:",";svg{path{fill:",";stroke:",";}}",";font-weight:500;}",";font-weight:400;color:",";&:hover{span{"," color:",";}}"],b.c6,e=>{let{$disabled:t}=e;return t?.4:1},e=>{let{$disabled:t}=e;return t?"default":"pointer"},b.Oi,b.lw,v.V.full,e=>{let{theme:t}=e;return t.Color.background.Icon.active_weak},e=>{let{theme:t}=e;return t.Color.text.text.base},e=>{let{theme:t}=e;return t.Color.background.Icon.strong},e=>{let{theme:t}=e;return t.Color.background.Icon.strong},w.Il.body["2xs"],w.Il.body.md,e=>{let{theme:t}=e;return t.Color.text.textButton.default},b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["default-hover"]});var e8=n(1681),e5=n(64935),e3=n(93195),e9=n(84045),e7=n(23424),te=n(50754);let tt=()=>{let[e,t]=(0,g.useState)(!1);(0,H.Kr)(e=>e.modalOpen);let n=(0,H.Kr)(e=>e.setModalOpen),o=(0,H.Kr)(e=>e.modal);(0,H.Kr)(e=>e.setModal);let r=(0,z.k)(),i=(0,e8.F)(),{connectAsync:l}=(0,e5.e)({config:$.Gl}),{switchChainAsync:s}=(0,e3.R)({config:$.Gl}),{disconnectAsync:c}=(0,e9.u)({config:$.Gl}),d=(0,$.gr)(),{addToast:p}=(0,q.dj)(),u=async e=>{await s({connector:e,chainId:d})},h=async e=>{t(!0);try{var n,a;let t=(null==e?void 0:e.id)==="coinbaseWalletSDK";if((null==e?void 0:e.id)==="injected"&&!(null==(a=window)||null==(n=a.ethereum)?void 0:n.isMetaMask))throw window.open("https://metamask.io/download"),Error(r("modal.wallet.metamaskNotFound"));i.connector&&await c(),(await l({connector:e,chainId:t?void 0:d})).chainId!==d&&await u(e),p({title:r("modal.wallet.success"),subTitle:r("modal.wallet.success"),type:q.Ck.SUCCESS}),o[H.lX.wallet].onSuccess(e)}catch(e){t(!1),p({title:r("modal.wallet.error"),subTitle:(null==e?void 0:e.message)||r("modal.wallet.unknownError"),type:q.Ck.ERROR}),o[H.lX.wallet].onError(e)}t(!1)};return(0,a.jsxs)(e1,{children:[(0,a.jsxs)(e2,{children:[(0,a.jsx)("span",{children:r("modal.wallet.title")}),(0,a.jsx)(K.wQi,{onClick:()=>n(void 0),width:20,height:20,className:"close-icon"})]}),(0,a.jsxs)(e4,{children:[(0,a.jsxs)(e6,{$disabled:e,disabled:e,onClick:()=>h((0,$.PG)()),children:[(0,a.jsxs)(b.so,{gap:8,align:"center",children:[(0,a.jsx)(e7.A,{width:24,height:24}),(0,a.jsx)("span",{children:r("modal.wallet.kaiaWallet")})]}),(0,a.jsx)(K.lWp,{width:16,height:16})]}),(0,a.jsxs)(e6,{$disabled:e,disabled:e,onClick:()=>h((0,$.tg)()),children:[(0,a.jsxs)(b.so,{gap:8,align:"center",children:[(0,a.jsx)(K.II0,{width:24,height:24}),(0,a.jsx)("span",{children:r("modal.wallet.metamask")}),(0,a.jsxs)("div",{className:"popular",children:[(0,a.jsx)(K.Rgm,{width:16,height:16}),r("modal.wallet.popular")]})]}),(0,a.jsx)(K.lWp,{width:16,height:16})]}),(0,a.jsxs)(e6,{$disabled:e,disabled:e,onClick:()=>h((0,$.Zv)()),children:[(0,a.jsxs)(b.so,{gap:8,align:"center",children:[(0,a.jsx)(K.A9J,{width:24,height:24}),(0,a.jsx)("span",{children:r("modal.wallet.walletConnect")})]}),(0,a.jsx)(K.lWp,{width:16,height:16})]}),(0,a.jsxs)(e6,{$disabled:e,disabled:e,onClick:()=>h((0,$.Vu)()),children:[(0,a.jsxs)(b.so,{gap:8,align:"center",children:[(0,a.jsx)(K.pJ6,{width:24,height:24}),(0,a.jsx)("span",{children:r("modal.wallet.coinbaseWallet")})]}),(0,a.jsx)(K.lWp,{width:16,height:16})]}),(0,a.jsxs)(e6,{$disabled:e,disabled:e,onClick:()=>h((0,$.rF)()),children:[(0,a.jsxs)(b.so,{gap:8,align:"center",children:[(0,a.jsx)(te.A,{width:24,height:24}),(0,a.jsx)("span",{children:r("modal.wallet.okxWallet")})]}),(0,a.jsx)(K.lWp,{width:16,height:16})]})]})]})};var tn=n(89474);
1let ta=i.Ay.div.withConfig({componentId:"sc-a3c03d7f-0"})([""," "," gap:24px;"],b.c6,b.Up),to=i.Ay.div.withConfig({componentId:"sc-a3c03d7f-1"})([""," "," color:",";"," font-weight:500;"],b.c6,b.d2,e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg),tr=i.Ay.div.withConfig({componentId:"sc-a3c03d7f-2"})([""," "," gap:24px;"],b.c6,b.Up),ti=i.Ay.div.withConfig({componentId:"sc-a3c03d7f-3"})([""," "," gap:8px;> button{flex:1;}"],b.c6,b.Q8);i.Ay.button.withConfig({componentId:"sc-a3c03d7f-4"})([""," display:flex;padding:12px 0px;justify-content:space-between;align-items:center;align-self:stretch;background-color:transparent;outline:0px;border:0px;opacity:",";cursor:",";&:disabled,.disabled{"," opacity:0.4;}"," .popular{display:flex;padding:4px 8px 4px 6px;align-items:center;gap:2px;"," background:",";color:",";path{stroke:",";}",";font-weight:500;}svg:last-child{path{stroke:",";}}",";font-weight:400;"],b.c6,e=>{let{$disabled:t}=e;return t?.4:1},e=>{let{$disabled:t}=e;return t?"default":"pointer"},b.Oi,b.lw,v.V.full,e=>{let{theme:t}=e;return t.Color.background.Icon.active_weak},e=>{let{theme:t}=e;return t.Color.text.text.base},e=>{let{theme:t}=e;return t.Color.background.Icon.strong},w.Il.body["2xs"],e=>{let{theme:t}=e;return t.Color.background.Icon.weak},w.Il.body.md);var tl=n(76699);let ts=e=>"I, hereby verify that I am responsible for the address [".concat(e.toLowerCase(),"]"),tc=()=>{var e,t;let[n,o]=(0,g.useState)(!1);(0,H.Kr)(e=>e.modalOpen);let r=(0,H.Kr)(e=>e.setModalOpen),i=(0,H.Kr)(e=>e.modal);(0,H.Kr)(e=>e.setModal);let[l,s]=(0,g.useState)(null),c=(0,z.k)(),{contractAddress:d,onError:p,onSuccess:u,address:{creator:h,owner:f}}=i[H.lX.releaseOwnership],m=(0,e8.F)({config:$.Gl}),{signMessageAsync:x}=(0,tn.Y)({config:$.Gl}),{addToast:b}=(0,q.dj)(),v=async()=>{o(!0);try{let e=await x({account:m.address,message:ts(k)});s(e)}catch(e){b({type:q.Ck.ERROR,title:c("modal.releaseOwnership.step1.failed"),subTitle:null==e?void 0:e.message}),p&&p(e)}finally{o(!1)}},w=async()=>{if(m.address){o(!0);try{let e=await (0,ez.P8)("METAMASK",l,m.address,d);(0,tl.gJ)(e)?(b({type:q.Ck.ERROR,title:c("modal.releaseOwnership.step2.failed"),subTitle:null==e?void 0:e.message}),p&&p(e)):(b({type:q.Ck.SUCCESS,title:"",subTitle:c("modal.releaseOwnership.step2.success",{contractAddress:d})}),u&&u())}catch(e){b({type:q.Ck.ERROR,title:c("modal.releaseOwnership.step2.failed"),subTitle:null==e?void 0:e.message}),p&&p(e)}o(!1)}},k="";return f&&(null==(e=m.address)?void 0:e.toLowerCase())===(null==h?void 0:h.toLowerCase())?k=f:h&&(null==(t=m.address)?void 0:t.toLowerCase())===(null==h?void 0:h.toLowerCase())&&(k=h),(0,a.jsxs)(ta,{children:[(0,a.jsxs)(to,{children:[(0,a.jsx)("span",{children:l?c("modal.releaseOwnership.step2.title"):c("modal.releaseOwnership.step1.title")}),(0,a.jsx)(K.wQi,{onClick:()=>r(void 0),width:24,height:24})]}),(0,a.jsxs)(tr,{children:[!l&&(0,a.jsx)(eb.R,{error:"",label:c("modal.releaseOwnership.step1.contractOwnerCreator"),children:(0,a.jsx)(eb.p,{value:k,readOnly:!0,type:"text"})}),(0,a.jsx)(eb.R,{info:l?void 0:c("modal.releaseOwnership.step1.notice"),label:l?c("modal.releaseOwnership.step2.address"):c("modal.releaseOwnership.step1.signingAddress"),children:(0,a.jsx)(eb.p,{value:m.address,readOnly:!0,type:"text"})}),(0,a.jsx)(eb.R,{label:l?c("modal.releaseOwnership.step2.message"):c("modal.releaseOwnership.step1.messageToSign"),children:(0,a.jsx)(eb.p,{value:ts(k),readOnly:!0,type:"text"})}),l&&(0,a.jsx)(eb.R,{label:c("modal.releaseOwnership.step2.sigatureHash"),children:(0,a.jsx)(eb.p,{value:l,readOnly:!0,type:"text"})})]}),(0,a.jsx)(ti,{children:l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.yp.secondary,{$size:"md",onClick:()=>{s(null)},disabled:n,children:c("modal.releaseOwnership.step2.cancel")}),(0,a.jsx)(L.yp.primary,{$size:"md",onClick:w,disabled:n,children:c("modal.releaseOwnership.step2.releaseOwnership")})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.yp.secondary,{$size:"md",onClick:()=>{r(void 0)},disabled:n,children:c("modal.releaseOwnership.step1.close")}),(0,a.jsx)(L.yp.primary,{$size:"md",onClick:v,disabled:n,children:c("modal.releaseOwnership.step1.signMessage")})]})})]})},td=i.Ay.div.withConfig({componentId:"sc-59895255-0"})(["",""],b.ec),tp=i.Ay.div.withConfig({componentId:"sc-59895255-1"})([""," "," gap:24px;padding:32px 32px 24px 32px;"," ",""],b.ec,b.c6,(0,s.MV)({},{},{},{padding:"24px 24px 16px 24px"}),e=>{let{$wide:t}=e;return t?(0,s.MV)({width:"880px"},{width:"880px"},{width:"560px"},{width:"328px"}):(0,s.MV)({width:"480px"},{width:"480px"},{width:"480px"},{width:"328px"})}),tu=i.Ay.div.withConfig({componentId:"sc-59895255-2"})([""," gap:16px;"],b.ec),th=i.Ay.div.withConfig({componentId:"sc-59895255-3"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg),tg=i.Ay.div.withConfig({componentId:"sc-59895255-4"})(["color:",";"," a{"," color:",";&:hover{"," color:",";}}"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm,w.Il.body.sm_underline,e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]}),tf=i.Ay.div.withConfig({componentId:"sc-59895255-5"})(["display:flex;"," background:",";gap:8px;position:sticky;padding:0px 16px 16px 16px;bottom:0px;button{flex:1;}"],b.c6,e=>{let{theme:t}=e;return t.Color.background.surface.base}),tm=i.Ay.div.withConfig({componentId:"sc-59895255-6"})(["width:32px;height:20px;flex-shrink:0;background-color:",";border-radius:24px;position:relative;cursor:pointer;transition:background-color 0.2s;"],e=>{let{$isActive:t,theme:n}=e;return t?n.Color.background.Icon.positive_default:n.Color.background.component.stong}),tx=i.Ay.div.withConfig({componentId:"sc-59895255-7"})(["width:16px;height:16px;background-color:",";border-radius:50%;border:1px solid rgba(243,244,247,1);position:absolute;top:2px;left:",";transition:left 0.3s;"],e=>{let{theme:t}=e;return t.Color.background.Icon.white},e=>{let{$isActive:t}=e;return t?"14px":"2px"}),tb=i.Ay.div.withConfig({componentId:"sc-59895255-8"})([""," gap:16px;.disabled{opacity:0.5;}"],b.Es),tv=i.Ay.div.withConfig({componentId:"sc-59895255-9"})([""," gap:4px;"],b.ec),tw=i.Ay.div.withConfig({componentId:"sc-59895255-10"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.md),tk=i.Ay.div.withConfig({componentId:"sc-59895255-11"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.weak},w.Il.body.xs),ty=()=>{let e=(0,z.k)(),t=(0,H.Kr)(e=>e.setModalOpen),[n,o]=(0,g.useState)(!1),r=(0,H.wy)(e=>e.cookieManager),i=(0,H.wy)(e=>e.setCookieManager),[l,s]=(0,g.useState)(r),{strictlyNecessary:c,analytical:d,marketing:p,functionality:u,thirdParty:h}=l,f=e=>{s({...l,analytical:e})},m=e=>{s({...l,thirdParty:e})};return(0,a.jsxs)(td,{children:[(0,a.jsxs)(tp,{$wide:n,children:[(0,a.jsxs)(tu,{children:[(0,a.jsx)(th,{children:e("cookie.title")}),n?(0,a.jsxs)(tg,{children:[e("cookie.description2").split("here.")[0],(0,a.jsx)(ey(),{href:X.a.privacyPolicy,target:"_blank",children:"here."}),e("cookie.description2").split("here.")[1]]}):(0,a.jsxs)(tg,{children:[e("cookie.description1").split("Privacy Policy")[0],(0,a.jsx)(ey(),{href:X.a.privacyPolicy,target:"_blank",children:"Privacy Policy"}),e("cookie.description1").split("Privacy Policy")[1]]})]}),n&&(0,a.jsx)(x.iL,{}),n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(tb,{children:[(0,a.jsx)(tC,{isActive:c,onToggle:()=>{},className:"disabled"}),(0,a.jsxs)(tv,{children:[(0,a.jsx)(tw,{children:e("cookie.strictlyNecessary.title")}),(0,a.jsx)(tk,{children:e("cookie.strictlyNecessary.description")})]})]}),(0,a.jsxs)(tb,{children:[(0,a.jsx)(tC,{isActive:d,onToggle:()=>f(!d)}),(0,a.jsxs)(tv,{onClick:()=>f(!d),style:{cursor:"pointer"},children:[(0,a.jsx)(tw,{children:e("cookie.analytical.title")}),(0,a.jsx)(tk,{children:e("cookie.analytical.description")})]})]}),(0,a.jsxs)(tb,{children:[(0,a.jsx)(tC,{isActive:h,onToggle:()=>m(!h)}),(0,a.jsxs)(tv,{onClick:()=>m(!h),style:{cursor:"pointer"},children:[(0,a.jsx)(tw,{children:e("cookie.thirdParty.title")}),(0,a.jsx)(tk,{children:e("cookie.thirdParty.description")})]})]})]})]}),(0,a.jsxs)(tf,{children:[n?(0,a.jsx)(L.mF,{$size:"md",onClick:()=>{let e={strictlyNecessary:!0,analytical:!1,marketing:!1,functionality:!1,thirdParty:!1};s(e),i(e),t(void 0)},style:{height:"48px"},children:e("cookie.button.decline")}):(0,a.jsx)(L.mF,{$size:"md",onClick:()=>o(!0),style:{height:"48px"},children:e("cookie.button.manageCookies")}),n?(0,a.jsx)(L.$$,{$size:"md",onClick:()=>{s(l),i(l),t(void 0)},style:{height:"48px"},children:e("cookie.button.acceptSelected")}):(0,a.jsx)(L.$$,{$size:"md",onClick:()=>{s(H.fI),i(H.fI),t(void 0)},style:{height:"48px"},children:e("cookie.button.acceptAll")})]})]})},tC=e=>{let{isActive:t,onToggle:n,className:o}=e;return(0,a.jsx)(tm,{$isActive:t,onClick:n,className:o,children:(0,a.jsx)(tx,{$isActive:t})})},tj=i.Ay.div.withConfig({componentId:"sc-111306ae-0"})([""," gap:16px;"],b.ec),tI=i.Ay.div.withConfig({componentId:"sc-111306ae-1"})([""," svg{","}"],b.d2,b.or),tA=i.Ay.div.withConfig({componentId:"sc-111306ae-2"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg),tT=i.Ay.div.withConfig({componentId:"sc-111306ae-3"})(["color:",";"," margin-bottom:8px;"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm),tS=()=>{(0,H.Kr)(e=>e.modalOpen);let e=(0,H.Kr)(e=>e.setModalOpen);return(0,a.jsxs)(tj,{children:[(0,a.jsxs)(tI,{children:[(0,a.jsx)(tA,{children:"Just letting you know.."}),(0,a.jsx)(K.fAT,{width:24,height:24,onClick:()=>e(void 0)})]}),(0,a.jsx)(tT,{children:"Verify Contract is currently in Beta. It will be constantly improved."}),(0,a.jsx)(L.mF,{$size:"lg",onClick:()=>e(void 0),children:"Close"})]})},tR=()=>{let e=(0,z.k)(),t=(0,H.Kr)(e=>e.modal);(0,U.rd)();let[n,o]=(0,g.useState)(null),r=(0,H.Kr)(e=>e.setModalOpen),{addToast:i}=(0,q.dj)(),l=async()=>
1{if(!n)return;let e=await (0,ez.a8)(n);if((0,tl.gJ)(e))return i({type:q.Ck.ERROR,title:"Failed to create API key",subTitle:e.message});i({type:q.Ck.SUCCESS,title:"Successfully created API key",subTitle:"API key for ".concat(n," has been created")}),t[H.lX.createApiKey].onSuccess()};return(0,a.jsxs)(ev.i1,{children:[(0,a.jsx)(ev.Xb,{children:(0,a.jsx)(ev.A2,{children:e("account.apiKeys.popup.createApiKey.title")})}),(0,a.jsx)(eb.R,{label:e("account.apiKeys.popup.createApiKey.appName"),children:(0,a.jsx)(eb.p,{placeholder:"e.g Web3 Project",value:n||"",onChange:e=>{o(e.target.value)},type:"text",autoComplete:"new-password",onKeyPress:e=>{"Enter"===e.key&&l()}})}),(0,a.jsxs)(ev.cw,{children:[(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{r(void 0)},children:e("account.apiKeys.popup.createApiKey.cancel")}),(0,a.jsx)(L.Cl,{$size:"md",onClick:l,disabled:!n,children:e("account.apiKeys.popup.createApiKey.createNewApiKey")})]})]})};var tN=n(60250);let tP=()=>{let e=(0,z.k)(),t=(0,H.Kr)(e=>e.modal),n=(0,H.Kr)(e=>e.setModalOpen),o=(0,tN.l)(e=>e.setNoticeState),[r,i]=(0,g.useState)(null),[l,s]=(0,g.useState)(null),{addToast:c}=(0,q.dj)();(0,g.useEffect)(()=>{var e,n;let a=(null==(e=t[H.lX.editApiKey])?void 0:e.apiKey)||"",o=(null==(n=t[H.lX.editApiKey])?void 0:n.appName)||"";s(a),i(o)},[t]);let d=async()=>{if(!r||!l)return;let e=await (0,ez.yM)(l,r);if((0,tl.gJ)(e))return c({type:q.Ck.ERROR,title:"Failed to edit API key",subTitle:e.message});t[H.lX.editApiKey].onSuccess(),o({message:"Successfully updated API key ".concat(l," options!"),color:"success"}),n(void 0)};return(0,a.jsxs)(ev.i1,{children:[(0,a.jsx)(ev.Xb,{children:(0,a.jsx)(ev.A2,{children:e("account.apiKeys.popup.editApiKey.title")})}),(0,a.jsx)(eb.R,{label:e("account.apiKeys.popup.editApiKey.apiKey"),children:(0,a.jsx)(eb.p,{disabled:!0,placeholder:l||"",type:"text",autoComplete:"new-password",onKeyPress:e=>{"Enter"===e.key&&d()}})}),(0,a.jsx)(eb.R,{label:e("account.apiKeys.popup.editApiKey.appName"),children:(0,a.jsx)(eb.p,{value:r||"",onChange:e=>{i(e.target.value)},type:"text",autoComplete:"new-password",onKeyPress:e=>{"Enter"===e.key&&d()}})}),(0,a.jsxs)(ev.cw,{children:[(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{n(void 0)},children:e("account.apiKeys.popup.editApiKey.cancel")}),(0,a.jsx)(L.Cl,{$size:"md",onClick:d,disabled:!r,children:e("account.apiKeys.popup.editApiKey.saveChanges")})]})]})},tE=i.Ay.div.withConfig({componentId:"sc-f5893679-0"})(["color:",";"," word-break:break-all;span{font-weight:500;}"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm),tO=()=>{let e=(0,z.k)(),t=(0,H.Kr)(e=>e.modal),n=(0,H.Kr)(e=>e.setModalOpen),o=(0,tN.l)(e=>e.setNoticeState),{addToast:r}=(0,q.dj)(),[i,l]=(0,g.useState)(null);(0,g.useEffect)(()=>{var e;l((null==(e=t[H.lX.removeApiKey])?void 0:e.apiKey)||"")},[t]);let s=async()=>{if(!i)return;let e=await (0,ez.LW)(i);if((0,tl.gJ)(e))return o({message:"Status: An API key removal can only be requested once per day. Please try again later.",color:"error"}),r({type:q.Ck.ERROR,title:"Failed to delete API key",subTitle:e.message});t[H.lX.removeApiKey].onSuccess(),o({message:"API key ".concat(i," Deleted"),color:"success"}),n(void 0)};return(0,a.jsxs)(ev.i1,{children:[(0,a.jsx)(ev.Xb,{children:(0,a.jsx)(ev.A2,{children:e("account.apiKeys.popup.confirmationRequired.title")})}),(0,a.jsxs)(tE,{children:[e("account.apiKeys.popup.confirmationRequired.description")," ",(0,a.jsxs)("span",{children:["'",i,"'?"]})]}),(0,a.jsxs)(ev.cw,{children:[(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{n(void 0)},children:e("account.apiKeys.popup.confirmationRequired.cancel")}),(0,a.jsx)(L.Cl,{$size:"md",onClick:s,children:e("account.apiKeys.popup.confirmationRequired.remove")})]})]})};var tD=n(67916),tM=n(52370),t_=n(80701);let tF=()=>{var e,t;let n=(0,z.k)(),o=(0,H.Kr)(e=>e.modal),r=(0,H.Kr)(e=>e.setModal),i=(0,H.Kr)(e=>e.setModalOpen),l=[{value:"home",label:n("advertisement.bannerGuildline.home")},{value:"banner",label:n("advertisement.bannerGuildline.banner")},{value:"header",label:n("advertisement.bannerGuildline.header")}],s=(null==(e=o[H.lX.ADGuideline])?void 0:e.selectedOption)||0;return(0,a.jsx)(tM.i1,{children:(0,a.jsxs)(tM.Xb,{children:[(0,a.jsxs)(tM.aF,{children:[(0,a.jsx)(tM.WV,{children:n("advertisement.bannerGuildline.title")}),(0,a.jsx)(K.fAT,{width:24,height:24,onClick:()=>i(void 0)})]}),(0,a.jsx)(tD.L,{options:l,selectedOption:null==(t=l[s])?void 0:t.value,onChange:e=>{let t=l.findIndex(t=>t.value===e);r(e=>({...e,[H.lX.ADGuideline]:{...e[H.lX.ADGuideline],selectedOption:t}}))}}),0===s&&(0,a.jsxs)(tM.mv,{children:[(0,a.jsx)(t_._V,{src:"/images/banner_guideline.png",alt:"banner_guideline",width:280,height:101}
1),(0,a.jsx)(es.I,{content:(0,a.jsxs)(tM.q_,{children:[(0,a.jsxs)("div",{className:"strong dimension",children:["Image Dimension :"," ",(0,a.jsxs)("span",{children:[(0,a.jsx)("div",{children:"â 960(width) * 320(height)"}),(0,a.jsx)("div",{children:"â 1680(width) * 272(height)"})]})]}),(0,a.jsxs)("div",{className:"strong",children:["Headline :"," ",(0,a.jsx)("span",{children:"Company / Product / Service / Project name "})]}),(0,a.jsxs)("div",{className:"strong",children:["Image Format : ",(0,a.jsx)("span",{children:"PNG, JPG, JPEG"})]}),(0,a.jsxs)("div",{className:"strong",children:["File Size :",(0,a.jsx)("span",{children:"Maximum 100KB for each banner"})]})]}),color:"point"})]}),1===s&&(0,a.jsxs)(tM.mv,{children:[(0,a.jsx)(t_._V,{src:"/images/banner_guideline.png",alt:"banner_guideline",width:280,height:101}),(0,a.jsx)(es.I,{content:(0,a.jsxs)(tM.q_,{children:[(0,a.jsxs)("div",{className:"strong dimension",children:["Image Dimension :"," ",(0,a.jsxs)("span",{children:[(0,a.jsx)("div",{children:"â 960(width) * 320(height) "}),(0,a.jsx)("div",{children:"â 1680(width) * 272(height)"})]})]}),(0,a.jsxs)("div",{className:"strong",children:["Headline :"," ",(0,a.jsx)("span",{children:"Company / Product / Service / Project name "})]}),(0,a.jsxs)("div",{className:"strong",children:["Image Format : ",(0,a.jsx)("span",{children:"PNG, JPG, JPEG"})]}),(0,a.jsxs)("div",{className:"strong",children:["File Size :",(0,a.jsx)("span",{children:"Maximum 100KB for each banner"})]})]}),color:"point"})]}),2===s&&(0,a.jsxs)(tM.mv,{children:[(0,a.jsx)(t_._V,{src:"/images/text_guideline.png",alt:"banner_guideline",width:280,height:89}),(0,a.jsx)(es.I,{content:(0,a.jsxs)(tM.q_,{children:[(0,a.jsxs)("div",{className:"strong",children:["Icon : ",(0,a.jsx)("span",{children:"Must be 24*24 PNG transparent image "})]}),(0,a.jsxs)("div",{className:"strong",children:["Headline :"," ",(0,a.jsx)("span",{children:"Company / Product / Service / Project name"})]}),(0,a.jsxs)("div",{className:"strong",children:["Body : ",(0,a.jsx)("span",{children:"Text for the advertisement "})]}),(0,a.jsxs)("div",{className:"strong",children:["CTA :"," ",(0,a.jsx)("span",{children:"Call to Action can be maximum 25 characters"})]})]}),color:"point"})]}),(0,a.jsx)(L.yp.default,{$size:"lg",onClick:()=>i(void 0),children:n("advertisement.bannerGuildline.close")})]})})},tK=i.Ay.div.withConfig({componentId:"sc-6528a032-0"})([""," "," gap:24px;"],b.c6,b.ec),tz=i.Ay.div.withConfig({componentId:"sc-6528a032-1"})([""," gap:16px;"],b.ec),tU=i.Ay.div.withConfig({componentId:"sc-6528a032-2"})(["color:",";"," font-weight:500;"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg),tL=i.Ay.div.withConfig({componentId:"sc-6528a032-3"})(["color:",";"," li{list-style:disc !important;a{text-decoration:underline;}}ul{padding-left:20px;}"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm),tB=i.Ay.div.withConfig({componentId:"sc-6528a032-4"})([""," justify-content:space-between;gap:16px;button{flex:1;}"],b.Wh);var tV=n(79173),t$=n(77854);let tX=[{value:"technical issues",label:"I'm having too many technical issues"},{value:"expensive",label:"It's too expensive"},{value:"not using",label:"I'm not using the API often enough"},{value:"pause",label:"I want to pause my subscription"},{value:"features",label:"I don't use all of the features"},{value:"other",label:"Other"}],tG=()=>{var e,t,n,o;(0,z.k)();let r=(0,H.Kr)(e=>e.modal);(0,H.Kr)(e=>e.setModal);let i=(0,H.Kr)(e=>e.setModalOpen),[l,s]=(0,g.useState)(""),[c,d]=(0,g.useState)("");(0,U.rd)();let p=(0,eg.kH)(e=>e.user),u=null==p||null==(e=p.subscribePlanName)?void 0:e.replaceAll("_"," "),{addToast:h}=(0,q.dj)(),f=null==(t=r[H.lX.cancelSubscription])?void 0:t.onConfirm,m=null==(n=r[H.lX.cancelSubscription])?void 0:n.isDowngrade,x=()=>{i(void 0)},b=async()=>{var e,t;if(!p||m&&!(null==(e=r[H.lX.cancelSubscription])?void 0:e.changePlan))return;let n={name:m?null==(t=r[H.lX.cancelSubscription])?void 0:t.changePlan:null==p?void 0:p.subscribePlanName,reason:{type:c,value:l}},a=m?ez.BI:ez.M2,o=await a(n);(0,tl.gJ)(o)?h({type:q.Ck.ERROR,title:"Failed to cancel subscription",subTitle:o.message}):f(),x()},v=c.includes("other"),w=null==(o=r[H.lX.cancelSubscription])?void 0:o.isDowngrade;return(0,a.jsxs)(tK,{children:[(0,a.jsxs)(tz,{children:[(0,a.jsx)(tU,{children:w?"Why are you downgrading?":"Why are you canceling?"}),(0,a.jsx)(tL,{children:(0,a.jsx)(tV.z,{options:tX,selectedValue:c,onChange:(e,t)=>
1((e,t)=>{d(e),s("other"===e?"":t)})(e,t||""),title:""})}),v&&(0,a.jsx)(tL,{children:(0,a.jsx)(t$.fs,{style:{width:"100%"},placeholder:"Why are you canceling?",value:l,onChange:e=>{s(e.target.value)}})})]}),(0,a.jsx)(tB,{children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(L.yp.primary,{$size:"md",onClick:x,children:["Keep ",u]}),(0,a.jsx)(L.yp.default,{$size:"md",onClick:b,children:m?"Continue downgrade":"Continue cancellation"})]})})]})},tW=i.Ay.div.withConfig({componentId:"sc-8af5a4c5-0"})([""," gap:24px;"," svg{path{stroke:",";}}"],b.ec,b.c6,e=>{let{theme:t}=e;return t.Color.background.Icon["strong-inverse"]}),tH=i.Ay.div.withConfig({componentId:"sc-8af5a4c5-1"})([""," gap:16px;a{margin:0 auto;color:",";"," font-weight:500;"," text-decoration:underline;&:hover{"," color:",";}}"],b.ec,e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},w.Il.body.sm,b.lw,b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]}),tq=i.Ay.div.withConfig({componentId:"sc-8af5a4c5-2"})(["color:",";"," "," justify-content:space-between;font-weight:500;svg{path{stroke:",";}}"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.lg,b.Wh,e=>{let{theme:t}=e;return t.Color.background.Icon.strong}),tY=i.Ay.div.withConfig({componentId:"sc-8af5a4c5-3"})(["border:1px solid ",";"],e=>{let{theme:t}=e;return t.Color.background.border["outline-base"]}),tJ=i.Ay.div.withConfig({componentId:"sc-8af5a4c5-4"})(["display:flex;height:32px;padding:0px 12px;align-items:center;gap:4px;border-radius:var(--Radius-full,999px);background:var(--gray-800,#2f3541);color:",";"," font-weight:500;"],e=>{let{planType:t}=e;switch(t){case B.kz.PRO:case B.kz.PRO_PLUS:return"var(--primary-400, #BFF009)";case B.kz.ENTERPRISE:return"var(--point-highlight-500, #4CE275)";default:return"var(--black-white-white, #FFF)"}},w.Il.body.xs),tQ=i.Ay.div.withConfig({componentId:"sc-8af5a4c5-5"})(["display:flex;padding:24px 20px;flex-direction:column;align-items:center;gap:16px;align-self:stretch;border-bottom:1px solid ",";"],e=>{let{theme:t}=e;return t.Color.background.border["outline-base"]}),tZ=i.Ay.div.withConfig({componentId:"sc-8af5a4c5-6"})(["color:",";"," font-weight:500;"," gap:4px;align-items:center;.description{color:",";","}"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.xl,b.ec,e=>{let{theme:t}=e;return t.Color.text.text.weak},w.Il.body.sm),t0=i.Ay.div.withConfig({componentId:"sc-8af5a4c5-7"})(["display:flex;padding:24px 16px;flex-direction:column;align-items:center;gap:12px;align-self:stretch;background:",";.highlight{color:",";font-weight:500;}color:",";",""],e=>{let{theme:t}=e;return t.Color.background.surface.alt},e=>{let{theme:t}=e;return t.Color.text.text["point-primary"]},e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.xs),t1=()=>{let e=(0,z.k)(),t=(0,U.rd)();(0,H.Kr)(e=>e.modalOpen);let n=(0,H.Kr)(e=>e.setModalOpen),o=(0,H.Kr)(e=>e.modal);(0,H.Kr)(e=>e.setModal);let r=o[H.lX.selectPlan].currentPlan,i=o[H.lX.selectPlan].isUpgrade,l=o[H.lX.selectPlan].selectablePlans,[s,c]=(0,g.useState)(l[0]),d=[{label:e("modal.selectPlan.starter.title"),value:B.kz.STARTER},{label:e("modal.selectPlan.pro.title"),value:B.kz.PRO},{label:e("modal.selectPlan.proPlus.title"),value:B.kz.PRO_PLUS},{label:e("modal.selectPlan.enterprise.title"),value:B.kz.ENTERPRISE}],p=l.length?d.filter(e=>l.includes(e.value)):d;return(0,a.jsxs)(tW,{children:[(0,a.jsxs)(tH,{children:[(0,a.jsxs)(tq,{children:[(0,a.jsx)("div",{children:e("modal.selectPlan.title")}),(0,a.jsx)(K.wQi,{onClick:()=>n(void 0),width:24,height:24})]}),(0,a.jsx)(tD.L,{options:p.map(e=>({value:e.value,label:e.label})),onChange:e=>{var t;let n=null==(t=p.find(t=>t.value===e))?void 0:t.value;n&&c(n)}}),(0,a.jsx)(t2,{planType:s}),(0,a.jsx)(U.N_,{href:(0,G.eK)(s),target:"_blank",children:e("modal.selectPlan.seeAllEndpoints")})]}),s===B.kz.ENTERPRISE?(0,a.jsx)(L.yp.primary,{$size:"lg",onClick:()=>{n(void 0),t.push(X.a.apis+"#oapi-contact-us",{scroll:!1})},children:e("modal.selectPlan.contactUs")}):(0,a.jsxs)(L.yp.primary,{$size:"lg",onClick:()=>{var e;let t=null==(e=o[H.lX.selectPlan])?void 0:e.onConfirm;n(void 0),t&&t(s)},disabled:r===s,children:[i?e("modal.selectPlan.upgradePlan"):"Change Plan",(0,a.jsx)(K.lWp,{width:16,height:16})]})]})},t2=e=>{let{planType:t}=e,n=(0,z.k)(),o=(e=>{switch(e){case B.kz.FREE:return n.raw("modal.selectPlan.free.creditInfo1");case B.kz.STARTER:return n.raw("modal.selectPlan.starter.creditInfo1");case B.kz.PRO:return n.raw("modal.selectPlan.pro.creditInfo1");case B.kz.PRO_PLUS:return n.raw("modal.selectPlan.proPlus.creditInfo1");case B.kz.ENTERPRISE:return n.raw("modal.selectPlan.enterprise.creditInfo1");default:return""}})(t),r=(e=>{switch(e){case B.kz.FREE:return n.raw("modal.selectPlan.free.creditInfo2");case B.kz.STARTER:return n.raw("modal.selectPlan.starter.creditInfo2");case B.kz.PRO:return n.raw("modal.selectPlan.pro.creditInfo2");case B.kz.PRO_PLUS:return n.raw("modal.selectPlan.proPlus.creditInfo2");case B.kz.ENTERPRISE:return n.raw("modal.selectPlan.enterprise.creditInfo2");default:return""}})(t),i=(e=>{switch(e){case B.kz.FREE:return n.raw("modal.selectPlan.free.creditInfo3");case B.kz.STARTER:return n.raw("modal.selectPlan.starter.creditInfo3");case B.kz.PRO:return n.raw("modal.selectPlan.pro.creditInfo3");case B.kz.PRO_PLUS:return n.raw("modal.selectPlan.proPlus.creditInfo3");case B.kz.ENTERPRISE:return n.raw("modal.selectPlan.enterprise.creditInfo3");default:return""}})(t),l=(e=>{switch(e){case B.kz.FREE:return n.raw("modal.selectPlan.free.creditInfo4");case B.kz.STARTER:return n.raw("modal.selectPlan.starter.creditInfo4");case B.kz.PRO:return n.raw("modal.selectPlan.pro.creditInfo4");case B.kz.PRO_PLUS:return n.raw("modal.selectPlan.proPlus.creditInfo4");case B.kz.ENTERPRISE:return n.raw("modal.selectPlan.enterprise.creditInfo4");default:return""}})(t),s=(e=>{switch(e){case B.kz.FREE:return n("modal.selectPlan.free.description");case B.kz.STARTER:return n("modal.selectPlan.starter.description");case B.kz.PRO:return n("modal.selectPlan.pro.description");case B.kz.PRO_PLUS:return n("modal.selectPlan.proPlus.description");case B.kz.ENTERPRISE:return n("modal.selectPlan.enterprise.description");default:return""}})(t);return(0,a.jsxs)(tY,{children:[(0,a.jsxs)(tQ,{children:[(0,a.jsx)(tJ,{planType:t,children:t.replaceAll("_"," ")}),(0,a.jsxs)(tZ,{children:[(0,a.jsx)("div",{children:t===B.kz.ENTERPRISE?n("account.apiKeys.manage.currentPlan.enquireForPricing"):"$".concat(B.pK[t])}),(0,a.jsx)("div",{className:"description",children:s})]})]}),(0,a.jsxs)(t0,{children:[(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:o}}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:r}}
1),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:i}}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:l}})]})]})};var t4=n(1088),t6=n(27432),t8=n(62227);let t5=i.Ay.div.withConfig({componentId:"sc-934fe02-0"})([""," gap:24px;padding:32px;width:480px;max-width:90vw;"],b.ec),t3=i.Ay.div.withConfig({componentId:"sc-934fe02-1"})(["",""],b.Tk),t9=i.Ay.h2.withConfig({componentId:"sc-934fe02-2"})([""," color:",";margin:0;"],w.Il.title.lg,e=>{let{theme:t}=e;return t.Color.text.text.base}),t7=i.Ay.div.withConfig({componentId:"sc-934fe02-3"})([""," gap:20px;"],b.ec),ne=i.Ay.div.withConfig({componentId:"sc-934fe02-4"})(["display:flex;gap:12px;justify-content:flex-end;margin-top:8px;"]),nt=()=>{let e=(0,z.k)();(0,H.Kr)(e=>e.modalOpen);let t=(0,H.Kr)(e=>e.setModalOpen);(0,H.Kr)(e=>e.modal);let n=(0,t8.u)(e=>e.contractVerificationForm),{addToast:o}=(0,q.dj)(),[r,i]=(0,g.useState)(""),[l,s]=(0,g.useState)(""),[c,d]=(0,g.useState)(!1),p=n.contractAddress,u=()=>{t(void 0),i(""),s("")},h=async()=>{if(f){d(!0);try{let t=await (0,ez.NG)({contact_email:r,contract_address:p,user_message:l||void 0,verification_type:"GENERAL"});(0,tl.gJ)(t)?o({type:q.Ck.ERROR,title:e("contract.contactModal.failureTitle"),subTitle:t.message}):(o({type:q.Ck.SUCCESS,title:e("contract.contactModal.successTitle"),subTitle:e("contract.contactModal.successMessage")}),u())}catch(t){o({type:q.Ck.ERROR,title:e("contract.contactModal.failureTitle"),subTitle:e("contract.contactModal.generalError")})}finally{d(!1)}}},f=""!==r.trim();return(0,a.jsxs)(t5,{children:[(0,a.jsx)(t3,{children:(0,a.jsx)(t9,{children:e("contract.contactModal.title")})}),(0,a.jsxs)(t7,{children:[(0,a.jsx)(eb.R,{label:e("contract.contactModal.email"),error:""===r.trim()&&c?e("contract.contactModal.emailRequired"):void 0,children:(0,a.jsx)(eb.p,{type:"email",placeholder:e("contract.contactModal.emailPlaceholder"),value:r,onChange:e=>i(e.target.value),required:!0})}),(0,a.jsx)(eb.R,{label:e("contract.contactModal.contractAddress"),children:(0,a.jsx)(eb.p,{type:"text",value:p,readOnly:!0,disabled:!0})}),(0,a.jsx)(eb.R,{label:e("contract.contactModal.message"),children:(0,a.jsx)(t$.fs,{placeholder:e("contract.contactModal.messagePlaceholder"),value:l,onChange:e=>s(e.target.value),rows:5})})]}),(0,a.jsxs)(ne,{children:[(0,a.jsx)(L.mF,{$size:"md",onClick:u,disabled:c,children:e("contract.contactModal.cancel")}),(0,a.jsx)(L.$$,{$size:"md",onClick:h,disabled:!f||c,children:c?e("contract.contactModal.submitting"):e("contract.contactModal.submit")})]})]})};var nn=n(25251);let na=()=>{let e=(0,z.k)(),[t,n]=(0,g.useState)({address:"",nameTag:"",memo:"",group:void 0,isFavorite:void 0}),o=(0,H.Kr)(e=>e.modal);(0,U.rd)();let r=o[H.lX.createPrivateNameTag],i=(null==r?void 0:r.isEdit)||!1,l=null==r?void 0:r.address,s=null==r?void 0:r.data,c=(0,H.Kr)(e=>e.setModalOpen);(0,g.useEffect)(()=>{i&&s?n({address:s.address||"",nameTag:s.nameTag||"",memo:s.memo||"",group:s.group,isFavorite:s.isFavorite}):n({address:l||"",nameTag:"",memo:"",group:void 0,isFavorite:void 0})},[i,s,l]);let{addToast:d}=(0,q.dj)(),p=async()=>{var e;if(!t.address||!t.nameTag||!u)return;let n=i?await (0,ez.LH)(t):await (0,ez.r1)(t);if((0,tl.gJ)(n))return d({type:q.Ck.ERROR,title:i?"Failed to update private name tag":"Failed to create private name tag",subTitle:n.message});d({type:q.Ck.SUCCESS,title:i?"Successfully updated private name tag":"Successfully created private name tag",subTitle:"Private name tag for ".concat(t.address," has been ").concat(i?"updated":"created")}),null==(e=o[H.lX.createPrivateNameTag])||e.onSuccess(),c(void 0)},u=(0,nn.kV)(t.address);return(0,a.jsxs)(ev.i1,{children:[(0,a.jsx)(ev.Xb,{children:(0,a.jsx)(ev.A2,{children:e(i?"account.privateNametag.addNameTagModal.editTitle":"account.privateNametag.addNameTagModal.title")})}),(0,a.jsx)(eb.R,{label:e("account.privateNametag.addNameTagModal.address")+"*",error:t.address&&!u?e("common.error.invalidAddressFormat"):void 0,children:(0,a.jsx)(eb.p,{placeholder:"e.g. 0x123...",value:t.address||"",onChange:e=>{e.target.value.length>42||n({...t,address:e.target.value})},type:"text",showClearButton:!i,maxLength:42,disabled:i})}),(0,a.jsx)(eb.R,{label:e("account.privateNametag.addNameTagModal.privateNameTag")+"*"+" (".concat(t.nameTag.length,"/35)"),children:(0,a.jsx)(eb.p,{placeholder:e("account.privateNametag.addNameTagModal.nameTagPlaceholder"),value:t.nameTag||"",onChange:e=>{e.target.value.length>35||n({...t,nameTag:e.target.value})},type:"text",showClearButton:!0,maxLength:35})}),(0,a.jsx)(eb.R,{label:e("account.privateNametag.addNameTagModal.memo")+" (".concat(t.memo.length,"/500)"),children:(0,a.jsx)(t$.fs,{placeholder:e("account.privateNametag.addNameTagModal.memoPlaceholder"),value:t.memo||"",onChange:e=>(e=>{e.target.value.length>500||n({...t,memo:e.target.value})})(e),maxLength:500})}),(0,a.jsxs)(ev.cw,{children:[(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{c(void 0)},children:e("account.privateNametag.addNameTagModal.cancel")}),(0,a.jsx)(L.Cl,{$size:"md",onClick:p,disabled:!t.address||!t.nameTag||!u,children:e(i?"account.privateNametag.addNameTagModal.saveChanges":"account.privateNametag.addNameTagModal.create")})]})]})},no=i.Ay.div.withConfig({componentId:"sc-9cd27c07-0"})(["width:100%;max-height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:4px;margin-top:8px;"]),nr=i.Ay.div.withConfig({componentId:"sc-9cd27c07-1"})(["display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:8px;
1cursor:pointer;"," color:",";"," background:",";border:1px solid ",";&:hover{background:",";}"],w.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.text.base},b.lw,e=>{let{$selected:t,theme:n}=e;return t?n.Color.background.component["default-active"]:n.Color.background.component.default},e=>{let{$selected:t,theme:n}=e;return t?n.Color.background.border["line-primary"]:n.Color.background.border["divide-weak"]},e=>{let{theme:t}=e;return t.Color.background.component["default-hover"]}),ni=i.Ay.div.withConfig({componentId:"sc-9cd27c07-2"})(["width:18px;height:18px;min-width:18px;border-radius:4px;display:flex;align-items:center;justify-content:center;"," border:1.5px solid ",";svg path{stroke:",";}"],b.lw,e=>{let{$selected:t,theme:n}=e;return t?n.Color.background.Icon.primary_default:n.Color.background.border["outline-strong"]},e=>{let{theme:t}=e;return t.Color.background.Icon.primary_default}),nl=i.Ay.div.withConfig({componentId:"sc-9cd27c07-3"})(["flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),ns=i.Ay.span.withConfig({componentId:"sc-9cd27c07-4"})(["color:",";"],e=>{let{theme:t}=e;return t.Color.text.text.weak}),nc=i.Ay.div.withConfig({componentId:"sc-9cd27c07-5"})(["padding:20px;text-align:center;"," color:",";"],w.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.text.weak}),nd=()=>{let e=(0,z.k)(),[t,n]=(0,g.useState)({addresses:[],group:""}),o=(0,H.Kr)(e=>e.modal);(0,U.rd)();let r=o[H.lX.createPrivateNameTagGroup],i=(null==r?void 0:r.isEdit)||!1,l=null==r?void 0:r.group,[c,d]=(0,g.useState)(""),{data:p,isLoading:u}=(0,ez.wQ)(c,void 0);(0,g.useEffect)(()=>{i&&l?n({addresses:p.filter(e=>e.group===l).map(e=>e.address),group:l}):i||n({addresses:[],group:""})},[i,l,p]);let h=p.filter(e=>!!i||!e.group).map(e=>({value:e.address,label:e.nameTag})),[f,m]=(0,g.useState)(!1);(0,g.useRef)(null);let x=(0,H.Kr)(e=>e.setModalOpen),{addToast:b}=(0,q.dj)(),v=async()=>{var e;if(!w||!t.group)return;let n=i?await (0,ez.qG)({group:l,newGroup:t.group,addresses:t.addresses}):await (0,ez.O6)(t);if((0,tl.gJ)(n))return b({type:q.Ck.ERROR,title:i?"Failed to update private name tag group":"Failed to create private name tag group",subTitle:n.message});b({type:q.Ck.SUCCESS,title:i?"Successfully updated private name tag group":"Successfully created private name tag group",subTitle:"Private name tag group ".concat(t.group," has been ").concat(i?"updated":"created")}),null==(e=o[H.lX.createPrivateNameTagGroup])||e.onSuccess(),x(void 0)},w=t.addresses.length>0&&t.addresses.every(e=>(0,nn.kV)(e));return(0,a.jsxs)(ev.i1,{children:[(0,a.jsx)(ev.Xb,{children:(0,a.jsx)(ev.A2,{children:e(i?"account.privateNametag.addGroupModal.editTitle":"account.privateNametag.addGroupModal.title")})}),(0,a.jsx)(eb.R,{label:e("account.privateNametag.addGroupModal.groupName")+"*"+" (".concat(t.group.length,"/20)"),children:(0,a.jsx)(eb.p,{placeholder:e("account.privateNametag.addGroupModal.groupName"),value:t.group||"",onChange:e=>{e.target.value.length>20||n({...t,group:e.target.value})},type:"text",showClearButton:!0,maxLength:20})}),(0,a.jsxs)(eb.R,{label:e("account.privateNametag.addGroupModal.addPrivateNameTag")+(t.addresses.length>0?" (".concat(t.addresses.length,")"):""),children:[(0,a.jsx)(eb.p,{placeholder:e("account.privateNametag.addGroupModal.searchPrivateNameTag"),value:c,onChange:e=>d(e.target.value),type:"text",showClearButton:!0}),(0,a.jsx)(no,{children:0===h.length?(0,a.jsx)(nc,{children:e("account.privateNametag.addGroupModal.noPrivateNameTag")}):h.map(e=>{let o=t.addresses.includes(e.value);return(0,a.jsxs)(nr,{$selected:o,onClick:()=>(e=>{t.addresses.includes(e)?n({...t,addresses:t.addresses.filter(t=>t!==e)}):n({...t,addresses:[...t.addresses,e]})})(e.value),children:[(0,a.jsx)(ni,{$selected:o,children:o&&(0,a.jsx)(K.erz,{width:14,height:14})}),(0,a.jsxs)(nl,{children:[e.label," ",(0,a.jsxs)(ns,{children:["(",(0,s.Wr)(e.value,6,6),")"]})]})]},e.value)})})]}),(0,a.jsxs)(ev.cw,{children:[(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{x(void 0)},children:e("account.privateNametag.addGroupModal.cancel")}),(0,a.jsx)(L.Cl,{$size:"md",onClick:v,disabled:!w||!t.group,children:e(i?"account.privateNametag.addGroupModal.saveChanges":"account.privateNametag.addGroupModal.createGroup")})]})]})},np=()=>{let e=(0,z.k)(),[t,n]=(0,g.useState)({address:"",nameTag:"",memo:"",group:void 0,isFavorite:void 0}),o=(0,H.Kr)(e=>e.modal);(0,U.rd)();let r=o[H.lX.editPrivateNameTag],i=(0,H.Kr)(e=>e.setModalOpen),{addToast:l}=(0,q.dj)(),s=async()=>
1{if(!t.address||!t.nameTag||!c)return;let e=await (0,ez.r1)(t);if((0,tl.gJ)(e))return l({type:q.Ck.ERROR,title:"Failed to create private name tag",subTitle:e.message});l({type:q.Ck.SUCCESS,title:"Successfully created private name tag",subTitle:"Private name tag for ".concat(t.address," has been created")}),null==r||r.onSuccess(),i(void 0)},c=(0,nn.kV)(t.address);return(0,a.jsxs)(ev.i1,{children:[(0,a.jsx)(ev.Xb,{children:(0,a.jsx)(ev.A2,{children:e("account.privateNametag.addNameTagModal.title")})}),(0,a.jsx)(eb.R,{label:e("account.privateNametag.addNameTagModal.address")+"*",error:t.address&&!c?e("common.error.invalidAddressFormat"):void 0,children:(0,a.jsx)(eb.p,{placeholder:"e.g. 0x123...",value:t.address||"",onChange:e=>{e.target.value.length>42||n({...t,address:e.target.value})},type:"text",showClearButton:!0,maxLength:42})}),(0,a.jsx)(eb.R,{label:e("account.privateNametag.addNameTagModal.privateNameTag")+"*"+" (".concat(t.nameTag.length,"/35)"),children:(0,a.jsx)(eb.p,{placeholder:e("account.privateNametag.addNameTagModal.nameTagPlaceholder"),value:t.nameTag||"",onChange:e=>{e.target.value.length>35||n({...t,nameTag:e.target.value})},type:"text",showClearButton:!0,maxLength:35})}),(0,a.jsx)(eb.R,{label:e("account.privateNametag.addNameTagModal.memo")+" (".concat(t.memo.length,"/500)"),children:(0,a.jsx)(t$.fs,{placeholder:e("account.privateNametag.addNameTagModal.memoPlaceholder"),value:t.memo||"",onChange:e=>(e=>{e.target.value.length>500||n({...t,memo:e.target.value})})(e),maxLength:500})}),(0,a.jsxs)(ev.cw,{children:[(0,a.jsx)(L.nR,{$size:"md",onClick:()=>{i(void 0)},children:e("account.privateNametag.addNameTagModal.cancel")}),(0,a.jsx)(L.Cl,{$size:"md",onClick:s,disabled:!t.address||!t.nameTag||!c,children:e("account.privateNametag.addNameTagModal.create")})]})]})},nu=()=>(0,a.jsx)("div",{children:(0,a.jsx)("h1",{children:"Edit Private Name Tag Group"})}),nh=()=>{let e=(0,H.Kr)(e=>e.modalOpen);(0,H.Kr)(e=>e.setModalOpen),(0,H.Kr)(e=>e.setModal);let t={[H.lX.passwordRequired]:ew,[H.lX.deletionConfirmationRequired]:eC,[H.lX.deletionConfirmationRequiredCaptcha]:eI,[H.lX.loginHistory]:eU,[H.lX.updateTokenInfo]:eq,[H.lX.updateTokenNotice]:e0,[H.lX.wallet]:tt,[H.lX.releaseOwnership]:tc,[H.lX.cookie]:ty,[H.lX.verifyContract]:tS,[H.lX.createApiKey]:tR,[H.lX.removeApiKey]:tO,[H.lX.editApiKey]:tP,[H.lX.ADGuideline]:tF,[H.lX.cancelSubscription]:tG,[H.lX.selectPlan]:t1,[H.lX.downloadCsv]:t4.r,[H.lX.revokeToken]:t6.M,[H.lX.contactUsContract]:nt,[H.lX.createPrivateNameTag]:na,[H.lX.createPrivateNameTagGroup]:nd,[H.lX.editPrivateNameTagGroup]:nu,[H.lX.editPrivateNameTag]:np},n=e&&t[e]?t[e]:()=>(0,a.jsx)(a.Fragment,{children:"Default Content"}),o=e===H.lX.wallet||e===H.lX.loginHistory?"outline-strong":"line-primary-weak",r=[H.lX.downloadCsv,H.lX.cookie,H.lX.revokeToken].includes(e);return(0,a.jsx)(ex.f,{$borderColor:o,$open:!!e,style:{width:r?"auto":void 0,maxWidth:r?"100%":void 0,padding:e===H.lX.wallet||e===H.lX.loginHistory||e===H.lX.cookie?"0":void 0},children:(0,a.jsx)(n,{})})},ng=i.Ay.div.withConfig({componentId:"sc-62fc9041-0"})(["overflow:hidden;position:fixed;top:0;left:0;z-index:70;width:100%;height:100vh;display:flex;align-items:center;justify-content:center;",";backdrop-filter:blur(2px);background-color:",";opacity:",";visibility:",";pointer-events:",";"],e=>{let{$open:t}=e;return t?b.lw:""},e=>{let{$open:t,theme:n}=e;return t?n.opacity["gray 980-4"]:"transparent"},e=>{let{$open:t}=e;return+!!t},e=>{let{$open:t}=e;return t?"visible":"hidden"},e=>{let{$open:t}=e;return t?"auto":"none"});var nf=n(23082);let nm=(0,n(25959).v)(e=>({menuOpen:!1,setMenuOpen:t=>e({menuOpen:t})})),nx=()=>{let e=(0,H.Kr)(e=>e.modalOpen),t=(0,H.Kr)(e=>e.setModalOpen),n=nm(e=>e.menuOpen),o=nm(e=>e.setMenuOpen),r=(0,nf.h)(e=>e.confirm.open),i=(0,nf.h)(e=>e.confirm),l=(0,nf.h)(e=>e.setConfirm),s=!!e||!!n||!!r,c=async()=>{t(void 0),o(!1),l(e=>({...e,open:!1})),(null==i?void 0:i.onClose)&&(null==i||i.onClose())};return(0,g.useEffect)(()=>(s&&window.innerWidth>B.LO.DESKTOP&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow="unset"}),[s]),(0,a.jsx)(ng,{className:"pc-laptop",$open:!!s,onClick:c})},nb=()=>{let e=(0,H.Kr)(e=>e.modalOpen),t=(0,H.Kr)(e=>e.setModalOpen),n=nm(e=>e.menuOpen),o=nm(e=>e.setMenuOpen),r=(0,nf.h)(e=>e.confirm.open);(0,nf.h)(e=>e.confirm);let i=(0,nf.h)(e=>e.setConfirm),l=async()=>{t(void 0),o(!1),i(e=>({...e,open:!1}))};return(0,a.jsx)(ng,{className:"tablet-mobile",$open:!!(e||n||r),onClick:l})},nv=i.Ay.div.withConfig({componentId:"sc-9fe59e42-0"})(["overflow:hidden;z-index:100;white-space:nowrap;text-overflow:ellipsis;pointer-events:visible;animation:",";width:312px;display:flex;border:1px solid ",";background:",";box-shadow:0px 4px 16px 0px rgba(0,0,0,0.16);gap:12px;visibility:",";align-items:center;padding:12px;word-break:break-word;transition:all 0.5s ease;position:fixed;border-radius:24px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);bottom:","px;right:24px;"," svg{flex-shrink:0;}@keyframes slideDownFadeIn{0%{transform:translateY(-100%);opacity:0;}100%{transform:translateY(0);opacity:1;}}@keyframes slideDownFadeOut{0%{transform:translateY(0);opacity:1;}50%{opacity:0.3;}100%{transform:translateY(200%);opacity:0;}}&.fadeOut{animation:slideDownFadeOut 0.5s ease forwards;}"],e=>{let{$isVisible:t}=e;return t?"slideDownFadeIn 1s ease forwards":"slideDownFadeOut 0.5s ease forwards"},e=>{let{$type:t,theme:n}=e;return((e,t)=>{switch(e){case q.Ck.SUCCESS:return t.Color.background.Icon.positive_default;case q.Ck.INFORMATION:return t.Color.background.Icon.information_default;case q.Ck.ERROR:default:return t.Color.background.Icon.negative_default}})(t,n)},e=>{let{theme:t}=e;return t.Color.background.surface["toast tooltip"]},e=>{let{$isVisible:t}=e;return t?"visible":"hidden"},e=>{let{$index:t,$heights:n}=e;return((e,t)=>{let n=24;for(let a=0;a<e;a++)n+=t[a]+16;return n})(t,n)},(0,s.MV)({},{},{right:"5%"})),nw=i.Ay.div.withConfig({componentId:"sc-9fe59e42-1"})(["display:flex;flex-direction:column;align-items:flex-start;"]),nk=i.Ay.div.withConfig({componentId:"sc-9fe59e42-2"})(["white-space:pre-wrap;color:",";"," font-weight:500;"],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.sm),ny=i.Ay.div.withConfig({componentId:"sc-9fe59e42-3"})(["white-space:pre-wrap;color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.xs),nC=e=>{let{type:t}=e;switch(t){case q.Ck.SUCCESS:return(0,a.jsx)(K.jml,{width:40,height:40});case q.Ck.INFORMATION:return(0,a.jsx)(K.c02,{width:40,height:40});case q.Ck.ERROR:default:return(0,a.jsx)(K.GxJ,{width:40,height:40})}},nj=()=>{let e=(0,q.WE)(e=>e.toasts),[t,n]=(0,g.useState)([]),[o,r]=(0,g.useState)([]),i=(0,g.useRef)([]);(0,z.k)();let{addToast:l}=(0,q.dj)();(0,g.useEffect)(()=>{let e=i.current.map(e=>(null==e?void 0:e.offsetHeight)||0),t=e.map(e=>e>70?"24px":"999px");n(e),r(t)},[e]);let s=(0,g.useCallback)((e,t)=>{i.current[t]=e},[]);return(0,g.useEffect)(()=>()=>{},[]),(0,a.jsx)(a.Fragment,{children:e.map((n,r)=>(0,a.jsxs)(nv,{ref:e=>s(e,r),$isVisible:e.length>0,className:"toast",$type:n.type,$index:r,$heights:t,$borderRadius:o[r],children:[(0,a.jsx)(nC,{type:n.type}),(0,a.jsxs)(nw,{children:[(0,a.jsx)(nk,{children:n.title}),(0,a.jsx)(ny,{children:n.subTitle})]})]},n.id))})};var nI=n(48090),nA=n(23832),nT=n(75523),nS=n.n(nT);let nR=i.Ay.nav.withConfig({componentId:"sc-1daf642a-0"})([""," width:100%;max-width:1600px;background:",";height:80px;padding:0px 24px;",""],b.d2,e=>{let{theme:t}=e;return t.Color.background.surface.base},e=>{let{theme:t}=e;return(0,s.MV)({},{},{padding:t.mobile.Font["line-height"].xs,height:"64px"},{padding:t.mobile.Font["line-height"].xs,height:"64px"})}),nN=i.Ay.div.withConfig({componentId:"sc-1daf642a-1"})([""," "," ",""],b.Q8,v.r.m("gap"),b.NY),nP=i.Ay.div.withConfig({componentId:"sc-1daf642a-2"})([""," gap:12px;> a{"," ","}.logo{","}"],b.Wh,b.om,b.NY,(0,s.MV)({},{},{width:"82px",height:"15px"},{width:"82px",height:"15px"}));i.Ay.div.withConfig({componentId:"sc-1daf642a-3"})(["display:flex;height:24px;width:46px;justify-content:center;align-items:center;gap:8px;background:#7d7d7d;padding:2px 8px;color:var(--black-white-white,#fff);border-radius:360px;text-align:center;line-height:16px;"," font-weight:600;font-size:12px;"],w.Il.body.xs);let nE=i.Ay.div.withConfig({componentId:"sc-1daf642a-4"})([""," gap:16px;",""],b.Q8,(0,s.MV)({},{},{gap:"4px",alignItems:"flex-start"},{gap:"4px",alignItems:"flex-start"}));i.Ay.div.withConfig({componentId:"sc-1daf642a-5"})(["width:1px;height:10px;background-color:",";"],(0,s.O4)("Color.background.border.divide-base"));let nO=i.Ay.div.withConfig({componentId:"sc-1daf642a-6"})(["",""],b.Wh);i.Ay.div.withConfig({componentId:"sc-1daf642a-7"})(["display:flex;padding:8px;align-items:center;gap:4px;"," background:",";border:1px solid ",";text-align:center;font-weight:500;color:",";"],w.Il.body.xs,e=>{let{theme:t}=e;return t.Color.background.component["notice-primary"]},e=>{let{theme:t}=e;return t.Color.background.border["divide-base"]},e=>{let{theme:t}=e;return t.Color.text.text.weak});let nD=i.Ay.div.withConfig({componentId:"sc-1daf642a-8"})(["display:flex;padding:8px 20px 8px 12px;align-items:center;gap:4px;white-space:nowrap;"," "," border:1px solid ",";"," border-radius:var(--Radius-full,999px);font-weight:500;"," color:",";"],w.Il.body.sm,b.Q8,e=>{let{theme:t}=e;return t.Color.background.border["outline-base"]},w.Il.body.xs,(0,s.MV)({},{},{padding:"0"},{padding:"0"}),e=>{let{theme:t}=e;return t.Color.text.text.weak}),nM=i.Ay.div.withConfig({componentId:"sc-1daf642a-9"})(["color:",";text-transform:capitalize;"],e=>{let{theme:t,$status:n}=e;return"healthy"===n?t.Color.background.Icon.positive_default:"notGood"===n?t.Color.background.Icon.out_default:t.Color.background.Icon.negative_default}),n_=i.Ay.div.withConfig({componentId:"sc-1daf642a-10"})([""," gap:8px;.icon{path{fill:",";}}&:hover{"," .icon{path{"," fill:",";}}}.prefix{path{stroke:none;fill:",";}}.menu{path{stroke:",";}}.network-dropdown .dropdown-menu-base{z-index:100;}"],b.Q8,(0,s.O4)("Color.background.Icon.primary_default"),b.lw,b.lw,e=>{let{theme:t}=e;return t.Color.background.component["primary-hover"]},e=>{let{theme:t}=e;return t.Color.background.Icon.strong},e=>{let{theme:t}=e;return t.Color.background.Icon.strong}),nF=i.Ay.ul.withConfig({componentId:"sc-1daf642a-11"})([""," "," a{"," ","}padding-right:4px;"],b.Q8,b.NY,b.NY,b.om),nK=i.Ay.li.withConfig({componentId:"sc-1daf642a-12"})(["padding:0px 12px;"," font-weight:500;"," "," text-align:center;color:",";&:hover,&.active{","color:",";}"],w.Il.body.sm,b.or,b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton.default},b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["default-hover"]});i.Ay.div.withConfig({componentId:"sc-1daf642a-13"})([""," gap:8px;height:30px;"],b.Wh),i.Ay.div.withConfig({componentId:"sc-1daf642a-14"})([""," height:100%;font-feature-settings:'cv13' on;font-family:",";font-size:28px;font-style:normal;font-weight:400;line-height:36px;color:",";svg{g{fill:",";}path{fill:",";}}
1"],b.Uu,nS().style.fontFamily,e=>{let{theme:t}=e;return t.Color.background.Icon["logo-black"]},(0,s.O4)("primary.400"),(0,s.O4)("primary.400"));let nz=i.Ay.div.withConfig({componentId:"sc-1daf642a-15"})([""," gap:4px;"],b.Wh);var nU=n(49746),nL=n(73119),nB=n(1232);let nV=i.Ay.div.withConfig({componentId:"sc-116e1fb4-0"})(["overflow:auto;"," z-index:80;top:56px;right:0px;width:400px;"," background:",";opacity:",";visibility:",";transform:",";pointer-events:",";"," .drawer-only{","}"],b.lw,b.ec,e=>{let{theme:t}=e;return t.Color.background.surface.base},e=>{let{$show:t}=e;return+!!t},e=>{let{$show:t}=e;return t?"visible":"hidden"},e=>{let{$show:t}=e;return t?"translateY(0px)":"translateY(8px)"},e=>{let{$show:t}=e;return t?"all":"none"},e=>{let{$show:t}=e;return(0,s.MV)({position:"absolute",transform:t?"translateY(0px)":"translateY(8px)"},{position:"absolute",transform:t?"translateY(0px)":"translateY(8px)"},{position:"fixed",top:"0px",height:"100dvh",transform:t?"translateX(0px)":"translateX(400px)"},{position:"fixed",top:"0px",height:"100dvh",transform:t?"translateX(0px)":"translateX(320px)",width:"320px"})},(0,s.MV)({display:"none"},{display:"none"},{display:"flex"},{display:"flex"})),n$=i.Ay.div.withConfig({componentId:"sc-116e1fb4-1"})([""," align-items:center;.close-icon{","}height:64px;padding:0px 16px;flex-shrink:0;color:",";.network{path{stroke:",";fill:none;}}"],b.d2,b.or,e=>{let{theme:t}=e;return t.Color.text.textButton["default-hover"]},e=>{let{theme:t}=e;return t.Color.background.Icon.base}),nX=i.Ay.div.withConfig({componentId:"sc-116e1fb4-2"})(["padding:2px 24px;"," gap:16px;image{border-radius:50%;}.profile{border-radius:50%;circle{fill:",";}path{fill:",";}}"],b.zF,e=>{let{theme:t}=e;return t.Color.background.Icon.primary_weak},e=>{let{theme:t}=e;return t.Color.background.Icon.primary_default}),nG=i.Ay.div.withConfig({componentId:"sc-116e1fb4-3"})([""," "," "," background:",";width:40px;height:40px;svg{path{stroke:",";}}&:hover{"," background:",";}"],b.or,b.tR,v.r.s("borderRadius"),e=>{let{theme:t}=e;return t.Color.background.component.default},e=>{let{theme:t}=e;return t.Color.background.Icon.strong},b.lw,e=>{let{theme:t}=e;return t.Color.background.component["default-hover"]}),nW=i.Ay.div.withConfig({componentId:"sc-116e1fb4-4"})(["",""],b.ec),nH=i.Ay.div.withConfig({componentId:"sc-116e1fb4-5"})([""," gap:8px;color:",";",""],b.zF,e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.title.xl),nq=i.Ay.div.withConfig({componentId:"sc-116e1fb4-6"})([""," flex-wrap:wrap;white-space:nowrap;gap:2px;color:",";"," a{color:",";"," &:hover{"," color:",";}}"],b.zF,e=>{let{theme:t}=e;return t.Color.text.text.weak},w.Il.body.md,e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},w.Il.body.md_underline,b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]}),nY=i.Ay.div.withConfig({componentId:"sc-116e1fb4-7"})(["width:100%;height:100%;"," gap:16px;padding:16px 0px 0px 0px;path,rect{pointer-events:none;}"],b.ec),nJ=i.Ay.div.withConfig({componentId:"sc-116e1fb4-8"})(["height:100%;"," gap:24px;padding:0px 24px 0px 24px;color:",";"," font-weight:500;.button{path{stroke:",";}}"],b.ec,e=>{let{theme:t}=e;return t.Color.text.button["default-inverse"]},w.Il.body.sm,e=>{let{theme:t}=e;return t.Color.background.Icon["strong-inverse"]}),nQ=i.Ay.div.withConfig({componentId:"sc-116e1fb4-9"})(["",""],b.ec),nZ=i.Ay.div.withConfig({componentId:"sc-116e1fb4-10"})(["color:",";"," margin-bottom:8px;"],e=>{let{theme:t}=e;return t.Color.text.text.weak},w.Il.title.md),n0=i.Ay.div.withConfig({componentId:"sc-116e1fb4-11"})([""," display:flex;padding:12px 0px;justify-content:space-between;align-items:center;align-self:stretch;color:",";"," &:hover{"," color:",";svg{path{"," fill:",";}g{"," fill:",";}}svg.top-account-icon path:first-child{stroke:",";fill:none;}.token-transfer,.nft-transfer{g,path{fill:none !important;stroke:",";}}}.token-transfer,.nft-transfer{g,path{fill:none !important;stroke:",";}}svg{path{fill:",";}g{fill:",";}}svg.top-account-icon path:first-child{stroke:",";fill:none;}svg.stats-icon g{opacity:1;}a{","}"],b.or,e=>{let{theme:t}=e;return t.Color.text.text.base},w.Il.body.md,b.lw,e=>{let{theme:t}=e;return t.Color.text.button.primary},b.lw,e=>{let{theme:t}=e;return t.Color.text.button.primary},b.lw,e=>{let{theme:t}=e;return t.Color.text.button.primary},e=>{let{theme:t}=e;return t.Color.text.button.primary},e=>{let{theme:t}=e;return t.Color.text.button.primary},e=>{let{theme:t}=e;return t.Color.background.Icon.base},e=>{let{theme:t}=e;return t.Color.background.Icon.base},e=>{let{theme:t}=e;return t.Color.background.Icon.base},e=>{let{theme:t}=e;return t.Color.background.Icon.base},b.c6),n1=i.Ay.div.withConfig({componentId:"sc-116e1fb4-12"})(["",""],b.d2),n2=i.Ay.div.withConfig({componentId:"sc-116e1fb4-13"})([""," gap:8px;"],b.zF),n4=i.Ay.div.withConfig({componentId:"sc-116e1fb4-14"})([".icon{path{fill:none !important;}}"]);i.Ay.div.withConfig({componentId:"sc-116e1fb4-15"})([""," align-items:center;height:40px;span{vertical-align:middle;","}path{","}rect,.logout-icon path:first-child{","}&:hover{"," span{}path{}rect,.logout-icon path:first-child{}}"],b.OL,b.lw,b.lw,b.lw,b.or);let n6=i.Ay.div.withConfig({componentId:"sc-116e1fb4-16"})(["display:flex;flex-direction:column;gap:4px;> a{width:100%;}.sub{width:100%;span,div{color:",";font-weight:400;","}svg path{stroke:",";","}&:hover{span,div{color:",";}svg path{stroke:",";}}}"],e=>{let{theme:t}=e;return t.Color.text.textButton.weak},b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton.weak},b.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["default-hover"]},e=>{let{theme:t}=e;return t.Color.text.textButton["default-hover"]}),n8=()=>{let e=nm(e=>e.menuOpen),t=nm(e=>e.setMenuOpen),n=(0,z.k)();(0,g.useEffect)(()=>(e?(document.body.style.overflow="hidden",document.body.style.touchAction="none"):(document.body.style.overflow="",document.body.style.touchAction=""),()=>{document.body.style.overflow="",document.body.style.touchAction=""}),[e]);let o=[{label:n("navigation.drawer.mainNet"),value:"mainnet"},{label:n("navigation.drawer.kairos"),value:"kairos"}],r=(0,G.sg)(),i=(0,eg.kH)(e=>e.user);return(0,a.jsxs)(nV,{className:"menu-dropdown",$show:e,children:[(0,a.jsxs)(n$,{className:"drawer-only menu-dropdown",children:[(0,a.jsx)(nL.m,{prefix:(0,a.jsx)(K.b2d,{width:24,height:24,className:"network"}),value:r.network,menuItems:o,onChange:e=>{e!==r.network&&window.open(r.networks[e])},size:"md",controlled:!0,variant:"default",style:{background:"none",padding:"0"}}),(0,a.jsx)(nG,{onClick:()=>t(!1),children:(0,a.jsx)(K.wQi,{width:20,height:20})})]}),(0,a.jsxs)(nY,{children:["mainnet"===r.network&&(i?(0,a.jsx)(n3,{}):(0,a.jsx)(n5,{})),(0,a.jsx)(x.iL,{}),(0,a.jsx)(n9,{})]})]})},n5=()=>{let e=(0,z.k)();nm(e=>e.menuOpen);let t=nm(e=>e.setMenuOpen);
1return(0,a.jsxs)(nX,{children:[(0,a.jsx)(K.yO8,{width:42,height:42,className:"profile"}),(0,a.jsxs)(nW,{children:[(0,a.jsx)(U.N_,{href:X.a.login,onClick:()=>t(!1),children:(0,a.jsxs)(nH,{children:[e("navigation.drawer.signIn"),(0,a.jsx)(K.lWp,{width:16,height:16})]})}),(0,a.jsxs)(nq,{children:[e("navigation.drawer.noAccount"),(0,a.jsx)(U.N_,{href:X.a.register,onClick:()=>t(!1),children:e("navigation.drawer.signUp")})]})]})]})},n3=()=>{let e=(0,eg.kH)(e=>e.user);return(0,a.jsxs)(nX,{children:[(0,a.jsx)(K.yO8,{width:48,height:48,className:"profile"}),(0,a.jsxs)(nW,{children:[(0,a.jsx)(nH,{children:null==e?void 0:e.name}),(0,a.jsx)(nq,{children:null==e?void 0:e.email})]})]})},n9=()=>{let e=(0,z.k)();nm(e=>e.menuOpen);let t=nm(e=>e.setMenuOpen),n=(0,eg.kH)(e=>e.user),o=(0,eg.kH)(e=>e.setUser),r={title:e("navigation.drawer.menu.menu"),items:[{icon:(0,a.jsx)(K.$tI,{width:24,height:24}),link:X.a.main,title:e("navigation.drawer.menu.home")},{icon:(0,a.jsx)(K.YAt,{width:24,height:24}),link:X.a.discover,title:e("navigation.menu.discover")}]},i={title:e("navigation.menu.stats"),items:[{icon:(0,a.jsx)(K.wis,{width:24,height:24}),link:X.a.charts,title:e("navigation.menu.kaiaStats")},{icon:(0,a.jsx)(K.wis,{width:24,height:24}),link:X.a.stablecoin,title:e("navigation.menu.stablecoin")},(0,G.p3)()?{icon:(0,a.jsx)(K.kSF,{width:24,height:24}),link:X.a.gcInfo,title:e("navigation.drawer.menu.gcInfo")}:void 0,(0,G.p3)()?{icon:(0,a.jsx)(K.kSF,{width:24,height:24}),link:X.a.nodeTracker,title:e("navigation.menu.nodeTracker")}:void 0].filter(e=>e)},l={title:e("navigation.menu.blockchain"),items:[{icon:(0,a.jsx)(K.E36,{width:24,height:24}),link:X.a.blocks,title:e("navigation.drawer.menu.blocks")},{icon:(0,a.jsx)(K.duG,{width:24,height:24}),link:X.a.transactions,title:e("navigation.drawer.menu.transactions")},{icon:(0,a.jsx)(K.duG,{width:24,height:24}),link:X.a.aaTransactions,title:e("navigation.menu.aaTransactions")},{icon:(0,a.jsx)(K.duG,{width:24,height:24}),link:X.a.eip7702Authorizations,title:e("navigation.menu.eip7702")},(0,G.p3)()?{icon:(0,a.jsx)(K.PGx,{width:24,height:24,className:"top-account-icon"}),link:X.a.topAddresses,title:e("navigation.menu.topAddresses")}:void 0].filter(e=>e)},s={title:e("navigation.menu.tokens"),items:[{icon:(0,a.jsx)(K.OyP,{width:24,height:24}),link:X.a.tokens,title:e("navigation.menu.topTokens")},{icon:(0,a.jsx)(K.kKx,{width:24,height:24,className:"token-transfer"}),link:X.a.tokenTransfers,title:e("navigation.menu.tokenTransfers")},(0,G.p3)()?{icon:(0,a.jsx)(K.wis,{width:24,height:24}),link:X.a.compare,title:"".concat(e("navigation.menu.compare")," (").concat(e("common.beta"),")")}:void 0,(0,G.p3)()?{icon:(0,a.jsx)(K.kKx,{width:24,height:24}),link:X.a.largeTransfers,title:e("navigation.menu.largeTransfers")}:void 0].filter(e=>e)},c={title:e("navigation.menu.nfts"),items:[{icon:(0,a.jsx)(K.HFt,{width:24,height:24}),link:X.a.nfts,title:e("navigation.menu.nfts")},{icon:(0,a.jsx)(K.JL3,{width:24,height:24,className:"nft-transfer"}),link:X.a.nftTransfers,title:e("navigation.menu.nftTransfers")}]},d={title:e("navigation.drawer.account.account"),items:[{icon:(0,a.jsx)(K.b1M,{width:24,height:24}),link:X.a.myAccount,title:e("navigation.drawer.account.accountOverview")},{icon:(0,a.jsx)(K.Ft,{width:24,height:24}),link:X.a.mySetting,title:e("navigation.drawer.account.accountSettings")},{icon:(0,a.jsx)(K.uyW,{width:24,height:24}),link:X.a.myPrivateNametag,title:e("navigation.drawer.account.privateNametag")},{icon:(0,a.jsx)(K.AF$,{width:24,height:24}),link:X.a.apiDashboard,title:e("navigation.drawer.account.apiDashboard")},{icon:(0,a.jsx)(K.yRK,{width:24,height:24}),link:X.a.myAddress,title:e("navigation.drawer.account.verifiedAddresses")},{icon:(0,a.jsx)(K.Ft,{width:24,height:24}),link:X.a.myAlerts,title:e("tokenAlerts.title")}]},p=async()=>{try{await (0,ez.ri)(),o(null),t(!1)}catch(e){ec.v.error(e)}};return(0,a.jsxs)(nJ,{children:[(0,a.jsx)(n7,{title:r.title,items:r.items}),(0,a.jsx)(n7,{title:l.title,items:l.items}),(0,a.jsx)(n7,{title:s.title,items:s.items}),(0,a.jsx)(n7,{title:c.title,items:c.items}),(0,G.p3)()?(0,a.jsx)(n7,{title:i.title,items:i.items,additionalItems:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ae,{icon:(0,a.jsx)(K.wis,{width:24,height:24}),title:e("navigation.menu.defiBeta"),items:[{title:e("defi.dashboard.title"),link:X.a.defi},{title:e("defi.dragonSwap.title"),link:X.a.defiDragonSwap},{title:"KlaySwap",link:X.a.defiKlaySwap},{title:"Consensus Liquidity DEX",link:X.a.defiConsensusLiquidityDex},{title:"GoldStation",link:X.a.defiGoldStation},{title:e("defi.definix.title"),link:X.a.defiDefinix},{title:e("defi.capybara.title"),link:X.a.defiCapybara},{title:"SuperEarn",link:X.a.defiSuperearn},{title:"Feather",link:X.a.defiFeather},{title:"AlphaSec",link:X.a.defiAlphasec}]}),(0,a.jsx)(ae,{icon:(0,a.jsx)(K.wis,{width:24,height:24}),title:e("navigation.menu.bridges"),items:[{title:e("bridges.overview"),link:X.a.bridges},{title:e("bridges.analytics.title"),link:X.a.bridgesAnalytics},{title:e("bridges.transactions.title"),link:X.a.bridgesTransactions}]}),(0,a.jsx)(ae,{icon:(0,a.jsx)(K.lJz,{width:24,height:24}),title:e("navigation.menu.developer"),items:[{title:e("navigation.menu.apiPlan"),link:X.a.apis},{title:e("navigation.menu.apiDocs"),link:(0,G.V$)(),external:!0},{title:e("navigation.menu.verifyContract"),link:X.a.contract},{title:e("navigation.menu.verifiedContracts"),link:X.a.verifiedContracts},{title:e("navigation.menu.contractDiffChecker"),link:X.a.contractDiffChecker},{title:e("navigation.menu.inputDataDecoder"),link:X.a.inputDataDecoder},{title:e("navigation.menu.inputDataEncoder"),link:X.a.inputDataEncoder},{title:e("navigation.menu.unitConverter"),link:X.a.unitConverter},{title:e("navigation.menu.balanceChecker"),link:X.a.balancecheckTool},{title:e("navigation.menu.tokenSupplyChecker"),link:X.a.tokenSupplyChecker}]})]})}):void 0,!!n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n7,{title:d.title,items:d.items}),(0,a.jsxs)(L.Cl,{$size:"lg",style:{marginTop:"auto",flexShrink:"0"},onClick:p,children:[(0,a.jsx)(K.ksI,{width:24,height:24,className:"button"}),e("navigation.drawer.signOut")]})]})]})},n7=e=>{let{title:t,items:n,additionalItems:o}=e;nm(e=>e.menuOpen);let r=nm(e=>e.setMenuOpen);(0,eg.kH)(e=>e.apiPlanVisible);let i=(0,eg.kH)(e=>e.setApiPlanVisible),l=()=>{r(!1),i(!1)};return(0,a.jsxs)(nQ,{children:[(0,a.jsx)(nZ,{children:t}),n.map((e,t)=>(0,a.jsx)(n0,{children:(0,a.jsx)(U.N_,{href:e.link,onClick:l,children:(0,a.jsxs)(n1,{children:[(0,a.jsxs)(n2,{children:[e.icon,(0,a.jsx)("div",{children:e.title})]}),(0,a.jsx)(n4,{children:(0,a.jsx)(K.lWp,{width:16,height:16,className:"icon"})})]})})},t)),o]})},ae=e=>{let{icon:t,title:n,items:o}=e;nm(e=>e.menuOpen);let r=nm(e=>e.setMenuOpen);(0,eg.kH)(e=>e.apiPlanVisible);let i=(0,eg.kH)(e=>e.setApiPlanVisible),l=()=>{r(!1),i(!1)};return(0,a.jsxs)(n6,{children:[(0,a.jsx)(n0,{children:(0,a.jsxs)(n1,{children:[(0,a.jsxs)(n2,{children:[t,(0,a.jsx)("div",{style:{fontWeight:500},children:n})]}),(0,a.jsx)(n4,{})]})}),o.map((e,t)=>(0,a.jsx)(U.N_,{href:e.link,target:e.external?"_blank":"_self",onClick:l,children:(0,a.jsxs)(n1,{className:"sub",children:[(0,a.jsxs)(n2,{children:[(0,a.jsx)(K.Kqy,{width:16,height:16}),(0,a.jsx)("div",{children:e.title})]}),(0,a.jsx)(n4,{children:(0,a.jsx)(K.lWp,{width:16,height:16,className:"icon"})})]})},t))]})};var at=n(73638),an=n(26497),aa=n(1733);let ao=e=>{let{label:t,menuItems:n,className:o}=e,[r,i]=(0,g.useState)(!1),l=(0,g.useRef)(null),s=(0,U.rd)(),c=(0,U.a8)();return(0,a.jsxs)(at.bH,{className:o,onMouseEnter:()=>{l.current&&clearTimeout(l.current),i(!0)},onMouseLeave:()=>{i(!1)},children:[(0,a.jsxs)(at.pl,{$isOpen:r,children:[(0,a.jsx)("span",{children:t}),(0,a.jsx)(K.JZ5,{width:16,height:16,className:"dropdown-icon"})]}),(0,a.jsx)(an.N,{children:r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(at.qR,{}),(0,a.jsx)(at.AA,{as:aa.P.ul,className:"dropdown-menu-base ".concat("Blockchain"===t?"blockchain-dropdown-menu":""),initial:{opacity:0,y:-10,scale:.95}
1,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.2,ease:[.4,0,.2,1]},children:n.map((e,t)=>(0,a.jsx)(at.LB,{$greenOnHover:!0,$active:(null==e?void 0:e.value)===c,onClick:()=>e.external?window.open(e.value,"_blank"):s.push(e.value),children:(0,a.jsx)("span",{children:e.label})},t))})]})})]})},ar=(0,Q.default)(()=>Promise.all([n.e(9066),n.e(7853),n.e(8674)]).then(n.bind(n,78674)).then(e=>e.LottieStatusGreen),{loadableGenerated:{webpack:()=>[78674]},ssr:!1,loading:()=>(0,a.jsx)(K._ux,{width:24,height:24})}),ai=(0,Q.default)(()=>Promise.all([n.e(9066),n.e(7853),n.e(8674)]).then(n.bind(n,78674)).then(e=>e.LottieStatusYellow),{loadableGenerated:{webpack:()=>[78674]},ssr:!1,loading:()=>(0,a.jsx)(K.BGc,{width:24,height:24})}),al=(0,Q.default)(()=>Promise.all([n.e(9066),n.e(7853),n.e(8674)]).then(n.bind(n,78674)).then(e=>e.LottieStatusRed),{loadableGenerated:{webpack:()=>[78674]},ssr:!1,loading:()=>(0,a.jsx)(K.Vob,{width:24,height:24})}),as=()=>{let e=(0,z.k)(),t=nm(e=>e.setMenuOpen),n=(0,U.a8)(),o=(0,eh.G)(e=>e.timer),r=(0,ep.v)(e=>e.finderStatus),i=o-(r.datetime?new Date(r.datetime):new Date).getTime(),l=(0,s.er)(i),c={healthy:(0,a.jsx)(ar,{}),notGood:(0,a.jsx)(ai,{}),unHealthy:(0,a.jsx)(al,{})},d=e=>n===e?"active":"";function p(e){return(0,G.p3)()?e:void 0}return(0,a.jsxs)(nR,{children:[(0,a.jsx)(nN,{children:(0,a.jsxs)(nE,{children:[(0,a.jsx)(ap,{}),(0,a.jsxs)(nO,{children:[(0,a.jsxs)(nD,{className:"pc-laptop",children:[c[l],(0,a.jsxs)(nz,{className:"pc-laptop",children:[(0,a.jsx)("div",{children:e("navigation.statusIs")}),(0,a.jsx)(nM,{$status:l,children:e("navigation.".concat(l))})]})]}),(0,a.jsxs)("div",{className:"tablet-mobile",children:[" ",c[l]]})]})]})}),(0,a.jsxs)(n_,{children:[(0,a.jsxs)(nF,{className:"pc-laptop",children:[(0,a.jsx)(ao,{label:e("navigation.menu.blockchain"),menuItems:[{label:e("navigation.menu.blocks"),value:X.a.blocks},{label:e("navigation.menu.transactions"),value:X.a.transactions},{label:e("navigation.menu.aaTransactions"),value:X.a.aaTransactions},{label:e("navigation.menu.eip7702"),value:X.a.eip7702Authorizations},p({label:e("navigation.menu.topAddresses"),value:X.a.topAddresses})].filter(e=>e)}),(0,a.jsx)(ao,{label:e("navigation.menu.tokens"),menuItems:[{label:e("navigation.menu.topTokens"),value:X.a.tokens},{label:e("navigation.menu.tokenTransfers"),value:X.a.tokenTransfers},p({label:"".concat(e("navigation.menu.compare")," (").concat(e("common.beta"),")"),value:X.a.compare}),p({label:e("navigation.menu.largeTransfers"),value:X.a.largeTransfers})].filter(e=>e)}),(0,a.jsx)(ao,{label:e("navigation.menu.nfts"),menuItems:[{label:e("navigation.menu.topNFTs"),value:X.a.nfts},{label:e("navigation.menu.nftTransfers"),value:X.a.nftTransfers}]}),(0,G.p3)()&&(0,a.jsx)(U.N_,{href:X.a.gcInfo,children:(0,a.jsx)(nK,{className:d(X.a.gcInfo),children:e("navigation.menu.gcInfo")})}),(0,G.p3)()&&(0,a.jsx)(U.N_,{href:X.a.nodeTracker,children:(0,a.jsx)(nK,{className:d(X.a.nodeTracker),children:e("navigation.menu.nodeTracker")})}),(0,G.p3)()&&(0,a.jsx)(ao,{label:e("navigation.menu.stats"),menuItems:[{label:e("navigation.menu.kaiaStats"),value:X.a.charts},{label:e("navigation.menu.stablecoin"),value:X.a.stablecoin},{label:e("navigation.menu.defiBeta"),value:X.a.defi},{label:e("navigation.menu.bridges"),value:X.a.bridges}]}),(0,a.jsx)(ao,{label:e("navigation.menu.developer"),menuItems:[{label:e("navigation.menu.apiPlan"),value:X.a.apis},{label:e("navigation.menu.apiDocs"),value:(0,G.V$)(),external:!0},{label:e("navigation.menu.verifyContract"),value:X.a.contract},{label:e("navigation.menu.verifiedContracts"),value:X.a.verifiedContracts},{label:e("navigation.menu.contractDiffChecker"),value:X.a.contractDiffChecker},{label:e("navigation.menu.inputDataDecoder"),value:X.a.inputDataDecoder},{label:e("navigation.menu.inputDataEncoder"),value:X.a.inputDataEncoder},{label:e("navigation.menu.unitConverter"),value:X.a.unitConverter},p({label:e("navigation.menu.balanceChecker"),value:X.a.balancecheckTool}),p({label:e("navigation.menu.tokenSupplyChecker"),value:X.a.tokenSupplyChecker})].filter(e=>e)}),(0,a.jsx)(U.N_,{href:X.a.discover,children:(0,a.jsx)(nK,{className:d(X.a.discover),children:e("navigation.menu.discover")})})]}),(0,a.jsx)(ac,{}),(0,G.p3)()&&(0,a.jsx)(ad,{}),(0,a.jsx)(L.Cg,{$size:"sm",className:"tablet-mobile",onClick:()=>t(!0),children:(0,a.jsx)(K.e_y,{width:24,height:24,className:"menu"})}),(0,a.jsx)(n8,{})]})]})},ac=()=>{let e=(0,z.k)(),t=(0,G.sg)(),n=[{label:e("common.network.mainnet"),value:nB.lg.mainnet},{label:e("common.network.kairos"),value:nB.lg.kairos}];return(0,a.jsx)(nL.m,{className:"pc-laptop network-dropdown",value:t.network,menuItems:n,onChange:e=>{e!==t.network&&window.open(t.networks[e])},size:"md",controlled:!0,variant:"secondary"})},ad=()=>{let e=(0,z.k)(),t=(0,eg.kH)(e=>e.user),n=!!(null==t?void 0:t.sessionId);return(0,a.jsx)(U.N_,{href:n?X.a.myAccount:X.a.login,children:(0,a.jsxs)(L.f5,{$size:"md",className:"pc-laptop",children:[n?(0,a.jsx)(nU.A,{width:24,height:24,className:"icon"}):(0,a.jsx)(K.X3u,{width:24,height:24,className:"icon"}),(0,a.jsx)("span",{children:n?t.name:e("navigation.signIn")})]})})},ap=()=>{let e=(0,u.C)(e=>e.theme);return(0,u.C)(e=>e.setTheme),(0,a.jsx)(nP,{children:(0,a.jsx)(U.N_,{href:X.a.main,prefetch:!0,children:e===B.lG.light?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K.Han,{width:180,height:30,className:"pc-laptop"}),(0,a.jsx)(K.PcT,{width:104,height:30,className:"tablet-mobile"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K.t6$,{width:180,height:30,className:"pc-laptop"}),(0,a.jsx)(K.B2S,{width:104,height:30,className:"tablet-mobile"})]})})})},au=i.Ay.div.withConfig({componentId:"sc-2b58b08f-0"})([""," background:",";width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;"],b.lw,e=>{let{theme:t}=e;return t.Color.background.surface.base}),ah=i.Ay.div.withConfig({componentId:"sc-2b58b08f-1"})([""," display:flex;width:100%;max-width:1600px;padding:8px 24px;height:56px;"," justify-content:space-between;align-items:center;background:",";border-bottom:1px solid ",";row-gap:8px;gap:16px;"," .top-bar-kaia-price-wrapper{","}"],b.lw,(0,s.MV)({},{},{padding:"8px"},{padding:"8px",height:"fit-content"}),e=>{let{theme:t}=e;return t.Color.background.surface.base},e=>{let{theme:t}=e;return t.Color.background.border["divide-base"]},(0,s.MV)({},{},{},{flexWrap:"wrap"}),(0,s.MV)({},{},{},{width:"100%"})),ag=i.Ay.div.withConfig({componentId:"sc-2b58b08f-2"})(["display:flex;> div{white-space:nowrap;}align-items:center;gap:4px;transition:all 0.15s width;",""],e=>{let{$isSearchResultOpen:t}=e;return(0,s.MV)({},{},{display:t?"none":"flex"},{})}),af=i.Ay.div.withConfig({componentId:"sc-2b58b08f-3"})(["color:",";text-align:center;"," font-weight:400;"],e=>{let{theme:t}=e;return t.Color.text.textButton.default},w.Il.body.sm),am=i.Ay.div.withConfig({componentId:"sc-2b58b08f-4"})(["color:",";text-align:center;"," font-weight:500;&.percent{"," color:",";div{display:inline-block;}}"],e=>{let{theme:t}=e;return t.Color.text.textButton.default},w.Il.body.sm,b.lw,e=>{let{theme:t,$isPositive:n}=e;return n?t.Color.background.Icon.positive_default:t.Color.background.Icon.negative_default});i.Ay.div.withConfig({componentId:"sc-2b58b08f-5"})(["display:flex;align-items:center;gap:4px;width:120px;.language-dropdown,.select-button{width:120px !important;}.select-list{left:0;width:120px;transform:none;}"]);let ax=i.Ay.button.withConfig({componentId:"sc-2b58b08f-6"})([""," display:flex;align-items:center;justify-content:center;padding:8px 16px;height:40px;min-width:unset;background:",";border:1px solid ",";border-radius:8px;
1cursor:pointer;&:hover{"," background:",";}"],b.lw,e=>{let{theme:t,$isOpen:n}=e;return n?t.Color.background.component["default-active"]:t.Color.background.component.default},e=>{let{theme:t,$isOpen:n}=e;return n?t.Color.background.border["line-primary"]:"transparent"},b.lw,e=>{let{theme:t}=e;return t.Color.background.component["default-hover"]}),ab=i.Ay.span.withConfig({componentId:"sc-2b58b08f-7"})(["color:",";"," font-weight:500;text-transform:uppercase;letter-spacing:0.02em;line-height:1;"],e=>{let{theme:t}=e;return t.Color.text.textButton.default},w.Il.body.xs),av=i.Ay.div.withConfig({componentId:"sc-2b58b08f-8"})(["position:absolute;top:calc(100% + 8px);right:0;min-width:104px;z-index:1;border-top:none;max-height:0;overflow:hidden;padding:",";"," "," border:1px solid ",";background:",";box-shadow:0px 4px 16px 0px rgba(0,0,0,0.16);backdrop-filter:blur(2px);"],e=>{let{$isOpen:t}=e;return t?"2px":"0"},e=>{let{$isOpen:t}=e;return t&&(0,i.AH)(["max-height:200px;overflow-y:auto;"])},v.r.m("borderRadius"),e=>{let{theme:t,$isOpen:n}=e;return n?t.Color.background.border["outline-strong"]:"none"},e=>{let{theme:t}=e;return t.Color.background.surface.base}),aw=i.Ay.div.withConfig({componentId:"sc-2b58b08f-9"})([""," padding:0 8px;height:28px;gap:6px;white-space:nowrap;cursor:pointer;word-break:break-all;"," color:",";font-weight:",";&:hover{"," font-weight:500;color:",";}svg{flex-shrink:0;path{stroke:",";}}"],b.zF,w.Il.body.xs,e=>{let{theme:t}=e;return t.Color.text.textButton.default},e=>{let{$isSelected:t}=e;return t?"500":"400"},b.lw,e=>{let{theme:t}=e;return t.Color.text.text["point-primary"]},e=>{let{theme:t}=e;return t.Color.background.Icon.primary_default}),ak=i.Ay.div.withConfig({componentId:"sc-2b58b08f-10"})(["position:relative;display:flex;align-items:center;outline:none;"]);var ay=n(21539),aC=n(96958),aj=n(10058);let aI=e=>{let{className:t}=e,n=(0,aC.Ym)(),o=(0,U.a8)(),r=(0,U.rd)(),i=(0,f.useSearchParams)(),[l,s]=(0,g.useState)(!1),c=(0,g.useRef)(null),d=[{value:"en",label:"English",code:"EN"},{value:"ko",label:"íêµì´",code:"KR"},{value:"ja",label:"æ¥æ¬èª",code:"JP"},{value:"zh",label:"䏿",code:"CN"}],p=d.find(e=>e.value===n)||d[0];return(0,g.useEffect)(()=>{let e=e=>{c.current&&!c.current.contains(e.target)&&s(!1)},t=e=>{"Escape"===e.key&&s(!1)};return l&&(document.addEventListener("mousedown",e),document.addEventListener("keydown",t)),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[l]),(0,a.jsxs)(ak,{ref:c,className:t,children:[(0,a.jsx)(ax,{$isOpen:l,onClick:()=>s(!l),type:"button","aria-label":"Select language (current: ".concat(p.label,")"),"aria-expanded":l,children:(0,a.jsx)(ab,{children:p.code})}),(0,a.jsx)(an.N,{children:l&&(0,a.jsx)(av,{as:aa.P.div,$isOpen:l,initial:{opacity:0,y:-10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.2,ease:[.4,0,.2,1]},children:d.map(e=>(0,a.jsxs)(aw,{$isSelected:n===e.value,onClick:()=>(e=>{localStorage.setItem(B.ss,e),document.cookie="".concat(B.ss,"=").concat(e,";path=/;max-age=").concat(31536e3,";SameSite=Lax");let t=i.toString(),n=t?"".concat(o,"?").concat(t):o;r.push(n,{locale:e}),s(!1)})(e.value),children:[n===e.value&&(0,a.jsx)(K.erz,{width:12,height:12}),n!==e.value&&(0,a.jsx)("div",{style:{width:"12px",minWidth:"12px"}}),e.label]},e.value))})})]})},aA=()=>{let e=(0,U.a8)()===X.a.main,t=(0,aj.j)(e=>e.searchValue),n=(0,aj.j)(e=>e.searchOpen),o=t.length>0&&n;return(0,a.jsxs)(ah,{children:[(0,a.jsxs)(b.so,{className:"top-bar-kaia-price-wrapper",justify:"space-between",children:[(0,a.jsx)(aT,{$isSearchResultOpen:o})," ",(0,a.jsx)(aI,{className:"mobile"})]}),e?(0,a.jsx)(aI,{className:"pc-laptop-tablet"}):(0,a.jsxs)(b.so,{gap:16,align:"center",style:{width:"100%"},justify:"flex-end",children:[(0,a.jsx)(ay.d7,{})," ",(0,a.jsx)(aI,{className:"pc-laptop-tablet"})]})]})},aT=e=>{let{$isSearchResultOpen:t}=e,n=(0,er.W)(e=>e.finderKaiaPrice);return(0,a.jsxs)(ag,{$isSearchResultOpen:t,children:[(0,a.jsx)(af,{children:"KAIA Price"}),(0,a.jsx)(am,{children:n.usd_price?(0,a.jsx)(eK.Vr,{price:n.usd_price}):"$0.0000"}),(0,a.jsx)(am,{className:"percent",$isPositive:parseFloat(n.usd_price_changes)>=0,children:(0,a.jsxs)("span",{children:["(",!n.usd_price_changes&&"+",(0,a.jsx)(eK.QE,{value:n.usd_price_changes||0,arrow:!1}),")"]})})]})};function aS(e){document.cookie="".concat(B.ss,"=").concat(e,";path=/;max-age=").concat(31536e3,";SameSite=Lax")}function aR(){let e=(0,aC.Ym)(),t=(0,U.a8)(),n=(0,U.rd)(),a=(0,f.useSearchParams)(),o=(0,g.useRef)(!1);return(0,g.useEffect)(()=>{"undefined"!=typeof document&&(document.documentElement.lang=e)},[e]),(0,g.useEffect)(()=>
1{if(o.current)return;let r=localStorage.getItem(B.ss);if(!r){localStorage.setItem(B.ss,e),aS(e);return}if(B.IB.includes(r)&&r!==e){o.current=!0,aS(r);let e=a.toString(),i=e?"".concat(t,"?").concat(e):t;n.replace(i,{locale:r})}},[e,t,n,a]),(0,g.useEffect)(()=>{let o=o=>{if(o.key!==B.ss||!o.newValue||!B.IB.includes(o.newValue)||o.newValue===e)return;aS(o.newValue);let r=a.toString(),i=r?"".concat(t,"?").concat(r):t;n.replace(i,{locale:o.newValue})};return window.addEventListener("storage",o),()=>window.removeEventListener("storage",o)},[e,t,n,a]),null}let aN=i.Ay.div.withConfig({componentId:"sc-8e9899db-0"})(["overflow-y:scroll;overflow-x:hidden;height:100dvh;display:flex;flex-direction:column;align-items:center;background-color:",";"],e=>{let{theme:t}=e;return t.Color.background.surface.alt}),aP=(0,Q.default)(()=>n.e(6468).then(n.bind(n,26468)).then(e=>e.ScrollToTop),{loadableGenerated:{webpack:()=>[26468]},ssr:!1}),aE=e=>{let{children:t}=e;return(0,a.jsx)(aN,{children:t})};function aO(e){let{children:t}=e,{gaId:n,target:i,network:l}=(0,G.sg)(),s=(0,U.a8)(),c=(0,X.k)(s),d=new o.E,u=(0,f.useSearchParams)(),h=(0,U.rd)();return(0,g.useEffect)(()=>{if(u.has("reload")&&u.get("reload")!==s){let e=new URLSearchParams(u);e.delete("reload"),h.push("".concat(s,"?").concat(e.toString()))}},[u]),(0,g.useEffect)(()=>{if(!H.wy.getState().cookieManager.analytical)return void nA.Ay.reset();n&&nA.Ay.initialize(n,{testMode:B.bD})},[]),(0,g.useEffect)(()=>{nA.Ay.isInitialized&&nA.Ay.send({hitType:"pageview",page:s,title:"".concat(i,"-").concat(l,": ").concat(s)})},[nA.Ay,s]),(0,a.jsx)(Z.x,{config:$.Gl,children:(0,a.jsxs)(r.Ht,{client:d,children:[(0,a.jsx)(aR,{}),(0,a.jsx)(m,{children:(0,a.jsx)(aD,{children:(0,a.jsx)(eo,{children:(0,a.jsx)(aM,{children:(0,a.jsx)(a_,{children:(0,a.jsx)(em,{children:(0,a.jsxs)(aF,{children:[(0,a.jsx)(p,{}),(0,a.jsx)(nx,{}),(0,a.jsx)(nb,{}),(0,a.jsx)(nh,{}),(0,a.jsx)(el.pT,{}),(0,a.jsx)(nj,{}),(0,a.jsxs)(aE,{children:[!c&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(au,{children:[(0,a.jsx)(aA,{}),(0,a.jsx)(as,{})]})}),t,!c&&(0,a.jsx)(Y,{}),!c&&(0,a.jsx)(aP,{})]})]})})})})})})})]})})}let aD=e=>{let{children:t}=e,n=(0,u.C)(e=>e.theme),o=h.Ay[n];return(0,a.jsx)(i.NP,{theme:o,children:t})},aM=e=>{let{children:t}=e,n=(0,eg.kH)(e=>e.userLoading),o=(0,eg.kH)(e=>e.setUserLoading),[,r]=(0,eg.S8)(),i=async()=>{o(!0),await r(),o(!1)};return(0,g.useLayoutEffect)(()=>{i()},[]),n?(0,a.jsx)(a.Fragment,{}):t},a_=e=>{let{children:t}=e,n=(0,eg.nH)(),a=(0,nI.Dh)();return(0,g.useEffect)(()=>{n?(0,ez.bH)().then(e=>{a(e.privateNameTags||[])}):a([])},[n]),t},aF=e=>{let{children:t}=e,n=(0,H.Kr)(e=>e.setModalOpen);return(0,g.useEffect)(()=>{window.localStorage.getItem(B.W0)||n(H.lX.cookie)},[n]),t}},25251:(e,t,n)=>{"use strict";n.d(t,{C:()=>h,EO:()=>y,Fr:()=>C,Hb:()=>p,Jc:()=>l,PW:()=>u,TT:()=>T,b4:()=>c,ee:()=>f,jp:()=>s,kV:()=>k,r0:()=>x,r6:()=>j,rX:()=>i,sg:()=>m,tg:()=>v,uh:()=>w,zD:()=>g,zm:()=>b,zz:()=>I});var a=n(4836);n(85809);var o=n(80587),r=n(41444);let i=e=>{let[t,n]=e.toString().split(".");return t.replace(/\B(?=(\d{3})+(?!\d))/g,",")+(n?".".concat(n):"")},l={Account:["Account Update","Fee Delegated Account Update"],ValueTransfer:["Value Transfer","Fee Delegated ValueTransfer","Fee Delegated Value Transfer With Ratio","Value Transfer Memo","Fee Delegated Value Transfer Memo","Fee Delegated Value Transfer Memo With Ratio"],ContractDeploy:["Smart Contract Deploy","Fee Delegated Smart Contract Deploy","Fee Delegated Smart Contract Deploy With Ratio"],ContractExecution:["Smart Contract Execution","Fee Delegated Smart Contract Execution","Fee Delegated Smart Contract Execution With Ratio"],Cancel:["Cancel","Fee Delegated Cancel","Fee Delegated Cancel With Ratio"],ServiceChain:["Chain Data Anchoring","Fee Delegated Chain Data Anchoring","Fee Delegated Chain Data Anchoring With Ratio"],Ethereum:["Ethereum Access List","Ethereum Dynamic Fee","Ethereum Set Code","Ethereum Blob"]},s=e=>{let t="Legacy"===e?"LegacyTransaction":e.replaceAll(" ","");return"TxType".concat(t)},c=(e,t)=>{let n="Legacy"===e?"LegacyTransaction":e.replaceAll(" ",""),a=e;try{a=t("common.txType.".concat(n))}catch(e){r.v.error(e)}return a},d=[null,void 0,""];function p(e){return Object.fromEntries(Object.entries(e).filter(e=>{let[,t]=e;return!(d.includes(t)||Array.isArray(t)&&0===t.length)}))}function u(e){return/0x[0-9a-zA-Z]+/.test(e)}let h=e=>{let t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",t.classList.add("copy-textarea"),document.body.appendChild(t),t.focu
1s(),t.select(),document.execCommand("copy"),document.body.removeChild(t)},g=(e,t)=>{if(e){let[,t]=/^([^(]+)/.exec(e)||[];return t||""}return t||""};function f(e,t){for(var n=arguments.length,a=Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];if(void 0!==e)return new t(e,...a)}let m=e=>a.ru.map(e=>e.replace("-","")).includes(e),x=e=>a.GS.map(e=>e.replace("-","")).includes(e),b=e=>"KIP17"===e||"ERC721"===e,v=e=>"KIP37"===e||"ERC1155"===e,w=e=>/^0x[0-9a-fA-F]{64}$/.test(e),k=e=>/^0x[0-9a-fA-F]{40}$/.test(e),y=(e,t)=>{let[n,a]=(0,o.A)(e).toFixed().split(".");return void 0===a?n:"".concat(n,".").concat(a.slice(0,t))},C=()=>!!window.navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i),j=e=>{let t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0"),o=String(e.getHours()).padStart(2,"0"),r=String(e.getMinutes()).padStart(2,"0"),i=String(e.getSeconds()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(a," ").concat(o,":").concat(r,":").concat(i)},I=e=>{let t=e.getUTCFullYear(),n=String(e.getUTCMonth()+1).padStart(2,"0"),a=String(e.getUTCDate()).padStart(2,"0"),o=String(e.getUTCHours()).padStart(2,"0"),r=String(e.getUTCMinutes()).padStart(2,"0"),i=String(e.getUTCSeconds()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(a," ").concat(o,":").concat(r,":").concat(i)},A=e=>!isNaN(Number(e)),T=e=>{if("number"==typeof e)return A(e);if("string"==typeof e)return!/<[^>]*>|<|>/g.test(e)&&(A(e)||e.trim().length>0);return!1}},28479:(e,t,n)=>{"use strict";n.d(t,{a:()=>a,k:()=>o});let a={main:"/",blocks:"/blocks",block:e=>"/block/".concat(e),transactions:"/txs",aaTransactions:"/txs/aa",eip7702Authorizations:"/txs/authorizations",bundleTransactions:"/txs/bundle",transaction:e=>"/tx/".concat(e),simpleTransaction:e=>"/tx/".concat(e,"/simple"),tokens:"/tokens",tokenTransfers:"/token-transfers",token:e=>"/token/".concat(e),nfts:"/nfts",nftTransfers:"/nft-transfers",nft:e=>"/nft/".concat(e),nftToken:(e,t)=>"/nft/".concat(e,"/").concat(t),address:e=>"/address/".concat(e),defi:"/defi",defiDragonSwap:"/defi/dragonswap-kaia",defiConsensusLiquidityDex:"/defi/consensus-liquidity-dex",defiGoldStation:"/defi/goldstation",defiDefinix:"/defi/definix",defiKlaySwap:"/defi/klayswap",defiCapybara:"/defi/capybara-exchange",defiSuperearn:"/defi/superearn",defiAlphasec:"/defi/alphasec",defiFeather:"/defi/feather",charts:"/charts",chartsDailyTvl:"/charts/daily-tvl",chartsDailyBlock:"/charts/daily-block",chartsDailyTransaction:"/charts/daily-transaction",chartsDailyToken:"/charts/daily-token",chartsDailyNft:"/charts/daily-nft",chartsDailyDeployedContract:"/charts/daily-account",unitConverter:"/unitconverter",topAddresses:"/top-accounts",login:"/auth/login",register:"/auth/register",emailVerified:"/auth/verified",contract:"/contract",contractSuccess:"/contract/success",contractError:"/contract/error",contractDiffChecker:"/contractdiffchecker",inputDataDecoder:"/inputdatadecoder",inputDataEncoder:"/inputdataencoder",verifiedContracts:"/verified-contracts",gcInfo:"/gc-info",lostPassword:"/auth/lost-password",myAccount:"/my/account",mySetting:"/my/setting",myAddress:"/my/verified-address",myAddAddress:"/my/add-verified-address",feedback:"/feedback",deleteAccount:"/my/delete",search:"/search",notFound:"/404",maintenance:"/maintenance",gcInfoDetail:e=>"/gc-info/".concat(e),tokenUpdate:"/token-update",contactUs:"/contact-us",terms:"/terms",privacyPolicy:"/privacy-policy",apiDashboard:"/my/api-dashboard",myApikeyStat:e=>"/my/api-dashboard/".concat(e),apis:"/oapi",advertise:"/contact-us-advertise",oapiTerms:"/oapi-terms-of-service",stablecoin:"/stablecoin",stablecoinTopAddresses:"/stablecoin/top-addresses",stablecoinDailyVolume:"/stablecoin/daily-volume",stablecoinDailyTransfer:"/stablecoin/daily-transfer",stablecoinDailyActiveAddress:"/stablecoin/daily-active-address",stablecoinDailyTotalSupply:"/stablecoin/daily-total-supply",stablecoinDailyTotalHolder:"/stablecoin/daily-total-holder",stablecoinDailyVelocity:"/stablecoin/daily-velocity",balancecheckTool:"/balancecheck-tool",tokenSupplyChecker:"/token-supply-checker",compare:"/compare",largeTransfers:"/large-transfers",myAlerts:"/my/alerts",myPrivateNametag:"/my/private-nametag",bridges:"/bridges",bridgesAnalytics:"/bridges/analytics",bridgesTransactions:"/bridges/transactions",discover:"/discover",nodeTracker:"/node-tracker"},o=e=>new RegExp(/\/simple$/).test(e)},31045:(e,t,n)=>{"use strict";n.d(t,{P:()=>r,U:()=>o});let a=e=>"route-change-".concat(e),o=(e,t)=>{window.dispatchEvent(new CustomEvent(a(e),{bubbles:!1,cancelable:!0,detail:t}))},r=(e,t)=>{let n=e=>{t(e.detail)};return window.addEventListener(a(e),n),()=>{window.removeEventListener(a(e),n)}}},37186:(e,t,n)=>{"use strict";n.d(t,{N_:()=>T,mX:()=>b,a8:()=>C,rd:()=>A});var a=n(95155),o=n(62182),r=n(4836),i=n(12115),l=n(31045),s=n(50625),c=n(96129),d=n(11369),p=n(39724),u=n(90714),h=n(15641),g=n(28479),f=n(52619),m=n.n(f);let x=()=>{let e=(0,p.k)();return(0,a.jsxs)(d.Lm,{children:[(0,a.jsxs)(d.u9,{children:[(0,a.jsx)(c.PqO,{width:80,height:80}),(0,a.jsx)(d.TX,{children:"404"}),(0,a.jsxs)(d.u9,{children:[(0,a.jsxs)(u.so,{direction:"column",align:"center",gap:8,children:[(0,a.jsx)(d.Ft,{children:e("404.subTitle")}),(0,a.jsxs)(u.so,{direction:"column",align:"center",gap:0,children:[(0,a.jsx)(d.di,{children:e("404.description")}),(0,a.jsx)(d.di,{children:e("404.description2")})]})]}),(0,a.jsx)(d.di,{children:e("404.description3")})]})]}),(0,a.jsx)(m(),{href:g.a.main,children:(0,a.jsx)(h.Cl,{$size:"md",children:e("error.goToHome")})})]})},b=()=>(0,a.jsx)(v,{});function v(){return(0,a.jsx)(w,{children:(0,a.jsx)(x,{})})}let w=s.Ay.div.withConfig({componentId:"sc-ef3da2db-0"})(["display:flex;padding:80px 0px;flex-direction:column;justify-content:center;align-items:center;gap:24px;align-self:stretch;overflow:hidden;width:100%;svg{}h2{text-align:center;text-align:center;width:312px;}p{margin:0px;text-align:center;word-break:break-word;}pre{width:100%;overflow:hidden;white-space:pre-wrap;word-wrap:break-word;padding-top:8px;text-align:center;}.button-wrap{width:312px;display:flex;flex-direction:column;gap:8px;a{width:100%;}}"]),{Link:k,redirect:y,usePathname:C,useRouter:j,permanentRedirect:I}=(0,o.A)({locales:r.IB,localePrefix:r.b,defaultLocale:"en"});function A(){let e=j(),t=(0,i.useRef)(null);return(0,i.useEffect)(()=>
1(t.current=new Proxy(e,{get:(e,t)=>"push"===t||"back"===t?function(){for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];return new URL(a[0],window.location.origin).pathname!==location.pathname&&(0,l.U)("start"),e[t](...a)}:e[t]}),()=>{t.current=null}),[e]),t.current||e}function T(e){let{href:t,className:n,children:o,onClick:r,...i}=e,s=C(),c=(null==i?void 0:i.target)||"_self";return(0,a.jsx)(k,{className:n,href:t,...i,onClick:e=>{null==r||r(e),e.defaultPrevented||"_blank"!==c&&s!==t&&(0,l.U)("start")},children:o})}},41444:(e,t,n)=>{"use strict";n.d(t,{v:()=>h});var a,o=n(85413),r=n.n(o),i=n(76269),l=n(35719),s=n(87358);let c={log:i.F.INFO,info:i.F.INFO,warn:i.F.WARN,error:i.F.ERROR,debug:i.F.DEBUG},d=l.K9.getLogger(null!=(a=s.env.OTEL_SERVICE_NAME)?a:"kaiascan-fe"),p={log:console.log,info:console.info,warn:console.warn,error:console.error,debug:console.debug};function u(e,t){let n=r().format(...t);d.emit({body:n,severityNumber:c[e],severityText:e.toUpperCase()}),p[e](...t)}let h={log:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u("log",t)},info:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u("info",t)},warn:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u("warn",t)},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u("error",t)},debug:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u("debug",t)}}},51644:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,r:()=>c});var a=n(72682),o=n(52454),r=n(50625),i=n(56618);let l=["m","full","s","l"],s=l.reduce((e,t)=>{let n=(0,r.AH)(["",""],(0,i.MV)({borderRadius:o.Radius[t]},{borderRadius:o.Radius[t]},{borderRadius:a.Radius[t]},{borderRadius:a.Radius[t]}));return{...e,[t]:n}},{}),c=l.reduce((e,t)=>({...e,[t]:e=>(0,r.AH)(["",""],(0,i.MV)({[e]:o.Radius[t]},{[e]:o.Radius[t]},{[e]:a.Radius[t]},{[e]:a.Radius[t]}))}),{})},62227:(e,t,n)=>{"use strict";n.d(t,{m:()=>o,u:()=>r});var a=n(25959);let o={sucessResult:void 0,errorResult:void 0,contractAddress:"",compilerType:"",compilerVersion:"",optimizationRuns:200,sourceCodeText:"",evmVersion:"default",optimization:!0,disabled:!0,loading:!1,contractSourceCodeType:"standardInputJson",contractName:"",errors:{}},r=(0,a.v)(e=>({contractVerificationForm:o,setContractVerificationForm:t=>e(e=>{let n="function"==typeof t?t(e.contractVerificationForm):t;return{contractVerificationForm:{...n,disabled:(e=>{let t="Vyper"===e.compilerType,n=!e.contractAddress||!e.compilerType||!e.compilerVersion;return("standardInputJson"===e.contractSourceCodeType||"vyperStandardJson"===e.contractSourceCodeType)&&(n=n||!e.inputJsonFile||!e.contractName),"soliditySingleFile"===e.contractSourceCodeType&&(n=n||!e.sourceCodeFile||!e.contractName),"vyperSingleFile"===e.contractSourceCodeType&&(n=n||!e.sourceCodeFile),!t&&e.optimization&&(n=n||null==e.optimizationRuns),n})(n)}}}),resetContractVerificationForm:()=>e({contractVerificationForm:o})}))},77854:(e,t,n)=>{"use strict";n.d(t,{Ae:()=>l,fs:()=>s});var a=n(90714),o=n(51644),r=n(7351),i=n(50625);let l=i.Ay.div.withConfig({componentId:"sc-25c76966-0"})(["li{list-style:auto !important;}"]);i.Ay.div.withConfig({componentId:"sc-25c76966-1"})([""," gap:8px;"],a.ec),i.Ay.div.withConfig({componentId:"sc-25c76966-2"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.base},r.Il.title.xs),i.Ay.div.withConfig({componentId:"sc-25c76966-3"})(["color:",";",""],e=>{let{theme:t}=e;return t.Color.text.text.weak},r.Il.body.sm);let s=i.Ay.textarea.withConfig({componentId:"sc-25c76966-4"})(["display:flex;padding:14px 12px;align-items:center;gap:8px;align-self:stretch;"," background:",";color:",";"," border:none;resize:none;outline:none;height:108px;border:1px solid transparent;&::placeholder{color:",";}&:focus-within{"," border:1px solid ",";background:",";}"],o.r.s("borderRadius"),e=>{let{theme:t}=e;return t.Color.background.component["input-default"]},e=>{let{theme:t}=e;return t.Color.text.text.base},r.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.Input["placeholder-default"]},a.lw,e=>{let{theme:t}=e;return t.Color.background.component["primary-default"]},e=>{let{theme:t}=e;return t.Color.background.surface.base})},84060:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});let a=JSON.parse('{"Color":{"background":{"Icon":{"weak":"#919db5","base":"#c8ceda","strong":"#ffffff","strong-inverse":"#000000","base-inverse":"#5e6a82","weak-inverse":"#919db5","base-hover":"#adb6c8","white":"#ffffff","in_default":"#40ab2b","in_weak":"#1f5214","out_default":"#ffc53d","out_weak":"#5c4716","primary_default":"#bff009","primary_weak":"#607805","positive_default":"#7eda6c","positive_weak":"#184110","notice_default":"#ffc53d","notice_weak":"#3d2f0d","negative_default":"#e85b56","negative_weak":"#391615","logo-black":"#ffffff","logo-white":"#040404","base-disabled":"#475062","active_default":"#41b2f1","active_weak":"#014170","logo-type-symbolBg":"#bff009","logo-text":"#ffffff","logo-symbol":"#040404"},"surface":{"base":"#181b21","alt":"#0f1015","scrim":"#0a0a0b80","toast tooltip":"#2f3541cc"},"component":{"default":"#2f3541","default-hover":"#475062","primary-default":"#bff009","primary-hover":"#acd808","mono-default":"#ffffff","default-inverse":"#f3f4f7","mono-hover":"#e4e7ed","input-default":"#2f3541","badge-secondary":"#83869580","tooltip":"#ccf33a","primary-weak":"#334003","primary-weak-hover":"#607805","top":"#475062","notice-primary":"#22272f","default-active":"#181b21","chip-fill":"#0f1015","top-hover":"#5e6a82","chip-default":"#2f3541","chip-hover":"#475062","default-inverse-hover":"#e4e7ed","input-focus":"#22272f","input-disabled":"#22272f","stong":"#5e6a82","strong-hover":"#7685a3","strong-active":"#919db5","input-affix":"#5e6a82"},"border":{"divide-weak":"#22272f","divide-base":"#2f3541","divide-strong":"#475062","outline-strong":"#5e6a82","outline-weak":"#0f1015","outline-base":"#2f3541","line-graph":"#acd808","line-primary-weak":"#607805","line-primary":"#bff009","outline-tooltip":"#919db5"}},"text":{"text":{"base":"#ffffff","weak":"#919db5","base-inverse":"#181b21","weak-inverse":"#475062","caption":"#adb6c8","badge":"#ffffff","point-primary":"#bff009"},"textButton":{"default":"#ffffff","default-hover":"#adb6c8","link-default":"#4ce275","link-hover":"#0faf49","weak":"#919db5","weak-hover":"#adb6c8","link-bg":"#072d11","disabled":"#475062"},"button":{"default":"#ffffff","default-inverse":"#2f3541","primary":"#bff009"},"Input":{"placeholder-default":"#adb6c8","placeholder-focus":"#ffffff","placeholder-disabled":"#475062"}}},"gray":{"100":"#e4e7ed","150":"#d4d9e2","200":"#c8ceda","300":"#adb6c8","400":"#919db5","500":"#7685a3","600":"#5e6a82","700":"#475062","800":"#2f3541","850":"#22272f","900":"#181b21","950":"#0f1015","980":"#0a0a0b","020":"#f7f8f8","050":"#f3f4f7"},"black&white":{"Black":"#000000","White":"#ffffff"},"primary":{"100":"#e5f99d","200":"#d9f66b","300":"#ccf33a","400":"#bff009","500":"#acd808","600":"#99c007","700":"#86a806","800":"#739005","900":"#607805","950":"#334003","050":"#f2fcce"},"opacity":{"secondary-5":"#83869580","gray 980-4":"#0a0a0b80","white-8":"#ffffffcc","gray 800-8":"#2f3541cc"},"Red":{"100":"#fbe4e0","200":"#f5cdc8","300":"#f0a6a0","400":"#eb807a","500":"#e85b56","600":"#ba4945","700":"#8b3734","800":"#5d2422","900":"#391615","950":"#1e0c0b","050":"#fdf7f6"},"Green":{"100":"#d9f4d4","200":"#a5e599","300":"#7eda6c","400":"#57cf3f","500":"#40ab2b","600":"#348b23","700":"#235e17","800":"#1f5214","900":"#184110","950":"#0e2509","050":"#f6fcf5"},"Yellow":{"100":"#fff9db","200":"#fff1b8","300":"#fae69a","400":"#ffd666","500":"#ffc53d","600":"#ba902d","700":"#8c6d22","800":"#5c4716","900":"#3d2f0d","950":"#221a07","050":"#fffef6"},"Blue":{"100":"#daf3fb","200":"#c1ecf5","300":"#a6def0","400":"#70c5f5","500":"#41b2f1","600":"#248dd9","700":"#1a72c3","800":"#0a5ba7","900":"#014170","950":"#012845","050":"#f2fafd"},"point":{"accent-500":"#144625","highlight-500":"#4ce275","decorative1":"#fdd6ca","decorative2":"#f8feb4","accent-400":"#278947","highlight-600":"#0faf49","accent-100":"#def6e6","highlight-100":"#eefdf2","accent-900":"#0c2b16","highlight-900":"#072d11"}}'),o=JSON.parse('{"Color":{"background":{"Icon":{"weak":"#919db5","base":"#5e6a82","strong":"#2f3541","strong-inverse":"#ffffff","base-inverse":"#c8ceda","weak-inverse":"#919db5","base-hover":"#7685a3","white":"#ffffff","in_default":"#40ab2b","in_weak":"#d9f4d4","out_default":"#ffc53d","out_weak":"#fff9db","primary_default":"#99c007","primary_weak":"#e5f99d","positive_default":"#40ab2b","positive_weak":"#d9f4d4","notice_default":"#ba902d","notice_weak":"#fff1b8","negative_default":"#e85b56","negative_weak":"#fdf7f6","logo-black":"#040404","logo-white":"#ffffff","base-disabled":"#c8ceda","active_default":"#41b2f1","active_weak":"#daf3fb","logo-type-symbolBg":"#040404","logo-text":"#040404","logo-symbol":"#bff009"},"surface":{"base":"#ffffff","alt":"#f7f8f8","scrim":"#0a0a0b80","toast tooltip":"#ffffffcc"},"component":{"default":"#e4e7ed","default-hover":"#d4d9e2","primary-default":"#99c007","primary-hover":"#86a806","mono-default":"#000000","default-inverse":"#2f3541","mono-hover":"#181b21","input-default":"#e4e7ed","badge-secondary":"#83869580","tooltip":"#607805","primary-weak":"#e5f99d","primary-weak-hover":"#d9f66b","top":"#ffffff","notice-primary":"#f3f4f7","default-active":"#ffffff","chip-fill":"#f7f8f8","top-hover":"#e4e7ed","chip-default":"#f3f4f7","chip-hover":"#e4e7ed","default-inverse-hover":"#475062","input-focus":"#f7f8f8","input-disabled":"#c8ceda","stong":"#919db5","strong-hover":"#7685a3","strong-active":"#5e6a82","input-affix":"#d6dae1"},"border":{"divide-weak":"#f3f4f7","divide-base":"#e4e7ed","divide-strong":"#c8ceda","outline-strong":"#c8ceda","outline-weak":"#f7f8f8","outline-base":"#e4e7ed","line-graph":"#99c007","line-primary-weak":"#ccf33a","line-primary":"#acd808","outline-tooltip":"#5e6a82"}},"text":{"text":{"base":"#181b21","weak":"#5e6a82","base-inverse":"#ffffff","weak-inverse":"#919db5","caption":"#919db5","badge":"#ffffff","point-primary":"#99c007"},"textButton":{"default":"#22272f","default-hover":"#7685a3","link-default":"#278947","link-hover":"#144625","weak":"#7685a3","weak-hover":"#919db5","link-bg":"#def6e6","disabled":"#c8ceda"},"button":{"default":"#2f3541","default-inverse":"#ffffff","primary":"#86a806"},"Input":{"placeholder-default":"#7685a3","placeholder-focus":"#181b21","placeholder-disabled":"#919db5"}}},"gray":{"100":"#e4e7ed","150":"#d4d9e2","200":"#c8ceda","300":"#adb6c8","400":"#919db5","500":"#7685a3","600":"#5e6a82","700":"#475062","800":"#2f3541","850":"#22272f","900":"#181b21","950":"#0f1015","980":"#0a0a0b","020":"#f7f8f8","050":"#f3f4f7"},"black&white":{"Black":"#000000","White":"#ffffff"},"primary":{"100":"#e5f99d","200":"#d9f66b","300":"#ccf33a","400":"#bff009","500":"#acd808","600":"#99c007","700":"#86a806","800":"#739005","900":"#607805","950":"#334003","050":"#f2fcce"},"opacity":{"secondary-5":"#83869580","gray 980-4":"#0a0a0b80","white-8":"#ffffffcc","gray 800-8":"#2f3541cc"},"Red":{"100":"#fbe4e0","200":"#f5cdc8","300":"#f0a6a0","400":"#eb807a","500":"#e85b56","600":"#ba4945","700":"#8b3734","800":"#5d2422","900":"#391615","950":"#1e0c0b","050":"#fdf7f6"},"Green":{"100":"#d9f4d4","200":"#a5e599","300":"#7eda6c","400":"#57cf3f","500":"#40ab2b","600":"#348b23","700":"#235e17","800":"#1f5214","900":"#184110","950":"#0e2509","050":"#f6fcf5"},"Yellow":{"100":"#fff9db","200":"#fff1b8","300":"#fae69a","400":"#ffd666","500":"#ffc53d","600":"#ba902d","700":"#8c6d22","800":"#5c4716","900":"#3d2f0d","950":"#221a07","050":"#fffef6"},"Blue":{"100":"#daf3fb","200":"#c1ecf5","300":"#a6def0","400":"#70c5f5","500":"#41b2f1","600":"#248dd9","700":"#1a72c3","800":"#0a5ba7","900":"#014170","950":"#012845","050":"#f2fafd"},"point":{"accent-500":"#144625","highlight-500":"#4ce275","decorative1":"#fdd6ca","decorative2":"#f8feb4","accent-400":"#278947","highlight-600":"#0faf49","accent-100":"#def6e6","highlight-100":"#eefdf2","accent-900":"#0c2b16","highlight-900":"#072d11"}}');var r=n(72682),i=n(52454),l=n(4836);let s={dark:{mode:l.lG.dark,...a,mobile:r,desktop:i},light:{mode:l.lG.light,...o,mobile:r,desktop:i}}},85809:(e,t,n)=>{"use strict";n.d(t,{A$:()=>g,V$:()=>p,Zp:()=>d,eK:()=>h,p3:()=>s,sg:()=>c,yZ:()=>u});var a=n(25251),o=n(1232),r=n(61126),i=n(4836);let l=()=>(0,a.Hb)({target:(0,r.env)("NEXT_PUBLIC_TARGET")||"",network:(0,r.env)("NEXT_PUBLIC_NETWORK")||""}),s=()=>l().network===o.lg.mainnet,c=()=>{let e=l(),t=o.PI[e.target][e.network];return{...e,...t}},d=()=>c().kaiStartDate,p=()=>l().target===o.We.prod?"https://docs.kaiascan.io/":"https://dev-docs.kaiascan.io/",u=e=>1!==e&&2!==e?"-":s()?1===e?i.Cl:i.pB:1===e?i.Nt:i.AV,h=e=>{let t=p();return"".concat(t,"/plans/").concat(e.replaceAll("_"," "))};var g=function(e){return e.AGE="age",e.UTC="utc",e.LOCAL="local",e}({})},91542:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var a=n(25959);let o={consensus_node:0,avg_block_time1h:"0",avg_block_time24h:"0",avg_tx_per_block24h:0},r=(0,a.v)(e=>
1({finderSummary:o,setFinderSummary:t=>e({finderSummary:t})}))}},e=>{e.O(0,[5387,3107,9922,1750,8955,2619,3357,3865,5239,7517,1733,3070,2085,8424,2077,7240,9327,5107,292,1141,3936,8830,5897,46,60,6525,974,3789,3098,6388,1088,4664,347,8441,1255,7358],()=>e(e.s=17554)),_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.