@rango-dev/ui 0.1.10-next.76 → 0.1.10-next.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/containers/ConfirmWallets/ConfirmWallets.d.ts +3 -1
- package/dist/ui.cjs.development.js +12 -3
- package/dist/ui.cjs.development.js.map +1 -1
- package/dist/ui.cjs.production.min.js +1 -1
- package/dist/ui.cjs.production.min.js.map +1 -1
- package/dist/ui.esm.js +12 -3
- package/dist/ui.esm.js.map +1 -1
- package/package.json +2 -5
- package/src/containers/ConfirmWallets/ConfirmWallets.tsx +22 -6
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),r=e(t),n=require("@radix-ui/react-checkbox"),o=require("react-dom"),i=require("@rango-dev/wallets-shared"),l=require("@radix-ui/react-switch"),a=require("@radix-ui/react-radio-group"),c=require("react-window"),s=e(require("react-window-infinite-loader")),d=e(require("react-virtualized-auto-sizer")),u=require("@radix-ui/react-tooltip"),m=require("react-color");function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}var g,v,f,$,x=(0,require("@stitches/react").createStitches)({media:{sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)"},theme:{colors:{primary:"#5FA425",primary100:"#9FC87C",primary200:"#8FBF66",primary300:"#7FB651",primary400:"#6FAD3B",primary500:"#5FA425",primary600:"#4C831E",primary700:"#396216",primary800:"#26420F",primary900:"#132107",neutrals200:"#FAFAFA",neutrals300:"#EAEAEA",neutrals400:"#999999",neutrals500:"#888888",neutrals600:"#666666",neutrals700:"#444444",neutrals800:"#333333",neutrals900:"#111111",background:"#fff",foreground:"#000",success:"#0070F3",success100:"#D3E5FF",success300:"#3291FF",success500:"#0070F3",success700:"#0761D1",warning:"#F5A623",warning100:"#FFEFCF",warning300:"#F7B955",warning500:"#F5A623",warning700:"#AB570A",error:"#FF0000",error100:"#F7D4D6",error300:"#FF3333",error500:"#FF0000",error700:"#E60000"},space:{2:"2px",4:"4px",6:"6px",8:"8px",10:"10px",12:"12px",16:"16px",20:"20px",24:"24px",28:"28px",30:"30px",32:"32px"},fontSizes:{10:"10px",12:"12px",14:"14px",16:"16px",18:"18px",20:"20px",24:"24px",32:"32px",36:"36px",40:"40px",48:"48px"},fonts:{},fontWeights:{400:"400",500:"500",600:"600",700:"700"},lineHeights:{},letterSpacings:{},sizes:{4:"4px",6:"6px",8:"8px",12:"12px",16:"16px",20:"20px",24:"24px",28:"28px",32:"32px",36:"36px",40:"40px",48:"48px"},borderWidths:{},borderStyles:{},radii:{5:"5px",10:"10px"},shadows:{s:"0px 3px 5px 3px #f0f2f5, 0px 6px 10px 3px #f0f2f5, 0px 1px 18px 3px #f0f2f5"},zIndices:{},transitions:{}},utils:{bc:function(e){return{backgroundColor:e}}}}),w=x.styled,b=x.css,E=x.createTheme,k=x.keyframes,y=x.globalCss,C=E({}),S=E({colors:{neutrals200:"#111111",neutrals300:"#333333",neutrals400:"#444444",neutrals500:"#666666",neutrals600:"#888888",neutrals700:"#999999",neutrals800:"#EAEAEA",neutrals900:"#FAFAFA",foreground:"#fff",background:"#000"},shadows:{s:"0px 3px 5px 3px #222, 0px 6px 10px 3px #222, 0px 1px 18px 3px #222"}}),z=w("svg",{stroke:"$foreground",variants:{color:{primary:{stroke:"$primary"},error:{stroke:"$error"},warning:{stroke:"$warning"},success:{stroke:"$success"},black:(g={$$color:"$colors$foreground"},g["."+S+" &"]={$$color:"$colors$background"},g.stroke="$$color",g),white:(v={$$color:"$colors$background"},v["."+S+" &"]={$$color:"$colors$foreground"},v.stroke="$$color",v)}}}),L=w("svg",{fill:"$foreground",variants:{color:{primary:{fill:"$primary"},error:{fill:"$error"},warning:{fill:"$warning"},success:{fill:"$success"},black:(f={$$color:"$colors$foreground"},f["."+S+" &"]={$$color:"$colors$background"},f.fill="$$color",f),white:($={$$color:"$colors$background"},$["."+S+" &"]={$$color:"$colors$foreground"},$.fill="$$color",$)}}}),R=["size","color"],M=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,R);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM9.17 14.83l5.66-5.66M14.83 14.83 9.17 9.17",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};M.toString=function(){return"._icon"};var I=["size","color"],j=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,I);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"m7.75 12 2.83 2.83 5.67-5.66",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};j.toString=function(){return"._icon"};var B=["size","color"],F=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,B);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M6 12h12M12 18V6",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};F.toString=function(){return"._icon"};var W=["size","color"],_=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,W);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM12 8v5",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff"}),t.createElement("path",{d:"M11.994 16h.01",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff"}))};_.toString=function(){return"._icon"};var T=["size","color"],N=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,T);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM8 12h8M12 16V8",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};N.toString=function(){return"._icon"};var Z=["size","color"],A=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Z);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M11.92 22c5.5 0 10-4.5 10-10s-4.5-10-10-10-10 4.5-10 10 4.5 10 10 10ZM7.92 12h8",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};A.toString=function(){return"._icon"};var O=["size","color"],H=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,O);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff"}),t.createElement("path",{d:"m7.75 12 2.83 2.83 5.67-5.66",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff"}))};H.toString=function(){return"._icon"};var D=["size","color"],q=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,D);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:o,className:"_icon"},i),t.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fillRule:"evenodd",clipRule:"evenodd"}))};q.toString=function(){return"._icon"};var V=["size","color"],P=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,V);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10ZM18.9 5l-14 14",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};P.toString=function(){return"._icon"};var G=["size","color"],X=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,G);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.994 17h.01",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))};X.toString=function(){return"._icon"};var U=["size","color"],Y=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,U);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.767 1.5c-.7.002-1.267.57-1.267 1.26V9h2.67c.63 0 1.07-.196 1.352-.478C19.804 8.24 20 7.8 20 7.17V4.75c0-.89-.363-1.704-.952-2.301a3.27 3.27 0 0 0-2.281-.949ZM14 2.76C14 1.23 15.25 0 16.77 0h.007a4.77 4.77 0 0 1 3.333 1.39l.004.003A4.775 4.775 0 0 1 21.5 4.75v2.42c0 .95-.304 1.8-.917 2.413-.613.613-1.462.917-2.413.917h-3.42a.75.75 0 0 1-.75-.75V2.76Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.057 1.431C1.862.5 3.097 0 4.75 0h12a.75.75 0 0 1 0 1.5c-.686 0-1.25.564-1.25 1.25v17c0 1.442-1.646 2.256-2.797 1.402l-.002-.002-1.718-1.285a.242.242 0 0 0-.313.025l-1.68 1.68a1.758 1.758 0 0 1-2.48 0l-.002-.001L4.85 19.9a.258.258 0 0 0-.34-.03l-1.707 1.278-.002.001C1.643 22.024 0 21.193 0 19.75v-15c0-1.203.27-2.408 1.057-3.319Zm13.245.069H4.75c-1.346 0-2.112.396-2.557.911C1.73 2.948 1.5 3.743 1.5 4.75v15c0 .216.235.325.397.202l.004-.002 1.709-1.28a1.757 1.757 0 0 1 2.3.17l.002.001L7.57 20.51a.259.259 0 0 0 .36 0l1.68-1.68c.61-.61 1.59-.688 2.283-.158l1.704 1.276c.17.125.403 0 .403-.198v-17c0-.45.109-.875.302-1.25Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 7.75A.75.75 0 0 1 4.75 7h6a.75.75 0 0 1 0 1.5h-6A.75.75 0 0 1 4 7.75ZM4.75 11.75A.75.75 0 0 1 5.5 11H10a.75.75 0 0 1 0 1.5H5.5a.75.75 0 0 1-.75-.75Z"}))};Y.toString=function(){return"._icon"};var J=["size","color"],K=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,J);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M4 22V5c0-2 1.34-3 3-3h8c1.66 0 3 1 3 3v17H4ZM2.5 22h17",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8.89 10h4.23c1.04 0 1.89-.5 1.89-1.89V6.88c0-1.39-.85-1.89-1.89-1.89H8.89C7.85 4.99 7 5.49 7 6.88v1.23C7 9.5 7.85 10 8.89 10ZM7 13h3M18 16.01l4.5-.01v-6l-2-1",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};K.toString=function(){return"._icon"};var Q=["size","color"],ee=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Q);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12.5 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.5 12.88v-1.76c0-1.04.85-1.9 1.9-1.9 1.81 0 2.55-1.28 1.64-2.85-.52-.9-.21-2.07.7-2.59l1.73-.99c.79-.47 1.81-.19 2.28.6l.11.19c.9 1.57 2.38 1.57 3.29 0l.11-.19c.47-.79 1.49-1.07 2.28-.6l1.73.99c.91.52 1.22 1.69.7 2.59-.91 1.57-.17 2.85 1.64 2.85 1.04 0 1.9.85 1.9 1.9v1.76c0 1.04-.85 1.9-1.9 1.9-1.81 0-2.55 1.28-1.64 2.85.52.91.21 2.07-.7 2.59l-1.73.99c-.79.47-1.81.19-2.28-.6l-.11-.19c-.9-1.57-2.38-1.57-3.29 0l-.11.19c-.47.79-1.49 1.07-2.28.6l-1.73-.99a1.899 1.899 0 0 1-.7-2.59c.91-1.57.17-2.85-1.64-2.85-1.05 0-1.9-.86-1.9-1.9Z",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};ee.toString=function(){return"._icon"};var te=["size","color"],re=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,te);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M21.5 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3l-2.04.2M9 4.97l.22-1.31C9.38 2.71 9.5 2 11.19 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M19.35 9.14l-.65 10.07c-.11 1.57-.2 2.79-2.99 2.79H9.29c-2.79 0-2.88-1.22-2.99-2.79L5.65 9.14M10.83 16.5h3.33M10 12.5h5",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};re.toString=function(){return"._icon"};var ne=["size","color"],oe=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ne);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M9 11.7h5M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};oe.toString=function(){return"._icon"};var ie=["size","color"],le=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ie);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};le.toString=function(){return"._icon"};var ae=["size","color"],ce=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ae);return t.createElement(z,Object.assign({width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",color:o,className:"_icon"},i),t.createElement("path",{d:"m8.91 19.92 6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};ce.toString=function(){return"._icon"};var se=["size","color"],de=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,se);return t.createElement(z,Object.assign({width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",color:o,className:"_icon"},i),t.createElement("path",{d:"M19.92 15.05 13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};de.toString=function(){return"._icon"};var ue=["size","color"],me=function(e){var t=e.size,n=void 0===t?16:t,o=e.color,i=h(e,ue);return r.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),r.createElement("path",{d:"m19.92 8.95-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};me.toString=function(){return"._icon"};var pe=["size","color"],he=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,pe);return t.createElement(z,Object.assign({width:n,height:n,fill:"none",viewBox:"0 0 24 24",color:o,xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M15 19.92 8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};me.toString=function(){return"._icon"};var ge=["size","color"],ve=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ge);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M16.44 8.9c3.6.31 5.07 2.16 5.07 6.21v.13c0 4.47-1.79 6.26-6.26 6.26H8.74c-4.47 0-6.26-1.79-6.26-6.26v-.13c0-4.02 1.45-5.87 4.99-6.2M12 2v12.88",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15.35 12.65 12 16l-3.35-3.35",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};ve.toString=function(){return"._icon"};var fe=["size","color"],$e=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,fe);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M14.89 5.08c-.87-.26-1.83-.43-2.89-.43-4.79 0-8.67 3.88-8.67 8.67C3.33 18.12 7.21 22 12 22s8.67-3.88 8.67-8.67c0-1.78-.54-3.44-1.46-4.82M16.13 5.32 13.24 2M16.13 5.32l-3.37 2.46",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};$e.toString=function(){return"._icon"};var xe=["size","color"],we=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,xe);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M9.11 5.08c.87-.26 1.83-.43 2.89-.43 4.79 0 8.67 3.88 8.67 8.67s-3.88 8.67-8.67 8.67-8.67-3.88-8.67-8.67c0-1.78.54-3.44 1.46-4.82M7.87 5.32 10.76 2M7.87 5.32l3.37 2.46",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};we.toString=function(){return"._icon"};var be=["size","color"],Ee=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,be);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};Ee.toString=function(){return"._icon"};var ke=["size","color"],ye=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ke);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"m13.82 6.85 3.04 3.04M13.82 17.15V6.85M10.18 17.15l-3.04-3.04M10.18 6.85v10.3",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};ye.toString=function(){return"._icon"};var Ce=["size","color"],Se=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Ce);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"m17.15 13.82-3.04 3.04M6.85 13.82h10.3M6.85 10.18l3.04-3.04M17.15 10.18H6.85",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};Se.toString=function(){return"._icon"};var ze=["color","size"],Le=t.forwardRef((function(e,r){var n=e.color,o=e.size,i=void 0===o?16:o,l=h(e,ze);return t.createElement(L,Object.assign({width:i,height:i,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",color:n,className:"_icon"},l,{ref:r}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.016 13.45c.199-.384.002-.842-.397-1.005-.406-.166-.864.033-1.077.416A6.17 6.17 0 0 1 13 15.345a6.051 6.051 0 0 1-4.244.513 6.127 6.127 0 0 1-3.543-2.425 6.286 6.286 0 0 1 .73-8.095A6.089 6.089 0 0 1 9.86 3.604a6.07 6.07 0 0 1 4.083 1.286 6.196 6.196 0 0 1 1.65 1.97l-1.053.363a.302.302 0 0 0-.073.534l2.607 1.758a.3.3 0 0 0 .45-.155l1.01-3.007a.298.298 0 0 0-.38-.378l-1.057.365a7.79 7.79 0 0 0-2.194-2.713 7.627 7.627 0 0 0-5.13-1.615A7.65 7.65 0 0 0 4.852 4.19a7.898 7.898 0 0 0-.917 10.17 7.7 7.7 0 0 0 4.452 3.048 7.604 7.604 0 0 0 5.333-.644 7.757 7.757 0 0 0 3.297-3.315Z",fill:n}))}));Le.toString=function(){return"._icon"};var Re=["size","color"],Me=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Re);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.51 7.205a3.018 3.018 0 0 0-3.01 3.01v6.73a3.018 3.018 0 0 0 3.01 3.01h11.48a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227 2.743 2.743 0 0 1 1.971-.82H19v-.69a3.018 3.018 0 0 0-3.01-3.01H4.51ZM0 10.215a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.36 0-.675.14-.903.373l-.013.014c-.266.26-.415.63-.377 1.022v.009c.053.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H4.51A4.518 4.518 0 0 1 0 16.945v-6.73Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.35 2.655a1.15 1.15 0 0 0-1.554-1.079l-7.94 3A2.098 2.098 0 0 0 1.5 6.547v4.569a.75.75 0 1 1-1.5 0v-4.57c0-1.5.922-2.84 2.325-3.371l7.94-3s-.001 0 0 0c1.732-.657 3.585.629 3.585 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM17.729 12.405c-.36 0-.675.14-.903.373l-.013.014c-.266.26-.415.63-.377 1.022v.009c.053.635.664 1.182 1.413 1.182h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.778-1.03-2.907-2.553a2.759 2.759 0 0 1 .816-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75Z"}))};Me.toString=function(){return"._icon"};var Ie=["size","color"],je=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Ie);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.569 7.205a3.018 3.018 0 0 0-3.01 3.01v3.076a4.749 4.749 0 0 1 6.5 4.414c0 .808-.206 1.579-.574 2.25h8.564a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H6.569Zm-4.51 3.01a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.36 0-.675.14-.903.373l-.014.014c-.266.26-.414.63-.377 1.022l.001.009c.053.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H7.939a.75.75 0 0 1-.482-1.324c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-5.283-2.533.75.75 0 0 1-1.217-.587v-4.37Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.409 2.655a1.15 1.15 0 0 0-1.555-1.078l-7.94 3a2.098 2.098 0 0 0-1.355 1.968v4.57a.75.75 0 0 1-1.5 0v-4.57c0-1.5.921-2.84 2.324-3.371l7.94-3c1.733-.657 3.586.629 3.586 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM19.787 12.405c-.359 0-.674.14-.902.374l-.014.013c-.266.26-.414.63-.377 1.022v.01c.054.634.664 1.181 1.413 1.181h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.777-1.03-2.907-2.553a2.759 2.759 0 0 1 .817-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.559 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM5.309 14.455c-.762 0-1.469.267-2.033.717h-.001a3.22 3.22 0 0 0-1.216 2.533c0 .61.17 1.184.468 1.667l.006.01a3.22 3.22 0 0 0 2.776 1.573 3.155 3.155 0 0 0 2.148-.824c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-3.25-3.25Zm-2.967-.457a4.749 4.749 0 0 1 7.717 3.707c0 .888-.248 1.73-.687 2.446-.25.427-.57.808-.941 1.12a4.656 4.656 0 0 1-3.122 1.184 4.72 4.72 0 0 1-4.062-2.301 4.671 4.671 0 0 1-.688-2.449 4.72 4.72 0 0 1 1.783-3.707Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.07 17.685a.75.75 0 0 1 .75-.75H6.8a.75.75 0 0 1 0 1.5H3.82a.75.75 0 0 1-.75-.75Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.309 15.475a.75.75 0 0 1 .75.75v2.99a.75.75 0 0 1-1.5 0v-2.99a.75.75 0 0 1 .75-.75Z"}))};je.toString=function(){return"._icon"};var Be=["size","color"],Fe=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Be);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.627 7.205a3.018 3.018 0 0 0-3.01 3.01v3.076a4.749 4.749 0 0 1 6.5 4.414c0 .808-.205 1.579-.573 2.25h8.563a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.777-1.03-2.907-2.553a2.759 2.759 0 0 1 .817-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H6.627Zm-4.51 3.01a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.359 0-.675.14-.902.373l-.014.014c-.266.26-.415.63-.377 1.022v.009c.054.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H7.997a.75.75 0 0 1-.482-1.325c.243-.203.457-.456.624-.743l.01-.016a3.17 3.17 0 0 0 .468-1.666 3.249 3.249 0 0 0-5.282-2.533.75.75 0 0 1-1.218-.587v-4.37Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.467 2.655a1.15 1.15 0 0 0-1.554-1.079l-7.94 3a2.098 2.098 0 0 0-1.356 1.97v4.569a.75.75 0 1 1-1.5 0v-4.57c0-1.5.922-2.84 2.325-3.371l7.94-3c1.732-.657 3.585.629 3.585 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM19.846 12.405c-.359 0-.675.14-.903.373l-.013.014c-.266.26-.415.63-.377 1.022v.009c.053.635.664 1.182 1.413 1.182h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.778-1.03-2.907-2.553a2.759 2.759 0 0 1 .816-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.617 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM5.367 14.455c-.761 0-1.468.267-2.032.717h-.002a3.22 3.22 0 0 0-1.216 2.533c0 .61.17 1.183.469 1.666l.006.01a3.22 3.22 0 0 0 2.775 1.574 3.155 3.155 0 0 0 2.148-.825c.243-.203.457-.456.624-.743l.01-.016a3.17 3.17 0 0 0 .468-1.666 3.249 3.249 0 0 0-3.25-3.25ZM2.4 13.998a4.749 4.749 0 0 1 7.717 3.707 4.67 4.67 0 0 1-.687 2.446c-.25.427-.57.808-.94 1.12a4.655 4.655 0 0 1-3.123 1.184 4.72 4.72 0 0 1-4.061-2.301 4.67 4.67 0 0 1-.689-2.449A4.72 4.72 0 0 1 2.4 13.998Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.785 16.106a.75.75 0 0 1 1.06-.003l2.12 2.11a.75.75 0 1 1-1.058 1.064l-2.12-2.11a.75.75 0 0 1-.002-1.061Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.948 16.136a.75.75 0 0 1-.002 1.06l-2.12 2.11a.75.75 0 0 1-1.058-1.063l2.12-2.11a.75.75 0 0 1 1.06.003Z"}))};Fe.toString=function(){return"._icon"};var We=["size","color"],_e=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,We);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.686 7.205a3.018 3.018 0 0 0-3.01 3.01v3.076a4.749 4.749 0 0 1 6.5 4.414c0 .808-.205 1.579-.573 2.25h8.563a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H6.686Zm-4.51 3.01a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.36 0-.675.14-.903.373l-.013.014c-.266.26-.415.63-.378 1.022l.001.009c.053.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H8.056a.75.75 0 0 1-.482-1.324c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-5.283-2.533.75.75 0 0 1-1.217-.587v-4.37Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.526 2.655a1.15 1.15 0 0 0-1.554-1.078l-7.94 3a2.098 2.098 0 0 0-1.356 1.968v4.57a.75.75 0 0 1-1.5 0v-4.57c0-1.5.921-2.84 2.324-3.371l7.94-3c1.733-.657 3.586.629 3.586 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM19.905 12.405c-.36 0-.675.14-.903.374l-.014.013c-.265.26-.414.63-.377 1.022l.001.01c.053.634.664 1.181 1.413 1.181h1.942a.276.276 0 0 0 .268-.27v-2.06a.276.276 0 0 0-.268-.27h-2.062Zm-1.971-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.724 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.676 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM5.426 14.455c-.762 0-1.469.267-2.033.717h-.001a3.22 3.22 0 0 0-1.216 2.533c0 .61.17 1.184.468 1.667l.006.01a3.22 3.22 0 0 0 2.776 1.573 3.155 3.155 0 0 0 2.148-.824c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-3.25-3.25Zm-2.967-.457a4.749 4.749 0 0 1 7.717 3.707c0 .888-.248 1.73-.687 2.446-.25.427-.57.808-.941 1.12a4.656 4.656 0 0 1-3.122 1.184 4.72 4.72 0 0 1-4.062-2.301 4.671 4.671 0 0 1-.688-2.449 4.72 4.72 0 0 1 1.783-3.707Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.538 16.215a.75.75 0 0 1-.042 1.06l-2.13 1.97a.75.75 0 0 1-1.04-.02l-.99-.99a.75.75 0 1 1 1.062-1.06l.48.48 1.6-1.48a.75.75 0 0 1 1.06.04Z"}))};_e.toString=function(){return"._icon"};var Te=["size","color"],Ne=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Te);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.244 7.205a3.018 3.018 0 0 0-3.01 3.01v1.73a.75.75 0 0 1-1.5 0v-1.73a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.359 0-.674.14-.902.373l-.014.014c-.266.26-.414.63-.377 1.022v.009c.054.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51h-5.48a.75.75 0 0 1 0-1.5h5.48a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.777-1.03-2.907-2.553a2.758 2.758 0 0 1 .817-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H5.244Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.084 2.655a1.15 1.15 0 0 0-1.554-1.078l-7.94 3a2.098 2.098 0 0 0-1.356 1.968v4.57a.75.75 0 0 1-1.5 0v-4.57c0-1.5.922-2.84 2.325-3.371l7.94-3c1.732-.657 3.585.629 3.585 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM18.463 12.405c-.359 0-.675.14-.902.374l-.014.013c-.266.26-.415.63-.377 1.022v.01c.053.634.664 1.181 1.413 1.181h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.777-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.234 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM1.234 15.205a.75.75 0 0 1 .75-.75h5.34a1.91 1.91 0 0 1 1.91 1.91v1.28a.75.75 0 0 1-1.5 0v-1.28a.41.41 0 0 0-.41-.41h-5.34a.75.75 0 0 1-.75-.75Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.735 13.455a.75.75 0 0 1 0 1.06l-.69.69.69.69a.75.75 0 1 1-1.061 1.06l-1.22-1.22a.75.75 0 0 1 0-1.06l1.22-1.22a.75.75 0 0 1 1.06 0ZM1.984 17.296a.75.75 0 0 1 .75.75v1.28c0 .225.185.41.41.41h5.34a.75.75 0 0 1 0 1.5h-5.34a1.91 1.91 0 0 1-1.91-1.91v-1.28a.75.75 0 0 1 .75-.75Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.735 18.735a.75.75 0 0 1 1.061 0l1.22 1.22a.75.75 0 0 1 0 1.061l-1.22 1.22a.75.75 0 1 1-1.06-1.06l.689-.69-.69-.69a.75.75 0 0 1 0-1.06Z"}))};Ne.toString=function(){return"._icon"};var Ze=["size","color"],Ae=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Ze);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 32 32",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("g",{clipPath:"url(#a)",strokeWidth:1.5},t.createElement("path",{d:"M9.333 9.333V4.8a.8.8 0 0 1 .8-.8h11.734a.8.8 0 0 1 .8.8v4.533M13.333 4v5.333M16 4v5.333m9.333 17.334H6.667A2.667 2.667 0 0 1 4 24V12a2.667 2.667 0 0 1 2.667-2.667h18.666A2.667 2.667 0 0 1 28 12v12a2.667 2.667 0 0 1-2.667 2.667Z"}),t.createElement("path",{d:"M22 18.666a.667.667 0 1 1 0-1.334.667.667 0 0 1 0 1.334Z",fill:o,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"a"},t.createElement("path",{fill:o,d:"M0 0h32v32H0z"}))))};Ae.toString=function(){return"._icon"};var Oe=["size"],He=t.forwardRef((function(e,r){var n=e.size,o=void 0===n?16:n,i=h(e,Oe);return t.createElement(z,Object.assign({width:o,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i,{ref:r}),t.createElement("circle",{cx:10,cy:10,r:7.25,strokeWidth:1.5}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.134 6.6a.6.6 0 0 0-1.2 0v4.27a.6.6 0 0 0 .28.507c.009.01.018.019.029.028l2.59 2.373a.472.472 0 0 0 .753-.109.763.763 0 0 0-.133-.919l-2.319-2.123V6.6Z"}))}));He.toString=function(){return"._icon"};var De=w(F,{transform:"rotate(45deg)",cursor:"pointer"});De.toString=function(){return"._icon"};var qe=["size","color"],Ve=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,qe);return t.createElement(L,Object.assign({width:n,height:n,color:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 122.88 107.95",xmlSpace:"preserve",className:"_icon"},i),t.createElement("path",{d:"M82.19 0c1.22-.01 2.27.4 3.18 1.27l13.27 12.7c.86.82 1.28 1.91 1.3 3.11.02 1.22-.34 2.33-1.18 3.18l-7.06 7.35L72.09 8.67l6.99-7.28C79.94.5 80.98.02 82.19 0zM20.08 68.29a4.536 4.536 0 1 1 2.67 8.67c-6.98 2.14-11.66 6.28-13.21 10.17-.41 1.04-.55 1.99-.39 2.77.12.59.48 1.13 1.07 1.56 2.55 1.86 8.04 2.34 17.26.1 5.46-1.33 11.31-3.13 16.49-4.73 5.29-1.63 9.91-3.06 13.12-3.66 5.92-1.1 11.83-1.85 16.6-1.61 6.26.31 10.96 2.32 12.57 7.13 1.04 3.11.75 5.81.49 8.23-.09.87-.18 1.68-.14 2.21 0 .02.95-.05 5.53-.41 5.3-.42 10.79-2.51 16.21-4.58 2.78-1.06 5.54-2.11 8.67-3.07 2.4-.73 4.93.63 5.65 3.02.73 2.4-.63 4.93-3.02 5.65-2.43.74-5.24 1.82-8.06 2.89-6.04 2.3-12.14 4.63-18.74 5.15-12.07.95-14.87-2.46-15.3-7.95-.1-1.29.03-2.54.17-3.88.16-1.5.34-3.18-.07-4.39-.18-.54-1.89-.82-4.39-.94-3.99-.2-9.22.48-14.54 1.47-2.65.49-7.05 1.85-12.09 3.41-5.27 1.63-11.22 3.46-17.02 4.87-12.14 2.95-20.21 1.7-24.73-1.6-2.54-1.85-4.05-4.27-4.63-7-.54-2.54-.23-5.28.85-8 2.46-6.14 9.23-12.5 18.98-15.48zm21.19-19.84L53.3 60.02l-14.71 3.95c-.53.1-.74-.11-.65-.6l3.33-14.92zm24.6-33.34 19.59 18.87L58.7 62.23l-23.98 6.43c-.86.17-1.2-.17-1.06-.98l5.43-24.31 26.78-28.26z",style:{fillRule:"evenodd",clipRule:"evenodd"}}))};Ve.toString=function(){return"._icon"};var Pe=["children"],Ge=w("span",{margin:0,color:"$foreground",display:"inline-block",variants:{variant:{h1:{fontSize:"$36",fontWeight:"$700","@md":{fontSize:"$40"},"@lg":{fontSize:"$48"}},h2:{fontSize:"$32",fontWeight:"$700","@md":{fontSize:"$36"},"@lg":{fontSize:"$40"}},h3:{fontSize:"$20",fontWeight:"$700","@md":{fontSize:"$24"},"@lg":{fontSize:"$32"}},h4:{fontSize:"$18",fontWeight:"$600","@md":{fontSize:"$20"},"@lg":{fontSize:"$24"}},h5:{fontSize:"$16",fontWeight:"$600","@md":{fontSize:"$18"},"@lg":{fontSize:"$20"}},h6:{fontSize:"$14",fontWeight:"$500","@md":{fontSize:"$16"},"@lg":{fontSize:"$18"}},body1:{fontSize:"$14",fontWeight:"$400","@md":{fontSize:"$16"},"@lg":{fontSize:"$18"}},body2:{fontSize:"$14",fontWeight:"$400","@lg":{fontSize:"$16"}},caption:{fontSize:"$10",fontWeight:"$400","@lg":{fontSize:"$12"}}},align:{center:{textAlign:"center"},left:{textAlign:"left"},right:{textAlign:"right"}},noWrap:{true:{whiteSpace:"nowrap"}},ml:{2:{marginLeft:"$2"},4:{marginLeft:"$4"},8:{marginLeft:"$8"},12:{marginLeft:"$12"}},mt:{2:{marginTop:"$2"},4:{marginTop:"$4"},8:{marginTop:"$8"},12:{marginTop:"$12"}},mr:{2:{marginRight:"$2"},4:{marginRight:"$4"},8:{marginRight:"$8"},12:{marginRight:"$12"}},mb:{2:{marginBottom:"$2"},4:{marginBottom:"$4"},8:{marginBottom:"$8"},12:{marginBottom:"$12"}}}});function Xe(e){var t=e.children,n=h(e,Pe);return r.createElement(Ge,Object.assign({className:"_typography"},n),t)}Xe.toString=function(){return"._typography"};var Ue=w("div",{position:"relative",width:"$28",height:"$28",variants:{direction:{vertical:{margin:"auto"},horizontal:{}}}}),Ye=w("img",{width:"$28",height:"$28",borderRadius:"50%"}),Je=w("img",{position:"absolute",bottom:0,width:"$12",height:"$12",right:0}),Ke=w("div",{display:"flex",variants:{direction:{horizontal:{alignItems:"center"},vertical:{flexDirection:"column",textAlign:"center",justifyContent:"center"}}}}),Qe=w("div",{variants:{pl:{true:{paddingLeft:"$4","@lg":{paddingLeft:"$8"}},false:{paddingTop:"$8"}}}}),et=w(Xe,{color:"$neutrals600"});function tt(e){var t=e.chainLogo,n=e.amount,o=e.symbol,i=e.blockchain,l=e.direction,a=void 0===l?"horizontal":l;return r.createElement(Ke,{direction:a},r.createElement(Ue,{direction:a},r.createElement(Ye,{src:e.logo,alt:o}),r.createElement(Je,{src:t,alt:i})),r.createElement(Qe,{pl:"horizontal"===a},r.createElement(Xe,{noWrap:!0,variant:"vertical"===a?"body2":"h6"},parseFloat(n).toFixed(2)," ",o),r.createElement(et,{noWrap:!0,variant:"caption"},"on ",i)))}var rt=function(e,t){return void 0===e&&(e="0"),parseFloat(e).toFixed(t)},nt=function(e,t){return e.toLowerCase().includes(t.toLowerCase())},ot=w("div",{borderRadius:"$5",backgroundColor:"$neutrals300",background:"linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%)",backgroundSize:"800px 100px",animation:k({"0%":{backgroundPosition:"-468px 0"},"100%":{backgroundPosition:"468px 0"}})+" 2s infinite ease-out",variants:{width:{16:{width:"$16"},20:{width:"$20"},24:{width:"$24"},36:{width:"$36"},48:{width:"$48"}},height:{16:{height:"$16"},20:{height:"$20"},24:{height:"$24"},36:{height:"$36"},48:{height:"$48"},94:{height:94}}}});function it(e){var t=e.width,n=e.height;return r.createElement(ot,{width:void 0===t?20:t,height:void 0===n?20:n})}var lt=w("div",{borderRadius:"50%",position:"relative",border:"2px solid $neutrals300",borderRight:"2px solid",animation:k({"100%":{transform:"rotate(360deg)"}})+" 1.5s linear infinite",margin:"0px $8",variants:{color:{primary:{borderRightColor:"$primary"},error:{borderRightColor:"$error"},warning:{borderRightColor:"$warning"},success:{borderRightColor:"$success"},black:{borderRightColor:"$black"},white:{borderRightColor:"$white"}},size:{16:{width:"$16",height:"$16"},20:{width:"$20",height:"$20"},24:{width:"$24",height:"$24"}}}});function at(e){var t=e.size,n=e.color;return r.createElement(lt,{size:void 0===t?16:t,color:void 0===n?"primary":n})}var ct,st,dt,ut,mt,pt=w("div",{borderRadius:"$5",border:"1px solid $neutrals300",display:"flex",alignItems:"center",minHeight:126,justifyContent:"space-between"}),ht=w(Xe,{color:"$error"}),gt=w("div",{display:"flex",alignItems:"center",margin:"0 auto",overflowX:"auto",overflowY:"hidden",alignSelf:"stretch",padding:"$4","@md":{padding:"$8"}}),vt=w("div",{height:"0",width:"$20",border:"1px dashed $foreground",borderRadius:"inherit","@lg":{width:"$32"}}),ft=w("hr",{width:"100%",background:"$neutrals200",margin:"$8 0"}),$t=w("img",{width:"$16",height:"$16"}),xt=w("div",{position:"relative"}),wt=w("div",{width:"$6",height:"$6",backgroundColor:"$foreground",position:"absolute",top:"45%",right:-5,marginLeft:"$8",borderRadius:"50%","@md":{width:"$8",height:"$8",right:-8,top:"45%"}}),bt=w("div",{width:"0px",height:"0px",borderTop:"5px solid transparent",borderBottom:"5px solid transparent",borderLeft:"5px solid $foreground"}),Et=w("div",{backgroundColor:"$neutrals300",borderRadius:"5px",margin:"$4",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:"$4","@md":{padding:"$8",margin:"$8"}}),kt=w("div",{padding:"$4","@md":{padding:"$8"}}),yt=w("div",{display:"flex",justifyContent:"center",alignItems:"center"}),Ct=["children","loading","disabled","prefix","suffix","align","flexContent"],St=w("button",{borderRadius:"$5",fontSize:"$16",fontWeight:"$400",cursor:"pointer",padding:"0 $12",display:"flex",alignItems:"center",justifyContent:"center",variants:{align:{start:{display:"flex",width:"100%"},grow:{display:"flex",width:"100%"}},size:{small:{height:"$32"},medium:{height:"$40"},large:{height:"$48"}},variant:{contained:{backgroundColor:"$neutrals300",color:"$foreground",border:0,"&:hover":{backgroundColor:"$neutrals200",color:"$foreground"},"&:disabled":{background:"$neutrals400 !important"}},outlined:{backgroundColor:"$background !important",borderColor:"$neutrals400 !important",color:"$foreground","&:hover":{borderColor:"$neutrals600 !important",color:"$neutrals500 !important"},"&:disabled":{borderColor:"$neutrals300 !important",color:"$neutrals400 !important"},background:"transparent",border:1,borderStyle:"solid"},ghost:(ct={color:"$foreground","&:hover":{backgroundColor:"$neutrals200"},"&:disabled":{color:"$neutrals400 !important"},background:"transparent",border:0},ct["& "+Xe]={color:"inherit"},ct)},fullWidth:{true:{width:"100%"}},loading:{true:{}},type:{primary:{},error:{},warning:{},success:{}}},compoundVariants:[{type:"primary",variant:"contained",css:(st={background:"$primary",$$color:"$colors$background"},st["."+S+" &"]={$$color:"$colors$foreground"},st.color="$$color !important",st["&:hover"]={background:"$primary700"},st["&:visited"]={background:"$primary900"},st["&:focus"]={background:"$primary600"},st)},{type:"primary",variant:"outlined",css:{color:"$primary !important",borderColor:"$primary !important","&:hover":{color:"$primary700 !important",borderColor:"$primary700 !important"},"&:visited":{color:"$primary900 !important",borderColor:"$primary900 !important"},"&:focus":{color:"$primary600 !important",borderColor:"$primary600 !important"}}},{type:"primary",variant:"ghost",css:{color:"$primary","&:hover":{color:"$primary700"},"&:visited":{color:"$primary900"},"&:focus":{color:"$primary600"}}},{type:"error",variant:"contained",css:(dt={background:"$error",$$color:"$colors$background"},dt["."+S+" &"]={$$color:"$colors$foreground"},dt.color="$$color !important",dt["&:hover"]={background:"$error300"},dt["&:visited"]={background:"$error700"},dt["&:focus"]={background:"$error700"},dt)},{type:"error",variant:"outlined",css:{color:"$error !important",borderColor:"$error !important","&:hover":{color:"$error300 !important",borderColor:"$error300 !important"},"&:visited":{color:"$error700 !important",borderColor:"$error700 !important"},"&:focus":{color:"$error700 !important",borderColor:"$error700 !important"}}},{type:"error",variant:"ghost",css:{color:"$error","&:hover":{color:"$error300"},"&:visited":{color:"$error700"},"&:focus":{color:"$error700"}}},{type:"warning",variant:"contained",css:(ut={background:"$warning",$$color:"$colors$background"},ut["."+S+" &"]={$$color:"$colors$foreground"},ut.color="$$color !important",ut["&:hover"]={background:"$warning300"},ut["&:visited"]={background:"$warning700"},ut["&:focus"]={background:"$warning700"},ut)},{type:"warning",variant:"outlined",css:{color:"$warning !important",borderColor:"$warning !important","&:hover":{color:"$warning300 !important",borderColor:"$warning300 !important"},"&:visited":{color:"$warning700 !important",borderColor:"$warning700 !important"},"&:focus":{color:"$warning700 !important",borderColor:"$warning700 !important"}}},{type:"warning",variant:"ghost",css:{color:"$warning","&:hover":{color:"$warning300"},"&:visited":{color:"$warning700"},"&:focus":{color:"$warning700"}}},{type:"success",variant:"contained",css:(mt={background:"$success",$$color:"$colors$background"},mt["."+S+" &"]={$$color:"$colors$foreground"},mt.color="$$color !important",mt["&:hover"]={background:"$success300"},mt["&:visited"]={background:"$success700"},mt["&:focus"]={background:"$success700"},mt)},{type:"success",variant:"outlined",css:{color:"$success !important",borderColor:"$success !important","&:hover":{color:"$success300 !important",borderColor:"$success300 !important"},"&:visited":{color:"$success700 !important",borderColor:"$success700 !important"},"&:focus":{color:"$success700 !important",borderColor:"$success700 !important"}}},{type:"success",variant:"ghost",css:{color:"$success","&:hover":{color:"$success300"},"&:visited":{color:"$success700"},"&:focus":{color:"$success700"}}}],defaultVariants:{size:"medium",variant:"contained"}}),zt=w("div",{flex:1,variants:{align:{start:{textAlign:"left"},grow:{textAlign:"center"}},ml:{true:{marginLeft:"$8"}},mr:{true:{marginRight:"$8"}},flexContent:{true:{display:"flex",alignItems:"center"}}}});function Lt(e){var t=e.children,n=e.loading,o=e.disabled,i=e.prefix,l=e.suffix,a=e.align,c=e.flexContent,s=h(e,Ct);return r.createElement(St,Object.assign({disabled:n||o},s,{align:a}),i,t&&r.createElement(zt,{align:a,ml:!!i,mr:!!l&&!n,flexContent:c},t),n&&r.createElement(at,{size:16,color:s.type}),l)}var Rt=w("span",{width:"10px",height:"10px",backgroundColor:"$primary500",borderRadius:"99999px"}),Mt=w("div",{display:"grid",gap:".5rem",gridTemplateColumns:" repeat(2, minmax(0, 1fr))",alignContent:"baseline",width:"100%",height:"100%"}),It=w("img",{width:"1.5rem",maxHeight:"1.5rem",marginRight:"$4"});function jt(e){var n=e.list,o=e.onChange,i=e.multiSelect,l=e.selectedList,a=t.useState(e.selected),c=a[0],s=a[1],d=function(e){s(e),o(e)},u=function(e){return i&&l?"all"===l||l.findIndex((function(t){return e===t.name}))>-1:e===(null==c?void 0:c.name)};return r.createElement(Mt,null,n.map((function(e,t){return r.createElement(Lt,{type:u(e.name)?"primary":void 0,variant:"outlined",size:"large",prefix:r.createElement(It,{src:e.logo}),suffix:u(e.name)?r.createElement(Rt,null):void 0,align:"start",onClick:d.bind(null,e),key:t},r.createElement(Xe,{variant:"body2"},e.displayName))})))}var Bt=["label","prefix","suffix","children","size","style"],Ft=w("div",{backgroundColor:"$background",boxSizing:"border-box",border:"1px solid $neutrals400",borderRadius:"$5",height:"$48",display:"flex",flexGrow:1,position:"relative",alignItems:"center",color:"$foreground",transition:"border-color ease .3s","&:focus-within":{borderColor:"$primary500"},variants:{size:{small:{height:"$32"},medium:{height:"$40"},large:{height:"$48"}},disabled:{true:{backgroundColor:"$neutrals300",cursor:"not-allowed",filter:"grayscale(100%)"}},prefix:{true:{paddingLeft:"$16"},false:{paddingLeft:"$0"}},suffix:{true:{paddingRight:"$16"},false:{paddingRight:"$0"}}},defaultVariants:{size:"medium"}}),Wt=w("input",{color:"$text",paddingLeft:"$16",paddingRight:"$16",flexGrow:1,width:"100%",border:"none",borderRadius:"$5",outline:"none",fontSize:"$l",backgroundColor:"transparent","-webkit-appearance":"none",margin:0,"&:disabled":{cursor:"not-allowed"}}),_t=w("label",{display:"inline-block",fontSize:"$14",marginBottom:"$4"}),Tt=r.forwardRef((function(e,t){var n=e.label,o=e.prefix,i=e.suffix,l=e.size,a=e.style,c=h(e,Bt);return r.createElement(r.Fragment,null,n&&r.createElement(_t,Object.assign({},c.id&&{htmlFor:c.id}),n),r.createElement(Ft,{disabled:c.disabled,prefix:!!o,suffix:!!i,size:l,style:a},o||null,r.createElement(Wt,Object.assign({},c,{spellCheck:!1,ref:t})),i||null))})),Nt=w("div",{display:"flex",flexDirection:"column",height:"100%",width:"100%",padding:"$12 0","@lg":{padding:"$16 0"}}),Zt=w("div",{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"$16",position:"relative"}),At=w(w(he,{position:"absolute",left:"0"}),{cursor:"pointer"}),Ot=w("div",{flex:"1",overflowY:"auto",overflowX:"hidden",marginTop:"$16"});function Ht(e){var n=e.title,o=e.Footer,i=e.TopButton,l=e.onBack,a=e.hasHeader,c=void 0===a||a,s=t.useState(""),d=s[0],u=s[1];return r.createElement(Nt,null,c&&r.createElement(Zt,null,r.createElement(At,{size:24,onClick:l}),r.createElement(Xe,{variant:"h4"},n),i),e.textField&&r.createElement("div",null,r.createElement(Tt,{size:"large",prefix:r.createElement(le,{size:24}),placeholder:e.textFieldPlaceholder,onChange:function(e){return u(e.target.value)},value:d,autoFocus:!0})),r.createElement(Ot,null,e.textField&&r.createElement(e.Content,{searchedFor:d}),!e.textField&&e.Content),o)}var Dt=w("div",{display:"flex",width:"100%",alignItems:"center",padding:"$16",borderRadius:"$5",variants:{type:{primary:{backgroundColor:"$primary200"},secondary:{backgroundColor:"$neutrals400"},success:{backgroundColor:"$success300"},warning:{backgroundColor:"$warning500"},error:{backgroundColor:"$error300"}}}}),qt=w("div",{display:"flex",flexDirection:"column"}),Vt=w("div",{marginBottom:"$8"}),Pt=w("div",{marginRight:"$24"}),Gt=w(Xe,{color:S.colors.foreground.value});function Xt(e){var t=e.type,n=e.description,o=e.title,i=["error","success","warning"].includes(t);return r.createElement(Dt,{type:t},i&&r.createElement(Pt,null,"success"===t&&r.createElement(H,{color:"success",size:28}),"warning"===t&&r.createElement(X,{color:"white",size:28}),"error"===t&&r.createElement(_,{color:"error",size:28})),r.createElement(qt,null,o&&r.createElement(Vt,null,r.createElement(Gt,{variant:"h6"},o)),r.createElement(Gt,{variant:"body2"},n)))}var Ut=w("div",{height:"450px",display:"flex",justifyContent:"center",alignItems:"center"}),Yt=["label","id"],Jt=w("div",{display:"flex",alignItems:"center"}),Kt=w(n.Root,{borderRadius:"5px",width:20,padding:0,height:20,border:"1px solid",display:"flex",alignItems:"center",justifyContent:"center",marginRight:"$2",backgroundColor:"$neutral-100"}),Qt=w("label",{color:"$text",fontSize:"$m",marginLeft:"$8"}),er=w("div",{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"$5",padding:"$4 $8",height:"32",fontSize:"$14",cursor:"pointer","&:hover":{backgroundColor:"$neutrals300"},variants:{selected:{true:{backgroundColor:"$neutrals400"},false:{backgroundColor:"$background"}}}});function tr(e){var t=e.suffix;return r.createElement(er,{selected:e.selected,onClick:e.onClick,style:e.style},e.prefix||null,r.createElement(Xe,{variant:"body2"},e.label),t||null)}var rr,nr=w("div",{position:"fixed",display:"flex",justifyContent:"center",alignItems:"center",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:"rgba(0,0,0,.1)"}),or=w("div",{backgroundColor:"$background",borderRadius:"$10",padding:"$16 $16",display:"flex",flexDirection:"column",boxShadow:"$s",zIndex:10}),ir=w("div",{display:"flex",alignItems:"center"}),lr=w("div",{display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative",marginBottom:"$16"}),ar=w("div",{});function cr(e){var t=e.content,n=e.onClose,i=e.action,l=e.contentStyle;return r.createElement(r.Fragment,null,e.open&&o.createPortal(r.createElement(nr,{onClick:function(e){e.target===e.currentTarget&&n()}},r.createElement(or,{style:e.containerStyle},r.createElement(lr,null,r.createElement(Xe,{variant:"h4"},e.title),r.createElement(ir,null,i,r.createElement(De,{size:24,onClick:n}))),r.createElement(ar,{style:l},t))),document.body))}(rr=exports.WalletState||(exports.WalletState={})).NOT_INSTALLED="not installed",rr.DISCONNECTED="disconnected",rr.CONNECTING="connecting",rr.CONNECTED="connected";var sr=w("span",{width:"$28",display:"flex",justifyContent:"center",alignItems:"center"}),dr=function(e){var n=e.walletState;return r.createElement(t.Fragment,null,n!==exports.WalletState.DISCONNECTED&&r.createElement(sr,null,n===exports.WalletState.NOT_INSTALLED&&r.createElement("a",{href:i.detectInstallLink(e.installLink),target:"_blank"},r.createElement(ve,{size:24,color:"success"})),n===exports.WalletState.CONNECTING&&r.createElement(at,null),n===exports.WalletState.CONNECTED&&r.createElement(Rt,null)))},ur=w("img",{width:"$24",height:"$24",marginRight:"$12"});function mr(e){var t=e.name,n=e.type,o=e.state,l=e.onClick,a=e.installLink;return r.createElement(Lt,{type:o===exports.WalletState.CONNECTED?"primary":void 0,disabled:!o,onClick:function(){o===exports.WalletState.NOT_INSTALLED?window.open(i.detectInstallLink(a),"_blank"):l(n)},align:"start",variant:"outlined",size:"large",prefix:r.createElement(ur,{src:e.image}),suffix:r.createElement(dr,{walletState:o,installLink:a})},r.createElement(Xe,{variant:"h5",noWrap:!1},t))}var pr=w("div",{display:"grid",gap:"$8",gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}),hr=w("div",{variants:{size:{12:{},16:{},18:{},20:{},24:{}},direction:{vertical:{},horizontal:{}}},compoundVariants:[{size:12,direction:"horizontal",css:{width:"$12"}},{size:12,direction:"vertical",css:{height:"$12"}},{size:16,direction:"horizontal",css:{width:"$16"}},{size:16,direction:"vertical",css:{height:"$16"}},{size:18,direction:"horizontal",css:{width:"$18"}},{size:18,direction:"vertical",css:{height:"$18"}},{size:20,direction:"horizontal",css:{width:"$20"}},{size:20,direction:"vertical",css:{height:"$20"}},{size:24,direction:"horizontal",css:{width:"$24"}},{size:24,direction:"vertical",css:{height:"$24"}}]});function gr(e){var t=e.size,n=e.direction;return r.createElement(hr,{size:void 0===t?12:t,direction:void 0===n?"horizontal":n})}var vr=w(l.Root,{boxSizing:"border-box",boxShadow:"none",borderStyle:"solid",width:"42px",height:"22px",backgroundColor:"$neutrals300",borderColor:"$neutrals400",borderRadius:"99999px",position:"relative",cursor:"pointer",'&[data-state="checked"]':{backgroundColor:"$primary100"},"-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)"}),fr=w(l.Thumb,{position:"absolute",top:"0",boxSizing:"border-box",display:"block",width:"18px",height:"18px",backgroundColor:"$neutrals500",transition:" transform 300ms",borderRadius:"999999px",willChange:"transform",'&[data-state="checked"]':{transform:"translateX(20px)",backgroundColor:"$primary500"}});function $r(e){return r.createElement(vr,{checked:e.checked,onCheckedChange:e.onChange},r.createElement(fr,null))}var xr=function(e){return{bridge:e.filter((function(e){return"BRIDGE"===e.type||"AGGREGATOR"===e.type})),exchange:e.filter((function(e){return"DEX"===e.type}))}},wr=w(Xe,{position:"sticky",top:"0",marginTop:"$8",marginBottom:"$8",backgroundColor:"$background",zIndex:"9999",paddingTop:"$8",paddingBottom:"$8"}),br=w("img",{width:"$20",maxHeight:"$20",marginRight:"$16"});function Er(e){var n=e.list,o=e.onChange,i=e.listContainerStyle,l=t.useState(n.filter((function(e){return e.selected}))),a=l[0],c=l[1],s=function(e){e.selected=!e.selected,c((function(t){return e.selected?[].concat(t,[e]):t.filter((function(t){return t.title!=e.title}))})),setTimeout((function(){o(e)}),200)},d=function(e){return!!a.find((function(t){return e.title===t.title}))};return r.createElement("div",{style:p({height:"450px"},i)},r.createElement("div",null,r.createElement(wr,{variant:"h5"},"Bridges"),r.createElement(gr,{size:16,direction:"vertical"}),xr(n).bridge.map((function(e,t){return r.createElement(kr,{liquiditySource:e,key:t,selected:d(e),onChange:s})}))),r.createElement("div",null,r.createElement(wr,{variant:"h5"},"Exchanges"),r.createElement(gr,{size:16,direction:"vertical"}),xr(n).exchange.map((function(e,t){return r.createElement(kr,{liquiditySource:e,key:t,selected:d(e),onChange:s})}))))}var kr=function(e){var t=e.liquiditySource,n=e.selected,o=e.onChange;return r.createElement(Lt,{size:"large",align:"start",variant:"outlined",prefix:r.createElement(br,{src:t.logo}),suffix:r.createElement($r,{checked:n}),style:{marginBottom:"12px"},type:n?"primary":void 0,onClick:o.bind(null,t)},r.createElement(Xe,{variant:"body1"},t.title))},yr=w(Lt,{position:"absolute",right:0}),Cr=w("div",{display:"flex",flexWrap:"wrap",justifyContent:"center"}),Sr=w("div",{width:12,height:12,borderRadius:6,border:"1px solid $neutrals400",position:"absolute",top:12,right:12,variants:{checked:{true:{borderColor:"$success"},false:{borderColor:"$neutrals400"}}}}),zr=w("div",{width:6,margin:"20% auto",height:6,borderRadius:3,variants:{checked:{true:{backgroundColor:"$success"},false:{backgroundColor:"$neutrals400"}}}}),Lr=w("div",{border:"1.5px solid",borderRadius:"$5",padding:"$12",flexBasis:"calc(33.33% - 10px)",margin:5,display:"flex",flexDirection:"column",justifyContent:"space-between",width:124,height:92,cursor:"pointer",position:"relative",variants:{checked:{true:{borderColor:"$success",color:"$success"},false:{borderColor:"$neutrals400",color:"$neutrals400"}}}});function Rr(e){var n,o=e.list,i=e.onChange,l=t.useState((null==(n=o.find((function(e){return e.selected})))?void 0:n.walletType)||""),a=l[0],c=l[1],s=function(e){c(e.walletType),i(e)};return t.useEffect((function(){var e;c((null==(e=o.find((function(e){return e.selected})))?void 0:e.walletType)||"")}),[o]),r.createElement(Cr,null,o.map((function(e,t){var n=a===e.walletType;return r.createElement(Lr,{checked:n,onClick:s.bind(null,e),key:t},r.createElement("img",{src:e.image,alt:e.walletType,width:24,height:24}),r.createElement(Xe,{variant:"body2"},e.name),r.createElement(Sr,{checked:n},r.createElement(zr,{checked:n})))})))}var Mr=w(a.Root,{variants:{direction:{horizontal:{display:"flex",flexDirection:"row",flexWrap:"wrap"},vertical:{display:"grid",gridGap:"$24"}}}}),Ir=w("div",{display:"flex",alignItems:"center",marginRight:"$8"}),jr=w(a.Item,{backgroundColor:"$neutrals300",width:"20px",height:"20px",borderRadius:"100%",border:"none",cursor:"pointer","&:hover":{backgroundColor:"$neutrals400"}}),Br=w("div",{display:"flex"}),Fr=w(a.Indicator,{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",position:"relative","&::after":{content:"",display:"block",width:"10px",height:"10px",borderRadius:"50%",backgroundColor:"$primary"}}),Wr=w("label",{paddingLeft:"$8",cursor:"pointer"});function _r(e){var t=e.direction;return r.createElement(Br,null,r.createElement(Mr,{onValueChange:e.onChange,defaultValue:e.defaultValue,direction:void 0===t?"vertical":t,style:e.style},e.options.map((function(e,t){return r.createElement(Ir,{key:t},r.createElement(jr,{value:e.value,id:e.value},r.createElement(Fr,null)),r.createElement(Wr,{htmlFor:e.value},r.createElement(Xe,{variant:"body2"},e.label)))}))))}var Tr=w("div",{borderRadius:"$5",backgroundColor:"$neutrals200",padding:"$16"}),Nr=w("div",{display:"flex",flexWrap:"wrap",marginTop:"$16"}),Zr=w(Tr,{display:"flex",justifyContent:"space-between",marginTop:"$32",cursor:"pointer"}),Ar=w(ce,{marginLeft:"8px"}),Or=w("div",{display:"flex",alignItems:"center",justifyContent:"center"}),Hr=w(Tr,{marginTop:"$32"}),Dr=w("div",{borderRadius:"$10",maxWidth:"512px",boxShadow:"$s",minWidth:"375px",width:"100%",backgroundColor:"$background",height:"fit-content",display:"flex",flexDirection:"column",alignItems:"end",padding:"$16 $24"}),qr=w("div",{width:"100%"}),Vr=w("div",{position:"relative"}),Pr=w("div",{paddingTop:"$8"}),Gr=w("div",{display:"flex",justifyContent:"space-between","@md":{padding:"$12"},"&:hover":{borderColor:"$primary"},variants:{status:{failed:{borderColor:"$error"},running:{borderColor:"$neutrals400"},success:{borderColor:"$success"}}}}),Xr=w("div",{display:"flex",justifyContent:"center",alignItems:"center"}),Ur=w("div",{height:"0",width:"$20",border:"1px dashed $foreground",borderRadius:"inherit","@md":{width:"$36"},"@lg":{width:"$48"}}),Yr=w("div",{width:"$6",height:"$6",backgroundColor:"$foreground",borderRadius:"50%","@lg":{width:"$8",height:"$8"}}),Jr=w("div",{width:"0px",height:"0px",borderTop:"5px solid transparent",borderBottom:"5px solid transparent",borderLeft:"5px solid $foreground"}),Kr=w("div",{position:"absolute",right:"-8px",top:"30%",background:"$background",borderRadius:"50%",display:"flex",justifyContent:"center","@md":{top:"40%",right:"-8px"}});function Qr(e){var t=e.swap,n=e.status,o=t.steps[0],i=t.steps[t.steps.length-1];return r.createElement(Vr,{onClick:e.onClick.bind(null,t.requestId)},r.createElement(Pr,null,r.createElement(Lt,{variant:"outlined",align:"grow",size:"large",type:"failed"===n?"error":"success"===n?"success":void 0},r.createElement(Gr,null,r.createElement(tt,{logo:o.fromLogo,symbol:o.fromSymbol,chainLogo:o.fromBlockchainLogo,blockchain:o.fromBlockchain,amount:t.inputAmount}),r.createElement(Xr,null,r.createElement(Yr,null),r.createElement(Ur,null),r.createElement(Jr,null)),r.createElement(tt,{logo:i.fromLogo,symbol:i.fromSymbol,chainLogo:i.fromBlockchainLogo,blockchain:i.fromBlockchain,amount:i.outputAmount})))),r.createElement(Kr,null,"running"===n?r.createElement(Ee,{size:16}):"failed"===n?r.createElement(_,{size:18,color:"error"}):r.createElement(H,{size:18,color:"success"})))}function en(e){var n=e.itemCount,o=e.hasNextPage,i=e.isNextPageLoading,l=e.loadNextPage,a=e.Item,u=e.innerElementType,m=e.size,p=t.useRef(null),h=function(e){return!o||e<n};return r.createElement(s,{isItemLoaded:h,itemCount:o?n+1:n,loadMoreItems:i?function(){}:l,threshold:1},(function(e){var t=e.onItemsRendered;return r.createElement(d,null,(function(e){return r.createElement(c.VariableSizeList,{innerElementType:u,ref:p,itemSize:function(){return m},itemCount:n,height:e.height,width:e.width,onItemsRendered:t},(function(e){var t=e.index,n=e.style;return h(t)?r.createElement(a,{index:t,style:n}):null}))}))}))}var tn=["style"],rn=w("img",{width:"$32",maxHeight:"$32",marginRight:"$16"}),nn=w("div",{display:"flex",flexDirection:"column"}),on=w("div",{display:"flex",flexDirection:"column",alignItems:"flex-end"}),ln=function(e,t,r){return t?e.filter((function(e){return nt(e.symbol,t)||nt(e.address||"",t)||nt(e.name||"",t)})).slice(0,r):e.slice(0,r)};function an(e){var n=e.list,o=e.searchedText,i=e.onChange,l=e.multiSelect,a=e.selectedList,c=t.useState(e.selected),s=c[0],d=c[1],u=function(e){d(e),i(e)},m=function(e){var t,n,o=e.style,i=e.filteredTokens[e.index];return r.createElement("div",{style:p({display:"flex",alignItems:"center",width:"100%"},o,{height:"48px",top:parseFloat(null==o?void 0:o.top)+0+"px"})},r.createElement(Lt,{variant:"outlined",size:"large",align:"start",onClick:u.bind(null,i),type:(n=i,(l&&a?"all"===a||a.map((function(e){return e.symbol+e.address})).indexOf(n.symbol+n.address)>-1:(null==s?void 0:s.symbol)===n.symbol&&(null==s?void 0:s.address)===n.address)?"primary":void 0),prefix:r.createElement(rn,{src:i.image}),suffix:(null==(t=i.balance)?void 0:t.amount)&&r.createElement(on,null,r.createElement(Xe,{variant:"body2"},i.balance.amount),r.createElement(Xe,{variant:"caption"},i.balance.usdValue+"$"))},r.createElement(nn,null,r.createElement(Xe,{variant:"body1"},i.symbol),r.createElement(Xe,{variant:"body2"},i.name))))},g=t.useState(!0),v=g[0],f=g[1],$=t.useState(!1),x=$[0],w=$[1],b=t.useState(n),E=b[0],k=b[1];t.useEffect((function(){k(ln(n,o,20))}),[o]),t.useEffect((function(){f(ln(n,o).length>ln.length)}),[E.length]);var y=t.forwardRef((function(e,t){var n=e.style,o=h(e,tn);return r.createElement("div",Object.assign({ref:t,style:p({},n,{height:parseFloat(null==n?void 0:n.height)+16+"px"})},o))}));return r.createElement("div",{style:{height:"450px"}},r.createElement(en,{Item:function(e){return r.createElement(m,{filteredTokens:E,style:e.style,index:e.index})},hasNextPage:v,isNextPageLoading:x,itemCount:E.length,loadNextPage:function(){w(!0),setTimeout((function(){w(!1),k(ln(n,o,E.length+20))}),0)},innerElementType:y,size:56}))}var cn=w(u.Trigger,{border:0,padding:0,backgroundColor:"transparent"}),sn=w(u.Content,{borderRadius:"$5",padding:"$4 $8",fontSize:"$14",animationDuration:"400ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",variants:{color:{primary:{backgroundColor:"$primary",color:"$white"},error:{backgroundColor:"$error",color:"$white"},warning:{backgroundColor:"$warning",color:"$white"},success:{backgroundColor:"$success",color:"$white"},gray:{backgroundColor:"$neutrals300",color:"$black"},black:{backgroundColor:"$black",color:"$white"},white:{backgroundColor:"$white",color:"$black"}}}}),dn=w(u.Arrow,{variants:{color:{primary:{fill:"$primary"},error:{fill:"$error"},warning:{fill:"$warning"},success:{fill:"$success"},gray:{fill:"$neutrals300"},black:{fill:"$black"},white:{fill:"$white"}}}}),un=w("div",{display:"inline-block"}),mn=w("div",{position:"relative"}),pn=w("div",{border:"1px solid $neutrals300",borderRadius:"$5",width:"$32",height:"$32"}),hn=w("div",{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}),gn=w("div",{position:"absolute",zIndex:"2",variants:{place:{top:{top:"-241px"},bottom:{},left:{top:"-50%",left:"-225px"},right:{top:"-50%",right:"-225px"}}}}),vn=w("div",{width:"0",marginLeft:"$12",height:"36px",border:"1px dashed $foreground",borderRadius:"inherit"}),fn=w("div",{display:"flex",alignItems:"center",marginLeft:"6px"}),$n=w("div",{display:"flex",alignItems:"center"}),xn=w("img",{width:"$16",height:"$16"}),wn=w("div",{position:"relative"}),bn=w("div",{display:"flex",alignItems:"center"}),En=w("div",{width:"$8",height:"$8",backgroundColor:"$foreground",borderRadius:"4px",marginLeft:"$8"}),kn=w("div",{width:"0px",height:"0px",borderLeft:"5px solid transparent",borderRight:"5px solid transparent",borderTop:"5px solid $foreground",marginLeft:"$8"}),yn=w("div",{paddingBottom:"$16"}),Cn=w("div",{display:"flex",alignItems:"center"}),Sn=w("div",{padding:"$16 0"}),zn=w("div",{height:"100%",display:"flex",justifyContent:"center",alignItems:"center"}),Ln=w(Xe,{color:"$error"}),Rn=w("div",{marginBottom:"$24",paddingRight:"$8"}),Mn=w(Xe,{color:"$neutrals500"}),In=function(e){var t=e.onSwapClick,n=e.list.reduce((function(e,t){var r=e.findIndex((function(e){return"running"===t.status&&"Active Swaps"==e.title||"running"!==t.status&&"Recent Swaps"==e.title}));return r>-1?e[r].swaps.push(t):e.push({title:"running"===t.status?"Active Swaps":"Recent Swaps",swaps:[t]}),e}),[]);return r.createElement(r.Fragment,null,n.map((function(e,n){return r.createElement(Rn,{key:n},r.createElement(Mn,{variant:"body2"},e.title),e.swaps.map((function(e,n){return r.createElement(Qr,{key:n,swap:e,status:e.status,onClick:t})})))})))},jn=w("a",{color:"$primary",fontWeight:"$600",marginLeft:"$12"}),Bn=w("div",{display:"flex"}),Fn=w("div",{display:"flex",padding:"$10"}),Wn=w("div",{display:"flex",alignItems:"center"}),_n=w(Xe,{color:"$success",marginLeft:"$8"}),Tn=w(_n,{color:"$error"}),Nn=w("div",{width:"0",marginLeft:"$12",border:"1px dashed $foreground",borderRadius:"inherit"});exports.AddCircleIcon=N,exports.AddIcon=F,exports.AddWalletIcon=je,exports.Alert=Xt,exports.AngleDownIcon=me,exports.AngleLeftIcon=he,exports.AngleRightIcon=ce,exports.AngleUpIcon=de,exports.BagIcon=Ae,exports.BanIcon=P,exports.BestRoute=function(e){var n,o,i,l=e.data,a=e.loading,c=e.error,s="";return l&&(o=function(e){var t,r;return((null==e||null==(t=e.result)||null==(r=t.swaps)?void 0:r.flatMap((function(e){return e.fee.map((function(t){return{swapperId:e.swapperId,fee:t}}))})))||[]).reduce((function(e,t){return e+parseFloat(t.fee.amount)}),0).toFixed(3)}(l),i=function(e){var t,r;return(null==e||null==(t=e.result)||null==(r=t.swaps)?void 0:r.reduce((function(e,t){return e+t.estimatedTimeInSeconds}),0))||0}(l),s=""+parseInt((i/60).toString()).toString()),r.createElement(pt,null,a?r.createElement(kt,null,r.createElement(it,{width:48,height:94})):r.createElement(Et,null,r.createElement(K,{size:20}),r.createElement(Xe,{mt:4,align:"center",variant:"caption"},c&&"-",!!l&&"$"+o),r.createElement(ft,null),r.createElement(He,{size:20}),r.createElement(Xe,{mt:4,align:"center",variant:"caption"},c&&"-",!!l&&"~"+s+"m")),r.createElement(gt,null,a&&r.createElement(at,{color:"primary"}),c&&r.createElement(ht,{variant:"caption"},c),!!l&&(null==(n=l.result)?void 0:n.swaps.map((function(e,n){var o;return r.createElement(t.Fragment,{key:n},0===n&&r.createElement(xt,null,r.createElement(tt,{direction:"vertical",logo:e.from.logo,symbol:e.from.symbol,chainLogo:e.from.blockchainLogo,blockchain:e.from.blockchain,amount:e.fromAmount}),r.createElement(wt,null)),r.createElement(yt,null,r.createElement(vt,null),r.createElement($t,{src:e.swapperLogo,alt:e.swapperId}),r.createElement(vt,null)),n+1===(null==(o=l.result)?void 0:o.swaps.length)&&r.createElement(bt,null),r.createElement(tt,{direction:"vertical",logo:e.to.logo,symbol:e.to.symbol,chainLogo:e.to.blockchainLogo,blockchain:e.to.blockchain,amount:e.toAmount}))}))),!!l&&!(null!=l&&l.result)&&r.createElement(Xe,{variant:"body2"},"No routes found")))},exports.BlockchainSelector=function(e){var t=e.list,n=e.onChange,o=e.selected,i=e.loadingStatus,l=e.listContainerStyle,a=e.multiSelect,c=e.selectedList;return r.createElement(Ht,{textField:!0,hasHeader:e.hasHeader,textFieldPlaceholder:"Search Blockchain By Name",title:"Select "+e.type+" Network",onBack:e.onBack,Content:function(e){var s=e.searchedFor,d=function(e,t){return e.filter((function(e){return nt(e.name,t)||nt(e.displayName,t)}))}(t,s);return r.createElement(Ut,{style:l},"loading"===i&&r.createElement("div",null,r.createElement(at,{size:24})),"failed"===i&&r.createElement(Xt,{type:"error",description:"Error connecting server, please reload the app and try again"}),"success"===i&&r.createElement(r.Fragment,null,d.length>0?r.createElement(jt,{list:d,selected:o,multiSelect:a,selectedList:c,onChange:n}):r.createElement(Xt,{type:"secondary",description:s+" not found"})))}})},exports.Button=Lt,exports.CheckCircleIcon=H,exports.CheckIcon=q,exports.CheckSquareIcon=j,exports.CheckWalletIcon=_e,exports.Checkbox=function(e){var t=e.label,o=e.id,i=h(e,Yt);return r.createElement(Jt,null,r.createElement(Kt,Object.assign({id:o},i),r.createElement(n.Indicator,null,r.createElement(q,{size:20}))),r.createElement(Qt,{htmlFor:o},t," "))},exports.Chip=tr,exports.CloseIcon=De,exports.ColorPicker=function(e){var n=e.color,o=e.onChangeColor,i=e.label,l=e.place,a=t.useState(!1),c=a[0],s=a[1];return r.createElement(mn,null,r.createElement(Xe,{mb:4,variant:"body2"},i),r.createElement(Lt,{variant:"outlined",prefix:r.createElement(pn,{style:{backgroundColor:n}}),fullWidth:!0,align:"start",size:"large",onClick:function(){return s((function(e){return!e}))}},n),c&&r.createElement(gn,{place:l},r.createElement(hn,{onClick:function(){return s(!1)}}),r.createElement(m.ChromePicker,{color:n,onChange:o})))},exports.ConfirmSwap=function(e){var n,o=e.bestRoute,i=e.error,l=e.warning;return r.createElement(Ht,{textField:!1,title:"Swap",onBack:e.onBack,Footer:r.createElement(bn,null,r.createElement(Lt,{type:"primary",fullWidth:!0,loading:e.loading,variant:"contained",onClick:e.onConfirm},"Swap")),Content:null==o||null==(n=o.result)?void 0:n.swaps.map((function(e,n){var a;return r.createElement(t.Fragment,{key:n},r.createElement(yn,null,i&&r.createElement(Xt,{description:i,type:"error"}),l&&r.createElement(Xt,{description:l,type:"warning"})),0===n&&r.createElement(wn,null,r.createElement(tt,{logo:e.from.logo,symbol:e.from.symbol,chainLogo:e.from.blockchainLogo,blockchain:e.from.blockchain,amount:e.fromAmount}),r.createElement(En,null)),r.createElement(vn,null),r.createElement(fn,null,r.createElement(xn,{src:e.swapperLogo,alt:e.swapperId}),r.createElement("div",null,r.createElement(Xe,{ml:4,variant:"caption"},e.swapperType," from ",e.from.symbol," to ",e.to.symbol," ","via ",e.swapperId," "),r.createElement($n,null,r.createElement(K,null),r.createElement(Xe,{ml:4,variant:"caption"},parseFloat(e.fee[0].amount).toFixed(6)," estimated gas fee")))),r.createElement(vn,null),n+1===(null==(a=o.result)?void 0:a.swaps.length)&&r.createElement(kn,null),r.createElement(tt,{logo:e.to.logo,symbol:e.to.symbol,chainLogo:e.to.blockchainLogo,blockchain:e.to.blockchain,amount:e.toAmount}))}))})},exports.ConfirmWallets=function(e){var t,n,o,i=e.onBack,l=e.loading,a=e.onConfirm,c=e.swap,s=e.requiredWallets,d=e.selectableWallets,u=e.onChange,m=e.confirmDisabled,p=null==(t=c.result)?void 0:t.swaps[0],h=null==(n=c.result)?void 0:n.swaps[(null==(o=c.result)?void 0:o.swaps.length)-1],g=rt(null==p?void 0:p.fromAmount,3),v=rt(null==h?void 0:h.toAmount,3);return r.createElement(Ht,{textField:!1,title:"Confirm Swap",onBack:i,Footer:r.createElement(Cn,null,r.createElement(Lt,{fullWidth:!0,loading:l,type:"primary",variant:"contained",onClick:a,disabled:m},"Confirm")),Content:r.createElement(r.Fragment,null,r.createElement(Xe,{variant:"h6",mb:12},"Confirm swap ",g," ",null==h?void 0:h.from.symbol," (",null==p?void 0:p.from.blockchain,") to ",v," ",null==h?void 0:h.to.symbol," ","(on ",null==h?void 0:h.to.blockchain,")"),s.map((function(e,t){var n=d.filter((function(t){return e===t.chain}));return r.createElement("div",{key:t},r.createElement(Xe,{variant:"body2",mb:12,mt:12},t+1,") Your ",e," Wallet"),0===n.length&&r.createElement(Sn,null,r.createElement(Xt,{type:"error",description:"You should connect a "+e+" supported wallet"})),0!=n.length&&r.createElement(Rr,{list:n,onChange:u}))})))})},exports.ConnectWalletsModal=function(e){var t=e.open,n=e.onSelect,o=e.onClose,i=r.createElement(pr,null,e.list.map((function(e,t){return r.createElement(mr,Object.assign({},e,{key:t,onClick:n}))})));return r.createElement(cr,{title:"Connect Wallets",open:t,content:i,onClose:o,containerStyle:{width:"75%",maxWidth:"30rem",height:"70%"}})},exports.DeleteCircleIcon=M,exports.DeleteWalletIcon=Fe,exports.DownloadIcon=ve,exports.FilledCircle=Rt,exports.GasIcon=K,exports.History=function(e){var t=e.list,n=void 0===t?[]:t,o=e.onSwapClick;return r.createElement(Ht,{onBack:e.onBack,textField:!0,textFieldPlaceholder:"Search By Blockchain Or Token",title:"History",Content:function(e){var t=function(e,t){return e.filter((function(e){var r=e.steps[0],n=e.steps[e.steps.length-1];return nt(r.fromBlockchain,t)||nt(r.fromSymbol,t)||nt(n.toBlockchain,t)||nt(n.toSymbol,t)||nt(e.requestId,t)}))}(n,e.searchedFor);return t.length?r.createElement(In,{list:t,onSwapClick:o}):r.createElement(zn,null,r.createElement(Ln,{variant:"caption"},"Not Found"))}})},exports.HistoryIcon=Y,exports.HorizontalSwapIcon=Se,exports.InfoCircleIcon=_,exports.LiquiditySourcesSelector=function(e){var t=e.list,n=e.onChange,o=e.onBack,i=e.hasHeader,l=e.listContainerStyle;return r.createElement(Ht,{textField:!0,textFieldPlaceholder:"Search By Name",title:"Liquidity Sources",TopButton:r.createElement(yr,{variant:"ghost",type:"primary",onClick:e.toggleAll},t.find((function(e){return e.selected}))?"Clear all":"Select all"),hasHeader:i,onBack:o,Content:function(e){return r.createElement(Er,{listContainerStyle:l,list:(o=t,i=e.searchedFor,o.filter((function(e){return nt(e.title,i||"")}))),onChange:n});var o,i}})},exports.MinusCircleIcon=A,exports.Modal=cr,exports.Radio=_r,exports.RetryIcon=Le,exports.RetryLeftIcon=we,exports.RetryRightIcon=$e,exports.SearchIcon=le,exports.SearchMinusIcon=oe,exports.SecondaryPage=Ht,exports.SelectableWalletList=Rr,exports.Settings=function(e){var n=e.slippages,o=e.selectedLiquiditySources,i=e.liquiditySources,l=e.onSlippageChange,a=e.onLiquiditySourcesClick,c=e.onBack,s=e.customSlippage,d=e.onCustomSlippageChange,u=e.maxSlippage,m=e.minSlippage,p=e.selectedTheme,h=e.onThemeChange,g=t.useState(e.selectedSlippage),v=g[0],f=g[1],$=r.createElement(r.Fragment,null,r.createElement(Tr,null,r.createElement(Xe,{variant:"body1"},"Slippage tolerance per swap"),r.createElement(Nr,null,n.map((function(e,t){return r.createElement(tr,{key:t,onClick:function(){s&&d(null),function(e){f(e),l(e)}(e)},selected:!s&&e===v,label:e.toString()+" %",style:{marginRight:"8px"}})})),r.createElement(Tt,{type:"number",value:s,onChange:function(e){var t=parseFloat(e.target.value);(!t||t>=m&&t<=u)&&d(t)},suffix:s&&r.createElement(Xe,{variant:"body2"},"%"),size:"small",placeholder:"Custom",style:{width:"128px",flexGrow:"initial",borderColor:s?"$success":"initial"}}))),r.createElement(Hr,null,r.createElement(Xe,{variant:"body2"},"Theme"),r.createElement(_r,{defaultValue:p,options:[{value:"dark",label:"Dark"},{value:"light",label:"Light"},{value:"auto",label:"Auto"}],onChange:function(e){return h(e)},direction:"horizontal",style:{marginTop:"$24"}})),r.createElement(Zr,{onClick:a},r.createElement(Xe,{variant:"body1"},"Liquidity Sources"),r.createElement(Or,{onClick:a},r.createElement(Xe,{variant:"body2"},"( "+o.length+" / "+i.length+" )"),r.createElement(Ar,null))));return r.createElement(Ht,{title:"Settings",textField:!1,Content:$,onBack:c})},exports.SettingsIcon=ee,exports.SignatureIcon=Ve,exports.Spacer=gr,exports.Spinner=at,exports.StepDetail=tt,exports.SwapContainer=function(e){return r.createElement(Dr,{style:e.style},r.createElement(qr,null,e.children))},exports.SwapDetail=Qr,exports.SwapHistory=function(e){var n=e.pendingSwap;return r.createElement(Ht,{title:"History",textField:!1,onBack:e.onBack,Content:r.createElement(r.Fragment,null,null==n?void 0:n.steps.map((function(e,o){return r.createElement(t.Fragment,{key:o},0===o&&r.createElement(wn,null,r.createElement(tt,{logo:e.fromLogo,symbol:e.fromSymbol,chainLogo:e.fromBlockchainLogo,blockchain:e.fromBlockchain,amount:n.inputAmount}),r.createElement(En,null)),r.createElement(Nn,null),r.createElement(fn,null,r.createElement(xn,{src:e.swapperLogo,alt:e.swapperId}),r.createElement("div",null,r.createElement(Xe,{ml:4,variant:"caption"},e.swapperType," from ",e.fromSymbol," to ",e.toSymbol,"via ",e.swapperId),r.createElement($n,null,r.createElement(K,null),r.createElement(Xe,{ml:4,variant:"caption"},"fee")))),r.createElement("div",{style:{display:"flex"}},r.createElement(Bn,null,r.createElement(Nn,null),!!e.explorerUrl&&r.createElement("div",null,e.explorerUrl.map((function(e,t){return r.createElement(Fn,{key:t},r.createElement(Wn,null,r.createElement(H,{color:"success"}),r.createElement(_n,{variant:"body2"},e.description?r.createElement("b",null,e.description.substring(0,1).toUpperCase(),e.description.substring(1)):r.createElement("b",null,"View transaction"))),r.createElement(jn,{href:e.url,target:"_blank",rel:"noreferrer",key:t},"TX-Link"))})),"failed"===e.status&&r.createElement(Fn,null,r.createElement(Wn,null,r.createElement(_,{color:"error"}),r.createElement(Tn,{variant:"body2"},"Step failed")))))),o+1===n.steps.length&&r.createElement(kn,null),r.createElement(tt,{logo:e.toLogo,symbol:e.toSymbol,chainLogo:e.toBlockchainLogo,blockchain:e.toBlockchain,amount:e.outputAmount}))})))})},exports.SwapWalletIcon=Ne,exports.Switch=$r,exports.TextField=Tt,exports.TimeIcon=He,exports.TokenList=an,exports.TokenSelector=function(e){var t=e.list,n=e.selected,o=e.onChange,i=e.multiSelect,l=e.selectedList;return r.createElement(Ht,{textField:!0,textFieldPlaceholder:"Search Blockchain By Name",title:"Select "+e.type+" Token",hasHeader:e.hasHeader,onBack:e.onBack,Content:function(e){return r.createElement(an,{searchedText:e.searchedFor,list:t,selected:n,selectedList:l,multiSelect:i,onChange:o})}})},exports.Tooltip=function(e){var t=e.content,n=e.side,o=void 0===n?"top":n,i=e.color,l=void 0===i?"gray":i;return r.createElement(u.Provider,null,r.createElement(u.Root,null,r.createElement(cn,{asChild:!0},r.createElement(un,null,e.children)),r.createElement(u.Portal,null,r.createElement(sn,{color:l,side:o,sideOffset:5},t,r.createElement(dn,{color:l})))))},exports.TrashIcon=re,exports.TryAgainIcon=Ee,exports.Typography=Xe,exports.VerticalSwapIcon=ye,exports.Wallet=mr,exports.WalletIcon=Me,exports.WarningIcon=X,exports.createTheme=E,exports.css=b,exports.darkTheme=S,exports.globalCss=y,exports.keyframes=k,exports.lightTheme=C,exports.styled=w;
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),r=e(t),n=require("@radix-ui/react-checkbox"),o=require("react-dom"),i=require("@rango-dev/wallets-shared"),l=require("@radix-ui/react-switch"),a=require("@radix-ui/react-radio-group"),c=require("react-window"),s=e(require("react-window-infinite-loader")),d=e(require("react-virtualized-auto-sizer")),u=require("@radix-ui/react-tooltip"),m=require("react-color");function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}var g,v,f,$,x=(0,require("@stitches/react").createStitches)({media:{sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)"},theme:{colors:{primary:"#5FA425",primary100:"#9FC87C",primary200:"#8FBF66",primary300:"#7FB651",primary400:"#6FAD3B",primary500:"#5FA425",primary600:"#4C831E",primary700:"#396216",primary800:"#26420F",primary900:"#132107",neutrals200:"#FAFAFA",neutrals300:"#EAEAEA",neutrals400:"#999999",neutrals500:"#888888",neutrals600:"#666666",neutrals700:"#444444",neutrals800:"#333333",neutrals900:"#111111",background:"#fff",foreground:"#000",success:"#0070F3",success100:"#D3E5FF",success300:"#3291FF",success500:"#0070F3",success700:"#0761D1",warning:"#F5A623",warning100:"#FFEFCF",warning300:"#F7B955",warning500:"#F5A623",warning700:"#AB570A",error:"#FF0000",error100:"#F7D4D6",error300:"#FF3333",error500:"#FF0000",error700:"#E60000"},space:{2:"2px",4:"4px",6:"6px",8:"8px",10:"10px",12:"12px",16:"16px",20:"20px",24:"24px",28:"28px",30:"30px",32:"32px"},fontSizes:{10:"10px",12:"12px",14:"14px",16:"16px",18:"18px",20:"20px",24:"24px",32:"32px",36:"36px",40:"40px",48:"48px"},fonts:{},fontWeights:{400:"400",500:"500",600:"600",700:"700"},lineHeights:{},letterSpacings:{},sizes:{4:"4px",6:"6px",8:"8px",12:"12px",16:"16px",20:"20px",24:"24px",28:"28px",32:"32px",36:"36px",40:"40px",48:"48px"},borderWidths:{},borderStyles:{},radii:{5:"5px",10:"10px"},shadows:{s:"0px 3px 5px 3px #f0f2f5, 0px 6px 10px 3px #f0f2f5, 0px 1px 18px 3px #f0f2f5"},zIndices:{},transitions:{}},utils:{bc:function(e){return{backgroundColor:e}}}}),w=x.styled,b=x.css,E=x.createTheme,k=x.keyframes,y=x.globalCss,C=E({}),S=E({colors:{neutrals200:"#111111",neutrals300:"#333333",neutrals400:"#444444",neutrals500:"#666666",neutrals600:"#888888",neutrals700:"#999999",neutrals800:"#EAEAEA",neutrals900:"#FAFAFA",foreground:"#fff",background:"#000"},shadows:{s:"0px 3px 5px 3px #222, 0px 6px 10px 3px #222, 0px 1px 18px 3px #222"}}),z=w("svg",{stroke:"$foreground",variants:{color:{primary:{stroke:"$primary"},error:{stroke:"$error"},warning:{stroke:"$warning"},success:{stroke:"$success"},black:(g={$$color:"$colors$foreground"},g["."+S+" &"]={$$color:"$colors$background"},g.stroke="$$color",g),white:(v={$$color:"$colors$background"},v["."+S+" &"]={$$color:"$colors$foreground"},v.stroke="$$color",v)}}}),L=w("svg",{fill:"$foreground",variants:{color:{primary:{fill:"$primary"},error:{fill:"$error"},warning:{fill:"$warning"},success:{fill:"$success"},black:(f={$$color:"$colors$foreground"},f["."+S+" &"]={$$color:"$colors$background"},f.fill="$$color",f),white:($={$$color:"$colors$background"},$["."+S+" &"]={$$color:"$colors$foreground"},$.fill="$$color",$)}}}),R=["size","color"],M=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,R);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM9.17 14.83l5.66-5.66M14.83 14.83 9.17 9.17",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};M.toString=function(){return"._icon"};var I=["size","color"],j=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,I);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"m7.75 12 2.83 2.83 5.67-5.66",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};j.toString=function(){return"._icon"};var B=["size","color"],F=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,B);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M6 12h12M12 18V6",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};F.toString=function(){return"._icon"};var W=["size","color"],_=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,W);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM12 8v5",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff"}),t.createElement("path",{d:"M11.994 16h.01",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff"}))};_.toString=function(){return"._icon"};var T=["size","color"],N=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,T);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM8 12h8M12 16V8",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};N.toString=function(){return"._icon"};var Z=["size","color"],A=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Z);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M11.92 22c5.5 0 10-4.5 10-10s-4.5-10-10-10-10 4.5-10 10 4.5 10 10 10ZM7.92 12h8",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};A.toString=function(){return"._icon"};var O=["size","color"],H=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,O);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff"}),t.createElement("path",{d:"m7.75 12 2.83 2.83 5.67-5.66",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",stroke:"#fff"}))};H.toString=function(){return"._icon"};var D=["size","color"],q=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,D);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:o,className:"_icon"},i),t.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fillRule:"evenodd",clipRule:"evenodd"}))};q.toString=function(){return"._icon"};var V=["size","color"],P=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,V);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10ZM18.9 5l-14 14",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};P.toString=function(){return"._icon"};var G=["size","color"],X=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,G);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.994 17h.01",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))};X.toString=function(){return"._icon"};var U=["size","color"],Y=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,U);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.767 1.5c-.7.002-1.267.57-1.267 1.26V9h2.67c.63 0 1.07-.196 1.352-.478C19.804 8.24 20 7.8 20 7.17V4.75c0-.89-.363-1.704-.952-2.301a3.27 3.27 0 0 0-2.281-.949ZM14 2.76C14 1.23 15.25 0 16.77 0h.007a4.77 4.77 0 0 1 3.333 1.39l.004.003A4.775 4.775 0 0 1 21.5 4.75v2.42c0 .95-.304 1.8-.917 2.413-.613.613-1.462.917-2.413.917h-3.42a.75.75 0 0 1-.75-.75V2.76Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.057 1.431C1.862.5 3.097 0 4.75 0h12a.75.75 0 0 1 0 1.5c-.686 0-1.25.564-1.25 1.25v17c0 1.442-1.646 2.256-2.797 1.402l-.002-.002-1.718-1.285a.242.242 0 0 0-.313.025l-1.68 1.68a1.758 1.758 0 0 1-2.48 0l-.002-.001L4.85 19.9a.258.258 0 0 0-.34-.03l-1.707 1.278-.002.001C1.643 22.024 0 21.193 0 19.75v-15c0-1.203.27-2.408 1.057-3.319Zm13.245.069H4.75c-1.346 0-2.112.396-2.557.911C1.73 2.948 1.5 3.743 1.5 4.75v15c0 .216.235.325.397.202l.004-.002 1.709-1.28a1.757 1.757 0 0 1 2.3.17l.002.001L7.57 20.51a.259.259 0 0 0 .36 0l1.68-1.68c.61-.61 1.59-.688 2.283-.158l1.704 1.276c.17.125.403 0 .403-.198v-17c0-.45.109-.875.302-1.25Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 7.75A.75.75 0 0 1 4.75 7h6a.75.75 0 0 1 0 1.5h-6A.75.75 0 0 1 4 7.75ZM4.75 11.75A.75.75 0 0 1 5.5 11H10a.75.75 0 0 1 0 1.5H5.5a.75.75 0 0 1-.75-.75Z"}))};Y.toString=function(){return"._icon"};var J=["size","color"],K=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,J);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M4 22V5c0-2 1.34-3 3-3h8c1.66 0 3 1 3 3v17H4ZM2.5 22h17",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8.89 10h4.23c1.04 0 1.89-.5 1.89-1.89V6.88c0-1.39-.85-1.89-1.89-1.89H8.89C7.85 4.99 7 5.49 7 6.88v1.23C7 9.5 7.85 10 8.89 10ZM7 13h3M18 16.01l4.5-.01v-6l-2-1",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};K.toString=function(){return"._icon"};var Q=["size","color"],ee=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Q);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M12.5 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.5 12.88v-1.76c0-1.04.85-1.9 1.9-1.9 1.81 0 2.55-1.28 1.64-2.85-.52-.9-.21-2.07.7-2.59l1.73-.99c.79-.47 1.81-.19 2.28.6l.11.19c.9 1.57 2.38 1.57 3.29 0l.11-.19c.47-.79 1.49-1.07 2.28-.6l1.73.99c.91.52 1.22 1.69.7 2.59-.91 1.57-.17 2.85 1.64 2.85 1.04 0 1.9.85 1.9 1.9v1.76c0 1.04-.85 1.9-1.9 1.9-1.81 0-2.55 1.28-1.64 2.85.52.91.21 2.07-.7 2.59l-1.73.99c-.79.47-1.81.19-2.28-.6l-.11-.19c-.9-1.57-2.38-1.57-3.29 0l-.11.19c-.47.79-1.49 1.07-2.28.6l-1.73-.99a1.899 1.899 0 0 1-.7-2.59c.91-1.57.17-2.85-1.64-2.85-1.05 0-1.9-.86-1.9-1.9Z",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};ee.toString=function(){return"._icon"};var te=["size","color"],re=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,te);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M21.5 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3l-2.04.2M9 4.97l.22-1.31C9.38 2.71 9.5 2 11.19 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M19.35 9.14l-.65 10.07c-.11 1.57-.2 2.79-2.99 2.79H9.29c-2.79 0-2.88-1.22-2.99-2.79L5.65 9.14M10.83 16.5h3.33M10 12.5h5",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};re.toString=function(){return"._icon"};var ne=["size","color"],oe=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ne);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M9 11.7h5M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};oe.toString=function(){return"._icon"};var ie=["size","color"],le=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ie);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};le.toString=function(){return"._icon"};var ae=["size","color"],ce=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ae);return t.createElement(z,Object.assign({width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",color:o,className:"_icon"},i),t.createElement("path",{d:"m8.91 19.92 6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};ce.toString=function(){return"._icon"};var se=["size","color"],de=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,se);return t.createElement(z,Object.assign({width:n,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",color:o,className:"_icon"},i),t.createElement("path",{d:"M19.92 15.05 13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};de.toString=function(){return"._icon"};var ue=["size","color"],me=function(e){var t=e.size,n=void 0===t?16:t,o=e.color,i=h(e,ue);return r.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),r.createElement("path",{d:"m19.92 8.95-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};me.toString=function(){return"._icon"};var pe=["size","color"],he=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,pe);return t.createElement(z,Object.assign({width:n,height:n,fill:"none",viewBox:"0 0 24 24",color:o,xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M15 19.92 8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))};me.toString=function(){return"._icon"};var ge=["size","color"],ve=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ge);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M16.44 8.9c3.6.31 5.07 2.16 5.07 6.21v.13c0 4.47-1.79 6.26-6.26 6.26H8.74c-4.47 0-6.26-1.79-6.26-6.26v-.13c0-4.02 1.45-5.87 4.99-6.2M12 2v12.88",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15.35 12.65 12 16l-3.35-3.35",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};ve.toString=function(){return"._icon"};var fe=["size","color"],$e=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,fe);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M14.89 5.08c-.87-.26-1.83-.43-2.89-.43-4.79 0-8.67 3.88-8.67 8.67C3.33 18.12 7.21 22 12 22s8.67-3.88 8.67-8.67c0-1.78-.54-3.44-1.46-4.82M16.13 5.32 13.24 2M16.13 5.32l-3.37 2.46",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};$e.toString=function(){return"._icon"};var xe=["size","color"],we=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,xe);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M9.11 5.08c.87-.26 1.83-.43 2.89-.43 4.79 0 8.67 3.88 8.67 8.67s-3.88 8.67-8.67 8.67-8.67-3.88-8.67-8.67c0-1.78.54-3.44 1.46-4.82M7.87 5.32 10.76 2M7.87 5.32l3.37 2.46",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};we.toString=function(){return"._icon"};var be=["size","color"],Ee=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,be);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};Ee.toString=function(){return"._icon"};var ke=["size","color"],ye=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,ke);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"m13.82 6.85 3.04 3.04M13.82 17.15V6.85M10.18 17.15l-3.04-3.04M10.18 6.85v10.3",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};ye.toString=function(){return"._icon"};var Ce=["size","color"],Se=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Ce);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{d:"m17.15 13.82-3.04 3.04M6.85 13.82h10.3M6.85 10.18l3.04-3.04M17.15 10.18H6.85",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))};Se.toString=function(){return"._icon"};var ze=["color","size"],Le=t.forwardRef((function(e,r){var n=e.color,o=e.size,i=void 0===o?16:o,l=h(e,ze);return t.createElement(L,Object.assign({width:i,height:i,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",color:n,className:"_icon"},l,{ref:r}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.016 13.45c.199-.384.002-.842-.397-1.005-.406-.166-.864.033-1.077.416A6.17 6.17 0 0 1 13 15.345a6.051 6.051 0 0 1-4.244.513 6.127 6.127 0 0 1-3.543-2.425 6.286 6.286 0 0 1 .73-8.095A6.089 6.089 0 0 1 9.86 3.604a6.07 6.07 0 0 1 4.083 1.286 6.196 6.196 0 0 1 1.65 1.97l-1.053.363a.302.302 0 0 0-.073.534l2.607 1.758a.3.3 0 0 0 .45-.155l1.01-3.007a.298.298 0 0 0-.38-.378l-1.057.365a7.79 7.79 0 0 0-2.194-2.713 7.627 7.627 0 0 0-5.13-1.615A7.65 7.65 0 0 0 4.852 4.19a7.898 7.898 0 0 0-.917 10.17 7.7 7.7 0 0 0 4.452 3.048 7.604 7.604 0 0 0 5.333-.644 7.757 7.757 0 0 0 3.297-3.315Z",fill:n}))}));Le.toString=function(){return"._icon"};var Re=["size","color"],Me=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Re);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.51 7.205a3.018 3.018 0 0 0-3.01 3.01v6.73a3.018 3.018 0 0 0 3.01 3.01h11.48a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227 2.743 2.743 0 0 1 1.971-.82H19v-.69a3.018 3.018 0 0 0-3.01-3.01H4.51ZM0 10.215a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.36 0-.675.14-.903.373l-.013.014c-.266.26-.415.63-.377 1.022v.009c.053.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H4.51A4.518 4.518 0 0 1 0 16.945v-6.73Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.35 2.655a1.15 1.15 0 0 0-1.554-1.079l-7.94 3A2.098 2.098 0 0 0 1.5 6.547v4.569a.75.75 0 1 1-1.5 0v-4.57c0-1.5.922-2.84 2.325-3.371l7.94-3s-.001 0 0 0c1.732-.657 3.585.629 3.585 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM17.729 12.405c-.36 0-.675.14-.903.373l-.013.014c-.266.26-.415.63-.377 1.022v.009c.053.635.664 1.182 1.413 1.182h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.778-1.03-2.907-2.553a2.759 2.759 0 0 1 .816-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75Z"}))};Me.toString=function(){return"._icon"};var Ie=["size","color"],je=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Ie);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.569 7.205a3.018 3.018 0 0 0-3.01 3.01v3.076a4.749 4.749 0 0 1 6.5 4.414c0 .808-.206 1.579-.574 2.25h8.564a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H6.569Zm-4.51 3.01a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.36 0-.675.14-.903.373l-.014.014c-.266.26-.414.63-.377 1.022l.001.009c.053.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H7.939a.75.75 0 0 1-.482-1.324c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-5.283-2.533.75.75 0 0 1-1.217-.587v-4.37Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.409 2.655a1.15 1.15 0 0 0-1.555-1.078l-7.94 3a2.098 2.098 0 0 0-1.355 1.968v4.57a.75.75 0 0 1-1.5 0v-4.57c0-1.5.921-2.84 2.324-3.371l7.94-3c1.733-.657 3.586.629 3.586 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM19.787 12.405c-.359 0-.674.14-.902.374l-.014.013c-.266.26-.414.63-.377 1.022v.01c.054.634.664 1.181 1.413 1.181h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.777-1.03-2.907-2.553a2.759 2.759 0 0 1 .817-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.559 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM5.309 14.455c-.762 0-1.469.267-2.033.717h-.001a3.22 3.22 0 0 0-1.216 2.533c0 .61.17 1.184.468 1.667l.006.01a3.22 3.22 0 0 0 2.776 1.573 3.155 3.155 0 0 0 2.148-.824c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-3.25-3.25Zm-2.967-.457a4.749 4.749 0 0 1 7.717 3.707c0 .888-.248 1.73-.687 2.446-.25.427-.57.808-.941 1.12a4.656 4.656 0 0 1-3.122 1.184 4.72 4.72 0 0 1-4.062-2.301 4.671 4.671 0 0 1-.688-2.449 4.72 4.72 0 0 1 1.783-3.707Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.07 17.685a.75.75 0 0 1 .75-.75H6.8a.75.75 0 0 1 0 1.5H3.82a.75.75 0 0 1-.75-.75Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.309 15.475a.75.75 0 0 1 .75.75v2.99a.75.75 0 0 1-1.5 0v-2.99a.75.75 0 0 1 .75-.75Z"}))};je.toString=function(){return"._icon"};var Be=["size","color"],Fe=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Be);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.627 7.205a3.018 3.018 0 0 0-3.01 3.01v3.076a4.749 4.749 0 0 1 6.5 4.414c0 .808-.205 1.579-.573 2.25h8.563a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.777-1.03-2.907-2.553a2.759 2.759 0 0 1 .817-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H6.627Zm-4.51 3.01a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.359 0-.675.14-.902.373l-.014.014c-.266.26-.415.63-.377 1.022v.009c.054.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H7.997a.75.75 0 0 1-.482-1.325c.243-.203.457-.456.624-.743l.01-.016a3.17 3.17 0 0 0 .468-1.666 3.249 3.249 0 0 0-5.282-2.533.75.75 0 0 1-1.218-.587v-4.37Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.467 2.655a1.15 1.15 0 0 0-1.554-1.079l-7.94 3a2.098 2.098 0 0 0-1.356 1.97v4.569a.75.75 0 1 1-1.5 0v-4.57c0-1.5.922-2.84 2.325-3.371l7.94-3c1.732-.657 3.585.629 3.585 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM19.846 12.405c-.359 0-.675.14-.903.373l-.013.014c-.266.26-.415.63-.377 1.022v.009c.053.635.664 1.182 1.413 1.182h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.778-1.03-2.907-2.553a2.759 2.759 0 0 1 .816-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.617 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM5.367 14.455c-.761 0-1.468.267-2.032.717h-.002a3.22 3.22 0 0 0-1.216 2.533c0 .61.17 1.183.469 1.666l.006.01a3.22 3.22 0 0 0 2.775 1.574 3.155 3.155 0 0 0 2.148-.825c.243-.203.457-.456.624-.743l.01-.016a3.17 3.17 0 0 0 .468-1.666 3.249 3.249 0 0 0-3.25-3.25ZM2.4 13.998a4.749 4.749 0 0 1 7.717 3.707 4.67 4.67 0 0 1-.687 2.446c-.25.427-.57.808-.94 1.12a4.655 4.655 0 0 1-3.123 1.184 4.72 4.72 0 0 1-4.061-2.301 4.67 4.67 0 0 1-.689-2.449A4.72 4.72 0 0 1 2.4 13.998Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.785 16.106a.75.75 0 0 1 1.06-.003l2.12 2.11a.75.75 0 1 1-1.058 1.064l-2.12-2.11a.75.75 0 0 1-.002-1.061Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.948 16.136a.75.75 0 0 1-.002 1.06l-2.12 2.11a.75.75 0 0 1-1.058-1.063l2.12-2.11a.75.75 0 0 1 1.06.003Z"}))};Fe.toString=function(){return"._icon"};var We=["size","color"],_e=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,We);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.686 7.205a3.018 3.018 0 0 0-3.01 3.01v3.076a4.749 4.749 0 0 1 6.5 4.414c0 .808-.205 1.579-.573 2.25h8.563a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H6.686Zm-4.51 3.01a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.36 0-.675.14-.903.373l-.013.014c-.266.26-.415.63-.378 1.022l.001.009c.053.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51H8.056a.75.75 0 0 1-.482-1.324c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-5.283-2.533.75.75 0 0 1-1.217-.587v-4.37Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.526 2.655a1.15 1.15 0 0 0-1.554-1.078l-7.94 3a2.098 2.098 0 0 0-1.356 1.968v4.57a.75.75 0 0 1-1.5 0v-4.57c0-1.5.921-2.84 2.324-3.371l7.94-3c1.733-.657 3.586.629 3.586 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM19.905 12.405c-.36 0-.675.14-.903.374l-.014.013c-.265.26-.414.63-.377 1.022l.001.01c.053.634.664 1.181 1.413 1.181h1.942a.276.276 0 0 0 .268-.27v-2.06a.276.276 0 0 0-.268-.27h-2.062Zm-1.971-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.724 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.778-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.676 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM5.426 14.455c-.762 0-1.469.267-2.033.717h-.001a3.22 3.22 0 0 0-1.216 2.533c0 .61.17 1.184.468 1.667l.006.01a3.22 3.22 0 0 0 2.776 1.573 3.155 3.155 0 0 0 2.148-.824c.243-.204.457-.457.624-.744l.01-.015a3.17 3.17 0 0 0 .468-1.667 3.249 3.249 0 0 0-3.25-3.25Zm-2.967-.457a4.749 4.749 0 0 1 7.717 3.707c0 .888-.248 1.73-.687 2.446-.25.427-.57.808-.941 1.12a4.656 4.656 0 0 1-3.122 1.184 4.72 4.72 0 0 1-4.062-2.301 4.671 4.671 0 0 1-.688-2.449 4.72 4.72 0 0 1 1.783-3.707Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.538 16.215a.75.75 0 0 1-.042 1.06l-2.13 1.97a.75.75 0 0 1-1.04-.02l-.99-.99a.75.75 0 1 1 1.062-1.06l.48.48 1.6-1.48a.75.75 0 0 1 1.06.04Z"}))};_e.toString=function(){return"._icon"};var Te=["size","color"],Ne=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Te);return t.createElement(L,Object.assign({width:n,height:n,viewBox:"0 0 24 24",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.244 7.205a3.018 3.018 0 0 0-3.01 3.01v1.73a.75.75 0 0 1-1.5 0v-1.73a4.518 4.518 0 0 1 4.51-4.51h11.48a4.518 4.518 0 0 1 4.51 4.51v1.44a.75.75 0 0 1-.75.75h-2.02c-.359 0-.674.14-.902.373l-.014.014c-.266.26-.414.63-.377 1.022v.009c.054.635.664 1.182 1.413 1.182h1.9a.75.75 0 0 1 .75.75v1.19a4.518 4.518 0 0 1-4.51 4.51h-5.48a.75.75 0 0 1 0-1.5h5.48a3.018 3.018 0 0 0 3.01-3.01v-.44h-1.15c-1.41 0-2.777-1.03-2.907-2.553a2.758 2.758 0 0 1 .817-2.227 2.743 2.743 0 0 1 1.97-.82h1.27v-.69a3.018 3.018 0 0 0-3.01-3.01H5.244Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.084 2.655a1.15 1.15 0 0 0-1.554-1.078l-7.94 3a2.098 2.098 0 0 0-1.356 1.968v4.57a.75.75 0 0 1-1.5 0v-4.57c0-1.5.922-2.84 2.325-3.371l7.94-3c1.732-.657 3.585.629 3.585 2.481v3.8a.75.75 0 0 1-1.5 0v-3.8ZM18.463 12.405c-.359 0-.675.14-.902.374l-.014.013c-.266.26-.415.63-.377 1.022v.01c.053.634.664 1.181 1.413 1.181h1.943a.276.276 0 0 0 .267-.27v-2.06a.276.276 0 0 0-.267-.27h-2.063Zm-1.97-.68a2.743 2.743 0 0 1 1.97-.82h2.107a1.777 1.777 0 0 1 1.723 1.77v2.06a1.777 1.777 0 0 1-1.75 1.77h-1.96c-1.41 0-2.777-1.03-2.907-2.553a2.758 2.758 0 0 1 .816-2.227Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.234 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75ZM1.234 15.205a.75.75 0 0 1 .75-.75h5.34a1.91 1.91 0 0 1 1.91 1.91v1.28a.75.75 0 0 1-1.5 0v-1.28a.41.41 0 0 0-.41-.41h-5.34a.75.75 0 0 1-.75-.75Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.735 13.455a.75.75 0 0 1 0 1.06l-.69.69.69.69a.75.75 0 1 1-1.061 1.06l-1.22-1.22a.75.75 0 0 1 0-1.06l1.22-1.22a.75.75 0 0 1 1.06 0ZM1.984 17.296a.75.75 0 0 1 .75.75v1.28c0 .225.185.41.41.41h5.34a.75.75 0 0 1 0 1.5h-5.34a1.91 1.91 0 0 1-1.91-1.91v-1.28a.75.75 0 0 1 .75-.75Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.735 18.735a.75.75 0 0 1 1.061 0l1.22 1.22a.75.75 0 0 1 0 1.061l-1.22 1.22a.75.75 0 1 1-1.06-1.06l.689-.69-.69-.69a.75.75 0 0 1 0-1.06Z"}))};Ne.toString=function(){return"._icon"};var Ze=["size","color"],Ae=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,Ze);return t.createElement(z,Object.assign({width:n,height:n,viewBox:"0 0 32 32",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i),t.createElement("g",{clipPath:"url(#a)",strokeWidth:1.5},t.createElement("path",{d:"M9.333 9.333V4.8a.8.8 0 0 1 .8-.8h11.734a.8.8 0 0 1 .8.8v4.533M13.333 4v5.333M16 4v5.333m9.333 17.334H6.667A2.667 2.667 0 0 1 4 24V12a2.667 2.667 0 0 1 2.667-2.667h18.666A2.667 2.667 0 0 1 28 12v12a2.667 2.667 0 0 1-2.667 2.667Z"}),t.createElement("path",{d:"M22 18.666a.667.667 0 1 1 0-1.334.667.667 0 0 1 0 1.334Z",fill:o,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"a"},t.createElement("path",{fill:o,d:"M0 0h32v32H0z"}))))};Ae.toString=function(){return"._icon"};var Oe=["size"],He=t.forwardRef((function(e,r){var n=e.size,o=void 0===n?16:n,i=h(e,Oe);return t.createElement(z,Object.assign({width:o,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"_icon"},i,{ref:r}),t.createElement("circle",{cx:10,cy:10,r:7.25,strokeWidth:1.5}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.134 6.6a.6.6 0 0 0-1.2 0v4.27a.6.6 0 0 0 .28.507c.009.01.018.019.029.028l2.59 2.373a.472.472 0 0 0 .753-.109.763.763 0 0 0-.133-.919l-2.319-2.123V6.6Z"}))}));He.toString=function(){return"._icon"};var De=w(F,{transform:"rotate(45deg)",cursor:"pointer"});De.toString=function(){return"._icon"};var qe=["size","color"],Ve=function(e){var r=e.size,n=void 0===r?16:r,o=e.color,i=h(e,qe);return t.createElement(L,Object.assign({width:n,height:n,color:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 122.88 107.95",xmlSpace:"preserve",className:"_icon"},i),t.createElement("path",{d:"M82.19 0c1.22-.01 2.27.4 3.18 1.27l13.27 12.7c.86.82 1.28 1.91 1.3 3.11.02 1.22-.34 2.33-1.18 3.18l-7.06 7.35L72.09 8.67l6.99-7.28C79.94.5 80.98.02 82.19 0zM20.08 68.29a4.536 4.536 0 1 1 2.67 8.67c-6.98 2.14-11.66 6.28-13.21 10.17-.41 1.04-.55 1.99-.39 2.77.12.59.48 1.13 1.07 1.56 2.55 1.86 8.04 2.34 17.26.1 5.46-1.33 11.31-3.13 16.49-4.73 5.29-1.63 9.91-3.06 13.12-3.66 5.92-1.1 11.83-1.85 16.6-1.61 6.26.31 10.96 2.32 12.57 7.13 1.04 3.11.75 5.81.49 8.23-.09.87-.18 1.68-.14 2.21 0 .02.95-.05 5.53-.41 5.3-.42 10.79-2.51 16.21-4.58 2.78-1.06 5.54-2.11 8.67-3.07 2.4-.73 4.93.63 5.65 3.02.73 2.4-.63 4.93-3.02 5.65-2.43.74-5.24 1.82-8.06 2.89-6.04 2.3-12.14 4.63-18.74 5.15-12.07.95-14.87-2.46-15.3-7.95-.1-1.29.03-2.54.17-3.88.16-1.5.34-3.18-.07-4.39-.18-.54-1.89-.82-4.39-.94-3.99-.2-9.22.48-14.54 1.47-2.65.49-7.05 1.85-12.09 3.41-5.27 1.63-11.22 3.46-17.02 4.87-12.14 2.95-20.21 1.7-24.73-1.6-2.54-1.85-4.05-4.27-4.63-7-.54-2.54-.23-5.28.85-8 2.46-6.14 9.23-12.5 18.98-15.48zm21.19-19.84L53.3 60.02l-14.71 3.95c-.53.1-.74-.11-.65-.6l3.33-14.92zm24.6-33.34 19.59 18.87L58.7 62.23l-23.98 6.43c-.86.17-1.2-.17-1.06-.98l5.43-24.31 26.78-28.26z",style:{fillRule:"evenodd",clipRule:"evenodd"}}))};Ve.toString=function(){return"._icon"};var Pe=["children"],Ge=w("span",{margin:0,color:"$foreground",display:"inline-block",variants:{variant:{h1:{fontSize:"$36",fontWeight:"$700","@md":{fontSize:"$40"},"@lg":{fontSize:"$48"}},h2:{fontSize:"$32",fontWeight:"$700","@md":{fontSize:"$36"},"@lg":{fontSize:"$40"}},h3:{fontSize:"$20",fontWeight:"$700","@md":{fontSize:"$24"},"@lg":{fontSize:"$32"}},h4:{fontSize:"$18",fontWeight:"$600","@md":{fontSize:"$20"},"@lg":{fontSize:"$24"}},h5:{fontSize:"$16",fontWeight:"$600","@md":{fontSize:"$18"},"@lg":{fontSize:"$20"}},h6:{fontSize:"$14",fontWeight:"$500","@md":{fontSize:"$16"},"@lg":{fontSize:"$18"}},body1:{fontSize:"$14",fontWeight:"$400","@md":{fontSize:"$16"},"@lg":{fontSize:"$18"}},body2:{fontSize:"$14",fontWeight:"$400","@lg":{fontSize:"$16"}},caption:{fontSize:"$10",fontWeight:"$400","@lg":{fontSize:"$12"}}},align:{center:{textAlign:"center"},left:{textAlign:"left"},right:{textAlign:"right"}},noWrap:{true:{whiteSpace:"nowrap"}},ml:{2:{marginLeft:"$2"},4:{marginLeft:"$4"},8:{marginLeft:"$8"},12:{marginLeft:"$12"}},mt:{2:{marginTop:"$2"},4:{marginTop:"$4"},8:{marginTop:"$8"},12:{marginTop:"$12"}},mr:{2:{marginRight:"$2"},4:{marginRight:"$4"},8:{marginRight:"$8"},12:{marginRight:"$12"}},mb:{2:{marginBottom:"$2"},4:{marginBottom:"$4"},8:{marginBottom:"$8"},12:{marginBottom:"$12"}}}});function Xe(e){var t=e.children,n=h(e,Pe);return r.createElement(Ge,Object.assign({className:"_typography"},n),t)}Xe.toString=function(){return"._typography"};var Ue=w("div",{position:"relative",width:"$28",height:"$28",variants:{direction:{vertical:{margin:"auto"},horizontal:{}}}}),Ye=w("img",{width:"$28",height:"$28",borderRadius:"50%"}),Je=w("img",{position:"absolute",bottom:0,width:"$12",height:"$12",right:0}),Ke=w("div",{display:"flex",variants:{direction:{horizontal:{alignItems:"center"},vertical:{flexDirection:"column",textAlign:"center",justifyContent:"center"}}}}),Qe=w("div",{variants:{pl:{true:{paddingLeft:"$4","@lg":{paddingLeft:"$8"}},false:{paddingTop:"$8"}}}}),et=w(Xe,{color:"$neutrals600"});function tt(e){var t=e.chainLogo,n=e.amount,o=e.symbol,i=e.blockchain,l=e.direction,a=void 0===l?"horizontal":l;return r.createElement(Ke,{direction:a},r.createElement(Ue,{direction:a},r.createElement(Ye,{src:e.logo,alt:o}),r.createElement(Je,{src:t,alt:i})),r.createElement(Qe,{pl:"horizontal"===a},r.createElement(Xe,{noWrap:!0,variant:"vertical"===a?"body2":"h6"},parseFloat(n).toFixed(2)," ",o),r.createElement(et,{noWrap:!0,variant:"caption"},"on ",i)))}var rt=function(e,t){return void 0===e&&(e="0"),parseFloat(e).toFixed(t)},nt=function(e,t){return e.toLowerCase().includes(t.toLowerCase())},ot=w("div",{borderRadius:"$5",backgroundColor:"$neutrals300",background:"linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%)",backgroundSize:"800px 100px",animation:k({"0%":{backgroundPosition:"-468px 0"},"100%":{backgroundPosition:"468px 0"}})+" 2s infinite ease-out",variants:{width:{16:{width:"$16"},20:{width:"$20"},24:{width:"$24"},36:{width:"$36"},48:{width:"$48"}},height:{16:{height:"$16"},20:{height:"$20"},24:{height:"$24"},36:{height:"$36"},48:{height:"$48"},94:{height:94}}}});function it(e){var t=e.width,n=e.height;return r.createElement(ot,{width:void 0===t?20:t,height:void 0===n?20:n})}var lt=w("div",{borderRadius:"50%",position:"relative",border:"2px solid $neutrals300",borderRight:"2px solid",animation:k({"100%":{transform:"rotate(360deg)"}})+" 1.5s linear infinite",margin:"0px $8",variants:{color:{primary:{borderRightColor:"$primary"},error:{borderRightColor:"$error"},warning:{borderRightColor:"$warning"},success:{borderRightColor:"$success"},black:{borderRightColor:"$black"},white:{borderRightColor:"$white"}},size:{16:{width:"$16",height:"$16"},20:{width:"$20",height:"$20"},24:{width:"$24",height:"$24"}}}});function at(e){var t=e.size,n=e.color;return r.createElement(lt,{size:void 0===t?16:t,color:void 0===n?"primary":n})}var ct,st,dt,ut,mt,pt=w("div",{borderRadius:"$5",border:"1px solid $neutrals300",display:"flex",alignItems:"center",minHeight:126,justifyContent:"space-between"}),ht=w(Xe,{color:"$error"}),gt=w("div",{display:"flex",alignItems:"center",margin:"0 auto",overflowX:"auto",overflowY:"hidden",alignSelf:"stretch",padding:"$4","@md":{padding:"$8"}}),vt=w("div",{height:"0",width:"$20",border:"1px dashed $foreground",borderRadius:"inherit","@lg":{width:"$32"}}),ft=w("hr",{width:"100%",background:"$neutrals200",margin:"$8 0"}),$t=w("img",{width:"$16",height:"$16"}),xt=w("div",{position:"relative"}),wt=w("div",{width:"$6",height:"$6",backgroundColor:"$foreground",position:"absolute",top:"45%",right:-5,marginLeft:"$8",borderRadius:"50%","@md":{width:"$8",height:"$8",right:-8,top:"45%"}}),bt=w("div",{width:"0px",height:"0px",borderTop:"5px solid transparent",borderBottom:"5px solid transparent",borderLeft:"5px solid $foreground"}),Et=w("div",{backgroundColor:"$neutrals300",borderRadius:"5px",margin:"$4",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:"$4","@md":{padding:"$8",margin:"$8"}}),kt=w("div",{padding:"$4","@md":{padding:"$8"}}),yt=w("div",{display:"flex",justifyContent:"center",alignItems:"center"}),Ct=["children","loading","disabled","prefix","suffix","align","flexContent"],St=w("button",{borderRadius:"$5",fontSize:"$16",fontWeight:"$400",cursor:"pointer",padding:"0 $12",display:"flex",alignItems:"center",justifyContent:"center",variants:{align:{start:{display:"flex",width:"100%"},grow:{display:"flex",width:"100%"}},size:{small:{height:"$32"},medium:{height:"$40"},large:{height:"$48"}},variant:{contained:{backgroundColor:"$neutrals300",color:"$foreground",border:0,"&:hover":{backgroundColor:"$neutrals200",color:"$foreground"},"&:disabled":{background:"$neutrals400 !important"}},outlined:{backgroundColor:"$background !important",borderColor:"$neutrals400 !important",color:"$foreground","&:hover":{borderColor:"$neutrals600 !important",color:"$neutrals500 !important"},"&:disabled":{borderColor:"$neutrals300 !important",color:"$neutrals400 !important"},background:"transparent",border:1,borderStyle:"solid"},ghost:(ct={color:"$foreground","&:hover":{backgroundColor:"$neutrals200"},"&:disabled":{color:"$neutrals400 !important"},background:"transparent",border:0},ct["& "+Xe]={color:"inherit"},ct)},fullWidth:{true:{width:"100%"}},loading:{true:{}},type:{primary:{},error:{},warning:{},success:{}}},compoundVariants:[{type:"primary",variant:"contained",css:(st={background:"$primary",$$color:"$colors$background"},st["."+S+" &"]={$$color:"$colors$foreground"},st.color="$$color !important",st["&:hover"]={background:"$primary700"},st["&:visited"]={background:"$primary900"},st["&:focus"]={background:"$primary600"},st)},{type:"primary",variant:"outlined",css:{color:"$primary !important",borderColor:"$primary !important","&:hover":{color:"$primary700 !important",borderColor:"$primary700 !important"},"&:visited":{color:"$primary900 !important",borderColor:"$primary900 !important"},"&:focus":{color:"$primary600 !important",borderColor:"$primary600 !important"}}},{type:"primary",variant:"ghost",css:{color:"$primary","&:hover":{color:"$primary700"},"&:visited":{color:"$primary900"},"&:focus":{color:"$primary600"}}},{type:"error",variant:"contained",css:(dt={background:"$error",$$color:"$colors$background"},dt["."+S+" &"]={$$color:"$colors$foreground"},dt.color="$$color !important",dt["&:hover"]={background:"$error300"},dt["&:visited"]={background:"$error700"},dt["&:focus"]={background:"$error700"},dt)},{type:"error",variant:"outlined",css:{color:"$error !important",borderColor:"$error !important","&:hover":{color:"$error300 !important",borderColor:"$error300 !important"},"&:visited":{color:"$error700 !important",borderColor:"$error700 !important"},"&:focus":{color:"$error700 !important",borderColor:"$error700 !important"}}},{type:"error",variant:"ghost",css:{color:"$error","&:hover":{color:"$error300"},"&:visited":{color:"$error700"},"&:focus":{color:"$error700"}}},{type:"warning",variant:"contained",css:(ut={background:"$warning",$$color:"$colors$background"},ut["."+S+" &"]={$$color:"$colors$foreground"},ut.color="$$color !important",ut["&:hover"]={background:"$warning300"},ut["&:visited"]={background:"$warning700"},ut["&:focus"]={background:"$warning700"},ut)},{type:"warning",variant:"outlined",css:{color:"$warning !important",borderColor:"$warning !important","&:hover":{color:"$warning300 !important",borderColor:"$warning300 !important"},"&:visited":{color:"$warning700 !important",borderColor:"$warning700 !important"},"&:focus":{color:"$warning700 !important",borderColor:"$warning700 !important"}}},{type:"warning",variant:"ghost",css:{color:"$warning","&:hover":{color:"$warning300"},"&:visited":{color:"$warning700"},"&:focus":{color:"$warning700"}}},{type:"success",variant:"contained",css:(mt={background:"$success",$$color:"$colors$background"},mt["."+S+" &"]={$$color:"$colors$foreground"},mt.color="$$color !important",mt["&:hover"]={background:"$success300"},mt["&:visited"]={background:"$success700"},mt["&:focus"]={background:"$success700"},mt)},{type:"success",variant:"outlined",css:{color:"$success !important",borderColor:"$success !important","&:hover":{color:"$success300 !important",borderColor:"$success300 !important"},"&:visited":{color:"$success700 !important",borderColor:"$success700 !important"},"&:focus":{color:"$success700 !important",borderColor:"$success700 !important"}}},{type:"success",variant:"ghost",css:{color:"$success","&:hover":{color:"$success300"},"&:visited":{color:"$success700"},"&:focus":{color:"$success700"}}}],defaultVariants:{size:"medium",variant:"contained"}}),zt=w("div",{flex:1,variants:{align:{start:{textAlign:"left"},grow:{textAlign:"center"}},ml:{true:{marginLeft:"$8"}},mr:{true:{marginRight:"$8"}},flexContent:{true:{display:"flex",alignItems:"center"}}}});function Lt(e){var t=e.children,n=e.loading,o=e.disabled,i=e.prefix,l=e.suffix,a=e.align,c=e.flexContent,s=h(e,Ct);return r.createElement(St,Object.assign({disabled:n||o},s,{align:a}),i,t&&r.createElement(zt,{align:a,ml:!!i,mr:!!l&&!n,flexContent:c},t),n&&r.createElement(at,{size:16,color:s.type}),l)}var Rt=w("span",{width:"10px",height:"10px",backgroundColor:"$primary500",borderRadius:"99999px"}),Mt=w("div",{display:"grid",gap:".5rem",gridTemplateColumns:" repeat(2, minmax(0, 1fr))",alignContent:"baseline",width:"100%",height:"100%"}),It=w("img",{width:"1.5rem",maxHeight:"1.5rem",marginRight:"$4"});function jt(e){var n=e.list,o=e.onChange,i=e.multiSelect,l=e.selectedList,a=t.useState(e.selected),c=a[0],s=a[1],d=function(e){s(e),o(e)},u=function(e){return i&&l?"all"===l||l.findIndex((function(t){return e===t.name}))>-1:e===(null==c?void 0:c.name)};return r.createElement(Mt,null,n.map((function(e,t){return r.createElement(Lt,{type:u(e.name)?"primary":void 0,variant:"outlined",size:"large",prefix:r.createElement(It,{src:e.logo}),suffix:u(e.name)?r.createElement(Rt,null):void 0,align:"start",onClick:d.bind(null,e),key:t},r.createElement(Xe,{variant:"body2"},e.displayName))})))}var Bt=["label","prefix","suffix","children","size","style"],Ft=w("div",{backgroundColor:"$background",boxSizing:"border-box",border:"1px solid $neutrals400",borderRadius:"$5",height:"$48",display:"flex",flexGrow:1,position:"relative",alignItems:"center",color:"$foreground",transition:"border-color ease .3s","&:focus-within":{borderColor:"$primary500"},variants:{size:{small:{height:"$32"},medium:{height:"$40"},large:{height:"$48"}},disabled:{true:{backgroundColor:"$neutrals300",cursor:"not-allowed",filter:"grayscale(100%)"}},prefix:{true:{paddingLeft:"$16"},false:{paddingLeft:"$0"}},suffix:{true:{paddingRight:"$16"},false:{paddingRight:"$0"}}},defaultVariants:{size:"medium"}}),Wt=w("input",{color:"$text",paddingLeft:"$16",paddingRight:"$16",flexGrow:1,width:"100%",border:"none",borderRadius:"$5",outline:"none",fontSize:"$l",backgroundColor:"transparent","-webkit-appearance":"none",margin:0,"&:disabled":{cursor:"not-allowed"}}),_t=w("label",{display:"inline-block",fontSize:"$14",marginBottom:"$4"}),Tt=r.forwardRef((function(e,t){var n=e.label,o=e.prefix,i=e.suffix,l=e.size,a=e.style,c=h(e,Bt);return r.createElement(r.Fragment,null,n&&r.createElement(_t,Object.assign({},c.id&&{htmlFor:c.id}),n),r.createElement(Ft,{disabled:c.disabled,prefix:!!o,suffix:!!i,size:l,style:a},o||null,r.createElement(Wt,Object.assign({},c,{spellCheck:!1,ref:t})),i||null))})),Nt=w("div",{display:"flex",flexDirection:"column",height:"100%",width:"100%",padding:"$12 0","@lg":{padding:"$16 0"}}),Zt=w("div",{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"$16",position:"relative"}),At=w(w(he,{position:"absolute",left:"0"}),{cursor:"pointer"}),Ot=w("div",{flex:"1",overflowY:"auto",overflowX:"hidden",marginTop:"$16"});function Ht(e){var n=e.title,o=e.Footer,i=e.TopButton,l=e.onBack,a=e.hasHeader,c=void 0===a||a,s=t.useState(""),d=s[0],u=s[1];return r.createElement(Nt,null,c&&r.createElement(Zt,null,r.createElement(At,{size:24,onClick:l}),r.createElement(Xe,{variant:"h4"},n),i),e.textField&&r.createElement("div",null,r.createElement(Tt,{size:"large",prefix:r.createElement(le,{size:24}),placeholder:e.textFieldPlaceholder,onChange:function(e){return u(e.target.value)},value:d,autoFocus:!0})),r.createElement(Ot,null,e.textField&&r.createElement(e.Content,{searchedFor:d}),!e.textField&&e.Content),o)}var Dt=w("div",{display:"flex",width:"100%",alignItems:"center",padding:"$16",borderRadius:"$5",variants:{type:{primary:{backgroundColor:"$primary200"},secondary:{backgroundColor:"$neutrals400"},success:{backgroundColor:"$success300"},warning:{backgroundColor:"$warning500"},error:{backgroundColor:"$error300"}}}}),qt=w("div",{display:"flex",flexDirection:"column"}),Vt=w("div",{marginBottom:"$8"}),Pt=w("div",{marginRight:"$24"}),Gt=w(Xe,{color:S.colors.foreground.value});function Xt(e){var t=e.type,n=e.description,o=e.title,i=["error","success","warning"].includes(t);return r.createElement(Dt,{type:t},i&&r.createElement(Pt,null,"success"===t&&r.createElement(H,{color:"success",size:28}),"warning"===t&&r.createElement(X,{color:"white",size:28}),"error"===t&&r.createElement(_,{color:"error",size:28})),r.createElement(qt,null,o&&r.createElement(Vt,null,r.createElement(Gt,{variant:"h6"},o)),r.createElement(Gt,{variant:"body2"},n)))}var Ut=w("div",{height:"450px",display:"flex",justifyContent:"center",alignItems:"center"}),Yt=["label","id"],Jt=w("div",{display:"flex",alignItems:"center"}),Kt=w(n.Root,{borderRadius:"5px",width:20,padding:0,height:20,border:"1px solid",display:"flex",alignItems:"center",justifyContent:"center",marginRight:"$2",backgroundColor:"$neutral-100"}),Qt=w("label",{color:"$text",fontSize:"$m",marginLeft:"$8"}),er=w("div",{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"$5",padding:"$4 $8",height:"32",fontSize:"$14",cursor:"pointer","&:hover":{backgroundColor:"$neutrals300"},variants:{selected:{true:{backgroundColor:"$neutrals400"},false:{backgroundColor:"$background"}}}});function tr(e){var t=e.suffix;return r.createElement(er,{selected:e.selected,onClick:e.onClick,style:e.style},e.prefix||null,r.createElement(Xe,{variant:"body2"},e.label),t||null)}var rr,nr=w("div",{position:"fixed",display:"flex",justifyContent:"center",alignItems:"center",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:"rgba(0,0,0,.1)"}),or=w("div",{backgroundColor:"$background",borderRadius:"$10",padding:"$16 $16",display:"flex",flexDirection:"column",boxShadow:"$s",zIndex:10}),ir=w("div",{display:"flex",alignItems:"center"}),lr=w("div",{display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative",marginBottom:"$16"}),ar=w("div",{});function cr(e){var t=e.content,n=e.onClose,i=e.action,l=e.contentStyle;return r.createElement(r.Fragment,null,e.open&&o.createPortal(r.createElement(nr,{onClick:function(e){e.target===e.currentTarget&&n()}},r.createElement(or,{style:e.containerStyle},r.createElement(lr,null,r.createElement(Xe,{variant:"h4"},e.title),r.createElement(ir,null,i,r.createElement(De,{size:24,onClick:n}))),r.createElement(ar,{style:l},t))),document.body))}(rr=exports.WalletState||(exports.WalletState={})).NOT_INSTALLED="not installed",rr.DISCONNECTED="disconnected",rr.CONNECTING="connecting",rr.CONNECTED="connected";var sr=w("span",{width:"$28",display:"flex",justifyContent:"center",alignItems:"center"}),dr=function(e){var n=e.walletState;return r.createElement(t.Fragment,null,n!==exports.WalletState.DISCONNECTED&&r.createElement(sr,null,n===exports.WalletState.NOT_INSTALLED&&r.createElement("a",{href:i.detectInstallLink(e.installLink),target:"_blank"},r.createElement(ve,{size:24,color:"success"})),n===exports.WalletState.CONNECTING&&r.createElement(at,null),n===exports.WalletState.CONNECTED&&r.createElement(Rt,null)))},ur=w("img",{width:"$24",height:"$24",marginRight:"$12"});function mr(e){var t=e.name,n=e.type,o=e.state,l=e.onClick,a=e.installLink;return r.createElement(Lt,{type:o===exports.WalletState.CONNECTED?"primary":void 0,disabled:!o,onClick:function(){o===exports.WalletState.NOT_INSTALLED?window.open(i.detectInstallLink(a),"_blank"):l(n)},align:"start",variant:"outlined",size:"large",prefix:r.createElement(ur,{src:e.image}),suffix:r.createElement(dr,{walletState:o,installLink:a})},r.createElement(Xe,{variant:"h5",noWrap:!1},t))}var pr=w("div",{display:"grid",gap:"$8",gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}),hr=w("div",{variants:{size:{12:{},16:{},18:{},20:{},24:{}},direction:{vertical:{},horizontal:{}}},compoundVariants:[{size:12,direction:"horizontal",css:{width:"$12"}},{size:12,direction:"vertical",css:{height:"$12"}},{size:16,direction:"horizontal",css:{width:"$16"}},{size:16,direction:"vertical",css:{height:"$16"}},{size:18,direction:"horizontal",css:{width:"$18"}},{size:18,direction:"vertical",css:{height:"$18"}},{size:20,direction:"horizontal",css:{width:"$20"}},{size:20,direction:"vertical",css:{height:"$20"}},{size:24,direction:"horizontal",css:{width:"$24"}},{size:24,direction:"vertical",css:{height:"$24"}}]});function gr(e){var t=e.size,n=e.direction;return r.createElement(hr,{size:void 0===t?12:t,direction:void 0===n?"horizontal":n})}var vr=w(l.Root,{boxSizing:"border-box",boxShadow:"none",borderStyle:"solid",width:"42px",height:"22px",backgroundColor:"$neutrals300",borderColor:"$neutrals400",borderRadius:"99999px",position:"relative",cursor:"pointer",'&[data-state="checked"]':{backgroundColor:"$primary100"},"-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)"}),fr=w(l.Thumb,{position:"absolute",top:"0",boxSizing:"border-box",display:"block",width:"18px",height:"18px",backgroundColor:"$neutrals500",transition:" transform 300ms",borderRadius:"999999px",willChange:"transform",'&[data-state="checked"]':{transform:"translateX(20px)",backgroundColor:"$primary500"}});function $r(e){return r.createElement(vr,{checked:e.checked,onCheckedChange:e.onChange},r.createElement(fr,null))}var xr=function(e){return{bridge:e.filter((function(e){return"BRIDGE"===e.type||"AGGREGATOR"===e.type})),exchange:e.filter((function(e){return"DEX"===e.type}))}},wr=w(Xe,{position:"sticky",top:"0",marginTop:"$8",marginBottom:"$8",backgroundColor:"$background",zIndex:"9999",paddingTop:"$8",paddingBottom:"$8"}),br=w("img",{width:"$20",maxHeight:"$20",marginRight:"$16"});function Er(e){var n=e.list,o=e.onChange,i=e.listContainerStyle,l=t.useState(n.filter((function(e){return e.selected}))),a=l[0],c=l[1],s=function(e){e.selected=!e.selected,c((function(t){return e.selected?[].concat(t,[e]):t.filter((function(t){return t.title!=e.title}))})),setTimeout((function(){o(e)}),200)},d=function(e){return!!a.find((function(t){return e.title===t.title}))};return r.createElement("div",{style:p({height:"450px"},i)},r.createElement("div",null,r.createElement(wr,{variant:"h5"},"Bridges"),r.createElement(gr,{size:16,direction:"vertical"}),xr(n).bridge.map((function(e,t){return r.createElement(kr,{liquiditySource:e,key:t,selected:d(e),onChange:s})}))),r.createElement("div",null,r.createElement(wr,{variant:"h5"},"Exchanges"),r.createElement(gr,{size:16,direction:"vertical"}),xr(n).exchange.map((function(e,t){return r.createElement(kr,{liquiditySource:e,key:t,selected:d(e),onChange:s})}))))}var kr=function(e){var t=e.liquiditySource,n=e.selected,o=e.onChange;return r.createElement(Lt,{size:"large",align:"start",variant:"outlined",prefix:r.createElement(br,{src:t.logo}),suffix:r.createElement($r,{checked:n}),style:{marginBottom:"12px"},type:n?"primary":void 0,onClick:o.bind(null,t)},r.createElement(Xe,{variant:"body1"},t.title))},yr=w(Lt,{position:"absolute",right:0}),Cr=w("div",{display:"flex",flexWrap:"wrap",justifyContent:"center"}),Sr=w("div",{width:12,height:12,borderRadius:6,border:"1px solid $neutrals400",position:"absolute",top:12,right:12,variants:{checked:{true:{borderColor:"$success"},false:{borderColor:"$neutrals400"}}}}),zr=w("div",{width:6,margin:"20% auto",height:6,borderRadius:3,variants:{checked:{true:{backgroundColor:"$success"},false:{backgroundColor:"$neutrals400"}}}}),Lr=w("div",{border:"1.5px solid",borderRadius:"$5",padding:"$12",flexBasis:"calc(33.33% - 10px)",margin:5,display:"flex",flexDirection:"column",justifyContent:"space-between",width:124,height:92,cursor:"pointer",position:"relative",variants:{checked:{true:{borderColor:"$success",color:"$success"},false:{borderColor:"$neutrals400",color:"$neutrals400"}}}});function Rr(e){var n,o=e.list,i=e.onChange,l=t.useState((null==(n=o.find((function(e){return e.selected})))?void 0:n.walletType)||""),a=l[0],c=l[1],s=function(e){c(e.walletType),i(e)};return t.useEffect((function(){var e;c((null==(e=o.find((function(e){return e.selected})))?void 0:e.walletType)||"")}),[o]),r.createElement(Cr,null,o.map((function(e,t){var n=a===e.walletType;return r.createElement(Lr,{checked:n,onClick:s.bind(null,e),key:t},r.createElement("img",{src:e.image,alt:e.walletType,width:24,height:24}),r.createElement(Xe,{variant:"body2"},e.name),r.createElement(Sr,{checked:n},r.createElement(zr,{checked:n})))})))}var Mr=w(a.Root,{variants:{direction:{horizontal:{display:"flex",flexDirection:"row",flexWrap:"wrap"},vertical:{display:"grid",gridGap:"$24"}}}}),Ir=w("div",{display:"flex",alignItems:"center",marginRight:"$8"}),jr=w(a.Item,{backgroundColor:"$neutrals300",width:"20px",height:"20px",borderRadius:"100%",border:"none",cursor:"pointer","&:hover":{backgroundColor:"$neutrals400"}}),Br=w("div",{display:"flex"}),Fr=w(a.Indicator,{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",position:"relative","&::after":{content:"",display:"block",width:"10px",height:"10px",borderRadius:"50%",backgroundColor:"$primary"}}),Wr=w("label",{paddingLeft:"$8",cursor:"pointer"});function _r(e){var t=e.direction;return r.createElement(Br,null,r.createElement(Mr,{onValueChange:e.onChange,defaultValue:e.defaultValue,direction:void 0===t?"vertical":t,style:e.style},e.options.map((function(e,t){return r.createElement(Ir,{key:t},r.createElement(jr,{value:e.value,id:e.value},r.createElement(Fr,null)),r.createElement(Wr,{htmlFor:e.value},r.createElement(Xe,{variant:"body2"},e.label)))}))))}var Tr=w("div",{borderRadius:"$5",backgroundColor:"$neutrals200",padding:"$16"}),Nr=w("div",{display:"flex",flexWrap:"wrap",marginTop:"$16"}),Zr=w(Tr,{display:"flex",justifyContent:"space-between",marginTop:"$32",cursor:"pointer"}),Ar=w(ce,{marginLeft:"8px"}),Or=w("div",{display:"flex",alignItems:"center",justifyContent:"center"}),Hr=w(Tr,{marginTop:"$32"}),Dr=w("div",{borderRadius:"$10",maxWidth:"512px",boxShadow:"$s",minWidth:"375px",width:"100%",backgroundColor:"$background",height:"fit-content",display:"flex",flexDirection:"column",alignItems:"end",padding:"$16 $24"}),qr=w("div",{width:"100%"}),Vr=w("div",{position:"relative"}),Pr=w("div",{paddingTop:"$8"}),Gr=w("div",{display:"flex",justifyContent:"space-between","@md":{padding:"$12"},"&:hover":{borderColor:"$primary"},variants:{status:{failed:{borderColor:"$error"},running:{borderColor:"$neutrals400"},success:{borderColor:"$success"}}}}),Xr=w("div",{display:"flex",justifyContent:"center",alignItems:"center"}),Ur=w("div",{height:"0",width:"$20",border:"1px dashed $foreground",borderRadius:"inherit","@md":{width:"$36"},"@lg":{width:"$48"}}),Yr=w("div",{width:"$6",height:"$6",backgroundColor:"$foreground",borderRadius:"50%","@lg":{width:"$8",height:"$8"}}),Jr=w("div",{width:"0px",height:"0px",borderTop:"5px solid transparent",borderBottom:"5px solid transparent",borderLeft:"5px solid $foreground"}),Kr=w("div",{position:"absolute",right:"-8px",top:"30%",background:"$background",borderRadius:"50%",display:"flex",justifyContent:"center","@md":{top:"40%",right:"-8px"}});function Qr(e){var t=e.swap,n=e.status,o=t.steps[0],i=t.steps[t.steps.length-1];return r.createElement(Vr,{onClick:e.onClick.bind(null,t.requestId)},r.createElement(Pr,null,r.createElement(Lt,{variant:"outlined",align:"grow",size:"large",type:"failed"===n?"error":"success"===n?"success":void 0},r.createElement(Gr,null,r.createElement(tt,{logo:o.fromLogo,symbol:o.fromSymbol,chainLogo:o.fromBlockchainLogo,blockchain:o.fromBlockchain,amount:t.inputAmount}),r.createElement(Xr,null,r.createElement(Yr,null),r.createElement(Ur,null),r.createElement(Jr,null)),r.createElement(tt,{logo:i.fromLogo,symbol:i.fromSymbol,chainLogo:i.fromBlockchainLogo,blockchain:i.fromBlockchain,amount:i.outputAmount})))),r.createElement(Kr,null,"running"===n?r.createElement(Ee,{size:16}):"failed"===n?r.createElement(_,{size:18,color:"error"}):r.createElement(H,{size:18,color:"success"})))}function en(e){var n=e.itemCount,o=e.hasNextPage,i=e.isNextPageLoading,l=e.loadNextPage,a=e.Item,u=e.innerElementType,m=e.size,p=t.useRef(null),h=function(e){return!o||e<n};return r.createElement(s,{isItemLoaded:h,itemCount:o?n+1:n,loadMoreItems:i?function(){}:l,threshold:1},(function(e){var t=e.onItemsRendered;return r.createElement(d,null,(function(e){return r.createElement(c.VariableSizeList,{innerElementType:u,ref:p,itemSize:function(){return m},itemCount:n,height:e.height,width:e.width,onItemsRendered:t},(function(e){var t=e.index,n=e.style;return h(t)?r.createElement(a,{index:t,style:n}):null}))}))}))}var tn=["style"],rn=w("img",{width:"$32",maxHeight:"$32",marginRight:"$16"}),nn=w("div",{display:"flex",flexDirection:"column"}),on=w("div",{display:"flex",flexDirection:"column",alignItems:"flex-end"}),ln=function(e,t,r){return t?e.filter((function(e){return nt(e.symbol,t)||nt(e.address||"",t)||nt(e.name||"",t)})).slice(0,r):e.slice(0,r)};function an(e){var n=e.list,o=e.searchedText,i=e.onChange,l=e.multiSelect,a=e.selectedList,c=t.useState(e.selected),s=c[0],d=c[1],u=function(e){d(e),i(e)},m=function(e){var t,n,o=e.style,i=e.filteredTokens[e.index];return r.createElement("div",{style:p({display:"flex",alignItems:"center",width:"100%"},o,{height:"48px",top:parseFloat(null==o?void 0:o.top)+0+"px"})},r.createElement(Lt,{variant:"outlined",size:"large",align:"start",onClick:u.bind(null,i),type:(n=i,(l&&a?"all"===a||a.map((function(e){return e.symbol+e.address})).indexOf(n.symbol+n.address)>-1:(null==s?void 0:s.symbol)===n.symbol&&(null==s?void 0:s.address)===n.address)?"primary":void 0),prefix:r.createElement(rn,{src:i.image}),suffix:(null==(t=i.balance)?void 0:t.amount)&&r.createElement(on,null,r.createElement(Xe,{variant:"body2"},i.balance.amount),r.createElement(Xe,{variant:"caption"},i.balance.usdValue+"$"))},r.createElement(nn,null,r.createElement(Xe,{variant:"body1"},i.symbol),r.createElement(Xe,{variant:"body2"},i.name))))},g=t.useState(!0),v=g[0],f=g[1],$=t.useState(!1),x=$[0],w=$[1],b=t.useState(n),E=b[0],k=b[1];t.useEffect((function(){k(ln(n,o,20))}),[o]),t.useEffect((function(){f(ln(n,o).length>ln.length)}),[E.length]);var y=t.forwardRef((function(e,t){var n=e.style,o=h(e,tn);return r.createElement("div",Object.assign({ref:t,style:p({},n,{height:parseFloat(null==n?void 0:n.height)+16+"px"})},o))}));return r.createElement("div",{style:{height:"450px"}},r.createElement(en,{Item:function(e){return r.createElement(m,{filteredTokens:E,style:e.style,index:e.index})},hasNextPage:v,isNextPageLoading:x,itemCount:E.length,loadNextPage:function(){w(!0),setTimeout((function(){w(!1),k(ln(n,o,E.length+20))}),0)},innerElementType:y,size:56}))}var cn=w(u.Trigger,{border:0,padding:0,backgroundColor:"transparent"}),sn=w(u.Content,{borderRadius:"$5",padding:"$4 $8",fontSize:"$14",animationDuration:"400ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",variants:{color:{primary:{backgroundColor:"$primary",color:"$white"},error:{backgroundColor:"$error",color:"$white"},warning:{backgroundColor:"$warning",color:"$white"},success:{backgroundColor:"$success",color:"$white"},gray:{backgroundColor:"$neutrals300",color:"$black"},black:{backgroundColor:"$black",color:"$white"},white:{backgroundColor:"$white",color:"$black"}}}}),dn=w(u.Arrow,{variants:{color:{primary:{fill:"$primary"},error:{fill:"$error"},warning:{fill:"$warning"},success:{fill:"$success"},gray:{fill:"$neutrals300"},black:{fill:"$black"},white:{fill:"$white"}}}}),un=w("div",{display:"inline-block"}),mn=w("div",{position:"relative"}),pn=w("div",{border:"1px solid $neutrals300",borderRadius:"$5",width:"$32",height:"$32"}),hn=w("div",{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}),gn=w("div",{position:"absolute",zIndex:"2",variants:{place:{top:{top:"-241px"},bottom:{},left:{top:"-50%",left:"-225px"},right:{top:"-50%",right:"-225px"}}}}),vn=w("div",{width:"0",marginLeft:"$12",height:"36px",border:"1px dashed $foreground",borderRadius:"inherit"}),fn=w("div",{display:"flex",alignItems:"center",marginLeft:"6px"}),$n=w("div",{display:"flex",alignItems:"center"}),xn=w("img",{width:"$16",height:"$16"}),wn=w("div",{position:"relative"}),bn=w("div",{display:"flex",alignItems:"center"}),En=w("div",{width:"$8",height:"$8",backgroundColor:"$foreground",borderRadius:"4px",marginLeft:"$8"}),kn=w("div",{width:"0px",height:"0px",borderLeft:"5px solid transparent",borderRight:"5px solid transparent",borderTop:"5px solid $foreground",marginLeft:"$8"}),yn=w("div",{paddingBottom:"$16"}),Cn=w("div",{display:"flex",alignItems:"center"}),Sn=w("div",{padding:"$16 0"}),zn=w("div",{height:"100%",display:"flex",justifyContent:"center",alignItems:"center"}),Ln=w(Xe,{color:"$error"}),Rn=w("div",{marginBottom:"$24",paddingRight:"$8"}),Mn=w(Xe,{color:"$neutrals500"}),In=function(e){var t=e.onSwapClick,n=e.list.reduce((function(e,t){var r=e.findIndex((function(e){return"running"===t.status&&"Active Swaps"==e.title||"running"!==t.status&&"Recent Swaps"==e.title}));return r>-1?e[r].swaps.push(t):e.push({title:"running"===t.status?"Active Swaps":"Recent Swaps",swaps:[t]}),e}),[]);return r.createElement(r.Fragment,null,n.map((function(e,n){return r.createElement(Rn,{key:n},r.createElement(Mn,{variant:"body2"},e.title),e.swaps.map((function(e,n){return r.createElement(Qr,{key:n,swap:e,status:e.status,onClick:t})})))})))},jn=w("a",{color:"$primary",fontWeight:"$600",marginLeft:"$12"}),Bn=w("div",{display:"flex"}),Fn=w("div",{display:"flex",padding:"$10"}),Wn=w("div",{display:"flex",alignItems:"center"}),_n=w(Xe,{color:"$success",marginLeft:"$8"}),Tn=w(_n,{color:"$error"}),Nn=w("div",{width:"0",marginLeft:"$12",border:"1px dashed $foreground",borderRadius:"inherit"});exports.AddCircleIcon=N,exports.AddIcon=F,exports.AddWalletIcon=je,exports.Alert=Xt,exports.AngleDownIcon=me,exports.AngleLeftIcon=he,exports.AngleRightIcon=ce,exports.AngleUpIcon=de,exports.BagIcon=Ae,exports.BanIcon=P,exports.BestRoute=function(e){var n,o,i,l=e.data,a=e.loading,c=e.error,s="";return l&&(o=function(e){var t,r;return((null==e||null==(t=e.result)||null==(r=t.swaps)?void 0:r.flatMap((function(e){return e.fee.map((function(t){return{swapperId:e.swapperId,fee:t}}))})))||[]).reduce((function(e,t){return e+parseFloat(t.fee.amount)}),0).toFixed(3)}(l),i=function(e){var t,r;return(null==e||null==(t=e.result)||null==(r=t.swaps)?void 0:r.reduce((function(e,t){return e+t.estimatedTimeInSeconds}),0))||0}(l),s=""+parseInt((i/60).toString()).toString()),r.createElement(pt,null,a?r.createElement(kt,null,r.createElement(it,{width:48,height:94})):r.createElement(Et,null,r.createElement(K,{size:20}),r.createElement(Xe,{mt:4,align:"center",variant:"caption"},c&&"-",!!l&&"$"+o),r.createElement(ft,null),r.createElement(He,{size:20}),r.createElement(Xe,{mt:4,align:"center",variant:"caption"},c&&"-",!!l&&"~"+s+"m")),r.createElement(gt,null,a&&r.createElement(at,{color:"primary"}),c&&r.createElement(ht,{variant:"caption"},c),!!l&&(null==(n=l.result)?void 0:n.swaps.map((function(e,n){var o;return r.createElement(t.Fragment,{key:n},0===n&&r.createElement(xt,null,r.createElement(tt,{direction:"vertical",logo:e.from.logo,symbol:e.from.symbol,chainLogo:e.from.blockchainLogo,blockchain:e.from.blockchain,amount:e.fromAmount}),r.createElement(wt,null)),r.createElement(yt,null,r.createElement(vt,null),r.createElement($t,{src:e.swapperLogo,alt:e.swapperId}),r.createElement(vt,null)),n+1===(null==(o=l.result)?void 0:o.swaps.length)&&r.createElement(bt,null),r.createElement(tt,{direction:"vertical",logo:e.to.logo,symbol:e.to.symbol,chainLogo:e.to.blockchainLogo,blockchain:e.to.blockchain,amount:e.toAmount}))}))),!!l&&!(null!=l&&l.result)&&r.createElement(Xe,{variant:"body2"},"No routes found")))},exports.BlockchainSelector=function(e){var t=e.list,n=e.onChange,o=e.selected,i=e.loadingStatus,l=e.listContainerStyle,a=e.multiSelect,c=e.selectedList;return r.createElement(Ht,{textField:!0,hasHeader:e.hasHeader,textFieldPlaceholder:"Search Blockchain By Name",title:"Select "+e.type+" Network",onBack:e.onBack,Content:function(e){var s=e.searchedFor,d=function(e,t){return e.filter((function(e){return nt(e.name,t)||nt(e.displayName,t)}))}(t,s);return r.createElement(Ut,{style:l},"loading"===i&&r.createElement("div",null,r.createElement(at,{size:24})),"failed"===i&&r.createElement(Xt,{type:"error",description:"Error connecting server, please reload the app and try again"}),"success"===i&&r.createElement(r.Fragment,null,d.length>0?r.createElement(jt,{list:d,selected:o,multiSelect:a,selectedList:c,onChange:n}):r.createElement(Xt,{type:"secondary",description:s+" not found"})))}})},exports.Button=Lt,exports.CheckCircleIcon=H,exports.CheckIcon=q,exports.CheckSquareIcon=j,exports.CheckWalletIcon=_e,exports.Checkbox=function(e){var t=e.label,o=e.id,i=h(e,Yt);return r.createElement(Jt,null,r.createElement(Kt,Object.assign({id:o},i),r.createElement(n.Indicator,null,r.createElement(q,{size:20}))),r.createElement(Qt,{htmlFor:o},t," "))},exports.Chip=tr,exports.CloseIcon=De,exports.ColorPicker=function(e){var n=e.color,o=e.onChangeColor,i=e.label,l=e.place,a=t.useState(!1),c=a[0],s=a[1];return r.createElement(mn,null,r.createElement(Xe,{mb:4,variant:"body2"},i),r.createElement(Lt,{variant:"outlined",prefix:r.createElement(pn,{style:{backgroundColor:n}}),fullWidth:!0,align:"start",size:"large",onClick:function(){return s((function(e){return!e}))}},n),c&&r.createElement(gn,{place:l},r.createElement(hn,{onClick:function(){return s(!1)}}),r.createElement(m.ChromePicker,{color:n,onChange:o})))},exports.ConfirmSwap=function(e){var n,o=e.bestRoute,i=e.error,l=e.warning;return r.createElement(Ht,{textField:!1,title:"Swap",onBack:e.onBack,Footer:r.createElement(bn,null,r.createElement(Lt,{type:"primary",fullWidth:!0,loading:e.loading,variant:"contained",onClick:e.onConfirm},"Swap")),Content:null==o||null==(n=o.result)?void 0:n.swaps.map((function(e,n){var a;return r.createElement(t.Fragment,{key:n},r.createElement(yn,null,i&&r.createElement(Xt,{description:i,type:"error"}),l&&r.createElement(Xt,{description:l,type:"warning"})),0===n&&r.createElement(wn,null,r.createElement(tt,{logo:e.from.logo,symbol:e.from.symbol,chainLogo:e.from.blockchainLogo,blockchain:e.from.blockchain,amount:e.fromAmount}),r.createElement(En,null)),r.createElement(vn,null),r.createElement(fn,null,r.createElement(xn,{src:e.swapperLogo,alt:e.swapperId}),r.createElement("div",null,r.createElement(Xe,{ml:4,variant:"caption"},e.swapperType," from ",e.from.symbol," to ",e.to.symbol," ","via ",e.swapperId," "),r.createElement($n,null,r.createElement(K,null),r.createElement(Xe,{ml:4,variant:"caption"},parseFloat(e.fee[0].amount).toFixed(6)," estimated gas fee")))),r.createElement(vn,null),n+1===(null==(a=o.result)?void 0:a.swaps.length)&&r.createElement(kn,null),r.createElement(tt,{logo:e.to.logo,symbol:e.to.symbol,chainLogo:e.to.blockchainLogo,blockchain:e.to.blockchain,amount:e.toAmount}))}))})},exports.ConfirmWallets=function(e){var t,n,o,i=e.onBack,l=e.loading,a=e.onConfirm,c=e.swap,s=e.requiredWallets,d=e.selectableWallets,u=e.onChange,m=e.confirmDisabled,p=e.isExperimentalChain,h=e.handleConnectChain,g=null==(t=c.result)?void 0:t.swaps[0],v=null==(n=c.result)?void 0:n.swaps[(null==(o=c.result)?void 0:o.swaps.length)-1],f=rt(null==g?void 0:g.fromAmount,3),$=rt(null==v?void 0:v.toAmount,3);return r.createElement(Ht,{textField:!1,title:"Confirm Swap",onBack:i,Footer:r.createElement(Cn,null,r.createElement(Lt,{fullWidth:!0,loading:l,type:"primary",variant:"contained",onClick:a,disabled:m},"Confirm")),Content:r.createElement(r.Fragment,null,r.createElement(Xe,{variant:"h6",mb:12},"Confirm swap ",f," ",null==v?void 0:v.from.symbol," (",null==g?void 0:g.from.blockchain,") to ",$," ",null==v?void 0:v.to.symbol," ","(on ",null==v?void 0:v.to.blockchain,")"),s.map((function(e,t){var n=d.filter((function(t){return e===t.chain}));return r.createElement("div",{key:t},r.createElement(Xe,{variant:"body2",mb:12,mt:12},t+1,") Your ",e," Wallet"),0===n.length&&r.createElement(r.Fragment,null,r.createElement(Sn,null,r.createElement(Xt,{type:"error",description:"You should connect a "+e+" supported wallet"})),(null==p?void 0:p(e))&&r.createElement(Lt,{variant:"contained",type:"primary",align:"grow",onClick:function(){return null==h?void 0:h(e)}},"Add "+e+" chain to Cosmos wallets")),0!=n.length&&r.createElement(Rr,{list:n,onChange:u}))})))})},exports.ConnectWalletsModal=function(e){var t=e.open,n=e.onSelect,o=e.onClose,i=r.createElement(pr,null,e.list.map((function(e,t){return r.createElement(mr,Object.assign({},e,{key:t,onClick:n}))})));return r.createElement(cr,{title:"Connect Wallets",open:t,content:i,onClose:o,containerStyle:{width:"75%",maxWidth:"30rem",height:"70%"}})},exports.DeleteCircleIcon=M,exports.DeleteWalletIcon=Fe,exports.DownloadIcon=ve,exports.FilledCircle=Rt,exports.GasIcon=K,exports.History=function(e){var t=e.list,n=void 0===t?[]:t,o=e.onSwapClick;return r.createElement(Ht,{onBack:e.onBack,textField:!0,textFieldPlaceholder:"Search By Blockchain Or Token",title:"History",Content:function(e){var t=function(e,t){return e.filter((function(e){var r=e.steps[0],n=e.steps[e.steps.length-1];return nt(r.fromBlockchain,t)||nt(r.fromSymbol,t)||nt(n.toBlockchain,t)||nt(n.toSymbol,t)||nt(e.requestId,t)}))}(n,e.searchedFor);return t.length?r.createElement(In,{list:t,onSwapClick:o}):r.createElement(zn,null,r.createElement(Ln,{variant:"caption"},"Not Found"))}})},exports.HistoryIcon=Y,exports.HorizontalSwapIcon=Se,exports.InfoCircleIcon=_,exports.LiquiditySourcesSelector=function(e){var t=e.list,n=e.onChange,o=e.onBack,i=e.hasHeader,l=e.listContainerStyle;return r.createElement(Ht,{textField:!0,textFieldPlaceholder:"Search By Name",title:"Liquidity Sources",TopButton:r.createElement(yr,{variant:"ghost",type:"primary",onClick:e.toggleAll},t.find((function(e){return e.selected}))?"Clear all":"Select all"),hasHeader:i,onBack:o,Content:function(e){return r.createElement(Er,{listContainerStyle:l,list:(o=t,i=e.searchedFor,o.filter((function(e){return nt(e.title,i||"")}))),onChange:n});var o,i}})},exports.MinusCircleIcon=A,exports.Modal=cr,exports.Radio=_r,exports.RetryIcon=Le,exports.RetryLeftIcon=we,exports.RetryRightIcon=$e,exports.SearchIcon=le,exports.SearchMinusIcon=oe,exports.SecondaryPage=Ht,exports.SelectableWalletList=Rr,exports.Settings=function(e){var n=e.slippages,o=e.selectedLiquiditySources,i=e.liquiditySources,l=e.onSlippageChange,a=e.onLiquiditySourcesClick,c=e.onBack,s=e.customSlippage,d=e.onCustomSlippageChange,u=e.maxSlippage,m=e.minSlippage,p=e.selectedTheme,h=e.onThemeChange,g=t.useState(e.selectedSlippage),v=g[0],f=g[1],$=r.createElement(r.Fragment,null,r.createElement(Tr,null,r.createElement(Xe,{variant:"body1"},"Slippage tolerance per swap"),r.createElement(Nr,null,n.map((function(e,t){return r.createElement(tr,{key:t,onClick:function(){s&&d(null),function(e){f(e),l(e)}(e)},selected:!s&&e===v,label:e.toString()+" %",style:{marginRight:"8px"}})})),r.createElement(Tt,{type:"number",value:s,onChange:function(e){var t=parseFloat(e.target.value);(!t||t>=m&&t<=u)&&d(t)},suffix:s&&r.createElement(Xe,{variant:"body2"},"%"),size:"small",placeholder:"Custom",style:{width:"128px",flexGrow:"initial",borderColor:s?"$success":"initial"}}))),r.createElement(Hr,null,r.createElement(Xe,{variant:"body2"},"Theme"),r.createElement(_r,{defaultValue:p,options:[{value:"dark",label:"Dark"},{value:"light",label:"Light"},{value:"auto",label:"Auto"}],onChange:function(e){return h(e)},direction:"horizontal",style:{marginTop:"$24"}})),r.createElement(Zr,{onClick:a},r.createElement(Xe,{variant:"body1"},"Liquidity Sources"),r.createElement(Or,{onClick:a},r.createElement(Xe,{variant:"body2"},"( "+o.length+" / "+i.length+" )"),r.createElement(Ar,null))));return r.createElement(Ht,{title:"Settings",textField:!1,Content:$,onBack:c})},exports.SettingsIcon=ee,exports.SignatureIcon=Ve,exports.Spacer=gr,exports.Spinner=at,exports.StepDetail=tt,exports.SwapContainer=function(e){return r.createElement(Dr,{style:e.style},r.createElement(qr,null,e.children))},exports.SwapDetail=Qr,exports.SwapHistory=function(e){var n=e.pendingSwap;return r.createElement(Ht,{title:"History",textField:!1,onBack:e.onBack,Content:r.createElement(r.Fragment,null,null==n?void 0:n.steps.map((function(e,o){return r.createElement(t.Fragment,{key:o},0===o&&r.createElement(wn,null,r.createElement(tt,{logo:e.fromLogo,symbol:e.fromSymbol,chainLogo:e.fromBlockchainLogo,blockchain:e.fromBlockchain,amount:n.inputAmount}),r.createElement(En,null)),r.createElement(Nn,null),r.createElement(fn,null,r.createElement(xn,{src:e.swapperLogo,alt:e.swapperId}),r.createElement("div",null,r.createElement(Xe,{ml:4,variant:"caption"},e.swapperType," from ",e.fromSymbol," to ",e.toSymbol,"via ",e.swapperId),r.createElement($n,null,r.createElement(K,null),r.createElement(Xe,{ml:4,variant:"caption"},"fee")))),r.createElement("div",{style:{display:"flex"}},r.createElement(Bn,null,r.createElement(Nn,null),!!e.explorerUrl&&r.createElement("div",null,e.explorerUrl.map((function(e,t){return r.createElement(Fn,{key:t},r.createElement(Wn,null,r.createElement(H,{color:"success"}),r.createElement(_n,{variant:"body2"},e.description?r.createElement("b",null,e.description.substring(0,1).toUpperCase(),e.description.substring(1)):r.createElement("b",null,"View transaction"))),r.createElement(jn,{href:e.url,target:"_blank",rel:"noreferrer",key:t},"TX-Link"))})),"failed"===e.status&&r.createElement(Fn,null,r.createElement(Wn,null,r.createElement(_,{color:"error"}),r.createElement(Tn,{variant:"body2"},"Step failed")))))),o+1===n.steps.length&&r.createElement(kn,null),r.createElement(tt,{logo:e.toLogo,symbol:e.toSymbol,chainLogo:e.toBlockchainLogo,blockchain:e.toBlockchain,amount:e.outputAmount}))})))})},exports.SwapWalletIcon=Ne,exports.Switch=$r,exports.TextField=Tt,exports.TimeIcon=He,exports.TokenList=an,exports.TokenSelector=function(e){var t=e.list,n=e.selected,o=e.onChange,i=e.multiSelect,l=e.selectedList;return r.createElement(Ht,{textField:!0,textFieldPlaceholder:"Search Blockchain By Name",title:"Select "+e.type+" Token",hasHeader:e.hasHeader,onBack:e.onBack,Content:function(e){return r.createElement(an,{searchedText:e.searchedFor,list:t,selected:n,selectedList:l,multiSelect:i,onChange:o})}})},exports.Tooltip=function(e){var t=e.content,n=e.side,o=void 0===n?"top":n,i=e.color,l=void 0===i?"gray":i;return r.createElement(u.Provider,null,r.createElement(u.Root,null,r.createElement(cn,{asChild:!0},r.createElement(un,null,e.children)),r.createElement(u.Portal,null,r.createElement(sn,{color:l,side:o,sideOffset:5},t,r.createElement(dn,{color:l})))))},exports.TrashIcon=re,exports.TryAgainIcon=Ee,exports.Typography=Xe,exports.VerticalSwapIcon=ye,exports.Wallet=mr,exports.WalletIcon=Me,exports.WarningIcon=X,exports.createTheme=E,exports.css=b,exports.darkTheme=S,exports.globalCss=y,exports.keyframes=k,exports.lightTheme=C,exports.styled=w;
|
|
2
2
|
//# sourceMappingURL=ui.cjs.production.min.js.map
|