1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5457],{34045:(e,t,n)=>{let r=n(79474),i=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{d:"M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"}),r.createElement("path",{d:"M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"}))});e.exports=i},23961:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[chainId]/dao/[daoAddress]/viewAll/[listName]",function(){return n(97226)}])},77401:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(13274),i=n(45876),s=n(28745),o=n(30645),a=n(3387),l=n(34045),d=n.n(l),c=n(50995),h=n(12490),x=n(54644),u=n(49962),p=n(1536),m=n(13181);function k(e){var t;let{address:n,isCopyButton:l=!1,isLink:k=!1}=e,[j]=(0,h.fp)(x.k),f=(0,c.PV)(),g=(0,c.aH)();return(0,r.jsx)(m.A,{p:"0px",px:{base:"8px",md:"12px"},py:"6px",w:"fit-content",borderRadius:"full",borderColor:f,children:(0,r.jsxs)(i.z,{spacing:"12px",children:[(0,r.jsx)(s.E,{variant:"address",children:(0,u.Wr)(n)}),l&&(0,r.jsx)(p.A,{valueForCopy:n}),k&&(0,r.jsx)(o.N,{isExternal:!0,href:"".concat(j.EXPLORER_ADDRESS,"/").concat(null!==(t=j.EXPLORER_ADDRESS_PREFIX)&&void 0!==t?t:"address","/").concat(n),children:(0,r.jsx)(a.a,{boxSize:{base:"14px",md:"16px"},color:f,_hover:{color:g},_active:{color:g},children:(0,r.jsx)(d(),{width:"100%",height:"100%"})})})]})})}},30843:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(13274);let i=e=>{let{width:t=27,height:n=27}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("svg",{width:t,height:n,viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M10.9528 2.31098C12.3979 0.999919 14.6021 0.999919 16.0472 2.31098V2.31098C16.7821 2.9778 17.7493 3.32982 18.7409 3.29143V3.29143C20.6906 3.21596 22.3792 4.6328 22.6434 6.56599V6.56599C22.7778 7.54924 23.2924 8.44058 24.0767 9.04859V9.04859C25.6188 10.244 26.0016 12.4147 24.9613 14.0655V14.0655C24.4323 14.9051 24.2536 15.9187 24.4636 16.8886V16.8886C24.8764 18.7956 23.7743 20.7045 21.9164 21.3004V21.3004C20.9714 21.6035 20.183 22.2651 19.7204 23.1431V23.1431C18.8109 24.8693 16.7396 25.6232 14.9333 24.8854V24.8854C14.0146 24.5102 12.9854 24.5102 12.0667 24.8854V24.8854C10.2604 25.6232 8.18908 24.8693 7.27959 23.1431V23.1431C6.81701 22.2651 6.02857 21.6035 5.0836 21.3004V21.3004C3.22567 20.7045 2.12356 18.7956 2.53644 16.8886V16.8886C2.74644 15.9187 2.56772 14.9051 2.03865 14.0655V14.0655C0.998444 12.4147 1.3812 10.244 2.92327 9.04859V9.04859C3.70759 8.44058 4.22221 7.54924 4.3566 6.56599V6.56599C4.62084 4.6328 6.30937 3.21596 8.25907 3.29143V3.29143C9.25072 3.32982 10.2179 2.9778 10.9528 2.31098V2.31098Z",fill:"url(#paint0_linear_1401_1102)"}),(0,r.jsx)("path",{d:"M19.8436 10.2291L19.8437 10.229C20.2559 9.8163 20.2559 9.15669 19.8437 8.74402C19.4313 8.33116 18.7718 8.33116 18.3594 8.74402L11.0776 16.0338L8.64041 13.594C8.228 13.1811 7.56855 13.1811 7.15614 13.594C6.74392 14.0067 6.74392 14.6663 7.15614 15.0789L10.3279 18.2541C10.7403 18.667 11.4073 18.667 11.8197 18.2541L19.8436 10.2291Z",fill:"white",stroke:"white","stroke-width":"0.6"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_1401_1102",x1:"27",y1:"-8.04663e-07",x2:"13.5",y2:"27",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{"stop-color":"#0085FF"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#0037FF"})]})})]})})}},43400:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(13274),i=n(83508),s=n(3387),o=n(45876),a=n(62238),l=n(28745),d=n(26425),c=n(2035),h=n(62260),x=n(82317),u=n(10194),p=n(67360),m=n(86129),k=n(77401),j=n(30843),f=n(50995),g=n(12490),y=n(79474),b=n(54644),L=n(49962);function w(e){var t;let{address:n,addressName:w,title:E,helper:v,isAddressBadge:C=!1,isChainBadge:A=!1,isCentered:I=!1,isEditable:F=!1,isReversed:V=!1,isVerified:z=!1,strokeType:W="none"}=e,[H]=(0,g.fp)(b.k),_=null!==(t=(0,i.A)({base:96,md:144}))&&void 0!==t?t:144,D=(0,f.z6)(),N=(0,f.qB)(),M=(0,y.useMemo)(()=>"plus"===W?"linear-gradient(206.57deg, #880052 0%, #FF2B4F 56.42%, #FF5E1A 83.33%)":"business"===W?"linear-gradient(206.57deg, #590DA6 0%, #C82BFF 56.42%, #EB23D7 83.33%)":"linear-gradient(".concat(D,", ").concat(D,", ").concat(D,")"),[D,W]),T=(0,i.A)({base:(0,L.Tz)(w),sm:w}),S=(0,y.useCallback)(e=>F?(0,r.jsx)(p.A,{isVerified:z,children:e}):e,[F,z]),R=(0,y.useMemo)(()=>(0,r.jsx)(s.a,{position:"relative",zIndex:"10",px:{base:"8px",md:"16px"},left:I&&A?{base:"16px",md:"23px"}:0,w:"fit-content",children:(0,r.jsxs)(o.z,{spacing:"0px",align:"flex-end",justify:I?"center":"flex-start",w:"fit-content",children:[S((0,r.jsx)(s.a,{borderRadius:"full",border:"2px s
1olid ".concat(D),bgColor:N,style:{overflowX:"hidden",float:"left"},children:(0,r.jsx)(s.a,{borderRadius:"full",border:"none"===W?"0px":"4px solid",borderColor:"transparent",background:"linear-gradient(".concat(N,", ").concat(N,", ").concat(N,") padding-box, ").concat(M," border-box"),children:(0,r.jsx)(s.a,{borderRadius:"full",border:"2px solid ".concat(D),bgColor:N,children:(0,r.jsx)(m.A,{chainId:H.CHAIN_ID,name:n,w:_})})})})),A&&(0,r.jsx)(s.a,{borderRadius:"full",border:{base:"2px solid ".concat(D),md:"4px solid ".concat(D)},bgColor:N,position:"relative",left:{base:"-28px",md:"-42px"},bottom:{base:"6px",md:"4px"},boxSize:{base:"32px",md:"46px"},children:(0,r.jsx)(a._,{src:"/images/networks/".concat(H.LOGO),alt:"logo",height:{base:"28px",md:"38px"},width:{base:"28px",md:"38px"},pr:"0"})})]})}),[S,n,N,D,_,I,A,H.CHAIN_ID,H.LOGO,M,W]),Y=(0,y.useMemo)(()=>(0,r.jsxs)(o.z,{justify:I?"center":"flex-start",spacing:"4px",children:[(0,r.jsx)(l.E,{variant:"heading",as:"h1",textAlign:I?"center":"start",children:V?"".concat(T).concat(E?" ".concat(E):""):"".concat(E?"".concat(E," "):"").concat(T)}),z&&(0,r.jsx)(d.m,{label:"DAO's socials were verified",placement:"bottom",children:(0,r.jsx)(s.a,{boxSize:{base:"20px",md:"24px"},children:(0,r.jsx)(j.M,{width:"100%",height:"100%"})})})]}),[I,V,z,T,E]);return(0,r.jsxs)(s.a,{mt:{base:"-80px",md:"-96px",lg:"-120px"},children:[I?(0,r.jsx)(c.o,{children:R}):R,(0,r.jsxs)(h.B,{spacing:"4px",justify:I?"center":"flex-start",pt:{base:"12px",md:"16px"},children:[I?(0,r.jsxs)(r.Fragment,{children:[Y,C&&(0,r.jsx)(o.z,{justify:"center",children:(0,r.jsx)(k.A,{address:n,isCopyButton:!0,isLink:!0})})]}):(0,r.jsxs)(x.B,{align:"center",spacingX:"12px",spacingY:"4px",children:[(0,r.jsx)(x.Q,{children:(0,r.jsx)(u.E,{borderRadius:"8px",isLoaded:void 0!==T,children:Y})}),C&&(0,r.jsx)(x.Q,{children:(0,r.jsx)(k.A,{address:n,isCopyButton:!0,isLink:!0})})]}),!!v&&(0,r.jsx)(s.a,{children:v})]})]})}},62392:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(13274),i=n(43400),s=n(96914),o=n(314),a=n(12490),l=n(54644);function d(e){var t,n;let{title:d,addressName:c,helper:h,isReversed:x=!1,isCentered:u=!1}=e,p=(0,s.u8)(),[m]=(0,a.fp)(l.k),{data:k}=(0,s.CQ)({chainId:m.CHAIN_ID,daoAddress:p}),j=null!==(t=(0,o.R)({chainId:m.CHAIN_ID,daoAddress:p}).data)&&void 0!==t?t:-1;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(i.A,{address:p,addressName:null!==(n=null!=c?c:null==k?void 0:k.daoName)&&void 0!==n?n:"DAO",title:d,helper:h,isReversed:x,isCentered:u,isChainBadge:!0,strokeType:0===j?"plus":1===j?"business":"none"})})}},97226:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ee});var r=n(13274),i=n(26565),s=n(62260),o=n(45876),a=n(64787),l=n(78566),d=n(3387),c=n(25106),h=n(7283),x=n(98286),u=n(99711),p=n(72305),m=n(62392),k=n(36903),j=n(76785),f=n(50418),g=n(23437),y=n(2644),b=n(19096),L=n(17484),w=n(54678),E=n(64890),v=n(51119),C=n(73021),A=n.n(C),I=n(96914),F=n(12490),V=n(21499),z=n(79474),W=n(54644),H=n(82070);function _(){let[e]=(0,F.fp)(W.k),t=(0,I.u8)(),{data:n}=(0,I.wq)({daoAddress:t,chainId:e.CHAIN_ID}),i=(0,z.useCallback)(()=>{n&&(0,H.z)(n.map(e=>({Title:e.title,Description:e.description,Type:e.type,Creator:e.creator,Start:A().unix(e.startTimestamp).format("HH:mm DD.MM.YYYY"),End:A().unix(e.endTimestamp).format("HH:mm DD.MM.YYYY"),"Number of Participants":e.signers.length,"Total Voting Power":e.totalPower,Status:e.status})),"Proposals.csv")},[n]);return(0,r.jsx)(r.Fragment,{children:t&&n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.a,{display:{base:"none",sm:"initial"},children:(0,r.jsx)(E.$,{leftIcon:(0,r.jsx)(V.A,{size:14,weight:"bold"}),size:"sm",variant:"extra",onClick:i,children:"Export CSV"})}),(0,r.jsx)(d.a,{h:"36px",w:"36px",minW:"36px",display:{base:"initial",sm:"none"},children:(0,r.jsx)(v.K,{size:"icon",variant:"extra","aria-label":"export-csv",onClick:i,icon:(0,r.jsx)(V.A,{size:18,weight:"bold"})})})]})})}function D(e){var t;let{isGtToken:n}=e,[i]=(0,F.fp)(W.k),s=(0,I.u8)(),{data:o}=(0,I.CQ)({daoAddress:s,chainId:i.CHAIN_ID}),{data:a}=(0,I.Y4)({tokenAddress:n?s:null!==(t=null==o?void 0:o.lp)&&void 0!==t?t:"",chainId:i.CHAIN_ID});return(0,r.jsx)(r.Fragment,{children:s&&a&&(0,r.jsx)(E.$,{leftIcon:(0,r.jsx)(V.A,{size:14,weight:"bold"}),size:"sm",variant:"extra",onClick:()=>(0,H.z)(a.map(e=>({Address:e.address,Balance:e.balance,Share:e.share})),"".concat(n?"GT-Holders":"LP-Holders",".csv")),children:"Export CSV"})})}var N=n(49962);function M(){let[e]=(0,F.fp)(W.k),t=(0,I.u8)(),{data:n}=(0,I.NO)({chainId:e.CHAIN_ID,address:t});return(0,r.jsx)(r.Fragment,{children:t&&n&&(0,r.jsx)(E.$,{leftIcon:(0,r.jsx)(V.A,{size:14,weight:"bold"}),size:"sm",variant:"extra",onClick:()=>(0,H.z)(n.map(t=>({"Token Name":t.name,"Token Symbol":t.symbol,"Token Address":(0,N.vs)(t,e)?"-":t.address,"DAO Balance":t.balance})),"Tokens.csv"),children:"Export CSV"})})}function T(){let[e]=(0,F.fp)(W.k),t=(0,I.u8)(),{data:n}=(0,I._8)({address:t,chainId:e.CHAIN_ID});return(0,r.jsx)(r.Fragment,{children:t&&n&&(0,r.jsx)(E.$,{leftIcon:(0,r.jsx)(V.A,{size:14,weight:"bold"}),size:"sm",variant:"extra",onClick:()=>{var e;return(0,H.z)(null!==(e=n.map(e=>({"Tx Hash":e.txHash,Timestamp:A().unix(e.timestamp).format("HH:mm DD.MM.YYYY"),"Gas Fee":e.gasFee})))&&void 0!==e?e:[],"Transaction.csv")},children:"Export CSV"})})}function S(){let[e]=(0,F.fp)(W.k),t=(0,I.u8)(),{data:n}=(0,I.Le)({daoAddress:t,chainId:e.CHAIN_ID}),i=(0,z.useCallback)(()=>{n&&(0,H.z)(n.map(e=>({Title:e.title,Description:e.description?e.description:"This Voting has no Description",Creator:e.creator,"Created At":A().unix(e.createdAt).format("HH:mm DD.MM.YYYY"),"Number of Participants":e.signatures.length,Quorum:e.quorum,Status:e.tag})),"Voting.csv")},[n]);return(0,r.jsx)(r.Fragment,{children:t&&n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.a,{display:{base:"none",sm:"initial"},children:(0,r.jsx)(E.$,{leftIcon:(0,r.jsx)(V.A,{size:14,weight:"bold"}),size:"sm",variant:"extra",onClick:i,children:"Export CSV"})}),(0,r.jsx)(d.a,{h:"36px",w:"36px",minW:"36px",display:{base:"initial",sm:"none"},children:(0,r.jsx)(v.K,{size:"icon",variant:"extra","aria-label":"export-csv",onClick:i,icon:(0,r.jsx)(V.A,{size:18,weight:"bold"})})})]})})}var R=n(314),Y=n(51562),O=n(20178),B=n(83254),P=new Map;P.set("bold",function(e){return z.createElement(z.Fragment,null,z.createElement("rect",{x:"48",y:"48",width:"60",height:"60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),z.createElement("rect",{x:"148",y:"48",width:"60",height:"60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),z.createElement("rect",{x:"48",y:"148",width:"60",height:"60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),z.createElement("rect",{x:"148",y:"148",width:"60",height:"60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))}),P.set("duotone",function(e){return z.createElement(z.Fragment,null,z.createElement("rect",{x:"48",y:"48",width:"64",height:"64",opacity:"0.2"}),z.createElement("rect",{x:"144",y:"48",width:"64",height:"64",opacity:"0.2"}),z.createElement("rect",{x:"48",y:"144",width:"64",height:"64",opacity:"0.2"}),z.createElement("rect",{x:"144",y:"144",width:"64",height:"64",opacity:"0.2"}),z.createElement("rect",{x:"144",y:"144",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("rect",{x:"48",y:"48",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("rect",{x:"144",y:"48",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("rect",{x:"48",y:"144",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}),P.set("fill",function(){return z.createElement(z.Fragment,null,z.createElement("rect",{x:"40",y:"40",width:"80",height:"80",rx:"8"}),z.createElement("rect",{x:"136",y:"40",width:"80",height:"80",rx:"8"}),z.createElement("rect",{x:"40",y:"136",width:"80",height:"80",rx:"8"}),z.createElement("rect",{x:"136",y:"136",width:"80",height:"80",rx:"8"}))}),P.set("light",function(e){return z.createElement(z.Fragment,null,z.createElement("rect",{x:"48",y:"48",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),z.createElement("rect",{x:"144",y:"48",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),z.createElement("rect",{x:"48",y:"144",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),z.createElement("rect",{x:"144",y:"144",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))}),P.set("thin",function(e){return z.createElement(z.Fragment,null,z.createElement("rect",{x:"48",y:"48",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),z.createElement("rect",{x:"144",y:"48",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),z.createElement("rect",{x:"48",y:"144",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),z.createElement("rect",{x:"144",y:"144",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))}),P.set("regular",function(e){return z.createElement(z.Fragment,null,z.createElement("rect",{x:"48",y:"48",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("rect",{x:"144",y:"48",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("rect",{x:"48",y:"144",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("rect",{x:"144",y:"144",width:"64",height:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))});var G=function(e,t){return(0,O.$)(e,t,P)},X=(0,z.forwardRef)(function(e,t){return z.createElement(B.A,Object.assign({ref:t},e,{renderPath:G}))});X.displayName="SquaresFour";var $=new Map;$.set("bold",function(e){return z.createElement(z.Fragment,null,z.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),z.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),z.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))}),$.set("duotone",function(e){return z.createElement(z.Fragment,null,z.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}),$.set("fill",function(){return z.createElement(z.Fragment,null,z.createElement("path",{d:"M216,120H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}),z.createElement("path",{d:"M40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Z"}),z.createElement("path",{d:"M216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))}),$.set("light",function(e){return z.createElement(z.Fragment,null,z.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),z.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),z.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))}),$.set("thin",function(e){return z.createElement(z.Fragment,null,z.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),z.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),z.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))}),$.set("regular",function(e){return z.createElement(z.Fragment,null,z.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),z.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))});var Q=function(e,t){return(0,O.$)(e,t,$)},K=(0,z.forwardRef)(function(e,t){return z.createElement(B.A,Object.assign({ref:t},e,{renderPath:Q}))});K.displayName="List";var Z=n(18306),q=n(40788),U=n(25313),J=n(49006);function ee(){var e;let t=(0,I.u8)(),[n]=(0,F.fp)(W.k),{data:E}=(0,I.CQ)({chainId:n.CHAIN_ID,daoAddress:t}),{query:v}=(0,Y.useRouter)(),C=(0,z.useMemo)(()=>
1{if((0,q.Kg)(v.tokenAddress)&&(0,U.PWY)(v.tokenAddress))return v.tokenAddress},[v.tokenAddress]),{data:A}=(0,J.rd)({chainId:n.CHAIN_ID,address:(0,N.Yj)(C)}),V=(0,Z.mN)({defaultValues:{searchValue:""},mode:"onChange"}),{watch:H}=V,O=H(),B=null!==(e=(0,R.R)({chainId:n.CHAIN_ID,daoAddress:t}).data)&&void 0!==e?e:-1,P=(0,q.Kg)(null==v?void 0:v.listName)?v.listName:"",G="proposals"===P||"proposal"===P,$=(0,z.useMemo)(()=>({voting:"voting list",proposals:"proposal list",proposal:"proposal list",GtMembers:"members list",LpHolders:"token holders",transactions:"transaction list",tokens:"token list",permitted:"permitted list",tokenTransactions:"transactions with ".concat(null==A?void 0:A.symbol)}),[null==A?void 0:A.symbol]),Q=(0,z.useMemo)(()=>"voting"===P?(0,r.jsx)(S,{}):G?(0,r.jsx)(_,{}):"GtMembers"===P?(0,r.jsx)(D,{isGtToken:!0}):"LpHolders"===P?(0,r.jsx)(D,{isGtToken:!1}):"transactions"===P?(0,r.jsx)(T,{}):"tokens"===P?(0,r.jsx)(M,{}):(0,r.jsx)(r.Fragment,{}),[P,G]),ee=(0,z.useCallback)((e,t)=>(0,r.jsxs)(i.t,{isLazy:!0,lazyBehavior:"keepMounted",align:"center",children:[(0,r.jsxs)(s.B,{spacing:"16px",align:"center",justify:"center",w:"full",children:[(0,r.jsxs)(o.z,{justify:"space-between",spacing:"4px",w:B>=1?"full":"fit-content",children:[(0,r.jsxs)(a.w,{children:[(0,r.jsxs)(l.o,{children:["Cards",(0,r.jsx)(d.a,{ml:"2",boxSize:["12px","12px","14px"],children:(0,r.jsx)(X,{size:"100%",weight:"fill"})})]}),(0,r.jsxs)(l.o,{children:["Table",(0,r.jsx)(d.a,{ml:"2",boxSize:["12px","12px","14px"],children:(0,r.jsx)(K,{size:"100%",weight:"fill"})})]})]}),B>=1&&Q]}),B>=0?(0,r.jsx)(x.A,{placeholder:t,boxProps:{w:"full"}}):(0,r.jsx)(r.Fragment,{})]}),(0,r.jsx)(c.T,{py:{base:"32px",md:"44px"},children:e.map((e,t)=>(0,r.jsx)(h.K,{p:"0",children:e},t))})]}),[B,Q]),et=(0,z.useMemo)(()=>"voting"===P?ee([(0,r.jsx)(z.Fragment,{children:(0,r.jsx)(g.A,{searchValue:O.searchValue})},"cards"),(0,r.jsx)(z.Fragment,{children:(0,r.jsx)(y.A,{searchValue:O.searchValue})},"table")],"Search voting"):G?ee([(0,r.jsx)(z.Fragment,{children:(0,r.jsx)(j.A,{searchValue:O.searchValue})},"cards"),(0,r.jsx)(z.Fragment,{children:(0,r.jsx)(f.A,{searchValue:O.searchValue})},"table")],"Search proposal"):"GtMembers"===P?(0,r.jsx)(k.A,{}):"LpHolders"===P?(0,r.jsx)(k.A,{isGtToken:!1}):"transactions"===P?(0,r.jsx)(u.A,{address:t,tableLimit:1===B?100:0===B?50:25}):"tokenTransactions"===P?(0,r.jsx)(w.A,{tokenAddress:C}):"tokens"===P?(0,r.jsx)(L.A,{}):"permitted"===P?(0,r.jsx)(b.A,{}):void 0,[ee,t,P,G,C,O.searchValue,B]);return t&&et&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{title:$[P],addressName:"LpHolders"===P?null==E?void 0:E.lpName:null==E?void 0:E.daoName,isReversed:!0}),(0,r.jsx)(s.B,{w:"full",py:{base:"32px",md:"44px"},textAlign:"start",children:(0,r.jsxs)(p.A,{condition:!!t,children:[!(G||"voting"===P)&&B>=1&&(0,r.jsx)(o.z,{justify:"flex-end",children:Q}),(0,r.jsx)(Z.Op,{...V,children:et})]})})]})}},82070:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});let r=async(e,t)=>{let n=Object.keys(e[0]),r=new Blob(["".concat(n.join(";"),"\n").concat(e.map(e=>n.map(t=>{let n=null===e[t]||void 0===e[t]?"":e[t];return(n=n instanceof Date?n.toLocaleString():n.toString().replace(/"/g,'""')).search(/("|,|\n)/g)>=0&&(n='"'.concat(n,'"')),n}).join(";")).join("\n"))],{type:"text/csv;charset=utf-8;"}),i=document.createElement("a");if(void 0!==i.download){let e=URL.createObjectURL(r);i.setAttribute("href",e),i.setAttribute("download",t),i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i)}}}},e=>{var t=t=>e(e.s=t);e.O(0,[2735,252,2659,1462,754,6260,5918,636,6593,8792],()=>t(23961)),_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.