From 6fb9a65decc587320be29a036f6ade3d83e6cdc1 Mon Sep 17 00:00:00 2001 From: corbanbrook Date: Wed, 15 May 2024 15:32:18 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=200xsequen?= =?UTF-8?q?ce/design-system@4fe650898f64e79ad04cbb03265d3fbf7a46f552=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...stories-Iiam-816.js => Caveats.stories-SdzXR52K.js} | 2 +- ...6VNJS4EI-rTare7yS.js => Color-6VNJS4EI-D0jbFkRO.js} | 2 +- ....stories-CJtRE2Fg.js => Colors.stories-BeB6X4sA.js} | 2 +- ...es-B2zdLtCC.js => DesignTokens.stories-I7UV4ZQ0.js} | 2 +- ...V-ojE1eG7J.js => DocsRenderer-NNNQARDV-I3aIDoYe.js} | 2 +- ...-DQ7Oxonf.js => GradientAvatar.stories-BtLQtCoe.js} | 8 ++++---- ...ies-E2cOzHqe.js => Iconography.stories-BwF6Crcf.js} | 2 +- assets/{Image-B9MDd9m4.js => Image-tqqx5b76.js} | 2 +- ...e.stories-BiE6jRbt.js => Image.stories-BGj_REyI.js} | 2 +- ...es-hiXtg4Yq.js => Introduction.stories-5eoBG332.js} | 2 +- ...tworkImage-DgQnRr6T.js => NetworkImage-BU04VSmk.js} | 2 +- ...es-XuVMj9JQ.js => NetworkImage.stories-BNVJtugC.js} | 2 +- ...es-DRMEncd7.js => NumericInput.stories-CTRk_olw.js} | 2 +- ...ies-hKu1_5Iu.js => SearchInput.stories-mDx2PejG.js} | 2 +- ....stories-Ow_ZeSxz.js => Select.stories-DpJwrTPN.js} | 2 +- .../{TokenImage-DNqq_BnT.js => TokenImage-C-7QrOBw.js} | 2 +- ...ries-dXImc5Zw.js => TokenImage.stories-DTmRhOYz.js} | 2 +- ...ries-CLCt4x7K.js => Typography.stories-CVqj775F.js} | 2 +- ...JZ-BDYZaCBx.js => WithTooltip-V3YHNWJZ-Dzv3lmOJ.js} | 2 +- ...HLWAVYOI-BrDl87NK.js => chunk-HLWAVYOI-Bey4oObw.js} | 10 +++++----- ...E3XI-Dl-L-Ysq.js => formatter-SWP5E3XI-BY0UtLyc.js} | 2 +- assets/{iframe-CpOr2SnB.js => iframe-B2u2cbVa.js} | 4 ++-- assets/{preview-CWnrfoUW.js => preview-CoE6Z__h.js} | 4 ++-- ...qk6Ba.js => syntaxhighlighter-B5GMVT5T-FXRGlIsl.js} | 2 +- iframe.html | 2 +- project.json | 2 +- 26 files changed, 35 insertions(+), 35 deletions(-) rename assets/{Caveats.stories-Iiam-816.js => Caveats.stories-SdzXR52K.js} (96%) rename assets/{Color-6VNJS4EI-rTare7yS.js => Color-6VNJS4EI-D0jbFkRO.js} (99%) rename assets/{Colors.stories-CJtRE2Fg.js => Colors.stories-BeB6X4sA.js} (90%) rename assets/{DesignTokens.stories-B2zdLtCC.js => DesignTokens.stories-I7UV4ZQ0.js} (96%) rename assets/{DocsRenderer-NNNQARDV-ojE1eG7J.js => DocsRenderer-NNNQARDV-I3aIDoYe.js} (65%) rename assets/{GradientAvatar.stories-DQ7Oxonf.js => GradientAvatar.stories-BtLQtCoe.js} (78%) rename assets/{Iconography.stories-E2cOzHqe.js => Iconography.stories-BwF6Crcf.js} (96%) rename assets/{Image-B9MDd9m4.js => Image-tqqx5b76.js} (97%) rename assets/{Image.stories-BiE6jRbt.js => Image.stories-BGj_REyI.js} (90%) rename assets/{Introduction.stories-hiXtg4Yq.js => Introduction.stories-5eoBG332.js} (96%) rename assets/{NetworkImage-DgQnRr6T.js => NetworkImage-BU04VSmk.js} (98%) rename assets/{NetworkImage.stories-XuVMj9JQ.js => NetworkImage.stories-BNVJtugC.js} (82%) rename assets/{NumericInput.stories-DRMEncd7.js => NumericInput.stories-CTRk_olw.js} (93%) rename assets/{SearchInput.stories-hKu1_5Iu.js => SearchInput.stories-mDx2PejG.js} (93%) rename assets/{Select.stories-Ow_ZeSxz.js => Select.stories-DpJwrTPN.js} (97%) rename assets/{TokenImage-DNqq_BnT.js => TokenImage-C-7QrOBw.js} (99%) rename assets/{TokenImage.stories-dXImc5Zw.js => TokenImage.stories-DTmRhOYz.js} (89%) rename assets/{Typography.stories-CLCt4x7K.js => Typography.stories-CVqj775F.js} (93%) rename assets/{WithTooltip-V3YHNWJZ-BDYZaCBx.js => WithTooltip-V3YHNWJZ-Dzv3lmOJ.js} (68%) rename assets/{chunk-HLWAVYOI-BrDl87NK.js => chunk-HLWAVYOI-Bey4oObw.js} (99%) rename assets/{formatter-SWP5E3XI-Dl-L-Ysq.js => formatter-SWP5E3XI-BY0UtLyc.js} (99%) rename assets/{iframe-CpOr2SnB.js => iframe-B2u2cbVa.js} (87%) rename assets/{preview-CWnrfoUW.js => preview-CoE6Z__h.js} (58%) rename assets/{syntaxhighlighter-B5GMVT5T-D1Yqk6Ba.js => syntaxhighlighter-B5GMVT5T-FXRGlIsl.js} (69%) diff --git a/assets/Caveats.stories-Iiam-816.js b/assets/Caveats.stories-SdzXR52K.js similarity index 96% rename from assets/Caveats.stories-Iiam-816.js rename to assets/Caveats.stories-SdzXR52K.js index 2f7b77911..09bbe2928 100644 --- a/assets/Caveats.stories-Iiam-816.js +++ b/assets/Caveats.stories-SdzXR52K.js @@ -1,4 +1,4 @@ -import{M as o}from"./chunk-HLWAVYOI-BrDl87NK.js";import{j as e}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as t}from"./index-BqX3zWas.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";function a(s){const n=Object.assign({h1:"h1",p:"p",a:"a",pre:"pre",code:"code",h3:"h3"},t(),s.components);return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Caveats"}),` +import{M as o}from"./chunk-HLWAVYOI-Bey4oObw.js";import{j as e}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as t}from"./index-BqX3zWas.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";function a(s){const n=Object.assign({h1:"h1",p:"p",a:"a",pre:"pre",code:"code",h3:"h3"},t(),s.components);return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Caveats"}),` `,e.jsx(n.h1,{id:"caveats-for-developers",children:"Caveats for Developers"}),` `,e.jsxs(n.p,{children:["Sequence Design System uses ",e.jsx(n.a,{href:"https://vanilla-extract.style/documentation/packages/sprinkles/",target:"_blank",rel:"nofollow noopener noreferrer",children:"Vanilla Extract Sprinkles"}),` package to create reusable atomic classes. Atomic classes is a paradigm first created by `,e.jsx(n.a,{href:"https://tailwindcss.com/",target:"_blank",rel:"nofollow noopener noreferrer",children:"Tailwindcss"}),` which create a single css rule per class. diff --git a/assets/Color-6VNJS4EI-rTare7yS.js b/assets/Color-6VNJS4EI-D0jbFkRO.js similarity index 99% rename from assets/Color-6VNJS4EI-rTare7yS.js rename to assets/Color-6VNJS4EI-D0jbFkRO.js index 0c6f5be27..cf276732f 100644 --- a/assets/Color-6VNJS4EI-rTare7yS.js +++ b/assets/Color-6VNJS4EI-D0jbFkRO.js @@ -1 +1 @@ -import{n as M,g as ue,T as Me,F as Ce,h as $e,i as Ne}from"./chunk-HLWAVYOI-BrDl87NK.js";import{a as h,r as b,g as fe}from"./index-BP8_t0zE.js";import{_ as Oe,i as J,a as Ie}from"./index-EEBIeVPD.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-DrFu-skq.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},dn=tn;export{tn as ColorControl,dn as default}; +import{n as M,g as ue,T as Me,F as Ce,h as $e,i as Ne}from"./chunk-HLWAVYOI-Bey4oObw.js";import{a as h,r as b,g as fe}from"./index-BP8_t0zE.js";import{_ as Oe,i as J,a as Ie}from"./index-EEBIeVPD.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-DrFu-skq.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},dn=tn;export{tn as ColorControl,dn as default}; diff --git a/assets/Colors.stories-CJtRE2Fg.js b/assets/Colors.stories-BeB6X4sA.js similarity index 90% rename from assets/Colors.stories-CJtRE2Fg.js rename to assets/Colors.stories-BeB6X4sA.js index b777dcc22..3c89e1e6c 100644 --- a/assets/Colors.stories-CJtRE2Fg.js +++ b/assets/Colors.stories-BeB6X4sA.js @@ -1,4 +1,4 @@ -import{M as i,C as c,b as p}from"./chunk-HLWAVYOI-BrDl87NK.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";import{v as l}from"./vars.css-vIjhzn4K.js";/* empty css */import{j as t}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as a}from"./index-BqX3zWas.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";function n(o){const r=Object.assign({h1:"h1",p:"p"},a(),o.components);return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"Design System/Colors"}),` +import{M as i,C as c,b as p}from"./chunk-HLWAVYOI-Bey4oObw.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";import{v as l}from"./vars.css-vIjhzn4K.js";/* empty css */import{j as t}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as a}from"./index-BqX3zWas.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";function n(o){const r=Object.assign({h1:"h1",p:"p"},a(),o.components);return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"Design System/Colors"}),` `,t.jsx(r.h1,{id:"colors",children:"Colors"}),` `,t.jsx(r.p,{children:"Color schemes, scales, accents, and gradients."}),` `,t.jsx(c,{children:Object.entries(l.colors).map(([s,m])=>t.jsx(p,{title:s,colors:{[s]:m}},s))})]})}function d(o={}){const{wrapper:r}=Object.assign({},a(),o.components);return r?t.jsx(r,{...o,children:t.jsx(n,{...o})}):n(o)}const x=()=>{throw new Error("Docs-only story")};x.parameters={docsOnly:!0};const e={title:"Design System/Colors",tags:["stories-mdx"],includeStories:["__page"]};e.parameters=e.parameters||{};e.parameters.docs={...e.parameters.docs||{},page:d};const X=["__page"];export{X as __namedExportsOrder,x as __page,e as default}; diff --git a/assets/DesignTokens.stories-B2zdLtCC.js b/assets/DesignTokens.stories-I7UV4ZQ0.js similarity index 96% rename from assets/DesignTokens.stories-B2zdLtCC.js rename to assets/DesignTokens.stories-I7UV4ZQ0.js index 1e8b13f21..ca9d50421 100644 --- a/assets/DesignTokens.stories-B2zdLtCC.js +++ b/assets/DesignTokens.stories-I7UV4ZQ0.js @@ -1,4 +1,4 @@ -import{M as h}from"./chunk-HLWAVYOI-BrDl87NK.js";import{t as r}from"./index-C_2BCWbv.js";import{j as e}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as d}from"./index-BqX3zWas.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";import"./color-qnkbROzP.js";import"./typography-BClcJN8w.js";function c(t){const s=Object.assign({h1:"h1",p:"p",h3:"h3",strong:"strong",li:"li",b:"b"},d(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(h,{title:"Design System/Design Tokens"}),` +import{M as h}from"./chunk-HLWAVYOI-Bey4oObw.js";import{t as r}from"./index-C_2BCWbv.js";import{j as e}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as d}from"./index-BqX3zWas.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";import"./color-qnkbROzP.js";import"./typography-BClcJN8w.js";function c(t){const s=Object.assign({h1:"h1",p:"p",h3:"h3",strong:"strong",li:"li",b:"b"},d(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(h,{title:"Design System/Design Tokens"}),` `,e.jsx(s.h1,{id:"design-tokens",children:"Design Tokens"}),` `,e.jsx(s.p,{children:"Design tokens are the data representaion, the base properties and their values, on which design system is constructed. These tokens define spacing, typography, weights, colors, animation, shadows, etc."}),` `,e.jsx(s.h3,{id:"space",children:"Space"}),` diff --git a/assets/DocsRenderer-NNNQARDV-ojE1eG7J.js b/assets/DocsRenderer-NNNQARDV-I3aIDoYe.js similarity index 65% rename from assets/DocsRenderer-NNNQARDV-ojE1eG7J.js rename to assets/DocsRenderer-NNNQARDV-I3aIDoYe.js index f0e647610..6fe8e878e 100644 --- a/assets/DocsRenderer-NNNQARDV-ojE1eG7J.js +++ b/assets/DocsRenderer-NNNQARDV-I3aIDoYe.js @@ -1 +1 @@ -import{D as f,d as D}from"./chunk-HLWAVYOI-BrDl87NK.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";export{f as DocsRenderer,D as defaultComponents}; +import{D as f,d as D}from"./chunk-HLWAVYOI-Bey4oObw.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";export{f as DocsRenderer,D as defaultComponents}; diff --git a/assets/GradientAvatar.stories-DQ7Oxonf.js b/assets/GradientAvatar.stories-BtLQtCoe.js similarity index 78% rename from assets/GradientAvatar.stories-DQ7Oxonf.js rename to assets/GradientAvatar.stories-BtLQtCoe.js index 388544515..8f6f8eb4c 100644 --- a/assets/GradientAvatar.stories-DQ7Oxonf.js +++ b/assets/GradientAvatar.stories-BtLQtCoe.js @@ -1,14 +1,14 @@ -import{j as ie}from"./jsx-runtime-CexXSJP5.js";import{B as R0,c as Nn}from"./Box-Cj61Dz8D.js";import{T as Vn}from"./Text-D7WiMjUB.js";import{b as Bn,c as Di,g as Rr,r as p0}from"./index-BP8_t0zE.js";import{c as Tn}from"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./typography-BClcJN8w.js";/* empty css */var z0={exports:{}};const Dn={},On=Object.freeze(Object.defineProperty({__proto__:null,default:Dn},Symbol.toStringTag,{value:"Module"})),Ln=Bn(On);z0.exports;(function(r){(function(e,t){function i(m,n){if(!m)throw new Error(n||"Assertion failed")}function s(m,n){m.super_=n;var c=function(){};c.prototype=n.prototype,m.prototype=new c,m.prototype.constructor=m}function a(m,n,c){if(a.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,m!==null&&((n==="le"||n==="be")&&(c=n,n=10),this._init(m||0,n||10,c||"be"))}typeof e=="object"?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;var x;try{typeof window<"u"&&typeof window.Buffer<"u"?x=window.Buffer:x=Ln.Buffer}catch{}a.isBN=function(n){return n instanceof a?!0:n!==null&&typeof n=="object"&&n.constructor.wordSize===a.wordSize&&Array.isArray(n.words)},a.max=function(n,c){return n.cmp(c)>0?n:c},a.min=function(n,c){return n.cmp(c)<0?n:c},a.prototype._init=function(n,c,l){if(typeof n=="number")return this._initNumber(n,c,l);if(typeof n=="object")return this._initArray(n,c,l);c==="hex"&&(c=16),i(c===(c|0)&&c>=2&&c<=36),n=n.toString().replace(/\s+/g,"");var b=0;n[0]==="-"&&(b++,this.negative=1),b=0;b-=3)S=n[b]|n[b-1]<<8|n[b-2]<<16,this.words[v]|=S<<_&67108863,this.words[v+1]=S>>>26-_&67108863,_+=24,_>=26&&(_-=26,v++);else if(l==="le")for(b=0,v=0;b>>26-_&67108863,_+=24,_>=26&&(_-=26,v++);return this._strip()};function u(m,n){var c=m.charCodeAt(n);if(c>=48&&c<=57)return c-48;if(c>=65&&c<=70)return c-55;if(c>=97&&c<=102)return c-87;i(!1,"Invalid character in "+m)}function p(m,n,c){var l=u(m,c);return c-1>=n&&(l|=u(m,c-1)<<4),l}a.prototype._parseHex=function(n,c,l){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var b=0;b=c;b-=2)_=p(n,c,b)<=18?(v-=18,S+=1,this.words[S]|=_>>>26):v+=8;else{var d=n.length-c;for(b=d%2===0?c+1:c;b=18?(v-=18,S+=1,this.words[S]|=_>>>26):v+=8}this._strip()};function g(m,n,c,l){for(var b=0,v=0,S=Math.min(m.length,c),_=n;_=49?v=d-49+10:d>=17?v=d-17+10:v=d,i(d>=0&&v1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=w}catch{a.prototype.inspect=w}else a.prototype.inspect=w;function w(){return(this.red?""}var F=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],N=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(n,c){n=n||10,c=c|0||1;var l;if(n===16||n==="hex"){l="";for(var b=0,v=0,S=0;S>>24-b&16777215,b+=2,b>=26&&(b-=26,S--),v!==0||S!==this.length-1?l=F[6-d.length]+d+l:l=d+l}for(v!==0&&(l=v.toString(16)+l);l.length%c!==0;)l="0"+l;return this.negative!==0&&(l="-"+l),l}if(n===(n|0)&&n>=2&&n<=36){var f=k[n],h=N[n];l="";var C=this.clone();for(C.negative=0;!C.isZero();){var o=C.modrn(h).toString(n);C=C.idivn(h),C.isZero()?l=o+l:l=F[f-o.length]+o+l}for(this.isZero()&&(l="0"+l);l.length%c!==0;)l="0"+l;return this.negative!==0&&(l="-"+l),l}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var n=this.words[0];return this.length===2?n+=this.words[1]*67108864:this.length===3&&this.words[2]===1?n+=4503599627370496+this.words[1]*67108864:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-n:n},a.prototype.toJSON=function(){return this.toString(16,2)},x&&(a.prototype.toBuffer=function(n,c){return this.toArrayLike(x,n,c)}),a.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)};var P=function(n,c){return n.allocUnsafe?n.allocUnsafe(c):new n(c)};a.prototype.toArrayLike=function(n,c,l){this._strip();var b=this.byteLength(),v=l||Math.max(1,b);i(b<=v,"byte array longer than desired length"),i(v>0,"Requested array length <= 0");var S=P(n,v),_=c==="le"?"LE":"BE";return this["_toArrayLike"+_](S,b),S},a.prototype._toArrayLikeLE=function(n,c){for(var l=0,b=0,v=0,S=0;v>8&255),l>16&255),S===6?(l>24&255),b=0,S=0):(b=_>>>24,S+=2)}if(l=0&&(n[l--]=_>>8&255),l>=0&&(n[l--]=_>>16&255),S===6?(l>=0&&(n[l--]=_>>24&255),b=0,S=0):(b=_>>>24,S+=2)}if(l>=0)for(n[l--]=b;l>=0;)n[l--]=0},Math.clz32?a.prototype._countBits=function(n){return 32-Math.clz32(n)}:a.prototype._countBits=function(n){var c=n,l=0;return c>=4096&&(l+=13,c>>>=13),c>=64&&(l+=7,c>>>=7),c>=8&&(l+=4,c>>>=4),c>=2&&(l+=2,c>>>=2),l+c},a.prototype._zeroBits=function(n){if(n===0)return 26;var c=n,l=0;return c&8191||(l+=13,c>>>=13),c&127||(l+=7,c>>>=7),c&15||(l+=4,c>>>=4),c&3||(l+=2,c>>>=2),c&1||l++,l},a.prototype.bitLength=function(){var n=this.words[this.length-1],c=this._countBits(n);return(this.length-1)*26+c};function M(m){for(var n=new Array(m.bitLength()),c=0;c>>b&1}return n}a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;cn.length?this.clone().ior(n):n.clone().ior(this)},a.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},a.prototype.iuand=function(n){var c;this.length>n.length?c=n:c=this;for(var l=0;ln.length?this.clone().iand(n):n.clone().iand(this)},a.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},a.prototype.iuxor=function(n){var c,l;this.length>n.length?(c=this,l=n):(c=n,l=this);for(var b=0;bn.length?this.clone().ixor(n):n.clone().ixor(this)},a.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},a.prototype.inotn=function(n){i(typeof n=="number"&&n>=0);var c=Math.ceil(n/26)|0,l=n%26;this._expand(c),l>0&&c--;for(var b=0;b0&&(this.words[b]=~this.words[b]&67108863>>26-l),this._strip()},a.prototype.notn=function(n){return this.clone().inotn(n)},a.prototype.setn=function(n,c){i(typeof n=="number"&&n>=0);var l=n/26|0,b=n%26;return this._expand(l+1),c?this.words[l]=this.words[l]|1<n.length?(l=this,b=n):(l=n,b=this);for(var v=0,S=0;S>>26;for(;v!==0&&S>>26;if(this.length=l.length,v!==0)this.words[this.length]=v,this.length++;else if(l!==this)for(;Sn.length?this.clone().iadd(n):n.clone().iadd(this)},a.prototype.isub=function(n){if(n.negative!==0){n.negative=0;var c=this.iadd(n);return n.negative=1,c._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var l=this.cmp(n);if(l===0)return this.negative=0,this.length=1,this.words[0]=0,this;var b,v;l>0?(b=this,v=n):(b=n,v=this);for(var S=0,_=0;_>26,this.words[_]=c&67108863;for(;S!==0&&_>26,this.words[_]=c&67108863;if(S===0&&_>>26,C=d&67108863,o=Math.min(f,n.length-1),A=Math.max(0,f-m.length+1);A<=o;A++){var I=f-A|0;b=m.words[I]|0,v=n.words[A]|0,S=b*v+C,h+=S/67108864|0,C=S&67108863}c.words[f]=C|0,d=h|0}return d!==0?c.words[f]=d|0:c.length--,c._strip()}var L=function(n,c,l){var b=n.words,v=c.words,S=l.words,_=0,d,f,h,C=b[0]|0,o=C&8191,A=C>>>13,I=b[1]|0,E=I&8191,R=I>>>13,O=b[2]|0,B=O&8191,D=O>>>13,Oe=b[3]|0,q=Oe&8191,X=Oe>>>13,Bt=b[4]|0,fe=Bt&8191,se=Bt>>>13,Tt=b[5]|0,oe=Tt&8191,ce=Tt>>>13,Dt=b[6]|0,de=Dt&8191,xe=Dt>>>13,Ot=b[7]|0,ue=Ot&8191,le=Ot>>>13,Lt=b[8]|0,he=Lt&8191,be=Lt>>>13,qt=b[9]|0,pe=qt&8191,ge=qt>>>13,Ut=v[0]|0,me=Ut&8191,ve=Ut>>>13,zt=v[1]|0,ye=zt&8191,we=zt>>>13,Gt=v[2]|0,Se=Gt&8191,Me=Gt>>>13,Kt=v[3]|0,Ae=Kt&8191,Ce=Kt>>>13,$t=v[4]|0,_e=$t&8191,Ee=$t>>>13,Ht=v[5]|0,Pe=Ht&8191,Fe=Ht>>>13,Wt=v[6]|0,Ie=Wt&8191,Re=Wt>>>13,Jt=v[7]|0,ke=Jt&8191,Ne=Jt>>>13,jt=v[8]|0,Ve=jt&8191,Be=jt>>>13,Xt=v[9]|0,Te=Xt&8191,De=Xt>>>13;l.negative=n.negative^c.negative,l.length=19,d=Math.imul(o,me),f=Math.imul(o,ve),f=f+Math.imul(A,me)|0,h=Math.imul(A,ve);var Ct=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,d=Math.imul(E,me),f=Math.imul(E,ve),f=f+Math.imul(R,me)|0,h=Math.imul(R,ve),d=d+Math.imul(o,ye)|0,f=f+Math.imul(o,we)|0,f=f+Math.imul(A,ye)|0,h=h+Math.imul(A,we)|0;var _t=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(_t>>>26)|0,_t&=67108863,d=Math.imul(B,me),f=Math.imul(B,ve),f=f+Math.imul(D,me)|0,h=Math.imul(D,ve),d=d+Math.imul(E,ye)|0,f=f+Math.imul(E,we)|0,f=f+Math.imul(R,ye)|0,h=h+Math.imul(R,we)|0,d=d+Math.imul(o,Se)|0,f=f+Math.imul(o,Me)|0,f=f+Math.imul(A,Se)|0,h=h+Math.imul(A,Me)|0;var Et=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(Et>>>26)|0,Et&=67108863,d=Math.imul(q,me),f=Math.imul(q,ve),f=f+Math.imul(X,me)|0,h=Math.imul(X,ve),d=d+Math.imul(B,ye)|0,f=f+Math.imul(B,we)|0,f=f+Math.imul(D,ye)|0,h=h+Math.imul(D,we)|0,d=d+Math.imul(E,Se)|0,f=f+Math.imul(E,Me)|0,f=f+Math.imul(R,Se)|0,h=h+Math.imul(R,Me)|0,d=d+Math.imul(o,Ae)|0,f=f+Math.imul(o,Ce)|0,f=f+Math.imul(A,Ae)|0,h=h+Math.imul(A,Ce)|0;var Pt=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,d=Math.imul(fe,me),f=Math.imul(fe,ve),f=f+Math.imul(se,me)|0,h=Math.imul(se,ve),d=d+Math.imul(q,ye)|0,f=f+Math.imul(q,we)|0,f=f+Math.imul(X,ye)|0,h=h+Math.imul(X,we)|0,d=d+Math.imul(B,Se)|0,f=f+Math.imul(B,Me)|0,f=f+Math.imul(D,Se)|0,h=h+Math.imul(D,Me)|0,d=d+Math.imul(E,Ae)|0,f=f+Math.imul(E,Ce)|0,f=f+Math.imul(R,Ae)|0,h=h+Math.imul(R,Ce)|0,d=d+Math.imul(o,_e)|0,f=f+Math.imul(o,Ee)|0,f=f+Math.imul(A,_e)|0,h=h+Math.imul(A,Ee)|0;var Ft=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,d=Math.imul(oe,me),f=Math.imul(oe,ve),f=f+Math.imul(ce,me)|0,h=Math.imul(ce,ve),d=d+Math.imul(fe,ye)|0,f=f+Math.imul(fe,we)|0,f=f+Math.imul(se,ye)|0,h=h+Math.imul(se,we)|0,d=d+Math.imul(q,Se)|0,f=f+Math.imul(q,Me)|0,f=f+Math.imul(X,Se)|0,h=h+Math.imul(X,Me)|0,d=d+Math.imul(B,Ae)|0,f=f+Math.imul(B,Ce)|0,f=f+Math.imul(D,Ae)|0,h=h+Math.imul(D,Ce)|0,d=d+Math.imul(E,_e)|0,f=f+Math.imul(E,Ee)|0,f=f+Math.imul(R,_e)|0,h=h+Math.imul(R,Ee)|0,d=d+Math.imul(o,Pe)|0,f=f+Math.imul(o,Fe)|0,f=f+Math.imul(A,Pe)|0,h=h+Math.imul(A,Fe)|0;var r0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(r0>>>26)|0,r0&=67108863,d=Math.imul(de,me),f=Math.imul(de,ve),f=f+Math.imul(xe,me)|0,h=Math.imul(xe,ve),d=d+Math.imul(oe,ye)|0,f=f+Math.imul(oe,we)|0,f=f+Math.imul(ce,ye)|0,h=h+Math.imul(ce,we)|0,d=d+Math.imul(fe,Se)|0,f=f+Math.imul(fe,Me)|0,f=f+Math.imul(se,Se)|0,h=h+Math.imul(se,Me)|0,d=d+Math.imul(q,Ae)|0,f=f+Math.imul(q,Ce)|0,f=f+Math.imul(X,Ae)|0,h=h+Math.imul(X,Ce)|0,d=d+Math.imul(B,_e)|0,f=f+Math.imul(B,Ee)|0,f=f+Math.imul(D,_e)|0,h=h+Math.imul(D,Ee)|0,d=d+Math.imul(E,Pe)|0,f=f+Math.imul(E,Fe)|0,f=f+Math.imul(R,Pe)|0,h=h+Math.imul(R,Fe)|0,d=d+Math.imul(o,Ie)|0,f=f+Math.imul(o,Re)|0,f=f+Math.imul(A,Ie)|0,h=h+Math.imul(A,Re)|0;var i0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(i0>>>26)|0,i0&=67108863,d=Math.imul(ue,me),f=Math.imul(ue,ve),f=f+Math.imul(le,me)|0,h=Math.imul(le,ve),d=d+Math.imul(de,ye)|0,f=f+Math.imul(de,we)|0,f=f+Math.imul(xe,ye)|0,h=h+Math.imul(xe,we)|0,d=d+Math.imul(oe,Se)|0,f=f+Math.imul(oe,Me)|0,f=f+Math.imul(ce,Se)|0,h=h+Math.imul(ce,Me)|0,d=d+Math.imul(fe,Ae)|0,f=f+Math.imul(fe,Ce)|0,f=f+Math.imul(se,Ae)|0,h=h+Math.imul(se,Ce)|0,d=d+Math.imul(q,_e)|0,f=f+Math.imul(q,Ee)|0,f=f+Math.imul(X,_e)|0,h=h+Math.imul(X,Ee)|0,d=d+Math.imul(B,Pe)|0,f=f+Math.imul(B,Fe)|0,f=f+Math.imul(D,Pe)|0,h=h+Math.imul(D,Fe)|0,d=d+Math.imul(E,Ie)|0,f=f+Math.imul(E,Re)|0,f=f+Math.imul(R,Ie)|0,h=h+Math.imul(R,Re)|0,d=d+Math.imul(o,ke)|0,f=f+Math.imul(o,Ne)|0,f=f+Math.imul(A,ke)|0,h=h+Math.imul(A,Ne)|0;var n0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(n0>>>26)|0,n0&=67108863,d=Math.imul(he,me),f=Math.imul(he,ve),f=f+Math.imul(be,me)|0,h=Math.imul(be,ve),d=d+Math.imul(ue,ye)|0,f=f+Math.imul(ue,we)|0,f=f+Math.imul(le,ye)|0,h=h+Math.imul(le,we)|0,d=d+Math.imul(de,Se)|0,f=f+Math.imul(de,Me)|0,f=f+Math.imul(xe,Se)|0,h=h+Math.imul(xe,Me)|0,d=d+Math.imul(oe,Ae)|0,f=f+Math.imul(oe,Ce)|0,f=f+Math.imul(ce,Ae)|0,h=h+Math.imul(ce,Ce)|0,d=d+Math.imul(fe,_e)|0,f=f+Math.imul(fe,Ee)|0,f=f+Math.imul(se,_e)|0,h=h+Math.imul(se,Ee)|0,d=d+Math.imul(q,Pe)|0,f=f+Math.imul(q,Fe)|0,f=f+Math.imul(X,Pe)|0,h=h+Math.imul(X,Fe)|0,d=d+Math.imul(B,Ie)|0,f=f+Math.imul(B,Re)|0,f=f+Math.imul(D,Ie)|0,h=h+Math.imul(D,Re)|0,d=d+Math.imul(E,ke)|0,f=f+Math.imul(E,Ne)|0,f=f+Math.imul(R,ke)|0,h=h+Math.imul(R,Ne)|0,d=d+Math.imul(o,Ve)|0,f=f+Math.imul(o,Be)|0,f=f+Math.imul(A,Ve)|0,h=h+Math.imul(A,Be)|0;var a0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(a0>>>26)|0,a0&=67108863,d=Math.imul(pe,me),f=Math.imul(pe,ve),f=f+Math.imul(ge,me)|0,h=Math.imul(ge,ve),d=d+Math.imul(he,ye)|0,f=f+Math.imul(he,we)|0,f=f+Math.imul(be,ye)|0,h=h+Math.imul(be,we)|0,d=d+Math.imul(ue,Se)|0,f=f+Math.imul(ue,Me)|0,f=f+Math.imul(le,Se)|0,h=h+Math.imul(le,Me)|0,d=d+Math.imul(de,Ae)|0,f=f+Math.imul(de,Ce)|0,f=f+Math.imul(xe,Ae)|0,h=h+Math.imul(xe,Ce)|0,d=d+Math.imul(oe,_e)|0,f=f+Math.imul(oe,Ee)|0,f=f+Math.imul(ce,_e)|0,h=h+Math.imul(ce,Ee)|0,d=d+Math.imul(fe,Pe)|0,f=f+Math.imul(fe,Fe)|0,f=f+Math.imul(se,Pe)|0,h=h+Math.imul(se,Fe)|0,d=d+Math.imul(q,Ie)|0,f=f+Math.imul(q,Re)|0,f=f+Math.imul(X,Ie)|0,h=h+Math.imul(X,Re)|0,d=d+Math.imul(B,ke)|0,f=f+Math.imul(B,Ne)|0,f=f+Math.imul(D,ke)|0,h=h+Math.imul(D,Ne)|0,d=d+Math.imul(E,Ve)|0,f=f+Math.imul(E,Be)|0,f=f+Math.imul(R,Ve)|0,h=h+Math.imul(R,Be)|0,d=d+Math.imul(o,Te)|0,f=f+Math.imul(o,De)|0,f=f+Math.imul(A,Te)|0,h=h+Math.imul(A,De)|0;var f0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(f0>>>26)|0,f0&=67108863,d=Math.imul(pe,ye),f=Math.imul(pe,we),f=f+Math.imul(ge,ye)|0,h=Math.imul(ge,we),d=d+Math.imul(he,Se)|0,f=f+Math.imul(he,Me)|0,f=f+Math.imul(be,Se)|0,h=h+Math.imul(be,Me)|0,d=d+Math.imul(ue,Ae)|0,f=f+Math.imul(ue,Ce)|0,f=f+Math.imul(le,Ae)|0,h=h+Math.imul(le,Ce)|0,d=d+Math.imul(de,_e)|0,f=f+Math.imul(de,Ee)|0,f=f+Math.imul(xe,_e)|0,h=h+Math.imul(xe,Ee)|0,d=d+Math.imul(oe,Pe)|0,f=f+Math.imul(oe,Fe)|0,f=f+Math.imul(ce,Pe)|0,h=h+Math.imul(ce,Fe)|0,d=d+Math.imul(fe,Ie)|0,f=f+Math.imul(fe,Re)|0,f=f+Math.imul(se,Ie)|0,h=h+Math.imul(se,Re)|0,d=d+Math.imul(q,ke)|0,f=f+Math.imul(q,Ne)|0,f=f+Math.imul(X,ke)|0,h=h+Math.imul(X,Ne)|0,d=d+Math.imul(B,Ve)|0,f=f+Math.imul(B,Be)|0,f=f+Math.imul(D,Ve)|0,h=h+Math.imul(D,Be)|0,d=d+Math.imul(E,Te)|0,f=f+Math.imul(E,De)|0,f=f+Math.imul(R,Te)|0,h=h+Math.imul(R,De)|0;var s0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(s0>>>26)|0,s0&=67108863,d=Math.imul(pe,Se),f=Math.imul(pe,Me),f=f+Math.imul(ge,Se)|0,h=Math.imul(ge,Me),d=d+Math.imul(he,Ae)|0,f=f+Math.imul(he,Ce)|0,f=f+Math.imul(be,Ae)|0,h=h+Math.imul(be,Ce)|0,d=d+Math.imul(ue,_e)|0,f=f+Math.imul(ue,Ee)|0,f=f+Math.imul(le,_e)|0,h=h+Math.imul(le,Ee)|0,d=d+Math.imul(de,Pe)|0,f=f+Math.imul(de,Fe)|0,f=f+Math.imul(xe,Pe)|0,h=h+Math.imul(xe,Fe)|0,d=d+Math.imul(oe,Ie)|0,f=f+Math.imul(oe,Re)|0,f=f+Math.imul(ce,Ie)|0,h=h+Math.imul(ce,Re)|0,d=d+Math.imul(fe,ke)|0,f=f+Math.imul(fe,Ne)|0,f=f+Math.imul(se,ke)|0,h=h+Math.imul(se,Ne)|0,d=d+Math.imul(q,Ve)|0,f=f+Math.imul(q,Be)|0,f=f+Math.imul(X,Ve)|0,h=h+Math.imul(X,Be)|0,d=d+Math.imul(B,Te)|0,f=f+Math.imul(B,De)|0,f=f+Math.imul(D,Te)|0,h=h+Math.imul(D,De)|0;var o0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(o0>>>26)|0,o0&=67108863,d=Math.imul(pe,Ae),f=Math.imul(pe,Ce),f=f+Math.imul(ge,Ae)|0,h=Math.imul(ge,Ce),d=d+Math.imul(he,_e)|0,f=f+Math.imul(he,Ee)|0,f=f+Math.imul(be,_e)|0,h=h+Math.imul(be,Ee)|0,d=d+Math.imul(ue,Pe)|0,f=f+Math.imul(ue,Fe)|0,f=f+Math.imul(le,Pe)|0,h=h+Math.imul(le,Fe)|0,d=d+Math.imul(de,Ie)|0,f=f+Math.imul(de,Re)|0,f=f+Math.imul(xe,Ie)|0,h=h+Math.imul(xe,Re)|0,d=d+Math.imul(oe,ke)|0,f=f+Math.imul(oe,Ne)|0,f=f+Math.imul(ce,ke)|0,h=h+Math.imul(ce,Ne)|0,d=d+Math.imul(fe,Ve)|0,f=f+Math.imul(fe,Be)|0,f=f+Math.imul(se,Ve)|0,h=h+Math.imul(se,Be)|0,d=d+Math.imul(q,Te)|0,f=f+Math.imul(q,De)|0,f=f+Math.imul(X,Te)|0,h=h+Math.imul(X,De)|0;var c0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(c0>>>26)|0,c0&=67108863,d=Math.imul(pe,_e),f=Math.imul(pe,Ee),f=f+Math.imul(ge,_e)|0,h=Math.imul(ge,Ee),d=d+Math.imul(he,Pe)|0,f=f+Math.imul(he,Fe)|0,f=f+Math.imul(be,Pe)|0,h=h+Math.imul(be,Fe)|0,d=d+Math.imul(ue,Ie)|0,f=f+Math.imul(ue,Re)|0,f=f+Math.imul(le,Ie)|0,h=h+Math.imul(le,Re)|0,d=d+Math.imul(de,ke)|0,f=f+Math.imul(de,Ne)|0,f=f+Math.imul(xe,ke)|0,h=h+Math.imul(xe,Ne)|0,d=d+Math.imul(oe,Ve)|0,f=f+Math.imul(oe,Be)|0,f=f+Math.imul(ce,Ve)|0,h=h+Math.imul(ce,Be)|0,d=d+Math.imul(fe,Te)|0,f=f+Math.imul(fe,De)|0,f=f+Math.imul(se,Te)|0,h=h+Math.imul(se,De)|0;var d0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(d0>>>26)|0,d0&=67108863,d=Math.imul(pe,Pe),f=Math.imul(pe,Fe),f=f+Math.imul(ge,Pe)|0,h=Math.imul(ge,Fe),d=d+Math.imul(he,Ie)|0,f=f+Math.imul(he,Re)|0,f=f+Math.imul(be,Ie)|0,h=h+Math.imul(be,Re)|0,d=d+Math.imul(ue,ke)|0,f=f+Math.imul(ue,Ne)|0,f=f+Math.imul(le,ke)|0,h=h+Math.imul(le,Ne)|0,d=d+Math.imul(de,Ve)|0,f=f+Math.imul(de,Be)|0,f=f+Math.imul(xe,Ve)|0,h=h+Math.imul(xe,Be)|0,d=d+Math.imul(oe,Te)|0,f=f+Math.imul(oe,De)|0,f=f+Math.imul(ce,Te)|0,h=h+Math.imul(ce,De)|0;var x0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(x0>>>26)|0,x0&=67108863,d=Math.imul(pe,Ie),f=Math.imul(pe,Re),f=f+Math.imul(ge,Ie)|0,h=Math.imul(ge,Re),d=d+Math.imul(he,ke)|0,f=f+Math.imul(he,Ne)|0,f=f+Math.imul(be,ke)|0,h=h+Math.imul(be,Ne)|0,d=d+Math.imul(ue,Ve)|0,f=f+Math.imul(ue,Be)|0,f=f+Math.imul(le,Ve)|0,h=h+Math.imul(le,Be)|0,d=d+Math.imul(de,Te)|0,f=f+Math.imul(de,De)|0,f=f+Math.imul(xe,Te)|0,h=h+Math.imul(xe,De)|0;var u0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(u0>>>26)|0,u0&=67108863,d=Math.imul(pe,ke),f=Math.imul(pe,Ne),f=f+Math.imul(ge,ke)|0,h=Math.imul(ge,Ne),d=d+Math.imul(he,Ve)|0,f=f+Math.imul(he,Be)|0,f=f+Math.imul(be,Ve)|0,h=h+Math.imul(be,Be)|0,d=d+Math.imul(ue,Te)|0,f=f+Math.imul(ue,De)|0,f=f+Math.imul(le,Te)|0,h=h+Math.imul(le,De)|0;var l0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(l0>>>26)|0,l0&=67108863,d=Math.imul(pe,Ve),f=Math.imul(pe,Be),f=f+Math.imul(ge,Ve)|0,h=Math.imul(ge,Be),d=d+Math.imul(he,Te)|0,f=f+Math.imul(he,De)|0,f=f+Math.imul(be,Te)|0,h=h+Math.imul(be,De)|0;var h0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(h0>>>26)|0,h0&=67108863,d=Math.imul(pe,Te),f=Math.imul(pe,De),f=f+Math.imul(ge,Te)|0,h=Math.imul(ge,De);var b0=(_+d|0)+((f&8191)<<13)|0;return _=(h+(f>>>13)|0)+(b0>>>26)|0,b0&=67108863,S[0]=Ct,S[1]=_t,S[2]=Et,S[3]=Pt,S[4]=Ft,S[5]=r0,S[6]=i0,S[7]=n0,S[8]=a0,S[9]=f0,S[10]=s0,S[11]=o0,S[12]=c0,S[13]=d0,S[14]=x0,S[15]=u0,S[16]=l0,S[17]=h0,S[18]=b0,_!==0&&(S[19]=_,l.length++),l};Math.imul||(L=V);function U(m,n,c){c.negative=n.negative^m.negative,c.length=m.length+n.length;for(var l=0,b=0,v=0;v>>26)|0,b+=S>>>26,S&=67108863}c.words[v]=_,l=S,S=b}return l!==0?c.words[v]=l:c.length--,c._strip()}function K(m,n,c){return U(m,n,c)}a.prototype.mulTo=function(n,c){var l,b=this.length+n.length;return this.length===10&&n.length===10?l=L(this,n,c):b<63?l=V(this,n,c):b<1024?l=U(this,n,c):l=K(this,n,c),l},a.prototype.mul=function(n){var c=new a(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},a.prototype.mulf=function(n){var c=new a(null);return c.words=new Array(this.length+n.length),K(this,n,c)},a.prototype.imul=function(n){return this.clone().mulTo(n,this)},a.prototype.imuln=function(n){var c=n<0;c&&(n=-n),i(typeof n=="number"),i(n<67108864);for(var l=0,b=0;b>=26,l+=v/67108864|0,l+=S>>>26,this.words[b]=S&67108863}return l!==0&&(this.words[b]=l,this.length++),c?this.ineg():this},a.prototype.muln=function(n){return this.clone().imuln(n)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(n){var c=M(n);if(c.length===0)return new a(1);for(var l=this,b=0;b=0);var c=n%26,l=(n-c)/26,b=67108863>>>26-c<<26-c,v;if(c!==0){var S=0;for(v=0;v>>26-c}S&&(this.words[v]=S,this.length++)}if(l!==0){for(v=this.length-1;v>=0;v--)this.words[v+l]=this.words[v];for(v=0;v=0);var b;c?b=(c-c%26)/26:b=0;var v=n%26,S=Math.min((n-v)/26,this.length),_=67108863^67108863>>>v<S)for(this.length-=S,f=0;f=0&&(h!==0||f>=b);f--){var C=this.words[f]|0;this.words[f]=h<<26-v|C>>>v,h=C&_}return d&&h!==0&&(d.words[d.length++]=h),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(n,c,l){return i(this.negative===0),this.iushrn(n,c,l)},a.prototype.shln=function(n){return this.clone().ishln(n)},a.prototype.ushln=function(n){return this.clone().iushln(n)},a.prototype.shrn=function(n){return this.clone().ishrn(n)},a.prototype.ushrn=function(n){return this.clone().iushrn(n)},a.prototype.testn=function(n){i(typeof n=="number"&&n>=0);var c=n%26,l=(n-c)/26,b=1<=0);var c=n%26,l=(n-c)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=l)return this;if(c!==0&&l++,this.length=Math.min(l,this.length),c!==0){var b=67108863^67108863>>>c<=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},a.prototype.isubn=function(n){if(i(typeof n=="number"),i(n<67108864),n<0)return this.iaddn(-n);if(this.negative!==0)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c>26)-(d/67108864|0),this.words[v+l]=S&67108863}for(;v>26,this.words[v+l]=S&67108863;if(_===0)return this._strip();for(i(_===-1),_=0,v=0;v>26,this.words[v]=S&67108863;return this.negative=1,this._strip()},a.prototype._wordDiv=function(n,c){var l=this.length-n.length,b=this.clone(),v=n,S=v.words[v.length-1]|0,_=this._countBits(S);l=26-_,l!==0&&(v=v.ushln(l),b.iushln(l),S=v.words[v.length-1]|0);var d=b.length-v.length,f;if(c!=="mod"){f=new a(null),f.length=d+1,f.words=new Array(f.length);for(var h=0;h=0;o--){var A=(b.words[v.length+o]|0)*67108864+(b.words[v.length+o-1]|0);for(A=Math.min(A/S|0,67108863),b._ishlnsubmul(v,A,o);b.negative!==0;)A--,b.negative=0,b._ishlnsubmul(v,1,o),b.isZero()||(b.negative^=1);f&&(f.words[o]=A)}return f&&f._strip(),b._strip(),c!=="div"&&l!==0&&b.iushrn(l),{div:f||null,mod:b}},a.prototype.divmod=function(n,c,l){if(i(!n.isZero()),this.isZero())return{div:new a(0),mod:new a(0)};var b,v,S;return this.negative!==0&&n.negative===0?(S=this.neg().divmod(n,c),c!=="mod"&&(b=S.div.neg()),c!=="div"&&(v=S.mod.neg(),l&&v.negative!==0&&v.iadd(n)),{div:b,mod:v}):this.negative===0&&n.negative!==0?(S=this.divmod(n.neg(),c),c!=="mod"&&(b=S.div.neg()),{div:b,mod:S.mod}):this.negative&n.negative?(S=this.neg().divmod(n.neg(),c),c!=="div"&&(v=S.mod.neg(),l&&v.negative!==0&&v.isub(n)),{div:S.div,mod:v}):n.length>this.length||this.cmp(n)<0?{div:new a(0),mod:this}:n.length===1?c==="div"?{div:this.divn(n.words[0]),mod:null}:c==="mod"?{div:null,mod:new a(this.modrn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new a(this.modrn(n.words[0]))}:this._wordDiv(n,c)},a.prototype.div=function(n){return this.divmod(n,"div",!1).div},a.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},a.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},a.prototype.divRound=function(n){var c=this.divmod(n);if(c.mod.isZero())return c.div;var l=c.div.negative!==0?c.mod.isub(n):c.mod,b=n.ushrn(1),v=n.andln(1),S=l.cmp(b);return S<0||v===1&&S===0?c.div:c.div.negative!==0?c.div.isubn(1):c.div.iaddn(1)},a.prototype.modrn=function(n){var c=n<0;c&&(n=-n),i(n<=67108863);for(var l=(1<<26)%n,b=0,v=this.length-1;v>=0;v--)b=(l*b+(this.words[v]|0))%n;return c?-b:b},a.prototype.modn=function(n){return this.modrn(n)},a.prototype.idivn=function(n){var c=n<0;c&&(n=-n),i(n<=67108863);for(var l=0,b=this.length-1;b>=0;b--){var v=(this.words[b]|0)+l*67108864;this.words[b]=v/n|0,l=v%n}return this._strip(),c?this.ineg():this},a.prototype.divn=function(n){return this.clone().idivn(n)},a.prototype.egcd=function(n){i(n.negative===0),i(!n.isZero());var c=this,l=n.clone();c.negative!==0?c=c.umod(n):c=c.clone();for(var b=new a(1),v=new a(0),S=new a(0),_=new a(1),d=0;c.isEven()&&l.isEven();)c.iushrn(1),l.iushrn(1),++d;for(var f=l.clone(),h=c.clone();!c.isZero();){for(var C=0,o=1;!(c.words[0]&o)&&C<26;++C,o<<=1);if(C>0)for(c.iushrn(C);C-- >0;)(b.isOdd()||v.isOdd())&&(b.iadd(f),v.isub(h)),b.iushrn(1),v.iushrn(1);for(var A=0,I=1;!(l.words[0]&I)&&A<26;++A,I<<=1);if(A>0)for(l.iushrn(A);A-- >0;)(S.isOdd()||_.isOdd())&&(S.iadd(f),_.isub(h)),S.iushrn(1),_.iushrn(1);c.cmp(l)>=0?(c.isub(l),b.isub(S),v.isub(_)):(l.isub(c),S.isub(b),_.isub(v))}return{a:S,b:_,gcd:l.iushln(d)}},a.prototype._invmp=function(n){i(n.negative===0),i(!n.isZero());var c=this,l=n.clone();c.negative!==0?c=c.umod(n):c=c.clone();for(var b=new a(1),v=new a(0),S=l.clone();c.cmpn(1)>0&&l.cmpn(1)>0;){for(var _=0,d=1;!(c.words[0]&d)&&_<26;++_,d<<=1);if(_>0)for(c.iushrn(_);_-- >0;)b.isOdd()&&b.iadd(S),b.iushrn(1);for(var f=0,h=1;!(l.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(l.iushrn(f);f-- >0;)v.isOdd()&&v.iadd(S),v.iushrn(1);c.cmp(l)>=0?(c.isub(l),b.isub(v)):(l.isub(c),v.isub(b))}var C;return c.cmpn(1)===0?C=b:C=v,C.cmpn(0)<0&&C.iadd(n),C},a.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),l=n.clone();c.negative=0,l.negative=0;for(var b=0;c.isEven()&&l.isEven();b++)c.iushrn(1),l.iushrn(1);do{for(;c.isEven();)c.iushrn(1);for(;l.isEven();)l.iushrn(1);var v=c.cmp(l);if(v<0){var S=c;c=l,l=S}else if(v===0||l.cmpn(1)===0)break;c.isub(l)}while(!0);return l.iushln(b)},a.prototype.invm=function(n){return this.egcd(n).a.umod(n)},a.prototype.isEven=function(){return(this.words[0]&1)===0},a.prototype.isOdd=function(){return(this.words[0]&1)===1},a.prototype.andln=function(n){return this.words[0]&n},a.prototype.bincn=function(n){i(typeof n=="number");var c=n%26,l=(n-c)/26,b=1<>>26,_&=67108863,this.words[S]=_}return v!==0&&(this.words[S]=v,this.length++),this},a.prototype.isZero=function(){return this.length===1&&this.words[0]===0},a.prototype.cmpn=function(n){var c=n<0;if(this.negative!==0&&!c)return-1;if(this.negative===0&&c)return 1;this._strip();var l;if(this.length>1)l=1;else{c&&(n=-n),i(n<=67108863,"Number is too big");var b=this.words[0]|0;l=b===n?0:bn.length)return 1;if(this.length=0;l--){var b=this.words[l]|0,v=n.words[l]|0;if(b!==v){bv&&(c=1);break}}return c},a.prototype.gtn=function(n){return this.cmpn(n)===1},a.prototype.gt=function(n){return this.cmp(n)===1},a.prototype.gten=function(n){return this.cmpn(n)>=0},a.prototype.gte=function(n){return this.cmp(n)>=0},a.prototype.ltn=function(n){return this.cmpn(n)===-1},a.prototype.lt=function(n){return this.cmp(n)===-1},a.prototype.lten=function(n){return this.cmpn(n)<=0},a.prototype.lte=function(n){return this.cmp(n)<=0},a.prototype.eqn=function(n){return this.cmpn(n)===0},a.prototype.eq=function(n){return this.cmp(n)===0},a.red=function(n){return new H(n)},a.prototype.toRed=function(n){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),n.convertTo(this)._forceRed(n)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(n){return this.red=n,this},a.prototype.forceRed=function(n){return i(!this.red,"Already a number in reduction context"),this._forceRed(n)},a.prototype.redAdd=function(n){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},a.prototype.redIAdd=function(n){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},a.prototype.redSub=function(n){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},a.prototype.redISub=function(n){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},a.prototype.redShl=function(n){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},a.prototype.redMul=function(n){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},a.prototype.redIMul=function(n){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(n){return i(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var T={k256:null,p224:null,p192:null,p25519:null};function G(m,n){this.name=m,this.p=new a(n,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}G.prototype._tmp=function(){var n=new a(null);return n.words=new Array(Math.ceil(this.n/13)),n},G.prototype.ireduce=function(n){var c=n,l;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),l=c.bitLength();while(l>this.n);var b=l0?c.isub(this.p):c.strip!==void 0?c.strip():c._strip(),c},G.prototype.split=function(n,c){n.iushrn(this.n,0,c)},G.prototype.imulK=function(n){return n.imul(this.k)};function j(){G.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}s(j,G),j.prototype.split=function(n,c){for(var l=4194303,b=Math.min(n.length,9),v=0;v>>22,S=_}S>>>=22,n.words[v-10]=S,S===0&&n.length>10?n.length-=10:n.length-=9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,l=0;l>>=26,n.words[l]=v,c=b}return c!==0&&(n.words[n.length++]=c),n},a._prime=function(n){if(T[n])return T[n];var c;if(n==="k256")c=new j;else if(n==="p224")c=new W;else if(n==="p192")c=new te;else if(n==="p25519")c=new re;else throw new Error("Unknown prime "+n);return T[n]=c,c};function H(m){if(typeof m=="string"){var n=a._prime(m);this.m=n.p,this.prime=n}else i(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}H.prototype._verify1=function(n){i(n.negative===0,"red works only with positives"),i(n.red,"red works only with red numbers")},H.prototype._verify2=function(n,c){i((n.negative|c.negative)===0,"red works only with positives"),i(n.red&&n.red===c.red,"red works only with red numbers")},H.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):(y(n,n.umod(this.m)._forceRed(this)),n)},H.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},H.prototype.add=function(n,c){this._verify2(n,c);var l=n.add(c);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},H.prototype.iadd=function(n,c){this._verify2(n,c);var l=n.iadd(c);return l.cmp(this.m)>=0&&l.isub(this.m),l},H.prototype.sub=function(n,c){this._verify2(n,c);var l=n.sub(c);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},H.prototype.isub=function(n,c){this._verify2(n,c);var l=n.isub(c);return l.cmpn(0)<0&&l.iadd(this.m),l},H.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},H.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},H.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},H.prototype.isqr=function(n){return this.imul(n,n.clone())},H.prototype.sqr=function(n){return this.mul(n,n)},H.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(i(c%2===1),c===3){var l=this.m.add(new a(1)).iushrn(2);return this.pow(n,l)}for(var b=this.m.subn(1),v=0;!b.isZero()&&b.andln(1)===0;)v++,b.iushrn(1);i(!b.isZero());var S=new a(1).toRed(this),_=S.redNeg(),d=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new a(2*f*f).toRed(this);this.pow(f,d).cmp(_)!==0;)f.redIAdd(_);for(var h=this.pow(f,b),C=this.pow(n,b.addn(1).iushrn(1)),o=this.pow(n,b),A=v;o.cmp(S)!==0;){for(var I=o,E=0;I.cmp(S)!==0;E++)I=I.redSqr();i(E=0;v--){for(var h=c.words[v],C=f-1;C>=0;C--){var o=h>>C&1;if(S!==b[0]&&(S=this.sqr(S)),o===0&&_===0){d=0;continue}_<<=1,_|=o,d++,!(d!==l&&(v!==0||C!==0))&&(S=this.mul(S,b[_]),d=0,_=0)}f=26}return S},H.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},H.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},a.mont=function(n){return new ne(n)};function ne(m){H.call(this,m),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}s(ne,H),ne.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},ne.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},ne.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var l=n.imul(c),b=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=l.isub(b).iushrn(this.shift),S=v;return v.cmp(this.m)>=0?S=v.isub(this.m):v.cmpn(0)<0&&(S=v.iadd(this.m)),S._forceRed(this)},ne.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new a(0)._forceRed(this);var l=n.mul(c),b=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=l.isub(b).iushrn(this.shift),S=v;return v.cmp(this.m)>=0?S=v.isub(this.m):v.cmpn(0)<0&&(S=v.iadd(this.m)),S._forceRed(this)},ne.prototype.invm=function(n){var c=this.imod(n._invmp(this.m).mul(this.r2));return c._forceRed(this)}})(r,Di)})(z0);var qn=z0.exports;const Z=Rr(qn),Un="logger/5.7.0";let ri=!1,ii=!1;const Lr={debug:1,default:2,info:2,warning:3,error:4,off:5};let ni=Lr.default,g0=null;function zn(){try{const r=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{r.push(e)}}),r.length)throw new Error("missing "+r.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(r){return r.message}return null}const ai=zn();var k0;(function(r){r.DEBUG="DEBUG",r.INFO="INFO",r.WARNING="WARNING",r.ERROR="ERROR",r.OFF="OFF"})(k0||(k0={}));var ot;(function(r){r.UNKNOWN_ERROR="UNKNOWN_ERROR",r.NOT_IMPLEMENTED="NOT_IMPLEMENTED",r.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",r.NETWORK_ERROR="NETWORK_ERROR",r.SERVER_ERROR="SERVER_ERROR",r.TIMEOUT="TIMEOUT",r.BUFFER_OVERRUN="BUFFER_OVERRUN",r.NUMERIC_FAULT="NUMERIC_FAULT",r.MISSING_NEW="MISSING_NEW",r.INVALID_ARGUMENT="INVALID_ARGUMENT",r.MISSING_ARGUMENT="MISSING_ARGUMENT",r.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",r.CALL_EXCEPTION="CALL_EXCEPTION",r.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",r.NONCE_EXPIRED="NONCE_EXPIRED",r.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",r.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",r.TRANSACTION_REPLACED="TRANSACTION_REPLACED",r.ACTION_REJECTED="ACTION_REJECTED"})(ot||(ot={}));const fi="0123456789abcdef";class ${constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){const i=e.toLowerCase();Lr[i]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(ni>Lr[i])&&console.log.apply(console,t)}debug(...e){this._log($.levels.DEBUG,e)}info(...e){this._log($.levels.INFO,e)}warn(...e){this._log($.levels.WARNING,e)}makeError(e,t,i){if(ii)return this.makeError("censored error",t,{});t||(t=$.errors.UNKNOWN_ERROR),i||(i={});const s=[];Object.keys(i).forEach(p=>{const g=i[p];try{if(g instanceof Uint8Array){let y="";for(let w=0;w>4],y+=fi[g[w]&15];s.push(p+"=Uint8Array(0x"+y+")")}else s.push(p+"="+JSON.stringify(g))}catch{s.push(p+"="+JSON.stringify(i[p].toString()))}}),s.push(`code=${t}`),s.push(`version=${this.version}`);const a=e;let x="";switch(t){case ot.NUMERIC_FAULT:{x="NUMERIC_FAULT";const p=e;switch(p){case"overflow":case"underflow":case"division-by-zero":x+="-"+p;break;case"negative-power":case"negative-width":x+="-unsupported";break;case"unbound-bitwise-result":x+="-unbound-result";break}break}case ot.CALL_EXCEPTION:case ot.INSUFFICIENT_FUNDS:case ot.MISSING_NEW:case ot.NONCE_EXPIRED:case ot.REPLACEMENT_UNDERPRICED:case ot.TRANSACTION_REPLACED:case ot.UNPREDICTABLE_GAS_LIMIT:x=t;break}x&&(e+=" [ See: https://links.ethers.org/v5-errors-"+x+" ]"),s.length&&(e+=" ("+s.join(", ")+")");const u=new Error(e);return u.reason=a,u.code=t,Object.keys(i).forEach(function(p){u[p]=i[p]}),u}throwError(e,t,i){throw this.makeError(e,t,i)}throwArgumentError(e,t,i){return this.throwError(e,$.errors.INVALID_ARGUMENT,{argument:t,value:i})}assert(e,t,i,s){e||this.throwError(t,i,s)}assertArgument(e,t,i,s){e||this.throwArgumentError(t,i,s)}checkNormalize(e){ai&&this.throwError("platform missing String.prototype.normalize",$.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:ai})}checkSafeUint53(e,t){typeof e=="number"&&(t==null&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,$.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,$.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,i){i?i=": "+i:i="",et&&this.throwError("too many arguments"+i,$.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){(e===Object||e==null)&&this.throwError("missing new",$.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",$.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",$.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return g0||(g0=new $(Un)),g0}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",$.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),ri){if(!e)return;this.globalLogger().throwError("error censorship permanent",$.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}ii=!!e,ri=!!t}static setLogLevel(e){const t=Lr[e.toLowerCase()];if(t==null){$.globalLogger().warn("invalid log level - "+e);return}ni=t}static from(e){return new $(e)}}$.errors=ot;$.levels=k0;const Gn="bytes/5.7.0",qe=new $(Gn);function Oi(r){return!!r.toHexString}function sr(r){return r.slice||(r.slice=function(){const e=Array.prototype.slice.call(arguments);return sr(new Uint8Array(Array.prototype.slice.apply(r,e)))}),r}function G0(r){return He(r)&&!(r.length%2)||Yr(r)}function si(r){return typeof r=="number"&&r==r&&r%1===0}function Yr(r){if(r==null)return!1;if(r.constructor===Uint8Array)return!0;if(typeof r=="string"||!si(r.length)||r.length<0)return!1;for(let e=0;e=256)return!1}return!0}function z(r,e){if(e||(e={}),typeof r=="number"){qe.checkSafeUint53(r,"invalid arrayify value");const t=[];for(;r;)t.unshift(r&255),r=parseInt(String(r/256));return t.length===0&&t.push(0),sr(new Uint8Array(t))}if(e.allowMissingPrefix&&typeof r=="string"&&r.substring(0,2)!=="0x"&&(r="0x"+r),Oi(r)&&(r=r.toHexString()),He(r)){let t=r.substring(2);t.length%2&&(e.hexPad==="left"?t="0"+t:e.hexPad==="right"?t+="0":qe.throwArgumentError("hex data is odd-length","value",r));const i=[];for(let s=0;sz(s)),t=e.reduce((s,a)=>s+a.length,0),i=new Uint8Array(t);return e.reduce((s,a)=>(i.set(a,s),s+a.length),0),sr(i)}function Rt(r){let e=z(r);if(e.length===0)return e;let t=0;for(;te&&qe.throwArgumentError("value out of range","value",arguments[0]);const t=new Uint8Array(e);return t.set(r,e-r.length),sr(t)}function He(r,e){return!(typeof r!="string"||!r.match(/^0x[0-9A-Fa-f]*$/)||e&&r.length!==2+2*e)}const m0="0123456789abcdef";function J(r,e){if(e||(e={}),typeof r=="number"){qe.checkSafeUint53(r,"invalid hexlify value");let t="";for(;r;)t=m0[r&15]+t,r=Math.floor(r/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if(typeof r=="bigint")return r=r.toString(16),r.length%2?"0x0"+r:"0x"+r;if(e.allowMissingPrefix&&typeof r=="string"&&r.substring(0,2)!=="0x"&&(r="0x"+r),Oi(r))return r.toHexString();if(He(r))return r.length%2&&(e.hexPad==="left"?r="0x0"+r.substring(2):e.hexPad==="right"?r+="0":qe.throwArgumentError("hex data is odd-length","value",r)),r.toLowerCase();if(Yr(r)){let t="0x";for(let i=0;i>4]+m0[s&15]}return t}return qe.throwArgumentError("invalid hexlify value","value",r)}function Li(r){if(typeof r!="string")r=J(r);else if(!He(r)||r.length%2)return null;return(r.length-2)/2}function _r(r,e,t){return typeof r!="string"?r=J(r):(!He(r)||r.length%2)&&qe.throwArgumentError("invalid hexData","value",r),e=2+2*e,t!=null?"0x"+r.substring(e,2+2*t):"0x"+r.substring(e)}function or(r){let e="0x";return r.forEach(t=>{e+=J(t).substring(2)}),e}function tt(r,e){for(typeof r!="string"?r=J(r):He(r)||qe.throwArgumentError("invalid hex string","value",r),r.length>2*e+2&&qe.throwArgumentError("value out of range","value",arguments[1]);r.length<2*e+2;)r="0x0"+r.substring(2);return r}function kr(r){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(G0(r)){let t=z(r);t.length===64?(e.v=27+(t[32]>>7),t[32]&=127,e.r=J(t.slice(0,32)),e.s=J(t.slice(32,64))):t.length===65?(e.r=J(t.slice(0,32)),e.s=J(t.slice(32,64)),e.v=t[64]):qe.throwArgumentError("invalid signature string","signature",r),e.v<27&&(e.v===0||e.v===1?e.v+=27:qe.throwArgumentError("signature invalid v byte","signature",r)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(t[32]|=128),e._vs=J(t.slice(32,64))}else{if(e.r=r.r,e.s=r.s,e.v=r.v,e.recoveryParam=r.recoveryParam,e._vs=r._vs,e._vs!=null){const s=Kn(z(e._vs),32);e._vs=J(s);const a=s[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=a:e.recoveryParam!==a&&qe.throwArgumentError("signature recoveryParam mismatch _vs","signature",r),s[0]&=127;const x=J(s);e.s==null?e.s=x:e.s!==x&&qe.throwArgumentError("signature v mismatch _vs","signature",r)}if(e.recoveryParam==null)e.v==null?qe.throwArgumentError("signature missing v and recoveryParam","signature",r):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{const s=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==s&&qe.throwArgumentError("signature recoveryParam mismatch v","signature",r)}e.r==null||!He(e.r)?qe.throwArgumentError("signature missing or invalid r","signature",r):e.r=tt(e.r,32),e.s==null||!He(e.s)?qe.throwArgumentError("signature missing or invalid s","signature",r):e.s=tt(e.s,32);const t=z(e.s);t[0]>=128&&qe.throwArgumentError("signature s out of range","signature",r),e.recoveryParam&&(t[0]|=128);const i=J(t);e._vs&&(He(e._vs)||qe.throwArgumentError("signature invalid _vs","signature",r),e._vs=tt(e._vs,32)),e._vs==null?e._vs=i:e._vs!==i&&qe.throwArgumentError("signature _vs mismatch v and s","signature",r)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function oi(r){return r=kr(r),J(kt([r.r,r.s,r.recoveryParam?"0x1c":"0x1b"]))}const $n="bignumber/5.7.0";var Gr=Z.BN;const wt=new $($n),v0={},ci=9007199254740991;let di=!1;class ae{constructor(e,t){e!==v0&&wt.throwError("cannot call constructor directly; use BigNumber.from",$.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return We(Q(this).fromTwos(e))}toTwos(e){return We(Q(this).toTwos(e))}abs(){return this._hex[0]==="-"?ae.from(this._hex.substring(1)):this}add(e){return We(Q(this).add(Q(e)))}sub(e){return We(Q(this).sub(Q(e)))}div(e){return ae.from(e).isZero()&&Qe("division-by-zero","div"),We(Q(this).div(Q(e)))}mul(e){return We(Q(this).mul(Q(e)))}mod(e){const t=Q(e);return t.isNeg()&&Qe("division-by-zero","mod"),We(Q(this).umod(t))}pow(e){const t=Q(e);return t.isNeg()&&Qe("negative-power","pow"),We(Q(this).pow(t))}and(e){const t=Q(e);return(this.isNegative()||t.isNeg())&&Qe("unbound-bitwise-result","and"),We(Q(this).and(t))}or(e){const t=Q(e);return(this.isNegative()||t.isNeg())&&Qe("unbound-bitwise-result","or"),We(Q(this).or(t))}xor(e){const t=Q(e);return(this.isNegative()||t.isNeg())&&Qe("unbound-bitwise-result","xor"),We(Q(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&Qe("negative-width","mask"),We(Q(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&Qe("negative-width","shl"),We(Q(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&Qe("negative-width","shr"),We(Q(this).shrn(e))}eq(e){return Q(this).eq(Q(e))}lt(e){return Q(this).lt(Q(e))}lte(e){return Q(this).lte(Q(e))}gt(e){return Q(this).gt(Q(e))}gte(e){return Q(this).gte(Q(e))}isNegative(){return this._hex[0]==="-"}isZero(){return Q(this).isZero()}toNumber(){try{return Q(this).toNumber()}catch{Qe("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return wt.throwError("this platform does not support BigInt",$.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?di||(di=!0,wt.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?wt.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",$.errors.UNEXPECTED_ARGUMENT,{}):wt.throwError("BigNumber.toString does not accept parameters",$.errors.UNEXPECTED_ARGUMENT,{})),Q(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof ae)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new ae(v0,Er(e)):e.match(/^-?[0-9]+$/)?new ae(v0,Er(new Gr(e))):wt.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&Qe("underflow","BigNumber.from",e),(e>=ci||e<=-ci)&&Qe("overflow","BigNumber.from",e),ae.from(String(e));const t=e;if(typeof t=="bigint")return ae.from(t.toString());if(Yr(t))return ae.from(J(t));if(t)if(t.toHexString){const i=t.toHexString();if(typeof i=="string")return ae.from(i)}else{let i=t._hex;if(i==null&&t.type==="BigNumber"&&(i=t.hex),typeof i=="string"&&(He(i)||i[0]==="-"&&He(i.substring(1))))return ae.from(i)}return wt.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}}function Er(r){if(typeof r!="string")return Er(r.toString(16));if(r[0]==="-")return r=r.substring(1),r[0]==="-"&&wt.throwArgumentError("invalid hex","value",r),r=Er(r),r==="0x00"?r:"-"+r;if(r.substring(0,2)!=="0x"&&(r="0x"+r),r==="0x")return"0x00";for(r.length%2&&(r="0x0"+r.substring(2));r.length>4&&r.substring(0,4)==="0x00";)r="0x"+r.substring(4);return r}function We(r){return ae.from(Er(r))}function Q(r){const e=ae.from(r).toHexString();return e[0]==="-"?new Gr("-"+e.substring(3),16):new Gr(e.substring(2),16)}function Qe(r,e,t){const i={fault:r,operation:e};return t!=null&&(i.value=t),wt.throwError(r,$.errors.NUMERIC_FAULT,i)}function Hn(r){return new Gr(r,36).toString(16)}const Wn="properties/5.7.0";var Jn=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function p(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,p)}g((i=i.apply(r,e||[])).next())})};const Kr=new $(Wn);function Y(r,e,t){Object.defineProperty(r,e,{enumerable:!0,value:t,writable:!1})}function fr(r){return Jn(this,void 0,void 0,function*(){const e=Object.keys(r).map(i=>{const s=r[i];return Promise.resolve(s).then(a=>({key:i,value:a}))});return(yield Promise.all(e)).reduce((i,s)=>(i[s.key]=s.value,i),{})})}function jn(r,e){(!r||typeof r!="object")&&Kr.throwArgumentError("invalid object","object",r),Object.keys(r).forEach(t=>{e[t]||Kr.throwArgumentError("invalid object key - "+t,"transaction:"+t,r)})}function N0(r){const e={};for(const t in r)e[t]=r[t];return e}const Xn={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function qi(r){if(r==null||Xn[typeof r])return!0;if(Array.isArray(r)||typeof r=="object"){if(!Object.isFrozen(r))return!1;const e=Object.keys(r);for(let t=0;t$r(e)));if(typeof r=="object"){const e={};for(const t in r){const i=r[t];i!==void 0&&Y(e,t,$r(i))}return e}return Kr.throwArgumentError(`Cannot deepCopy ${typeof r}`,"object",r)}function $r(r){return Zn(r)}class Ui{constructor(e){for(const t in e)this[t]=$r(e[t])}}var zi={exports:{}};/** +import{j as ie}from"./jsx-runtime-CexXSJP5.js";import{B as R0,c as Nn}from"./Box-Cj61Dz8D.js";import{T as Vn}from"./Text-D7WiMjUB.js";import{b as Bn,c as Di,g as Rr,r as p0}from"./index-BP8_t0zE.js";import{c as Tn}from"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./typography-BClcJN8w.js";/* empty css */var z0={exports:{}};const Dn={},On=Object.freeze(Object.defineProperty({__proto__:null,default:Dn},Symbol.toStringTag,{value:"Module"})),Ln=Bn(On);z0.exports;(function(r){(function(e,t){function i(m,n){if(!m)throw new Error(n||"Assertion failed")}function s(m,n){m.super_=n;var c=function(){};c.prototype=n.prototype,m.prototype=new c,m.prototype.constructor=m}function a(m,n,c){if(a.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,m!==null&&((n==="le"||n==="be")&&(c=n,n=10),this._init(m||0,n||10,c||"be"))}typeof e=="object"?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;var x;try{typeof window<"u"&&typeof window.Buffer<"u"?x=window.Buffer:x=Ln.Buffer}catch{}a.isBN=function(n){return n instanceof a?!0:n!==null&&typeof n=="object"&&n.constructor.wordSize===a.wordSize&&Array.isArray(n.words)},a.max=function(n,c){return n.cmp(c)>0?n:c},a.min=function(n,c){return n.cmp(c)<0?n:c},a.prototype._init=function(n,c,l){if(typeof n=="number")return this._initNumber(n,c,l);if(typeof n=="object")return this._initArray(n,c,l);c==="hex"&&(c=16),i(c===(c|0)&&c>=2&&c<=36),n=n.toString().replace(/\s+/g,"");var p=0;n[0]==="-"&&(p++,this.negative=1),p=0;p-=3)S=n[p]|n[p-1]<<8|n[p-2]<<16,this.words[v]|=S<<_&67108863,this.words[v+1]=S>>>26-_&67108863,_+=24,_>=26&&(_-=26,v++);else if(l==="le")for(p=0,v=0;p>>26-_&67108863,_+=24,_>=26&&(_-=26,v++);return this._strip()};function u(m,n){var c=m.charCodeAt(n);if(c>=48&&c<=57)return c-48;if(c>=65&&c<=70)return c-55;if(c>=97&&c<=102)return c-87;i(!1,"Invalid character in "+m)}function b(m,n,c){var l=u(m,c);return c-1>=n&&(l|=u(m,c-1)<<4),l}a.prototype._parseHex=function(n,c,l){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var p=0;p=c;p-=2)_=b(n,c,p)<=18?(v-=18,S+=1,this.words[S]|=_>>>26):v+=8;else{var d=n.length-c;for(p=d%2===0?c+1:c;p=18?(v-=18,S+=1,this.words[S]|=_>>>26):v+=8}this._strip()};function g(m,n,c,l){for(var p=0,v=0,S=Math.min(m.length,c),_=n;_=49?v=d-49+10:d>=17?v=d-17+10:v=d,i(d>=0&&v1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=w}catch{a.prototype.inspect=w}else a.prototype.inspect=w;function w(){return(this.red?""}var F=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],N=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(n,c){n=n||10,c=c|0||1;var l;if(n===16||n==="hex"){l="";for(var p=0,v=0,S=0;S>>24-p&16777215,p+=2,p>=26&&(p-=26,S--),v!==0||S!==this.length-1?l=F[6-d.length]+d+l:l=d+l}for(v!==0&&(l=v.toString(16)+l);l.length%c!==0;)l="0"+l;return this.negative!==0&&(l="-"+l),l}if(n===(n|0)&&n>=2&&n<=36){var f=k[n],h=N[n];l="";var C=this.clone();for(C.negative=0;!C.isZero();){var o=C.modrn(h).toString(n);C=C.idivn(h),C.isZero()?l=o+l:l=F[f-o.length]+o+l}for(this.isZero()&&(l="0"+l);l.length%c!==0;)l="0"+l;return this.negative!==0&&(l="-"+l),l}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var n=this.words[0];return this.length===2?n+=this.words[1]*67108864:this.length===3&&this.words[2]===1?n+=4503599627370496+this.words[1]*67108864:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-n:n},a.prototype.toJSON=function(){return this.toString(16,2)},x&&(a.prototype.toBuffer=function(n,c){return this.toArrayLike(x,n,c)}),a.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)};var P=function(n,c){return n.allocUnsafe?n.allocUnsafe(c):new n(c)};a.prototype.toArrayLike=function(n,c,l){this._strip();var p=this.byteLength(),v=l||Math.max(1,p);i(p<=v,"byte array longer than desired length"),i(v>0,"Requested array length <= 0");var S=P(n,v),_=c==="le"?"LE":"BE";return this["_toArrayLike"+_](S,p),S},a.prototype._toArrayLikeLE=function(n,c){for(var l=0,p=0,v=0,S=0;v>8&255),l>16&255),S===6?(l>24&255),p=0,S=0):(p=_>>>24,S+=2)}if(l=0&&(n[l--]=_>>8&255),l>=0&&(n[l--]=_>>16&255),S===6?(l>=0&&(n[l--]=_>>24&255),p=0,S=0):(p=_>>>24,S+=2)}if(l>=0)for(n[l--]=p;l>=0;)n[l--]=0},Math.clz32?a.prototype._countBits=function(n){return 32-Math.clz32(n)}:a.prototype._countBits=function(n){var c=n,l=0;return c>=4096&&(l+=13,c>>>=13),c>=64&&(l+=7,c>>>=7),c>=8&&(l+=4,c>>>=4),c>=2&&(l+=2,c>>>=2),l+c},a.prototype._zeroBits=function(n){if(n===0)return 26;var c=n,l=0;return c&8191||(l+=13,c>>>=13),c&127||(l+=7,c>>>=7),c&15||(l+=4,c>>>=4),c&3||(l+=2,c>>>=2),c&1||l++,l},a.prototype.bitLength=function(){var n=this.words[this.length-1],c=this._countBits(n);return(this.length-1)*26+c};function M(m){for(var n=new Array(m.bitLength()),c=0;c>>p&1}return n}a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;cn.length?this.clone().ior(n):n.clone().ior(this)},a.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},a.prototype.iuand=function(n){var c;this.length>n.length?c=n:c=this;for(var l=0;ln.length?this.clone().iand(n):n.clone().iand(this)},a.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},a.prototype.iuxor=function(n){var c,l;this.length>n.length?(c=this,l=n):(c=n,l=this);for(var p=0;pn.length?this.clone().ixor(n):n.clone().ixor(this)},a.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},a.prototype.inotn=function(n){i(typeof n=="number"&&n>=0);var c=Math.ceil(n/26)|0,l=n%26;this._expand(c),l>0&&c--;for(var p=0;p0&&(this.words[p]=~this.words[p]&67108863>>26-l),this._strip()},a.prototype.notn=function(n){return this.clone().inotn(n)},a.prototype.setn=function(n,c){i(typeof n=="number"&&n>=0);var l=n/26|0,p=n%26;return this._expand(l+1),c?this.words[l]=this.words[l]|1<n.length?(l=this,p=n):(l=n,p=this);for(var v=0,S=0;S>>26;for(;v!==0&&S>>26;if(this.length=l.length,v!==0)this.words[this.length]=v,this.length++;else if(l!==this)for(;Sn.length?this.clone().iadd(n):n.clone().iadd(this)},a.prototype.isub=function(n){if(n.negative!==0){n.negative=0;var c=this.iadd(n);return n.negative=1,c._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var l=this.cmp(n);if(l===0)return this.negative=0,this.length=1,this.words[0]=0,this;var p,v;l>0?(p=this,v=n):(p=n,v=this);for(var S=0,_=0;_>26,this.words[_]=c&67108863;for(;S!==0&&_>26,this.words[_]=c&67108863;if(S===0&&_>>26,C=d&67108863,o=Math.min(f,n.length-1),A=Math.max(0,f-m.length+1);A<=o;A++){var I=f-A|0;p=m.words[I]|0,v=n.words[A]|0,S=p*v+C,h+=S/67108864|0,C=S&67108863}c.words[f]=C|0,d=h|0}return d!==0?c.words[f]=d|0:c.length--,c._strip()}var L=function(n,c,l){var p=n.words,v=c.words,S=l.words,_=0,d,f,h,C=p[0]|0,o=C&8191,A=C>>>13,I=p[1]|0,E=I&8191,R=I>>>13,O=p[2]|0,B=O&8191,D=O>>>13,Oe=p[3]|0,q=Oe&8191,X=Oe>>>13,Bt=p[4]|0,fe=Bt&8191,se=Bt>>>13,Tt=p[5]|0,oe=Tt&8191,ce=Tt>>>13,Dt=p[6]|0,de=Dt&8191,xe=Dt>>>13,Ot=p[7]|0,ue=Ot&8191,le=Ot>>>13,Lt=p[8]|0,he=Lt&8191,be=Lt>>>13,qt=p[9]|0,pe=qt&8191,ge=qt>>>13,Ut=v[0]|0,me=Ut&8191,ve=Ut>>>13,zt=v[1]|0,ye=zt&8191,we=zt>>>13,Gt=v[2]|0,Se=Gt&8191,Me=Gt>>>13,Kt=v[3]|0,Ae=Kt&8191,Ce=Kt>>>13,$t=v[4]|0,_e=$t&8191,Ee=$t>>>13,Ht=v[5]|0,Pe=Ht&8191,Fe=Ht>>>13,Wt=v[6]|0,Ie=Wt&8191,Re=Wt>>>13,Jt=v[7]|0,ke=Jt&8191,Ne=Jt>>>13,jt=v[8]|0,Ve=jt&8191,Be=jt>>>13,Xt=v[9]|0,Te=Xt&8191,De=Xt>>>13;l.negative=n.negative^c.negative,l.length=19,d=Math.imul(o,me),f=Math.imul(o,ve),f=f+Math.imul(A,me)|0,h=Math.imul(A,ve);var Ct=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,d=Math.imul(E,me),f=Math.imul(E,ve),f=f+Math.imul(R,me)|0,h=Math.imul(R,ve),d=d+Math.imul(o,ye)|0,f=f+Math.imul(o,we)|0,f=f+Math.imul(A,ye)|0,h=h+Math.imul(A,we)|0;var _t=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(_t>>>26)|0,_t&=67108863,d=Math.imul(B,me),f=Math.imul(B,ve),f=f+Math.imul(D,me)|0,h=Math.imul(D,ve),d=d+Math.imul(E,ye)|0,f=f+Math.imul(E,we)|0,f=f+Math.imul(R,ye)|0,h=h+Math.imul(R,we)|0,d=d+Math.imul(o,Se)|0,f=f+Math.imul(o,Me)|0,f=f+Math.imul(A,Se)|0,h=h+Math.imul(A,Me)|0;var Et=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(Et>>>26)|0,Et&=67108863,d=Math.imul(q,me),f=Math.imul(q,ve),f=f+Math.imul(X,me)|0,h=Math.imul(X,ve),d=d+Math.imul(B,ye)|0,f=f+Math.imul(B,we)|0,f=f+Math.imul(D,ye)|0,h=h+Math.imul(D,we)|0,d=d+Math.imul(E,Se)|0,f=f+Math.imul(E,Me)|0,f=f+Math.imul(R,Se)|0,h=h+Math.imul(R,Me)|0,d=d+Math.imul(o,Ae)|0,f=f+Math.imul(o,Ce)|0,f=f+Math.imul(A,Ae)|0,h=h+Math.imul(A,Ce)|0;var Pt=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,d=Math.imul(fe,me),f=Math.imul(fe,ve),f=f+Math.imul(se,me)|0,h=Math.imul(se,ve),d=d+Math.imul(q,ye)|0,f=f+Math.imul(q,we)|0,f=f+Math.imul(X,ye)|0,h=h+Math.imul(X,we)|0,d=d+Math.imul(B,Se)|0,f=f+Math.imul(B,Me)|0,f=f+Math.imul(D,Se)|0,h=h+Math.imul(D,Me)|0,d=d+Math.imul(E,Ae)|0,f=f+Math.imul(E,Ce)|0,f=f+Math.imul(R,Ae)|0,h=h+Math.imul(R,Ce)|0,d=d+Math.imul(o,_e)|0,f=f+Math.imul(o,Ee)|0,f=f+Math.imul(A,_e)|0,h=h+Math.imul(A,Ee)|0;var Ft=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,d=Math.imul(oe,me),f=Math.imul(oe,ve),f=f+Math.imul(ce,me)|0,h=Math.imul(ce,ve),d=d+Math.imul(fe,ye)|0,f=f+Math.imul(fe,we)|0,f=f+Math.imul(se,ye)|0,h=h+Math.imul(se,we)|0,d=d+Math.imul(q,Se)|0,f=f+Math.imul(q,Me)|0,f=f+Math.imul(X,Se)|0,h=h+Math.imul(X,Me)|0,d=d+Math.imul(B,Ae)|0,f=f+Math.imul(B,Ce)|0,f=f+Math.imul(D,Ae)|0,h=h+Math.imul(D,Ce)|0,d=d+Math.imul(E,_e)|0,f=f+Math.imul(E,Ee)|0,f=f+Math.imul(R,_e)|0,h=h+Math.imul(R,Ee)|0,d=d+Math.imul(o,Pe)|0,f=f+Math.imul(o,Fe)|0,f=f+Math.imul(A,Pe)|0,h=h+Math.imul(A,Fe)|0;var r0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(r0>>>26)|0,r0&=67108863,d=Math.imul(de,me),f=Math.imul(de,ve),f=f+Math.imul(xe,me)|0,h=Math.imul(xe,ve),d=d+Math.imul(oe,ye)|0,f=f+Math.imul(oe,we)|0,f=f+Math.imul(ce,ye)|0,h=h+Math.imul(ce,we)|0,d=d+Math.imul(fe,Se)|0,f=f+Math.imul(fe,Me)|0,f=f+Math.imul(se,Se)|0,h=h+Math.imul(se,Me)|0,d=d+Math.imul(q,Ae)|0,f=f+Math.imul(q,Ce)|0,f=f+Math.imul(X,Ae)|0,h=h+Math.imul(X,Ce)|0,d=d+Math.imul(B,_e)|0,f=f+Math.imul(B,Ee)|0,f=f+Math.imul(D,_e)|0,h=h+Math.imul(D,Ee)|0,d=d+Math.imul(E,Pe)|0,f=f+Math.imul(E,Fe)|0,f=f+Math.imul(R,Pe)|0,h=h+Math.imul(R,Fe)|0,d=d+Math.imul(o,Ie)|0,f=f+Math.imul(o,Re)|0,f=f+Math.imul(A,Ie)|0,h=h+Math.imul(A,Re)|0;var i0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(i0>>>26)|0,i0&=67108863,d=Math.imul(ue,me),f=Math.imul(ue,ve),f=f+Math.imul(le,me)|0,h=Math.imul(le,ve),d=d+Math.imul(de,ye)|0,f=f+Math.imul(de,we)|0,f=f+Math.imul(xe,ye)|0,h=h+Math.imul(xe,we)|0,d=d+Math.imul(oe,Se)|0,f=f+Math.imul(oe,Me)|0,f=f+Math.imul(ce,Se)|0,h=h+Math.imul(ce,Me)|0,d=d+Math.imul(fe,Ae)|0,f=f+Math.imul(fe,Ce)|0,f=f+Math.imul(se,Ae)|0,h=h+Math.imul(se,Ce)|0,d=d+Math.imul(q,_e)|0,f=f+Math.imul(q,Ee)|0,f=f+Math.imul(X,_e)|0,h=h+Math.imul(X,Ee)|0,d=d+Math.imul(B,Pe)|0,f=f+Math.imul(B,Fe)|0,f=f+Math.imul(D,Pe)|0,h=h+Math.imul(D,Fe)|0,d=d+Math.imul(E,Ie)|0,f=f+Math.imul(E,Re)|0,f=f+Math.imul(R,Ie)|0,h=h+Math.imul(R,Re)|0,d=d+Math.imul(o,ke)|0,f=f+Math.imul(o,Ne)|0,f=f+Math.imul(A,ke)|0,h=h+Math.imul(A,Ne)|0;var n0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(n0>>>26)|0,n0&=67108863,d=Math.imul(he,me),f=Math.imul(he,ve),f=f+Math.imul(be,me)|0,h=Math.imul(be,ve),d=d+Math.imul(ue,ye)|0,f=f+Math.imul(ue,we)|0,f=f+Math.imul(le,ye)|0,h=h+Math.imul(le,we)|0,d=d+Math.imul(de,Se)|0,f=f+Math.imul(de,Me)|0,f=f+Math.imul(xe,Se)|0,h=h+Math.imul(xe,Me)|0,d=d+Math.imul(oe,Ae)|0,f=f+Math.imul(oe,Ce)|0,f=f+Math.imul(ce,Ae)|0,h=h+Math.imul(ce,Ce)|0,d=d+Math.imul(fe,_e)|0,f=f+Math.imul(fe,Ee)|0,f=f+Math.imul(se,_e)|0,h=h+Math.imul(se,Ee)|0,d=d+Math.imul(q,Pe)|0,f=f+Math.imul(q,Fe)|0,f=f+Math.imul(X,Pe)|0,h=h+Math.imul(X,Fe)|0,d=d+Math.imul(B,Ie)|0,f=f+Math.imul(B,Re)|0,f=f+Math.imul(D,Ie)|0,h=h+Math.imul(D,Re)|0,d=d+Math.imul(E,ke)|0,f=f+Math.imul(E,Ne)|0,f=f+Math.imul(R,ke)|0,h=h+Math.imul(R,Ne)|0,d=d+Math.imul(o,Ve)|0,f=f+Math.imul(o,Be)|0,f=f+Math.imul(A,Ve)|0,h=h+Math.imul(A,Be)|0;var a0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(a0>>>26)|0,a0&=67108863,d=Math.imul(pe,me),f=Math.imul(pe,ve),f=f+Math.imul(ge,me)|0,h=Math.imul(ge,ve),d=d+Math.imul(he,ye)|0,f=f+Math.imul(he,we)|0,f=f+Math.imul(be,ye)|0,h=h+Math.imul(be,we)|0,d=d+Math.imul(ue,Se)|0,f=f+Math.imul(ue,Me)|0,f=f+Math.imul(le,Se)|0,h=h+Math.imul(le,Me)|0,d=d+Math.imul(de,Ae)|0,f=f+Math.imul(de,Ce)|0,f=f+Math.imul(xe,Ae)|0,h=h+Math.imul(xe,Ce)|0,d=d+Math.imul(oe,_e)|0,f=f+Math.imul(oe,Ee)|0,f=f+Math.imul(ce,_e)|0,h=h+Math.imul(ce,Ee)|0,d=d+Math.imul(fe,Pe)|0,f=f+Math.imul(fe,Fe)|0,f=f+Math.imul(se,Pe)|0,h=h+Math.imul(se,Fe)|0,d=d+Math.imul(q,Ie)|0,f=f+Math.imul(q,Re)|0,f=f+Math.imul(X,Ie)|0,h=h+Math.imul(X,Re)|0,d=d+Math.imul(B,ke)|0,f=f+Math.imul(B,Ne)|0,f=f+Math.imul(D,ke)|0,h=h+Math.imul(D,Ne)|0,d=d+Math.imul(E,Ve)|0,f=f+Math.imul(E,Be)|0,f=f+Math.imul(R,Ve)|0,h=h+Math.imul(R,Be)|0,d=d+Math.imul(o,Te)|0,f=f+Math.imul(o,De)|0,f=f+Math.imul(A,Te)|0,h=h+Math.imul(A,De)|0;var f0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(f0>>>26)|0,f0&=67108863,d=Math.imul(pe,ye),f=Math.imul(pe,we),f=f+Math.imul(ge,ye)|0,h=Math.imul(ge,we),d=d+Math.imul(he,Se)|0,f=f+Math.imul(he,Me)|0,f=f+Math.imul(be,Se)|0,h=h+Math.imul(be,Me)|0,d=d+Math.imul(ue,Ae)|0,f=f+Math.imul(ue,Ce)|0,f=f+Math.imul(le,Ae)|0,h=h+Math.imul(le,Ce)|0,d=d+Math.imul(de,_e)|0,f=f+Math.imul(de,Ee)|0,f=f+Math.imul(xe,_e)|0,h=h+Math.imul(xe,Ee)|0,d=d+Math.imul(oe,Pe)|0,f=f+Math.imul(oe,Fe)|0,f=f+Math.imul(ce,Pe)|0,h=h+Math.imul(ce,Fe)|0,d=d+Math.imul(fe,Ie)|0,f=f+Math.imul(fe,Re)|0,f=f+Math.imul(se,Ie)|0,h=h+Math.imul(se,Re)|0,d=d+Math.imul(q,ke)|0,f=f+Math.imul(q,Ne)|0,f=f+Math.imul(X,ke)|0,h=h+Math.imul(X,Ne)|0,d=d+Math.imul(B,Ve)|0,f=f+Math.imul(B,Be)|0,f=f+Math.imul(D,Ve)|0,h=h+Math.imul(D,Be)|0,d=d+Math.imul(E,Te)|0,f=f+Math.imul(E,De)|0,f=f+Math.imul(R,Te)|0,h=h+Math.imul(R,De)|0;var s0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(s0>>>26)|0,s0&=67108863,d=Math.imul(pe,Se),f=Math.imul(pe,Me),f=f+Math.imul(ge,Se)|0,h=Math.imul(ge,Me),d=d+Math.imul(he,Ae)|0,f=f+Math.imul(he,Ce)|0,f=f+Math.imul(be,Ae)|0,h=h+Math.imul(be,Ce)|0,d=d+Math.imul(ue,_e)|0,f=f+Math.imul(ue,Ee)|0,f=f+Math.imul(le,_e)|0,h=h+Math.imul(le,Ee)|0,d=d+Math.imul(de,Pe)|0,f=f+Math.imul(de,Fe)|0,f=f+Math.imul(xe,Pe)|0,h=h+Math.imul(xe,Fe)|0,d=d+Math.imul(oe,Ie)|0,f=f+Math.imul(oe,Re)|0,f=f+Math.imul(ce,Ie)|0,h=h+Math.imul(ce,Re)|0,d=d+Math.imul(fe,ke)|0,f=f+Math.imul(fe,Ne)|0,f=f+Math.imul(se,ke)|0,h=h+Math.imul(se,Ne)|0,d=d+Math.imul(q,Ve)|0,f=f+Math.imul(q,Be)|0,f=f+Math.imul(X,Ve)|0,h=h+Math.imul(X,Be)|0,d=d+Math.imul(B,Te)|0,f=f+Math.imul(B,De)|0,f=f+Math.imul(D,Te)|0,h=h+Math.imul(D,De)|0;var o0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(o0>>>26)|0,o0&=67108863,d=Math.imul(pe,Ae),f=Math.imul(pe,Ce),f=f+Math.imul(ge,Ae)|0,h=Math.imul(ge,Ce),d=d+Math.imul(he,_e)|0,f=f+Math.imul(he,Ee)|0,f=f+Math.imul(be,_e)|0,h=h+Math.imul(be,Ee)|0,d=d+Math.imul(ue,Pe)|0,f=f+Math.imul(ue,Fe)|0,f=f+Math.imul(le,Pe)|0,h=h+Math.imul(le,Fe)|0,d=d+Math.imul(de,Ie)|0,f=f+Math.imul(de,Re)|0,f=f+Math.imul(xe,Ie)|0,h=h+Math.imul(xe,Re)|0,d=d+Math.imul(oe,ke)|0,f=f+Math.imul(oe,Ne)|0,f=f+Math.imul(ce,ke)|0,h=h+Math.imul(ce,Ne)|0,d=d+Math.imul(fe,Ve)|0,f=f+Math.imul(fe,Be)|0,f=f+Math.imul(se,Ve)|0,h=h+Math.imul(se,Be)|0,d=d+Math.imul(q,Te)|0,f=f+Math.imul(q,De)|0,f=f+Math.imul(X,Te)|0,h=h+Math.imul(X,De)|0;var c0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(c0>>>26)|0,c0&=67108863,d=Math.imul(pe,_e),f=Math.imul(pe,Ee),f=f+Math.imul(ge,_e)|0,h=Math.imul(ge,Ee),d=d+Math.imul(he,Pe)|0,f=f+Math.imul(he,Fe)|0,f=f+Math.imul(be,Pe)|0,h=h+Math.imul(be,Fe)|0,d=d+Math.imul(ue,Ie)|0,f=f+Math.imul(ue,Re)|0,f=f+Math.imul(le,Ie)|0,h=h+Math.imul(le,Re)|0,d=d+Math.imul(de,ke)|0,f=f+Math.imul(de,Ne)|0,f=f+Math.imul(xe,ke)|0,h=h+Math.imul(xe,Ne)|0,d=d+Math.imul(oe,Ve)|0,f=f+Math.imul(oe,Be)|0,f=f+Math.imul(ce,Ve)|0,h=h+Math.imul(ce,Be)|0,d=d+Math.imul(fe,Te)|0,f=f+Math.imul(fe,De)|0,f=f+Math.imul(se,Te)|0,h=h+Math.imul(se,De)|0;var d0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(d0>>>26)|0,d0&=67108863,d=Math.imul(pe,Pe),f=Math.imul(pe,Fe),f=f+Math.imul(ge,Pe)|0,h=Math.imul(ge,Fe),d=d+Math.imul(he,Ie)|0,f=f+Math.imul(he,Re)|0,f=f+Math.imul(be,Ie)|0,h=h+Math.imul(be,Re)|0,d=d+Math.imul(ue,ke)|0,f=f+Math.imul(ue,Ne)|0,f=f+Math.imul(le,ke)|0,h=h+Math.imul(le,Ne)|0,d=d+Math.imul(de,Ve)|0,f=f+Math.imul(de,Be)|0,f=f+Math.imul(xe,Ve)|0,h=h+Math.imul(xe,Be)|0,d=d+Math.imul(oe,Te)|0,f=f+Math.imul(oe,De)|0,f=f+Math.imul(ce,Te)|0,h=h+Math.imul(ce,De)|0;var x0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(x0>>>26)|0,x0&=67108863,d=Math.imul(pe,Ie),f=Math.imul(pe,Re),f=f+Math.imul(ge,Ie)|0,h=Math.imul(ge,Re),d=d+Math.imul(he,ke)|0,f=f+Math.imul(he,Ne)|0,f=f+Math.imul(be,ke)|0,h=h+Math.imul(be,Ne)|0,d=d+Math.imul(ue,Ve)|0,f=f+Math.imul(ue,Be)|0,f=f+Math.imul(le,Ve)|0,h=h+Math.imul(le,Be)|0,d=d+Math.imul(de,Te)|0,f=f+Math.imul(de,De)|0,f=f+Math.imul(xe,Te)|0,h=h+Math.imul(xe,De)|0;var u0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(u0>>>26)|0,u0&=67108863,d=Math.imul(pe,ke),f=Math.imul(pe,Ne),f=f+Math.imul(ge,ke)|0,h=Math.imul(ge,Ne),d=d+Math.imul(he,Ve)|0,f=f+Math.imul(he,Be)|0,f=f+Math.imul(be,Ve)|0,h=h+Math.imul(be,Be)|0,d=d+Math.imul(ue,Te)|0,f=f+Math.imul(ue,De)|0,f=f+Math.imul(le,Te)|0,h=h+Math.imul(le,De)|0;var l0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(l0>>>26)|0,l0&=67108863,d=Math.imul(pe,Ve),f=Math.imul(pe,Be),f=f+Math.imul(ge,Ve)|0,h=Math.imul(ge,Be),d=d+Math.imul(he,Te)|0,f=f+Math.imul(he,De)|0,f=f+Math.imul(be,Te)|0,h=h+Math.imul(be,De)|0;var h0=(_+d|0)+((f&8191)<<13)|0;_=(h+(f>>>13)|0)+(h0>>>26)|0,h0&=67108863,d=Math.imul(pe,Te),f=Math.imul(pe,De),f=f+Math.imul(ge,Te)|0,h=Math.imul(ge,De);var b0=(_+d|0)+((f&8191)<<13)|0;return _=(h+(f>>>13)|0)+(b0>>>26)|0,b0&=67108863,S[0]=Ct,S[1]=_t,S[2]=Et,S[3]=Pt,S[4]=Ft,S[5]=r0,S[6]=i0,S[7]=n0,S[8]=a0,S[9]=f0,S[10]=s0,S[11]=o0,S[12]=c0,S[13]=d0,S[14]=x0,S[15]=u0,S[16]=l0,S[17]=h0,S[18]=b0,_!==0&&(S[19]=_,l.length++),l};Math.imul||(L=V);function U(m,n,c){c.negative=n.negative^m.negative,c.length=m.length+n.length;for(var l=0,p=0,v=0;v>>26)|0,p+=S>>>26,S&=67108863}c.words[v]=_,l=S,S=p}return l!==0?c.words[v]=l:c.length--,c._strip()}function K(m,n,c){return U(m,n,c)}a.prototype.mulTo=function(n,c){var l,p=this.length+n.length;return this.length===10&&n.length===10?l=L(this,n,c):p<63?l=V(this,n,c):p<1024?l=U(this,n,c):l=K(this,n,c),l},a.prototype.mul=function(n){var c=new a(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},a.prototype.mulf=function(n){var c=new a(null);return c.words=new Array(this.length+n.length),K(this,n,c)},a.prototype.imul=function(n){return this.clone().mulTo(n,this)},a.prototype.imuln=function(n){var c=n<0;c&&(n=-n),i(typeof n=="number"),i(n<67108864);for(var l=0,p=0;p>=26,l+=v/67108864|0,l+=S>>>26,this.words[p]=S&67108863}return l!==0&&(this.words[p]=l,this.length++),c?this.ineg():this},a.prototype.muln=function(n){return this.clone().imuln(n)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(n){var c=M(n);if(c.length===0)return new a(1);for(var l=this,p=0;p=0);var c=n%26,l=(n-c)/26,p=67108863>>>26-c<<26-c,v;if(c!==0){var S=0;for(v=0;v>>26-c}S&&(this.words[v]=S,this.length++)}if(l!==0){for(v=this.length-1;v>=0;v--)this.words[v+l]=this.words[v];for(v=0;v=0);var p;c?p=(c-c%26)/26:p=0;var v=n%26,S=Math.min((n-v)/26,this.length),_=67108863^67108863>>>v<S)for(this.length-=S,f=0;f=0&&(h!==0||f>=p);f--){var C=this.words[f]|0;this.words[f]=h<<26-v|C>>>v,h=C&_}return d&&h!==0&&(d.words[d.length++]=h),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(n,c,l){return i(this.negative===0),this.iushrn(n,c,l)},a.prototype.shln=function(n){return this.clone().ishln(n)},a.prototype.ushln=function(n){return this.clone().iushln(n)},a.prototype.shrn=function(n){return this.clone().ishrn(n)},a.prototype.ushrn=function(n){return this.clone().iushrn(n)},a.prototype.testn=function(n){i(typeof n=="number"&&n>=0);var c=n%26,l=(n-c)/26,p=1<=0);var c=n%26,l=(n-c)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=l)return this;if(c!==0&&l++,this.length=Math.min(l,this.length),c!==0){var p=67108863^67108863>>>c<=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},a.prototype.isubn=function(n){if(i(typeof n=="number"),i(n<67108864),n<0)return this.iaddn(-n);if(this.negative!==0)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c>26)-(d/67108864|0),this.words[v+l]=S&67108863}for(;v>26,this.words[v+l]=S&67108863;if(_===0)return this._strip();for(i(_===-1),_=0,v=0;v>26,this.words[v]=S&67108863;return this.negative=1,this._strip()},a.prototype._wordDiv=function(n,c){var l=this.length-n.length,p=this.clone(),v=n,S=v.words[v.length-1]|0,_=this._countBits(S);l=26-_,l!==0&&(v=v.ushln(l),p.iushln(l),S=v.words[v.length-1]|0);var d=p.length-v.length,f;if(c!=="mod"){f=new a(null),f.length=d+1,f.words=new Array(f.length);for(var h=0;h=0;o--){var A=(p.words[v.length+o]|0)*67108864+(p.words[v.length+o-1]|0);for(A=Math.min(A/S|0,67108863),p._ishlnsubmul(v,A,o);p.negative!==0;)A--,p.negative=0,p._ishlnsubmul(v,1,o),p.isZero()||(p.negative^=1);f&&(f.words[o]=A)}return f&&f._strip(),p._strip(),c!=="div"&&l!==0&&p.iushrn(l),{div:f||null,mod:p}},a.prototype.divmod=function(n,c,l){if(i(!n.isZero()),this.isZero())return{div:new a(0),mod:new a(0)};var p,v,S;return this.negative!==0&&n.negative===0?(S=this.neg().divmod(n,c),c!=="mod"&&(p=S.div.neg()),c!=="div"&&(v=S.mod.neg(),l&&v.negative!==0&&v.iadd(n)),{div:p,mod:v}):this.negative===0&&n.negative!==0?(S=this.divmod(n.neg(),c),c!=="mod"&&(p=S.div.neg()),{div:p,mod:S.mod}):this.negative&n.negative?(S=this.neg().divmod(n.neg(),c),c!=="div"&&(v=S.mod.neg(),l&&v.negative!==0&&v.isub(n)),{div:S.div,mod:v}):n.length>this.length||this.cmp(n)<0?{div:new a(0),mod:this}:n.length===1?c==="div"?{div:this.divn(n.words[0]),mod:null}:c==="mod"?{div:null,mod:new a(this.modrn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new a(this.modrn(n.words[0]))}:this._wordDiv(n,c)},a.prototype.div=function(n){return this.divmod(n,"div",!1).div},a.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},a.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},a.prototype.divRound=function(n){var c=this.divmod(n);if(c.mod.isZero())return c.div;var l=c.div.negative!==0?c.mod.isub(n):c.mod,p=n.ushrn(1),v=n.andln(1),S=l.cmp(p);return S<0||v===1&&S===0?c.div:c.div.negative!==0?c.div.isubn(1):c.div.iaddn(1)},a.prototype.modrn=function(n){var c=n<0;c&&(n=-n),i(n<=67108863);for(var l=(1<<26)%n,p=0,v=this.length-1;v>=0;v--)p=(l*p+(this.words[v]|0))%n;return c?-p:p},a.prototype.modn=function(n){return this.modrn(n)},a.prototype.idivn=function(n){var c=n<0;c&&(n=-n),i(n<=67108863);for(var l=0,p=this.length-1;p>=0;p--){var v=(this.words[p]|0)+l*67108864;this.words[p]=v/n|0,l=v%n}return this._strip(),c?this.ineg():this},a.prototype.divn=function(n){return this.clone().idivn(n)},a.prototype.egcd=function(n){i(n.negative===0),i(!n.isZero());var c=this,l=n.clone();c.negative!==0?c=c.umod(n):c=c.clone();for(var p=new a(1),v=new a(0),S=new a(0),_=new a(1),d=0;c.isEven()&&l.isEven();)c.iushrn(1),l.iushrn(1),++d;for(var f=l.clone(),h=c.clone();!c.isZero();){for(var C=0,o=1;!(c.words[0]&o)&&C<26;++C,o<<=1);if(C>0)for(c.iushrn(C);C-- >0;)(p.isOdd()||v.isOdd())&&(p.iadd(f),v.isub(h)),p.iushrn(1),v.iushrn(1);for(var A=0,I=1;!(l.words[0]&I)&&A<26;++A,I<<=1);if(A>0)for(l.iushrn(A);A-- >0;)(S.isOdd()||_.isOdd())&&(S.iadd(f),_.isub(h)),S.iushrn(1),_.iushrn(1);c.cmp(l)>=0?(c.isub(l),p.isub(S),v.isub(_)):(l.isub(c),S.isub(p),_.isub(v))}return{a:S,b:_,gcd:l.iushln(d)}},a.prototype._invmp=function(n){i(n.negative===0),i(!n.isZero());var c=this,l=n.clone();c.negative!==0?c=c.umod(n):c=c.clone();for(var p=new a(1),v=new a(0),S=l.clone();c.cmpn(1)>0&&l.cmpn(1)>0;){for(var _=0,d=1;!(c.words[0]&d)&&_<26;++_,d<<=1);if(_>0)for(c.iushrn(_);_-- >0;)p.isOdd()&&p.iadd(S),p.iushrn(1);for(var f=0,h=1;!(l.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(l.iushrn(f);f-- >0;)v.isOdd()&&v.iadd(S),v.iushrn(1);c.cmp(l)>=0?(c.isub(l),p.isub(v)):(l.isub(c),v.isub(p))}var C;return c.cmpn(1)===0?C=p:C=v,C.cmpn(0)<0&&C.iadd(n),C},a.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),l=n.clone();c.negative=0,l.negative=0;for(var p=0;c.isEven()&&l.isEven();p++)c.iushrn(1),l.iushrn(1);do{for(;c.isEven();)c.iushrn(1);for(;l.isEven();)l.iushrn(1);var v=c.cmp(l);if(v<0){var S=c;c=l,l=S}else if(v===0||l.cmpn(1)===0)break;c.isub(l)}while(!0);return l.iushln(p)},a.prototype.invm=function(n){return this.egcd(n).a.umod(n)},a.prototype.isEven=function(){return(this.words[0]&1)===0},a.prototype.isOdd=function(){return(this.words[0]&1)===1},a.prototype.andln=function(n){return this.words[0]&n},a.prototype.bincn=function(n){i(typeof n=="number");var c=n%26,l=(n-c)/26,p=1<>>26,_&=67108863,this.words[S]=_}return v!==0&&(this.words[S]=v,this.length++),this},a.prototype.isZero=function(){return this.length===1&&this.words[0]===0},a.prototype.cmpn=function(n){var c=n<0;if(this.negative!==0&&!c)return-1;if(this.negative===0&&c)return 1;this._strip();var l;if(this.length>1)l=1;else{c&&(n=-n),i(n<=67108863,"Number is too big");var p=this.words[0]|0;l=p===n?0:pn.length)return 1;if(this.length=0;l--){var p=this.words[l]|0,v=n.words[l]|0;if(p!==v){pv&&(c=1);break}}return c},a.prototype.gtn=function(n){return this.cmpn(n)===1},a.prototype.gt=function(n){return this.cmp(n)===1},a.prototype.gten=function(n){return this.cmpn(n)>=0},a.prototype.gte=function(n){return this.cmp(n)>=0},a.prototype.ltn=function(n){return this.cmpn(n)===-1},a.prototype.lt=function(n){return this.cmp(n)===-1},a.prototype.lten=function(n){return this.cmpn(n)<=0},a.prototype.lte=function(n){return this.cmp(n)<=0},a.prototype.eqn=function(n){return this.cmpn(n)===0},a.prototype.eq=function(n){return this.cmp(n)===0},a.red=function(n){return new H(n)},a.prototype.toRed=function(n){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),n.convertTo(this)._forceRed(n)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(n){return this.red=n,this},a.prototype.forceRed=function(n){return i(!this.red,"Already a number in reduction context"),this._forceRed(n)},a.prototype.redAdd=function(n){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},a.prototype.redIAdd=function(n){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},a.prototype.redSub=function(n){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},a.prototype.redISub=function(n){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},a.prototype.redShl=function(n){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},a.prototype.redMul=function(n){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},a.prototype.redIMul=function(n){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(n){return i(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var T={k256:null,p224:null,p192:null,p25519:null};function G(m,n){this.name=m,this.p=new a(n,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}G.prototype._tmp=function(){var n=new a(null);return n.words=new Array(Math.ceil(this.n/13)),n},G.prototype.ireduce=function(n){var c=n,l;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),l=c.bitLength();while(l>this.n);var p=l0?c.isub(this.p):c.strip!==void 0?c.strip():c._strip(),c},G.prototype.split=function(n,c){n.iushrn(this.n,0,c)},G.prototype.imulK=function(n){return n.imul(this.k)};function j(){G.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}s(j,G),j.prototype.split=function(n,c){for(var l=4194303,p=Math.min(n.length,9),v=0;v>>22,S=_}S>>>=22,n.words[v-10]=S,S===0&&n.length>10?n.length-=10:n.length-=9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,l=0;l>>=26,n.words[l]=v,c=p}return c!==0&&(n.words[n.length++]=c),n},a._prime=function(n){if(T[n])return T[n];var c;if(n==="k256")c=new j;else if(n==="p224")c=new W;else if(n==="p192")c=new te;else if(n==="p25519")c=new re;else throw new Error("Unknown prime "+n);return T[n]=c,c};function H(m){if(typeof m=="string"){var n=a._prime(m);this.m=n.p,this.prime=n}else i(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}H.prototype._verify1=function(n){i(n.negative===0,"red works only with positives"),i(n.red,"red works only with red numbers")},H.prototype._verify2=function(n,c){i((n.negative|c.negative)===0,"red works only with positives"),i(n.red&&n.red===c.red,"red works only with red numbers")},H.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):(y(n,n.umod(this.m)._forceRed(this)),n)},H.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},H.prototype.add=function(n,c){this._verify2(n,c);var l=n.add(c);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},H.prototype.iadd=function(n,c){this._verify2(n,c);var l=n.iadd(c);return l.cmp(this.m)>=0&&l.isub(this.m),l},H.prototype.sub=function(n,c){this._verify2(n,c);var l=n.sub(c);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},H.prototype.isub=function(n,c){this._verify2(n,c);var l=n.isub(c);return l.cmpn(0)<0&&l.iadd(this.m),l},H.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},H.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},H.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},H.prototype.isqr=function(n){return this.imul(n,n.clone())},H.prototype.sqr=function(n){return this.mul(n,n)},H.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(i(c%2===1),c===3){var l=this.m.add(new a(1)).iushrn(2);return this.pow(n,l)}for(var p=this.m.subn(1),v=0;!p.isZero()&&p.andln(1)===0;)v++,p.iushrn(1);i(!p.isZero());var S=new a(1).toRed(this),_=S.redNeg(),d=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new a(2*f*f).toRed(this);this.pow(f,d).cmp(_)!==0;)f.redIAdd(_);for(var h=this.pow(f,p),C=this.pow(n,p.addn(1).iushrn(1)),o=this.pow(n,p),A=v;o.cmp(S)!==0;){for(var I=o,E=0;I.cmp(S)!==0;E++)I=I.redSqr();i(E=0;v--){for(var h=c.words[v],C=f-1;C>=0;C--){var o=h>>C&1;if(S!==p[0]&&(S=this.sqr(S)),o===0&&_===0){d=0;continue}_<<=1,_|=o,d++,!(d!==l&&(v!==0||C!==0))&&(S=this.mul(S,p[_]),d=0,_=0)}f=26}return S},H.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},H.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},a.mont=function(n){return new ne(n)};function ne(m){H.call(this,m),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}s(ne,H),ne.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},ne.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},ne.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var l=n.imul(c),p=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=l.isub(p).iushrn(this.shift),S=v;return v.cmp(this.m)>=0?S=v.isub(this.m):v.cmpn(0)<0&&(S=v.iadd(this.m)),S._forceRed(this)},ne.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new a(0)._forceRed(this);var l=n.mul(c),p=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=l.isub(p).iushrn(this.shift),S=v;return v.cmp(this.m)>=0?S=v.isub(this.m):v.cmpn(0)<0&&(S=v.iadd(this.m)),S._forceRed(this)},ne.prototype.invm=function(n){var c=this.imod(n._invmp(this.m).mul(this.r2));return c._forceRed(this)}})(r,Di)})(z0);var qn=z0.exports;const Z=Rr(qn),Un="logger/5.7.0";let ri=!1,ii=!1;const Lr={debug:1,default:2,info:2,warning:3,error:4,off:5};let ni=Lr.default,g0=null;function zn(){try{const r=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{r.push(e)}}),r.length)throw new Error("missing "+r.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(r){return r.message}return null}const ai=zn();var k0;(function(r){r.DEBUG="DEBUG",r.INFO="INFO",r.WARNING="WARNING",r.ERROR="ERROR",r.OFF="OFF"})(k0||(k0={}));var ot;(function(r){r.UNKNOWN_ERROR="UNKNOWN_ERROR",r.NOT_IMPLEMENTED="NOT_IMPLEMENTED",r.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",r.NETWORK_ERROR="NETWORK_ERROR",r.SERVER_ERROR="SERVER_ERROR",r.TIMEOUT="TIMEOUT",r.BUFFER_OVERRUN="BUFFER_OVERRUN",r.NUMERIC_FAULT="NUMERIC_FAULT",r.MISSING_NEW="MISSING_NEW",r.INVALID_ARGUMENT="INVALID_ARGUMENT",r.MISSING_ARGUMENT="MISSING_ARGUMENT",r.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",r.CALL_EXCEPTION="CALL_EXCEPTION",r.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",r.NONCE_EXPIRED="NONCE_EXPIRED",r.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",r.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",r.TRANSACTION_REPLACED="TRANSACTION_REPLACED",r.ACTION_REJECTED="ACTION_REJECTED"})(ot||(ot={}));const fi="0123456789abcdef";class ${constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){const i=e.toLowerCase();Lr[i]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(ni>Lr[i])&&console.log.apply(console,t)}debug(...e){this._log($.levels.DEBUG,e)}info(...e){this._log($.levels.INFO,e)}warn(...e){this._log($.levels.WARNING,e)}makeError(e,t,i){if(ii)return this.makeError("censored error",t,{});t||(t=$.errors.UNKNOWN_ERROR),i||(i={});const s=[];Object.keys(i).forEach(b=>{const g=i[b];try{if(g instanceof Uint8Array){let y="";for(let w=0;w>4],y+=fi[g[w]&15];s.push(b+"=Uint8Array(0x"+y+")")}else s.push(b+"="+JSON.stringify(g))}catch{s.push(b+"="+JSON.stringify(i[b].toString()))}}),s.push(`code=${t}`),s.push(`version=${this.version}`);const a=e;let x="";switch(t){case ot.NUMERIC_FAULT:{x="NUMERIC_FAULT";const b=e;switch(b){case"overflow":case"underflow":case"division-by-zero":x+="-"+b;break;case"negative-power":case"negative-width":x+="-unsupported";break;case"unbound-bitwise-result":x+="-unbound-result";break}break}case ot.CALL_EXCEPTION:case ot.INSUFFICIENT_FUNDS:case ot.MISSING_NEW:case ot.NONCE_EXPIRED:case ot.REPLACEMENT_UNDERPRICED:case ot.TRANSACTION_REPLACED:case ot.UNPREDICTABLE_GAS_LIMIT:x=t;break}x&&(e+=" [ See: https://links.ethers.org/v5-errors-"+x+" ]"),s.length&&(e+=" ("+s.join(", ")+")");const u=new Error(e);return u.reason=a,u.code=t,Object.keys(i).forEach(function(b){u[b]=i[b]}),u}throwError(e,t,i){throw this.makeError(e,t,i)}throwArgumentError(e,t,i){return this.throwError(e,$.errors.INVALID_ARGUMENT,{argument:t,value:i})}assert(e,t,i,s){e||this.throwError(t,i,s)}assertArgument(e,t,i,s){e||this.throwArgumentError(t,i,s)}checkNormalize(e){ai&&this.throwError("platform missing String.prototype.normalize",$.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:ai})}checkSafeUint53(e,t){typeof e=="number"&&(t==null&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,$.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,$.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,i){i?i=": "+i:i="",et&&this.throwError("too many arguments"+i,$.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){(e===Object||e==null)&&this.throwError("missing new",$.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",$.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",$.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return g0||(g0=new $(Un)),g0}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",$.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),ri){if(!e)return;this.globalLogger().throwError("error censorship permanent",$.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}ii=!!e,ri=!!t}static setLogLevel(e){const t=Lr[e.toLowerCase()];if(t==null){$.globalLogger().warn("invalid log level - "+e);return}ni=t}static from(e){return new $(e)}}$.errors=ot;$.levels=k0;const Gn="bytes/5.7.0",qe=new $(Gn);function Oi(r){return!!r.toHexString}function sr(r){return r.slice||(r.slice=function(){const e=Array.prototype.slice.call(arguments);return sr(new Uint8Array(Array.prototype.slice.apply(r,e)))}),r}function G0(r){return He(r)&&!(r.length%2)||Yr(r)}function si(r){return typeof r=="number"&&r==r&&r%1===0}function Yr(r){if(r==null)return!1;if(r.constructor===Uint8Array)return!0;if(typeof r=="string"||!si(r.length)||r.length<0)return!1;for(let e=0;e=256)return!1}return!0}function z(r,e){if(e||(e={}),typeof r=="number"){qe.checkSafeUint53(r,"invalid arrayify value");const t=[];for(;r;)t.unshift(r&255),r=parseInt(String(r/256));return t.length===0&&t.push(0),sr(new Uint8Array(t))}if(e.allowMissingPrefix&&typeof r=="string"&&r.substring(0,2)!=="0x"&&(r="0x"+r),Oi(r)&&(r=r.toHexString()),He(r)){let t=r.substring(2);t.length%2&&(e.hexPad==="left"?t="0"+t:e.hexPad==="right"?t+="0":qe.throwArgumentError("hex data is odd-length","value",r));const i=[];for(let s=0;sz(s)),t=e.reduce((s,a)=>s+a.length,0),i=new Uint8Array(t);return e.reduce((s,a)=>(i.set(a,s),s+a.length),0),sr(i)}function Rt(r){let e=z(r);if(e.length===0)return e;let t=0;for(;te&&qe.throwArgumentError("value out of range","value",arguments[0]);const t=new Uint8Array(e);return t.set(r,e-r.length),sr(t)}function He(r,e){return!(typeof r!="string"||!r.match(/^0x[0-9A-Fa-f]*$/)||e&&r.length!==2+2*e)}const m0="0123456789abcdef";function J(r,e){if(e||(e={}),typeof r=="number"){qe.checkSafeUint53(r,"invalid hexlify value");let t="";for(;r;)t=m0[r&15]+t,r=Math.floor(r/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if(typeof r=="bigint")return r=r.toString(16),r.length%2?"0x0"+r:"0x"+r;if(e.allowMissingPrefix&&typeof r=="string"&&r.substring(0,2)!=="0x"&&(r="0x"+r),Oi(r))return r.toHexString();if(He(r))return r.length%2&&(e.hexPad==="left"?r="0x0"+r.substring(2):e.hexPad==="right"?r+="0":qe.throwArgumentError("hex data is odd-length","value",r)),r.toLowerCase();if(Yr(r)){let t="0x";for(let i=0;i>4]+m0[s&15]}return t}return qe.throwArgumentError("invalid hexlify value","value",r)}function Li(r){if(typeof r!="string")r=J(r);else if(!He(r)||r.length%2)return null;return(r.length-2)/2}function _r(r,e,t){return typeof r!="string"?r=J(r):(!He(r)||r.length%2)&&qe.throwArgumentError("invalid hexData","value",r),e=2+2*e,t!=null?"0x"+r.substring(e,2+2*t):"0x"+r.substring(e)}function or(r){let e="0x";return r.forEach(t=>{e+=J(t).substring(2)}),e}function tt(r,e){for(typeof r!="string"?r=J(r):He(r)||qe.throwArgumentError("invalid hex string","value",r),r.length>2*e+2&&qe.throwArgumentError("value out of range","value",arguments[1]);r.length<2*e+2;)r="0x0"+r.substring(2);return r}function kr(r){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(G0(r)){let t=z(r);t.length===64?(e.v=27+(t[32]>>7),t[32]&=127,e.r=J(t.slice(0,32)),e.s=J(t.slice(32,64))):t.length===65?(e.r=J(t.slice(0,32)),e.s=J(t.slice(32,64)),e.v=t[64]):qe.throwArgumentError("invalid signature string","signature",r),e.v<27&&(e.v===0||e.v===1?e.v+=27:qe.throwArgumentError("signature invalid v byte","signature",r)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(t[32]|=128),e._vs=J(t.slice(32,64))}else{if(e.r=r.r,e.s=r.s,e.v=r.v,e.recoveryParam=r.recoveryParam,e._vs=r._vs,e._vs!=null){const s=Kn(z(e._vs),32);e._vs=J(s);const a=s[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=a:e.recoveryParam!==a&&qe.throwArgumentError("signature recoveryParam mismatch _vs","signature",r),s[0]&=127;const x=J(s);e.s==null?e.s=x:e.s!==x&&qe.throwArgumentError("signature v mismatch _vs","signature",r)}if(e.recoveryParam==null)e.v==null?qe.throwArgumentError("signature missing v and recoveryParam","signature",r):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{const s=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==s&&qe.throwArgumentError("signature recoveryParam mismatch v","signature",r)}e.r==null||!He(e.r)?qe.throwArgumentError("signature missing or invalid r","signature",r):e.r=tt(e.r,32),e.s==null||!He(e.s)?qe.throwArgumentError("signature missing or invalid s","signature",r):e.s=tt(e.s,32);const t=z(e.s);t[0]>=128&&qe.throwArgumentError("signature s out of range","signature",r),e.recoveryParam&&(t[0]|=128);const i=J(t);e._vs&&(He(e._vs)||qe.throwArgumentError("signature invalid _vs","signature",r),e._vs=tt(e._vs,32)),e._vs==null?e._vs=i:e._vs!==i&&qe.throwArgumentError("signature _vs mismatch v and s","signature",r)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function oi(r){return r=kr(r),J(kt([r.r,r.s,r.recoveryParam?"0x1c":"0x1b"]))}const $n="bignumber/5.7.0";var Gr=Z.BN;const wt=new $($n),v0={},ci=9007199254740991;let di=!1;class ae{constructor(e,t){e!==v0&&wt.throwError("cannot call constructor directly; use BigNumber.from",$.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return We(Q(this).fromTwos(e))}toTwos(e){return We(Q(this).toTwos(e))}abs(){return this._hex[0]==="-"?ae.from(this._hex.substring(1)):this}add(e){return We(Q(this).add(Q(e)))}sub(e){return We(Q(this).sub(Q(e)))}div(e){return ae.from(e).isZero()&&Qe("division-by-zero","div"),We(Q(this).div(Q(e)))}mul(e){return We(Q(this).mul(Q(e)))}mod(e){const t=Q(e);return t.isNeg()&&Qe("division-by-zero","mod"),We(Q(this).umod(t))}pow(e){const t=Q(e);return t.isNeg()&&Qe("negative-power","pow"),We(Q(this).pow(t))}and(e){const t=Q(e);return(this.isNegative()||t.isNeg())&&Qe("unbound-bitwise-result","and"),We(Q(this).and(t))}or(e){const t=Q(e);return(this.isNegative()||t.isNeg())&&Qe("unbound-bitwise-result","or"),We(Q(this).or(t))}xor(e){const t=Q(e);return(this.isNegative()||t.isNeg())&&Qe("unbound-bitwise-result","xor"),We(Q(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&Qe("negative-width","mask"),We(Q(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&Qe("negative-width","shl"),We(Q(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&Qe("negative-width","shr"),We(Q(this).shrn(e))}eq(e){return Q(this).eq(Q(e))}lt(e){return Q(this).lt(Q(e))}lte(e){return Q(this).lte(Q(e))}gt(e){return Q(this).gt(Q(e))}gte(e){return Q(this).gte(Q(e))}isNegative(){return this._hex[0]==="-"}isZero(){return Q(this).isZero()}toNumber(){try{return Q(this).toNumber()}catch{Qe("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return wt.throwError("this platform does not support BigInt",$.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?di||(di=!0,wt.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?wt.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",$.errors.UNEXPECTED_ARGUMENT,{}):wt.throwError("BigNumber.toString does not accept parameters",$.errors.UNEXPECTED_ARGUMENT,{})),Q(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof ae)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new ae(v0,Er(e)):e.match(/^-?[0-9]+$/)?new ae(v0,Er(new Gr(e))):wt.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&Qe("underflow","BigNumber.from",e),(e>=ci||e<=-ci)&&Qe("overflow","BigNumber.from",e),ae.from(String(e));const t=e;if(typeof t=="bigint")return ae.from(t.toString());if(Yr(t))return ae.from(J(t));if(t)if(t.toHexString){const i=t.toHexString();if(typeof i=="string")return ae.from(i)}else{let i=t._hex;if(i==null&&t.type==="BigNumber"&&(i=t.hex),typeof i=="string"&&(He(i)||i[0]==="-"&&He(i.substring(1))))return ae.from(i)}return wt.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}}function Er(r){if(typeof r!="string")return Er(r.toString(16));if(r[0]==="-")return r=r.substring(1),r[0]==="-"&&wt.throwArgumentError("invalid hex","value",r),r=Er(r),r==="0x00"?r:"-"+r;if(r.substring(0,2)!=="0x"&&(r="0x"+r),r==="0x")return"0x00";for(r.length%2&&(r="0x0"+r.substring(2));r.length>4&&r.substring(0,4)==="0x00";)r="0x"+r.substring(4);return r}function We(r){return ae.from(Er(r))}function Q(r){const e=ae.from(r).toHexString();return e[0]==="-"?new Gr("-"+e.substring(3),16):new Gr(e.substring(2),16)}function Qe(r,e,t){const i={fault:r,operation:e};return t!=null&&(i.value=t),wt.throwError(r,$.errors.NUMERIC_FAULT,i)}function Hn(r){return new Gr(r,36).toString(16)}const Wn="properties/5.7.0";var Jn=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function b(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,b)}g((i=i.apply(r,e||[])).next())})};const Kr=new $(Wn);function Y(r,e,t){Object.defineProperty(r,e,{enumerable:!0,value:t,writable:!1})}function fr(r){return Jn(this,void 0,void 0,function*(){const e=Object.keys(r).map(i=>{const s=r[i];return Promise.resolve(s).then(a=>({key:i,value:a}))});return(yield Promise.all(e)).reduce((i,s)=>(i[s.key]=s.value,i),{})})}function jn(r,e){(!r||typeof r!="object")&&Kr.throwArgumentError("invalid object","object",r),Object.keys(r).forEach(t=>{e[t]||Kr.throwArgumentError("invalid object key - "+t,"transaction:"+t,r)})}function N0(r){const e={};for(const t in r)e[t]=r[t];return e}const Xn={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function qi(r){if(r==null||Xn[typeof r])return!0;if(Array.isArray(r)||typeof r=="object"){if(!Object.isFrozen(r))return!1;const e=Object.keys(r);for(let t=0;t$r(e)));if(typeof r=="object"){const e={};for(const t in r){const i=r[t];i!==void 0&&Y(e,t,$r(i))}return e}return Kr.throwArgumentError(`Cannot deepCopy ${typeof r}`,"object",r)}function $r(r){return Zn(r)}class Ui{constructor(e){for(const t in e)this[t]=$r(e[t])}}var zi={exports:{}};/** * [js-sha3]{@link https://github.com/emn178/js-sha3} * * @version 0.8.0 * @author Chen, Yi-Cyuan [emn178@gmail.com] * @copyright Chen, Yi-Cyuan 2015-2018 * @license MIT - */(function(r){(function(){var e="input is invalid type",t="finalize already called",i=typeof window=="object",s=i?window:{};s.JS_SHA3_NO_WINDOW&&(i=!1);var a=!i&&typeof self=="object",x=!s.JS_SHA3_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;x?s=Di:a&&(s=self);var u=!s.JS_SHA3_NO_COMMON_JS&&!0&&r.exports,p=!s.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",g="0123456789abcdef".split(""),y=[31,7936,2031616,520093696],w=[4,1024,262144,67108864],F=[1,256,65536,16777216],k=[6,1536,393216,100663296],N=[0,8,16,24],P=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],M=[224,256,384,512],V=[128,256],L=["hex","buffer","arrayBuffer","array","digest"],U={128:168,256:136};(s.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"}),p&&(s.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(o){return typeof o=="object"&&o.buffer&&o.buffer.constructor===ArrayBuffer});for(var K=function(o,A,I){return function(E){return new f(o,A,o).update(E)[I]()}},T=function(o,A,I){return function(E,R){return new f(o,A,R).update(E)[I]()}},G=function(o,A,I){return function(E,R,O,B){return n["cshake"+o].update(E,R,O,B)[I]()}},j=function(o,A,I){return function(E,R,O,B){return n["kmac"+o].update(E,R,O,B)[I]()}},W=function(o,A,I,E){for(var R=0;R>5,this.byteCount=this.blockCount<<2,this.outputBlocks=I>>5,this.extraBytes=(I&31)>>3;for(var E=0;E<50;++E)this.s[E]=0}f.prototype.update=function(o){if(this.finalized)throw new Error(t);var A,I=typeof o;if(I!=="string"){if(I==="object"){if(o===null)throw new Error(e);if(p&&o.constructor===ArrayBuffer)o=new Uint8Array(o);else if(!Array.isArray(o)&&(!p||!ArrayBuffer.isView(o)))throw new Error(e)}else throw new Error(e);A=!0}for(var E=this.blocks,R=this.byteCount,O=o.length,B=this.blockCount,D=0,Oe=this.s,q,X;D>2]|=o[D]<>2]|=X<>2]|=(192|X>>6)<>2]|=(128|X&63)<=57344?(E[q>>2]|=(224|X>>12)<>2]|=(128|X>>6&63)<>2]|=(128|X&63)<>2]|=(240|X>>18)<>2]|=(128|X>>12&63)<>2]|=(128|X>>6&63)<>2]|=(128|X&63)<=R){for(this.start=q-R,this.block=E[B],q=0;q>8,I=o&255;I>0;)R.unshift(I),o=o>>8,I=o&255,++E;return A?R.push(E):R.unshift(E),this.update(R),R.length},f.prototype.encodeString=function(o){var A,I=typeof o;if(I!=="string"){if(I==="object"){if(o===null)throw new Error(e);if(p&&o.constructor===ArrayBuffer)o=new Uint8Array(o);else if(!Array.isArray(o)&&(!p||!ArrayBuffer.isView(o)))throw new Error(e)}else throw new Error(e);A=!0}var E=0,R=o.length;if(A)E=R;else for(var O=0;O=57344?E+=3:(B=65536+((B&1023)<<10|o.charCodeAt(++O)&1023),E+=4)}return E+=this.encode(E*8),this.update(o),E},f.prototype.bytepad=function(o,A){for(var I=this.encode(A),E=0;E>2]|=this.padding[A&3],this.lastByteIndex===this.byteCount)for(o[0]=o[I],A=1;A>4&15]+g[D&15]+g[D>>12&15]+g[D>>8&15]+g[D>>20&15]+g[D>>16&15]+g[D>>28&15]+g[D>>24&15];O%o===0&&(C(A),R=0)}return E&&(D=A[R],B+=g[D>>4&15]+g[D&15],E>1&&(B+=g[D>>12&15]+g[D>>8&15]),E>2&&(B+=g[D>>20&15]+g[D>>16&15])),B},f.prototype.arrayBuffer=function(){this.finalize();var o=this.blockCount,A=this.s,I=this.outputBlocks,E=this.extraBytes,R=0,O=0,B=this.outputBits>>3,D;E?D=new ArrayBuffer(I+1<<2):D=new ArrayBuffer(B);for(var Oe=new Uint32Array(D);O>8&255,B[D+2]=Oe>>16&255,B[D+3]=Oe>>24&255;O%o===0&&C(A)}return E&&(D=O<<2,Oe=A[R],B[D]=Oe&255,E>1&&(B[D+1]=Oe>>8&255),E>2&&(B[D+2]=Oe>>16&255)),B};function h(o,A,I){f.call(this,o,A,I)}h.prototype=new f,h.prototype.finalize=function(){return this.encode(this.outputBits,!0),f.prototype.finalize.call(this)};var C=function(o){var A,I,E,R,O,B,D,Oe,q,X,Bt,fe,se,Tt,oe,ce,Dt,de,xe,Ot,ue,le,Lt,he,be,qt,pe,ge,Ut,me,ve,zt,ye,we,Gt,Se,Me,Kt,Ae,Ce,$t,_e,Ee,Ht,Pe,Fe,Wt,Ie,Re,Jt,ke,Ne,jt,Ve,Be,Xt,Te,De,Ct,_t,Et,Pt,Ft;for(E=0;E<48;E+=2)R=o[0]^o[10]^o[20]^o[30]^o[40],O=o[1]^o[11]^o[21]^o[31]^o[41],B=o[2]^o[12]^o[22]^o[32]^o[42],D=o[3]^o[13]^o[23]^o[33]^o[43],Oe=o[4]^o[14]^o[24]^o[34]^o[44],q=o[5]^o[15]^o[25]^o[35]^o[45],X=o[6]^o[16]^o[26]^o[36]^o[46],Bt=o[7]^o[17]^o[27]^o[37]^o[47],fe=o[8]^o[18]^o[28]^o[38]^o[48],se=o[9]^o[19]^o[29]^o[39]^o[49],A=fe^(B<<1|D>>>31),I=se^(D<<1|B>>>31),o[0]^=A,o[1]^=I,o[10]^=A,o[11]^=I,o[20]^=A,o[21]^=I,o[30]^=A,o[31]^=I,o[40]^=A,o[41]^=I,A=R^(Oe<<1|q>>>31),I=O^(q<<1|Oe>>>31),o[2]^=A,o[3]^=I,o[12]^=A,o[13]^=I,o[22]^=A,o[23]^=I,o[32]^=A,o[33]^=I,o[42]^=A,o[43]^=I,A=B^(X<<1|Bt>>>31),I=D^(Bt<<1|X>>>31),o[4]^=A,o[5]^=I,o[14]^=A,o[15]^=I,o[24]^=A,o[25]^=I,o[34]^=A,o[35]^=I,o[44]^=A,o[45]^=I,A=Oe^(fe<<1|se>>>31),I=q^(se<<1|fe>>>31),o[6]^=A,o[7]^=I,o[16]^=A,o[17]^=I,o[26]^=A,o[27]^=I,o[36]^=A,o[37]^=I,o[46]^=A,o[47]^=I,A=X^(R<<1|O>>>31),I=Bt^(O<<1|R>>>31),o[8]^=A,o[9]^=I,o[18]^=A,o[19]^=I,o[28]^=A,o[29]^=I,o[38]^=A,o[39]^=I,o[48]^=A,o[49]^=I,Tt=o[0],oe=o[1],Fe=o[11]<<4|o[10]>>>28,Wt=o[10]<<4|o[11]>>>28,ge=o[20]<<3|o[21]>>>29,Ut=o[21]<<3|o[20]>>>29,_t=o[31]<<9|o[30]>>>23,Et=o[30]<<9|o[31]>>>23,_e=o[40]<<18|o[41]>>>14,Ee=o[41]<<18|o[40]>>>14,we=o[2]<<1|o[3]>>>31,Gt=o[3]<<1|o[2]>>>31,ce=o[13]<<12|o[12]>>>20,Dt=o[12]<<12|o[13]>>>20,Ie=o[22]<<10|o[23]>>>22,Re=o[23]<<10|o[22]>>>22,me=o[33]<<13|o[32]>>>19,ve=o[32]<<13|o[33]>>>19,Pt=o[42]<<2|o[43]>>>30,Ft=o[43]<<2|o[42]>>>30,Ve=o[5]<<30|o[4]>>>2,Be=o[4]<<30|o[5]>>>2,Se=o[14]<<6|o[15]>>>26,Me=o[15]<<6|o[14]>>>26,de=o[25]<<11|o[24]>>>21,xe=o[24]<<11|o[25]>>>21,Jt=o[34]<<15|o[35]>>>17,ke=o[35]<<15|o[34]>>>17,zt=o[45]<<29|o[44]>>>3,ye=o[44]<<29|o[45]>>>3,he=o[6]<<28|o[7]>>>4,be=o[7]<<28|o[6]>>>4,Xt=o[17]<<23|o[16]>>>9,Te=o[16]<<23|o[17]>>>9,Kt=o[26]<<25|o[27]>>>7,Ae=o[27]<<25|o[26]>>>7,Ot=o[36]<<21|o[37]>>>11,ue=o[37]<<21|o[36]>>>11,Ne=o[47]<<24|o[46]>>>8,jt=o[46]<<24|o[47]>>>8,Ht=o[8]<<27|o[9]>>>5,Pe=o[9]<<27|o[8]>>>5,qt=o[18]<<20|o[19]>>>12,pe=o[19]<<20|o[18]>>>12,De=o[29]<<7|o[28]>>>25,Ct=o[28]<<7|o[29]>>>25,Ce=o[38]<<8|o[39]>>>24,$t=o[39]<<8|o[38]>>>24,le=o[48]<<14|o[49]>>>18,Lt=o[49]<<14|o[48]>>>18,o[0]=Tt^~ce&de,o[1]=oe^~Dt&xe,o[10]=he^~qt&ge,o[11]=be^~pe&Ut,o[20]=we^~Se&Kt,o[21]=Gt^~Me&Ae,o[30]=Ht^~Fe&Ie,o[31]=Pe^~Wt&Re,o[40]=Ve^~Xt&De,o[41]=Be^~Te&Ct,o[2]=ce^~de&Ot,o[3]=Dt^~xe&ue,o[12]=qt^~ge&me,o[13]=pe^~Ut&ve,o[22]=Se^~Kt&Ce,o[23]=Me^~Ae&$t,o[32]=Fe^~Ie&Jt,o[33]=Wt^~Re&ke,o[42]=Xt^~De&_t,o[43]=Te^~Ct&Et,o[4]=de^~Ot&le,o[5]=xe^~ue&Lt,o[14]=ge^~me&zt,o[15]=Ut^~ve&ye,o[24]=Kt^~Ce&_e,o[25]=Ae^~$t&Ee,o[34]=Ie^~Jt&Ne,o[35]=Re^~ke&jt,o[44]=De^~_t&Pt,o[45]=Ct^~Et&Ft,o[6]=Ot^~le&Tt,o[7]=ue^~Lt&oe,o[16]=me^~zt&he,o[17]=ve^~ye&be,o[26]=Ce^~_e&we,o[27]=$t^~Ee&Gt,o[36]=Jt^~Ne&Ht,o[37]=ke^~jt&Pe,o[46]=_t^~Pt&Ve,o[47]=Et^~Ft&Be,o[8]=le^~Tt&ce,o[9]=Lt^~oe&Dt,o[18]=zt^~he&qt,o[19]=ye^~be&pe,o[28]=_e^~we&Se,o[29]=Ee^~Gt&Me,o[38]=Ne^~Ht&Fe,o[39]=jt^~Pe&Wt,o[48]=Pt^~Ve&Xt,o[49]=Ft^~Be&Te,o[0]^=P[E],o[1]^=P[E+1]};if(u)r.exports=n;else for(l=0;l>=8;return e}function Gi(r){if(Array.isArray(r)){let i=[];if(r.forEach(function(a){i=i.concat(Gi(a))}),i.length<=55)return i.unshift(192+i.length),i;const s=xi(i.length);return s.unshift(247+s.length),s.concat(i)}G0(r)||ta.throwArgumentError("RLP object must be BytesLike","object",r);const e=Array.prototype.slice.call(z(r));if(e.length===1&&e[0]<=127)return e;if(e.length<=55)return e.unshift(128+e.length),e;const t=xi(e.length);return t.unshift(183+t.length),t.concat(e)}function Hr(r){return J(Gi(r))}const ra="address/5.7.0",Mr=new $(ra);function ui(r){He(r,20)||Mr.throwArgumentError("invalid address","address",r),r=r.toLowerCase();const e=r.substring(2).split(""),t=new Uint8Array(40);for(let s=0;s<40;s++)t[s]=e[s].charCodeAt(0);const i=z($e(t));for(let s=0;s<40;s+=2)i[s>>1]>>4>=8&&(e[s]=e[s].toUpperCase()),(i[s>>1]&15)>=8&&(e[s+1]=e[s+1].toUpperCase());return"0x"+e.join("")}const ia=9007199254740991;function na(r){return Math.log10?Math.log10(r):Math.log(r)/Math.LN10}const K0={};for(let r=0;r<10;r++)K0[String(r)]=String(r);for(let r=0;r<26;r++)K0[String.fromCharCode(65+r)]=String(10+r);const li=Math.floor(na(ia));function aa(r){r=r.toUpperCase(),r=r.substring(4)+r.substring(0,2)+"00";let e=r.split("").map(i=>K0[i]).join("");for(;e.length>=li;){let i=e.substring(0,li);e=parseInt(i,10)%97+e.substring(i.length)}let t=String(98-parseInt(e,10)%97);for(;t.length<2;)t="0"+t;return t}function xt(r){let e=null;if(typeof r!="string"&&Mr.throwArgumentError("invalid address","address",r),r.match(/^(0x)?[0-9a-fA-F]{40}$/))r.substring(0,2)!=="0x"&&(r="0x"+r),e=ui(r),r.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==r&&Mr.throwArgumentError("bad address checksum","address",r);else if(r.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(r.substring(2,4)!==aa(r)&&Mr.throwArgumentError("bad icap checksum","address",r),e=Hn(r.substring(4));e.length<40;)e="0"+e;e=ui("0x"+e)}else Mr.throwArgumentError("invalid address","address",r);return e}const fa="strings/5.7.0",sa=new $(fa);var tr;(function(r){r.current="",r.NFC="NFC",r.NFD="NFD",r.NFKC="NFKC",r.NFKD="NFKD"})(tr||(tr={}));var hi;(function(r){r.UNEXPECTED_CONTINUE="unexpected continuation byte",r.BAD_PREFIX="bad codepoint prefix",r.OVERRUN="string overrun",r.MISSING_CONTINUE="missing continuation byte",r.OUT_OF_RANGE="out of UTF-8 range",r.UTF16_SURROGATE="UTF-16 surrogate",r.OVERLONG="overlong representation"})(hi||(hi={}));function St(r,e=tr.current){e!=tr.current&&(sa.checkNormalize(),r=r.normalize(e));let t=[];for(let i=0;i>6|192),t.push(s&63|128);else if((s&64512)==55296){i++;const a=r.charCodeAt(i);if(i>=r.length||(a&64512)!==56320)throw new Error("invalid utf-8 string");const x=65536+((s&1023)<<10)+(a&1023);t.push(x>>18|240),t.push(x>>12&63|128),t.push(x>>6&63|128),t.push(x&63|128)}else t.push(s>>12|224),t.push(s>>6&63|128),t.push(s&63|128)}return z(t)}function $0(r){return $e(St(r))}const oa="hash/5.7.0",ca=`Ethereum Signed Message: -`;function da(r){return typeof r=="string"&&(r=St(r)),$e(kt([St(ca),St(String(r.length)),r]))}var xa=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function p(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,p)}g((i=i.apply(r,e||[])).next())})};const Le=new $(oa),Ki=new Uint8Array(32);Ki.fill(0);const ua=ae.from(-1),$i=ae.from(0),Hi=ae.from(1),la=ae.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function ha(r){const e=z(r),t=e.length%32;return t?or([e,Ki.slice(t)]):J(e)}const ba=tt(Hi.toHexString(),32),pa=tt($i.toHexString(),32),bi={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},y0=["name","version","chainId","verifyingContract","salt"];function pi(r){return function(e){return typeof e!="string"&&Le.throwArgumentError(`invalid domain value for ${JSON.stringify(r)}`,`domain.${r}`,e),e}}const ga={name:pi("name"),version:pi("version"),chainId:function(r){try{return ae.from(r).toString()}catch{}return Le.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",r)},verifyingContract:function(r){try{return xt(r).toLowerCase()}catch{}return Le.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",r)},salt:function(r){try{const e=z(r);if(e.length!==32)throw new Error("bad length");return J(e)}catch{}return Le.throwArgumentError('invalid domain value "salt"',"domain.salt",r)}};function w0(r){{const e=r.match(/^(u?)int(\d*)$/);if(e){const t=e[1]==="",i=parseInt(e[2]||"256");(i%8!==0||i>256||e[2]&&e[2]!==String(i))&&Le.throwArgumentError("invalid numeric width","type",r);const s=la.mask(t?i-1:i),a=t?s.add(Hi).mul(ua):$i;return function(x){const u=ae.from(x);return(u.lt(a)||u.gt(s))&&Le.throwArgumentError(`value out-of-bounds for ${r}`,"value",x),tt(u.toTwos(256).toHexString(),32)}}}{const e=r.match(/^bytes(\d+)$/);if(e){const t=parseInt(e[1]);return(t===0||t>32||e[1]!==String(t))&&Le.throwArgumentError("invalid bytes width","type",r),function(i){return z(i).length!==t&&Le.throwArgumentError(`invalid length for ${r}`,"value",i),ha(i)}}}switch(r){case"address":return function(e){return tt(xt(e),32)};case"bool":return function(e){return e?ba:pa};case"bytes":return function(e){return $e(e)};case"string":return function(e){return $0(e)}}return null}function gi(r,e){return`${r}(${e.map(({name:t,type:i})=>i+" "+t).join(",")})`}class je{constructor(e){Y(this,"types",Object.freeze($r(e))),Y(this,"_encoderCache",{}),Y(this,"_types",{});const t={},i={},s={};Object.keys(e).forEach(u=>{t[u]={},i[u]=[],s[u]={}});for(const u in e){const p={};e[u].forEach(g=>{p[g.name]&&Le.throwArgumentError(`duplicate variable name ${JSON.stringify(g.name)} in ${JSON.stringify(u)}`,"types",e),p[g.name]=!0;const y=g.type.match(/^([^\x5b]*)(\x5b|$)/)[1];y===u&&Le.throwArgumentError(`circular type reference to ${JSON.stringify(y)}`,"types",e),!w0(y)&&(i[y]||Le.throwArgumentError(`unknown type ${JSON.stringify(y)}`,"types",e),i[y].push(u),t[u][y]=!0)})}const a=Object.keys(i).filter(u=>i[u].length===0);a.length===0?Le.throwArgumentError("missing primary type","types",e):a.length>1&&Le.throwArgumentError(`ambiguous primary types or unused types: ${a.map(u=>JSON.stringify(u)).join(", ")}`,"types",e),Y(this,"primaryType",a[0]);function x(u,p){p[u]&&Le.throwArgumentError(`circular type reference to ${JSON.stringify(u)}`,"types",e),p[u]=!0,Object.keys(t[u]).forEach(g=>{i[g]&&(x(g,p),Object.keys(p).forEach(y=>{s[y][g]=!0}))}),delete p[u]}x(this.primaryType,{});for(const u in s){const p=Object.keys(s[u]);p.sort(),this._types[u]=gi(u,e[u])+p.map(g=>gi(g,e[g])).join("")}}getEncoder(e){let t=this._encoderCache[e];return t||(t=this._encoderCache[e]=this._getEncoder(e)),t}_getEncoder(e){{const s=w0(e);if(s)return s}const t=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(t){const s=t[1],a=this.getEncoder(s),x=parseInt(t[3]);return u=>{x>=0&&u.length!==x&&Le.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",u);let p=u.map(a);return this._types[s]&&(p=p.map($e)),$e(or(p))}}const i=this.types[e];if(i){const s=$0(this._types[e]);return a=>{const x=i.map(({name:u,type:p})=>{const g=this.getEncoder(p)(a[u]);return this._types[p]?$e(g):g});return x.unshift(s),or(x)}}return Le.throwArgumentError(`unknown type: ${e}`,"type",e)}encodeType(e){const t=this._types[e];return t||Le.throwArgumentError(`unknown type: ${JSON.stringify(e)}`,"name",e),t}encodeData(e,t){return this.getEncoder(e)(t)}hashStruct(e,t){return $e(this.encodeData(e,t))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,t,i){if(w0(e))return i(e,t);const s=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(s){const x=s[1],u=parseInt(s[3]);return u>=0&&t.length!==u&&Le.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t),t.map(p=>this._visit(x,p,i))}const a=this.types[e];return a?a.reduce((x,{name:u,type:p})=>(x[u]=this._visit(p,t[u],i),x),{}):Le.throwArgumentError(`unknown type: ${e}`,"type",e)}visit(e,t){return this._visit(this.primaryType,e,t)}static from(e){return new je(e)}static getPrimaryType(e){return je.from(e).primaryType}static hashStruct(e,t,i){return je.from(t).hashStruct(e,i)}static hashDomain(e){const t=[];for(const i in e){const s=bi[i];s||Le.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(i)}`,"domain",e),t.push({name:i,type:s})}return t.sort((i,s)=>y0.indexOf(i.name)-y0.indexOf(s.name)),je.hashStruct("EIP712Domain",{EIP712Domain:t},e)}static encode(e,t,i){return or(["0x1901",je.hashDomain(e),je.from(t).hash(i)])}static hash(e,t,i){return $e(je.encode(e,t,i))}static resolveNames(e,t,i,s){return xa(this,void 0,void 0,function*(){e=N0(e);const a={};e.verifyingContract&&!He(e.verifyingContract,20)&&(a[e.verifyingContract]="0x");const x=je.from(t);x.visit(i,(u,p)=>(u==="address"&&!He(p,20)&&(a[p]="0x"),p));for(const u in a)a[u]=yield s(u);return e.verifyingContract&&a[e.verifyingContract]&&(e.verifyingContract=a[e.verifyingContract]),i=x.visit(i,(u,p)=>u==="address"&&a[p]?a[p]:p),{domain:e,value:i}})}static getPayload(e,t,i){je.hashDomain(e);const s={},a=[];y0.forEach(p=>{const g=e[p];g!=null&&(s[p]=ga[p](g),a.push({name:p,type:bi[p]}))});const x=je.from(t),u=N0(t);return u.EIP712Domain?Le.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",t):u.EIP712Domain=a,x.encode(i),{types:u,domain:s,primaryType:x.primaryType,message:x.visit(i,(p,g)=>{if(p.match(/^bytes(\d*)/))return J(z(g));if(p.match(/^u?int/))return ae.from(g).toString();switch(p){case"address":return g.toLowerCase();case"bool":return!!g;case"string":return typeof g!="string"&&Le.throwArgumentError("invalid string","value",g),g}return Le.throwArgumentError("unsupported type","type",p)})}}}const ma="abstract-provider/5.7.0";var va=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function p(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,p)}g((i=i.apply(r,e||[])).next())})};const ya=new $(ma);class H0{constructor(){ya.checkAbstract(new.target,H0),Y(this,"_isProvider",!0)}getFeeData(){return va(this,void 0,void 0,function*(){const{block:e,gasPrice:t}=yield fr({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch(x=>null)});let i=null,s=null,a=null;return e&&e.baseFeePerGas&&(i=e.baseFeePerGas,a=ae.from("1500000000"),s=e.baseFeePerGas.mul(2).add(a)),{lastBaseFeePerGas:i,maxFeePerGas:s,maxPriorityFeePerGas:a,gasPrice:t}})}addListener(e,t){return this.on(e,t)}removeListener(e,t){return this.off(e,t)}static isProvider(e){return!!(e&&e._isProvider)}}const wa="abstract-signer/5.7.0";var at=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function p(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,p)}g((i=i.apply(r,e||[])).next())})};const ft=new $(wa),Sa=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],Ma=[$.errors.INSUFFICIENT_FUNDS,$.errors.NONCE_EXPIRED,$.errors.REPLACEMENT_UNDERPRICED];class W0{constructor(){ft.checkAbstract(new.target,W0),Y(this,"_isSigner",!0)}getBalance(e){return at(this,void 0,void 0,function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),e)})}getTransactionCount(e){return at(this,void 0,void 0,function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),e)})}estimateGas(e){return at(this,void 0,void 0,function*(){this._checkProvider("estimateGas");const t=yield fr(this.checkTransaction(e));return yield this.provider.estimateGas(t)})}call(e,t){return at(this,void 0,void 0,function*(){this._checkProvider("call");const i=yield fr(this.checkTransaction(e));return yield this.provider.call(i,t)})}sendTransaction(e){return at(this,void 0,void 0,function*(){this._checkProvider("sendTransaction");const t=yield this.populateTransaction(e),i=yield this.signTransaction(t);return yield this.provider.sendTransaction(i)})}getChainId(){return at(this,void 0,void 0,function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId})}getGasPrice(){return at(this,void 0,void 0,function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()})}getFeeData(){return at(this,void 0,void 0,function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()})}resolveName(e){return at(this,void 0,void 0,function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(e)})}checkTransaction(e){for(const i in e)Sa.indexOf(i)===-1&&ft.throwArgumentError("invalid transaction key: "+i,"transaction",e);const t=N0(e);return t.from==null?t.from=this.getAddress():t.from=Promise.all([Promise.resolve(t.from),this.getAddress()]).then(i=>(i[0].toLowerCase()!==i[1].toLowerCase()&&ft.throwArgumentError("from address mismatch","transaction",e),i[0])),t}populateTransaction(e){return at(this,void 0,void 0,function*(){const t=yield fr(this.checkTransaction(e));t.to!=null&&(t.to=Promise.resolve(t.to).then(s=>at(this,void 0,void 0,function*(){if(s==null)return null;const a=yield this.resolveName(s);return a==null&&ft.throwArgumentError("provided ENS name resolves to null","tx.to",s),a})),t.to.catch(s=>{}));const i=t.maxFeePerGas!=null||t.maxPriorityFeePerGas!=null;if(t.gasPrice!=null&&(t.type===2||i)?ft.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e):(t.type===0||t.type===1)&&i&&ft.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e),(t.type===2||t.type==null)&&t.maxFeePerGas!=null&&t.maxPriorityFeePerGas!=null)t.type=2;else if(t.type===0||t.type===1)t.gasPrice==null&&(t.gasPrice=this.getGasPrice());else{const s=yield this.getFeeData();if(t.type==null)if(s.maxFeePerGas!=null&&s.maxPriorityFeePerGas!=null)if(t.type=2,t.gasPrice!=null){const a=t.gasPrice;delete t.gasPrice,t.maxFeePerGas=a,t.maxPriorityFeePerGas=a}else t.maxFeePerGas==null&&(t.maxFeePerGas=s.maxFeePerGas),t.maxPriorityFeePerGas==null&&(t.maxPriorityFeePerGas=s.maxPriorityFeePerGas);else s.gasPrice!=null?(i&&ft.throwError("network does not support EIP-1559",$.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),t.gasPrice==null&&(t.gasPrice=s.gasPrice),t.type=0):ft.throwError("failed to get consistent fee data",$.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else t.type===2&&(t.maxFeePerGas==null&&(t.maxFeePerGas=s.maxFeePerGas),t.maxPriorityFeePerGas==null&&(t.maxPriorityFeePerGas=s.maxPriorityFeePerGas))}return t.nonce==null&&(t.nonce=this.getTransactionCount("pending")),t.gasLimit==null&&(t.gasLimit=this.estimateGas(t).catch(s=>{if(Ma.indexOf(s.code)>=0)throw s;return ft.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",$.errors.UNPREDICTABLE_GAS_LIMIT,{error:s,tx:t})})),t.chainId==null?t.chainId=this.getChainId():t.chainId=Promise.all([Promise.resolve(t.chainId),this.getChainId()]).then(s=>(s[1]!==0&&s[0]!==s[1]&&ft.throwArgumentError("chainId address mismatch","transaction",e),s[0])),yield fr(t)})}_checkProvider(e){this.provider||ft.throwError("missing provider",$.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}static isSigner(e){return!!(e&&e._isSigner)}}var Wi={},ee={},Nr=Ji;function Ji(r,e){if(!r)throw new Error(e||"Assertion failed")}Ji.equal=function(e,t,i){if(e!=t)throw new Error(i||"Assertion failed: "+e+" != "+t)};var V0={exports:{}};typeof Object.create=="function"?V0.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:V0.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}};var Aa=V0.exports,Ca=Nr,_a=Aa;ee.inherits=_a;function Ea(r,e){return(r.charCodeAt(e)&64512)!==55296||e<0||e+1>=r.length?!1:(r.charCodeAt(e+1)&64512)===56320}function Pa(r,e){if(Array.isArray(r))return r.slice();if(!r)return[];var t=[];if(typeof r=="string")if(e){if(e==="hex")for(r=r.replace(/[^a-z0-9]+/ig,""),r.length%2!==0&&(r="0"+r),s=0;s>6|192,t[i++]=a&63|128):Ea(r,s)?(a=65536+((a&1023)<<10)+(r.charCodeAt(++s)&1023),t[i++]=a>>18|240,t[i++]=a>>12&63|128,t[i++]=a>>6&63|128,t[i++]=a&63|128):(t[i++]=a>>12|224,t[i++]=a>>6&63|128,t[i++]=a&63|128)}else for(s=0;s>>24|r>>>8&65280|r<<8&16711680|(r&255)<<24;return e>>>0}ee.htonl=ji;function Ia(r,e){for(var t="",i=0;i>>0}return a}ee.join32=Ra;function ka(r,e){for(var t=new Array(r.length*4),i=0,s=0;i>>24,t[s+1]=a>>>16&255,t[s+2]=a>>>8&255,t[s+3]=a&255):(t[s+3]=a>>>24,t[s+2]=a>>>16&255,t[s+1]=a>>>8&255,t[s]=a&255)}return t}ee.split32=ka;function Na(r,e){return r>>>e|r<<32-e}ee.rotr32=Na;function Va(r,e){return r<>>32-e}ee.rotl32=Va;function Ba(r,e){return r+e>>>0}ee.sum32=Ba;function Ta(r,e,t){return r+e+t>>>0}ee.sum32_3=Ta;function Da(r,e,t,i){return r+e+t+i>>>0}ee.sum32_4=Da;function Oa(r,e,t,i,s){return r+e+t+i+s>>>0}ee.sum32_5=Oa;function La(r,e,t,i){var s=r[e],a=r[e+1],x=i+a>>>0,u=(x>>0,r[e+1]=x}ee.sum64=La;function qa(r,e,t,i){var s=e+i>>>0,a=(s>>0}ee.sum64_hi=qa;function Ua(r,e,t,i){var s=e+i;return s>>>0}ee.sum64_lo=Ua;function za(r,e,t,i,s,a,x,u){var p=0,g=e;g=g+i>>>0,p+=g>>0,p+=g>>0,p+=g>>0}ee.sum64_4_hi=za;function Ga(r,e,t,i,s,a,x,u){var p=e+i+a+u;return p>>>0}ee.sum64_4_lo=Ga;function Ka(r,e,t,i,s,a,x,u,p,g){var y=0,w=e;w=w+i>>>0,y+=w>>0,y+=w>>0,y+=w>>0,y+=w>>0}ee.sum64_5_hi=Ka;function $a(r,e,t,i,s,a,x,u,p,g){var y=e+i+a+u+g;return y>>>0}ee.sum64_5_lo=$a;function Ha(r,e,t){var i=e<<32-t|r>>>t;return i>>>0}ee.rotr64_hi=Ha;function Wa(r,e,t){var i=r<<32-t|e>>>t;return i>>>0}ee.rotr64_lo=Wa;function Ja(r,e,t){return r>>>t}ee.shr64_hi=Ja;function ja(r,e,t){var i=r<<32-t|e>>>t;return i>>>0}ee.shr64_lo=ja;var br={},mi=ee,Xa=Nr;function Qr(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}br.BlockHash=Qr;Qr.prototype.update=function(e,t){if(e=mi.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var i=e.length%this._delta8;this.pending=e.slice(e.length-i,e.length),this.pending.length===0&&(this.pending=null),e=mi.join32(e,0,e.length-i,this.endian);for(var s=0;s>>24&255,s[a++]=e>>>16&255,s[a++]=e>>>8&255,s[a++]=e&255}else for(s[a++]=e&255,s[a++]=e>>>8&255,s[a++]=e>>>16&255,s[a++]=e>>>24&255,s[a++]=0,s[a++]=0,s[a++]=0,s[a++]=0,x=8;x>>3}yt.g0_256=tf;function rf(r){return ht(r,17)^ht(r,19)^r>>>10}yt.g1_256=rf;var ur=ee,nf=br,af=yt,S0=ur.rotl32,vr=ur.sum32,ff=ur.sum32_5,sf=af.ft_1,tn=nf.BlockHash,of=[1518500249,1859775393,2400959708,3395469782];function gt(){if(!(this instanceof gt))return new gt;tn.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}ur.inherits(gt,tn);var cf=gt;gt.blockSize=512;gt.outSize=160;gt.hmacStrength=80;gt.padLength=64;gt.prototype._update=function(e,t){for(var i=this.W,s=0;s<16;s++)i[s]=e[t+s];for(;sthis.blockSize&&(e=new this.Hash().update(e).digest()),Xf(e.length<=this.blockSize);for(var t=e.length;t>8,F=y&255;w?p.push(w,F):p.push(F)}return p}t.toArray=i;function s(x){return x.length===1?"0"+x:x}t.zero2=s;function a(x){for(var u="",p=0;p(F>>1)-1?P=(F>>1)-M:P=M,k.isubn(P)):P=0,w[N]=P,k.iushrn(1)}return w}t.getNAF=i;function s(p,g){var y=[[],[]];p=p.clone(),g=g.clone();for(var w=0,F=0,k;p.cmpn(-w)>0||g.cmpn(-F)>0;){var N=p.andln(3)+w&3,P=g.andln(3)+F&3;N===3&&(N=-1),P===3&&(P=-1);var M;N&1?(k=p.andln(7)+w&7,(k===3||k===5)&&P===2?M=-N:M=N):M=0,y[0].push(M);var V;P&1?(k=g.andln(7)+F&7,(k===3||k===5)&&N===2?V=-P:V=P):V=0,y[1].push(V),2*w===M+1&&(w=1-w),2*F===V+1&&(F=1-F),p.iushrn(1),g.iushrn(1)}return y}t.getJSF=s;function a(p,g,y){var w="_"+g;p.prototype[g]=function(){return this[w]!==void 0?this[w]:this[w]=y.call(this)}}t.cachedProperty=a;function x(p){return typeof p=="string"?t.toArray(p,"hex"):p}t.parseBytes=x;function u(p){return new Z(p,"hex","le")}t.intFromLE=u}),Wr=Ye.getNAF,Qf=Ye.getJSF,Jr=Ye.assert;function Vt(r,e){this.type=r,this.p=new Z(e.p,16),this.red=e.prime?Z.red(e.prime):Z.mont(this.p),this.zero=new Z(0).toRed(this.red),this.one=new Z(1).toRed(this.red),this.two=new Z(2).toRed(this.red),this.n=e.n&&new Z(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var t=this.n&&this.p.div(this.n);!t||t.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var ir=Vt;Vt.prototype.point=function(){throw new Error("Not implemented")};Vt.prototype.validate=function(){throw new Error("Not implemented")};Vt.prototype._fixedNafMul=function(e,t){Jr(e.precomputed);var i=e._getDoubles(),s=Wr(t,1,this._bitLength),a=(1<=u;g--)p=(p<<1)+s[g];x.push(p)}for(var y=this.jpoint(null,null,null),w=this.jpoint(null,null,null),F=a;F>0;F--){for(u=0;u=0;p--){for(var g=0;p>=0&&x[p]===0;p--)g++;if(p>=0&&g++,u=u.dblp(g),p<0)break;var y=x[p];Jr(y!==0),e.type==="affine"?y>0?u=u.mixedAdd(a[y-1>>1]):u=u.mixedAdd(a[-y-1>>1].neg()):y>0?u=u.add(a[y-1>>1]):u=u.add(a[-y-1>>1].neg())}return e.type==="affine"?u.toP():u};Vt.prototype._wnafMulAdd=function(e,t,i,s,a){var x=this._wnafT1,u=this._wnafT2,p=this._wnafT3,g=0,y,w,F;for(y=0;y=1;y-=2){var N=y-1,P=y;if(x[N]!==1||x[P]!==1){p[N]=Wr(i[N],x[N],this._bitLength),p[P]=Wr(i[P],x[P],this._bitLength),g=Math.max(p[N].length,g),g=Math.max(p[P].length,g);continue}var M=[t[N],null,null,t[P]];t[N].y.cmp(t[P].y)===0?(M[1]=t[N].add(t[P]),M[2]=t[N].toJ().mixedAdd(t[P].neg())):t[N].y.cmp(t[P].y.redNeg())===0?(M[1]=t[N].toJ().mixedAdd(t[P]),M[2]=t[N].add(t[P].neg())):(M[1]=t[N].toJ().mixedAdd(t[P]),M[2]=t[N].toJ().mixedAdd(t[P].neg()));var V=[-3,-1,-5,-7,0,7,5,1,3],L=Qf(i[N],i[P]);for(g=Math.max(L[0].length,g),p[N]=new Array(g),p[P]=new Array(g),w=0;w=0;y--){for(var j=0;y>=0;){var W=!0;for(w=0;w=0&&j++,T=T.dblp(j),y<0)break;for(w=0;w0?F=u[w][te-1>>1]:te<0&&(F=u[w][-te-1>>1].neg()),F.type==="affine"?T=T.mixedAdd(F):T=T.add(F))}}for(y=0;y=Math.ceil((e.bitLength()+1)/t.step):!1};it.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],s=this,a=0;a=0&&(k=g,N=y),w.negative&&(w=w.neg(),F=F.neg()),k.negative&&(k=k.neg(),N=N.neg()),[{a:w,b:F},{a:k,b:N}]};nt.prototype._endoSplit=function(e){var t=this.endo.basis,i=t[0],s=t[1],a=s.b.mul(e).divRound(this.n),x=i.b.neg().mul(e).divRound(this.n),u=a.mul(i.a),p=x.mul(s.a),g=a.mul(i.b),y=x.mul(s.b),w=e.sub(u).sub(p),F=g.add(y).neg();return{k1:w,k2:F}};nt.prototype.pointFromX=function(e,t){e=new Z(e,16),e.red||(e=e.toRed(this.red));var i=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var a=s.fromRed().isOdd();return(t&&!a||!t&&a)&&(s=s.redNeg()),this.point(e,s)};nt.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,i=e.y,s=this.a.redMul(t),a=t.redSqr().redMul(t).redIAdd(s).redIAdd(this.b);return i.redSqr().redISub(a).cmpn(0)===0};nt.prototype._endoWnafMulAdd=function(e,t,i){for(var s=this._endoWnafT1,a=this._endoWnafT2,x=0;x":""};ze.prototype.isInfinity=function(){return this.inf};ze.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var t=this.y.redSub(e.y);t.cmpn(0)!==0&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var i=t.redSqr().redISub(this.x).redISub(e.x),s=t.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)};ze.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var t=this.curve.a,i=this.x.redSqr(),s=e.redInvm(),a=i.redAdd(i).redIAdd(i).redIAdd(t).redMul(s),x=a.redSqr().redISub(this.x.redAdd(this.x)),u=a.redMul(this.x.redSub(x)).redISub(this.y);return this.curve.point(x,u)};ze.prototype.getX=function(){return this.x.fromRed()};ze.prototype.getY=function(){return this.y.fromRed()};ze.prototype.mul=function(e){return e=new Z(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};ze.prototype.mulAdd=function(e,t,i){var s=[this,t],a=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(s,a):this.curve._wnafMulAdd(1,s,a,2)};ze.prototype.jmulAdd=function(e,t,i){var s=[this,t],a=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(s,a,!0):this.curve._wnafMulAdd(1,s,a,2,!0)};ze.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};ze.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var i=this.precomputed,s=function(a){return a.neg()};t.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(s)},doubles:i.doubles&&{step:i.doubles.step,points:i.doubles.points.map(s)}}}return t};ze.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function Ge(r,e,t,i){ir.BasePoint.call(this,r,"jacobian"),e===null&&t===null&&i===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Z(0)):(this.x=new Z(e,16),this.y=new Z(t,16),this.z=new Z(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}j0(Ge,ir.BasePoint);nt.prototype.jpoint=function(e,t,i){return new Ge(this,e,t,i)};Ge.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),i=this.x.redMul(t),s=this.y.redMul(t).redMul(e);return this.curve.point(i,s)};Ge.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};Ge.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),i=this.z.redSqr(),s=this.x.redMul(t),a=e.x.redMul(i),x=this.y.redMul(t.redMul(e.z)),u=e.y.redMul(i.redMul(this.z)),p=s.redSub(a),g=x.redSub(u);if(p.cmpn(0)===0)return g.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var y=p.redSqr(),w=y.redMul(p),F=s.redMul(y),k=g.redSqr().redIAdd(w).redISub(F).redISub(F),N=g.redMul(F.redISub(k)).redISub(x.redMul(w)),P=this.z.redMul(e.z).redMul(p);return this.curve.jpoint(k,N,P)};Ge.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),i=this.x,s=e.x.redMul(t),a=this.y,x=e.y.redMul(t).redMul(this.z),u=i.redSub(s),p=a.redSub(x);if(u.cmpn(0)===0)return p.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var g=u.redSqr(),y=g.redMul(u),w=i.redMul(g),F=p.redSqr().redIAdd(y).redISub(w).redISub(w),k=p.redMul(w.redISub(F)).redISub(a.redMul(y)),N=this.z.redMul(u);return this.curve.jpoint(F,k,N)};Ge.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var i=this;for(t=0;t=0)return!1;if(i.redIAdd(a),this.x.cmp(i)===0)return!0}};Ge.prototype.inspect=function(){return this.isInfinity()?"":""};Ge.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var qr=mr(function(r,e){var t=e;t.base=ir,t.short=ts,t.mont=null,t.edwards=null}),Ur=mr(function(r,e){var t=e,i=Ye.assert;function s(u){u.type==="short"?this.curve=new qr.short(u):u.type==="edwards"?this.curve=new qr.edwards(u):this.curve=new qr.mont(u),this.g=this.curve.g,this.n=this.curve.n,this.hash=u.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}t.PresetCurve=s;function a(u,p){Object.defineProperty(t,u,{configurable:!0,enumerable:!0,get:function(){var g=new s(p);return Object.defineProperty(t,u,{configurable:!0,enumerable:!0,value:g}),g}})}a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:Xe.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:Xe.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:Xe.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:Xe.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:Xe.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Xe.sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Xe.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var x;try{x=null.crash()}catch{x=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Xe.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",x]})});function Nt(r){if(!(this instanceof Nt))return new Nt(r);this.hash=r.hash,this.predResist=!!r.predResist,this.outLen=this.hash.outSize,this.minEntropy=r.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=dt.toArray(r.entropy,r.entropyEnc||"hex"),t=dt.toArray(r.nonce,r.nonceEnc||"hex"),i=dt.toArray(r.pers,r.persEnc||"hex");J0(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,t,i)}var hn=Nt;Nt.prototype._init=function(e,t,i){var s=e.concat(t).concat(i);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var a=0;a=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(i||[])),this._reseed=1};Nt.prototype.generate=function(e,t,i,s){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof t!="string"&&(s=i,i=t,t=null),i&&(i=dt.toArray(i,s||"hex"),this._update(i));for(var a=[];a.length"};var rs=Ye.assert;function e0(r,e){if(r instanceof e0)return r;this._importDER(r,e)||(rs(r.r&&r.s,"Signature without r or s"),this.r=new Z(r.r,16),this.s=new Z(r.s,16),r.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=r.recoveryParam)}var t0=e0;function is(){this.place=0}function C0(r,e){var t=r[e.place++];if(!(t&128))return t;var i=t&15;if(i===0||i>4)return!1;for(var s=0,a=0,x=e.place;a>>=0;return s<=127?!1:(e.place=x,s)}function Si(r){for(var e=0,t=r.length-1;!r[e]&&!(r[e+1]&128)&&e>>3);for(r.push(t|128);--t;)r.push(e>>>(t<<3)&255);r.push(e)}e0.prototype.toDER=function(e){var t=this.r.toArray(),i=this.s.toArray();for(t[0]&128&&(t=[0].concat(t)),i[0]&128&&(i=[0].concat(i)),t=Si(t),i=Si(i);!i[0]&&!(i[1]&128);)i=i.slice(1);var s=[2];_0(s,t.length),s=s.concat(t),s.push(2),_0(s,i.length);var a=s.concat(i),x=[48];return _0(x,a.length),x=x.concat(a),Ye.encode(x,e)};var ns=function(){throw new Error("unsupported")},bn=Ye.assert;function rt(r){if(!(this instanceof rt))return new rt(r);typeof r=="string"&&(bn(Object.prototype.hasOwnProperty.call(Ur,r),"Unknown curve "+r),r=Ur[r]),r instanceof Ur.PresetCurve&&(r={curve:r}),this.curve=r.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=r.curve.g,this.g.precompute(r.curve.n.bitLength()+1),this.hash=r.hash||r.curve.hash}var as=rt;rt.prototype.keyPair=function(e){return new X0(this,e)};rt.prototype.keyFromPrivate=function(e,t){return X0.fromPrivate(this,e,t)};rt.prototype.keyFromPublic=function(e,t){return X0.fromPublic(this,e,t)};rt.prototype.genKeyPair=function(e){e||(e={});for(var t=new hn({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||ns(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),s=this.n.sub(new Z(2));;){var a=new Z(t.generate(i));if(!(a.cmp(s)>0))return a.iaddn(1),this.keyFromPrivate(a)}};rt.prototype._truncateToN=function(e,t){var i=e.byteLength()*8-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e};rt.prototype.sign=function(e,t,i,s){typeof i=="object"&&(s=i,i=null),s||(s={}),t=this.keyFromPrivate(t,i),e=this._truncateToN(new Z(e,16));for(var a=this.n.byteLength(),x=t.getPrivate().toArray("be",a),u=e.toArray("be",a),p=new hn({hash:this.hash,entropy:x,nonce:u,pers:s.pers,persEnc:s.persEnc||"utf8"}),g=this.n.sub(new Z(1)),y=0;;y++){var w=s.k?s.k(y):new Z(p.generate(this.n.byteLength()));if(w=this._truncateToN(w,!0),!(w.cmpn(1)<=0||w.cmp(g)>=0)){var F=this.g.mul(w);if(!F.isInfinity()){var k=F.getX(),N=k.umod(this.n);if(N.cmpn(0)!==0){var P=w.invm(this.n).mul(N.mul(t.getPrivate()).iadd(e));if(P=P.umod(this.n),P.cmpn(0)!==0){var M=(F.getY().isOdd()?1:0)|(k.cmp(N)!==0?2:0);return s.canonical&&P.cmp(this.nh)>0&&(P=this.n.sub(P),M^=1),new t0({r:N,s:P,recoveryParam:M})}}}}}};rt.prototype.verify=function(e,t,i,s){e=this._truncateToN(new Z(e,16)),i=this.keyFromPublic(i,s),t=new t0(t,"hex");var a=t.r,x=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0||x.cmpn(1)<0||x.cmp(this.n)>=0)return!1;var u=x.invm(this.n),p=u.mul(e).umod(this.n),g=u.mul(a).umod(this.n),y;return this.curve._maxwellTrick?(y=this.g.jmulAdd(p,i.getPublic(),g),y.isInfinity()?!1:y.eqXToP(a)):(y=this.g.mulAdd(p,i.getPublic(),g),y.isInfinity()?!1:y.getX().umod(this.n).cmp(a)===0)};rt.prototype.recoverPubKey=function(r,e,t,i){bn((3&t)===t,"The recovery param is more than two bits"),e=new t0(e,i);var s=this.n,a=new Z(r),x=e.r,u=e.s,p=t&1,g=t>>1;if(x.cmp(this.curve.p.umod(this.curve.n))>=0&&g)throw new Error("Unable to find sencond key candinate");g?x=this.curve.pointFromX(x.add(this.curve.n),p):x=this.curve.pointFromX(x,p);var y=e.r.invm(s),w=s.sub(a).mul(y).umod(s),F=u.mul(y).umod(s);return this.g.mulAdd(w,x,F)};rt.prototype.getKeyRecoveryParam=function(r,e,t,i){if(e=new t0(e,i),e.recoveryParam!==null)return e.recoveryParam;for(var s=0;s<4;s++){var a;try{a=this.recoverPubKey(r,e,s)}catch{continue}if(a.eq(t))return s}throw new Error("Unable to find valid recovery factor")};var fs=mr(function(r,e){var t=e;t.version="6.5.4",t.utils=Ye,t.rand=function(){throw new Error("unsupported")},t.curve=qr,t.curves=Ur,t.ec=as,t.eddsa=null}),ss=fs.ec;const os="signing-key/5.7.0",O0=new $(os);let E0=null;function Zt(){return E0||(E0=new ss("secp256k1")),E0}class cr{constructor(e){Y(this,"curve","secp256k1"),Y(this,"privateKey",J(e)),Li(this.privateKey)!==32&&O0.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const t=Zt().keyFromPrivate(z(this.privateKey));Y(this,"publicKey","0x"+t.getPublic(!1,"hex")),Y(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),Y(this,"_isSigningKey",!0)}_addPoint(e){const t=Zt().keyFromPublic(z(this.publicKey)),i=Zt().keyFromPublic(z(e));return"0x"+t.pub.add(i.pub).encodeCompressed("hex")}signDigest(e){const t=Zt().keyFromPrivate(z(this.privateKey)),i=z(e);i.length!==32&&O0.throwArgumentError("bad digest length","digest",e);const s=t.sign(i,{canonical:!0});return kr({recoveryParam:s.recoveryParam,r:tt("0x"+s.r.toString(16),32),s:tt("0x"+s.s.toString(16),32)})}computeSharedSecret(e){const t=Zt().keyFromPrivate(z(this.privateKey)),i=Zt().keyFromPublic(z(pn(e)));return tt("0x"+t.derive(i.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}}function pn(r,e){const t=z(r);return t.length===32?new cr(t).publicKey:t.length===33?"0x"+Zt().keyFromPublic(t).getPublic(!1,"hex"):t.length===65?J(t):O0.throwArgumentError("invalid public or private key","key","[REDACTED]")}const cs="transactions/5.7.0",ct=new $(cs);var Mi;(function(r){r[r.legacy=0]="legacy",r[r.eip2930=1]="eip2930",r[r.eip1559=2]="eip1559"})(Mi||(Mi={}));const ds=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],xs={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function dr(r){const e=pn(r);return xt(_r($e(_r(e,1)),12))}function Ze(r,e){const t=Rt(ae.from(r).toHexString());return t.length>32&&ct.throwArgumentError("invalid length for "+e,"transaction:"+e,r),t}function P0(r,e){return{address:xt(r),storageKeys:(e||[]).map((t,i)=>(Li(t)!==32&&ct.throwArgumentError("invalid access list storageKey",`accessList[${r}:${i}]`,t),t.toLowerCase()))}}function us(r){if(Array.isArray(r))return r.map((t,i)=>Array.isArray(t)?(t.length>2&&ct.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${i}]`,t),P0(t[0],t[1])):P0(t.address,t.storageKeys));const e=Object.keys(r).map(t=>{const i=r[t].reduce((s,a)=>(s[a]=!0,s),{});return P0(t,Object.keys(i).sort())});return e.sort((t,i)=>t.address.localeCompare(i.address)),e}function gn(r){return us(r).map(e=>[e.address,e.storageKeys])}function ls(r,e){if(r.gasPrice!=null){const i=ae.from(r.gasPrice),s=ae.from(r.maxFeePerGas||0);i.eq(s)||ct.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:i,maxFeePerGas:s})}const t=[Ze(r.chainId||0,"chainId"),Ze(r.nonce||0,"nonce"),Ze(r.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Ze(r.maxFeePerGas||0,"maxFeePerGas"),Ze(r.gasLimit||0,"gasLimit"),r.to!=null?xt(r.to):"0x",Ze(r.value||0,"value"),r.data||"0x",gn(r.accessList||[])];if(e){const i=kr(e);t.push(Ze(i.recoveryParam,"recoveryParam")),t.push(Rt(i.r)),t.push(Rt(i.s))}return or(["0x02",Hr(t)])}function hs(r,e){const t=[Ze(r.chainId||0,"chainId"),Ze(r.nonce||0,"nonce"),Ze(r.gasPrice||0,"gasPrice"),Ze(r.gasLimit||0,"gasLimit"),r.to!=null?xt(r.to):"0x",Ze(r.value||0,"value"),r.data||"0x",gn(r.accessList||[])];if(e){const i=kr(e);t.push(Ze(i.recoveryParam,"recoveryParam")),t.push(Rt(i.r)),t.push(Rt(i.s))}return or(["0x01",Hr(t)])}function bs(r,e){jn(r,xs);const t=[];ds.forEach(function(x){let u=r[x.name]||[];const p={};x.numeric&&(p.hexPad="left"),u=z(J(u,p)),x.length&&u.length!==x.length&&u.length>0&&ct.throwArgumentError("invalid length for "+x.name,"transaction:"+x.name,u),x.maxLength&&(u=Rt(u),u.length>x.maxLength&&ct.throwArgumentError("invalid length for "+x.name,"transaction:"+x.name,u)),t.push(J(u))});let i=0;if(r.chainId!=null?(i=r.chainId,typeof i!="number"&&ct.throwArgumentError("invalid transaction.chainId","transaction",r)):e&&!G0(e)&&e.v>28&&(i=Math.floor((e.v-35)/2)),i!==0&&(t.push(J(i)),t.push("0x"),t.push("0x")),!e)return Hr(t);const s=kr(e);let a=27+s.recoveryParam;return i!==0?(t.pop(),t.pop(),t.pop(),a+=i*2+8,s.v>28&&s.v!==a&&ct.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):s.v!==a&&ct.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),t.push(J(a)),t.push(Rt(z(s.r))),t.push(Rt(z(s.s))),Hr(t)}function Ai(r,e){if(r.type==null||r.type===0)return r.accessList!=null&&ct.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",r),bs(r,e);switch(r.type){case 1:return hs(r,e);case 2:return ls(r,e)}return ct.throwError(`unsupported transaction type: ${r.type}`,$.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:r.type})}class mn{constructor(e){Y(this,"alphabet",e),Y(this,"base",e.length),Y(this,"_alphabetMap",{}),Y(this,"_leader",e.charAt(0));for(let t=0;t0;)i.push(x%this.base),x=x/this.base|0}let s="";for(let a=0;t[a]===0&&a=0;--a)s+=this.alphabet[i[a]];return s}decode(e){if(typeof e!="string")throw new TypeError("Expected String");let t=[];if(e.length===0)return new Uint8Array(t);t.push(0);for(let i=0;i>=8;for(;a>0;)t.push(a&255),a>>=8}for(let i=0;e[i]===this._leader&&i>24&255,p[e.length+1]=w>>16&255,p[e.length+2]=w>>8&255,p[e.length+3]=w&255;let F=z(jr(s,r,p));a||(a=F.length,y=new Uint8Array(a),x=Math.ceil(i/a),g=i-(x-1)*a),y.set(F);for(let P=1;P>5,this.byteCount=this.blockCount<<2,this.outputBlocks=I>>5,this.extraBytes=(I&31)>>3;for(var E=0;E<50;++E)this.s[E]=0}f.prototype.update=function(o){if(this.finalized)throw new Error(t);var A,I=typeof o;if(I!=="string"){if(I==="object"){if(o===null)throw new Error(e);if(b&&o.constructor===ArrayBuffer)o=new Uint8Array(o);else if(!Array.isArray(o)&&(!b||!ArrayBuffer.isView(o)))throw new Error(e)}else throw new Error(e);A=!0}for(var E=this.blocks,R=this.byteCount,O=o.length,B=this.blockCount,D=0,Oe=this.s,q,X;D>2]|=o[D]<>2]|=X<>2]|=(192|X>>6)<>2]|=(128|X&63)<=57344?(E[q>>2]|=(224|X>>12)<>2]|=(128|X>>6&63)<>2]|=(128|X&63)<>2]|=(240|X>>18)<>2]|=(128|X>>12&63)<>2]|=(128|X>>6&63)<>2]|=(128|X&63)<=R){for(this.start=q-R,this.block=E[B],q=0;q>8,I=o&255;I>0;)R.unshift(I),o=o>>8,I=o&255,++E;return A?R.push(E):R.unshift(E),this.update(R),R.length},f.prototype.encodeString=function(o){var A,I=typeof o;if(I!=="string"){if(I==="object"){if(o===null)throw new Error(e);if(b&&o.constructor===ArrayBuffer)o=new Uint8Array(o);else if(!Array.isArray(o)&&(!b||!ArrayBuffer.isView(o)))throw new Error(e)}else throw new Error(e);A=!0}var E=0,R=o.length;if(A)E=R;else for(var O=0;O=57344?E+=3:(B=65536+((B&1023)<<10|o.charCodeAt(++O)&1023),E+=4)}return E+=this.encode(E*8),this.update(o),E},f.prototype.bytepad=function(o,A){for(var I=this.encode(A),E=0;E>2]|=this.padding[A&3],this.lastByteIndex===this.byteCount)for(o[0]=o[I],A=1;A>4&15]+g[D&15]+g[D>>12&15]+g[D>>8&15]+g[D>>20&15]+g[D>>16&15]+g[D>>28&15]+g[D>>24&15];O%o===0&&(C(A),R=0)}return E&&(D=A[R],B+=g[D>>4&15]+g[D&15],E>1&&(B+=g[D>>12&15]+g[D>>8&15]),E>2&&(B+=g[D>>20&15]+g[D>>16&15])),B},f.prototype.arrayBuffer=function(){this.finalize();var o=this.blockCount,A=this.s,I=this.outputBlocks,E=this.extraBytes,R=0,O=0,B=this.outputBits>>3,D;E?D=new ArrayBuffer(I+1<<2):D=new ArrayBuffer(B);for(var Oe=new Uint32Array(D);O>8&255,B[D+2]=Oe>>16&255,B[D+3]=Oe>>24&255;O%o===0&&C(A)}return E&&(D=O<<2,Oe=A[R],B[D]=Oe&255,E>1&&(B[D+1]=Oe>>8&255),E>2&&(B[D+2]=Oe>>16&255)),B};function h(o,A,I){f.call(this,o,A,I)}h.prototype=new f,h.prototype.finalize=function(){return this.encode(this.outputBits,!0),f.prototype.finalize.call(this)};var C=function(o){var A,I,E,R,O,B,D,Oe,q,X,Bt,fe,se,Tt,oe,ce,Dt,de,xe,Ot,ue,le,Lt,he,be,qt,pe,ge,Ut,me,ve,zt,ye,we,Gt,Se,Me,Kt,Ae,Ce,$t,_e,Ee,Ht,Pe,Fe,Wt,Ie,Re,Jt,ke,Ne,jt,Ve,Be,Xt,Te,De,Ct,_t,Et,Pt,Ft;for(E=0;E<48;E+=2)R=o[0]^o[10]^o[20]^o[30]^o[40],O=o[1]^o[11]^o[21]^o[31]^o[41],B=o[2]^o[12]^o[22]^o[32]^o[42],D=o[3]^o[13]^o[23]^o[33]^o[43],Oe=o[4]^o[14]^o[24]^o[34]^o[44],q=o[5]^o[15]^o[25]^o[35]^o[45],X=o[6]^o[16]^o[26]^o[36]^o[46],Bt=o[7]^o[17]^o[27]^o[37]^o[47],fe=o[8]^o[18]^o[28]^o[38]^o[48],se=o[9]^o[19]^o[29]^o[39]^o[49],A=fe^(B<<1|D>>>31),I=se^(D<<1|B>>>31),o[0]^=A,o[1]^=I,o[10]^=A,o[11]^=I,o[20]^=A,o[21]^=I,o[30]^=A,o[31]^=I,o[40]^=A,o[41]^=I,A=R^(Oe<<1|q>>>31),I=O^(q<<1|Oe>>>31),o[2]^=A,o[3]^=I,o[12]^=A,o[13]^=I,o[22]^=A,o[23]^=I,o[32]^=A,o[33]^=I,o[42]^=A,o[43]^=I,A=B^(X<<1|Bt>>>31),I=D^(Bt<<1|X>>>31),o[4]^=A,o[5]^=I,o[14]^=A,o[15]^=I,o[24]^=A,o[25]^=I,o[34]^=A,o[35]^=I,o[44]^=A,o[45]^=I,A=Oe^(fe<<1|se>>>31),I=q^(se<<1|fe>>>31),o[6]^=A,o[7]^=I,o[16]^=A,o[17]^=I,o[26]^=A,o[27]^=I,o[36]^=A,o[37]^=I,o[46]^=A,o[47]^=I,A=X^(R<<1|O>>>31),I=Bt^(O<<1|R>>>31),o[8]^=A,o[9]^=I,o[18]^=A,o[19]^=I,o[28]^=A,o[29]^=I,o[38]^=A,o[39]^=I,o[48]^=A,o[49]^=I,Tt=o[0],oe=o[1],Fe=o[11]<<4|o[10]>>>28,Wt=o[10]<<4|o[11]>>>28,ge=o[20]<<3|o[21]>>>29,Ut=o[21]<<3|o[20]>>>29,_t=o[31]<<9|o[30]>>>23,Et=o[30]<<9|o[31]>>>23,_e=o[40]<<18|o[41]>>>14,Ee=o[41]<<18|o[40]>>>14,we=o[2]<<1|o[3]>>>31,Gt=o[3]<<1|o[2]>>>31,ce=o[13]<<12|o[12]>>>20,Dt=o[12]<<12|o[13]>>>20,Ie=o[22]<<10|o[23]>>>22,Re=o[23]<<10|o[22]>>>22,me=o[33]<<13|o[32]>>>19,ve=o[32]<<13|o[33]>>>19,Pt=o[42]<<2|o[43]>>>30,Ft=o[43]<<2|o[42]>>>30,Ve=o[5]<<30|o[4]>>>2,Be=o[4]<<30|o[5]>>>2,Se=o[14]<<6|o[15]>>>26,Me=o[15]<<6|o[14]>>>26,de=o[25]<<11|o[24]>>>21,xe=o[24]<<11|o[25]>>>21,Jt=o[34]<<15|o[35]>>>17,ke=o[35]<<15|o[34]>>>17,zt=o[45]<<29|o[44]>>>3,ye=o[44]<<29|o[45]>>>3,he=o[6]<<28|o[7]>>>4,be=o[7]<<28|o[6]>>>4,Xt=o[17]<<23|o[16]>>>9,Te=o[16]<<23|o[17]>>>9,Kt=o[26]<<25|o[27]>>>7,Ae=o[27]<<25|o[26]>>>7,Ot=o[36]<<21|o[37]>>>11,ue=o[37]<<21|o[36]>>>11,Ne=o[47]<<24|o[46]>>>8,jt=o[46]<<24|o[47]>>>8,Ht=o[8]<<27|o[9]>>>5,Pe=o[9]<<27|o[8]>>>5,qt=o[18]<<20|o[19]>>>12,pe=o[19]<<20|o[18]>>>12,De=o[29]<<7|o[28]>>>25,Ct=o[28]<<7|o[29]>>>25,Ce=o[38]<<8|o[39]>>>24,$t=o[39]<<8|o[38]>>>24,le=o[48]<<14|o[49]>>>18,Lt=o[49]<<14|o[48]>>>18,o[0]=Tt^~ce&de,o[1]=oe^~Dt&xe,o[10]=he^~qt&ge,o[11]=be^~pe&Ut,o[20]=we^~Se&Kt,o[21]=Gt^~Me&Ae,o[30]=Ht^~Fe&Ie,o[31]=Pe^~Wt&Re,o[40]=Ve^~Xt&De,o[41]=Be^~Te&Ct,o[2]=ce^~de&Ot,o[3]=Dt^~xe&ue,o[12]=qt^~ge&me,o[13]=pe^~Ut&ve,o[22]=Se^~Kt&Ce,o[23]=Me^~Ae&$t,o[32]=Fe^~Ie&Jt,o[33]=Wt^~Re&ke,o[42]=Xt^~De&_t,o[43]=Te^~Ct&Et,o[4]=de^~Ot&le,o[5]=xe^~ue&Lt,o[14]=ge^~me&zt,o[15]=Ut^~ve&ye,o[24]=Kt^~Ce&_e,o[25]=Ae^~$t&Ee,o[34]=Ie^~Jt&Ne,o[35]=Re^~ke&jt,o[44]=De^~_t&Pt,o[45]=Ct^~Et&Ft,o[6]=Ot^~le&Tt,o[7]=ue^~Lt&oe,o[16]=me^~zt&he,o[17]=ve^~ye&be,o[26]=Ce^~_e&we,o[27]=$t^~Ee&Gt,o[36]=Jt^~Ne&Ht,o[37]=ke^~jt&Pe,o[46]=_t^~Pt&Ve,o[47]=Et^~Ft&Be,o[8]=le^~Tt&ce,o[9]=Lt^~oe&Dt,o[18]=zt^~he&qt,o[19]=ye^~be&pe,o[28]=_e^~we&Se,o[29]=Ee^~Gt&Me,o[38]=Ne^~Ht&Fe,o[39]=jt^~Pe&Wt,o[48]=Pt^~Ve&Xt,o[49]=Ft^~Be&Te,o[0]^=P[E],o[1]^=P[E+1]};if(u)r.exports=n;else for(l=0;l>=8;return e}function Gi(r){if(Array.isArray(r)){let i=[];if(r.forEach(function(a){i=i.concat(Gi(a))}),i.length<=55)return i.unshift(192+i.length),i;const s=xi(i.length);return s.unshift(247+s.length),s.concat(i)}G0(r)||ta.throwArgumentError("RLP object must be BytesLike","object",r);const e=Array.prototype.slice.call(z(r));if(e.length===1&&e[0]<=127)return e;if(e.length<=55)return e.unshift(128+e.length),e;const t=xi(e.length);return t.unshift(183+t.length),t.concat(e)}function Hr(r){return J(Gi(r))}const ra="address/5.7.0",Mr=new $(ra);function ui(r){He(r,20)||Mr.throwArgumentError("invalid address","address",r),r=r.toLowerCase();const e=r.substring(2).split(""),t=new Uint8Array(40);for(let s=0;s<40;s++)t[s]=e[s].charCodeAt(0);const i=z($e(t));for(let s=0;s<40;s+=2)i[s>>1]>>4>=8&&(e[s]=e[s].toUpperCase()),(i[s>>1]&15)>=8&&(e[s+1]=e[s+1].toUpperCase());return"0x"+e.join("")}const ia=9007199254740991;function na(r){return Math.log10?Math.log10(r):Math.log(r)/Math.LN10}const K0={};for(let r=0;r<10;r++)K0[String(r)]=String(r);for(let r=0;r<26;r++)K0[String.fromCharCode(65+r)]=String(10+r);const li=Math.floor(na(ia));function aa(r){r=r.toUpperCase(),r=r.substring(4)+r.substring(0,2)+"00";let e=r.split("").map(i=>K0[i]).join("");for(;e.length>=li;){let i=e.substring(0,li);e=parseInt(i,10)%97+e.substring(i.length)}let t=String(98-parseInt(e,10)%97);for(;t.length<2;)t="0"+t;return t}function xt(r){let e=null;if(typeof r!="string"&&Mr.throwArgumentError("invalid address","address",r),r.match(/^(0x)?[0-9a-fA-F]{40}$/))r.substring(0,2)!=="0x"&&(r="0x"+r),e=ui(r),r.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==r&&Mr.throwArgumentError("bad address checksum","address",r);else if(r.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(r.substring(2,4)!==aa(r)&&Mr.throwArgumentError("bad icap checksum","address",r),e=Hn(r.substring(4));e.length<40;)e="0"+e;e=ui("0x"+e)}else Mr.throwArgumentError("invalid address","address",r);return e}const fa="strings/5.7.0",sa=new $(fa);var er;(function(r){r.current="",r.NFC="NFC",r.NFD="NFD",r.NFKC="NFKC",r.NFKD="NFKD"})(er||(er={}));var hi;(function(r){r.UNEXPECTED_CONTINUE="unexpected continuation byte",r.BAD_PREFIX="bad codepoint prefix",r.OVERRUN="string overrun",r.MISSING_CONTINUE="missing continuation byte",r.OUT_OF_RANGE="out of UTF-8 range",r.UTF16_SURROGATE="UTF-16 surrogate",r.OVERLONG="overlong representation"})(hi||(hi={}));function St(r,e=er.current){e!=er.current&&(sa.checkNormalize(),r=r.normalize(e));let t=[];for(let i=0;i>6|192),t.push(s&63|128);else if((s&64512)==55296){i++;const a=r.charCodeAt(i);if(i>=r.length||(a&64512)!==56320)throw new Error("invalid utf-8 string");const x=65536+((s&1023)<<10)+(a&1023);t.push(x>>18|240),t.push(x>>12&63|128),t.push(x>>6&63|128),t.push(x&63|128)}else t.push(s>>12|224),t.push(s>>6&63|128),t.push(s&63|128)}return z(t)}function $0(r){return $e(St(r))}const oa="hash/5.7.0",ca=`Ethereum Signed Message: +`;function da(r){return typeof r=="string"&&(r=St(r)),$e(kt([St(ca),St(String(r.length)),r]))}var xa=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function b(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,b)}g((i=i.apply(r,e||[])).next())})};const Le=new $(oa),Ki=new Uint8Array(32);Ki.fill(0);const ua=ae.from(-1),$i=ae.from(0),Hi=ae.from(1),la=ae.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function ha(r){const e=z(r),t=e.length%32;return t?or([e,Ki.slice(t)]):J(e)}const ba=tt(Hi.toHexString(),32),pa=tt($i.toHexString(),32),bi={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},y0=["name","version","chainId","verifyingContract","salt"];function pi(r){return function(e){return typeof e!="string"&&Le.throwArgumentError(`invalid domain value for ${JSON.stringify(r)}`,`domain.${r}`,e),e}}const ga={name:pi("name"),version:pi("version"),chainId:function(r){try{return ae.from(r).toString()}catch{}return Le.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",r)},verifyingContract:function(r){try{return xt(r).toLowerCase()}catch{}return Le.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",r)},salt:function(r){try{const e=z(r);if(e.length!==32)throw new Error("bad length");return J(e)}catch{}return Le.throwArgumentError('invalid domain value "salt"',"domain.salt",r)}};function w0(r){{const e=r.match(/^(u?)int(\d*)$/);if(e){const t=e[1]==="",i=parseInt(e[2]||"256");(i%8!==0||i>256||e[2]&&e[2]!==String(i))&&Le.throwArgumentError("invalid numeric width","type",r);const s=la.mask(t?i-1:i),a=t?s.add(Hi).mul(ua):$i;return function(x){const u=ae.from(x);return(u.lt(a)||u.gt(s))&&Le.throwArgumentError(`value out-of-bounds for ${r}`,"value",x),tt(u.toTwos(256).toHexString(),32)}}}{const e=r.match(/^bytes(\d+)$/);if(e){const t=parseInt(e[1]);return(t===0||t>32||e[1]!==String(t))&&Le.throwArgumentError("invalid bytes width","type",r),function(i){return z(i).length!==t&&Le.throwArgumentError(`invalid length for ${r}`,"value",i),ha(i)}}}switch(r){case"address":return function(e){return tt(xt(e),32)};case"bool":return function(e){return e?ba:pa};case"bytes":return function(e){return $e(e)};case"string":return function(e){return $0(e)}}return null}function gi(r,e){return`${r}(${e.map(({name:t,type:i})=>i+" "+t).join(",")})`}class je{constructor(e){Y(this,"types",Object.freeze($r(e))),Y(this,"_encoderCache",{}),Y(this,"_types",{});const t={},i={},s={};Object.keys(e).forEach(u=>{t[u]={},i[u]=[],s[u]={}});for(const u in e){const b={};e[u].forEach(g=>{b[g.name]&&Le.throwArgumentError(`duplicate variable name ${JSON.stringify(g.name)} in ${JSON.stringify(u)}`,"types",e),b[g.name]=!0;const y=g.type.match(/^([^\x5b]*)(\x5b|$)/)[1];y===u&&Le.throwArgumentError(`circular type reference to ${JSON.stringify(y)}`,"types",e),!w0(y)&&(i[y]||Le.throwArgumentError(`unknown type ${JSON.stringify(y)}`,"types",e),i[y].push(u),t[u][y]=!0)})}const a=Object.keys(i).filter(u=>i[u].length===0);a.length===0?Le.throwArgumentError("missing primary type","types",e):a.length>1&&Le.throwArgumentError(`ambiguous primary types or unused types: ${a.map(u=>JSON.stringify(u)).join(", ")}`,"types",e),Y(this,"primaryType",a[0]);function x(u,b){b[u]&&Le.throwArgumentError(`circular type reference to ${JSON.stringify(u)}`,"types",e),b[u]=!0,Object.keys(t[u]).forEach(g=>{i[g]&&(x(g,b),Object.keys(b).forEach(y=>{s[y][g]=!0}))}),delete b[u]}x(this.primaryType,{});for(const u in s){const b=Object.keys(s[u]);b.sort(),this._types[u]=gi(u,e[u])+b.map(g=>gi(g,e[g])).join("")}}getEncoder(e){let t=this._encoderCache[e];return t||(t=this._encoderCache[e]=this._getEncoder(e)),t}_getEncoder(e){{const s=w0(e);if(s)return s}const t=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(t){const s=t[1],a=this.getEncoder(s),x=parseInt(t[3]);return u=>{x>=0&&u.length!==x&&Le.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",u);let b=u.map(a);return this._types[s]&&(b=b.map($e)),$e(or(b))}}const i=this.types[e];if(i){const s=$0(this._types[e]);return a=>{const x=i.map(({name:u,type:b})=>{const g=this.getEncoder(b)(a[u]);return this._types[b]?$e(g):g});return x.unshift(s),or(x)}}return Le.throwArgumentError(`unknown type: ${e}`,"type",e)}encodeType(e){const t=this._types[e];return t||Le.throwArgumentError(`unknown type: ${JSON.stringify(e)}`,"name",e),t}encodeData(e,t){return this.getEncoder(e)(t)}hashStruct(e,t){return $e(this.encodeData(e,t))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,t,i){if(w0(e))return i(e,t);const s=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(s){const x=s[1],u=parseInt(s[3]);return u>=0&&t.length!==u&&Le.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t),t.map(b=>this._visit(x,b,i))}const a=this.types[e];return a?a.reduce((x,{name:u,type:b})=>(x[u]=this._visit(b,t[u],i),x),{}):Le.throwArgumentError(`unknown type: ${e}`,"type",e)}visit(e,t){return this._visit(this.primaryType,e,t)}static from(e){return new je(e)}static getPrimaryType(e){return je.from(e).primaryType}static hashStruct(e,t,i){return je.from(t).hashStruct(e,i)}static hashDomain(e){const t=[];for(const i in e){const s=bi[i];s||Le.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(i)}`,"domain",e),t.push({name:i,type:s})}return t.sort((i,s)=>y0.indexOf(i.name)-y0.indexOf(s.name)),je.hashStruct("EIP712Domain",{EIP712Domain:t},e)}static encode(e,t,i){return or(["0x1901",je.hashDomain(e),je.from(t).hash(i)])}static hash(e,t,i){return $e(je.encode(e,t,i))}static resolveNames(e,t,i,s){return xa(this,void 0,void 0,function*(){e=N0(e);const a={};e.verifyingContract&&!He(e.verifyingContract,20)&&(a[e.verifyingContract]="0x");const x=je.from(t);x.visit(i,(u,b)=>(u==="address"&&!He(b,20)&&(a[b]="0x"),b));for(const u in a)a[u]=yield s(u);return e.verifyingContract&&a[e.verifyingContract]&&(e.verifyingContract=a[e.verifyingContract]),i=x.visit(i,(u,b)=>u==="address"&&a[b]?a[b]:b),{domain:e,value:i}})}static getPayload(e,t,i){je.hashDomain(e);const s={},a=[];y0.forEach(b=>{const g=e[b];g!=null&&(s[b]=ga[b](g),a.push({name:b,type:bi[b]}))});const x=je.from(t),u=N0(t);return u.EIP712Domain?Le.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",t):u.EIP712Domain=a,x.encode(i),{types:u,domain:s,primaryType:x.primaryType,message:x.visit(i,(b,g)=>{if(b.match(/^bytes(\d*)/))return J(z(g));if(b.match(/^u?int/))return ae.from(g).toString();switch(b){case"address":return g.toLowerCase();case"bool":return!!g;case"string":return typeof g!="string"&&Le.throwArgumentError("invalid string","value",g),g}return Le.throwArgumentError("unsupported type","type",b)})}}}const ma="abstract-provider/5.7.0";var va=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function b(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,b)}g((i=i.apply(r,e||[])).next())})};const ya=new $(ma);class H0{constructor(){ya.checkAbstract(new.target,H0),Y(this,"_isProvider",!0)}getFeeData(){return va(this,void 0,void 0,function*(){const{block:e,gasPrice:t}=yield fr({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch(x=>null)});let i=null,s=null,a=null;return e&&e.baseFeePerGas&&(i=e.baseFeePerGas,a=ae.from("1500000000"),s=e.baseFeePerGas.mul(2).add(a)),{lastBaseFeePerGas:i,maxFeePerGas:s,maxPriorityFeePerGas:a,gasPrice:t}})}addListener(e,t){return this.on(e,t)}removeListener(e,t){return this.off(e,t)}static isProvider(e){return!!(e&&e._isProvider)}}const wa="abstract-signer/5.7.0";var at=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function b(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,b)}g((i=i.apply(r,e||[])).next())})};const ft=new $(wa),Sa=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],Ma=[$.errors.INSUFFICIENT_FUNDS,$.errors.NONCE_EXPIRED,$.errors.REPLACEMENT_UNDERPRICED];class W0{constructor(){ft.checkAbstract(new.target,W0),Y(this,"_isSigner",!0)}getBalance(e){return at(this,void 0,void 0,function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),e)})}getTransactionCount(e){return at(this,void 0,void 0,function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),e)})}estimateGas(e){return at(this,void 0,void 0,function*(){this._checkProvider("estimateGas");const t=yield fr(this.checkTransaction(e));return yield this.provider.estimateGas(t)})}call(e,t){return at(this,void 0,void 0,function*(){this._checkProvider("call");const i=yield fr(this.checkTransaction(e));return yield this.provider.call(i,t)})}sendTransaction(e){return at(this,void 0,void 0,function*(){this._checkProvider("sendTransaction");const t=yield this.populateTransaction(e),i=yield this.signTransaction(t);return yield this.provider.sendTransaction(i)})}getChainId(){return at(this,void 0,void 0,function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId})}getGasPrice(){return at(this,void 0,void 0,function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()})}getFeeData(){return at(this,void 0,void 0,function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()})}resolveName(e){return at(this,void 0,void 0,function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(e)})}checkTransaction(e){for(const i in e)Sa.indexOf(i)===-1&&ft.throwArgumentError("invalid transaction key: "+i,"transaction",e);const t=N0(e);return t.from==null?t.from=this.getAddress():t.from=Promise.all([Promise.resolve(t.from),this.getAddress()]).then(i=>(i[0].toLowerCase()!==i[1].toLowerCase()&&ft.throwArgumentError("from address mismatch","transaction",e),i[0])),t}populateTransaction(e){return at(this,void 0,void 0,function*(){const t=yield fr(this.checkTransaction(e));t.to!=null&&(t.to=Promise.resolve(t.to).then(s=>at(this,void 0,void 0,function*(){if(s==null)return null;const a=yield this.resolveName(s);return a==null&&ft.throwArgumentError("provided ENS name resolves to null","tx.to",s),a})),t.to.catch(s=>{}));const i=t.maxFeePerGas!=null||t.maxPriorityFeePerGas!=null;if(t.gasPrice!=null&&(t.type===2||i)?ft.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e):(t.type===0||t.type===1)&&i&&ft.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e),(t.type===2||t.type==null)&&t.maxFeePerGas!=null&&t.maxPriorityFeePerGas!=null)t.type=2;else if(t.type===0||t.type===1)t.gasPrice==null&&(t.gasPrice=this.getGasPrice());else{const s=yield this.getFeeData();if(t.type==null)if(s.maxFeePerGas!=null&&s.maxPriorityFeePerGas!=null)if(t.type=2,t.gasPrice!=null){const a=t.gasPrice;delete t.gasPrice,t.maxFeePerGas=a,t.maxPriorityFeePerGas=a}else t.maxFeePerGas==null&&(t.maxFeePerGas=s.maxFeePerGas),t.maxPriorityFeePerGas==null&&(t.maxPriorityFeePerGas=s.maxPriorityFeePerGas);else s.gasPrice!=null?(i&&ft.throwError("network does not support EIP-1559",$.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),t.gasPrice==null&&(t.gasPrice=s.gasPrice),t.type=0):ft.throwError("failed to get consistent fee data",$.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else t.type===2&&(t.maxFeePerGas==null&&(t.maxFeePerGas=s.maxFeePerGas),t.maxPriorityFeePerGas==null&&(t.maxPriorityFeePerGas=s.maxPriorityFeePerGas))}return t.nonce==null&&(t.nonce=this.getTransactionCount("pending")),t.gasLimit==null&&(t.gasLimit=this.estimateGas(t).catch(s=>{if(Ma.indexOf(s.code)>=0)throw s;return ft.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",$.errors.UNPREDICTABLE_GAS_LIMIT,{error:s,tx:t})})),t.chainId==null?t.chainId=this.getChainId():t.chainId=Promise.all([Promise.resolve(t.chainId),this.getChainId()]).then(s=>(s[1]!==0&&s[0]!==s[1]&&ft.throwArgumentError("chainId address mismatch","transaction",e),s[0])),yield fr(t)})}_checkProvider(e){this.provider||ft.throwError("missing provider",$.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}static isSigner(e){return!!(e&&e._isSigner)}}var Wi={},ee={},Nr=Ji;function Ji(r,e){if(!r)throw new Error(e||"Assertion failed")}Ji.equal=function(e,t,i){if(e!=t)throw new Error(i||"Assertion failed: "+e+" != "+t)};var V0={exports:{}};typeof Object.create=="function"?V0.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:V0.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}};var Aa=V0.exports,Ca=Nr,_a=Aa;ee.inherits=_a;function Ea(r,e){return(r.charCodeAt(e)&64512)!==55296||e<0||e+1>=r.length?!1:(r.charCodeAt(e+1)&64512)===56320}function Pa(r,e){if(Array.isArray(r))return r.slice();if(!r)return[];var t=[];if(typeof r=="string")if(e){if(e==="hex")for(r=r.replace(/[^a-z0-9]+/ig,""),r.length%2!==0&&(r="0"+r),s=0;s>6|192,t[i++]=a&63|128):Ea(r,s)?(a=65536+((a&1023)<<10)+(r.charCodeAt(++s)&1023),t[i++]=a>>18|240,t[i++]=a>>12&63|128,t[i++]=a>>6&63|128,t[i++]=a&63|128):(t[i++]=a>>12|224,t[i++]=a>>6&63|128,t[i++]=a&63|128)}else for(s=0;s>>24|r>>>8&65280|r<<8&16711680|(r&255)<<24;return e>>>0}ee.htonl=ji;function Ia(r,e){for(var t="",i=0;i>>0}return a}ee.join32=Ra;function ka(r,e){for(var t=new Array(r.length*4),i=0,s=0;i>>24,t[s+1]=a>>>16&255,t[s+2]=a>>>8&255,t[s+3]=a&255):(t[s+3]=a>>>24,t[s+2]=a>>>16&255,t[s+1]=a>>>8&255,t[s]=a&255)}return t}ee.split32=ka;function Na(r,e){return r>>>e|r<<32-e}ee.rotr32=Na;function Va(r,e){return r<>>32-e}ee.rotl32=Va;function Ba(r,e){return r+e>>>0}ee.sum32=Ba;function Ta(r,e,t){return r+e+t>>>0}ee.sum32_3=Ta;function Da(r,e,t,i){return r+e+t+i>>>0}ee.sum32_4=Da;function Oa(r,e,t,i,s){return r+e+t+i+s>>>0}ee.sum32_5=Oa;function La(r,e,t,i){var s=r[e],a=r[e+1],x=i+a>>>0,u=(x>>0,r[e+1]=x}ee.sum64=La;function qa(r,e,t,i){var s=e+i>>>0,a=(s>>0}ee.sum64_hi=qa;function Ua(r,e,t,i){var s=e+i;return s>>>0}ee.sum64_lo=Ua;function za(r,e,t,i,s,a,x,u){var b=0,g=e;g=g+i>>>0,b+=g>>0,b+=g>>0,b+=g>>0}ee.sum64_4_hi=za;function Ga(r,e,t,i,s,a,x,u){var b=e+i+a+u;return b>>>0}ee.sum64_4_lo=Ga;function Ka(r,e,t,i,s,a,x,u,b,g){var y=0,w=e;w=w+i>>>0,y+=w>>0,y+=w>>0,y+=w>>0,y+=w>>0}ee.sum64_5_hi=Ka;function $a(r,e,t,i,s,a,x,u,b,g){var y=e+i+a+u+g;return y>>>0}ee.sum64_5_lo=$a;function Ha(r,e,t){var i=e<<32-t|r>>>t;return i>>>0}ee.rotr64_hi=Ha;function Wa(r,e,t){var i=r<<32-t|e>>>t;return i>>>0}ee.rotr64_lo=Wa;function Ja(r,e,t){return r>>>t}ee.shr64_hi=Ja;function ja(r,e,t){var i=r<<32-t|e>>>t;return i>>>0}ee.shr64_lo=ja;var br={},mi=ee,Xa=Nr;function Qr(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}br.BlockHash=Qr;Qr.prototype.update=function(e,t){if(e=mi.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var i=e.length%this._delta8;this.pending=e.slice(e.length-i,e.length),this.pending.length===0&&(this.pending=null),e=mi.join32(e,0,e.length-i,this.endian);for(var s=0;s>>24&255,s[a++]=e>>>16&255,s[a++]=e>>>8&255,s[a++]=e&255}else for(s[a++]=e&255,s[a++]=e>>>8&255,s[a++]=e>>>16&255,s[a++]=e>>>24&255,s[a++]=0,s[a++]=0,s[a++]=0,s[a++]=0,x=8;x>>3}yt.g0_256=tf;function rf(r){return ht(r,17)^ht(r,19)^r>>>10}yt.g1_256=rf;var ur=ee,nf=br,af=yt,S0=ur.rotl32,vr=ur.sum32,ff=ur.sum32_5,sf=af.ft_1,tn=nf.BlockHash,of=[1518500249,1859775393,2400959708,3395469782];function gt(){if(!(this instanceof gt))return new gt;tn.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}ur.inherits(gt,tn);var cf=gt;gt.blockSize=512;gt.outSize=160;gt.hmacStrength=80;gt.padLength=64;gt.prototype._update=function(e,t){for(var i=this.W,s=0;s<16;s++)i[s]=e[t+s];for(;sthis.blockSize&&(e=new this.Hash().update(e).digest()),Xf(e.length<=this.blockSize);for(var t=e.length;t>8,F=y&255;w?b.push(w,F):b.push(F)}return b}t.toArray=i;function s(x){return x.length===1?"0"+x:x}t.zero2=s;function a(x){for(var u="",b=0;b(F>>1)-1?P=(F>>1)-M:P=M,k.isubn(P)):P=0,w[N]=P,k.iushrn(1)}return w}t.getNAF=i;function s(b,g){var y=[[],[]];b=b.clone(),g=g.clone();for(var w=0,F=0,k;b.cmpn(-w)>0||g.cmpn(-F)>0;){var N=b.andln(3)+w&3,P=g.andln(3)+F&3;N===3&&(N=-1),P===3&&(P=-1);var M;N&1?(k=b.andln(7)+w&7,(k===3||k===5)&&P===2?M=-N:M=N):M=0,y[0].push(M);var V;P&1?(k=g.andln(7)+F&7,(k===3||k===5)&&N===2?V=-P:V=P):V=0,y[1].push(V),2*w===M+1&&(w=1-w),2*F===V+1&&(F=1-F),b.iushrn(1),g.iushrn(1)}return y}t.getJSF=s;function a(b,g,y){var w="_"+g;b.prototype[g]=function(){return this[w]!==void 0?this[w]:this[w]=y.call(this)}}t.cachedProperty=a;function x(b){return typeof b=="string"?t.toArray(b,"hex"):b}t.parseBytes=x;function u(b){return new Z(b,"hex","le")}t.intFromLE=u}),Wr=Ye.getNAF,Qf=Ye.getJSF,Jr=Ye.assert;function Vt(r,e){this.type=r,this.p=new Z(e.p,16),this.red=e.prime?Z.red(e.prime):Z.mont(this.p),this.zero=new Z(0).toRed(this.red),this.one=new Z(1).toRed(this.red),this.two=new Z(2).toRed(this.red),this.n=e.n&&new Z(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var t=this.n&&this.p.div(this.n);!t||t.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var rr=Vt;Vt.prototype.point=function(){throw new Error("Not implemented")};Vt.prototype.validate=function(){throw new Error("Not implemented")};Vt.prototype._fixedNafMul=function(e,t){Jr(e.precomputed);var i=e._getDoubles(),s=Wr(t,1,this._bitLength),a=(1<=u;g--)b=(b<<1)+s[g];x.push(b)}for(var y=this.jpoint(null,null,null),w=this.jpoint(null,null,null),F=a;F>0;F--){for(u=0;u=0;b--){for(var g=0;b>=0&&x[b]===0;b--)g++;if(b>=0&&g++,u=u.dblp(g),b<0)break;var y=x[b];Jr(y!==0),e.type==="affine"?y>0?u=u.mixedAdd(a[y-1>>1]):u=u.mixedAdd(a[-y-1>>1].neg()):y>0?u=u.add(a[y-1>>1]):u=u.add(a[-y-1>>1].neg())}return e.type==="affine"?u.toP():u};Vt.prototype._wnafMulAdd=function(e,t,i,s,a){var x=this._wnafT1,u=this._wnafT2,b=this._wnafT3,g=0,y,w,F;for(y=0;y=1;y-=2){var N=y-1,P=y;if(x[N]!==1||x[P]!==1){b[N]=Wr(i[N],x[N],this._bitLength),b[P]=Wr(i[P],x[P],this._bitLength),g=Math.max(b[N].length,g),g=Math.max(b[P].length,g);continue}var M=[t[N],null,null,t[P]];t[N].y.cmp(t[P].y)===0?(M[1]=t[N].add(t[P]),M[2]=t[N].toJ().mixedAdd(t[P].neg())):t[N].y.cmp(t[P].y.redNeg())===0?(M[1]=t[N].toJ().mixedAdd(t[P]),M[2]=t[N].add(t[P].neg())):(M[1]=t[N].toJ().mixedAdd(t[P]),M[2]=t[N].toJ().mixedAdd(t[P].neg()));var V=[-3,-1,-5,-7,0,7,5,1,3],L=Qf(i[N],i[P]);for(g=Math.max(L[0].length,g),b[N]=new Array(g),b[P]=new Array(g),w=0;w=0;y--){for(var j=0;y>=0;){var W=!0;for(w=0;w=0&&j++,T=T.dblp(j),y<0)break;for(w=0;w0?F=u[w][te-1>>1]:te<0&&(F=u[w][-te-1>>1].neg()),F.type==="affine"?T=T.mixedAdd(F):T=T.add(F))}}for(y=0;y=Math.ceil((e.bitLength()+1)/t.step):!1};it.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],s=this,a=0;a=0&&(k=g,N=y),w.negative&&(w=w.neg(),F=F.neg()),k.negative&&(k=k.neg(),N=N.neg()),[{a:w,b:F},{a:k,b:N}]};nt.prototype._endoSplit=function(e){var t=this.endo.basis,i=t[0],s=t[1],a=s.b.mul(e).divRound(this.n),x=i.b.neg().mul(e).divRound(this.n),u=a.mul(i.a),b=x.mul(s.a),g=a.mul(i.b),y=x.mul(s.b),w=e.sub(u).sub(b),F=g.add(y).neg();return{k1:w,k2:F}};nt.prototype.pointFromX=function(e,t){e=new Z(e,16),e.red||(e=e.toRed(this.red));var i=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var a=s.fromRed().isOdd();return(t&&!a||!t&&a)&&(s=s.redNeg()),this.point(e,s)};nt.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,i=e.y,s=this.a.redMul(t),a=t.redSqr().redMul(t).redIAdd(s).redIAdd(this.b);return i.redSqr().redISub(a).cmpn(0)===0};nt.prototype._endoWnafMulAdd=function(e,t,i){for(var s=this._endoWnafT1,a=this._endoWnafT2,x=0;x":""};ze.prototype.isInfinity=function(){return this.inf};ze.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var t=this.y.redSub(e.y);t.cmpn(0)!==0&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var i=t.redSqr().redISub(this.x).redISub(e.x),s=t.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)};ze.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var t=this.curve.a,i=this.x.redSqr(),s=e.redInvm(),a=i.redAdd(i).redIAdd(i).redIAdd(t).redMul(s),x=a.redSqr().redISub(this.x.redAdd(this.x)),u=a.redMul(this.x.redSub(x)).redISub(this.y);return this.curve.point(x,u)};ze.prototype.getX=function(){return this.x.fromRed()};ze.prototype.getY=function(){return this.y.fromRed()};ze.prototype.mul=function(e){return e=new Z(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};ze.prototype.mulAdd=function(e,t,i){var s=[this,t],a=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(s,a):this.curve._wnafMulAdd(1,s,a,2)};ze.prototype.jmulAdd=function(e,t,i){var s=[this,t],a=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(s,a,!0):this.curve._wnafMulAdd(1,s,a,2,!0)};ze.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};ze.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var i=this.precomputed,s=function(a){return a.neg()};t.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(s)},doubles:i.doubles&&{step:i.doubles.step,points:i.doubles.points.map(s)}}}return t};ze.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function Ge(r,e,t,i){rr.BasePoint.call(this,r,"jacobian"),e===null&&t===null&&i===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Z(0)):(this.x=new Z(e,16),this.y=new Z(t,16),this.z=new Z(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}j0(Ge,rr.BasePoint);nt.prototype.jpoint=function(e,t,i){return new Ge(this,e,t,i)};Ge.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),i=this.x.redMul(t),s=this.y.redMul(t).redMul(e);return this.curve.point(i,s)};Ge.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};Ge.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),i=this.z.redSqr(),s=this.x.redMul(t),a=e.x.redMul(i),x=this.y.redMul(t.redMul(e.z)),u=e.y.redMul(i.redMul(this.z)),b=s.redSub(a),g=x.redSub(u);if(b.cmpn(0)===0)return g.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var y=b.redSqr(),w=y.redMul(b),F=s.redMul(y),k=g.redSqr().redIAdd(w).redISub(F).redISub(F),N=g.redMul(F.redISub(k)).redISub(x.redMul(w)),P=this.z.redMul(e.z).redMul(b);return this.curve.jpoint(k,N,P)};Ge.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),i=this.x,s=e.x.redMul(t),a=this.y,x=e.y.redMul(t).redMul(this.z),u=i.redSub(s),b=a.redSub(x);if(u.cmpn(0)===0)return b.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var g=u.redSqr(),y=g.redMul(u),w=i.redMul(g),F=b.redSqr().redIAdd(y).redISub(w).redISub(w),k=b.redMul(w.redISub(F)).redISub(a.redMul(y)),N=this.z.redMul(u);return this.curve.jpoint(F,k,N)};Ge.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var i=this;for(t=0;t=0)return!1;if(i.redIAdd(a),this.x.cmp(i)===0)return!0}};Ge.prototype.inspect=function(){return this.isInfinity()?"":""};Ge.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var qr=mr(function(r,e){var t=e;t.base=rr,t.short=ts,t.mont=null,t.edwards=null}),Ur=mr(function(r,e){var t=e,i=Ye.assert;function s(u){u.type==="short"?this.curve=new qr.short(u):u.type==="edwards"?this.curve=new qr.edwards(u):this.curve=new qr.mont(u),this.g=this.curve.g,this.n=this.curve.n,this.hash=u.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}t.PresetCurve=s;function a(u,b){Object.defineProperty(t,u,{configurable:!0,enumerable:!0,get:function(){var g=new s(b);return Object.defineProperty(t,u,{configurable:!0,enumerable:!0,value:g}),g}})}a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:Xe.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:Xe.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:Xe.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:Xe.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:Xe.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Xe.sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Xe.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var x;try{x=null.crash()}catch{x=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Xe.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",x]})});function Nt(r){if(!(this instanceof Nt))return new Nt(r);this.hash=r.hash,this.predResist=!!r.predResist,this.outLen=this.hash.outSize,this.minEntropy=r.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=dt.toArray(r.entropy,r.entropyEnc||"hex"),t=dt.toArray(r.nonce,r.nonceEnc||"hex"),i=dt.toArray(r.pers,r.persEnc||"hex");J0(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,t,i)}var hn=Nt;Nt.prototype._init=function(e,t,i){var s=e.concat(t).concat(i);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var a=0;a=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(i||[])),this._reseed=1};Nt.prototype.generate=function(e,t,i,s){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof t!="string"&&(s=i,i=t,t=null),i&&(i=dt.toArray(i,s||"hex"),this._update(i));for(var a=[];a.length"};var rs=Ye.assert;function e0(r,e){if(r instanceof e0)return r;this._importDER(r,e)||(rs(r.r&&r.s,"Signature without r or s"),this.r=new Z(r.r,16),this.s=new Z(r.s,16),r.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=r.recoveryParam)}var t0=e0;function is(){this.place=0}function C0(r,e){var t=r[e.place++];if(!(t&128))return t;var i=t&15;if(i===0||i>4)return!1;for(var s=0,a=0,x=e.place;a>>=0;return s<=127?!1:(e.place=x,s)}function Si(r){for(var e=0,t=r.length-1;!r[e]&&!(r[e+1]&128)&&e>>3);for(r.push(t|128);--t;)r.push(e>>>(t<<3)&255);r.push(e)}e0.prototype.toDER=function(e){var t=this.r.toArray(),i=this.s.toArray();for(t[0]&128&&(t=[0].concat(t)),i[0]&128&&(i=[0].concat(i)),t=Si(t),i=Si(i);!i[0]&&!(i[1]&128);)i=i.slice(1);var s=[2];_0(s,t.length),s=s.concat(t),s.push(2),_0(s,i.length);var a=s.concat(i),x=[48];return _0(x,a.length),x=x.concat(a),Ye.encode(x,e)};var ns=function(){throw new Error("unsupported")},bn=Ye.assert;function rt(r){if(!(this instanceof rt))return new rt(r);typeof r=="string"&&(bn(Object.prototype.hasOwnProperty.call(Ur,r),"Unknown curve "+r),r=Ur[r]),r instanceof Ur.PresetCurve&&(r={curve:r}),this.curve=r.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=r.curve.g,this.g.precompute(r.curve.n.bitLength()+1),this.hash=r.hash||r.curve.hash}var as=rt;rt.prototype.keyPair=function(e){return new X0(this,e)};rt.prototype.keyFromPrivate=function(e,t){return X0.fromPrivate(this,e,t)};rt.prototype.keyFromPublic=function(e,t){return X0.fromPublic(this,e,t)};rt.prototype.genKeyPair=function(e){e||(e={});for(var t=new hn({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||ns(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),s=this.n.sub(new Z(2));;){var a=new Z(t.generate(i));if(!(a.cmp(s)>0))return a.iaddn(1),this.keyFromPrivate(a)}};rt.prototype._truncateToN=function(e,t){var i=e.byteLength()*8-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e};rt.prototype.sign=function(e,t,i,s){typeof i=="object"&&(s=i,i=null),s||(s={}),t=this.keyFromPrivate(t,i),e=this._truncateToN(new Z(e,16));for(var a=this.n.byteLength(),x=t.getPrivate().toArray("be",a),u=e.toArray("be",a),b=new hn({hash:this.hash,entropy:x,nonce:u,pers:s.pers,persEnc:s.persEnc||"utf8"}),g=this.n.sub(new Z(1)),y=0;;y++){var w=s.k?s.k(y):new Z(b.generate(this.n.byteLength()));if(w=this._truncateToN(w,!0),!(w.cmpn(1)<=0||w.cmp(g)>=0)){var F=this.g.mul(w);if(!F.isInfinity()){var k=F.getX(),N=k.umod(this.n);if(N.cmpn(0)!==0){var P=w.invm(this.n).mul(N.mul(t.getPrivate()).iadd(e));if(P=P.umod(this.n),P.cmpn(0)!==0){var M=(F.getY().isOdd()?1:0)|(k.cmp(N)!==0?2:0);return s.canonical&&P.cmp(this.nh)>0&&(P=this.n.sub(P),M^=1),new t0({r:N,s:P,recoveryParam:M})}}}}}};rt.prototype.verify=function(e,t,i,s){e=this._truncateToN(new Z(e,16)),i=this.keyFromPublic(i,s),t=new t0(t,"hex");var a=t.r,x=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0||x.cmpn(1)<0||x.cmp(this.n)>=0)return!1;var u=x.invm(this.n),b=u.mul(e).umod(this.n),g=u.mul(a).umod(this.n),y;return this.curve._maxwellTrick?(y=this.g.jmulAdd(b,i.getPublic(),g),y.isInfinity()?!1:y.eqXToP(a)):(y=this.g.mulAdd(b,i.getPublic(),g),y.isInfinity()?!1:y.getX().umod(this.n).cmp(a)===0)};rt.prototype.recoverPubKey=function(r,e,t,i){bn((3&t)===t,"The recovery param is more than two bits"),e=new t0(e,i);var s=this.n,a=new Z(r),x=e.r,u=e.s,b=t&1,g=t>>1;if(x.cmp(this.curve.p.umod(this.curve.n))>=0&&g)throw new Error("Unable to find sencond key candinate");g?x=this.curve.pointFromX(x.add(this.curve.n),b):x=this.curve.pointFromX(x,b);var y=e.r.invm(s),w=s.sub(a).mul(y).umod(s),F=u.mul(y).umod(s);return this.g.mulAdd(w,x,F)};rt.prototype.getKeyRecoveryParam=function(r,e,t,i){if(e=new t0(e,i),e.recoveryParam!==null)return e.recoveryParam;for(var s=0;s<4;s++){var a;try{a=this.recoverPubKey(r,e,s)}catch{continue}if(a.eq(t))return s}throw new Error("Unable to find valid recovery factor")};var fs=mr(function(r,e){var t=e;t.version="6.5.4",t.utils=Ye,t.rand=function(){throw new Error("unsupported")},t.curve=qr,t.curves=Ur,t.ec=as,t.eddsa=null}),ss=fs.ec;const os="signing-key/5.7.0",O0=new $(os);let E0=null;function Zt(){return E0||(E0=new ss("secp256k1")),E0}class cr{constructor(e){Y(this,"curve","secp256k1"),Y(this,"privateKey",J(e)),Li(this.privateKey)!==32&&O0.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const t=Zt().keyFromPrivate(z(this.privateKey));Y(this,"publicKey","0x"+t.getPublic(!1,"hex")),Y(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),Y(this,"_isSigningKey",!0)}_addPoint(e){const t=Zt().keyFromPublic(z(this.publicKey)),i=Zt().keyFromPublic(z(e));return"0x"+t.pub.add(i.pub).encodeCompressed("hex")}signDigest(e){const t=Zt().keyFromPrivate(z(this.privateKey)),i=z(e);i.length!==32&&O0.throwArgumentError("bad digest length","digest",e);const s=t.sign(i,{canonical:!0});return kr({recoveryParam:s.recoveryParam,r:tt("0x"+s.r.toString(16),32),s:tt("0x"+s.s.toString(16),32)})}computeSharedSecret(e){const t=Zt().keyFromPrivate(z(this.privateKey)),i=Zt().keyFromPublic(z(pn(e)));return tt("0x"+t.derive(i.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}}function pn(r,e){const t=z(r);return t.length===32?new cr(t).publicKey:t.length===33?"0x"+Zt().keyFromPublic(t).getPublic(!1,"hex"):t.length===65?J(t):O0.throwArgumentError("invalid public or private key","key","[REDACTED]")}const cs="transactions/5.7.0",ct=new $(cs);var Mi;(function(r){r[r.legacy=0]="legacy",r[r.eip2930=1]="eip2930",r[r.eip1559=2]="eip1559"})(Mi||(Mi={}));const ds=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],xs={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function dr(r){const e=pn(r);return xt(_r($e(_r(e,1)),12))}function Ze(r,e){const t=Rt(ae.from(r).toHexString());return t.length>32&&ct.throwArgumentError("invalid length for "+e,"transaction:"+e,r),t}function P0(r,e){return{address:xt(r),storageKeys:(e||[]).map((t,i)=>(Li(t)!==32&&ct.throwArgumentError("invalid access list storageKey",`accessList[${r}:${i}]`,t),t.toLowerCase()))}}function us(r){if(Array.isArray(r))return r.map((t,i)=>Array.isArray(t)?(t.length>2&&ct.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${i}]`,t),P0(t[0],t[1])):P0(t.address,t.storageKeys));const e=Object.keys(r).map(t=>{const i=r[t].reduce((s,a)=>(s[a]=!0,s),{});return P0(t,Object.keys(i).sort())});return e.sort((t,i)=>t.address.localeCompare(i.address)),e}function gn(r){return us(r).map(e=>[e.address,e.storageKeys])}function ls(r,e){if(r.gasPrice!=null){const i=ae.from(r.gasPrice),s=ae.from(r.maxFeePerGas||0);i.eq(s)||ct.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:i,maxFeePerGas:s})}const t=[Ze(r.chainId||0,"chainId"),Ze(r.nonce||0,"nonce"),Ze(r.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Ze(r.maxFeePerGas||0,"maxFeePerGas"),Ze(r.gasLimit||0,"gasLimit"),r.to!=null?xt(r.to):"0x",Ze(r.value||0,"value"),r.data||"0x",gn(r.accessList||[])];if(e){const i=kr(e);t.push(Ze(i.recoveryParam,"recoveryParam")),t.push(Rt(i.r)),t.push(Rt(i.s))}return or(["0x02",Hr(t)])}function hs(r,e){const t=[Ze(r.chainId||0,"chainId"),Ze(r.nonce||0,"nonce"),Ze(r.gasPrice||0,"gasPrice"),Ze(r.gasLimit||0,"gasLimit"),r.to!=null?xt(r.to):"0x",Ze(r.value||0,"value"),r.data||"0x",gn(r.accessList||[])];if(e){const i=kr(e);t.push(Ze(i.recoveryParam,"recoveryParam")),t.push(Rt(i.r)),t.push(Rt(i.s))}return or(["0x01",Hr(t)])}function bs(r,e){jn(r,xs);const t=[];ds.forEach(function(x){let u=r[x.name]||[];const b={};x.numeric&&(b.hexPad="left"),u=z(J(u,b)),x.length&&u.length!==x.length&&u.length>0&&ct.throwArgumentError("invalid length for "+x.name,"transaction:"+x.name,u),x.maxLength&&(u=Rt(u),u.length>x.maxLength&&ct.throwArgumentError("invalid length for "+x.name,"transaction:"+x.name,u)),t.push(J(u))});let i=0;if(r.chainId!=null?(i=r.chainId,typeof i!="number"&&ct.throwArgumentError("invalid transaction.chainId","transaction",r)):e&&!G0(e)&&e.v>28&&(i=Math.floor((e.v-35)/2)),i!==0&&(t.push(J(i)),t.push("0x"),t.push("0x")),!e)return Hr(t);const s=kr(e);let a=27+s.recoveryParam;return i!==0?(t.pop(),t.pop(),t.pop(),a+=i*2+8,s.v>28&&s.v!==a&&ct.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):s.v!==a&&ct.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),t.push(J(a)),t.push(Rt(z(s.r))),t.push(Rt(z(s.s))),Hr(t)}function Ai(r,e){if(r.type==null||r.type===0)return r.accessList!=null&&ct.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",r),bs(r,e);switch(r.type){case 1:return hs(r,e);case 2:return ls(r,e)}return ct.throwError(`unsupported transaction type: ${r.type}`,$.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:r.type})}class mn{constructor(e){Y(this,"alphabet",e),Y(this,"base",e.length),Y(this,"_alphabetMap",{}),Y(this,"_leader",e.charAt(0));for(let t=0;t0;)i.push(x%this.base),x=x/this.base|0}let s="";for(let a=0;t[a]===0&&a=0;--a)s+=this.alphabet[i[a]];return s}decode(e){if(typeof e!="string")throw new TypeError("Expected String");let t=[];if(e.length===0)return new Uint8Array(t);t.push(0);for(let i=0;i>=8;for(;a>0;)t.push(a&255),a>>=8}for(let i=0;e[i]===this._leader&&i>24&255,b[e.length+1]=w>>16&255,b[e.length+2]=w>>8&255,b[e.length+3]=w&255;let F=z(jr(s,r,b));a||(a=F.length,y=new Uint8Array(a),x=Math.ceil(i/a),g=i-(x-1)*a),y.set(F);for(let P=1;P=256)throw new Error("Depth too large!");return Ei(kt([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",J(this.depth),this.parentFingerprint,tt(J(this.index),4),this.chainCode,this.privateKey!=null?kt(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new et(nr,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(e){if(e>4294967295)throw new Error("invalid index - "+String(e));let t=this.path;t&&(t+="/"+(e&~wr));const i=new Uint8Array(37);if(e&wr){if(!this.privateKey)throw new Error("cannot derive child of neutered node");i.set(z(this.privateKey),1),t&&(t+="'")}else i.set(z(this.publicKey));for(let w=24;w>=0;w-=8)i[33+(w>>3)]=e>>24-w&255;const s=z(jr(Pr.sha512,this.chainCode,i)),a=s.slice(0,32),x=s.slice(32);let u=null,p=null;this.privateKey?u=Tr(ae.from(a).add(this.privateKey).mod(As)):p=new cr(J(a))._addPoint(this.publicKey);let g=t;const y=this.mnemonic;return y&&(g=Object.freeze({phrase:y.phrase,path:t,locale:y.locale||"en"})),new et(nr,u,p,this.fingerprint,Tr(x),e,this.depth+1,g)}derivePath(e){const t=e.split("/");if(t.length===0||t[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+e);t[0]==="m"&&t.shift();let i=this;for(let s=0;s=wr)throw new Error("invalid path index - "+a);i=i._derive(wr+x)}else if(a.match(/^[0-9]+$/)){const x=parseInt(a);if(x>=wr)throw new Error("invalid path index - "+a);i=i._derive(x)}else throw new Error("invalid path component - "+a)}return i}static _fromSeed(e,t){const i=z(e);if(i.length<16||i.length>64)throw new Error("invalid seed");const s=z(jr(Pr.sha512,Cs,i));return new et(nr,Tr(s.slice(0,32)),null,"0x00000000",Tr(s.slice(32)),0,0,t)}static fromMnemonic(e,t,i){return i=Y0(i),e=Q0(Sn(e,i),i),et._fromSeed(Es(e,t),{phrase:e,path:"m",locale:i.locale})}static fromSeed(e){return et._fromSeed(e,null)}static fromExtendedKey(e){const t=vn.decode(e);(t.length!==82||Ei(t.slice(0,78))!==e)&&Xr.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const i=t[4],s=J(t.slice(5,9)),a=parseInt(J(t.slice(9,13)).substring(2),16),x=J(t.slice(13,45)),u=t.slice(45,78);switch(J(t.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new et(nr,null,J(u),s,x,a,i,null);case"0x0488ade4":case"0x04358394 ":if(u[0]!==0)break;return new et(nr,J(u.slice(1)),null,s,x,a,i,null)}return Xr.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Es(r,e){e||(e="");const t=St("mnemonic"+e,tr.NFKD);return Z0(St(r,tr.NFKD),t,2048,64,"sha512")}function Sn(r,e){e=Y0(e),Xr.checkNormalize();const t=e.split(r);if(t.length%3!==0)throw new Error("invalid mnemonic");const i=z(new Uint8Array(Math.ceil(11*t.length/8)));let s=0;for(let g=0;g>3]|=1<<7-s%8),s++}const a=32*t.length/3,x=t.length/3,u=wn(x);if((z(Fr(i.slice(0,a/8)))[0]&u)!==(i[i.length-1]&u))throw new Error("invalid checksum");return J(i.slice(0,a/8))}function Q0(r,e){if(e=Y0(e),r=z(r),r.length%4!==0||r.length<16||r.length>32)throw new Error("invalid entropy");const t=[0];let i=11;for(let x=0;x8?(t[t.length-1]<<=8,t[t.length-1]|=r[x],i-=8):(t[t.length-1]<<=i,t[t.length-1]|=r[x]>>8-i,t.push(r[x]&_s(8-i)),i+=3);const s=r.length/4,a=z(Fr(r))[0]&wn(s);return t[t.length-1]<<=s,t[t.length-1]|=a>>8-s,e.join(t.map(x=>e.getWord(x)))}const Ps="random/5.7.0",L0=new $(Ps);function Fs(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}const Pi=Fs();let zr=Pi.crypto||Pi.msCrypto;(!zr||!zr.getRandomValues)&&(L0.warn("WARNING: Missing strong random number source"),zr={getRandomValues:function(r){return L0.throwError("no secure random source avaialble",$.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function Ar(r){(r<=0||r>1024||r%1||r!=r)&&L0.throwArgumentError("invalid length","length",r);const e=new Uint8Array(r);return zr.getRandomValues(e),z(e)}var Mn={exports:{}};(function(r,e){(function(t){function i(d){return parseInt(d)===d}function s(d){if(!i(d.length))return!1;for(var f=0;f255)return!1;return!0}function a(d,f){if(d.buffer&&ArrayBuffer.isView(d)&&d.name==="Uint8Array")return f&&(d.slice?d=d.slice():d=Array.prototype.slice.call(d)),d;if(Array.isArray(d)){if(!s(d))throw new Error("Array contains invalid value: "+d);return new Uint8Array(d)}if(i(d.length)&&s(d))return new Uint8Array(d);throw new Error("unsupported array-like object")}function x(d){return new Uint8Array(d)}function u(d,f,h,C,o){(C!=null||o!=null)&&(d.slice?d=d.slice(C,o):d=Array.prototype.slice.call(d,C,o)),f.set(d,h)}var p=function(){function d(h){var C=[],o=0;for(h=encodeURI(h);o191&&A<224?(C.push(String.fromCharCode((A&31)<<6|h[o+1]&63)),o+=2):(C.push(String.fromCharCode((A&15)<<12|(h[o+1]&63)<<6|h[o+2]&63)),o+=3)}return C.join("")}return{toBytes:d,fromBytes:f}}(),g=function(){function d(C){for(var o=[],A=0;A>4]+f[I&15])}return o.join("")}return{toBytes:d,fromBytes:h}}(),y={16:10,24:12,32:14},w=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],F=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],k=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],N=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],P=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],M=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],V=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],L=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],U=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],K=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],T=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],G=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],j=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],W=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],te=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function re(d){for(var f=[],h=0;h>2,this._Ke[A][f%4]=o[f],this._Kd[d-A][f%4]=o[f];for(var I=0,E=C,R;E>16&255]<<24^F[R>>8&255]<<16^F[R&255]<<8^F[R>>24&255]^w[I]<<24,I+=1,C!=8)for(var f=1;f>8&255]<<8^F[R>>16&255]<<16^F[R>>24&255]<<24;for(var f=C/2+1;f>2,B=E%4,this._Ke[O][B]=o[f],this._Kd[d-O][B]=o[f++],E++}for(var O=1;O>24&255]^j[R>>16&255]^W[R>>8&255]^te[R&255]},H.prototype.encrypt=function(d){if(d.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var f=this._Ke.length-1,h=[0,0,0,0],C=re(d),o=0;o<4;o++)C[o]^=this._Ke[0][o];for(var A=1;A>24&255]^P[C[(o+1)%4]>>16&255]^M[C[(o+2)%4]>>8&255]^V[C[(o+3)%4]&255]^this._Ke[A][o];C=h.slice()}for(var I=x(16),E,o=0;o<4;o++)E=this._Ke[f][o],I[4*o]=(F[C[o]>>24&255]^E>>24)&255,I[4*o+1]=(F[C[(o+1)%4]>>16&255]^E>>16)&255,I[4*o+2]=(F[C[(o+2)%4]>>8&255]^E>>8)&255,I[4*o+3]=(F[C[(o+3)%4]&255]^E)&255;return I},H.prototype.decrypt=function(d){if(d.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var f=this._Kd.length-1,h=[0,0,0,0],C=re(d),o=0;o<4;o++)C[o]^=this._Kd[0][o];for(var A=1;A>24&255]^U[C[(o+3)%4]>>16&255]^K[C[(o+2)%4]>>8&255]^T[C[(o+1)%4]&255]^this._Kd[A][o];C=h.slice()}for(var I=x(16),E,o=0;o<4;o++)E=this._Kd[f][o],I[4*o]=(k[C[o]>>24&255]^E>>24)&255,I[4*o+1]=(k[C[(o+3)%4]>>16&255]^E>>16)&255,I[4*o+2]=(k[C[(o+2)%4]>>8&255]^E>>8)&255,I[4*o+3]=(k[C[(o+1)%4]&255]^E)&255;return I};var ne=function(d){if(!(this instanceof ne))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new H(d)};ne.prototype.encrypt=function(d){if(d=a(d),d.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var f=x(d.length),h=x(16),C=0;C=0;--f)this._counter[f]=d%256,d=d>>8},l.prototype.setBytes=function(d){if(d=a(d,!0),d.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=d},l.prototype.increment=function(){for(var d=15;d>=0;d--)if(this._counter[d]===255)this._counter[d]=0;else{this._counter[d]++;break}};var b=function(d,f){if(!(this instanceof b))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",f instanceof l||(f=new l(f)),this._counter=f,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new H(d)};b.prototype.encrypt=function(d){for(var f=a(d,!0),h=0;h16)throw new Error("PKCS#7 padding byte out of range");for(var h=d.length-f,C=0;C=64;){let _=V,d=L,f=U,h=K,C=T,o=G,A=j,I=W,E,R,O,B,D;for(R=0;R<16;R++)O=v+R*4,te[R]=(b[O]&255)<<24|(b[O+1]&255)<<16|(b[O+2]&255)<<8|b[O+3]&255;for(R=16;R<64;R++)E=te[R-2],B=(E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10,E=te[R-15],D=(E>>>7|E<<25)^(E>>>18|E<<14)^E>>>3,te[R]=(B+te[R-7]|0)+(D+te[R-16]|0)|0;for(R=0;R<64;R++)B=(((C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7))+(C&o^~C&A)|0)+(I+(M[R]+te[R]|0)|0)|0,D=((_>>>2|_<<30)^(_>>>13|_<<19)^(_>>>22|_<<10))+(_&d^_&f^d&f)|0,I=A,A=o,o=C,C=h+B|0,h=f,f=d,d=_,_=B+D|0;V=V+_|0,L=L+d|0,U=U+f|0,K=K+h|0,T=T+C|0,G=G+o|0,j=j+A|0,W=W+I|0,v+=64,S-=64}}re(P);let H,ne=P.length%64,m=P.length/536870912|0,n=P.length<<3,c=ne<56?56:120,l=P.slice(P.length-ne,P.length);for(l.push(128),H=ne+1;H>>24&255),l.push(m>>>16&255),l.push(m>>>8&255),l.push(m>>>0&255),l.push(n>>>24&255),l.push(n>>>16&255),l.push(n>>>8&255),l.push(n>>>0&255),re(l),[V>>>24&255,V>>>16&255,V>>>8&255,V>>>0&255,L>>>24&255,L>>>16&255,L>>>8&255,L>>>0&255,U>>>24&255,U>>>16&255,U>>>8&255,U>>>0&255,K>>>24&255,K>>>16&255,K>>>8&255,K>>>0&255,T>>>24&255,T>>>16&255,T>>>8&255,T>>>0&255,G>>>24&255,G>>>16&255,G>>>8&255,G>>>0&255,j>>>24&255,j>>>16&255,j>>>8&255,j>>>0&255,W>>>24&255,W>>>16&255,W>>>8&255,W>>>0&255]}function a(P,M,V){P=P.length<=64?P:s(P);const L=64+M.length+4,U=new Array(L),K=new Array(64);let T,G=[];for(T=0;T<64;T++)U[T]=54;for(T=0;T=L-4;W--){if(U[W]++,U[W]<=255)return;U[W]=0}}for(;V>=32;)j(),G=G.concat(s(K.concat(s(U)))),V-=32;return V>0&&(j(),G=G.concat(s(K.concat(s(U))).slice(0,V))),G}function x(P,M,V,L,U){let K;for(y(P,(2*V-1)*16,U,0,16),K=0;K<2*V;K++)g(P,K*16,U,16),p(U,L),y(U,0,P,M+K*16,16);for(K=0;K>>32-M}function p(P,M){y(P,0,M,0,16);for(let V=8;V>0;V-=2)M[4]^=u(M[0]+M[12],7),M[8]^=u(M[4]+M[0],9),M[12]^=u(M[8]+M[4],13),M[0]^=u(M[12]+M[8],18),M[9]^=u(M[5]+M[1],7),M[13]^=u(M[9]+M[5],9),M[1]^=u(M[13]+M[9],13),M[5]^=u(M[1]+M[13],18),M[14]^=u(M[10]+M[6],7),M[2]^=u(M[14]+M[10],9),M[6]^=u(M[2]+M[14],13),M[10]^=u(M[6]+M[2],18),M[3]^=u(M[15]+M[11],7),M[7]^=u(M[3]+M[15],9),M[11]^=u(M[7]+M[3],13),M[15]^=u(M[11]+M[7],18),M[1]^=u(M[0]+M[3],7),M[2]^=u(M[1]+M[0],9),M[3]^=u(M[2]+M[1],13),M[0]^=u(M[3]+M[2],18),M[6]^=u(M[5]+M[4],7),M[7]^=u(M[6]+M[5],9),M[4]^=u(M[7]+M[6],13),M[5]^=u(M[4]+M[7],18),M[11]^=u(M[10]+M[9],7),M[8]^=u(M[11]+M[10],9),M[9]^=u(M[8]+M[11],13),M[10]^=u(M[9]+M[8],18),M[12]^=u(M[15]+M[14],7),M[13]^=u(M[12]+M[15],9),M[14]^=u(M[13]+M[12],13),M[15]^=u(M[14]+M[13],18);for(let V=0;V<16;++V)P[V]+=M[V]}function g(P,M,V,L){for(let U=0;U=256)return!1}return!0}function F(P,M){if(typeof P!="number"||P%1)throw new Error("invalid "+M);return P}function k(P,M,V,L,U,K,T){if(V=F(V,"N"),L=F(L,"r"),U=F(U,"p"),K=F(K,"dkLen"),V===0||V&V-1)throw new Error("N must be power of 2");if(V>2147483647/128/L)throw new Error("N too large");if(L>2147483647/128/U)throw new Error("r too large");if(!w(P))throw new Error("password must be an array or buffer");if(P=Array.prototype.slice.call(P),!w(M))throw new Error("salt must be an array or buffer");M=Array.prototype.slice.call(M);let G=a(P,M,U*128*L);const j=new Uint32Array(U*32*L);for(let C=0;Cd&&(C=d);for(let A=0;Ad&&(C=d);for(let A=0;A>0&255),G.push(j[A]>>8&255),G.push(j[A]>>16&255),G.push(j[A]>>24&255);const o=a(P,G,K);return T&&T(null,1,o),o}T&&f(h)};if(!T)for(;;){const C=h();if(C!=null)return C}h()}const N={scrypt:function(P,M,V,L,U,K,T){return new Promise(function(G,j){let W=0;T&&T(0),k(P,M,V,L,U,K,function(te,re,H){if(te)j(te);else if(H)T&&W!==1&&T(1),G(new Uint8Array(H));else if(T&&re!==W)return W=re,T(re)})})},syncScrypt:function(P,M,V,L,U,K){return new Uint8Array(k(P,M,V,L,U,K))}};r.exports=N})()})(Pn);var Vs=Pn.exports;const ti=Rr(Vs);var Bs=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function p(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,p)}g((i=i.apply(r,e||[])).next())})};const q0=new $(An);function Fi(r){return r!=null&&r.mnemonic&&r.mnemonic.phrase}class Ts extends Ui{isKeystoreAccount(e){return!!(e&&e._isKeystoreAccount)}}function Ds(r,e,t){if(Ue(r,"crypto/cipher")==="aes-128-ctr"){const s=er(Ue(r,"crypto/cipherparams/iv")),a=new lt.Counter(s),x=new lt.ModeOfOperation.ctr(e,a);return z(x.decrypt(t))}return null}function Fn(r,e){const t=er(Ue(r,"crypto/ciphertext"));if(J($e(kt([e.slice(16,32),t]))).substring(2)!==Ue(r,"crypto/mac").toLowerCase())throw new Error("invalid password");const s=Ds(r,e.slice(0,16),t);s||q0.throwError("unsupported cipher",$.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const a=e.slice(32,64),x=dr(s);if(r.address){let p=r.address.toLowerCase();if(p.substring(0,2)!=="0x"&&(p="0x"+p),xt(p)!==x)throw new Error("address mismatch")}const u={_isKeystoreAccount:!0,address:x,privateKey:J(s)};if(Ue(r,"x-ethers/version")==="0.1"){const p=er(Ue(r,"x-ethers/mnemonicCiphertext")),g=er(Ue(r,"x-ethers/mnemonicCounter")),y=new lt.Counter(g),w=new lt.ModeOfOperation.ctr(a,y),F=Ue(r,"x-ethers/path")||Ir,k=Ue(r,"x-ethers/locale")||"en",N=z(w.decrypt(p));try{const P=Q0(N,k),M=et.fromMnemonic(P,null,k).derivePath(F);if(M.privateKey!=u.privateKey)throw new Error("mnemonic mismatch");u.mnemonic=M.mnemonic}catch(P){if(P.code!==$.errors.INVALID_ARGUMENT||P.argument!=="wordlist")throw P}}return new Ts(u)}function In(r,e,t,i,s){return z(Z0(r,e,t,i,s))}function Os(r,e,t,i,s){return Promise.resolve(In(r,e,t,i,s))}function Rn(r,e,t,i,s){const a=ei(e),x=Ue(r,"crypto/kdf");if(x&&typeof x=="string"){const u=function(p,g){return q0.throwArgumentError("invalid key-derivation function parameters",p,g)};if(x.toLowerCase()==="scrypt"){const p=er(Ue(r,"crypto/kdfparams/salt")),g=parseInt(Ue(r,"crypto/kdfparams/n")),y=parseInt(Ue(r,"crypto/kdfparams/r")),w=parseInt(Ue(r,"crypto/kdfparams/p"));(!g||!y||!w)&&u("kdf",x),g&g-1&&u("N",g);const F=parseInt(Ue(r,"crypto/kdfparams/dklen"));return F!==32&&u("dklen",F),i(a,p,g,y,w,64,s)}else if(x.toLowerCase()==="pbkdf2"){const p=er(Ue(r,"crypto/kdfparams/salt"));let g=null;const y=Ue(r,"crypto/kdfparams/prf");y==="hmac-sha256"?g="sha256":y==="hmac-sha512"?g="sha512":u("prf",y);const w=parseInt(Ue(r,"crypto/kdfparams/c")),F=parseInt(Ue(r,"crypto/kdfparams/dklen"));return F!==32&&u("dklen",F),t(a,p,w,F,g)}}return q0.throwArgumentError("unsupported key-derivation function","kdf",x)}function Ls(r,e){const t=JSON.parse(r),i=Rn(t,e,In,ti.syncScrypt);return Fn(t,i)}function qs(r,e,t){return Bs(this,void 0,void 0,function*(){const i=JSON.parse(r),s=yield Rn(i,e,Os,ti.scrypt,t);return Fn(i,s)})}function Us(r,e,t,i){try{if(xt(r.address)!==dr(r.privateKey))throw new Error("address/privateKey mismatch");if(Fi(r)){const M=r.mnemonic;if(et.fromMnemonic(M.phrase,null,M.locale).derivePath(M.path||Ir).privateKey!=r.privateKey)throw new Error("mnemonic mismatch")}}catch(M){return Promise.reject(M)}typeof t=="function"&&!i&&(i=t,t={}),t||(t={});const s=z(r.privateKey),a=ei(e);let x=null,u=null,p=null;if(Fi(r)){const M=r.mnemonic;x=z(Sn(M.phrase,M.locale||"en")),u=M.path||Ir,p=M.locale||"en"}let g=t.client;g||(g="ethers.js");let y=null;t.salt?y=z(t.salt):y=Ar(32);let w=null;if(t.iv){if(w=z(t.iv),w.length!==16)throw new Error("invalid iv")}else w=Ar(16);let F=null;if(t.uuid){if(F=z(t.uuid),F.length!==16)throw new Error("invalid uuid")}else F=Ar(16);let k=1<<17,N=8,P=1;return t.scrypt&&(t.scrypt.N&&(k=t.scrypt.N),t.scrypt.r&&(N=t.scrypt.r),t.scrypt.p&&(P=t.scrypt.p)),ti.scrypt(a,y,k,N,P,64,i).then(M=>{M=z(M);const V=M.slice(0,16),L=M.slice(16,32),U=M.slice(32,64),K=new lt.Counter(w),T=new lt.ModeOfOperation.ctr(V,K),G=z(T.encrypt(s)),j=$e(kt([L,G])),W={address:r.address.substring(2).toLowerCase(),id:Rs(F),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:J(w).substring(2)},ciphertext:J(G).substring(2),kdf:"scrypt",kdfparams:{salt:J(y).substring(2),n:k,dklen:32,p:P,r:N},mac:j.substring(2)}};if(x){const te=Ar(16),re=new lt.Counter(te),H=new lt.ModeOfOperation.ctr(U,re),ne=z(H.encrypt(x)),m=new Date,n=m.getUTCFullYear()+"-"+Sr(m.getUTCMonth()+1,2)+"-"+Sr(m.getUTCDate(),2)+"T"+Sr(m.getUTCHours(),2)+"-"+Sr(m.getUTCMinutes(),2)+"-"+Sr(m.getUTCSeconds(),2)+".0Z";W["x-ethers"]={client:g,gethFilename:"UTC--"+n+"--"+W.address,mnemonicCounter:J(te).substring(2),mnemonicCiphertext:J(ne).substring(2),path:u,locale:p,version:"0.1"}}return JSON.stringify(W)})}function zs(r,e,t){if(_n(r)){t&&t(0);const i=Cn(r,e);return t&&t(1),Promise.resolve(i)}return En(r)?qs(r,e,t):Promise.reject(new Error("invalid JSON wallet"))}function Gs(r,e){if(_n(r))return Cn(r,e);if(En(r))return Ls(r,e);throw new Error("invalid JSON wallet")}const Ks="wallet/5.7.0";var Ii=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function p(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,p)}g((i=i.apply(r,e||[])).next())})};const ar=new $(Ks);function $s(r){return r!=null&&He(r.privateKey,32)&&r.address!=null}function Hs(r){const e=r.mnemonic;return e&&e.phrase}class Qt extends W0{constructor(e,t){if(super(),$s(e)){const i=new cr(e.privateKey);if(Y(this,"_signingKey",()=>i),Y(this,"address",dr(this.publicKey)),this.address!==xt(e.address)&&ar.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),Hs(e)){const s=e.mnemonic;Y(this,"_mnemonic",()=>({phrase:s.phrase,path:s.path||Ir,locale:s.locale||"en"}));const a=this.mnemonic,x=et.fromMnemonic(a.phrase,null,a.locale).derivePath(a.path);dr(x.privateKey)!==this.address&&ar.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else Y(this,"_mnemonic",()=>null)}else{if(cr.isSigningKey(e))e.curve!=="secp256k1"&&ar.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),Y(this,"_signingKey",()=>e);else{typeof e=="string"&&e.match(/^[0-9a-f]*$/i)&&e.length===64&&(e="0x"+e);const i=new cr(e);Y(this,"_signingKey",()=>i)}Y(this,"_mnemonic",()=>null),Y(this,"address",dr(this.publicKey))}t&&!H0.isProvider(t)&&ar.throwArgumentError("invalid provider","provider",t),Y(this,"provider",t||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(e){return new Qt(this,e)}signTransaction(e){return fr(e).then(t=>{t.from!=null&&(xt(t.from)!==this.address&&ar.throwArgumentError("transaction from address mismatch","transaction.from",e.from),delete t.from);const i=this._signingKey().signDigest($e(Ai(t)));return Ai(t,i)})}signMessage(e){return Ii(this,void 0,void 0,function*(){return oi(this._signingKey().signDigest(da(e)))})}_signTypedData(e,t,i){return Ii(this,void 0,void 0,function*(){const s=yield je.resolveNames(e,t,i,a=>(this.provider==null&&ar.throwError("cannot resolve ENS names without a provider",$.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:a}),this.provider.resolveName(a)));return oi(this._signingKey().signDigest(je.hash(s.domain,t,s.value)))})}encrypt(e,t,i){if(typeof t=="function"&&!i&&(i=t,t={}),i&&typeof i!="function")throw new Error("invalid callback");return t||(t={}),Us(this,e,t,i)}static createRandom(e){let t=Ar(16);e||(e={}),e.extraEntropy&&(t=z(_r($e(kt([t,e.extraEntropy])),0,16)));const i=Q0(t,e.locale);return Qt.fromMnemonic(i,e.path,e.locale)}static fromEncryptedJson(e,t,i){return zs(e,t,i).then(s=>new Qt(s))}static fromEncryptedJsonSync(e,t){return new Qt(Gs(e,t))}static fromMnemonic(e,t,i){return t||(t=Ir),new Qt(et.fromMnemonic(e,null,i).derivePath(t))}}var Ws=Tn({defaultClassName:"_1bhyzin0",variantClassNames:{size:{xs:"_1bhyzin1",sm:"_1bhyzin2",md:"_1bhyzin3",lg:"_1bhyzin4",xl:"_1bhyzin5"}},defaultVariants:{},compoundVariants:[]});const U0=1e3,xr=64,F0=xr/2,I0=(r,e=U0)=>r%e/(U0/xr),Yt=(r,e=0)=>{let t=3735928559^e,i=1103547991^e;for(let s=0,a;s>>16,2246822507)^Math.imul(i^i>>>13,3266489909),i=Math.imul(i^i>>>16,2246822507)^Math.imul(t^t>>>13,3266489909),4294967296*(2097151&i)+(t>>>0)},Js=(r,e,t)=>{const i=Math.random().toString(36).slice(2,12),s=r%360,a=(r+120)%360,x=t%360;return{id:Yt(i),a:`hsl(${s}deg 100% 40%)`,b:`hsl(${a}deg 100% 50%)`,c:`hsl(${x}deg 100% 50%)`}},js=(r,e)=>{const t=[];for(let i=0;i{const a=xr/10+I0(i.r,U0*1.5/(s+1));return{...Js(i.a,i.b,i.c),x:I0(i.x),y:I0(i.y),r:a}})},Zr=p0.memo(r=>{const{className:e,address:t,size:i="md",complexity:s=1,...a}=r,x=js(t,s);return ie.jsxs(R0,{as:"svg",className:Nn(e,Ws({size:i})),viewBox:`0 0 ${xr} ${xr}`,version:"1.1",flexShrink:"0",borderRadius:"circle",overflow:"hidden",xmlns:"http://www.w3.org/2000/svg",...a,children:[ie.jsxs("defs",{children:[ie.jsx("clipPath",{id:"circle-clip",children:ie.jsx("circle",{cx:F0,cy:F0,r:F0})}),ie.jsxs("filter",{id:"blur",x:"-10%",y:"-10%",width:"120%",height:"120%",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[ie.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),ie.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),ie.jsx("feGaussianBlur",{stdDeviation:xr/10,result:"effect1_foregroundBlur"})]}),ie.jsxs("linearGradient",{id:`gradient-background-${x[0].id}`,x1:"0",y1:"0",x2:"1",y2:"1",children:[ie.jsx("stop",{offset:"0",stopColor:x[0].c}),ie.jsx("stop",{offset:"1",stopColor:x[0].a})]}),x.map(u=>ie.jsxs(p0.Fragment,{children:[ie.jsxs("radialGradient",{id:`gradient-primary-${u.id}`,children:[ie.jsx("stop",{offset:"0",stopColor:u.a}),ie.jsx("stop",{offset:"1",stopColor:u.b})]}),ie.jsxs("radialGradient",{id:`gradient-secondary-${u.id}`,children:[ie.jsx("stop",{offset:"0",stopColor:u.c}),ie.jsx("stop",{offset:"1",stopColor:u.b})]})]},u.id))]}),ie.jsxs("g",{clipPath:"url(#circle-clip)",children:[ie.jsx("rect",{width:"100%",height:"100%",fill:`url(#gradient-background-${x[0].id})`}),ie.jsx("g",{filter:"url(#blur)",children:x.map(u=>ie.jsxs(p0.Fragment,{children:[ie.jsx("circle",{fill:`url(#gradient-primary-${u.id})`,cx:u.x,cy:u.y,r:u.r}),ie.jsx("circle",{fill:`url(#gradient-secondary-${u.id})`,cx:u.y,cy:u.x,r:u.r/2})]},u.id))})]})]})});try{Zr.displayName="GradientAvatar",Zr.__docgenInfo={description:"",displayName:"GradientAvatar",props:{address:{defaultValue:null,description:"",name:"address",required:!0,type:{name:"string"}},initials:{defaultValue:null,description:"",name:"initials",required:!1,type:{name:"string"}},complexity:{defaultValue:null,description:"",name:"complexity",required:!1,type:{name:"number"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xs"'}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"div"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"ConditionalStyle>"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}}}}}catch{}const Xs="bulb cute board file buddy subway memory exercise busy repair foam item",oo={title:"Components/GradientAvatar",component:Zr},Dr={args:{address:"0x1234567890123456789012345678901234567890"}},Zs=3,Ys=8,kn=[["0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9","0x73F8E47dEe63002378E047fA74e6DFb24F88f496","0x9Cb019C2FfcD9E9BB83e269625a170179Ff3ECD0","0x9b436D9599FAc498e1e0Ab4D48cDFC72922a6F1e","0x9aB58Bda3eeCbF391a17592ed7626727b922a18f","0x468E8e29F6cfb0F6b7ff10ec6A1AB516ec849c04","0x450cB9fbB2D44d166AACA1f6cDb1dBd9Ff168e4C","0x88cc3E896C4C178AB98333dCD29C33d2cc2102A8"],["0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8Bx","0x73F8E47dEe63002378E047fA74e6DFb24F88f49x","0x9Cb019C2FfcD9E9BB83e269625a170179Ff3ECDx","0x9b436D9599FAc498e1e0Ab4D48cDFC72922a6F1x","0x9aB58Bda3eeCbF391a17592ed7626727b922a18x","0x468E8e29F6cfb0F6b7ff10ec6A1AB516ec849c0x","0x450cB9fbB2D44d166AACA1f6cDb1dBd9Ff168e4x","0x88cc3E896C4C178AB98333dCD29C33d2cc2102Ax"]];for(let r=0;rie.jsxs(ie.Fragment,{children:[ie.jsx(Vn,{as:"div",variant:"normal",color:"text100",fontWeight:"bold",marginBottom:"4",children:"SVG"}),ie.jsx(R0,{flexDirection:"column",gap:"4",children:kn.map((r,e)=>ie.jsx(R0,{gap:"4",children:r.map(t=>ie.jsx(Zr,{address:t,size:"xl"},t))},e))})]});var Ri,ki,Ni;Dr.parameters={...Dr.parameters,docs:{...(Ri=Dr.parameters)==null?void 0:Ri.docs,source:{originalSource:`{ +`)}static register(e,t){t||(t=e.locale)}}const ws="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo";let Cr=null;function Ci(r){if(Cr==null&&(Cr=ws.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Vr.check(r)!=="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"))throw Cr=null,new Error("BIP39 Wordlist for en (English) FAILED")}class Ss extends Vr{constructor(){super("en")}getWord(e){return Ci(this),Cr[e]}getWordIndex(e){return Ci(this),Cr.indexOf(e)}}const yn=new Ss;Vr.register(yn);const _i={en:yn},Ms="hdnode/5.7.0",Xr=new $(Ms),As=ae.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Cs=St("Bitcoin seed"),wr=2147483648;function wn(r){return(1<=256)throw new Error("Depth too large!");return Ei(kt([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",J(this.depth),this.parentFingerprint,tt(J(this.index),4),this.chainCode,this.privateKey!=null?kt(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new et(ir,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(e){if(e>4294967295)throw new Error("invalid index - "+String(e));let t=this.path;t&&(t+="/"+(e&~wr));const i=new Uint8Array(37);if(e&wr){if(!this.privateKey)throw new Error("cannot derive child of neutered node");i.set(z(this.privateKey),1),t&&(t+="'")}else i.set(z(this.publicKey));for(let w=24;w>=0;w-=8)i[33+(w>>3)]=e>>24-w&255;const s=z(jr(Pr.sha512,this.chainCode,i)),a=s.slice(0,32),x=s.slice(32);let u=null,b=null;this.privateKey?u=Tr(ae.from(a).add(this.privateKey).mod(As)):b=new cr(J(a))._addPoint(this.publicKey);let g=t;const y=this.mnemonic;return y&&(g=Object.freeze({phrase:y.phrase,path:t,locale:y.locale||"en"})),new et(ir,u,b,this.fingerprint,Tr(x),e,this.depth+1,g)}derivePath(e){const t=e.split("/");if(t.length===0||t[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+e);t[0]==="m"&&t.shift();let i=this;for(let s=0;s=wr)throw new Error("invalid path index - "+a);i=i._derive(wr+x)}else if(a.match(/^[0-9]+$/)){const x=parseInt(a);if(x>=wr)throw new Error("invalid path index - "+a);i=i._derive(x)}else throw new Error("invalid path component - "+a)}return i}static _fromSeed(e,t){const i=z(e);if(i.length<16||i.length>64)throw new Error("invalid seed");const s=z(jr(Pr.sha512,Cs,i));return new et(ir,Tr(s.slice(0,32)),null,"0x00000000",Tr(s.slice(32)),0,0,t)}static fromMnemonic(e,t,i){return i=Y0(i),e=Q0(Sn(e,i),i),et._fromSeed(Es(e,t),{phrase:e,path:"m",locale:i.locale})}static fromSeed(e){return et._fromSeed(e,null)}static fromExtendedKey(e){const t=vn.decode(e);(t.length!==82||Ei(t.slice(0,78))!==e)&&Xr.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const i=t[4],s=J(t.slice(5,9)),a=parseInt(J(t.slice(9,13)).substring(2),16),x=J(t.slice(13,45)),u=t.slice(45,78);switch(J(t.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new et(ir,null,J(u),s,x,a,i,null);case"0x0488ade4":case"0x04358394 ":if(u[0]!==0)break;return new et(ir,J(u.slice(1)),null,s,x,a,i,null)}return Xr.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Es(r,e){e||(e="");const t=St("mnemonic"+e,er.NFKD);return Z0(St(r,er.NFKD),t,2048,64,"sha512")}function Sn(r,e){e=Y0(e),Xr.checkNormalize();const t=e.split(r);if(t.length%3!==0)throw new Error("invalid mnemonic");const i=z(new Uint8Array(Math.ceil(11*t.length/8)));let s=0;for(let g=0;g>3]|=1<<7-s%8),s++}const a=32*t.length/3,x=t.length/3,u=wn(x);if((z(Fr(i.slice(0,a/8)))[0]&u)!==(i[i.length-1]&u))throw new Error("invalid checksum");return J(i.slice(0,a/8))}function Q0(r,e){if(e=Y0(e),r=z(r),r.length%4!==0||r.length<16||r.length>32)throw new Error("invalid entropy");const t=[0];let i=11;for(let x=0;x8?(t[t.length-1]<<=8,t[t.length-1]|=r[x],i-=8):(t[t.length-1]<<=i,t[t.length-1]|=r[x]>>8-i,t.push(r[x]&_s(8-i)),i+=3);const s=r.length/4,a=z(Fr(r))[0]&wn(s);return t[t.length-1]<<=s,t[t.length-1]|=a>>8-s,e.join(t.map(x=>e.getWord(x)))}const Ps="random/5.7.0",L0=new $(Ps);function Fs(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}const Pi=Fs();let zr=Pi.crypto||Pi.msCrypto;(!zr||!zr.getRandomValues)&&(L0.warn("WARNING: Missing strong random number source"),zr={getRandomValues:function(r){return L0.throwError("no secure random source avaialble",$.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function Ar(r){(r<=0||r>1024||r%1||r!=r)&&L0.throwArgumentError("invalid length","length",r);const e=new Uint8Array(r);return zr.getRandomValues(e),z(e)}var Mn={exports:{}};(function(r,e){(function(t){function i(d){return parseInt(d)===d}function s(d){if(!i(d.length))return!1;for(var f=0;f255)return!1;return!0}function a(d,f){if(d.buffer&&ArrayBuffer.isView(d)&&d.name==="Uint8Array")return f&&(d.slice?d=d.slice():d=Array.prototype.slice.call(d)),d;if(Array.isArray(d)){if(!s(d))throw new Error("Array contains invalid value: "+d);return new Uint8Array(d)}if(i(d.length)&&s(d))return new Uint8Array(d);throw new Error("unsupported array-like object")}function x(d){return new Uint8Array(d)}function u(d,f,h,C,o){(C!=null||o!=null)&&(d.slice?d=d.slice(C,o):d=Array.prototype.slice.call(d,C,o)),f.set(d,h)}var b=function(){function d(h){var C=[],o=0;for(h=encodeURI(h);o191&&A<224?(C.push(String.fromCharCode((A&31)<<6|h[o+1]&63)),o+=2):(C.push(String.fromCharCode((A&15)<<12|(h[o+1]&63)<<6|h[o+2]&63)),o+=3)}return C.join("")}return{toBytes:d,fromBytes:f}}(),g=function(){function d(C){for(var o=[],A=0;A>4]+f[I&15])}return o.join("")}return{toBytes:d,fromBytes:h}}(),y={16:10,24:12,32:14},w=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],F=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],k=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],N=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],P=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],M=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],V=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],L=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],U=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],K=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],T=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],G=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],j=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],W=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],te=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function re(d){for(var f=[],h=0;h>2,this._Ke[A][f%4]=o[f],this._Kd[d-A][f%4]=o[f];for(var I=0,E=C,R;E>16&255]<<24^F[R>>8&255]<<16^F[R&255]<<8^F[R>>24&255]^w[I]<<24,I+=1,C!=8)for(var f=1;f>8&255]<<8^F[R>>16&255]<<16^F[R>>24&255]<<24;for(var f=C/2+1;f>2,B=E%4,this._Ke[O][B]=o[f],this._Kd[d-O][B]=o[f++],E++}for(var O=1;O>24&255]^j[R>>16&255]^W[R>>8&255]^te[R&255]},H.prototype.encrypt=function(d){if(d.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var f=this._Ke.length-1,h=[0,0,0,0],C=re(d),o=0;o<4;o++)C[o]^=this._Ke[0][o];for(var A=1;A>24&255]^P[C[(o+1)%4]>>16&255]^M[C[(o+2)%4]>>8&255]^V[C[(o+3)%4]&255]^this._Ke[A][o];C=h.slice()}for(var I=x(16),E,o=0;o<4;o++)E=this._Ke[f][o],I[4*o]=(F[C[o]>>24&255]^E>>24)&255,I[4*o+1]=(F[C[(o+1)%4]>>16&255]^E>>16)&255,I[4*o+2]=(F[C[(o+2)%4]>>8&255]^E>>8)&255,I[4*o+3]=(F[C[(o+3)%4]&255]^E)&255;return I},H.prototype.decrypt=function(d){if(d.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var f=this._Kd.length-1,h=[0,0,0,0],C=re(d),o=0;o<4;o++)C[o]^=this._Kd[0][o];for(var A=1;A>24&255]^U[C[(o+3)%4]>>16&255]^K[C[(o+2)%4]>>8&255]^T[C[(o+1)%4]&255]^this._Kd[A][o];C=h.slice()}for(var I=x(16),E,o=0;o<4;o++)E=this._Kd[f][o],I[4*o]=(k[C[o]>>24&255]^E>>24)&255,I[4*o+1]=(k[C[(o+3)%4]>>16&255]^E>>16)&255,I[4*o+2]=(k[C[(o+2)%4]>>8&255]^E>>8)&255,I[4*o+3]=(k[C[(o+1)%4]&255]^E)&255;return I};var ne=function(d){if(!(this instanceof ne))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new H(d)};ne.prototype.encrypt=function(d){if(d=a(d),d.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var f=x(d.length),h=x(16),C=0;C=0;--f)this._counter[f]=d%256,d=d>>8},l.prototype.setBytes=function(d){if(d=a(d,!0),d.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=d},l.prototype.increment=function(){for(var d=15;d>=0;d--)if(this._counter[d]===255)this._counter[d]=0;else{this._counter[d]++;break}};var p=function(d,f){if(!(this instanceof p))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",f instanceof l||(f=new l(f)),this._counter=f,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new H(d)};p.prototype.encrypt=function(d){for(var f=a(d,!0),h=0;h16)throw new Error("PKCS#7 padding byte out of range");for(var h=d.length-f,C=0;C=64;){let _=V,d=L,f=U,h=K,C=T,o=G,A=j,I=W,E,R,O,B,D;for(R=0;R<16;R++)O=v+R*4,te[R]=(p[O]&255)<<24|(p[O+1]&255)<<16|(p[O+2]&255)<<8|p[O+3]&255;for(R=16;R<64;R++)E=te[R-2],B=(E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10,E=te[R-15],D=(E>>>7|E<<25)^(E>>>18|E<<14)^E>>>3,te[R]=(B+te[R-7]|0)+(D+te[R-16]|0)|0;for(R=0;R<64;R++)B=(((C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7))+(C&o^~C&A)|0)+(I+(M[R]+te[R]|0)|0)|0,D=((_>>>2|_<<30)^(_>>>13|_<<19)^(_>>>22|_<<10))+(_&d^_&f^d&f)|0,I=A,A=o,o=C,C=h+B|0,h=f,f=d,d=_,_=B+D|0;V=V+_|0,L=L+d|0,U=U+f|0,K=K+h|0,T=T+C|0,G=G+o|0,j=j+A|0,W=W+I|0,v+=64,S-=64}}re(P);let H,ne=P.length%64,m=P.length/536870912|0,n=P.length<<3,c=ne<56?56:120,l=P.slice(P.length-ne,P.length);for(l.push(128),H=ne+1;H>>24&255),l.push(m>>>16&255),l.push(m>>>8&255),l.push(m>>>0&255),l.push(n>>>24&255),l.push(n>>>16&255),l.push(n>>>8&255),l.push(n>>>0&255),re(l),[V>>>24&255,V>>>16&255,V>>>8&255,V>>>0&255,L>>>24&255,L>>>16&255,L>>>8&255,L>>>0&255,U>>>24&255,U>>>16&255,U>>>8&255,U>>>0&255,K>>>24&255,K>>>16&255,K>>>8&255,K>>>0&255,T>>>24&255,T>>>16&255,T>>>8&255,T>>>0&255,G>>>24&255,G>>>16&255,G>>>8&255,G>>>0&255,j>>>24&255,j>>>16&255,j>>>8&255,j>>>0&255,W>>>24&255,W>>>16&255,W>>>8&255,W>>>0&255]}function a(P,M,V){P=P.length<=64?P:s(P);const L=64+M.length+4,U=new Array(L),K=new Array(64);let T,G=[];for(T=0;T<64;T++)U[T]=54;for(T=0;T=L-4;W--){if(U[W]++,U[W]<=255)return;U[W]=0}}for(;V>=32;)j(),G=G.concat(s(K.concat(s(U)))),V-=32;return V>0&&(j(),G=G.concat(s(K.concat(s(U))).slice(0,V))),G}function x(P,M,V,L,U){let K;for(y(P,(2*V-1)*16,U,0,16),K=0;K<2*V;K++)g(P,K*16,U,16),b(U,L),y(U,0,P,M+K*16,16);for(K=0;K>>32-M}function b(P,M){y(P,0,M,0,16);for(let V=8;V>0;V-=2)M[4]^=u(M[0]+M[12],7),M[8]^=u(M[4]+M[0],9),M[12]^=u(M[8]+M[4],13),M[0]^=u(M[12]+M[8],18),M[9]^=u(M[5]+M[1],7),M[13]^=u(M[9]+M[5],9),M[1]^=u(M[13]+M[9],13),M[5]^=u(M[1]+M[13],18),M[14]^=u(M[10]+M[6],7),M[2]^=u(M[14]+M[10],9),M[6]^=u(M[2]+M[14],13),M[10]^=u(M[6]+M[2],18),M[3]^=u(M[15]+M[11],7),M[7]^=u(M[3]+M[15],9),M[11]^=u(M[7]+M[3],13),M[15]^=u(M[11]+M[7],18),M[1]^=u(M[0]+M[3],7),M[2]^=u(M[1]+M[0],9),M[3]^=u(M[2]+M[1],13),M[0]^=u(M[3]+M[2],18),M[6]^=u(M[5]+M[4],7),M[7]^=u(M[6]+M[5],9),M[4]^=u(M[7]+M[6],13),M[5]^=u(M[4]+M[7],18),M[11]^=u(M[10]+M[9],7),M[8]^=u(M[11]+M[10],9),M[9]^=u(M[8]+M[11],13),M[10]^=u(M[9]+M[8],18),M[12]^=u(M[15]+M[14],7),M[13]^=u(M[12]+M[15],9),M[14]^=u(M[13]+M[12],13),M[15]^=u(M[14]+M[13],18);for(let V=0;V<16;++V)P[V]+=M[V]}function g(P,M,V,L){for(let U=0;U=256)return!1}return!0}function F(P,M){if(typeof P!="number"||P%1)throw new Error("invalid "+M);return P}function k(P,M,V,L,U,K,T){if(V=F(V,"N"),L=F(L,"r"),U=F(U,"p"),K=F(K,"dkLen"),V===0||V&V-1)throw new Error("N must be power of 2");if(V>2147483647/128/L)throw new Error("N too large");if(L>2147483647/128/U)throw new Error("r too large");if(!w(P))throw new Error("password must be an array or buffer");if(P=Array.prototype.slice.call(P),!w(M))throw new Error("salt must be an array or buffer");M=Array.prototype.slice.call(M);let G=a(P,M,U*128*L);const j=new Uint32Array(U*32*L);for(let C=0;Cd&&(C=d);for(let A=0;Ad&&(C=d);for(let A=0;A>0&255),G.push(j[A]>>8&255),G.push(j[A]>>16&255),G.push(j[A]>>24&255);const o=a(P,G,K);return T&&T(null,1,o),o}T&&f(h)};if(!T)for(;;){const C=h();if(C!=null)return C}h()}const N={scrypt:function(P,M,V,L,U,K,T){return new Promise(function(G,j){let W=0;T&&T(0),k(P,M,V,L,U,K,function(te,re,H){if(te)j(te);else if(H)T&&W!==1&&T(1),G(new Uint8Array(H));else if(T&&re!==W)return W=re,T(re)})})},syncScrypt:function(P,M,V,L,U,K){return new Uint8Array(k(P,M,V,L,U,K))}};r.exports=N})()})(Pn);var Vs=Pn.exports;const ti=Rr(Vs);var Bs=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function b(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,b)}g((i=i.apply(r,e||[])).next())})};const q0=new $(An);function Fi(r){return r!=null&&r.mnemonic&&r.mnemonic.phrase}class Ts extends Ui{isKeystoreAccount(e){return!!(e&&e._isKeystoreAccount)}}function Ds(r,e,t){if(Ue(r,"crypto/cipher")==="aes-128-ctr"){const s=Qt(Ue(r,"crypto/cipherparams/iv")),a=new lt.Counter(s),x=new lt.ModeOfOperation.ctr(e,a);return z(x.decrypt(t))}return null}function Fn(r,e){const t=Qt(Ue(r,"crypto/ciphertext"));if(J($e(kt([e.slice(16,32),t]))).substring(2)!==Ue(r,"crypto/mac").toLowerCase())throw new Error("invalid password");const s=Ds(r,e.slice(0,16),t);s||q0.throwError("unsupported cipher",$.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const a=e.slice(32,64),x=dr(s);if(r.address){let b=r.address.toLowerCase();if(b.substring(0,2)!=="0x"&&(b="0x"+b),xt(b)!==x)throw new Error("address mismatch")}const u={_isKeystoreAccount:!0,address:x,privateKey:J(s)};if(Ue(r,"x-ethers/version")==="0.1"){const b=Qt(Ue(r,"x-ethers/mnemonicCiphertext")),g=Qt(Ue(r,"x-ethers/mnemonicCounter")),y=new lt.Counter(g),w=new lt.ModeOfOperation.ctr(a,y),F=Ue(r,"x-ethers/path")||Ir,k=Ue(r,"x-ethers/locale")||"en",N=z(w.decrypt(b));try{const P=Q0(N,k),M=et.fromMnemonic(P,null,k).derivePath(F);if(M.privateKey!=u.privateKey)throw new Error("mnemonic mismatch");u.mnemonic=M.mnemonic}catch(P){if(P.code!==$.errors.INVALID_ARGUMENT||P.argument!=="wordlist")throw P}}return new Ts(u)}function In(r,e,t,i,s){return z(Z0(r,e,t,i,s))}function Os(r,e,t,i,s){return Promise.resolve(In(r,e,t,i,s))}function Rn(r,e,t,i,s){const a=ei(e),x=Ue(r,"crypto/kdf");if(x&&typeof x=="string"){const u=function(b,g){return q0.throwArgumentError("invalid key-derivation function parameters",b,g)};if(x.toLowerCase()==="scrypt"){const b=Qt(Ue(r,"crypto/kdfparams/salt")),g=parseInt(Ue(r,"crypto/kdfparams/n")),y=parseInt(Ue(r,"crypto/kdfparams/r")),w=parseInt(Ue(r,"crypto/kdfparams/p"));(!g||!y||!w)&&u("kdf",x),g&g-1&&u("N",g);const F=parseInt(Ue(r,"crypto/kdfparams/dklen"));return F!==32&&u("dklen",F),i(a,b,g,y,w,64,s)}else if(x.toLowerCase()==="pbkdf2"){const b=Qt(Ue(r,"crypto/kdfparams/salt"));let g=null;const y=Ue(r,"crypto/kdfparams/prf");y==="hmac-sha256"?g="sha256":y==="hmac-sha512"?g="sha512":u("prf",y);const w=parseInt(Ue(r,"crypto/kdfparams/c")),F=parseInt(Ue(r,"crypto/kdfparams/dklen"));return F!==32&&u("dklen",F),t(a,b,w,F,g)}}return q0.throwArgumentError("unsupported key-derivation function","kdf",x)}function Ls(r,e){const t=JSON.parse(r),i=Rn(t,e,In,ti.syncScrypt);return Fn(t,i)}function qs(r,e,t){return Bs(this,void 0,void 0,function*(){const i=JSON.parse(r),s=yield Rn(i,e,Os,ti.scrypt,t);return Fn(i,s)})}function Us(r,e,t,i){try{if(xt(r.address)!==dr(r.privateKey))throw new Error("address/privateKey mismatch");if(Fi(r)){const M=r.mnemonic;if(et.fromMnemonic(M.phrase,null,M.locale).derivePath(M.path||Ir).privateKey!=r.privateKey)throw new Error("mnemonic mismatch")}}catch(M){return Promise.reject(M)}typeof t=="function"&&!i&&(i=t,t={}),t||(t={});const s=z(r.privateKey),a=ei(e);let x=null,u=null,b=null;if(Fi(r)){const M=r.mnemonic;x=z(Sn(M.phrase,M.locale||"en")),u=M.path||Ir,b=M.locale||"en"}let g=t.client;g||(g="ethers.js");let y=null;t.salt?y=z(t.salt):y=Ar(32);let w=null;if(t.iv){if(w=z(t.iv),w.length!==16)throw new Error("invalid iv")}else w=Ar(16);let F=null;if(t.uuid){if(F=z(t.uuid),F.length!==16)throw new Error("invalid uuid")}else F=Ar(16);let k=1<<17,N=8,P=1;return t.scrypt&&(t.scrypt.N&&(k=t.scrypt.N),t.scrypt.r&&(N=t.scrypt.r),t.scrypt.p&&(P=t.scrypt.p)),ti.scrypt(a,y,k,N,P,64,i).then(M=>{M=z(M);const V=M.slice(0,16),L=M.slice(16,32),U=M.slice(32,64),K=new lt.Counter(w),T=new lt.ModeOfOperation.ctr(V,K),G=z(T.encrypt(s)),j=$e(kt([L,G])),W={address:r.address.substring(2).toLowerCase(),id:Rs(F),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:J(w).substring(2)},ciphertext:J(G).substring(2),kdf:"scrypt",kdfparams:{salt:J(y).substring(2),n:k,dklen:32,p:P,r:N},mac:j.substring(2)}};if(x){const te=Ar(16),re=new lt.Counter(te),H=new lt.ModeOfOperation.ctr(U,re),ne=z(H.encrypt(x)),m=new Date,n=m.getUTCFullYear()+"-"+Sr(m.getUTCMonth()+1,2)+"-"+Sr(m.getUTCDate(),2)+"T"+Sr(m.getUTCHours(),2)+"-"+Sr(m.getUTCMinutes(),2)+"-"+Sr(m.getUTCSeconds(),2)+".0Z";W["x-ethers"]={client:g,gethFilename:"UTC--"+n+"--"+W.address,mnemonicCounter:J(te).substring(2),mnemonicCiphertext:J(ne).substring(2),path:u,locale:b,version:"0.1"}}return JSON.stringify(W)})}function zs(r,e,t){if(_n(r)){t&&t(0);const i=Cn(r,e);return t&&t(1),Promise.resolve(i)}return En(r)?qs(r,e,t):Promise.reject(new Error("invalid JSON wallet"))}function Gs(r,e){if(_n(r))return Cn(r,e);if(En(r))return Ls(r,e);throw new Error("invalid JSON wallet")}const Ks="wallet/5.7.0";var Ii=function(r,e,t,i){function s(a){return a instanceof t?a:new t(function(x){x(a)})}return new(t||(t=Promise))(function(a,x){function u(y){try{g(i.next(y))}catch(w){x(w)}}function b(y){try{g(i.throw(y))}catch(w){x(w)}}function g(y){y.done?a(y.value):s(y.value).then(u,b)}g((i=i.apply(r,e||[])).next())})};const nr=new $(Ks);function $s(r){return r!=null&&He(r.privateKey,32)&&r.address!=null}function Hs(r){const e=r.mnemonic;return e&&e.phrase}class Yt extends W0{constructor(e,t){if(super(),$s(e)){const i=new cr(e.privateKey);if(Y(this,"_signingKey",()=>i),Y(this,"address",dr(this.publicKey)),this.address!==xt(e.address)&&nr.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),Hs(e)){const s=e.mnemonic;Y(this,"_mnemonic",()=>({phrase:s.phrase,path:s.path||Ir,locale:s.locale||"en"}));const a=this.mnemonic,x=et.fromMnemonic(a.phrase,null,a.locale).derivePath(a.path);dr(x.privateKey)!==this.address&&nr.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else Y(this,"_mnemonic",()=>null)}else{if(cr.isSigningKey(e))e.curve!=="secp256k1"&&nr.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),Y(this,"_signingKey",()=>e);else{typeof e=="string"&&e.match(/^[0-9a-f]*$/i)&&e.length===64&&(e="0x"+e);const i=new cr(e);Y(this,"_signingKey",()=>i)}Y(this,"_mnemonic",()=>null),Y(this,"address",dr(this.publicKey))}t&&!H0.isProvider(t)&&nr.throwArgumentError("invalid provider","provider",t),Y(this,"provider",t||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(e){return new Yt(this,e)}signTransaction(e){return fr(e).then(t=>{t.from!=null&&(xt(t.from)!==this.address&&nr.throwArgumentError("transaction from address mismatch","transaction.from",e.from),delete t.from);const i=this._signingKey().signDigest($e(Ai(t)));return Ai(t,i)})}signMessage(e){return Ii(this,void 0,void 0,function*(){return oi(this._signingKey().signDigest(da(e)))})}_signTypedData(e,t,i){return Ii(this,void 0,void 0,function*(){const s=yield je.resolveNames(e,t,i,a=>(this.provider==null&&nr.throwError("cannot resolve ENS names without a provider",$.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:a}),this.provider.resolveName(a)));return oi(this._signingKey().signDigest(je.hash(s.domain,t,s.value)))})}encrypt(e,t,i){if(typeof t=="function"&&!i&&(i=t,t={}),i&&typeof i!="function")throw new Error("invalid callback");return t||(t={}),Us(this,e,t,i)}static createRandom(e){let t=Ar(16);e||(e={}),e.extraEntropy&&(t=z(_r($e(kt([t,e.extraEntropy])),0,16)));const i=Q0(t,e.locale);return Yt.fromMnemonic(i,e.path,e.locale)}static fromEncryptedJson(e,t,i){return zs(e,t,i).then(s=>new Yt(s))}static fromEncryptedJsonSync(e,t){return new Yt(Gs(e,t))}static fromMnemonic(e,t,i){return t||(t=Ir),new Yt(et.fromMnemonic(e,null,i).derivePath(t))}}var Ws=Tn({defaultClassName:"_1bhyzin0",variantClassNames:{size:{xs:"_1bhyzin1",sm:"_1bhyzin2",md:"_1bhyzin3",lg:"_1bhyzin4",xl:"_1bhyzin5"}},defaultVariants:{},compoundVariants:[]});const U0=1e3,xr=64,F0=xr/2,I0=(r,e=U0)=>r%e/(U0/xr),ar=(r,e=0)=>{let t=3735928559^e,i=1103547991^e;for(let s=0,a;s>>16,2246822507)^Math.imul(i^i>>>13,3266489909),i=Math.imul(i^i>>>16,2246822507)^Math.imul(t^t>>>13,3266489909),4294967296*(2097151&i)+(t>>>0)},Js=(r,e,t)=>{const i=r%360,s=(r+120)%360,a=t%360;return{a:`hsl(${i}deg 100% 40%)`,b:`hsl(${s}deg 100% 50%)`,c:`hsl(${a}deg 100% 50%)`}},js=(r,e)=>{const t=[];for(let i=0;i{const a=xr/10+I0(i.r,U0*1.5/(s+1));return{...Js(i.a,i.b,i.c),x:I0(i.x),y:I0(i.y),r:a}})},Zr=p0.memo(r=>{const{className:e,address:t,size:i="md",complexity:s=1,...a}=r,x=js(t,s);return ie.jsxs(R0,{as:"svg",className:Nn(e,Ws({size:i})),viewBox:`0 0 ${xr} ${xr}`,version:"1.1",flexShrink:"0",borderRadius:"circle",overflow:"hidden",xmlns:"http://www.w3.org/2000/svg",...a,children:[ie.jsxs("defs",{children:[ie.jsx("clipPath",{id:"circle-clip",children:ie.jsx("circle",{cx:F0,cy:F0,r:F0})}),ie.jsxs("filter",{id:"blur",x:"-10%",y:"-10%",width:"120%",height:"120%",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[ie.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),ie.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),ie.jsx("feGaussianBlur",{stdDeviation:xr/10,result:"effect1_foregroundBlur"})]}),ie.jsxs("linearGradient",{id:`gradient-background-${t}`,x1:"0",y1:"0",x2:"1",y2:"1",children:[ie.jsx("stop",{offset:"0",stopColor:x[0].c}),ie.jsx("stop",{offset:"1",stopColor:x[0].a})]}),x.map((u,b)=>ie.jsxs(p0.Fragment,{children:[ie.jsxs("radialGradient",{id:`gradient-primary-${t}-${b}`,children:[ie.jsx("stop",{offset:"0",stopColor:u.a}),ie.jsx("stop",{offset:"1",stopColor:u.b})]}),ie.jsxs("radialGradient",{id:`gradient-secondary-${t}-${b}`,children:[ie.jsx("stop",{offset:"0",stopColor:u.c}),ie.jsx("stop",{offset:"1",stopColor:u.b})]})]},b))]}),ie.jsxs("g",{clipPath:"url(#circle-clip)",children:[ie.jsx("rect",{width:"100%",height:"100%",fill:`url(#gradient-background-${t})`}),ie.jsx("g",{filter:"url(#blur)",children:x.map((u,b)=>ie.jsxs(p0.Fragment,{children:[ie.jsx("circle",{fill:`url(#gradient-primary-${t}-${b})`,cx:u.x,cy:u.y,r:u.r}),ie.jsx("circle",{fill:`url(#gradient-secondary-${t}-${b})`,cx:u.y,cy:u.x,r:u.r/2})]},b))})]})]})});try{Zr.displayName="GradientAvatar",Zr.__docgenInfo={description:"",displayName:"GradientAvatar",props:{address:{defaultValue:null,description:"",name:"address",required:!0,type:{name:"string"}},initials:{defaultValue:null,description:"",name:"initials",required:!1,type:{name:"string"}},complexity:{defaultValue:null,description:"",name:"complexity",required:!1,type:{name:"number"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xs"'}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"div"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"ConditionalStyle>"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}}}}}catch{}const Xs="bulb cute board file buddy subway memory exercise busy repair foam item",oo={title:"Components/GradientAvatar",component:Zr},Dr={args:{address:"0x1234567890123456789012345678901234567890"}},Zs=3,Ys=8,kn=[["0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9","0x73F8E47dEe63002378E047fA74e6DFb24F88f496","0x9Cb019C2FfcD9E9BB83e269625a170179Ff3ECD0","0x9b436D9599FAc498e1e0Ab4D48cDFC72922a6F1e","0x9aB58Bda3eeCbF391a17592ed7626727b922a18f","0x468E8e29F6cfb0F6b7ff10ec6A1AB516ec849c04","0x450cB9fbB2D44d166AACA1f6cDb1dBd9Ff168e4C","0x88cc3E896C4C178AB98333dCD29C33d2cc2102A8"],["0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8Bx","0x73F8E47dEe63002378E047fA74e6DFb24F88f49x","0x9Cb019C2FfcD9E9BB83e269625a170179Ff3ECDx","0x9b436D9599FAc498e1e0Ab4D48cDFC72922a6F1x","0x9aB58Bda3eeCbF391a17592ed7626727b922a18x","0x468E8e29F6cfb0F6b7ff10ec6A1AB516ec849c0x","0x450cB9fbB2D44d166AACA1f6cDb1dBd9Ff168e4x","0x88cc3E896C4C178AB98333dCD29C33d2cc2102Ax"]];for(let r=0;rie.jsxs(ie.Fragment,{children:[ie.jsx(Vn,{as:"div",variant:"normal",color:"text100",fontWeight:"bold",marginBottom:"4",children:"SVG"}),ie.jsx(R0,{flexDirection:"column",gap:"4",children:kn.map((r,e)=>ie.jsx(R0,{gap:"4",children:r.map(t=>ie.jsx(Zr,{address:t,size:"xl"},t))},e))})]});var Ri,ki,Ni;Dr.parameters={...Dr.parameters,docs:{...(Ri=Dr.parameters)==null?void 0:Ri.docs,source:{originalSource:`{ args: { address: '0x1234567890123456789012345678901234567890' } diff --git a/assets/Iconography.stories-E2cOzHqe.js b/assets/Iconography.stories-BwF6Crcf.js similarity index 96% rename from assets/Iconography.stories-E2cOzHqe.js rename to assets/Iconography.stories-BwF6Crcf.js index 685349930..2cdd381aa 100644 --- a/assets/Iconography.stories-E2cOzHqe.js +++ b/assets/Iconography.stories-BwF6Crcf.js @@ -1,4 +1,4 @@ -import{M as t,I as g,f as i}from"./chunk-HLWAVYOI-BrDl87NK.js";import{T as S}from"./ThemeProvider-BuuYqdOr.js";import{d as v,e as p,f as l,g as d,a as m,h,i as C,j as u,k as D,l as y,m as x,c as f,n as w,o as M,p as j,q as b,r as k,s as _,t as E,u as R,v as T,w as A,x as G,y as L,z as P,A as O,B as H,C as W,D as N,E as U,F,G as X,H as q,I as B,J as K,K as Q,L as V,M as z,N as J,O as Y,P as Z,Q as $,R as oo,T as no,U as co,V as eo,W as ao,X as so,Y as Io,Z as ro,_ as to,$ as go,a0 as io,S as So,b as vo,a1 as po,a2 as lo,a3 as mo,a4 as ho,a5 as Co,a6 as uo,a7 as Do,a8 as yo,a9 as xo,aa as fo,ab as wo,ac as Mo,ad as jo,ae as bo,af as ko,ag as _o,ah as Eo}from"./WarningIcon-B1ZRyEXn.js";import{j as o}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as I}from"./index-BqX3zWas.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";import"./vars.css-vIjhzn4K.js";/* empty css */import"./color-qnkbROzP.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";const Ro=Object.freeze(Object.defineProperty({__proto__:null,AddIcon:v,AirDropperIcon:p,AppleIcon:l,ArrowDownIcon:d,ArrowRightIcon:m,BridgeIcon:h,CheckmarkIcon:C,ChevronDownIcon:u,ChevronLeftIcon:D,ChevronRightIcon:y,ChevronUpIcon:x,CloseIcon:f,ContactsIcon:w,ContextMenuIcon:M,ContractIcon:j,CopyIcon:b,CurrencyIcon:k,DashedCircleIcon:_,DeployIcon:E,DeviceIcon:R,DiscordIcon:T,DocsIcon:A,DownloadIcon:G,DragIcon:L,EditIcon:P,EmailIcon:O,ExpandIcon:H,ExternalLinkIcon:W,FacebookIcon:N,GasTankIcon:U,GlobeIcon:F,GoogleIcon:X,GridIcon:q,HelpIcon:B,HiddenIcon:K,HomeIcon:Q,IndexerIcon:V,KeyIcon:z,LinkIcon:J,ListIcon:Y,MarketplacesIcon:Z,MenuIcon:$,MinterIcon:oo,MoonIcon:no,NetworkIcon:co,NodeIcon:eo,PaymentsIcon:ao,PinIcon:so,ProfileIcon:Io,QrCodeIcon:ro,ReceiveIcon:to,RefreshIcon:go,RelayerIcon:io,ScanIcon:So,SearchIcon:vo,SendIcon:po,SequenceIcon:lo,SettingsIcon:mo,ShareIcon:ho,ShieldIcon:Co,SignoutIcon:uo,SubtractIcon:Do,SunIcon:yo,SwapIcon:xo,TransactionIcon:fo,TrashIcon:wo,TwitchIcon:Mo,UploadIcon:jo,VisibleIcon:bo,WalletConnectIcon:ko,WalletIcon:_o,WarningIcon:Eo},Symbol.toStringTag,{value:"Module"}));function s(n){const c=Object.assign({h1:"h1",p:"p"},I(),n.components);return o.jsxs(o.Fragment,{children:[o.jsx(t,{title:"Design System/Iconography"}),` +import{M as t,I as g,f as i}from"./chunk-HLWAVYOI-Bey4oObw.js";import{T as S}from"./ThemeProvider-BuuYqdOr.js";import{d as v,e as p,f as l,g as d,a as m,h,i as C,j as u,k as D,l as y,m as x,c as f,n as w,o as M,p as j,q as b,r as k,s as _,t as E,u as R,v as T,w as A,x as G,y as L,z as P,A as O,B as H,C as W,D as N,E as U,F,G as X,H as q,I as B,J as K,K as Q,L as V,M as z,N as J,O as Y,P as Z,Q as $,R as oo,T as no,U as co,V as eo,W as ao,X as so,Y as Io,Z as ro,_ as to,$ as go,a0 as io,S as So,b as vo,a1 as po,a2 as lo,a3 as mo,a4 as ho,a5 as Co,a6 as uo,a7 as Do,a8 as yo,a9 as xo,aa as fo,ab as wo,ac as Mo,ad as jo,ae as bo,af as ko,ag as _o,ah as Eo}from"./WarningIcon-B1ZRyEXn.js";import{j as o}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as I}from"./index-BqX3zWas.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";import"./vars.css-vIjhzn4K.js";/* empty css */import"./color-qnkbROzP.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";const Ro=Object.freeze(Object.defineProperty({__proto__:null,AddIcon:v,AirDropperIcon:p,AppleIcon:l,ArrowDownIcon:d,ArrowRightIcon:m,BridgeIcon:h,CheckmarkIcon:C,ChevronDownIcon:u,ChevronLeftIcon:D,ChevronRightIcon:y,ChevronUpIcon:x,CloseIcon:f,ContactsIcon:w,ContextMenuIcon:M,ContractIcon:j,CopyIcon:b,CurrencyIcon:k,DashedCircleIcon:_,DeployIcon:E,DeviceIcon:R,DiscordIcon:T,DocsIcon:A,DownloadIcon:G,DragIcon:L,EditIcon:P,EmailIcon:O,ExpandIcon:H,ExternalLinkIcon:W,FacebookIcon:N,GasTankIcon:U,GlobeIcon:F,GoogleIcon:X,GridIcon:q,HelpIcon:B,HiddenIcon:K,HomeIcon:Q,IndexerIcon:V,KeyIcon:z,LinkIcon:J,ListIcon:Y,MarketplacesIcon:Z,MenuIcon:$,MinterIcon:oo,MoonIcon:no,NetworkIcon:co,NodeIcon:eo,PaymentsIcon:ao,PinIcon:so,ProfileIcon:Io,QrCodeIcon:ro,ReceiveIcon:to,RefreshIcon:go,RelayerIcon:io,ScanIcon:So,SearchIcon:vo,SendIcon:po,SequenceIcon:lo,SettingsIcon:mo,ShareIcon:ho,ShieldIcon:Co,SignoutIcon:uo,SubtractIcon:Do,SunIcon:yo,SwapIcon:xo,TransactionIcon:fo,TrashIcon:wo,TwitchIcon:Mo,UploadIcon:jo,VisibleIcon:bo,WalletConnectIcon:ko,WalletIcon:_o,WarningIcon:Eo},Symbol.toStringTag,{value:"Module"}));function s(n){const c=Object.assign({h1:"h1",p:"p"},I(),n.components);return o.jsxs(o.Fragment,{children:[o.jsx(t,{title:"Design System/Iconography"}),` `,o.jsx(c.h1,{id:"iconography",children:"Iconography"}),` `,o.jsx(c.p,{children:"Collection of icons used in the design system."}),` `,o.jsx(S,{theme:"light",children:o.jsx(g,{children:Object.entries(Ro).map(([a,r])=>o.jsx(i,{name:a,children:o.jsx(r,{})},a))})})]})}function To(n={}){const{wrapper:c}=Object.assign({},I(),n.components);return c?o.jsx(c,{...n,children:o.jsx(s,{...n})}):s(n)}const Ao=()=>{throw new Error("Docs-only story")};Ao.parameters={docsOnly:!0};const e={title:"Design System/Iconography",tags:["stories-mdx"],includeStories:["__page"]};e.parameters=e.parameters||{};e.parameters.docs={...e.parameters.docs||{},page:To};const on=["__page"];export{on as __namedExportsOrder,Ao as __page,e as default}; diff --git a/assets/Image-B9MDd9m4.js b/assets/Image-tqqx5b76.js similarity index 97% rename from assets/Image-B9MDd9m4.js rename to assets/Image-tqqx5b76.js index 92b7571f0..b10b01a0f 100644 --- a/assets/Image-B9MDd9m4.js +++ b/assets/Image-tqqx5b76.js @@ -1 +1 @@ -import{j as o}from"./jsx-runtime-CexXSJP5.js";import{r as d}from"./index-BP8_t0zE.js";import{B as m}from"./Box-Cj61Dz8D.js";import{m as p}from"./motion-Djta419p.js";const t=a=>{const{disableAnimation:e=!1,onLoad:n,...l}=a,[r,i]=d.useState(!1),u=s=>{i(!0),n==null||n(s)};return o.jsx(m,{as:p.img,initial:e?void 0:{opacity:0},animate:e?void 0:{opacity:r?1:0},transition:{duration:.2},onLoad:e?void 0:u,...l})};try{t.displayName="Image",t.__docgenInfo={description:"",displayName:"Image",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"inherit" | "black" | "transparent" | "white" | "positive" | "negative" | "info" | "warning" | "text100" | "text80" | "text50" | "textInverse100" | "backgroundPrimary" | "backgroundSecondary" | ... 28 more ...'}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:'((string | number) & ("none" | "auto" | "0" | "0.5" | "1" | "4" | "5" | "6" | "7" | "9" | "0.25" | "1.5" | "2" | "3" | "8" | "10" | "12" | "14" | "16" | "px" | "full" | "1/2" | "1/3" | ... 8 more ... | { ...; }))'}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:'((string | number) & ("none" | "auto" | "0" | "0.5" | "1" | "4" | "5" | "6" | "7" | "9" | "0.25" | "1.5" | "2" | "3" | "8" | "10" | "12" | "14" | "16" | "px" | "full" | "1/2" | "1/3" | ... 8 more ... | { ...; }))'}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'"inherit" | Booleanish | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"on"'},{value:'"off"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"text"'},{value:'"search"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"both"'},{value:'"inline"'},{value:'"list"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "mixed" | "false" | "true"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"copy"'},{value:'"move"'},{value:'"link"'},{value:'"execute"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "false" | "true" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "mixed" | "false" | "true"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"all"'},{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},crossOrigin:{defaultValue:null,description:"",name:"crossOrigin",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"anonymous"'},{value:'"use-credentials"'}]}},useMap:{defaultValue:null,description:"",name:"useMap",required:!1,type:{name:"string"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},referrerPolicy:{defaultValue:null,description:"",name:"referrerPolicy",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"origin"'},{value:'"no-referrer"'},{value:'"no-referrer-when-downgrade"'},{value:'"origin-when-cross-origin"'},{value:'"same-origin"'},{value:'"strict-origin"'},{value:'"strict-origin-when-cross-origin"'},{value:'"unsafe-url"'}]}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"enum",value:[{value:'"eager"'},{value:'"lazy"'}]}},decoding:{defaultValue:null,description:"",name:"decoding",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"async"'},{value:'"sync"'}]}},fetchPriority:{defaultValue:null,description:"",name:"fetchPriority",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"high"'},{value:'"low"'}]}},sizes:{defaultValue:null,description:"",name:"sizes",required:!1,type:{name:"string"}},srcSet:{defaultValue:null,description:"",name:"srcSet",required:!1,type:{name:"string"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:'ForwardRefComponent>'}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLImageElement | null) => void) | RefObject | null"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}}}}}catch{}export{t as I}; +import{j as o}from"./jsx-runtime-CexXSJP5.js";import{r as d}from"./index-BP8_t0zE.js";import{B as m}from"./Box-Cj61Dz8D.js";import{m as p}from"./motion-Djta419p.js";const t=a=>{const{disableAnimation:e=!1,onLoad:n,...l}=a,[r,i]=d.useState(!1),u=s=>{i(!0),n==null||n(s)};return o.jsx(m,{as:p.img,initial:e?void 0:{opacity:0},animate:e?void 0:{opacity:r?1:0},transition:{duration:.2},onLoad:e?void 0:u,...l})};try{t.displayName="Image",t.__docgenInfo={description:"",displayName:"Image",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"inherit" | "black" | "transparent" | "white" | "positive" | "negative" | "info" | "warning" | "text100" | "text80" | "text50" | "textInverse100" | "backgroundPrimary" | "backgroundSecondary" | ... 28 more ...'}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:'((string | number) & ("none" | "auto" | "0" | "0.5" | "1" | "4" | "5" | "6" | "7" | "9" | "0.25" | "1.5" | "2" | "3" | "8" | "10" | "12" | "14" | "16" | "px" | "full" | "1/2" | "1/3" | ... 8 more ... | { ...; }))'}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:'((string | number) & ("none" | "auto" | "0" | "0.5" | "1" | "4" | "5" | "6" | "7" | "9" | "0.25" | "1.5" | "2" | "3" | "8" | "10" | "12" | "14" | "16" | "px" | "full" | "1/2" | "1/3" | ... 8 more ... | { ...; }))'}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'"inherit" | Booleanish | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"on"'},{value:'"off"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"text"'},{value:'"search"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"both"'},{value:'"inline"'},{value:'"list"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "mixed" | "false" | "true"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"copy"'},{value:'"move"'},{value:'"link"'},{value:'"execute"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "false" | "true" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "mixed" | "false" | "true"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"all"'},{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},crossOrigin:{defaultValue:null,description:"",name:"crossOrigin",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"anonymous"'},{value:'"use-credentials"'}]}},decoding:{defaultValue:null,description:"",name:"decoding",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"async"'},{value:'"sync"'}]}},fetchPriority:{defaultValue:null,description:"",name:"fetchPriority",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"high"'},{value:'"low"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"enum",value:[{value:'"eager"'},{value:'"lazy"'}]}},referrerPolicy:{defaultValue:null,description:"",name:"referrerPolicy",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"origin"'},{value:'"no-referrer"'},{value:'"no-referrer-when-downgrade"'},{value:'"origin-when-cross-origin"'},{value:'"same-origin"'},{value:'"strict-origin"'},{value:'"strict-origin-when-cross-origin"'},{value:'"unsafe-url"'}]}},sizes:{defaultValue:null,description:"",name:"sizes",required:!1,type:{name:"string"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},srcSet:{defaultValue:null,description:"",name:"srcSet",required:!1,type:{name:"string"}},useMap:{defaultValue:null,description:"",name:"useMap",required:!1,type:{name:"string"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:'ForwardRefComponent>'}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLImageElement | null) => void) | RefObject | null"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}}}}}catch{}export{t as I}; diff --git a/assets/Image.stories-BiE6jRbt.js b/assets/Image.stories-BGj_REyI.js similarity index 90% rename from assets/Image.stories-BiE6jRbt.js rename to assets/Image.stories-BGj_REyI.js index 9fd2001da..ba4ad0f26 100644 --- a/assets/Image.stories-BiE6jRbt.js +++ b/assets/Image.stories-BGj_REyI.js @@ -1,4 +1,4 @@ -import{I as s}from"./Image-B9MDd9m4.js";import"./jsx-runtime-CexXSJP5.js";import"./index-BP8_t0zE.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./motion-Djta419p.js";const u={title:"Components/Image",component:s},a="https://skyweaver.ghost.io/content/images/size/w600/2023/01/hexbound_promo.png",o={args:{src:a}};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{I as s}from"./Image-tqqx5b76.js";import"./jsx-runtime-CexXSJP5.js";import"./index-BP8_t0zE.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./motion-Djta419p.js";const u={title:"Components/Image",component:s},a="https://skyweaver.ghost.io/content/images/size/w600/2023/01/hexbound_promo.png",o={args:{src:a}};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { src } diff --git a/assets/Introduction.stories-hiXtg4Yq.js b/assets/Introduction.stories-5eoBG332.js similarity index 96% rename from assets/Introduction.stories-hiXtg4Yq.js rename to assets/Introduction.stories-5eoBG332.js index 8711b25d8..d8ed7fe22 100644 --- a/assets/Introduction.stories-hiXtg4Yq.js +++ b/assets/Introduction.stories-5eoBG332.js @@ -1,4 +1,4 @@ -import{M as i}from"./chunk-HLWAVYOI-BrDl87NK.js";import{j as e}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as s}from"./index-BqX3zWas.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";function t(r){const n=Object.assign({h1:"h1",p:"p",a:"a",h3:"h3",pre:"pre",code:"code",ul:"ul",li:"li",strong:"strong"},s(),r.components);return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Introduction"}),` +import{M as i}from"./chunk-HLWAVYOI-Bey4oObw.js";import{j as e}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as s}from"./index-BqX3zWas.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";function t(r){const n=Object.assign({h1:"h1",p:"p",a:"a",h3:"h3",pre:"pre",code:"code",ul:"ul",li:"li",strong:"strong"},s(),r.components);return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Introduction"}),` `,e.jsx(n.h1,{id:"sequence-design-system",children:"Sequence Design System"}),` `,e.jsx(n.p,{children:"Sequence Design System is a reusable component library uses across the Sequence product suite."}),` `,e.jsxs(n.p,{children:["Components are written in ",e.jsx(n.a,{href:"https://reactjs.org/",target:"_blank",rel:"nofollow noopener noreferrer",children:"React"})," with ",e.jsx(n.a,{href:"https://vanilla-extract.style/",target:"_blank",rel:"nofollow noopener noreferrer",children:"Vanilla Extract"}),", and its stories are written in ",e.jsx(n.a,{href:"https://medium.com/storybookjs/component-story-format-66f4c32366df",target:"_blank",rel:"nofollow noopener noreferrer",children:"Component Story Format"}),"."]}),` diff --git a/assets/NetworkImage-DgQnRr6T.js b/assets/NetworkImage-BU04VSmk.js similarity index 98% rename from assets/NetworkImage-DgQnRr6T.js rename to assets/NetworkImage-BU04VSmk.js index ea215e0cd..4cc33dc78 100644 --- a/assets/NetworkImage-DgQnRr6T.js +++ b/assets/NetworkImage-BU04VSmk.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-CexXSJP5.js";import{B as p,c as f}from"./Box-Cj61Dz8D.js";import{r as c}from"./index-BP8_t0zE.js";import{I as V}from"./Image-B9MDd9m4.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import{c as y}from"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";const C="https://assets.sequence.info/",S=3,v={xs:"small",sm:"small",md:"medium",lg:"large",xl:"large"},r=e=>e?v[e]||e:"medium",q=(e,n)=>e.replace(/\/(small|medium|large)\//,`/${r(n)}/`),h=(e,n)=>C+`images/networks/${r(n)}/${e}.webp?v${S}`;try{Image.displayName="Image",Image.__docgenInfo={description:"",displayName:"Image",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"inherit" | "black" | "transparent" | "white" | "positive" | "negative" | "info" | "warning" | "text100" | "text80" | "text50" | "textInverse100" | "backgroundPrimary" | "backgroundSecondary" | ... 28 more ...'}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:'((string | number) & ("none" | "auto" | "0" | "0.5" | "1" | "4" | "5" | "6" | "7" | "9" | "0.25" | "1.5" | "2" | "3" | "8" | "10" | "12" | "14" | "16" | "px" | "full" | "1/2" | "1/3" | ... 8 more ... | { ...; }))'}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:'((string | number) & ("none" | "auto" | "0" | "0.5" | "1" | "4" | "5" | "6" | "7" | "9" | "0.25" | "1.5" | "2" | "3" | "8" | "10" | "12" | "14" | "16" | "px" | "full" | "1/2" | "1/3" | ... 8 more ... | { ...; }))'}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'"inherit" | Booleanish | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"on"'},{value:'"off"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"text"'},{value:'"search"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"both"'},{value:'"inline"'},{value:'"list"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "mixed" | "false" | "true"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"copy"'},{value:'"move"'},{value:'"link"'},{value:'"execute"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "false" | "true" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "mixed" | "false" | "true"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"all"'},{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},crossOrigin:{defaultValue:null,description:"",name:"crossOrigin",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"anonymous"'},{value:'"use-credentials"'}]}},useMap:{defaultValue:null,description:"",name:"useMap",required:!1,type:{name:"string"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},referrerPolicy:{defaultValue:null,description:"",name:"referrerPolicy",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"origin"'},{value:'"no-referrer"'},{value:'"no-referrer-when-downgrade"'},{value:'"origin-when-cross-origin"'},{value:'"same-origin"'},{value:'"strict-origin"'},{value:'"strict-origin-when-cross-origin"'},{value:'"unsafe-url"'}]}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"enum",value:[{value:'"eager"'},{value:'"lazy"'}]}},decoding:{defaultValue:null,description:"",name:"decoding",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"async"'},{value:'"sync"'}]}},fetchPriority:{defaultValue:null,description:"",name:"fetchPriority",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"high"'},{value:'"low"'}]}},sizes:{defaultValue:null,description:"",name:"sizes",required:!1,type:{name:"string"}},srcSet:{defaultValue:null,description:"",name:"srcSet",required:!1,type:{name:"string"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:'ForwardRefComponent>'}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLImageElement | null) => void) | RefObject | null"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}}}}}catch{}var E=y({defaultClassName:"_18h918k5 _18h918k0 fyvr11ls fyvr11m8 fyvr11jg fyvr11ko fyvr11h0",variantClassNames:{size:{xs:"_18h918k6",sm:"_18h918k7",md:"_18h918k8",lg:"_18h918k9",xl:"_18h918ka"},borderRadius:{circle:"_18h918kb _18h918k1 fyvr11dc fyvr11e0 fyvr11c0 fyvr11co",lg:"_18h918kc _18h918k2 fyvr11d8 fyvr11dw fyvr11bw fyvr11ck",md:"_18h918kd _18h918k3 fyvr11d4 fyvr11ds fyvr11bs fyvr11cg",sm:"_18h918ke _18h918k4 fyvr11d0 fyvr11do fyvr11bo fyvr11cc"}},defaultVariants:{},compoundVariants:[]}),H="_18h918kf";const i=c.memo(e=>{const{chainId:n,borderRadius:l="circle",className:s,disableAnimation:u=!1,style:o,src:d,size:t="md",...g}=e,m=d||q(h(n),t);return a.jsx(p,{className:f(s,E({borderRadius:l,size:t})),style:o,flexShrink:"0",...g,children:a.jsx(V,{className:H,disableAnimation:u,src:m})})});try{i.displayName="NetworkImage",i.__docgenInfo={description:"",displayName:"NetworkImage",props:{as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"div"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"ConditionalStyle>"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'(("sm" | "md" | "lg" | "none" | "circle" | "xs" | { sm?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; md?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; lg?: "sm" | ... 5 more ... | undefined; xl?: "sm" | ... 5 more ... | undefined; }) & ("sm" | ... 2 more ... | "circle")) | undefined'}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xs"'}]}},chainId:{defaultValue:null,description:"",name:"chainId",required:!0,type:{name:"number"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}}}}}catch{}export{i as N}; +import{j as a}from"./jsx-runtime-CexXSJP5.js";import{B as p,c as f}from"./Box-Cj61Dz8D.js";import{r as c}from"./index-BP8_t0zE.js";import{I as V}from"./Image-tqqx5b76.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import{c as y}from"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";const C="https://assets.sequence.info/",S=3,v={xs:"small",sm:"small",md:"medium",lg:"large",xl:"large"},r=e=>e?v[e]||e:"medium",q=(e,n)=>e.replace(/\/(small|medium|large)\//,`/${r(n)}/`),h=(e,n)=>C+`images/networks/${r(n)}/${e}.webp?v${S}`;try{Image.displayName="Image",Image.__docgenInfo={description:"",displayName:"Image",props:{disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:'"inherit" | "black" | "transparent" | "white" | "positive" | "negative" | "info" | "warning" | "text100" | "text80" | "text50" | "textInverse100" | "backgroundPrimary" | "backgroundSecondary" | ... 28 more ...'}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:'((string | number) & ("none" | "auto" | "0" | "0.5" | "1" | "4" | "5" | "6" | "7" | "9" | "0.25" | "1.5" | "2" | "3" | "8" | "10" | "12" | "14" | "16" | "px" | "full" | "1/2" | "1/3" | ... 8 more ... | { ...; }))'}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:'((string | number) & ("none" | "auto" | "0" | "0.5" | "1" | "4" | "5" | "6" | "7" | "9" | "0.25" | "1.5" | "2" | "3" | "8" | "10" | "12" | "14" | "16" | "px" | "full" | "1/2" | "1/3" | ... 8 more ... | { ...; }))'}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"string"}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string | number | readonly string[]"}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"boolean"}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"boolean"}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"string"}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:'"inherit" | Booleanish | "plaintext-only"'}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"string"}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"string"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"Booleanish"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"string"}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"string"}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"Booleanish"}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"number"}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"AriaRole"}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"string"}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"string"}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"string"}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"string"}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"string"}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"string"}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"string"}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"string"}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"string"}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:"string"}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"string"}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"string"}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"string"}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"boolean"}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"string"}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"string"}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"string"}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"number"}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"string"}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"on"'},{value:'"off"'}]}},inputMode:{defaultValue:null,description:"",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"text"'},{value:'"search"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:"",name:"is",required:!1,type:{name:"string"}},"aria-activedescendant":{defaultValue:null,description:"",name:"aria-activedescendant",required:!1,type:{name:"string"}},"aria-atomic":{defaultValue:null,description:"",name:"aria-atomic",required:!1,type:{name:"Booleanish"}},"aria-autocomplete":{defaultValue:null,description:"",name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"both"'},{value:'"inline"'},{value:'"list"'}]}},"aria-braillelabel":{defaultValue:null,description:"",name:"aria-braillelabel",required:!1,type:{name:"string"}},"aria-brailleroledescription":{defaultValue:null,description:"",name:"aria-brailleroledescription",required:!1,type:{name:"string"}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"Booleanish"}},"aria-checked":{defaultValue:null,description:"",name:"aria-checked",required:!1,type:{name:'boolean | "mixed" | "false" | "true"'}},"aria-colcount":{defaultValue:null,description:"",name:"aria-colcount",required:!1,type:{name:"number"}},"aria-colindex":{defaultValue:null,description:"",name:"aria-colindex",required:!1,type:{name:"number"}},"aria-colindextext":{defaultValue:null,description:"",name:"aria-colindextext",required:!1,type:{name:"string"}},"aria-colspan":{defaultValue:null,description:"",name:"aria-colspan",required:!1,type:{name:"number"}},"aria-controls":{defaultValue:null,description:"",name:"aria-controls",required:!1,type:{name:"string"}},"aria-current":{defaultValue:null,description:"",name:"aria-current",required:!1,type:{name:'boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date"'}},"aria-describedby":{defaultValue:null,description:"",name:"aria-describedby",required:!1,type:{name:"string"}},"aria-description":{defaultValue:null,description:"",name:"aria-description",required:!1,type:{name:"string"}},"aria-details":{defaultValue:null,description:"",name:"aria-details",required:!1,type:{name:"string"}},"aria-disabled":{defaultValue:null,description:"",name:"aria-disabled",required:!1,type:{name:"Booleanish"}},"aria-dropeffect":{defaultValue:null,description:"",name:"aria-dropeffect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"copy"'},{value:'"move"'},{value:'"link"'},{value:'"execute"'},{value:'"popup"'}]}},"aria-errormessage":{defaultValue:null,description:"",name:"aria-errormessage",required:!1,type:{name:"string"}},"aria-expanded":{defaultValue:null,description:"",name:"aria-expanded",required:!1,type:{name:"Booleanish"}},"aria-flowto":{defaultValue:null,description:"",name:"aria-flowto",required:!1,type:{name:"string"}},"aria-grabbed":{defaultValue:null,description:"",name:"aria-grabbed",required:!1,type:{name:"Booleanish"}},"aria-haspopup":{defaultValue:null,description:"",name:"aria-haspopup",required:!1,type:{name:'boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree"'}},"aria-hidden":{defaultValue:null,description:"",name:"aria-hidden",required:!1,type:{name:"Booleanish"}},"aria-invalid":{defaultValue:null,description:"",name:"aria-invalid",required:!1,type:{name:'boolean | "false" | "true" | "grammar" | "spelling"'}},"aria-keyshortcuts":{defaultValue:null,description:"",name:"aria-keyshortcuts",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"",name:"aria-labelledby",required:!1,type:{name:"string"}},"aria-level":{defaultValue:null,description:"",name:"aria-level",required:!1,type:{name:"number"}},"aria-live":{defaultValue:null,description:"",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"",name:"aria-modal",required:!1,type:{name:"Booleanish"}},"aria-multiline":{defaultValue:null,description:"",name:"aria-multiline",required:!1,type:{name:"Booleanish"}},"aria-multiselectable":{defaultValue:null,description:"",name:"aria-multiselectable",required:!1,type:{name:"Booleanish"}},"aria-orientation":{defaultValue:null,description:"",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}},"aria-owns":{defaultValue:null,description:"",name:"aria-owns",required:!1,type:{name:"string"}},"aria-placeholder":{defaultValue:null,description:"",name:"aria-placeholder",required:!1,type:{name:"string"}},"aria-posinset":{defaultValue:null,description:"",name:"aria-posinset",required:!1,type:{name:"number"}},"aria-pressed":{defaultValue:null,description:"",name:"aria-pressed",required:!1,type:{name:'boolean | "mixed" | "false" | "true"'}},"aria-readonly":{defaultValue:null,description:"",name:"aria-readonly",required:!1,type:{name:"Booleanish"}},"aria-relevant":{defaultValue:null,description:"",name:"aria-relevant",required:!1,type:{name:"enum",value:[{value:'"all"'},{value:'"text"'},{value:'"additions"'},{value:'"additions removals"'},{value:'"additions text"'},{value:'"removals"'},{value:'"removals additions"'},{value:'"removals text"'},{value:'"text additions"'},{value:'"text removals"'}]}},"aria-required":{defaultValue:null,description:"",name:"aria-required",required:!1,type:{name:"Booleanish"}},"aria-roledescription":{defaultValue:null,description:"",name:"aria-roledescription",required:!1,type:{name:"string"}},"aria-rowcount":{defaultValue:null,description:"",name:"aria-rowcount",required:!1,type:{name:"number"}},"aria-rowindex":{defaultValue:null,description:"",name:"aria-rowindex",required:!1,type:{name:"number"}},"aria-rowindextext":{defaultValue:null,description:"",name:"aria-rowindextext",required:!1,type:{name:"string"}},"aria-rowspan":{defaultValue:null,description:"",name:"aria-rowspan",required:!1,type:{name:"number"}},"aria-selected":{defaultValue:null,description:"",name:"aria-selected",required:!1,type:{name:"Booleanish"}},"aria-setsize":{defaultValue:null,description:"",name:"aria-setsize",required:!1,type:{name:"number"}},"aria-sort":{defaultValue:null,description:"",name:"aria-sort",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"ascending"'},{value:'"descending"'},{value:'"other"'}]}},"aria-valuemax":{defaultValue:null,description:"",name:"aria-valuemax",required:!1,type:{name:"number"}},"aria-valuemin":{defaultValue:null,description:"",name:"aria-valuemin",required:!1,type:{name:"number"}},"aria-valuenow":{defaultValue:null,description:"",name:"aria-valuenow",required:!1,type:{name:"number"}},"aria-valuetext":{defaultValue:null,description:"",name:"aria-valuetext",required:!1,type:{name:"string"}},dangerouslySetInnerHTML:{defaultValue:null,description:"",name:"dangerouslySetInnerHTML",required:!1,type:{name:"{ __html: string | TrustedHTML; }"}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"ClipboardEventHandler"}},onCopyCapture:{defaultValue:null,description:"",name:"onCopyCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCut:{defaultValue:null,description:"",name:"onCut",required:!1,type:{name:"ClipboardEventHandler"}},onCutCapture:{defaultValue:null,description:"",name:"onCutCapture",required:!1,type:{name:"ClipboardEventHandler"}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"ClipboardEventHandler"}},onPasteCapture:{defaultValue:null,description:"",name:"onPasteCapture",required:!1,type:{name:"ClipboardEventHandler"}},onCompositionEnd:{defaultValue:null,description:"",name:"onCompositionEnd",required:!1,type:{name:"CompositionEventHandler"}},onCompositionEndCapture:{defaultValue:null,description:"",name:"onCompositionEndCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStart:{defaultValue:null,description:"",name:"onCompositionStart",required:!1,type:{name:"CompositionEventHandler"}},onCompositionStartCapture:{defaultValue:null,description:"",name:"onCompositionStartCapture",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdate:{defaultValue:null,description:"",name:"onCompositionUpdate",required:!1,type:{name:"CompositionEventHandler"}},onCompositionUpdateCapture:{defaultValue:null,description:"",name:"onCompositionUpdateCapture",required:!1,type:{name:"CompositionEventHandler"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"FocusEventHandler"}},onFocusCapture:{defaultValue:null,description:"",name:"onFocusCapture",required:!1,type:{name:"FocusEventHandler"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"FocusEventHandler"}},onBlurCapture:{defaultValue:null,description:"",name:"onBlurCapture",required:!1,type:{name:"FocusEventHandler"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"FormEventHandler"}},onChangeCapture:{defaultValue:null,description:"",name:"onChangeCapture",required:!1,type:{name:"FormEventHandler"}},onBeforeInput:{defaultValue:null,description:"",name:"onBeforeInput",required:!1,type:{name:"FormEventHandler"}},onBeforeInputCapture:{defaultValue:null,description:"",name:"onBeforeInputCapture",required:!1,type:{name:"FormEventHandler"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"FormEventHandler"}},onInputCapture:{defaultValue:null,description:"",name:"onInputCapture",required:!1,type:{name:"FormEventHandler"}},onReset:{defaultValue:null,description:"",name:"onReset",required:!1,type:{name:"FormEventHandler"}},onResetCapture:{defaultValue:null,description:"",name:"onResetCapture",required:!1,type:{name:"FormEventHandler"}},onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!1,type:{name:"FormEventHandler"}},onSubmitCapture:{defaultValue:null,description:"",name:"onSubmitCapture",required:!1,type:{name:"FormEventHandler"}},onInvalid:{defaultValue:null,description:"",name:"onInvalid",required:!1,type:{name:"FormEventHandler"}},onInvalidCapture:{defaultValue:null,description:"",name:"onInvalidCapture",required:!1,type:{name:"FormEventHandler"}},onLoad:{defaultValue:null,description:"",name:"onLoad",required:!1,type:{name:"ReactEventHandler"}},onLoadCapture:{defaultValue:null,description:"",name:"onLoadCapture",required:!1,type:{name:"ReactEventHandler"}},onError:{defaultValue:null,description:"",name:"onError",required:!1,type:{name:"ReactEventHandler"}},onErrorCapture:{defaultValue:null,description:"",name:"onErrorCapture",required:!1,type:{name:"ReactEventHandler"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"KeyboardEventHandler"}},onKeyDownCapture:{defaultValue:null,description:"",name:"onKeyDownCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPress:{defaultValue:null,description:"",name:"onKeyPress",required:!1,type:{name:"KeyboardEventHandler"}},onKeyPressCapture:{defaultValue:null,description:"",name:"onKeyPressCapture",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"KeyboardEventHandler"}},onKeyUpCapture:{defaultValue:null,description:"",name:"onKeyUpCapture",required:!1,type:{name:"KeyboardEventHandler"}},onAbort:{defaultValue:null,description:"",name:"onAbort",required:!1,type:{name:"ReactEventHandler"}},onAbortCapture:{defaultValue:null,description:"",name:"onAbortCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlay:{defaultValue:null,description:"",name:"onCanPlay",required:!1,type:{name:"ReactEventHandler"}},onCanPlayCapture:{defaultValue:null,description:"",name:"onCanPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThrough:{defaultValue:null,description:"",name:"onCanPlayThrough",required:!1,type:{name:"ReactEventHandler"}},onCanPlayThroughCapture:{defaultValue:null,description:"",name:"onCanPlayThroughCapture",required:!1,type:{name:"ReactEventHandler"}},onDurationChange:{defaultValue:null,description:"",name:"onDurationChange",required:!1,type:{name:"ReactEventHandler"}},onDurationChangeCapture:{defaultValue:null,description:"",name:"onDurationChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onEmptied:{defaultValue:null,description:"",name:"onEmptied",required:!1,type:{name:"ReactEventHandler"}},onEmptiedCapture:{defaultValue:null,description:"",name:"onEmptiedCapture",required:!1,type:{name:"ReactEventHandler"}},onEncrypted:{defaultValue:null,description:"",name:"onEncrypted",required:!1,type:{name:"ReactEventHandler"}},onEncryptedCapture:{defaultValue:null,description:"",name:"onEncryptedCapture",required:!1,type:{name:"ReactEventHandler"}},onEnded:{defaultValue:null,description:"",name:"onEnded",required:!1,type:{name:"ReactEventHandler"}},onEndedCapture:{defaultValue:null,description:"",name:"onEndedCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedData:{defaultValue:null,description:"",name:"onLoadedData",required:!1,type:{name:"ReactEventHandler"}},onLoadedDataCapture:{defaultValue:null,description:"",name:"onLoadedDataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadata:{defaultValue:null,description:"",name:"onLoadedMetadata",required:!1,type:{name:"ReactEventHandler"}},onLoadedMetadataCapture:{defaultValue:null,description:"",name:"onLoadedMetadataCapture",required:!1,type:{name:"ReactEventHandler"}},onLoadStart:{defaultValue:null,description:"",name:"onLoadStart",required:!1,type:{name:"ReactEventHandler"}},onLoadStartCapture:{defaultValue:null,description:"",name:"onLoadStartCapture",required:!1,type:{name:"ReactEventHandler"}},onPause:{defaultValue:null,description:"",name:"onPause",required:!1,type:{name:"ReactEventHandler"}},onPauseCapture:{defaultValue:null,description:"",name:"onPauseCapture",required:!1,type:{name:"ReactEventHandler"}},onPlay:{defaultValue:null,description:"",name:"onPlay",required:!1,type:{name:"ReactEventHandler"}},onPlayCapture:{defaultValue:null,description:"",name:"onPlayCapture",required:!1,type:{name:"ReactEventHandler"}},onPlaying:{defaultValue:null,description:"",name:"onPlaying",required:!1,type:{name:"ReactEventHandler"}},onPlayingCapture:{defaultValue:null,description:"",name:"onPlayingCapture",required:!1,type:{name:"ReactEventHandler"}},onProgress:{defaultValue:null,description:"",name:"onProgress",required:!1,type:{name:"ReactEventHandler"}},onProgressCapture:{defaultValue:null,description:"",name:"onProgressCapture",required:!1,type:{name:"ReactEventHandler"}},onRateChange:{defaultValue:null,description:"",name:"onRateChange",required:!1,type:{name:"ReactEventHandler"}},onRateChangeCapture:{defaultValue:null,description:"",name:"onRateChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onResize:{defaultValue:null,description:"",name:"onResize",required:!1,type:{name:"ReactEventHandler"}},onResizeCapture:{defaultValue:null,description:"",name:"onResizeCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeked:{defaultValue:null,description:"",name:"onSeeked",required:!1,type:{name:"ReactEventHandler"}},onSeekedCapture:{defaultValue:null,description:"",name:"onSeekedCapture",required:!1,type:{name:"ReactEventHandler"}},onSeeking:{defaultValue:null,description:"",name:"onSeeking",required:!1,type:{name:"ReactEventHandler"}},onSeekingCapture:{defaultValue:null,description:"",name:"onSeekingCapture",required:!1,type:{name:"ReactEventHandler"}},onStalled:{defaultValue:null,description:"",name:"onStalled",required:!1,type:{name:"ReactEventHandler"}},onStalledCapture:{defaultValue:null,description:"",name:"onStalledCapture",required:!1,type:{name:"ReactEventHandler"}},onSuspend:{defaultValue:null,description:"",name:"onSuspend",required:!1,type:{name:"ReactEventHandler"}},onSuspendCapture:{defaultValue:null,description:"",name:"onSuspendCapture",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdate:{defaultValue:null,description:"",name:"onTimeUpdate",required:!1,type:{name:"ReactEventHandler"}},onTimeUpdateCapture:{defaultValue:null,description:"",name:"onTimeUpdateCapture",required:!1,type:{name:"ReactEventHandler"}},onVolumeChange:{defaultValue:null,description:"",name:"onVolumeChange",required:!1,type:{name:"ReactEventHandler"}},onVolumeChangeCapture:{defaultValue:null,description:"",name:"onVolumeChangeCapture",required:!1,type:{name:"ReactEventHandler"}},onWaiting:{defaultValue:null,description:"",name:"onWaiting",required:!1,type:{name:"ReactEventHandler"}},onWaitingCapture:{defaultValue:null,description:"",name:"onWaitingCapture",required:!1,type:{name:"ReactEventHandler"}},onAuxClick:{defaultValue:null,description:"",name:"onAuxClick",required:!1,type:{name:"MouseEventHandler"}},onAuxClickCapture:{defaultValue:null,description:"",name:"onAuxClickCapture",required:!1,type:{name:"MouseEventHandler"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"MouseEventHandler"}},onClickCapture:{defaultValue:null,description:"",name:"onClickCapture",required:!1,type:{name:"MouseEventHandler"}},onContextMenu:{defaultValue:null,description:"",name:"onContextMenu",required:!1,type:{name:"MouseEventHandler"}},onContextMenuCapture:{defaultValue:null,description:"",name:"onContextMenuCapture",required:!1,type:{name:"MouseEventHandler"}},onDoubleClick:{defaultValue:null,description:"",name:"onDoubleClick",required:!1,type:{name:"MouseEventHandler"}},onDoubleClickCapture:{defaultValue:null,description:"",name:"onDoubleClickCapture",required:!1,type:{name:"MouseEventHandler"}},onDragCapture:{defaultValue:null,description:"",name:"onDragCapture",required:!1,type:{name:"DragEventHandler"}},onDragEndCapture:{defaultValue:null,description:"",name:"onDragEndCapture",required:!1,type:{name:"DragEventHandler"}},onDragEnter:{defaultValue:null,description:"",name:"onDragEnter",required:!1,type:{name:"DragEventHandler"}},onDragEnterCapture:{defaultValue:null,description:"",name:"onDragEnterCapture",required:!1,type:{name:"DragEventHandler"}},onDragExit:{defaultValue:null,description:"",name:"onDragExit",required:!1,type:{name:"DragEventHandler"}},onDragExitCapture:{defaultValue:null,description:"",name:"onDragExitCapture",required:!1,type:{name:"DragEventHandler"}},onDragLeave:{defaultValue:null,description:"",name:"onDragLeave",required:!1,type:{name:"DragEventHandler"}},onDragLeaveCapture:{defaultValue:null,description:"",name:"onDragLeaveCapture",required:!1,type:{name:"DragEventHandler"}},onDragOver:{defaultValue:null,description:"",name:"onDragOver",required:!1,type:{name:"DragEventHandler"}},onDragOverCapture:{defaultValue:null,description:"",name:"onDragOverCapture",required:!1,type:{name:"DragEventHandler"}},onDragStartCapture:{defaultValue:null,description:"",name:"onDragStartCapture",required:!1,type:{name:"DragEventHandler"}},onDrop:{defaultValue:null,description:"",name:"onDrop",required:!1,type:{name:"DragEventHandler"}},onDropCapture:{defaultValue:null,description:"",name:"onDropCapture",required:!1,type:{name:"DragEventHandler"}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"MouseEventHandler"}},onMouseDownCapture:{defaultValue:null,description:"",name:"onMouseDownCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"MouseEventHandler"}},onMouseLeave:{defaultValue:null,description:"",name:"onMouseLeave",required:!1,type:{name:"MouseEventHandler"}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"MouseEventHandler"}},onMouseMoveCapture:{defaultValue:null,description:"",name:"onMouseMoveCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOut:{defaultValue:null,description:"",name:"onMouseOut",required:!1,type:{name:"MouseEventHandler"}},onMouseOutCapture:{defaultValue:null,description:"",name:"onMouseOutCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseOver:{defaultValue:null,description:"",name:"onMouseOver",required:!1,type:{name:"MouseEventHandler"}},onMouseOverCapture:{defaultValue:null,description:"",name:"onMouseOverCapture",required:!1,type:{name:"MouseEventHandler"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"MouseEventHandler"}},onMouseUpCapture:{defaultValue:null,description:"",name:"onMouseUpCapture",required:!1,type:{name:"MouseEventHandler"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!1,type:{name:"ReactEventHandler"}},onSelectCapture:{defaultValue:null,description:"",name:"onSelectCapture",required:!1,type:{name:"ReactEventHandler"}},onTouchCancel:{defaultValue:null,description:"",name:"onTouchCancel",required:!1,type:{name:"TouchEventHandler"}},onTouchCancelCapture:{defaultValue:null,description:"",name:"onTouchCancelCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchEnd:{defaultValue:null,description:"",name:"onTouchEnd",required:!1,type:{name:"TouchEventHandler"}},onTouchEndCapture:{defaultValue:null,description:"",name:"onTouchEndCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchMove:{defaultValue:null,description:"",name:"onTouchMove",required:!1,type:{name:"TouchEventHandler"}},onTouchMoveCapture:{defaultValue:null,description:"",name:"onTouchMoveCapture",required:!1,type:{name:"TouchEventHandler"}},onTouchStart:{defaultValue:null,description:"",name:"onTouchStart",required:!1,type:{name:"TouchEventHandler"}},onTouchStartCapture:{defaultValue:null,description:"",name:"onTouchStartCapture",required:!1,type:{name:"TouchEventHandler"}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"PointerEventHandler"}},onPointerDownCapture:{defaultValue:null,description:"",name:"onPointerDownCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerMove:{defaultValue:null,description:"",name:"onPointerMove",required:!1,type:{name:"PointerEventHandler"}},onPointerMoveCapture:{defaultValue:null,description:"",name:"onPointerMoveCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerUp:{defaultValue:null,description:"",name:"onPointerUp",required:!1,type:{name:"PointerEventHandler"}},onPointerUpCapture:{defaultValue:null,description:"",name:"onPointerUpCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerCancel:{defaultValue:null,description:"",name:"onPointerCancel",required:!1,type:{name:"PointerEventHandler"}},onPointerCancelCapture:{defaultValue:null,description:"",name:"onPointerCancelCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"PointerEventHandler"}},onPointerLeave:{defaultValue:null,description:"",name:"onPointerLeave",required:!1,type:{name:"PointerEventHandler"}},onPointerOver:{defaultValue:null,description:"",name:"onPointerOver",required:!1,type:{name:"PointerEventHandler"}},onPointerOverCapture:{defaultValue:null,description:"",name:"onPointerOverCapture",required:!1,type:{name:"PointerEventHandler"}},onPointerOut:{defaultValue:null,description:"",name:"onPointerOut",required:!1,type:{name:"PointerEventHandler"}},onPointerOutCapture:{defaultValue:null,description:"",name:"onPointerOutCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCapture:{defaultValue:null,description:"",name:"onGotPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onGotPointerCaptureCapture:{defaultValue:null,description:"",name:"onGotPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCapture:{defaultValue:null,description:"",name:"onLostPointerCapture",required:!1,type:{name:"PointerEventHandler"}},onLostPointerCaptureCapture:{defaultValue:null,description:"",name:"onLostPointerCaptureCapture",required:!1,type:{name:"PointerEventHandler"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"UIEventHandler"}},onScrollCapture:{defaultValue:null,description:"",name:"onScrollCapture",required:!1,type:{name:"UIEventHandler"}},onWheel:{defaultValue:null,description:"",name:"onWheel",required:!1,type:{name:"WheelEventHandler"}},onWheelCapture:{defaultValue:null,description:"",name:"onWheelCapture",required:!1,type:{name:"WheelEventHandler"}},onAnimationStartCapture:{defaultValue:null,description:"",name:"onAnimationStartCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEnd:{defaultValue:null,description:"",name:"onAnimationEnd",required:!1,type:{name:"AnimationEventHandler"}},onAnimationEndCapture:{defaultValue:null,description:"",name:"onAnimationEndCapture",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIteration:{defaultValue:null,description:"",name:"onAnimationIteration",required:!1,type:{name:"AnimationEventHandler"}},onAnimationIterationCapture:{defaultValue:null,description:"",name:"onAnimationIterationCapture",required:!1,type:{name:"AnimationEventHandler"}},onTransitionEnd:{defaultValue:null,description:"",name:"onTransitionEnd",required:!1,type:{name:"TransitionEventHandler"}},onTransitionEndCapture:{defaultValue:null,description:"",name:"onTransitionEndCapture",required:!1,type:{name:"TransitionEventHandler"}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},crossOrigin:{defaultValue:null,description:"",name:"crossOrigin",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"anonymous"'},{value:'"use-credentials"'}]}},decoding:{defaultValue:null,description:"",name:"decoding",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"async"'},{value:'"sync"'}]}},fetchPriority:{defaultValue:null,description:"",name:"fetchPriority",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"high"'},{value:'"low"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"enum",value:[{value:'"eager"'},{value:'"lazy"'}]}},referrerPolicy:{defaultValue:null,description:"",name:"referrerPolicy",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"origin"'},{value:'"no-referrer"'},{value:'"no-referrer-when-downgrade"'},{value:'"origin-when-cross-origin"'},{value:'"same-origin"'},{value:'"strict-origin"'},{value:'"strict-origin-when-cross-origin"'},{value:'"unsafe-url"'}]}},sizes:{defaultValue:null,description:"",name:"sizes",required:!1,type:{name:"string"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},srcSet:{defaultValue:null,description:"",name:"srcSet",required:!1,type:{name:"string"}},useMap:{defaultValue:null,description:"",name:"useMap",required:!1,type:{name:"string"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:'ForwardRefComponent>'}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLImageElement | null) => void) | RefObject | null"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}}}}}catch{}var E=y({defaultClassName:"_18h918k5 _18h918k0 fyvr11ls fyvr11m8 fyvr11jg fyvr11ko fyvr11h0",variantClassNames:{size:{xs:"_18h918k6",sm:"_18h918k7",md:"_18h918k8",lg:"_18h918k9",xl:"_18h918ka"},borderRadius:{circle:"_18h918kb _18h918k1 fyvr11dc fyvr11e0 fyvr11c0 fyvr11co",lg:"_18h918kc _18h918k2 fyvr11d8 fyvr11dw fyvr11bw fyvr11ck",md:"_18h918kd _18h918k3 fyvr11d4 fyvr11ds fyvr11bs fyvr11cg",sm:"_18h918ke _18h918k4 fyvr11d0 fyvr11do fyvr11bo fyvr11cc"}},defaultVariants:{},compoundVariants:[]}),H="_18h918kf";const i=c.memo(e=>{const{chainId:n,borderRadius:l="circle",className:s,disableAnimation:u=!1,style:o,src:d,size:t="md",...g}=e,m=d||q(h(n),t);return a.jsx(p,{className:f(s,E({borderRadius:l,size:t})),style:o,flexShrink:"0",...g,children:a.jsx(V,{className:H,disableAnimation:u,src:m})})});try{i.displayName="NetworkImage",i.__docgenInfo={description:"",displayName:"NetworkImage",props:{as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"div"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"ConditionalStyle>"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'(("sm" | "md" | "lg" | "none" | "circle" | "xs" | { sm?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; md?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; lg?: "sm" | ... 5 more ... | undefined; xl?: "sm" | ... 5 more ... | undefined; }) & ("sm" | ... 2 more ... | "circle")) | undefined'}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xs"'}]}},chainId:{defaultValue:null,description:"",name:"chainId",required:!0,type:{name:"number"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}}}}}catch{}export{i as N}; diff --git a/assets/NetworkImage.stories-XuVMj9JQ.js b/assets/NetworkImage.stories-BNVJtugC.js similarity index 82% rename from assets/NetworkImage.stories-XuVMj9JQ.js rename to assets/NetworkImage.stories-BNVJtugC.js index 3c9dbe91d..8349ffe09 100644 --- a/assets/NetworkImage.stories-XuVMj9JQ.js +++ b/assets/NetworkImage.stories-BNVJtugC.js @@ -1,4 +1,4 @@ -import{N as a}from"./NetworkImage-DgQnRr6T.js";import"./jsx-runtime-CexXSJP5.js";import"./index-BP8_t0zE.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./Image-B9MDd9m4.js";import"./motion-Djta419p.js";import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";const l={title:"Components/NetworkImage",component:a},r={args:{size:"lg",chainId:1}};var o,e,t;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{N as a}from"./NetworkImage-BU04VSmk.js";import"./jsx-runtime-CexXSJP5.js";import"./index-BP8_t0zE.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./Image-tqqx5b76.js";import"./motion-Djta419p.js";import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";const l={title:"Components/NetworkImage",component:a},r={args:{size:"lg",chainId:1}};var o,e,t;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { size: 'lg', chainId: 1 diff --git a/assets/NumericInput.stories-DRMEncd7.js b/assets/NumericInput.stories-CTRk_olw.js similarity index 93% rename from assets/NumericInput.stories-DRMEncd7.js rename to assets/NumericInput.stories-CTRk_olw.js index 505fe7cc5..140625154 100644 --- a/assets/NumericInput.stories-DRMEncd7.js +++ b/assets/NumericInput.stories-CTRk_olw.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-CexXSJP5.js";import{r as S}from"./index-BP8_t0zE.js";import{T as h}from"./TextInput-B9DbBpUW.js";import"./ControlledTextInput-C52a52yN.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./Field-CEph7VCa.js";import"./Text-D7WiMjUB.js";import"./typography-BClcJN8w.js";/* empty css */import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";const x=RegExp("^\\d*(?:\\\\[.])?\\d*$");function c(i){return i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const l=S.forwardRef((i,o)=>{const{name:u="amount",placeholder:d,onChange:r,onBlur:g,...V}=i,C=t=>{let{value:e}=t.target;e=e.replace(/,/g,"."),e.startsWith(".")&&(e="0"+e),e.startsWith("0")&&(e=e.replace(/^0+(?=\d)/,"")),(e===""||x.test(c(e)))&&(r==null||r({...t,target:{...t.target,value:e}}))},y=t=>{const{value:e}=t.target;let n=e;n.endsWith(".")&&(n=n.slice(0,-1)),n.endsWith(".0")&&(n=n.slice(0,-2)),n==="0"&&(n=""),g==null||g(t),n!==e&&(r==null||r({...t,target:{...t.target,value:n}}))};return a.jsx(h,{name:u,onChange:C,onBlur:y,inputMode:"decimal",autoComplete:"off",autoCorrect:"off",type:"text",pattern:"^[0-9]*[.,]?[0-9]*$",placeholder:d||"0",minLength:1,maxLength:79,spellCheck:"false",numeric:!0,ref:o,...V})});try{c.displayName="escapeRegExp",c.__docgenInfo={description:"",displayName:"escapeRegExp",props:{}}}catch{}try{l.displayName="NumericInput",l.__docgenInfo={description:"",displayName:"NumericInput",props:{alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"sm" | "md" | "xs" | ("sm" & { sm?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; md?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; lg?: "sm" | "md" | "lg" | "none" | "circle" | "xs" | undefined; xl?: "sm" | ... 5 more ... | undefined; }) | ("md" & { ...; }) | ("xs" & { ...; }) | undefined'}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"hidden"'}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | (string & readonly string[])"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"input"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:'ComponentType<{ size?: "sm" | "md" | "lg" | "xl" | "xs"; } & Omit, HTMLDivElement>, "ref"> & { ...; } & ChildSprinkleProps<...> & ChildSprinkleProps<...> & ChildSprinkleProps<...>>'}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:'ComponentType<{ size?: "sm" | "md" | "lg" | "xl" | "xs"; } & Omit, HTMLDivElement>, "ref"> & { ...; } & ChildSprinkleProps<...> & ChildSprinkleProps<...> & ChildSprinkleProps<...>>'}},decimals:{defaultValue:null,description:"",name:"decimals",required:!1,type:{name:"number"}}}}}catch{}const B={title:"Forms/NumericInput",component:l},v=i=>{const[o,u]=S.useState("");return a.jsx(a.Fragment,{children:a.jsx(l,{value:o,onChange:d=>u(d.target.value),...i})})},s={render:v,args:{label:"This the label",description:"This is the description",labelLocation:"top"}};var m,p,f;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-CexXSJP5.js";import{r as S}from"./index-BP8_t0zE.js";import{T as h}from"./TextInput-B9DbBpUW.js";import"./ControlledTextInput-C52a52yN.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./Field-CEph7VCa.js";import"./Text-D7WiMjUB.js";import"./typography-BClcJN8w.js";/* empty css */import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";const x=RegExp("^\\d*(?:\\\\[.])?\\d*$");function c(i){return i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const l=S.forwardRef((i,o)=>{const{name:u="amount",placeholder:d,onChange:r,onBlur:g,...V}=i,C=t=>{let{value:e}=t.target;e=e.replace(/,/g,"."),e.startsWith(".")&&(e="0"+e),e.startsWith("0")&&(e=e.replace(/^0+(?=\d)/,"")),(e===""||x.test(c(e)))&&(r==null||r({...t,target:{...t.target,value:e}}))},y=t=>{const{value:e}=t.target;let n=e;n.endsWith(".")&&(n=n.slice(0,-1)),n.endsWith(".0")&&(n=n.slice(0,-2)),n==="0"&&(n=""),g==null||g(t),n!==e&&(r==null||r({...t,target:{...t.target,value:n}}))};return a.jsx(h,{name:u,onChange:C,onBlur:y,inputMode:"decimal",autoComplete:"off",autoCorrect:"off",type:"text",pattern:"^[0-9]*[.,]?[0-9]*$",placeholder:d||"0",minLength:1,maxLength:79,spellCheck:"false",numeric:!0,ref:o,...V})});try{c.displayName="escapeRegExp",c.__docgenInfo={description:"",displayName:"escapeRegExp",props:{}}}catch{}try{l.displayName="NumericInput",l.__docgenInfo={description:"",displayName:"NumericInput",props:{alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"sm" | "md" | "xs" | ("sm" & { sm?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; md?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; lg?: "sm" | "md" | "lg" | "none" | "circle" | "xs" | undefined; xl?: "sm" | ... 5 more ... | undefined; }) | ("md" & { ...; }) | ("xs" & { ...; }) | undefined'}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | (string & readonly string[])"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"input"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"hidden"'}]}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:'ComponentType<{ size?: "sm" | "md" | "lg" | "xl" | "xs"; } & Omit, HTMLDivElement>, "ref"> & { ...; } & ChildSprinkleProps<...> & ChildSprinkleProps<...> & ChildSprinkleProps<...>>'}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:'ComponentType<{ size?: "sm" | "md" | "lg" | "xl" | "xs"; } & Omit, HTMLDivElement>, "ref"> & { ...; } & ChildSprinkleProps<...> & ChildSprinkleProps<...> & ChildSprinkleProps<...>>'}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},decimals:{defaultValue:null,description:"",name:"decimals",required:!1,type:{name:"number"}}}}}catch{}const B={title:"Forms/NumericInput",component:l},v=i=>{const[o,u]=S.useState("");return a.jsx(a.Fragment,{children:a.jsx(l,{value:o,onChange:d=>u(d.target.value),...i})})},s={render:v,args:{label:"This the label",description:"This is the description",labelLocation:"top"}};var m,p,f;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ render: StoryWrapper, args: { label: 'This the label', diff --git a/assets/SearchInput.stories-hKu1_5Iu.js b/assets/SearchInput.stories-mDx2PejG.js similarity index 93% rename from assets/SearchInput.stories-hKu1_5Iu.js rename to assets/SearchInput.stories-mDx2PejG.js index bd86931dc..192e49949 100644 --- a/assets/SearchInput.stories-hKu1_5Iu.js +++ b/assets/SearchInput.stories-mDx2PejG.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-CexXSJP5.js";import{r as g}from"./index-BP8_t0zE.js";import{I as V}from"./IconButton-DQqnyzOW.js";import{T as C}from"./TextInput-B9DbBpUW.js";import"./ControlledTextInput-C52a52yN.js";import{b as y,c as h}from"./WarningIcon-B1ZRyEXn.js";import"./Button-DOuJqjYO.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./Text-D7WiMjUB.js";import"./typography-BClcJN8w.js";/* empty css */import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./Field-CEph7VCa.js";const i=g.forwardRef((n,r)=>{const{controls:s,onChange:e,placeholder:c="Search",name:m="search",value:l,...p}=n,f=l?a.jsx(V,{icon:h,size:"xs",onClick:()=>e==null?void 0:e({target:{value:""}})}):void 0;return a.jsx(C,{ref:r,name:m,leftIcon:y,controls:s||f,placeholder:c,value:l,onChange:S=>e==null?void 0:e(S),...p})});try{i.displayName="SearchInput",i.__docgenInfo={description:"",displayName:"SearchInput",props:{alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"sm" | "md" | "xs" | ("sm" & { sm?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; md?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; lg?: "sm" | "md" | "lg" | "none" | "circle" | "xs" | undefined; xl?: "sm" | ... 5 more ... | undefined; }) | ("md" & { ...; }) | ("xs" & { ...; }) | undefined'}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"hidden"'}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | (string & readonly string[])"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"input"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}},leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:'ComponentType<{ size?: "sm" | "md" | "lg" | "xl" | "xs"; } & Omit, HTMLDivElement>, "ref"> & { ...; } & ChildSprinkleProps<...> & ChildSprinkleProps<...> & ChildSprinkleProps<...>>'}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:'ComponentType<{ size?: "sm" | "md" | "lg" | "xl" | "xs"; } & Omit, HTMLDivElement>, "ref"> & { ...; } & ChildSprinkleProps<...> & ChildSprinkleProps<...> & ChildSprinkleProps<...>>'}}}}}catch{}const D={title:"Forms/SearchInput",component:i},v=n=>{const[r,s]=g.useState("");return a.jsx(i,{as:"input",id:"myInput",value:r,onChange:e=>s(e.target.value),...n})},t={render:v,args:{label:"Search",labelLocation:"top",placeholder:"This is the placeholder"}};var o,u,d;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-CexXSJP5.js";import{r as g}from"./index-BP8_t0zE.js";import{I as V}from"./IconButton-DQqnyzOW.js";import{T as C}from"./TextInput-B9DbBpUW.js";import"./ControlledTextInput-C52a52yN.js";import{b as y,c as h}from"./WarningIcon-B1ZRyEXn.js";import"./Button-DOuJqjYO.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./Text-D7WiMjUB.js";import"./typography-BClcJN8w.js";/* empty css */import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./Field-CEph7VCa.js";const i=g.forwardRef((n,r)=>{const{controls:s,onChange:e,placeholder:c="Search",name:m="search",value:l,...p}=n,f=l?a.jsx(V,{icon:h,size:"xs",onClick:()=>e==null?void 0:e({target:{value:""}})}):void 0;return a.jsx(C,{ref:r,name:m,leftIcon:y,controls:s||f,placeholder:c,value:l,onChange:S=>e==null?void 0:e(S),...p})});try{i.displayName="SearchInput",i.__docgenInfo={description:"",displayName:"SearchInput",props:{alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"sm" | "md" | "xs" | ("sm" & { sm?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; md?: "sm" | "md" | "lg" | "none" | "circle" | "xs"; lg?: "sm" | "md" | "lg" | "none" | "circle" | "xs" | undefined; xl?: "sm" | ... 5 more ... | undefined; }) | ("md" & { ...; }) | ("xs" & { ...; }) | undefined'}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},numeric:{defaultValue:null,description:"",name:"numeric",required:!1,type:{name:"boolean"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | (string & readonly string[])"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"input"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},description:{defaultValue:null,description:"",name:"description",required:!1,type:{name:"ReactNode"}},labelLocation:{defaultValue:null,description:"",name:"labelLocation",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"hidden"'}]}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"string"}},leftIcon:{defaultValue:null,description:"",name:"leftIcon",required:!1,type:{name:'ComponentType<{ size?: "sm" | "md" | "lg" | "xl" | "xs"; } & Omit, HTMLDivElement>, "ref"> & { ...; } & ChildSprinkleProps<...> & ChildSprinkleProps<...> & ChildSprinkleProps<...>>'}},rightIcon:{defaultValue:null,description:"",name:"rightIcon",required:!1,type:{name:'ComponentType<{ size?: "sm" | "md" | "lg" | "xl" | "xs"; } & Omit, HTMLDivElement>, "ref"> & { ...; } & ChildSprinkleProps<...> & ChildSprinkleProps<...> & ChildSprinkleProps<...>>'}},controls:{defaultValue:null,description:"",name:"controls",required:!1,type:{name:"ReactNode"}}}}}catch{}const D={title:"Forms/SearchInput",component:i},v=n=>{const[r,s]=g.useState("");return a.jsx(i,{as:"input",id:"myInput",value:r,onChange:e=>s(e.target.value),...n})},t={render:v,args:{label:"Search",labelLocation:"top",placeholder:"This is the placeholder"}};var o,u,d;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ render: StoryWrapper, args: { label: 'Search', diff --git a/assets/Select.stories-Ow_ZeSxz.js b/assets/Select.stories-DpJwrTPN.js similarity index 97% rename from assets/Select.stories-Ow_ZeSxz.js rename to assets/Select.stories-DpJwrTPN.js index fc2853e03..4aec64334 100644 --- a/assets/Select.stories-Ow_ZeSxz.js +++ b/assets/Select.stories-DpJwrTPN.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-CexXSJP5.js";import{B as a}from"./Box-Cj61Dz8D.js";import{T as n}from"./Text-D7WiMjUB.js";import{T as t}from"./TokenImage-DNqq_BnT.js";import{S as d}from"./Select-B4cSKZ_r.js";import"./index-BP8_t0zE.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./typography-BClcJN8w.js";/* empty css */import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./NetworkImage-DgQnRr6T.js";import"./Image-B9MDd9m4.js";import"./motion-Djta419p.js";import"./index-CeXBLvNc.js";import"./index-BxmsGmlx.js";import"./index-C-LszQ6e.js";import"./index-B5BpHa1O.js";import"./index-CX0kOEaK.js";import"./index-BxMbIcfc.js";import"./Combination-GnYcu0D6.js";import"./index-1rhZt4VZ.js";import"./index-o9EF2x1d.js";import"./index-pC7lLcKS.js";import"./index-CF1bRcOk.js";import"./index-VYBS7HL5.js";import"./Field-CEph7VCa.js";import"./WarningIcon-B1ZRyEXn.js";const z={title:"Forms/Select",component:d},o={args:{borderRadius:"md",onValueChange:l=>{console.log("selected: ",l)},name:"selectDemo",label:"Select",description:"This is a description",labelLocation:"top",placeholder:"Select an option",disabled:!1,options:[{label:"Option 1",value:"option-1"},{label:"Option 2",value:"option-2"},{label:"Option 3",value:"option-3"},{label:"Disabled Option",value:"option-4",disabled:!0},{label:"Custom Action",value:"option-5"}]}},s={args:{borderRadius:"md",onValueChange:l=>{console.log("selected: ",l)},name:"selectDemo",label:"Networks",labelLocation:"top",disabled:!1,defaultValue:"mainnet",options:[{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/1.cb52a9be955ddf5eacbe.png"}),e.jsx(n,{children:"Mainnet"})]}),value:"mainnet"},{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/137.1c36e6b6953be3aacff4.png"}),e.jsx(n,{children:"Polygon"})]}),value:"polygon"},{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/56.ef53ab0cdafe86027deb.png"}),e.jsx(n,{children:"BNB Smart Chain"})]}),value:"bsc"},{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/43114.9b2c1709ab950bf92deb.png"}),e.jsx(n,{children:"Avalanche"})]}),value:"avalanche"},{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/42161.a74b6921ab2c28356575.png"}),e.jsx(n,{children:"Arbitrum"})]}),value:"gnosis"}]}};var i,p,r;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-CexXSJP5.js";import{B as a}from"./Box-Cj61Dz8D.js";import{T as n}from"./Text-D7WiMjUB.js";import{T as t}from"./TokenImage-C-7QrOBw.js";import{S as d}from"./Select-B4cSKZ_r.js";import"./index-BP8_t0zE.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./typography-BClcJN8w.js";/* empty css */import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./NetworkImage-BU04VSmk.js";import"./Image-tqqx5b76.js";import"./motion-Djta419p.js";import"./index-CeXBLvNc.js";import"./index-BxmsGmlx.js";import"./index-C-LszQ6e.js";import"./index-B5BpHa1O.js";import"./index-CX0kOEaK.js";import"./index-BxMbIcfc.js";import"./Combination-GnYcu0D6.js";import"./index-1rhZt4VZ.js";import"./index-o9EF2x1d.js";import"./index-pC7lLcKS.js";import"./index-CF1bRcOk.js";import"./index-VYBS7HL5.js";import"./Field-CEph7VCa.js";import"./WarningIcon-B1ZRyEXn.js";const z={title:"Forms/Select",component:d},o={args:{borderRadius:"md",onValueChange:l=>{console.log("selected: ",l)},name:"selectDemo",label:"Select",description:"This is a description",labelLocation:"top",placeholder:"Select an option",disabled:!1,options:[{label:"Option 1",value:"option-1"},{label:"Option 2",value:"option-2"},{label:"Option 3",value:"option-3"},{label:"Disabled Option",value:"option-4",disabled:!0},{label:"Custom Action",value:"option-5"}]}},s={args:{borderRadius:"md",onValueChange:l=>{console.log("selected: ",l)},name:"selectDemo",label:"Networks",labelLocation:"top",disabled:!1,defaultValue:"mainnet",options:[{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/1.cb52a9be955ddf5eacbe.png"}),e.jsx(n,{children:"Mainnet"})]}),value:"mainnet"},{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/137.1c36e6b6953be3aacff4.png"}),e.jsx(n,{children:"Polygon"})]}),value:"polygon"},{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/56.ef53ab0cdafe86027deb.png"}),e.jsx(n,{children:"BNB Smart Chain"})]}),value:"bsc"},{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/43114.9b2c1709ab950bf92deb.png"}),e.jsx(n,{children:"Avalanche"})]}),value:"avalanche"},{label:e.jsxs(a,{alignItems:"center",gap:"2",children:[e.jsx(t,{src:"https://sequence.app/static/images/42161.a74b6921ab2c28356575.png"}),e.jsx(n,{children:"Arbitrum"})]}),value:"gnosis"}]}};var i,p,r;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ args: { borderRadius: 'md', onValueChange: value => { diff --git a/assets/TokenImage-DNqq_BnT.js b/assets/TokenImage-C-7QrOBw.js similarity index 99% rename from assets/TokenImage-DNqq_BnT.js rename to assets/TokenImage-C-7QrOBw.js index 1f5e0afc1..c0958b53e 100644 --- a/assets/TokenImage-DNqq_BnT.js +++ b/assets/TokenImage-C-7QrOBw.js @@ -1 +1 @@ -import{j as n}from"./jsx-runtime-CexXSJP5.js";import{B as a,c}from"./Box-Cj61Dz8D.js";import{r as f}from"./index-BP8_t0zE.js";import{N as p}from"./NetworkImage-DgQnRr6T.js";import{T as S}from"./Text-D7WiMjUB.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import{c as V}from"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import{I as C}from"./Image-B9MDd9m4.js";var y=V({defaultClassName:"bnrreb1 bnrreb0 fyvr11jg fyvr11ko fyvr11hw fyvr11h0",variantClassNames:{size:{xs:"bnrreb2",sm:"bnrreb3",md:"bnrreb4",lg:"bnrreb5",xl:"bnrreb6"}},defaultVariants:{},compoundVariants:[]}),v="bnrreb7",h="bnrreb9 bnrreb8 fyvr11dc fyvr11e0 fyvr11c0 fyvr11co fyvr11ls fyvr11m8 fyvr11jg fyvr11ko fyvr11sj fyvr128 fyvr15o fyvr11h0";const l=f.memo(t=>{const{borderRadius:i="circle",className:o,disableAnimation:u=!1,style:g,src:r,symbol:e,size:d="md",withNetwork:s,...m}=t;return n.jsxs(a,{className:c(o,y({size:d})),style:g,flexShrink:"0",...m,children:[r?n.jsx(C,{className:v,disableAnimation:u,borderRadius:i,overflow:"hidden",src:r}):n.jsx(S,{className:h,variant:"normal",fontWeight:"medium",color:"text50",borderRadius:i,overflow:"hidden",uppercase:!0,children:e==null?void 0:e.replace(/\s/,"").slice(0,4)}),s&&n.jsx(a,{position:"absolute",zIndex:"1",borderRadius:"circle",borderWidth:"thin",borderStyle:"solid",borderColor:"backgroundPrimary",background:"backgroundPrimary",placeItems:"center",style:{width:18,height:18,right:-2,bottom:-2},children:n.jsx(p,{chainId:s,style:{width:16,height:16}})})]})});try{l.displayName="TokenImage",l.__docgenInfo={description:"",displayName:"TokenImage",props:{as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"div"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"ConditionalStyle>"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xs"'}]}},disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},symbol:{defaultValue:null,description:"",name:"symbol",required:!1,type:{name:"string"}},withNetwork:{defaultValue:null,description:"",name:"withNetwork",required:!1,type:{name:"number"}}}}}catch{}export{l as T}; +import{j as n}from"./jsx-runtime-CexXSJP5.js";import{B as a,c}from"./Box-Cj61Dz8D.js";import{r as f}from"./index-BP8_t0zE.js";import{N as p}from"./NetworkImage-BU04VSmk.js";import{T as S}from"./Text-D7WiMjUB.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import{c as V}from"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import{I as C}from"./Image-tqqx5b76.js";var y=V({defaultClassName:"bnrreb1 bnrreb0 fyvr11jg fyvr11ko fyvr11hw fyvr11h0",variantClassNames:{size:{xs:"bnrreb2",sm:"bnrreb3",md:"bnrreb4",lg:"bnrreb5",xl:"bnrreb6"}},defaultVariants:{},compoundVariants:[]}),v="bnrreb7",h="bnrreb9 bnrreb8 fyvr11dc fyvr11e0 fyvr11c0 fyvr11co fyvr11ls fyvr11m8 fyvr11jg fyvr11ko fyvr11sj fyvr128 fyvr15o fyvr11h0";const l=f.memo(t=>{const{borderRadius:i="circle",className:o,disableAnimation:u=!1,style:g,src:r,symbol:e,size:d="md",withNetwork:s,...m}=t;return n.jsxs(a,{className:c(o,y({size:d})),style:g,flexShrink:"0",...m,children:[r?n.jsx(C,{className:v,disableAnimation:u,borderRadius:i,overflow:"hidden",src:r}):n.jsx(S,{className:h,variant:"normal",fontWeight:"medium",color:"text50",borderRadius:i,overflow:"hidden",uppercase:!0,children:e==null?void 0:e.replace(/\s/,"").slice(0,4)}),s&&n.jsx(a,{position:"absolute",zIndex:"1",borderRadius:"circle",borderWidth:"thin",borderStyle:"solid",borderColor:"backgroundPrimary",background:"backgroundPrimary",placeItems:"center",style:{width:18,height:18,right:-2,bottom:-2},children:n.jsx(p,{chainId:s,style:{width:16,height:16}})})]})});try{l.displayName="TokenImage",l.__docgenInfo={description:"",displayName:"TokenImage",props:{as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"div"'}]}},sx:{defaultValue:null,description:"",name:"sx",required:!1,type:{name:"(ChildSprinkleProps<{ width: { values: Values<{ none: string; px: string; auto: string; full: string; '1/2': string; '1/3': string; '2/3': string; '1/4': string; '3/4': string; fit: string; max: string; min: string; vw: string; vh: string; ... 16 more ...; 16: CSSVarFunction; }, { ...; }>; }; ... 43 more ...; visibi..."}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"((instance: HTMLDivElement | null) => void) | RefObject | null"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"ConditionalStyle>"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"ConditionalStyle>"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:"ConditionalStyle>"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!1,type:{name:"ConditionalStyle>"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"ConditionalStyle>"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"ConditionalStyle>"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:'ConditionalStyle>'}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:'ConditionalStyle>'}},left:{defaultValue:null,description:"",name:"left",required:!1,type:{name:'ConditionalStyle>'}},right:{defaultValue:null,description:"",name:"right",required:!1,type:{name:'ConditionalStyle>'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'ConditionalStyle>'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'ConditionalStyle>'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'ConditionalStyle>'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'ConditionalStyle>'}},gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomWidth:{defaultValue:null,description:"",name:"borderBottomWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftWidth:{defaultValue:null,description:"",name:"borderLeftWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightWidth:{defaultValue:null,description:"",name:"borderRightWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopWidth:{defaultValue:null,description:"",name:"borderTopWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomLeftRadius:{defaultValue:null,description:"",name:"borderBottomLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRightRadius:{defaultValue:null,description:"",name:"borderBottomRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopLeftRadius:{defaultValue:null,description:"",name:"borderTopLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRightRadius:{defaultValue:null,description:"",name:"borderTopRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},fontSize:{defaultValue:null,description:"",name:"fontSize",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},fontWeight:{defaultValue:null,description:"",name:"fontWeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { ...; }; }>>"}},letterSpacing:{defaultValue:null,description:"",name:"letterSpacing",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},lineHeight:{defaultValue:null,description:"",name:"lineHeight",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},textAlign:{defaultValue:null,description:"",name:"textAlign",required:!1,type:{name:'ConditionalStyle>'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'ConditionalStyle>'}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'ConditionalStyle>'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'ConditionalStyle>'}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:'ConditionalStyle>'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:'ConditionalStyle>'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'ConditionalStyle>'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'ConditionalStyle>'}},justifySelf:{defaultValue:null,description:"",name:"justifySelf",required:!1,type:{name:'ConditionalStyle>'}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'ConditionalStyle>'}},alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:'ConditionalStyle>'}},overflowX:{defaultValue:null,description:"",name:"overflowX",required:!1,type:{name:'ConditionalStyle>'}},overflowY:{defaultValue:null,description:"",name:"overflowY",required:!1,type:{name:'ConditionalStyle>'}},visibility:{defaultValue:null,description:"",name:"visibility",required:!1,type:{name:'ConditionalStyle>'}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderLeftRadius:{defaultValue:null,description:"",name:"borderLeftRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderRightRadius:{defaultValue:null,description:"",name:"borderRightRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderTopRadius:{defaultValue:null,description:"",name:"borderTopRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},borderBottomRadius:{defaultValue:null,description:"",name:"borderBottomRadius",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { sm: string; md: string; lg: string; xl: string; }; }>>"}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'ConditionalStyle>'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},placeItems:{defaultValue:null,description:"",name:"placeItems",required:!1,type:{name:'ConditionalStyle | Values<...>>'}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:'ConditionalStyle | Values<...> | Values<...> | Values<...>>'}},backdropFilter:{defaultValue:null,description:"",name:"backdropFilter",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"blur"'}]}},fontFamily:{defaultValue:null,description:"",name:"fontFamily",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"body"'},{value:'"mono"'}]}},textOverflow:{defaultValue:null,description:"",name:"textOverflow",required:!1,type:{name:"enum",value:[{value:'"clip"'},{value:'"ellipsis"'}]}},textTransform:{defaultValue:null,description:"",name:"textTransform",required:!1,type:{name:"enum",value:[{value:'"capitalize"'},{value:'"lowercase"'},{value:'"uppercase"'}]}},textDecoration:{defaultValue:null,description:"",name:"textDecoration",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"underline"'}]}},userSelect:{defaultValue:null,description:"",name:"userSelect",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"all"'},{value:'"auto"'},{value:'"text"'}]}},whiteSpace:{defaultValue:null,description:"",name:"whiteSpace",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"nowrap"'}]}},wordBreak:{defaultValue:null,description:"",name:"wordBreak",required:!1,type:{name:"enum",value:[{value:'"break-word"'}]}},wordWrap:{defaultValue:null,description:"",name:"wordWrap",required:!1,type:{name:"enum",value:[{value:'"inherit"'},{value:'"initial"'},{value:'"normal"'},{value:'"break-word"'}]}},zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"0"'},{value:'"1"'},{value:'"50"'},{value:'"10"'},{value:'"20"'},{value:'"30"'},{value:'"40"'},{value:'"-1"'}]}},aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"1/1"'},{value:'"16/9"'},{value:'"4/3"'},{value:'"3/1"'}]}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomColor:{defaultValue:null,description:"",name:"borderBottomColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderBottomStyle:{defaultValue:null,description:"",name:"borderBottomStyle",required:!1,type:{name:'ConditionalStyle>'}},borderLeftColor:{defaultValue:null,description:"",name:"borderLeftColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderLeftStyle:{defaultValue:null,description:"",name:"borderLeftStyle",required:!1,type:{name:'ConditionalStyle>'}},borderRightColor:{defaultValue:null,description:"",name:"borderRightColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderRightStyle:{defaultValue:null,description:"",name:"borderRightStyle",required:!1,type:{name:'ConditionalStyle>'}},borderTopColor:{defaultValue:null,description:"",name:"borderTopColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderTopStyle:{defaultValue:null,description:"",name:"borderTopStyle",required:!1,type:{name:'ConditionalStyle>'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'ConditionalStyle>'}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:'ConditionalStyle>'}},opacity:{defaultValue:null,description:"",name:"opacity",required:!1,type:{name:"ConditionalStyle, { defaultClass: string; conditions: { base: string; active: string; disabled: string; focus: string; hover: string; checked: string; }; }>>"}},pointerEvents:{defaultValue:null,description:"",name:"pointerEvents",required:!1,type:{name:'ConditionalStyle>'}},outline:{defaultValue:null,description:"",name:"outline",required:!1,type:{name:'ConditionalStyle>'}},boxShadow:{defaultValue:null,description:"",name:"boxShadow",required:!1,type:{name:'ConditionalStyle>'}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"ConditionalStyle, { ...; }>>"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:'ConditionalStyle>'}},focusRing:{defaultValue:null,description:"",name:"focusRing",required:!1,type:{name:'ConditionalStyle>'}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xs"'}]}},disableAnimation:{defaultValue:null,description:"",name:"disableAnimation",required:!1,type:{name:"boolean"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},symbol:{defaultValue:null,description:"",name:"symbol",required:!1,type:{name:"string"}},withNetwork:{defaultValue:null,description:"",name:"withNetwork",required:!1,type:{name:"number"}}}}}catch{}export{l as T}; diff --git a/assets/TokenImage.stories-dXImc5Zw.js b/assets/TokenImage.stories-DTmRhOYz.js similarity index 89% rename from assets/TokenImage.stories-dXImc5Zw.js rename to assets/TokenImage.stories-DTmRhOYz.js index 50f7920ab..e6ce3f20c 100644 --- a/assets/TokenImage.stories-dXImc5Zw.js +++ b/assets/TokenImage.stories-DTmRhOYz.js @@ -1,4 +1,4 @@ -import{T as d}from"./TokenImage-DNqq_BnT.js";import"./jsx-runtime-CexXSJP5.js";import"./index-BP8_t0zE.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./NetworkImage-DgQnRr6T.js";import"./Image-B9MDd9m4.js";import"./motion-Djta419p.js";import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./Text-D7WiMjUB.js";import"./typography-BClcJN8w.js";/* empty css */const T={title:"Components/TokenImage",component:d},e={args:{borderRadius:"circle",size:"lg",src:"https://assets.coingecko.com/coins/images/4713/large/matic-token-icon.png?1624446912"}},s={args:{size:"lg",symbol:"SCAM"}},r={args:{borderRadius:"circle",size:"lg",src:"https://assets.sequence.info/images/networks/medium/37714555429.webp",withNetwork:1}};var o,t,a;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{T as d}from"./TokenImage-C-7QrOBw.js";import"./jsx-runtime-CexXSJP5.js";import"./index-BP8_t0zE.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./NetworkImage-BU04VSmk.js";import"./Image-tqqx5b76.js";import"./motion-Djta419p.js";import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./Text-D7WiMjUB.js";import"./typography-BClcJN8w.js";/* empty css */const T={title:"Components/TokenImage",component:d},e={args:{borderRadius:"circle",size:"lg",src:"https://assets.coingecko.com/coins/images/4713/large/matic-token-icon.png?1624446912"}},s={args:{size:"lg",symbol:"SCAM"}},r={args:{borderRadius:"circle",size:"lg",src:"https://assets.sequence.info/images/networks/medium/37714555429.webp",withNetwork:1}};var o,t,a;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { borderRadius: 'circle', size: 'lg', diff --git a/assets/Typography.stories-CLCt4x7K.js b/assets/Typography.stories-CVqj775F.js similarity index 93% rename from assets/Typography.stories-CLCt4x7K.js rename to assets/Typography.stories-CVqj775F.js index 63f88d025..8670134ec 100644 --- a/assets/Typography.stories-CLCt4x7K.js +++ b/assets/Typography.stories-CVqj775F.js @@ -1,4 +1,4 @@ -import{M as h}from"./chunk-HLWAVYOI-BrDl87NK.js";import{T as n}from"./Text-D7WiMjUB.js";import{T as c}from"./ThemeProvider-BuuYqdOr.js";import{j as e}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as p}from"./index-BqX3zWas.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./typography-BClcJN8w.js";/* empty css */import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./vars.css-vIjhzn4K.js";import"./color-qnkbROzP.js";const r="The quick brown fox jumps over the lazy dog";function o(s){const t=Object.assign({h1:"h1",p:"p",strong:"strong",code:"code"},p(),s.components);return e.jsxs(e.Fragment,{children:[e.jsx(h,{title:"Design System/Typography"}),` +import{M as h}from"./chunk-HLWAVYOI-Bey4oObw.js";import{T as n}from"./Text-D7WiMjUB.js";import{T as c}from"./ThemeProvider-BuuYqdOr.js";import{j as e}from"./jsx-runtime-CexXSJP5.js";import{useMDXComponents as p}from"./index-BqX3zWas.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";import"./Box-Cj61Dz8D.js";import"./helpers.css.ts.vanilla-CPoYynXN.js";/* empty css */import"./typography-BClcJN8w.js";/* empty css */import"./createRuntimeFn-62c9670f.esm-UsP-ae2O.js";import"./vars.css-vIjhzn4K.js";import"./color-qnkbROzP.js";const r="The quick brown fox jumps over the lazy dog";function o(s){const t=Object.assign({h1:"h1",p:"p",strong:"strong",code:"code"},p(),s.components);return e.jsxs(e.Fragment,{children:[e.jsx(h,{title:"Design System/Typography"}),` `,e.jsx(t.h1,{id:"typography",children:"Typography"}),` `,e.jsx(t.p,{children:"The defined set of typefaces and used in the design system."}),` `,e.jsxs(c,{theme:"light",children:[e.jsxs(t.p,{children:[e.jsx(t.strong,{children:"xlarge"}),` diff --git a/assets/WithTooltip-V3YHNWJZ-BDYZaCBx.js b/assets/WithTooltip-V3YHNWJZ-Dzv3lmOJ.js similarity index 68% rename from assets/WithTooltip-V3YHNWJZ-BDYZaCBx.js rename to assets/WithTooltip-V3YHNWJZ-Dzv3lmOJ.js index a6a1593b2..2b4799b46 100644 --- a/assets/WithTooltip-V3YHNWJZ-BDYZaCBx.js +++ b/assets/WithTooltip-V3YHNWJZ-Dzv3lmOJ.js @@ -1 +1 @@ -import{W as l,W as s,a as f}from"./chunk-HLWAVYOI-BrDl87NK.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";export{l as WithToolTipState,s as WithTooltip,f as WithTooltipPure}; +import{W as l,W as s,a as f}from"./chunk-HLWAVYOI-Bey4oObw.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";export{l as WithToolTipState,s as WithTooltip,f as WithTooltipPure}; diff --git a/assets/chunk-HLWAVYOI-BrDl87NK.js b/assets/chunk-HLWAVYOI-Bey4oObw.js similarity index 99% rename from assets/chunk-HLWAVYOI-BrDl87NK.js rename to assets/chunk-HLWAVYOI-Bey4oObw.js index 5a53e861d..29bcc6156 100644 --- a/assets/chunk-HLWAVYOI-BrDl87NK.js +++ b/assets/chunk-HLWAVYOI-Bey4oObw.js @@ -1,5 +1,5 @@ -const __vite__fileDeps=["./syntaxhighlighter-B5GMVT5T-D1Yqk6Ba.js","./iframe-CpOr2SnB.js","./index-BP8_t0zE.js","./react-18-DTpxdJzO.js","./index-BxmsGmlx.js","./chunk-EIRT5I3Z-Cd9gZQWv.js","./index-D2DNihGs.js","./index-EEBIeVPD.js","./index-DrFu-skq.js","./formatter-SWP5E3XI-Dl-L-Ysq.js","./WithTooltip-V3YHNWJZ-BDYZaCBx.js","./Color-6VNJS4EI-rTare7yS.js","./index-BqX3zWas.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as xt}from"./iframe-CpOr2SnB.js";import{r as b,R as bl,g as kn,a,c as Xn}from"./index-BP8_t0zE.js";import{r as O0,u as T0}from"./react-18-DTpxdJzO.js";import{_ as us,a as io,b as Ut,t as Yt,d as R0,e as ka,g as F0,f as G,l as yl,m as L0,h as Sr}from"./chunk-EIRT5I3Z-Cd9gZQWv.js";import{r as ds,R as D0}from"./index-BxmsGmlx.js";import{L as ps,O as $0}from"./index-D2DNihGs.js";import{q as fs,r as M0,s as ms,t as B0,i as _n,v as I0,w as N0,x as j0,c as gs,y as hs,z as P0,A as bs,B as H0,C as Z0,D as V0,E as z0,F as q0,G as U0,H as ys,I as W0,J as G0,K as vs,_ as Y0,L as K0,M as X0,N as so,d as Es,O as xs,P as As,Q as J0,R as Q0,U as e1,e as t1,S as vl,V as _a,k as Jn}from"./index-EEBIeVPD.js";import{d as Ee}from"./index-DrFu-skq.js";var Ze=e=>`control-${e.replace(/\s+/g,"-")}`,On=e=>`set-${e.replace(/\s+/g,"-")}`,r1=function(t){return t()},ws=bl.useInsertionEffect?bl.useInsertionEffect:!1,co=ws||r1,El=ws||b.useLayoutEffect;function Jr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ss={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,o,l){function i(u,d){if(!o[u]){if(!n[u]){var f=typeof Jr=="function"&&Jr;if(!d&&f)return f(u,!0);if(c)return c(u,!0);var g=new Error("Cannot find module '"+u+"'");throw g.code="MODULE_NOT_FOUND",g}var p=o[u]={exports:{}};n[u][0].call(p.exports,function(h){var m=n[u][1][h];return i(m||h)},p,p.exports,r,n,o,l)}return o[u].exports}for(var c=typeof Jr=="function"&&Jr,s=0;s=0)return this.lastItem=this.list[c],this.list[c].val},l.prototype.set=function(i,c){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=c,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=c,this):(this.lastItem={key:i,val:c},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(i){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),c=this.indexOf(i),c>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(i){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],!0):!1)},l.prototype.forEach=function(i,c){var s;for(s=0;s0&&(v[w]={cacheItem:h,arg:arguments[w]},y?i(f,v):f.push(v),f.length>u&&c(f.shift())),p.wasMemoized=y,p.numArgs=w+1,A};return p.limit=u,p.wasMemoized=!1,p.cache=d,p.lru=f,p}};function i(u,d){var f=u.length,g=d.length,p,h,m;for(h=0;h=0&&(f=u[p],g=f.cacheItem.get(f.arg),!g||!g.size);p--)f.cacheItem.delete(f.arg)}function s(u,d){return u===d||u!==u&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})})(Ss);var n1=Ss.exports;const Pt=kn(n1),{logger:a1}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var o1=io({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,l=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,A=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function E(M){return typeof M=="string"||typeof M=="function"||M===o||M===d||M===i||M===l||M===g||M===p||typeof M=="object"&&M!==null&&(M.$$typeof===m||M.$$typeof===h||M.$$typeof===c||M.$$typeof===s||M.$$typeof===f||M.$$typeof===w||M.$$typeof===v||M.$$typeof===y||M.$$typeof===A)}function x(M){if(typeof M=="object"&&M!==null){var je=M.$$typeof;switch(je){case r:var ze=M.type;switch(ze){case u:case d:case o:case i:case l:case g:return ze;default:var kt=ze&&ze.$$typeof;switch(kt){case s:case f:case m:case h:case c:return kt;default:return je}}case n:return je}}}var S=u,C=d,k=s,O=c,T=r,R=f,F=o,L=m,N=h,D=n,$=i,j=l,Z=g,B=!1;function P(M){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(M)||x(M)===u}function Y(M){return x(M)===d}function te(M){return x(M)===s}function W(M){return x(M)===c}function K(M){return typeof M=="object"&&M!==null&&M.$$typeof===r}function I(M){return x(M)===f}function V(M){return x(M)===o}function z(M){return x(M)===m}function ie(M){return x(M)===h}function he(M){return x(M)===n}function it(M){return x(M)===i}function Fe(M){return x(M)===l}function Ve(M){return x(M)===g}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=k,e.ContextProvider=O,e.Element=T,e.ForwardRef=R,e.Fragment=F,e.Lazy=L,e.Memo=N,e.Portal=D,e.Profiler=$,e.StrictMode=j,e.Suspense=Z,e.isAsyncMode=P,e.isConcurrentMode=Y,e.isContextConsumer=te,e.isContextProvider=W,e.isElement=K,e.isForwardRef=I,e.isFragment=V,e.isLazy=z,e.isMemo=ie,e.isPortal=he,e.isProfiler=it,e.isStrictMode=Fe,e.isSuspense=Ve,e.isValidElementType=E,e.typeOf=x})()}}),l1=io({"../../node_modules/react-is/index.js"(e,t){t.exports=o1()}}),Cs=io({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=l1(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[r.ForwardRef]=l,c[r.Memo]=i;function s(A){return r.isMemo(A)?i:c[A.$$typeof]||n}var u=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function m(A,w,v){if(typeof w!="string"){if(h){var y=p(w);y&&y!==h&&m(A,y,v)}var E=d(w);f&&(E=E.concat(f(w)));for(var x=s(A),S=s(w),C=0;Ci.map(i=>__vite__fileDeps[i]); +import{_ as xt}from"./iframe-B2u2cbVa.js";import{r as b,R as bl,g as kn,a,c as Xn}from"./index-BP8_t0zE.js";import{r as O0,u as T0}from"./react-18-DTpxdJzO.js";import{_ as us,a as io,b as Ut,t as Yt,d as R0,e as ka,g as F0,f as G,l as yl,m as L0,h as Sr}from"./chunk-EIRT5I3Z-Cd9gZQWv.js";import{r as ds,R as D0}from"./index-BxmsGmlx.js";import{L as ps,O as $0}from"./index-D2DNihGs.js";import{q as fs,r as M0,s as ms,t as B0,i as _n,v as I0,w as N0,x as j0,c as gs,y as hs,z as P0,A as bs,B as H0,C as Z0,D as V0,E as z0,F as q0,G as U0,H as ys,I as W0,J as G0,K as vs,_ as Y0,L as K0,M as X0,N as so,d as Es,O as xs,P as As,Q as J0,R as Q0,U as e1,e as t1,S as vl,V as _a,k as Jn}from"./index-EEBIeVPD.js";import{d as Ee}from"./index-DrFu-skq.js";var Ze=e=>`control-${e.replace(/\s+/g,"-")}`,On=e=>`set-${e.replace(/\s+/g,"-")}`,r1=function(t){return t()},ws=bl.useInsertionEffect?bl.useInsertionEffect:!1,co=ws||r1,El=ws||b.useLayoutEffect;function Jr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ss={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,o,l){function i(u,d){if(!o[u]){if(!n[u]){var f=typeof Jr=="function"&&Jr;if(!d&&f)return f(u,!0);if(c)return c(u,!0);var g=new Error("Cannot find module '"+u+"'");throw g.code="MODULE_NOT_FOUND",g}var p=o[u]={exports:{}};n[u][0].call(p.exports,function(h){var m=n[u][1][h];return i(m||h)},p,p.exports,r,n,o,l)}return o[u].exports}for(var c=typeof Jr=="function"&&Jr,s=0;s=0)return this.lastItem=this.list[c],this.list[c].val},l.prototype.set=function(i,c){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=c,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=c,this):(this.lastItem={key:i,val:c},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(i){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),c=this.indexOf(i),c>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(i){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],!0):!1)},l.prototype.forEach=function(i,c){var s;for(s=0;s0&&(v[w]={cacheItem:h,arg:arguments[w]},y?i(f,v):f.push(v),f.length>u&&c(f.shift())),p.wasMemoized=y,p.numArgs=w+1,A};return p.limit=u,p.wasMemoized=!1,p.cache=d,p.lru=f,p}};function i(u,d){var f=u.length,g=d.length,p,h,m;for(h=0;h=0&&(f=u[p],g=f.cacheItem.get(f.arg),!g||!g.size);p--)f.cacheItem.delete(f.arg)}function s(u,d){return u===d||u!==u&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})})(Ss);var n1=Ss.exports;const Pt=kn(n1),{logger:a1}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var o1=io({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,l=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,A=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function E(M){return typeof M=="string"||typeof M=="function"||M===o||M===d||M===i||M===l||M===g||M===p||typeof M=="object"&&M!==null&&(M.$$typeof===m||M.$$typeof===h||M.$$typeof===c||M.$$typeof===s||M.$$typeof===f||M.$$typeof===w||M.$$typeof===v||M.$$typeof===y||M.$$typeof===A)}function x(M){if(typeof M=="object"&&M!==null){var je=M.$$typeof;switch(je){case r:var ze=M.type;switch(ze){case u:case d:case o:case i:case l:case g:return ze;default:var kt=ze&&ze.$$typeof;switch(kt){case s:case f:case m:case h:case c:return kt;default:return je}}case n:return je}}}var S=u,C=d,k=s,O=c,T=r,R=f,F=o,L=m,N=h,D=n,$=i,j=l,Z=g,B=!1;function P(M){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(M)||x(M)===u}function Y(M){return x(M)===d}function te(M){return x(M)===s}function W(M){return x(M)===c}function K(M){return typeof M=="object"&&M!==null&&M.$$typeof===r}function I(M){return x(M)===f}function V(M){return x(M)===o}function z(M){return x(M)===m}function ie(M){return x(M)===h}function he(M){return x(M)===n}function it(M){return x(M)===i}function Fe(M){return x(M)===l}function Ve(M){return x(M)===g}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=k,e.ContextProvider=O,e.Element=T,e.ForwardRef=R,e.Fragment=F,e.Lazy=L,e.Memo=N,e.Portal=D,e.Profiler=$,e.StrictMode=j,e.Suspense=Z,e.isAsyncMode=P,e.isConcurrentMode=Y,e.isContextConsumer=te,e.isContextProvider=W,e.isElement=K,e.isForwardRef=I,e.isFragment=V,e.isLazy=z,e.isMemo=ie,e.isPortal=he,e.isProfiler=it,e.isStrictMode=Fe,e.isSuspense=Ve,e.isValidElementType=E,e.typeOf=x})()}}),l1=io({"../../node_modules/react-is/index.js"(e,t){t.exports=o1()}}),Cs=io({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=l1(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[r.ForwardRef]=l,c[r.Memo]=i;function s(A){return r.isMemo(A)?i:c[A.$$typeof]||n}var u=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function m(A,w,v){if(typeof w!="string"){if(h){var y=p(w);y&&y!==h&&m(A,y,v)}var E=d(w);f&&(E=E.concat(f(w)));for(var x=s(A),S=s(w),C=0;C0?ue(cr,--we):0,Qt--,ne===10&&(Qt=1,Rn--),ne}function ke(){return ne=we2||Or(ne)>3?"":" "}function x1(e,t){for(;--t&&ke()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return Pr(e,sn()+(t<6&&at()==32&&ke()==32))}function Ra(e){for(;ke();)switch(ne){case e:return we;case 34:case 39:e!==34&&e!==39&&Ra(ne);break;case 40:e===41&&Ra(e);break;case 92:ke();break}return we}function A1(e,t){for(;ke()&&e+ne!==57&&!(e+ne===84&&at()===47););return"/*"+Pr(t,we-1)+"*"+Tn(e===47?e:ke())}function w1(e){for(;!Or(at());)ke();return Pr(e,we)}function S1(e){return Fs(un("",null,null,null,[""],e=Rs(e),0,[0],e))}function un(e,t,r,n,o,l,i,c,s){for(var u=0,d=0,f=i,g=0,p=0,h=0,m=1,A=1,w=1,v=0,y="",E=o,x=l,S=n,C=y;A;)switch(h=v,v=ke()){case 40:if(h!=108&&ue(C,f-1)==58){Ta(C+=U(cn(v),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:C+=cn(v);break;case 9:case 10:case 13:case 32:C+=E1(h);break;case 92:C+=x1(sn()-1,7);continue;case 47:switch(at()){case 42:case 47:Qr(C1(A1(ke(),sn()),t,r),s);break;default:C+="/"}break;case 123*m:c[u++]=Je(C)*w;case 125*m:case 59:case 0:switch(v){case 0:case 125:A=0;case 59+d:w==-1&&(C=U(C,/\f/g,"")),p>0&&Je(C)-f&&Qr(p>32?Al(C+";",n,r,f-1):Al(U(C," ","")+";",n,r,f-2),s);break;case 59:C+=";";default:if(Qr(S=xl(C,t,r,u,d,o,c,y,E=[],x=[],f),l),v===123)if(d===0)un(C,t,S,S,E,l,f,c,x);else switch(g===99&&ue(C,3)===110?100:g){case 100:case 108:case 109:case 115:un(e,S,S,n&&Qr(xl(e,S,S,0,0,o,c,y,o,E=[],f),x),o,x,f,c,n?E:x);break;default:un(C,S,S,S,[""],x,0,c,x)}}u=d=p=0,m=w=1,y=C="",f=i;break;case 58:f=1+Je(C),p=h;default:if(m<1){if(v==123)--m;else if(v==125&&m++==0&&v1()==125)continue}switch(C+=Tn(v),v*m){case 38:w=d>0?1:(C+="\f",-1);break;case 44:c[u++]=(Je(C)-1)*w,w=1;break;case 64:at()===45&&(C+=cn(ke())),g=at(),d=f=Je(y=C+=w1(sn())),v++;break;case 45:h===45&&Je(C)==2&&(m=0)}}return l}function xl(e,t,r,n,o,l,i,c,s,u,d){for(var f=o-1,g=o===0?l:[""],p=go(g),h=0,m=0,A=0;h0?g[w]+" "+v:U(v,/&\f/g,g[w])))&&(s[A++]=y);return Fn(e,t,r,o===0?fo:c,s,u,d)}function C1(e,t,r){return Fn(e,t,r,po,Tn(y1()),_r(e,2,-2),0)}function Al(e,t,r,n){return Fn(e,t,r,mo,_r(e,0,n),_r(e,n+1,-1),n)}function Jt(e,t){for(var r="",n=go(e),o=0;o-1},M1=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var l=!!t.parent,i=l?t.parent.children:n,c=i.length-1;c>=0;c--){var s=i[c];if(s.line=0;r--)if(!Ls(t[r]))return!0;return!1},Cl=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},I1=function(e,t,r){Ls(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Cl(e)):B1(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Cl(e)))};function Ds(e,t){switch(g1(e,t)){case 5103:return q+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+yn+e+ge+e+e;case 6828:case 4268:return q+e+ge+e+e;case 6165:return q+e+ge+"flex-"+e+e;case 5187:return q+e+U(e,/(\w+).+(:[^]+)/,q+"box-$1$2"+ge+"flex-$1$2")+e;case 5443:return q+e+ge+"flex-item-"+U(e,/flex-|-self/,"")+e;case 4675:return q+e+ge+"flex-line-pack"+U(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+ge+U(e,"shrink","negative")+e;case 5292:return q+e+ge+U(e,"basis","preferred-size")+e;case 6060:return q+"box-"+U(e,"-grow","")+q+e+ge+U(e,"grow","positive")+e;case 4554:return q+U(e,/([^-])(transform)/g,"$1"+q+"$2")+e;case 6187:return U(U(U(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return U(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return U(U(e,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return U(e,/(.+)-inline(.+)/,q+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Je(e)-1-t>6)switch(ue(e,t+1)){case 109:if(ue(e,t+4)!==45)break;case 102:return U(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+yn+(ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ta(e,"stretch")?Ds(U(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ue(e,t+1)!==115)break;case 6444:switch(ue(e,Je(e)-3-(~Ta(e,"!important")&&10))){case 107:return U(e,":",":"+q)+e;case 101:return U(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(ue(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+ge+"$2box$3")+e}break;case 5936:switch(ue(e,t+11)){case 114:return q+e+ge+U(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+ge+U(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+ge+U(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+ge+e+e}return e}var N1=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case mo:e.return=Ds(e.value,e.length);break;case _s:return Jt([vr(e,{value:U(e.value,"@","@"+q)})],n);case fo:if(e.length)return b1(e.props,function(o){switch(h1(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Jt([vr(e,{props:[U(o,/:(read-\w+)/,":"+yn+"$1")]})],n);case"::placeholder":return Jt([vr(e,{props:[U(o,/:(plac\w+)/,":"+q+"input-$1")]}),vr(e,{props:[U(o,/:(plac\w+)/,":"+yn+"$1")]}),vr(e,{props:[U(o,/:(plac\w+)/,ge+"input-$1")]})],n)}return""})}},j1=[N1],P1=function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var m=h.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var n=e.stylisPlugins||j1;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},l,i=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(h){for(var m=h.getAttribute("data-emotion").split(" "),A=1;A=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var V1={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},kl=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". @@ -79,9 +79,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho path { fill: currentColor; } -`,ye=({icon:e,useSymbol:t,...r})=>a.createElement(Xc,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?a.createElement("use",{xlinkHref:`#icon--${e}`}):Br[e]),pm=b.memo(function({icons:e=Object.keys(Br)}){return a.createElement(Xc,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>a.createElement("symbol",{id:`icon--${t}`,key:t},Br[t])))}),fm=0,mm=e=>e.button===fm&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,gm=(e,t)=>{mm(e)&&(e.preventDefault(),t(e))},hm=_.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),bm=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Xt(.07,e.color.secondary),"svg path:not([fill])":{fill:Xt(.07,e.color.secondary)}},"&:active":{color:Xt(.1,e.color.secondary),"svg path:not([fill])":{fill:Xt(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Et=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:o,className:l,...i})=>a.createElement(bm,{...i,onClick:r&&e?c=>gm(c,r):r,className:l},a.createElement(hm,{withArrow:n,containsIcon:o},t,n&&a.createElement(ye,{icon:"arrowright"})));Et.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var ym=_.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),It=[],lr=null,vm=b.lazy(async()=>{let{SyntaxHighlighter:e}=await xt(()=>import("./syntaxhighlighter-B5GMVT5T-D1Yqk6Ba.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);return It.length>0&&(It.forEach(t=>{e.registerLanguage(...t)}),It=[]),lr===null&&(lr=e),{default:t=>a.createElement(e,{...t})}}),Em=b.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([xt(()=>import("./syntaxhighlighter-B5GMVT5T-D1Yqk6Ba.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),xt(()=>import("./formatter-SWP5E3XI-Dl-L-Ysq.js"),__vite__mapDeps([9,1,2,3,4,5,6,7,8]),import.meta.url)]);return It.length>0&&(It.forEach(r=>{e.registerLanguage(...r)}),It=[]),lr===null&&(lr=e),{default:r=>a.createElement(e,{...r,formatter:t})}}),jn=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},e.format!==!1?a.createElement(Em,{...e}):a.createElement(vm,{...e}));jn.registerLanguage=(...e)=>{if(lr!==null){lr.registerLanguage(...e);return}It.push(e)};var xm=e=>typeof e=="number"?e:Number(e),Am=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Da}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Da}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),wm=({col:e,row:t,outer:r,children:n,...o})=>{let l=xm(typeof r=="number"||!r?r:e||t);return a.createElement(Am,{col:e,row:t,outer:l,...o},n)},Sm=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Cm=_.div(),km=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Jc=({children:e,...t})=>{let[r,n]=b.Children.toArray(e);return a.createElement(km,{...t},a.createElement(Sm,null,r),n&&a.createElement(Cm,null,n))},_m=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function Om({scale:e,children:t}){let r=b.useRef(null),[n,o]=b.useState(0),l=b.useCallback(({height:i})=>{i&&o(i/e)},[e]);return b.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),Oc({ref:r,onResize:l}),a.createElement(_m,{scale:e,elementHeight:n},a.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var Tm=class extends b.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return a.createElement(a.Fragment,null,e)}},Qc={Element:Om,IFrame:Tm},{document:Rm}=_f,Fm=_.strong(({theme:e})=>({color:e.color.orange})),Lm=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),si=_.em(({theme:e})=>({color:e.textMutedColor})),Dm=/(Error): (.*)\n/,$m=/at (?:(.*) )?\(?(.+)\)?/,Mm=/([^@]+)?(?:\/<)?@(.+)?/,Bm=/([^@]+)?@(.+)?/,eu=({error:e})=>{if(!e)return a.createElement(b.Fragment,null,"This error has no stack or message");if(!e.stack)return a.createElement(b.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} +`,ye=({icon:e,useSymbol:t,...r})=>a.createElement(Xc,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?a.createElement("use",{xlinkHref:`#icon--${e}`}):Br[e]),pm=b.memo(function({icons:e=Object.keys(Br)}){return a.createElement(Xc,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>a.createElement("symbol",{id:`icon--${t}`,key:t},Br[t])))}),fm=0,mm=e=>e.button===fm&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,gm=(e,t)=>{mm(e)&&(e.preventDefault(),t(e))},hm=_.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),bm=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Xt(.07,e.color.secondary),"svg path:not([fill])":{fill:Xt(.07,e.color.secondary)}},"&:active":{color:Xt(.1,e.color.secondary),"svg path:not([fill])":{fill:Xt(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Et=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:o,className:l,...i})=>a.createElement(bm,{...i,onClick:r&&e?c=>gm(c,r):r,className:l},a.createElement(hm,{withArrow:n,containsIcon:o},t,n&&a.createElement(ye,{icon:"arrowright"})));Et.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var ym=_.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),It=[],lr=null,vm=b.lazy(async()=>{let{SyntaxHighlighter:e}=await xt(()=>import("./syntaxhighlighter-B5GMVT5T-FXRGlIsl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);return It.length>0&&(It.forEach(t=>{e.registerLanguage(...t)}),It=[]),lr===null&&(lr=e),{default:t=>a.createElement(e,{...t})}}),Em=b.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([xt(()=>import("./syntaxhighlighter-B5GMVT5T-FXRGlIsl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),xt(()=>import("./formatter-SWP5E3XI-BY0UtLyc.js"),__vite__mapDeps([9,1,2,3,4,5,6,7,8]),import.meta.url)]);return It.length>0&&(It.forEach(r=>{e.registerLanguage(...r)}),It=[]),lr===null&&(lr=e),{default:r=>a.createElement(e,{...r,formatter:t})}}),jn=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},e.format!==!1?a.createElement(Em,{...e}):a.createElement(vm,{...e}));jn.registerLanguage=(...e)=>{if(lr!==null){lr.registerLanguage(...e);return}It.push(e)};var xm=e=>typeof e=="number"?e:Number(e),Am=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Da}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Da}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),wm=({col:e,row:t,outer:r,children:n,...o})=>{let l=xm(typeof r=="number"||!r?r:e||t);return a.createElement(Am,{col:e,row:t,outer:l,...o},n)},Sm=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Cm=_.div(),km=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Jc=({children:e,...t})=>{let[r,n]=b.Children.toArray(e);return a.createElement(km,{...t},a.createElement(Sm,null,r),n&&a.createElement(Cm,null,n))},_m=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function Om({scale:e,children:t}){let r=b.useRef(null),[n,o]=b.useState(0),l=b.useCallback(({height:i})=>{i&&o(i/e)},[e]);return b.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),Oc({ref:r,onResize:l}),a.createElement(_m,{scale:e,elementHeight:n},a.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var Tm=class extends b.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return a.createElement(a.Fragment,null,e)}},Qc={Element:Om,IFrame:Tm},{document:Rm}=_f,Fm=_.strong(({theme:e})=>({color:e.color.orange})),Lm=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),si=_.em(({theme:e})=>({color:e.textMutedColor})),Dm=/(Error): (.*)\n/,$m=/at (?:(.*) )?\(?(.+)\)?/,Mm=/([^@]+)?(?:\/<)?@(.+)?/,Bm=/([^@]+)?@(.+)?/,eu=({error:e})=>{if(!e)return a.createElement(b.Fragment,null,"This error has no stack or message");if(!e.stack)return a.createElement(b.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} -${t}`);let r=t.match(Dm);if(!r)return a.createElement(b.Fragment,null,t);let[,n,o]=r,l=t.split(/\n/).slice(1),[,...i]=l.map(c=>{let s=c.match($m)||c.match(Mm)||c.match(Bm);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(Rm.location.origin,"")}:null}).filter(Boolean);return a.createElement(b.Fragment,null,a.createElement("span",null,n),": ",a.createElement(Fm,null,o),a.createElement("br",null),i.map((c,s)=>c.name?a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(Lm,null,c.name)," (",a.createElement(si,null,c.location),")",a.createElement("br",null)):a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(si,null,c.location),a.createElement("br",null))))},tu=_.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?t.typography.size.s1:t.typography.size.s2-1}px`,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let o;return n?o=e.color.mediumlight:r?o=e.color.secondary:t&&(o=e.color.primary),o?{background:o,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:Xt(.05,o)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${dt(o,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${dt(o,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?Xt(.02,e.button.background):em(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${dt(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow:`${ve(.8,e.color.defaultText)} 0 0 0 1px inset`,color:ve(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${ve(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${ve(.5,e.color.defaultText)} 0 0 0 2px inset`,color:ve(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow:`${n} 0 0 0 1px inset`,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow:`${n} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:n,boxShadow:`${n} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${n} 0 0 0 1px inset, ${dt(n,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${n} 0 0 0 1px inset, ${dt(n,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let o;return n?o=e.color.secondary:r&&(o=e.color.primary),t&&o?{boxShadow:`${o} 0 0 0 1px inset`,color:o,"svg path:not([fill])":{fill:o},"&:hover":{boxShadow:`${o} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:o,boxShadow:`${o} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${o} 0 0 0 1px inset, ${dt(o,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${o} 0 0 0 1px inset, ${dt(o,.2)} 0 8px 18px 0px`}}:{}}),Im=tu.withComponent("a"),ru=Object.assign(b.forwardRef(function({isLink:e,children:t,...r},n){return e?a.createElement(Im,{...r,ref:n},t):a.createElement(tu,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),Nm=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),jm=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),nu=({label:e,children:t,...r})=>a.createElement(Nm,{...r},e?a.createElement(jm,null,a.createElement("span",null,e)):null,t);nu.defaultProps={label:void 0};function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}var ci=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},Hm=function(e,t){var r=b.useRef();return b.useCallback(function(n){e.current=n,r.current&&ci(r.current,null),r.current=t,t&&ci(t,n)},[t])},Zm=Hm,Vm=function(){},zm=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],qm=function(e,t){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,n=r===void 0?Vm:r;e.onHeightChange;var o=Pm(e,zm);o.value;var l=b.useRef(null),i=Zm(l,t);return b.useRef(0),b.useRef(),b.createElement("textarea",Ua({},o,{onChange:n,ref:i}))},Um=b.forwardRef(qm),Wm={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Zo=({theme:e})=>({...Wm,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),Pn=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},au=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},Hn=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},Gm=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("input",{...n,ref:o})}))(Zo,Pn,au,Hn,{minHeight:32}),{displayName:"Input"}),Ym=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("select",{...n,ref:o})}))(Zo,Pn,Hn,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Km=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(Um,{...n,ref:o})}))(Zo,Pn,au,Hn,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Xm=_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(ru,{...n,ref:o})}))(Pn,Hn,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),Jm=Object.assign(b.forwardRef(function(e,t){return a.createElement(Xm,{...e,tertiary:!0,small:!0,inForm:!0,ref:t})}),{displayName:"Button"}),He=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:nu,Input:Gm,Select:Ym,Textarea:Km,Button:Jm}),Qm=b.lazy(()=>xt(()=>import("./WithTooltip-V3YHNWJZ-BDYZaCBx.js"),__vite__mapDeps([10,1,2,3,4,5,6,7,8]),import.meta.url).then(e=>({default:e.WithTooltip}))),eg=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(Qm,{...e})),tg=b.lazy(()=>xt(()=>import("./WithTooltip-V3YHNWJZ-BDYZaCBx.js"),__vite__mapDeps([10,1,2,3,4,5,6,7,8]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),ou=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(tg,{...e})),rg=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),ng=_.span(),ag=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),og=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),lg=_.div({padding:15,width:280,boxSizing:"border-box"}),lu=({title:e,desc:t,links:r})=>a.createElement(lg,null,a.createElement(og,null,e&&a.createElement(rg,null,e),t&&a.createElement(ng,null,t)),r&&a.createElement(ag,null,r.map(({title:n,...o})=>a.createElement(Et,{...o,key:n},n))));lu.defaultProps={title:null,desc:null,links:null};var ig=_.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),sg=({note:e,...t})=>a.createElement(ig,{...t},e),cg=_(({active:e,loading:t,disabled:r,...n})=>a.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:ve(.7,t.color.defaultText)}:{}),ug=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),dg=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),pg=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),ui=_.span(({active:e,theme:t})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:t.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),fg=_.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),mg=Pt(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),iu=({loading:e,left:t,title:r,center:n,right:o,icon:l,active:i,disabled:c,isIndented:s,href:u,onClick:d,LinkWrapper:f,...g})=>{let p=mg(d,u,f),h={active:i,disabled:c},m=typeof l=="string"&&Br[l];return a.createElement(fg,{...h,...g,...p},l?a.createElement(ui,{...h},m?a.createElement(ye,{icon:l}):l):t&&a.createElement(ui,{...h},t),r||n?a.createElement(dg,{isIndented:!t&&!l&&s},r&&a.createElement(cg,{...h,loading:e},r),n&&a.createElement(pg,{...h},n)):null,o&&a.createElement(ug,{...h},o))};iu.defaultProps={loading:!1,left:null,title:a.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var Vo=iu,gg=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),hg=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:o,...l}=e,{title:i,href:c,active:s}=l,u=b.useCallback(f=>{r(f,l)},[r]),d=!!r;return a.createElement(Vo,{title:i,active:s,href:c,id:`list-item-${n}`,LinkWrapper:t,isIndented:o,...l,...d?{onClick:u}:{}})},zo=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.left||n.icon);return a.createElement(gg,null,e.map(({isGatsby:n,...o})=>a.createElement(hg,{key:o.id,LinkWrapper:n?t:null,isIndented:r,...o})))};zo.defaultProps={LinkWrapper:Vo.defaultProps.LinkWrapper};var qo=a.forwardRef(({children:e,...t},r)=>t.href!=null?a.createElement("a",{ref:r,...t},e):a.createElement("button",{ref:r,type:"button",...t},e));qo.displayName="ButtonOrLink";var Wr=_(qo,{shouldForwardProp:uo})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.color.secondary}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent"});Wr.displayName="TabButton";var Nt=_(qo,{shouldForwardProp:uo})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:t})=>e?{backgroundColor:t.background.hoverable,color:t.barSelectedColor}:{},({disabled:e,theme:t})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:ve(.88,t.color.secondary),color:t.barHoverColor},"&:focus-visible":{outline:In},"&:focus:not(:focus-visible)":{outline:"none"}});Nt.displayName="IconButton";var bg=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),yg=_.div(()=>({marginTop:6,padding:7,height:28})),su=()=>a.createElement(yg,null,a.createElement(bg,null)),Wa=_.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});Wa.displayName="Side";var vg=({children:e,className:t,scrollable:r})=>r?a.createElement(_o,{vertical:!1,className:t},e):a.createElement("div",{className:t},e),Uo=_(vg)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Uo.displayName="Bar";var Eg=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Zn=({children:e,backgroundColor:t,...r})=>{let[n,o]=b.Children.toArray(e);return a.createElement(Uo,{...r},a.createElement(Eg,{bgColor:t},a.createElement(Wa,{scrollable:r.scrollable,left:!0},n),o?a.createElement(Wa,{right:!0},o):null))};Zn.displayName="FlexBar";var cu=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),di=e=>b.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let l=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof l=="function"?l:({active:i})=>a.createElement(cu,{active:i,role:"tabpanel"},l)}}),xg=_.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),Ag=_(Wr)(({active:e,theme:t,preActive:r})=>` +${t}`);let r=t.match(Dm);if(!r)return a.createElement(b.Fragment,null,t);let[,n,o]=r,l=t.split(/\n/).slice(1),[,...i]=l.map(c=>{let s=c.match($m)||c.match(Mm)||c.match(Bm);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(Rm.location.origin,"")}:null}).filter(Boolean);return a.createElement(b.Fragment,null,a.createElement("span",null,n),": ",a.createElement(Fm,null,o),a.createElement("br",null),i.map((c,s)=>c.name?a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(Lm,null,c.name)," (",a.createElement(si,null,c.location),")",a.createElement("br",null)):a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(si,null,c.location),a.createElement("br",null))))},tu=_.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?t.typography.size.s1:t.typography.size.s2-1}px`,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let o;return n?o=e.color.mediumlight:r?o=e.color.secondary:t&&(o=e.color.primary),o?{background:o,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:Xt(.05,o)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${dt(o,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${dt(o,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?Xt(.02,e.button.background):em(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${dt(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow:`${ve(.8,e.color.defaultText)} 0 0 0 1px inset`,color:ve(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${ve(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${ve(.5,e.color.defaultText)} 0 0 0 2px inset`,color:ve(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow:`${n} 0 0 0 1px inset`,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow:`${n} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:n,boxShadow:`${n} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${n} 0 0 0 1px inset, ${dt(n,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${n} 0 0 0 1px inset, ${dt(n,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let o;return n?o=e.color.secondary:r&&(o=e.color.primary),t&&o?{boxShadow:`${o} 0 0 0 1px inset`,color:o,"svg path:not([fill])":{fill:o},"&:hover":{boxShadow:`${o} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:o,boxShadow:`${o} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${o} 0 0 0 1px inset, ${dt(o,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${o} 0 0 0 1px inset, ${dt(o,.2)} 0 8px 18px 0px`}}:{}}),Im=tu.withComponent("a"),ru=Object.assign(b.forwardRef(function({isLink:e,children:t,...r},n){return e?a.createElement(Im,{...r,ref:n},t):a.createElement(tu,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),Nm=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),jm=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),nu=({label:e,children:t,...r})=>a.createElement(Nm,{...r},e?a.createElement(jm,null,a.createElement("span",null,e)):null,t);nu.defaultProps={label:void 0};function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}var ci=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},Hm=function(e,t){var r=b.useRef();return b.useCallback(function(n){e.current=n,r.current&&ci(r.current,null),r.current=t,t&&ci(t,n)},[t])},Zm=Hm,Vm=function(){},zm=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],qm=function(e,t){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,n=r===void 0?Vm:r;e.onHeightChange;var o=Pm(e,zm);o.value;var l=b.useRef(null),i=Zm(l,t);return b.useRef(0),b.useRef(),b.createElement("textarea",Ua({},o,{onChange:n,ref:i}))},Um=b.forwardRef(qm),Wm={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Zo=({theme:e})=>({...Wm,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),Pn=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},au=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},Hn=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},Gm=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("input",{...n,ref:o})}))(Zo,Pn,au,Hn,{minHeight:32}),{displayName:"Input"}),Ym=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("select",{...n,ref:o})}))(Zo,Pn,Hn,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Km=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(Um,{...n,ref:o})}))(Zo,Pn,au,Hn,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Xm=_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(ru,{...n,ref:o})}))(Pn,Hn,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),Jm=Object.assign(b.forwardRef(function(e,t){return a.createElement(Xm,{...e,tertiary:!0,small:!0,inForm:!0,ref:t})}),{displayName:"Button"}),He=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:nu,Input:Gm,Select:Ym,Textarea:Km,Button:Jm}),Qm=b.lazy(()=>xt(()=>import("./WithTooltip-V3YHNWJZ-Dzv3lmOJ.js"),__vite__mapDeps([10,1,2,3,4,5,6,7,8]),import.meta.url).then(e=>({default:e.WithTooltip}))),eg=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(Qm,{...e})),tg=b.lazy(()=>xt(()=>import("./WithTooltip-V3YHNWJZ-Dzv3lmOJ.js"),__vite__mapDeps([10,1,2,3,4,5,6,7,8]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),ou=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(tg,{...e})),rg=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),ng=_.span(),ag=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),og=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),lg=_.div({padding:15,width:280,boxSizing:"border-box"}),lu=({title:e,desc:t,links:r})=>a.createElement(lg,null,a.createElement(og,null,e&&a.createElement(rg,null,e),t&&a.createElement(ng,null,t)),r&&a.createElement(ag,null,r.map(({title:n,...o})=>a.createElement(Et,{...o,key:n},n))));lu.defaultProps={title:null,desc:null,links:null};var ig=_.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),sg=({note:e,...t})=>a.createElement(ig,{...t},e),cg=_(({active:e,loading:t,disabled:r,...n})=>a.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:ve(.7,t.color.defaultText)}:{}),ug=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),dg=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),pg=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),ui=_.span(({active:e,theme:t})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:t.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),fg=_.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),mg=Pt(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),iu=({loading:e,left:t,title:r,center:n,right:o,icon:l,active:i,disabled:c,isIndented:s,href:u,onClick:d,LinkWrapper:f,...g})=>{let p=mg(d,u,f),h={active:i,disabled:c},m=typeof l=="string"&&Br[l];return a.createElement(fg,{...h,...g,...p},l?a.createElement(ui,{...h},m?a.createElement(ye,{icon:l}):l):t&&a.createElement(ui,{...h},t),r||n?a.createElement(dg,{isIndented:!t&&!l&&s},r&&a.createElement(cg,{...h,loading:e},r),n&&a.createElement(pg,{...h},n)):null,o&&a.createElement(ug,{...h},o))};iu.defaultProps={loading:!1,left:null,title:a.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var Vo=iu,gg=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),hg=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:o,...l}=e,{title:i,href:c,active:s}=l,u=b.useCallback(f=>{r(f,l)},[r]),d=!!r;return a.createElement(Vo,{title:i,active:s,href:c,id:`list-item-${n}`,LinkWrapper:t,isIndented:o,...l,...d?{onClick:u}:{}})},zo=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.left||n.icon);return a.createElement(gg,null,e.map(({isGatsby:n,...o})=>a.createElement(hg,{key:o.id,LinkWrapper:n?t:null,isIndented:r,...o})))};zo.defaultProps={LinkWrapper:Vo.defaultProps.LinkWrapper};var qo=a.forwardRef(({children:e,...t},r)=>t.href!=null?a.createElement("a",{ref:r,...t},e):a.createElement("button",{ref:r,type:"button",...t},e));qo.displayName="ButtonOrLink";var Wr=_(qo,{shouldForwardProp:uo})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.color.secondary}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent"});Wr.displayName="TabButton";var Nt=_(qo,{shouldForwardProp:uo})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:t})=>e?{backgroundColor:t.background.hoverable,color:t.barSelectedColor}:{},({disabled:e,theme:t})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:ve(.88,t.color.secondary),color:t.barHoverColor},"&:focus-visible":{outline:In},"&:focus:not(:focus-visible)":{outline:"none"}});Nt.displayName="IconButton";var bg=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),yg=_.div(()=>({marginTop:6,padding:7,height:28})),su=()=>a.createElement(yg,null,a.createElement(bg,null)),Wa=_.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});Wa.displayName="Side";var vg=({children:e,className:t,scrollable:r})=>r?a.createElement(_o,{vertical:!1,className:t},e):a.createElement("div",{className:t},e),Uo=_(vg)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Uo.displayName="Bar";var Eg=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Zn=({children:e,backgroundColor:t,...r})=>{let[n,o]=b.Children.toArray(e);return a.createElement(Uo,{...r},a.createElement(Eg,{bgColor:t},a.createElement(Wa,{scrollable:r.scrollable,left:!0},n),o?a.createElement(Wa,{right:!0},o):null))};Zn.displayName="FlexBar";var cu=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),di=e=>b.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let l=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof l=="function"?l:({active:i})=>a.createElement(cu,{active:i,role:"tabpanel"},l)}}),xg=_.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),Ag=_(Wr)(({active:e,theme:t,preActive:r})=>` color: ${r||e?t.color.secondary:t.color.mediumdark}; &:hover { color: ${t.color.secondary}; @@ -161,7 +161,7 @@ ${t}`);let r=t.match(Dm);if(!r)return a.createElement(b.Fragment,null,t);let[,n, ${Xe(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Lt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${tt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),m0=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),ex=_(m0)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),tx=_.div({display:"flex",alignItems:"center",width:"100%"});function rx(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var nx=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:l=1,onBlur:i,onFocus:c})=>{let s=f=>{r(h8(f.target.value))},u=t!==void 0,d=b.useMemo(()=>rx(l),[l]);return a.createElement(tx,null,a.createElement(m0,null,n),a.createElement(Q8,{id:Ze(e),type:"range",onChange:s,name:e,value:t,min:n,max:o,step:l,onFocus:c,onBlur:i}),a.createElement(ex,{numberOFDecimalsPlaces:d,max:o},u?t.toFixed(d):"--"," / ",o))},ax=_.label({display:"flex"}),ox=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),lx=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:l})=>{let i=f=>{r(f.target.value)},[c,s]=b.useState(!1),u=b.useCallback(()=>{r(""),s(!0)},[s]);if(t===void 0)return a.createElement(He.Button,{id:On(e),onClick:u},"Set string");let d=typeof t=="string";return a.createElement(ax,null,a.createElement(He.Textarea,{id:Ze(e),maxLength:l,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:c,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:o}),l&&a.createElement(ox,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},ix=_(He.Input)({padding:10});function sx(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var cx=({onChange:e,name:t,accept:r="image/*",value:n})=>{let o=b.useRef(null);function l(i){if(!i.target.files)return;let c=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(c),sx(n)}return b.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),a.createElement(ix,{ref:o,id:Ze(t),type:"file",name:t,multiple:!0,onChange:l,accept:r,size:"flex"})},ux=b.lazy(()=>xt(()=>import("./Color-6VNJS4EI-rTare7yS.js"),__vite__mapDeps([11,2,7,1,3,4,5,6,8]),import.meta.url)),dx=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(ux,{...e})),px={array:rs,object:rs,boolean:s8,color:dx,date:m8,number:b8,check:Gt,"inline-check":Gt,radio:Gt,"inline-radio":Gt,select:Gt,"multi-select":Gt,range:nx,text:lx,file:cx},ns=()=>a.createElement(a.Fragment,null,"-"),fx=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:l}=e,[i,c]=b.useState(!1),[s,u]=b.useState({value:t});b.useEffect(()=>{i||u({value:t})},[i,t]);let d=b.useCallback(m=>(u({value:m}),r({[o]:m}),m),[r,o]),f=b.useCallback(()=>c(!1),[]),g=b.useCallback(()=>c(!0),[]);if(!l||l.disable)return n?a.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):a.createElement(ns,null);let p={name:o,argType:e,value:s.value,onChange:d,onBlur:f,onFocus:g},h=px[l.type]||ns;return a.createElement(h,{...p,...l,controlType:l.type})},mx=_.span({fontWeight:"bold"}),gx=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),hx=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...mt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),bx=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?4:0})),yx=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),vx=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),on=e=>{var m;let[t,r]=b.useState(!1),{row:n,updateArgs:o,compact:l,expandable:i,initialExpandedArgs:c}=e,{name:s,description:u}=n,d=n.table||{},f=d.type||n.type,g=d.defaultValue||n.defaultValue,p=(m=n.type)==null?void 0:m.required,h=u!=null&&u!=="";return a.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},a.createElement(vx,{expandable:i},a.createElement(mx,null,s),p?a.createElement(gx,{title:"Required"},"*"):null),l?null:a.createElement("td",null,h&&a.createElement(hx,null,a.createElement(ju,null,u)),d.jsDocTags!=null?a.createElement(a.Fragment,null,a.createElement(yx,{hasDescription:h},a.createElement(wa,{value:f,initialExpandedArgs:c})),a.createElement(KE,{tags:d.jsDocTags})):a.createElement(bx,{hasDescription:h},a.createElement(wa,{value:f,initialExpandedArgs:c}))),l?null:a.createElement("td",null,a.createElement(wa,{value:g,initialExpandedArgs:c})),o?a.createElement("td",null,a.createElement(fx,{...e,isHovered:t})):null)},Ex=_(ye)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),xx=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Ax=_.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),wx=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Sx=_.td(()=>({position:"relative"})),Cx=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Lt(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),as=_.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Ca=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[l,i]=b.useState(n),c=e==="subsection"?wx:Ax,s=(r==null?void 0:r.length)||0,u=e==="subsection"?`${s} item${s!==1?"s":""}`:"",d=l?"arrowdown":"arrowright",f=`${l?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return a.createElement(a.Fragment,null,a.createElement(Cx,{title:f},a.createElement(c,{colSpan:1},a.createElement(as,{onClick:g=>i(!l),tabIndex:0},f),a.createElement(xx,null,a.createElement(Ex,{icon:d}),t)),a.createElement(Sx,{colSpan:o-1},a.createElement(as,{onClick:g=>i(!l),tabIndex:-1,style:{outline:"none"}},f),l?null:u)),l?r:null)},ln=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),fe=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),le=_.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),me=[2,4,2,2],kx=()=>a.createElement(a.Fragment,null,a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"})))),_x=_.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),Ox=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),Tx=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),Rx=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),Fx=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Lx=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Dx=({inAddonPanel:e})=>{let[t,r]=b.useState(!0);return b.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:a.createElement(_x,{inAddonPanel:e},a.createElement(Ox,null,a.createElement(Tx,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),a.createElement(Rx,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),a.createElement(Fx,null,e&&a.createElement(a.Fragment,null,a.createElement(Et,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},a.createElement(ye,{icon:"video"})," Watch 5m video"),a.createElement(Lx,null),a.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&a.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},$x=_.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?Q(.25,e.color.defaultText):Q(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Mx=_(Nt)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),Bx=_.span({display:"flex",justifyContent:"space-between"}),Ix={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},Nx=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([l,i])=>{let{category:c,subcategory:s}=(i==null?void 0:i.table)||{};if(c){let u=r.sections[c]||{ungrouped:[],subsections:{}};if(!s)u.ungrouped.push({key:l,...i});else{let d=u.subsections[s]||[];d.push({key:l,...i}),u.subsections[s]=d}r.sections[c]=u}else if(s){let u=r.ungroupedSubsections[s]||[];u.push({key:l,...i}),r.ungroupedSubsections[s]=u}else r.ungrouped.push({key:l,...i})});let n=Ix[t],o=l=>n?Object.keys(l).reduce((i,c)=>({...i,[c]:l[c].sort(n)}),{}):l;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((l,i)=>({...l,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},jx=(e,t,r)=>{try{return $0(e,t,r)}catch(n){return bE.warn(n.message),!1}},Px=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:l,sort:i="none",isLoading:c}=e;if("error"in e){let{error:v}=e;return a.createElement(e0,null,v," ",a.createElement(Et,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(c)return a.createElement(kx,null);let{rows:s,args:u,globals:d}="rows"in e&&e,f=Nx(Ab(s,v=>{var y;return!((y=v==null?void 0:v.table)!=null&&y.disable)&&jx(v,u||{},d||{})}),i),g=f.ungrouped.length===0,p=Object.entries(f.sections).length===0,h=Object.entries(f.ungroupedSubsections).length===0;if(g&&p&&h)return a.createElement(Dx,{inAddonPanel:o});let m=1;t&&(m+=1),n||(m+=2);let A=Object.keys(f.sections).length>0,w={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:l};return a.createElement(Ur,null,a.createElement($x,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},a.createElement("thead",{className:"docblock-argstable-head"},a.createElement("tr",null,a.createElement("th",null,a.createElement("span",null,"Name")),n?null:a.createElement("th",null,a.createElement("span",null,"Description")),n?null:a.createElement("th",null,a.createElement("span",null,"Default")),t?a.createElement("th",null,a.createElement(Bx,null,"Control"," ",!c&&r&&a.createElement(Mx,{onClick:()=>r(),title:"Reset controls"},a.createElement(ye,{icon:"undo","aria-hidden":!0})))):null)),a.createElement("tbody",{className:"docblock-argstable-body"},f.ungrouped.map(v=>a.createElement(on,{key:v.key,row:v,arg:u&&u[v.key],...w})),Object.entries(f.ungroupedSubsections).map(([v,y])=>a.createElement(Ca,{key:v,label:v,level:"subsection",colSpan:m},y.map(E=>a.createElement(on,{key:E.key,row:E,arg:u&&u[E.key],expandable:A,...w})))),Object.entries(f.sections).map(([v,y])=>a.createElement(Ca,{key:v,label:v,level:"section",colSpan:m},y.ungrouped.map(E=>a.createElement(on,{key:E.key,row:E,arg:u&&u[E.key],...w})),Object.entries(y.subsections).map(([E,x])=>a.createElement(Ca,{key:E,label:E,level:"subsection",colSpan:m},x.map(S=>a.createElement(on,{key:S.key,row:S,arg:u&&u[S.key],expandable:A,...w})))))))))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(ee,({theme:e})=>({...Wn(e),margin:"25px 0 40px",padding:"30px 20px"}));var Hx=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),Zx=_.div(({theme:e})=>({color:e.base==="light"?Q(.2,e.color.defaultText):Q(.6,e.color.defaultText)})),Vx=_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),zx=_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),os=_.div({display:"flex",flexDirection:"row"}),qx=_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),ls=_.div(({theme:e})=>({...Wn(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),is=_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),Ux=_.div({flex:1,display:"flex",flexDirection:"row"}),Wx=_.div({display:"flex",alignItems:"flex-start"}),Gx=_.div({flex:"0 0 30%"}),Yx=_.div({flex:1}),Kx=_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)})),Xx=_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function ss(e,t){return a.createElement(qx,{key:`${e}-${t}`,title:e,background:e})}function cs(e,t,r){return a.createElement(zx,{key:`${e}-${t}`,title:e},a.createElement("div",null,e,r&&a.createElement("span",null,r)))}function Jx(e){return Array.isArray(e)?a.createElement(is,null,a.createElement(ls,null,e.map((t,r)=>ss(t,r))),a.createElement(os,null,e.map((t,r)=>cs(t,r)))):a.createElement(is,null,a.createElement(ls,null,Object.values(e).map((t,r)=>ss(t,r))),a.createElement(os,null,Object.keys(e).map((t,r)=>cs(t,r,e[t]))))}var uA=({title:e,subtitle:t,colors:r})=>a.createElement(Wx,null,a.createElement(Vx,null,a.createElement(Hx,null,e),a.createElement(Zx,null,t)),a.createElement(Ux,null,Jx(r))),dA=({children:e,...t})=>a.createElement(Ur,null,a.createElement(Xx,{...t,className:"docblock-colorpalette sb-unstyled"},a.createElement(Kx,null,a.createElement(Gx,null,"Name"),a.createElement(Yx,null,"Swatches")),e)),Qx=_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),e9=_.div(({theme:e})=>({...Wn(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),t9=_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),r9=_.div({display:"flex",flexFlow:"row wrap"}),pA=({name:e,children:t})=>a.createElement(t9,null,a.createElement(e9,null,t),a.createElement(Qx,null,e)),fA=({children:e,...t})=>a.createElement(Ur,null,a.createElement(r9,{...t,className:"docblock-icongallery sb-unstyled"},e)),n9=e=>`anchor--${e}`,g0=({storyId:e,children:t})=>a.createElement("div",{id:n9(e),className:"sb-anchor"},t);De&&De.__DOCS_CONTEXT__===void 0&&(De.__DOCS_CONTEXT__=b.createContext(null),De.__DOCS_CONTEXT__.displayName="DocsContext");var Ce=De?De.__DOCS_CONTEXT__:b.createContext(null),Gr=(e,t)=>b.useContext(Ce).resolveOf(e,t);function a9(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function o9(e,t){let r=ul([e],t);return r&&r[0]}function ul(e,t){let[r,n]=b.useState({});return b.useEffect(()=>{Promise.all(e.map(async o=>{let l=await t.loadStory(o);n(i=>i[o]===l?i:{...i,[o]:l})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}function h0(e){return dE(e)}var b0=b.createContext({sources:{}}),y0="--unknown--",l9=({children:e,channel:t})=>{let[r,n]=b.useState({});return b.useEffect(()=>{let o=(l,i=null,c=!1)=>{let{id:s,args:u=void 0,source:d,format:f}=typeof l=="string"?{id:l,source:i,format:c}:l,g=u?h0(u):y0;n(p=>({...p,[s]:{...p[s],[g]:{code:d,format:f}}}))};return t.on(vl,o),()=>t.off(vl,o)},[]),a.createElement(b0.Provider,{value:{sources:r}},e)},i9=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(i9||{}),s9=e=>{let t=e.map(r=>{var n,o;return(o=(n=r.parameters.docs)==null?void 0:n.source)==null?void 0:o.state}).filter(Boolean);return t.length===0?"closed":t[0]},c9=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[h0(t)])||(o==null?void 0:o[y0])||{code:""}},u9=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,u,d,f,g,p;let{__isArgsStory:o}=t.parameters,l=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||l.type||Jn.AUTO;if(l.code!==void 0)return l.code;let c=i===Jn.DYNAMIC||i===Jn.AUTO&&e&&o?e:l.originalSource||"";return l.transformSource&&de(Ee`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + ${Lt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${tt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),m0=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),ex=_(m0)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),tx=_.div({display:"flex",alignItems:"center",width:"100%"});function rx(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var nx=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:l=1,onBlur:i,onFocus:c})=>{let s=f=>{r(h8(f.target.value))},u=t!==void 0,d=b.useMemo(()=>rx(l),[l]);return a.createElement(tx,null,a.createElement(m0,null,n),a.createElement(Q8,{id:Ze(e),type:"range",onChange:s,name:e,value:t,min:n,max:o,step:l,onFocus:c,onBlur:i}),a.createElement(ex,{numberOFDecimalsPlaces:d,max:o},u?t.toFixed(d):"--"," / ",o))},ax=_.label({display:"flex"}),ox=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),lx=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:l})=>{let i=f=>{r(f.target.value)},[c,s]=b.useState(!1),u=b.useCallback(()=>{r(""),s(!0)},[s]);if(t===void 0)return a.createElement(He.Button,{id:On(e),onClick:u},"Set string");let d=typeof t=="string";return a.createElement(ax,null,a.createElement(He.Textarea,{id:Ze(e),maxLength:l,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:c,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:o}),l&&a.createElement(ox,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},ix=_(He.Input)({padding:10});function sx(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var cx=({onChange:e,name:t,accept:r="image/*",value:n})=>{let o=b.useRef(null);function l(i){if(!i.target.files)return;let c=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(c),sx(n)}return b.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),a.createElement(ix,{ref:o,id:Ze(t),type:"file",name:t,multiple:!0,onChange:l,accept:r,size:"flex"})},ux=b.lazy(()=>xt(()=>import("./Color-6VNJS4EI-D0jbFkRO.js"),__vite__mapDeps([11,2,7,1,3,4,5,6,8]),import.meta.url)),dx=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(ux,{...e})),px={array:rs,object:rs,boolean:s8,color:dx,date:m8,number:b8,check:Gt,"inline-check":Gt,radio:Gt,"inline-radio":Gt,select:Gt,"multi-select":Gt,range:nx,text:lx,file:cx},ns=()=>a.createElement(a.Fragment,null,"-"),fx=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:l}=e,[i,c]=b.useState(!1),[s,u]=b.useState({value:t});b.useEffect(()=>{i||u({value:t})},[i,t]);let d=b.useCallback(m=>(u({value:m}),r({[o]:m}),m),[r,o]),f=b.useCallback(()=>c(!1),[]),g=b.useCallback(()=>c(!0),[]);if(!l||l.disable)return n?a.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):a.createElement(ns,null);let p={name:o,argType:e,value:s.value,onChange:d,onBlur:f,onFocus:g},h=px[l.type]||ns;return a.createElement(h,{...p,...l,controlType:l.type})},mx=_.span({fontWeight:"bold"}),gx=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),hx=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...mt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),bx=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?4:0})),yx=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),vx=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),on=e=>{var m;let[t,r]=b.useState(!1),{row:n,updateArgs:o,compact:l,expandable:i,initialExpandedArgs:c}=e,{name:s,description:u}=n,d=n.table||{},f=d.type||n.type,g=d.defaultValue||n.defaultValue,p=(m=n.type)==null?void 0:m.required,h=u!=null&&u!=="";return a.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},a.createElement(vx,{expandable:i},a.createElement(mx,null,s),p?a.createElement(gx,{title:"Required"},"*"):null),l?null:a.createElement("td",null,h&&a.createElement(hx,null,a.createElement(ju,null,u)),d.jsDocTags!=null?a.createElement(a.Fragment,null,a.createElement(yx,{hasDescription:h},a.createElement(wa,{value:f,initialExpandedArgs:c})),a.createElement(KE,{tags:d.jsDocTags})):a.createElement(bx,{hasDescription:h},a.createElement(wa,{value:f,initialExpandedArgs:c}))),l?null:a.createElement("td",null,a.createElement(wa,{value:g,initialExpandedArgs:c})),o?a.createElement("td",null,a.createElement(fx,{...e,isHovered:t})):null)},Ex=_(ye)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),xx=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Ax=_.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),wx=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Sx=_.td(()=>({position:"relative"})),Cx=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Lt(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),as=_.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Ca=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[l,i]=b.useState(n),c=e==="subsection"?wx:Ax,s=(r==null?void 0:r.length)||0,u=e==="subsection"?`${s} item${s!==1?"s":""}`:"",d=l?"arrowdown":"arrowright",f=`${l?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return a.createElement(a.Fragment,null,a.createElement(Cx,{title:f},a.createElement(c,{colSpan:1},a.createElement(as,{onClick:g=>i(!l),tabIndex:0},f),a.createElement(xx,null,a.createElement(Ex,{icon:d}),t)),a.createElement(Sx,{colSpan:o-1},a.createElement(as,{onClick:g=>i(!l),tabIndex:-1,style:{outline:"none"}},f),l?null:u)),l?r:null)},ln=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),fe=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),le=_.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),me=[2,4,2,2],kx=()=>a.createElement(a.Fragment,null,a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"})))),_x=_.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),Ox=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),Tx=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),Rx=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),Fx=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Lx=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Dx=({inAddonPanel:e})=>{let[t,r]=b.useState(!0);return b.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:a.createElement(_x,{inAddonPanel:e},a.createElement(Ox,null,a.createElement(Tx,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),a.createElement(Rx,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),a.createElement(Fx,null,e&&a.createElement(a.Fragment,null,a.createElement(Et,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},a.createElement(ye,{icon:"video"})," Watch 5m video"),a.createElement(Lx,null),a.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&a.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},$x=_.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?Q(.25,e.color.defaultText):Q(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Mx=_(Nt)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),Bx=_.span({display:"flex",justifyContent:"space-between"}),Ix={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},Nx=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([l,i])=>{let{category:c,subcategory:s}=(i==null?void 0:i.table)||{};if(c){let u=r.sections[c]||{ungrouped:[],subsections:{}};if(!s)u.ungrouped.push({key:l,...i});else{let d=u.subsections[s]||[];d.push({key:l,...i}),u.subsections[s]=d}r.sections[c]=u}else if(s){let u=r.ungroupedSubsections[s]||[];u.push({key:l,...i}),r.ungroupedSubsections[s]=u}else r.ungrouped.push({key:l,...i})});let n=Ix[t],o=l=>n?Object.keys(l).reduce((i,c)=>({...i,[c]:l[c].sort(n)}),{}):l;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((l,i)=>({...l,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},jx=(e,t,r)=>{try{return $0(e,t,r)}catch(n){return bE.warn(n.message),!1}},Px=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:l,sort:i="none",isLoading:c}=e;if("error"in e){let{error:v}=e;return a.createElement(e0,null,v," ",a.createElement(Et,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(c)return a.createElement(kx,null);let{rows:s,args:u,globals:d}="rows"in e&&e,f=Nx(Ab(s,v=>{var y;return!((y=v==null?void 0:v.table)!=null&&y.disable)&&jx(v,u||{},d||{})}),i),g=f.ungrouped.length===0,p=Object.entries(f.sections).length===0,h=Object.entries(f.ungroupedSubsections).length===0;if(g&&p&&h)return a.createElement(Dx,{inAddonPanel:o});let m=1;t&&(m+=1),n||(m+=2);let A=Object.keys(f.sections).length>0,w={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:l};return a.createElement(Ur,null,a.createElement($x,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},a.createElement("thead",{className:"docblock-argstable-head"},a.createElement("tr",null,a.createElement("th",null,a.createElement("span",null,"Name")),n?null:a.createElement("th",null,a.createElement("span",null,"Description")),n?null:a.createElement("th",null,a.createElement("span",null,"Default")),t?a.createElement("th",null,a.createElement(Bx,null,"Control"," ",!c&&r&&a.createElement(Mx,{onClick:()=>r(),title:"Reset controls"},a.createElement(ye,{icon:"undo","aria-hidden":!0})))):null)),a.createElement("tbody",{className:"docblock-argstable-body"},f.ungrouped.map(v=>a.createElement(on,{key:v.key,row:v,arg:u&&u[v.key],...w})),Object.entries(f.ungroupedSubsections).map(([v,y])=>a.createElement(Ca,{key:v,label:v,level:"subsection",colSpan:m},y.map(E=>a.createElement(on,{key:E.key,row:E,arg:u&&u[E.key],expandable:A,...w})))),Object.entries(f.sections).map(([v,y])=>a.createElement(Ca,{key:v,label:v,level:"section",colSpan:m},y.ungrouped.map(E=>a.createElement(on,{key:E.key,row:E,arg:u&&u[E.key],...w})),Object.entries(y.subsections).map(([E,x])=>a.createElement(Ca,{key:E,label:E,level:"subsection",colSpan:m},x.map(S=>a.createElement(on,{key:S.key,row:S,arg:u&&u[S.key],expandable:A,...w})))))))))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(ee,({theme:e})=>({...Wn(e),margin:"25px 0 40px",padding:"30px 20px"}));var Hx=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),Zx=_.div(({theme:e})=>({color:e.base==="light"?Q(.2,e.color.defaultText):Q(.6,e.color.defaultText)})),Vx=_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),zx=_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),os=_.div({display:"flex",flexDirection:"row"}),qx=_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),ls=_.div(({theme:e})=>({...Wn(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),is=_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),Ux=_.div({flex:1,display:"flex",flexDirection:"row"}),Wx=_.div({display:"flex",alignItems:"flex-start"}),Gx=_.div({flex:"0 0 30%"}),Yx=_.div({flex:1}),Kx=_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)})),Xx=_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function ss(e,t){return a.createElement(qx,{key:`${e}-${t}`,title:e,background:e})}function cs(e,t,r){return a.createElement(zx,{key:`${e}-${t}`,title:e},a.createElement("div",null,e,r&&a.createElement("span",null,r)))}function Jx(e){return Array.isArray(e)?a.createElement(is,null,a.createElement(ls,null,e.map((t,r)=>ss(t,r))),a.createElement(os,null,e.map((t,r)=>cs(t,r)))):a.createElement(is,null,a.createElement(ls,null,Object.values(e).map((t,r)=>ss(t,r))),a.createElement(os,null,Object.keys(e).map((t,r)=>cs(t,r,e[t]))))}var uA=({title:e,subtitle:t,colors:r})=>a.createElement(Wx,null,a.createElement(Vx,null,a.createElement(Hx,null,e),a.createElement(Zx,null,t)),a.createElement(Ux,null,Jx(r))),dA=({children:e,...t})=>a.createElement(Ur,null,a.createElement(Xx,{...t,className:"docblock-colorpalette sb-unstyled"},a.createElement(Kx,null,a.createElement(Gx,null,"Name"),a.createElement(Yx,null,"Swatches")),e)),Qx=_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),e9=_.div(({theme:e})=>({...Wn(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),t9=_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),r9=_.div({display:"flex",flexFlow:"row wrap"}),pA=({name:e,children:t})=>a.createElement(t9,null,a.createElement(e9,null,t),a.createElement(Qx,null,e)),fA=({children:e,...t})=>a.createElement(Ur,null,a.createElement(r9,{...t,className:"docblock-icongallery sb-unstyled"},e)),n9=e=>`anchor--${e}`,g0=({storyId:e,children:t})=>a.createElement("div",{id:n9(e),className:"sb-anchor"},t);De&&De.__DOCS_CONTEXT__===void 0&&(De.__DOCS_CONTEXT__=b.createContext(null),De.__DOCS_CONTEXT__.displayName="DocsContext");var Ce=De?De.__DOCS_CONTEXT__:b.createContext(null),Gr=(e,t)=>b.useContext(Ce).resolveOf(e,t);function a9(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function o9(e,t){let r=ul([e],t);return r&&r[0]}function ul(e,t){let[r,n]=b.useState({});return b.useEffect(()=>{Promise.all(e.map(async o=>{let l=await t.loadStory(o);n(i=>i[o]===l?i:{...i,[o]:l})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}function h0(e){return dE(e)}var b0=b.createContext({sources:{}}),y0="--unknown--",l9=({children:e,channel:t})=>{let[r,n]=b.useState({});return b.useEffect(()=>{let o=(l,i=null,c=!1)=>{let{id:s,args:u=void 0,source:d,format:f}=typeof l=="string"?{id:l,source:i,format:c}:l,g=u?h0(u):y0;n(p=>({...p,[s]:{...p[s],[g]:{code:d,format:f}}}))};return t.on(vl,o),()=>t.off(vl,o)},[]),a.createElement(b0.Provider,{value:{sources:r}},e)},i9=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(i9||{}),s9=e=>{let t=e.map(r=>{var n,o;return(o=(n=r.parameters.docs)==null?void 0:n.source)==null?void 0:o.state}).filter(Boolean);return t.length===0?"closed":t[0]},c9=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[h0(t)])||(o==null?void 0:o[y0])||{code:""}},u9=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,u,d,f,g,p;let{__isArgsStory:o}=t.parameters,l=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||l.type||Jn.AUTO;if(l.code!==void 0)return l.code;let c=i===Jn.DYNAMIC||i===Jn.AUTO&&e&&o?e:l.originalSource||"";return l.transformSource&&de(Ee`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block `),(u=t.parameters.docs)!=null&&u.transformSource&&de(Ee`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. diff --git a/assets/formatter-SWP5E3XI-Dl-L-Ysq.js b/assets/formatter-SWP5E3XI-BY0UtLyc.js similarity index 99% rename from assets/formatter-SWP5E3XI-Dl-L-Ysq.js rename to assets/formatter-SWP5E3XI-BY0UtLyc.js index 483d55234..6a33d0423 100644 --- a/assets/formatter-SWP5E3XI-Dl-L-Ysq.js +++ b/assets/formatter-SWP5E3XI-BY0UtLyc.js @@ -1,4 +1,4 @@ -import{_ as ea,m as pl,e as ta}from"./chunk-HLWAVYOI-BrDl87NK.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` +import{_ as ea,m as pl,e as ta}from"./chunk-HLWAVYOI-Bey4oObw.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` `);return Me===-1?We:We.substring(0,Me)}L.stringify=$t;function ir(le){return typeof le=="function"&&le.hasOwnProperty("__forward_ref__")?le():le}L.resolveForwardRef=ir;function st(le){return!!le&&typeof le.then=="function"}L.isPromise=st;var Ot=class{constructor(le){this.full=le;let We=le.split(".");this.major=We[0],this.minor=We[1],this.patch=We.slice(2).join(".")}};L.Version=Ot;var Vt=typeof window<"u"&&window,Ut=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,rr=typeof globalThis<"u"&&globalThis,z=rr||Vt||Ut;L.global=z}}),qt=he({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=At(),ge=Lt(),Ee=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Pe(Me){return Me.replace(/\W/g,"_")}L.sanitizeIdentifier=Pe;var ie=0;function de(Me){if(!Me||!Me.reference)return null;let at=Me.reference;if(at instanceof re.StaticSymbol)return at.name;if(at.__anonymousType)return at.__anonymousType;let Jt=ge.stringify(at);return Jt.indexOf("(")>=0?(Jt=`anonymous_${ie++}`,at.__anonymousType=Jt):Jt=Pe(Jt),Jt}L.identifierName=de;function Ue(Me){let at=Me.reference;return at instanceof re.StaticSymbol?at.filePath:`./${ge.stringify(at)}`}L.identifierModuleUrl=Ue;function Ge(Me,at){return`View_${de({reference:Me})}_${at}`}L.viewClassName=Ge;function gt(Me){return`RenderType_${de({reference:Me})}`}L.rendererTypeName=gt;function ce(Me){return`HostView_${de({reference:Me})}`}L.hostViewClassName=ce;function ve(Me){return`${de({reference:Me})}NgFactory`}L.componentFactoryName=ve;var Ve;(function(Me){Me[Me.Pipe=0]="Pipe",Me[Me.Directive=1]="Directive",Me[Me.NgModule=2]="NgModule",Me[Me.Injectable=3]="Injectable"})(Ve=L.CompileSummaryKind||(L.CompileSummaryKind={}));function He(Me){return Me.value!=null?Pe(Me.value):de(Me.identifier)}L.tokenName=He;function Je(Me){return Me.identifier!=null?Me.identifier.reference:Me.value}L.tokenReference=Je;var Qe=class{constructor(){let{moduleUrl:Me,styles:at,styleUrls:Jt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Me||null,this.styles=st(at),this.styleUrls=st(Jt)}};L.CompileStylesheetMetadata=Qe;var yt=class{constructor(Me){let{encapsulation:at,template:Jt,templateUrl:er,htmlAst:Ar,styles:Er,styleUrls:_r,externalStylesheets:xr,animations:Ir,ngContentSelectors:Mr,interpolation:or,isInline:lt,preserveWhitespaces:mt}=Me;if(this.encapsulation=at,this.template=Jt,this.templateUrl=er,this.htmlAst=Ar,this.styles=st(Er),this.styleUrls=st(_r),this.externalStylesheets=st(xr),this.animations=Ir?Vt(Ir):[],this.ngContentSelectors=Mr||[],or&&or.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=or,this.isInline=lt,this.preserveWhitespaces=mt}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};L.CompileTemplateMetadata=yt;var _t=class{static create(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,host:Mr,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr}=Me,Pn={},In={},Hu={};Mr!=null&&Object.keys(Mr).forEach(vr=>{let Qr=Mr[vr],cn=vr.match(Ee);cn===null?Hu[vr]=Qr:cn[1]!=null?In[cn[1]]=Qr:cn[2]!=null&&(Pn[cn[2]]=Qr)});let Yu={};xr==null||xr.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Yu[Qr[0]]=Qr[1]});let Ku={};return Ir==null||Ir.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Ku[Qr[0]]=Qr[1]}),new _t({isHost:at,type:Jt,isComponent:!!er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:Yu,outputs:Ku,hostListeners:Pn,hostProperties:In,hostAttributes:Hu,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr})}constructor(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,hostListeners:Mr,hostProperties:or,hostAttributes:lt,providers:mt,viewProviders:St,queries:xt,guards:Kt,viewQueries:sr,entryComponents:lr,template:Qt,componentViewType:Kr,rendererType:Pn,componentFactory:In}=Me;this.isHost=!!at,this.type=Jt,this.isComponent=er,this.selector=Ar,this.exportAs=Er,this.changeDetection=_r,this.inputs=xr,this.outputs=Ir,this.hostListeners=Mr,this.hostProperties=or,this.hostAttributes=lt,this.providers=st(mt),this.viewProviders=st(St),this.queries=st(xt),this.guards=Kt,this.viewQueries=st(sr),this.entryComponents=st(lr),this.template=Qt,this.componentViewType=Kr,this.rendererType=Pn,this.componentFactory=In}toSummary(){return{summaryKind:Ve.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};L.CompileDirectiveMetadata=_t;var ct=class{constructor(Me){let{type:at,name:Jt,pure:er}=Me;this.type=at,this.name=Jt,this.pure=!!er}toSummary(){return{summaryKind:Ve.Pipe,type:this.type,name:this.name,pure:this.pure}}};L.CompilePipeMetadata=ct;var kt=class{};L.CompileShallowModuleMetadata=kt;var $t=class{constructor(Me){let{type:at,providers:Jt,declaredDirectives:er,exportedDirectives:Ar,declaredPipes:Er,exportedPipes:_r,entryComponents:xr,bootstrapComponents:Ir,importedModules:Mr,exportedModules:or,schemas:lt,transitiveModule:mt,id:St}=Me;this.type=at||null,this.declaredDirectives=st(er),this.exportedDirectives=st(Ar),this.declaredPipes=st(Er),this.exportedPipes=st(_r),this.providers=st(Jt),this.entryComponents=st(xr),this.bootstrapComponents=st(Ir),this.importedModules=st(Mr),this.exportedModules=st(or),this.schemas=st(lt),this.id=St||null,this.transitiveModule=mt||null}toSummary(){let Me=this.transitiveModule;return{summaryKind:Ve.NgModule,type:this.type,entryComponents:Me.entryComponents,providers:Me.providers,modules:Me.modules,exportedDirectives:Me.exportedDirectives,exportedPipes:Me.exportedPipes}}};L.CompileNgModuleMetadata=$t;var ir=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Me,at){this.providers.push({provider:Me,module:at})}addDirective(Me){this.directivesSet.has(Me.reference)||(this.directivesSet.add(Me.reference),this.directives.push(Me))}addExportedDirective(Me){this.exportedDirectivesSet.has(Me.reference)||(this.exportedDirectivesSet.add(Me.reference),this.exportedDirectives.push(Me))}addPipe(Me){this.pipesSet.has(Me.reference)||(this.pipesSet.add(Me.reference),this.pipes.push(Me))}addExportedPipe(Me){this.exportedPipesSet.has(Me.reference)||(this.exportedPipesSet.add(Me.reference),this.exportedPipes.push(Me))}addModule(Me){this.modulesSet.has(Me.reference)||(this.modulesSet.add(Me.reference),this.modules.push(Me))}addEntryComponent(Me){this.entryComponentsSet.has(Me.componentType)||(this.entryComponentsSet.add(Me.componentType),this.entryComponents.push(Me))}};L.TransitiveCompileNgModuleMetadata=ir;function st(Me){return Me||[]}var Ot=class{constructor(Me,at){let{useClass:Jt,useValue:er,useExisting:Ar,useFactory:Er,deps:_r,multi:xr}=at;this.token=Me,this.useClass=Jt||null,this.useValue=er,this.useExisting=Ar,this.useFactory=Er||null,this.dependencies=_r||null,this.multi=!!xr}};L.ProviderMeta=Ot;function Vt(Me){return Me.reduce((at,Jt)=>{let er=Array.isArray(Jt)?Vt(Jt):Jt;return at.concat(er)},[])}L.flatten=Vt;function Ut(Me){return Me.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function rr(Me,at,Jt){let er;return Jt.isInline?at.type.reference instanceof re.StaticSymbol?er=`${at.type.reference.filePath}.${at.type.reference.name}.html`:er=`${de(Me)}/${de(at.type)}.html`:er=Jt.templateUrl,at.type.reference instanceof re.StaticSymbol?er:Ut(er)}L.templateSourceUrl=rr;function z(Me,at){let Jt=Me.moduleUrl.split(/\/\\/g),er=Jt[Jt.length-1];return Ut(`css/${at}${er}.ngstyle.js`)}L.sharedStylesheetJitUrl=z;function le(Me){return Ut(`${de(Me.type)}/module.ngfactory.js`)}L.ngModuleJitUrl=le;function We(Me,at){return Ut(`${de(Me)}/${de(at.type)}.ngfactory.js`)}L.templateJitUrl=We}}),Zt=he({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Ft(),ge=qt(),Ee=class{constructor(ce,ve,Ve,He){this.file=ce,this.offset=ve,this.line=Ve,this.col=He}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(ce){let ve=this.file.content,Ve=ve.length,He=this.offset,Je=this.line,Qe=this.col;for(;He>0&&ce<0;)if(He--,ce++,ve.charCodeAt(He)==re.$LF){Je--;let yt=ve.substr(0,He-1).lastIndexOf(String.fromCharCode(re.$LF));Qe=yt>0?He-yt:He}else Qe--;for(;He0;){let yt=ve.charCodeAt(He);He++,ce--,yt==re.$LF?(Je++,Qe=0):Qe++}return new Ee(this.file,He,Je,Qe)}getContext(ce,ve){let Ve=this.file.content,He=this.offset;if(He!=null){He>Ve.length-1&&(He=Ve.length-1);let Je=He,Qe=0,yt=0;for(;Qe0&&(He--,Qe++,!(Ve[He]==` `&&++yt==ve)););for(Qe=0,yt=0;Qe2&&arguments[2]!==void 0?arguments[2]:null;this.start=ce,this.end=ve,this.details=Ve}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};L.ParseSourceSpan=ie,L.EMPTY_PARSE_LOCATION=new Ee(new Pe("",""),0,0,0),L.EMPTY_SOURCE_SPAN=new ie(L.EMPTY_PARSE_LOCATION,L.EMPTY_PARSE_LOCATION);var de;(function(ce){ce[ce.WARNING=0]="WARNING",ce[ce.ERROR=1]="ERROR"})(de=L.ParseErrorLevel||(L.ParseErrorLevel={}));var Ue=class{constructor(ce,ve){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de.ERROR;this.span=ce,this.msg=ve,this.level=Ve}contextualMessage(){let ce=this.span.start.getContext(100,3);return ce?`${this.msg} ("${ce.before}[${de[this.level]} ->]${ce.after}")`:this.msg}toString(){let ce=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${ce}`}};L.ParseError=Ue;function Ge(ce,ve){let Ve=ge.identifierModuleUrl(ve),He=Ve!=null?`in ${ce} ${ge.identifierName(ve)} in ${Ve}`:`in ${ce} ${ge.identifierName(ve)}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.typeSourceSpan=Ge;function gt(ce,ve,Ve){let He=`in ${ce} ${ve} in ${Ve}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.r3JitTypeSourceSpan=gt}}),ue=he({"src/utils/front-matter/parse.js"(L,re){$();var ge=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Ee(Pe){let ie=Pe.match(ge);if(!ie)return{content:Pe};let{startDelimiter:de,language:Ue,value:Ge="",endDelimiter:gt}=ie.groups,ce=Ue.trim()||"yaml";if(de==="+++"&&(ce="toml"),ce!=="yaml"&&de!==gt)return{content:Pe};let[ve]=ie;return{frontMatter:{type:"front-matter",lang:ce,value:Ge,startDelimiter:de,endDelimiter:gt,raw:ve.replace(/\n$/,"")},content:ve.replace(/[^\n]/g," ")+Pe.slice(ve.length)}}re.exports=Ee}}),yr=he({"src/utils/get-last.js"(L,re){$();var ge=Ee=>Ee[Ee.length-1];re.exports=ge}}),Pr=he({"src/common/parser-create-error.js"(L,re){$();function ge(Ee,Pe){let ie=new SyntaxError(Ee+" ("+Pe.start.line+":"+Pe.start.column+")");return ie.loc=Pe,ie}re.exports=ge}}),zr={};qe(zr,{default:()=>fr});function fr(L){if(typeof L!="string")throw new TypeError("Expected a string");return L.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Rr=je({"node_modules/escape-string-regexp/index.js"(){$()}}),mr=he({"node_modules/semver/internal/debug.js"(L,re){$();var ge=typeof rt=="object"&&rt.env&&rt.env.NODE_DEBUG&&/\bsemver\b/i.test(rt.env.NODE_DEBUG)?function(){for(var Ee=arguments.length,Pe=new Array(Ee),ie=0;ie{};re.exports=ge}}),rn=he({"node_modules/semver/internal/constants.js"(L,re){$();var ge="2.0.0",Ee=256,Pe=Number.MAX_SAFE_INTEGER||9007199254740991,ie=16;re.exports={SEMVER_SPEC_VERSION:ge,MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe,MAX_SAFE_COMPONENT_LENGTH:ie}}}),wr=he({"node_modules/semver/internal/re.js"(L,re){$();var{MAX_SAFE_COMPONENT_LENGTH:ge}=rn(),Ee=mr();L=re.exports={};var Pe=L.re=[],ie=L.src=[],de=L.t={},Ue=0,Ge=(gt,ce,ve)=>{let Ve=Ue++;Ee(gt,Ve,ce),de[gt]=Ve,ie[Ve]=ce,Pe[Ve]=new RegExp(ce,ve?"g":void 0)};Ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ge("MAINVERSION",`(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})`),Ge("MAINVERSIONLOOSE",`(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})`),Ge("PRERELEASEIDENTIFIER",`(?:${ie[de.NUMERICIDENTIFIER]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASEIDENTIFIERLOOSE",`(?:${ie[de.NUMERICIDENTIFIERLOOSE]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASE",`(?:-(${ie[de.PRERELEASEIDENTIFIER]}(?:\\.${ie[de.PRERELEASEIDENTIFIER]})*))`),Ge("PRERELEASELOOSE",`(?:-?(${ie[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ie[de.PRERELEASEIDENTIFIERLOOSE]})*))`),Ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ge("BUILD",`(?:\\+(${ie[de.BUILDIDENTIFIER]}(?:\\.${ie[de.BUILDIDENTIFIER]})*))`),Ge("FULLPLAIN",`v?${ie[de.MAINVERSION]}${ie[de.PRERELEASE]}?${ie[de.BUILD]}?`),Ge("FULL",`^${ie[de.FULLPLAIN]}$`),Ge("LOOSEPLAIN",`[v=\\s]*${ie[de.MAINVERSIONLOOSE]}${ie[de.PRERELEASELOOSE]}?${ie[de.BUILD]}?`),Ge("LOOSE",`^${ie[de.LOOSEPLAIN]}$`),Ge("GTLT","((?:<|>)?=?)"),Ge("XRANGEIDENTIFIERLOOSE",`${ie[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ge("XRANGEIDENTIFIER",`${ie[de.NUMERICIDENTIFIER]}|x|X|\\*`),Ge("XRANGEPLAIN",`[v=\\s]*(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:${ie[de.PRERELEASE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGEPLAINLOOSE",`[v=\\s]*(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:${ie[de.PRERELEASELOOSE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAIN]}$`),Ge("XRANGELOOSE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COERCE",`(^|[^\\d])(\\d{1,${ge}})(?:\\.(\\d{1,${ge}}))?(?:\\.(\\d{1,${ge}}))?(?:$|[^\\d])`),Ge("COERCERTL",ie[de.COERCE],!0),Ge("LONETILDE","(?:~>?)"),Ge("TILDETRIM",`(\\s*)${ie[de.LONETILDE]}\\s+`,!0),L.tildeTrimReplace="$1~",Ge("TILDE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAIN]}$`),Ge("TILDELOOSE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("LONECARET","(?:\\^)"),Ge("CARETTRIM",`(\\s*)${ie[de.LONECARET]}\\s+`,!0),L.caretTrimReplace="$1^",Ge("CARET",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAIN]}$`),Ge("CARETLOOSE",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COMPARATORLOOSE",`^${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]})$|^$`),Ge("COMPARATOR",`^${ie[de.GTLT]}\\s*(${ie[de.FULLPLAIN]})$|^$`),Ge("COMPARATORTRIM",`(\\s*)${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]}|${ie[de.XRANGEPLAIN]})`,!0),L.comparatorTrimReplace="$1$2$3",Ge("HYPHENRANGE",`^\\s*(${ie[de.XRANGEPLAIN]})\\s+-\\s+(${ie[de.XRANGEPLAIN]})\\s*$`),Ge("HYPHENRANGELOOSE",`^\\s*(${ie[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ie[de.XRANGEPLAINLOOSE]})\\s*$`),Ge("STAR","(<|>)?=?\\s*\\*"),Ge("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Ge("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Fr=he({"node_modules/semver/internal/parse-options.js"(L,re){$();var ge=["includePrerelease","loose","rtl"],Ee=Pe=>Pe?typeof Pe!="object"?{loose:!0}:ge.filter(ie=>Pe[ie]).reduce((ie,de)=>(ie[de]=!0,ie),{}):{};re.exports=Ee}}),Tn=he({"node_modules/semver/internal/identifiers.js"(L,re){$();var ge=/^[0-9]+$/,Ee=(ie,de)=>{let Ue=ge.test(ie),Ge=ge.test(de);return Ue&&Ge&&(ie=+ie,de=+de),ie===de?0:Ue&&!Ge?-1:Ge&&!Ue?1:ieEe(de,ie);re.exports={compareIdentifiers:Ee,rcompareIdentifiers:Pe}}}),Bn=he({"node_modules/semver/classes/semver.js"(L,re){$();var ge=mr(),{MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe}=rn(),{re:ie,t:de}=wr(),Ue=Fr(),{compareIdentifiers:Ge}=Tn(),gt=class{constructor(ce,ve){if(ve=Ue(ve),ce instanceof gt){if(ce.loose===!!ve.loose&&ce.includePrerelease===!!ve.includePrerelease)return ce;ce=ce.version}else if(typeof ce!="string")throw new TypeError(`Invalid Version: ${ce}`);if(ce.length>Ee)throw new TypeError(`version is longer than ${Ee} characters`);ge("SemVer",ce,ve),this.options=ve,this.loose=!!ve.loose,this.includePrerelease=!!ve.includePrerelease;let Ve=ce.trim().match(ve.loose?ie[de.LOOSE]:ie[de.FULL]);if(!Ve)throw new TypeError(`Invalid Version: ${ce}`);if(this.raw=ce,this.major=+Ve[1],this.minor=+Ve[2],this.patch=+Ve[3],this.major>Pe||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Pe||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Pe||this.patch<0)throw new TypeError("Invalid patch version");Ve[4]?this.prerelease=Ve[4].split(".").map(He=>{if(/^[0-9]+$/.test(He)){let Je=+He;if(Je>=0&&Je=0;)typeof this.prerelease[Ve]=="number"&&(this.prerelease[Ve]++,Ve=-2);Ve===-1&&this.prerelease.push(0)}ve&&(Ge(this.prerelease[0],ve)===0?isNaN(this.prerelease[1])&&(this.prerelease=[ve,0]):this.prerelease=[ve,0]);break;default:throw new Error(`invalid increment argument: ${ce}`)}return this.format(),this.raw=this.version,this}};re.exports=gt}}),on=he({"node_modules/semver/functions/compare.js"(L,re){$();var ge=Bn(),Ee=(Pe,ie,de)=>new ge(Pe,de).compare(new ge(ie,de));re.exports=Ee}}),Nr=he({"node_modules/semver/functions/lt.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)<0;re.exports=Ee}}),Bu=he({"node_modules/semver/functions/gte.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)>=0;re.exports=Ee}}),Ri=he({"src/utils/arrayify.js"(L,re){$(),re.exports=(ge,Ee)=>Object.entries(ge).map(Pe=>{let[ie,de]=Pe;return Object.assign({[Ee]:ie},de)})}}),wu=he({"package.json"(L,re){re.exports={version:"2.8.8"}}}),Mi=he({"node_modules/outdent/lib/index.js"(L,re){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.outdent=void 0;function ge(){for(var ct=[],kt=0;kti.map(i=>__vite__fileDeps[i]); -import"../sb-preview/runtime.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))c(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const e of o.addedNodes)e.tagName==="LINK"&&e.rel==="modulepreload"&&c(e)}).observe(document,{childList:!0,subtree:!0});function m(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function c(r){if(r.ep)return;r.ep=!0;const o=m(r);fetch(r.href,o)}})();const T="modulepreload",I=function(i,n){return new URL(i,n).href},d={},t=function(n,m,c){let r=Promise.resolve();if(m&&m.length>0){const o=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),E=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));r=Promise.all(m.map(s=>{if(s=I(s,c),s in d)return;d[s]=!0;const a=s.endsWith(".css"),O=a?'[rel="stylesheet"]':"";if(!!c)for(let p=o.length-1;p>=0;p--){const u=o[p];if(u.href===s&&(!a||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${O}`))return;const _=document.createElement("link");if(_.rel=a?"stylesheet":T,a||(_.as="script",_.crossOrigin=""),_.href=s,E&&_.setAttribute("nonce",E),document.head.appendChild(_),a)return new Promise((p,u)=>{_.addEventListener("load",p),_.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${s}`)))})}))}return r.then(()=>n()).catch(o=>{const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=o,window.dispatchEvent(e),!e.defaultPrevented)throw o})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:P}=__STORYBOOK_MODULE_PREVIEW_API__,l=R({page:"preview"});P.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const v={"./src/components/Badge/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-BnSdtFJ9.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url),"./src/components/Box/Box.stories.tsx":async()=>t(()=>import("./Box.stories-Mc5Qraoe.js"),__vite__mapDeps([11,12,13,14,4,3,5,6,7]),import.meta.url),"./src/components/Breadcrumbs/Breadcrumbs.stories.tsx":async()=>t(()=>import("./Breadcrumbs.stories-Ppf4NQfF.js"),__vite__mapDeps([15,2,3,4,5,6,7,16,17,18,14,8,10]),import.meta.url),"./src/components/Button/Button.stories.tsx":async()=>t(()=>import("./Button.stories-e7y_hZ1X.js"),__vite__mapDeps([19,2,3,1,4,5,6,7,8,9,10,20,21,22,18,14,23]),import.meta.url),"./src/components/Card/Card.stories.tsx":async()=>t(()=>import("./Card.stories-DAluwp_1.js"),__vite__mapDeps([24,2,3,4,5,6,7,18,14,8,10,25,26]),import.meta.url),"./src/components/Checkbox/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-CT6Nqqi-.js"),__vite__mapDeps([27,28,2,3,29,30,31,32,33,34,35,4,5,6,7,18,14,8,10,36,20,21,37]),import.meta.url),"./src/components/Collapsible/Collapsible.stories.tsx":async()=>t(()=>import("./Collapsible.stories-CVBlX06T.js"),__vite__mapDeps([38,2,3,18,4,5,6,7,14,8,10,39,29,30,31,34,40,20,21,41,42,43]),import.meta.url),"./src/components/Divider/Divider.stories.tsx":async()=>t(()=>import("./Divider.stories-BBywRZt0.js"),__vite__mapDeps([44,17,2,3,4,5,6,7]),import.meta.url),"./src/components/DropdownMenu/DropdownMenu.stories.tsx":async()=>t(()=>import("./DropdownMenu.stories-DyVs9HXC.js"),__vite__mapDeps([45,2,3,4,5,6,7,46,22,18,14,8,10,23,20,21,29,30,31,47,48,49,50,51,33,52,34,53,40,16,17,54]),import.meta.url),"./src/components/FileInput/FileInput.stories.tsx":async()=>t(()=>import("./FileInput.stories-BRT7lGnT.js"),__vite__mapDeps([55,56,2,3,4,5,6,7,35,18,14,8,10,36,46,22,23,20,21,57]),import.meta.url),"./src/components/Form/Form.stories.tsx":async()=>t(()=>import("./Form.stories-C3xidC2z.js"),__vite__mapDeps([58,2,3,4,5,6,7,22,18,14,8,10,23,28,29,30,31,32,33,34,35,36,20,21,37,59,60,61,56,46,57,62,53,47,40,48,63,64,49,50,51,65,66,67,68,69,70]),import.meta.url),"./src/components/GradientAvatar/GradientAvatar.stories.tsx":async()=>t(()=>import("./GradientAvatar.stories-DQ7Oxonf.js"),__vite__mapDeps([71,2,3,4,5,6,7,18,14,8,10,72]),import.meta.url),"./src/components/IconButton/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-CKbb5_cQ.js"),__vite__mapDeps([73,20,2,3,4,5,6,7,8,21,46,22,18,14,10,23]),import.meta.url),"./src/components/Image/Image.stories.tsx":async()=>t(()=>import("./Image.stories-BiE6jRbt.js"),__vite__mapDeps([74,75,2,3,4,5,6,7,41]),import.meta.url),"./src/components/Modal/Modal.stories.tsx":async()=>t(()=>import("./Modal.stories-FurHjVR2.js"),__vite__mapDeps([76,2,3,4,5,6,7,22,18,14,8,10,23,29,30,31,40,49,50,52,34,20,21,46,77,78,79,80,13,41,42,81]),import.meta.url),"./src/components/NetworkImage/NetworkImage.stories.tsx":async()=>t(()=>import("./NetworkImage.stories-XuVMj9JQ.js"),__vite__mapDeps([82,83,2,3,4,5,6,7,75,41,8,84]),import.meta.url),"./src/components/NumericInput/NumericInput.stories.tsx":async()=>t(()=>import("./NumericInput.stories-DRMEncd7.js"),__vite__mapDeps([85,2,3,60,4,5,6,7,35,18,14,8,10,36,61,59]),import.meta.url),"./src/components/PINCodeInput/PINCodeInput.stories.tsx":async()=>t(()=>import("./PINCodeInput.stories-BKiLTffy.js"),__vite__mapDeps([86,2,3,4,5,6,7,87,10]),import.meta.url),"./src/components/Progress/Progress.stories.tsx":async()=>t(()=>import("./Progress.stories-OuL_uKnM.js"),__vite__mapDeps([88,2,3,29,30,4,5,6,7]),import.meta.url),"./src/components/RadioGroup/RadioGroup.stories.tsx":async()=>t(()=>import("./RadioGroup.stories-CD-M2_hA.js"),__vite__mapDeps([89,62,2,3,29,30,31,53,47,40,48,33,32,34,4,5,6,7,35,18,14,8,10,36,63]),import.meta.url),"./src/components/Scroll/Scroll.stories.tsx":async()=>t(()=>import("./Scroll.stories-DPAB_YiI.js"),__vite__mapDeps([90,2,3,4,5,6,7,25,8,26,18,14,10,77,78]),import.meta.url),"./src/components/SearchInput/SearchInput.stories.tsx":async()=>t(()=>import("./SearchInput.stories-hKu1_5Iu.js"),__vite__mapDeps([91,2,3,46,22,4,5,6,7,18,14,8,10,23,60,35,36,61,59,20,21]),import.meta.url),"./src/components/Select/Select.stories.tsx":async()=>t(()=>import("./Select.stories-Ow_ZeSxz.js"),__vite__mapDeps([92,2,3,4,5,6,7,18,14,8,10,93,83,75,41,84,94,64,29,30,31,47,48,49,50,40,51,33,32,65,35,36,20,21,66]),import.meta.url),"./src/components/Skeleton/Skeleton.stories.tsx":async()=>t(()=>import("./Skeleton.stories-DfCWO3Ay.js"),__vite__mapDeps([95,2,3,4,5,6,7,8,41,96]),import.meta.url),"./src/components/Spinner/Spinner.stories.tsx":async()=>t(()=>import("./Spinner.stories-DF0syw9L.js"),__vite__mapDeps([97,2,3,4,5,6,7,8,98]),import.meta.url),"./src/components/StopClickPropagation/StopClickPropagation.stories.tsx":async()=>t(()=>import("./StopClickPropagation.stories-D6WPB0Om.js"),__vite__mapDeps([99,2,3,4,5,6,7,46,22,18,14,8,10,23,20,21]),import.meta.url),"./src/components/Switch/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-ClszoWzn.js"),__vite__mapDeps([100,67,2,3,29,30,31,32,33,4,5,6,7,35,18,14,8,10,36,68]),import.meta.url),"./src/components/TabbedNav/TabbedNav.stories.tsx":async()=>t(()=>import("./TabbedNav.stories-Bh6Qr7Gw.js"),__vite__mapDeps([101,2,3,1,4,5,6,7,8,9,10,18,14,20,21,22,23,102]),import.meta.url),"./src/components/Tabs/Tabs.stories.tsx":async()=>t(()=>import("./Tabs.stories-DaOk--HN.js"),__vite__mapDeps([103,2,3,25,4,5,6,7,8,26,18,14,10,29,30,31,53,47,40,48,34,104]),import.meta.url),"./src/components/Tag/Tag.stories.tsx":async()=>t(()=>import("./Tag.stories-Dj8Mx9zR.js"),__vite__mapDeps([105,20,2,3,4,5,6,7,8,21,18,14,10]),import.meta.url),"./src/components/Text/Text.stories.tsx":async()=>t(()=>import("./Text.stories-B1vPEsv1.js"),__vite__mapDeps([106,2,3,18,4,5,6,7,14,8,10]),import.meta.url),"./src/components/TextArea/TextArea.stories.tsx":async()=>t(()=>import("./TextArea.stories-DPynByb0.js"),__vite__mapDeps([107,69,2,3,4,5,6,7,35,18,14,8,10,36,70]),import.meta.url),"./src/components/TextInput/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-BlvGdR6l.js"),__vite__mapDeps([108,2,3,4,5,6,7,22,18,14,8,10,23,46,20,21,60,35,36,61]),import.meta.url),"./src/components/ThemeProvider/ThemeProvider.stories.tsx":async()=>t(()=>import("./ThemeProvider.stories-DCvL3MSy.js"),__vite__mapDeps([109,2,3,22,4,5,6,7,18,14,8,10,23,25,26,39,29,30,31,34,40,20,21,41,42,43,79,80,13]),import.meta.url),"./src/components/Toast/Toast.stories.tsx":async()=>t(()=>import("./Toast.stories-B3VCR9Xr.js"),__vite__mapDeps([110,2,3,22,4,5,6,7,18,14,8,10,23,25,26,20,21,29,30,31,47,49,52,34,65,46,41,42,111]),import.meta.url),"./src/components/TokenImage/TokenImage.stories.tsx":async()=>t(()=>import("./TokenImage.stories-dXImc5Zw.js"),__vite__mapDeps([112,93,2,3,4,5,6,7,83,75,41,8,84,18,14,10,94]),import.meta.url),"./src/components/Tooltip/Tooltip.stories.tsx":async()=>t(()=>import("./Tooltip.stories-BUevs8E1.js"),__vite__mapDeps([113,2,3,22,4,5,6,7,18,14,8,10,23,29,30,31,49,40,51,33,34,65,114]),import.meta.url),"./src/docs/Caveats.stories.mdx":async()=>t(()=>import("./Caveats.stories-Iiam-816.js"),__vite__mapDeps([115,116,3,117,30,118,119,120,121,2,122]),import.meta.url),"./src/docs/Introduction.stories.mdx":async()=>t(()=>import("./Introduction.stories-hiXtg4Yq.js"),__vite__mapDeps([123,116,3,117,30,118,119,120,121,2,122]),import.meta.url),"./src/docs/design-system/Colors.stories.mdx":async()=>t(()=>import("./Colors.stories-CJtRE2Fg.js"),__vite__mapDeps([124,116,3,117,30,118,119,120,121,5,6,7,80,2,122]),import.meta.url),"./src/docs/design-system/DesignTokens.stories.mdx":async()=>t(()=>import("./DesignTokens.stories-B2zdLtCC.js"),__vite__mapDeps([125,116,3,117,30,118,119,120,121,12,13,14,2,122]),import.meta.url),"./src/docs/design-system/Iconography.stories.mdx":async()=>t(()=>import("./Iconography.stories-E2cOzHqe.js"),__vite__mapDeps([126,116,3,117,30,118,119,120,121,79,2,80,7,13,20,4,5,6,8,21,122]),import.meta.url),"./src/docs/design-system/Typography.stories.mdx":async()=>t(()=>import("./Typography.stories-CLCt4x7K.js"),__vite__mapDeps([127,116,3,117,30,118,119,120,121,18,2,4,5,6,7,14,8,10,79,80,13,122]),import.meta.url)};async function y(i){return v[i]()}const{composeConfigs:L,PreviewWeb:A,ClientApi:D}=__STORYBOOK_MODULE_PREVIEW_API__,V=async()=>{const i=await Promise.all([t(()=>import("./entry-preview-Dt_ieJYD.js"),__vite__mapDeps([128,3,117,30]),import.meta.url),t(()=>import("./entry-preview-docs-VVY0FHZP.js"),__vite__mapDeps([129,120,3,121]),import.meta.url),t(()=>import("./preview-DbKtf0Y1.js"),__vite__mapDeps([130,119]),import.meta.url),t(()=>import("./preview-CWnrfoUW.js"),[],import.meta.url),t(()=>import("./preview-BEBQg86I.js"),__vite__mapDeps([131,121]),import.meta.url),t(()=>import("./preview-BcxrGG1y.js"),__vite__mapDeps([132,121]),import.meta.url),t(()=>import("./preview-Db4Idchh.js"),[],import.meta.url),t(()=>import("./preview-BAz7FMXc.js"),__vite__mapDeps([133,121]),import.meta.url),t(()=>import("./preview-Cv3rAi2i.js"),[],import.meta.url),t(()=>import("./preview-DXSA0gr-.js"),__vite__mapDeps([134,2,3,79,80,7,13,118]),import.meta.url)]);return L(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new A;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new D({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:y,getProjectAnnotations:V});export{t as _}; +const __vite__fileDeps=["./Badge.stories-BnSdtFJ9.js","./Badge-DrkzdDaE.js","./jsx-runtime-CexXSJP5.js","./index-BP8_t0zE.js","./Box-Cj61Dz8D.js","./helpers.css.ts.vanilla-CPoYynXN.js","./helpers.css.ts-D9GgqEt-.css","./vars.css.ts-p1kiyqAa.css","./createRuntimeFn-62c9670f.esm-UsP-ae2O.js","./Badge-DBRYHsId.css","./styles.css.ts-Bq1FbxSH.css","./Box.stories-Mc5Qraoe.js","./index-C_2BCWbv.js","./color-qnkbROzP.js","./typography-BClcJN8w.js","./Breadcrumbs.stories-Ppf4NQfF.js","./index-Di9tBWwu.js","./Divider-CxgZDj5W.js","./Text-D7WiMjUB.js","./Button.stories-e7y_hZ1X.js","./WarningIcon-B1ZRyEXn.js","./WarningIcon-C-bwifth.css","./Button-DOuJqjYO.js","./Button-Cp2wgUqX.css","./Card.stories-DAluwp_1.js","./Card-DEYi1qgK.js","./Card-g3EB5F9u.css","./Checkbox.stories-CT6Nqqi-.js","./Checkbox-BUj2JZbv.js","./index-CeXBLvNc.js","./index-BxmsGmlx.js","./index-C-LszQ6e.js","./index-CF1bRcOk.js","./index-pC7lLcKS.js","./index-CnD1ylEj.js","./Field-CEph7VCa.js","./Field-lFqK1sYF.css","./Checkbox-DsrKSLC6.css","./Collapsible.stories-CVBlX06T.js","./Collapsible-bQKaY9TQ.js","./index-1rhZt4VZ.js","./motion-Djta419p.js","./index-cqZfV_1m.js","./Collapsible-Bq8hqQ7O.css","./Divider.stories-BBywRZt0.js","./DropdownMenu.stories-DyVs9HXC.js","./IconButton-DQqnyzOW.js","./index-B5BpHa1O.js","./index-CX0kOEaK.js","./index-BxMbIcfc.js","./Combination-GnYcu0D6.js","./index-o9EF2x1d.js","./index-DAor9fLX.js","./index-DNJDfZCP.js","./DropdownMenu-BIDM3vhe.css","./FileInput.stories-BRT7lGnT.js","./FileInput-Tb0f6zMV.js","./FileInput-oqBVxsAL.css","./Form.stories-C3xidC2z.js","./ControlledTextInput-C52a52yN.js","./TextInput-B9DbBpUW.js","./TextInput-DsEfpvrA.css","./RadioGroup-DxMuBbJk.js","./RadioGroup-BhtsQfYf.css","./Select-B4cSKZ_r.js","./index-VYBS7HL5.js","./Select-BYUNCJi5.css","./Switch-BwygRpZR.js","./Switch-MT7k5RNm.css","./TextArea-DxZ5HQSk.js","./TextArea-DGKkP2SE.css","./GradientAvatar.stories-BtLQtCoe.js","./GradientAvatar-CD9qp_Ek.css","./IconButton.stories-CKbb5_cQ.js","./Image.stories-BGj_REyI.js","./Image-tqqx5b76.js","./Modal.stories-FurHjVR2.js","./Scroll-D1a0Jqau.js","./Scroll-B-dN7Fnu.css","./ThemeProvider-BuuYqdOr.js","./vars.css-vIjhzn4K.js","./Modal-CCK7Utge.css","./NetworkImage.stories-BNVJtugC.js","./NetworkImage-BU04VSmk.js","./NetworkImage-CvfUueYn.css","./NumericInput.stories-CTRk_olw.js","./PINCodeInput.stories-BKiLTffy.js","./PINCodeInput-B7qQEeZ8.css","./Progress.stories-OuL_uKnM.js","./RadioGroup.stories-CD-M2_hA.js","./Scroll.stories-DPAB_YiI.js","./SearchInput.stories-mDx2PejG.js","./Select.stories-DpJwrTPN.js","./TokenImage-C-7QrOBw.js","./TokenImage-DP23XjN3.css","./Skeleton.stories-DfCWO3Ay.js","./Skeleton-kwl6FZ-I.css","./Spinner.stories-DF0syw9L.js","./Spinner-DhfxdMWn.css","./StopClickPropagation.stories-D6WPB0Om.js","./Switch.stories-ClszoWzn.js","./TabbedNav.stories-Bh6Qr7Gw.js","./TabbedNav-03NfmODs.css","./Tabs.stories-DaOk--HN.js","./Tabs-zqcdYSEr.css","./Tag.stories-Dj8Mx9zR.js","./Text.stories-B1vPEsv1.js","./TextArea.stories-DPynByb0.js","./TextInput.stories-BlvGdR6l.js","./ThemeProvider.stories-DCvL3MSy.js","./Toast.stories-B3VCR9Xr.js","./Toast-3yLCWCqV.css","./TokenImage.stories-DTmRhOYz.js","./Tooltip.stories-BUevs8E1.js","./Tooltip-BgXgpSa9.css","./Caveats.stories-SdzXR52K.js","./chunk-HLWAVYOI-Bey4oObw.js","./react-18-DTpxdJzO.js","./chunk-EIRT5I3Z-Cd9gZQWv.js","./index-D2DNihGs.js","./index-EEBIeVPD.js","./index-DrFu-skq.js","./index-BqX3zWas.js","./Introduction.stories-5eoBG332.js","./Colors.stories-BeB6X4sA.js","./DesignTokens.stories-I7UV4ZQ0.js","./Iconography.stories-BwF6Crcf.js","./Typography.stories-CVqj775F.js","./entry-preview-Dt_ieJYD.js","./entry-preview-docs-VVY0FHZP.js","./preview-DbKtf0Y1.js","./preview-BEBQg86I.js","./preview-BcxrGG1y.js","./preview-BAz7FMXc.js","./preview-DXSA0gr-.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import"../sb-preview/runtime.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))c(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const e of o.addedNodes)e.tagName==="LINK"&&e.rel==="modulepreload"&&c(e)}).observe(document,{childList:!0,subtree:!0});function m(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function c(r){if(r.ep)return;r.ep=!0;const o=m(r);fetch(r.href,o)}})();const T="modulepreload",I=function(i,n){return new URL(i,n).href},d={},t=function(n,m,c){let r=Promise.resolve();if(m&&m.length>0){const o=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),E=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));r=Promise.all(m.map(s=>{if(s=I(s,c),s in d)return;d[s]=!0;const a=s.endsWith(".css"),O=a?'[rel="stylesheet"]':"";if(!!c)for(let p=o.length-1;p>=0;p--){const u=o[p];if(u.href===s&&(!a||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${O}`))return;const _=document.createElement("link");if(_.rel=a?"stylesheet":T,a||(_.as="script",_.crossOrigin=""),_.href=s,E&&_.setAttribute("nonce",E),document.head.appendChild(_),a)return new Promise((p,u)=>{_.addEventListener("load",p),_.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${s}`)))})}))}return r.then(()=>n()).catch(o=>{const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=o,window.dispatchEvent(e),!e.defaultPrevented)throw o})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:P}=__STORYBOOK_MODULE_PREVIEW_API__,l=R({page:"preview"});P.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const v={"./src/components/Badge/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-BnSdtFJ9.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url),"./src/components/Box/Box.stories.tsx":async()=>t(()=>import("./Box.stories-Mc5Qraoe.js"),__vite__mapDeps([11,12,13,14,4,3,5,6,7]),import.meta.url),"./src/components/Breadcrumbs/Breadcrumbs.stories.tsx":async()=>t(()=>import("./Breadcrumbs.stories-Ppf4NQfF.js"),__vite__mapDeps([15,2,3,4,5,6,7,16,17,18,14,8,10]),import.meta.url),"./src/components/Button/Button.stories.tsx":async()=>t(()=>import("./Button.stories-e7y_hZ1X.js"),__vite__mapDeps([19,2,3,1,4,5,6,7,8,9,10,20,21,22,18,14,23]),import.meta.url),"./src/components/Card/Card.stories.tsx":async()=>t(()=>import("./Card.stories-DAluwp_1.js"),__vite__mapDeps([24,2,3,4,5,6,7,18,14,8,10,25,26]),import.meta.url),"./src/components/Checkbox/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-CT6Nqqi-.js"),__vite__mapDeps([27,28,2,3,29,30,31,32,33,34,35,4,5,6,7,18,14,8,10,36,20,21,37]),import.meta.url),"./src/components/Collapsible/Collapsible.stories.tsx":async()=>t(()=>import("./Collapsible.stories-CVBlX06T.js"),__vite__mapDeps([38,2,3,18,4,5,6,7,14,8,10,39,29,30,31,34,40,20,21,41,42,43]),import.meta.url),"./src/components/Divider/Divider.stories.tsx":async()=>t(()=>import("./Divider.stories-BBywRZt0.js"),__vite__mapDeps([44,17,2,3,4,5,6,7]),import.meta.url),"./src/components/DropdownMenu/DropdownMenu.stories.tsx":async()=>t(()=>import("./DropdownMenu.stories-DyVs9HXC.js"),__vite__mapDeps([45,2,3,4,5,6,7,46,22,18,14,8,10,23,20,21,29,30,31,47,48,49,50,51,33,52,34,53,40,16,17,54]),import.meta.url),"./src/components/FileInput/FileInput.stories.tsx":async()=>t(()=>import("./FileInput.stories-BRT7lGnT.js"),__vite__mapDeps([55,56,2,3,4,5,6,7,35,18,14,8,10,36,46,22,23,20,21,57]),import.meta.url),"./src/components/Form/Form.stories.tsx":async()=>t(()=>import("./Form.stories-C3xidC2z.js"),__vite__mapDeps([58,2,3,4,5,6,7,22,18,14,8,10,23,28,29,30,31,32,33,34,35,36,20,21,37,59,60,61,56,46,57,62,53,47,40,48,63,64,49,50,51,65,66,67,68,69,70]),import.meta.url),"./src/components/GradientAvatar/GradientAvatar.stories.tsx":async()=>t(()=>import("./GradientAvatar.stories-BtLQtCoe.js"),__vite__mapDeps([71,2,3,4,5,6,7,18,14,8,10,72]),import.meta.url),"./src/components/IconButton/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-CKbb5_cQ.js"),__vite__mapDeps([73,20,2,3,4,5,6,7,8,21,46,22,18,14,10,23]),import.meta.url),"./src/components/Image/Image.stories.tsx":async()=>t(()=>import("./Image.stories-BGj_REyI.js"),__vite__mapDeps([74,75,2,3,4,5,6,7,41]),import.meta.url),"./src/components/Modal/Modal.stories.tsx":async()=>t(()=>import("./Modal.stories-FurHjVR2.js"),__vite__mapDeps([76,2,3,4,5,6,7,22,18,14,8,10,23,29,30,31,40,49,50,52,34,20,21,46,77,78,79,80,13,41,42,81]),import.meta.url),"./src/components/NetworkImage/NetworkImage.stories.tsx":async()=>t(()=>import("./NetworkImage.stories-BNVJtugC.js"),__vite__mapDeps([82,83,2,3,4,5,6,7,75,41,8,84]),import.meta.url),"./src/components/NumericInput/NumericInput.stories.tsx":async()=>t(()=>import("./NumericInput.stories-CTRk_olw.js"),__vite__mapDeps([85,2,3,60,4,5,6,7,35,18,14,8,10,36,61,59]),import.meta.url),"./src/components/PINCodeInput/PINCodeInput.stories.tsx":async()=>t(()=>import("./PINCodeInput.stories-BKiLTffy.js"),__vite__mapDeps([86,2,3,4,5,6,7,87,10]),import.meta.url),"./src/components/Progress/Progress.stories.tsx":async()=>t(()=>import("./Progress.stories-OuL_uKnM.js"),__vite__mapDeps([88,2,3,29,30,4,5,6,7]),import.meta.url),"./src/components/RadioGroup/RadioGroup.stories.tsx":async()=>t(()=>import("./RadioGroup.stories-CD-M2_hA.js"),__vite__mapDeps([89,62,2,3,29,30,31,53,47,40,48,33,32,34,4,5,6,7,35,18,14,8,10,36,63]),import.meta.url),"./src/components/Scroll/Scroll.stories.tsx":async()=>t(()=>import("./Scroll.stories-DPAB_YiI.js"),__vite__mapDeps([90,2,3,4,5,6,7,25,8,26,18,14,10,77,78]),import.meta.url),"./src/components/SearchInput/SearchInput.stories.tsx":async()=>t(()=>import("./SearchInput.stories-mDx2PejG.js"),__vite__mapDeps([91,2,3,46,22,4,5,6,7,18,14,8,10,23,60,35,36,61,59,20,21]),import.meta.url),"./src/components/Select/Select.stories.tsx":async()=>t(()=>import("./Select.stories-DpJwrTPN.js"),__vite__mapDeps([92,2,3,4,5,6,7,18,14,8,10,93,83,75,41,84,94,64,29,30,31,47,48,49,50,40,51,33,32,65,35,36,20,21,66]),import.meta.url),"./src/components/Skeleton/Skeleton.stories.tsx":async()=>t(()=>import("./Skeleton.stories-DfCWO3Ay.js"),__vite__mapDeps([95,2,3,4,5,6,7,8,41,96]),import.meta.url),"./src/components/Spinner/Spinner.stories.tsx":async()=>t(()=>import("./Spinner.stories-DF0syw9L.js"),__vite__mapDeps([97,2,3,4,5,6,7,8,98]),import.meta.url),"./src/components/StopClickPropagation/StopClickPropagation.stories.tsx":async()=>t(()=>import("./StopClickPropagation.stories-D6WPB0Om.js"),__vite__mapDeps([99,2,3,4,5,6,7,46,22,18,14,8,10,23,20,21]),import.meta.url),"./src/components/Switch/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-ClszoWzn.js"),__vite__mapDeps([100,67,2,3,29,30,31,32,33,4,5,6,7,35,18,14,8,10,36,68]),import.meta.url),"./src/components/TabbedNav/TabbedNav.stories.tsx":async()=>t(()=>import("./TabbedNav.stories-Bh6Qr7Gw.js"),__vite__mapDeps([101,2,3,1,4,5,6,7,8,9,10,18,14,20,21,22,23,102]),import.meta.url),"./src/components/Tabs/Tabs.stories.tsx":async()=>t(()=>import("./Tabs.stories-DaOk--HN.js"),__vite__mapDeps([103,2,3,25,4,5,6,7,8,26,18,14,10,29,30,31,53,47,40,48,34,104]),import.meta.url),"./src/components/Tag/Tag.stories.tsx":async()=>t(()=>import("./Tag.stories-Dj8Mx9zR.js"),__vite__mapDeps([105,20,2,3,4,5,6,7,8,21,18,14,10]),import.meta.url),"./src/components/Text/Text.stories.tsx":async()=>t(()=>import("./Text.stories-B1vPEsv1.js"),__vite__mapDeps([106,2,3,18,4,5,6,7,14,8,10]),import.meta.url),"./src/components/TextArea/TextArea.stories.tsx":async()=>t(()=>import("./TextArea.stories-DPynByb0.js"),__vite__mapDeps([107,69,2,3,4,5,6,7,35,18,14,8,10,36,70]),import.meta.url),"./src/components/TextInput/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-BlvGdR6l.js"),__vite__mapDeps([108,2,3,4,5,6,7,22,18,14,8,10,23,46,20,21,60,35,36,61]),import.meta.url),"./src/components/ThemeProvider/ThemeProvider.stories.tsx":async()=>t(()=>import("./ThemeProvider.stories-DCvL3MSy.js"),__vite__mapDeps([109,2,3,22,4,5,6,7,18,14,8,10,23,25,26,39,29,30,31,34,40,20,21,41,42,43,79,80,13]),import.meta.url),"./src/components/Toast/Toast.stories.tsx":async()=>t(()=>import("./Toast.stories-B3VCR9Xr.js"),__vite__mapDeps([110,2,3,22,4,5,6,7,18,14,8,10,23,25,26,20,21,29,30,31,47,49,52,34,65,46,41,42,111]),import.meta.url),"./src/components/TokenImage/TokenImage.stories.tsx":async()=>t(()=>import("./TokenImage.stories-DTmRhOYz.js"),__vite__mapDeps([112,93,2,3,4,5,6,7,83,75,41,8,84,18,14,10,94]),import.meta.url),"./src/components/Tooltip/Tooltip.stories.tsx":async()=>t(()=>import("./Tooltip.stories-BUevs8E1.js"),__vite__mapDeps([113,2,3,22,4,5,6,7,18,14,8,10,23,29,30,31,49,40,51,33,34,65,114]),import.meta.url),"./src/docs/Caveats.stories.mdx":async()=>t(()=>import("./Caveats.stories-SdzXR52K.js"),__vite__mapDeps([115,116,3,117,30,118,119,120,121,2,122]),import.meta.url),"./src/docs/Introduction.stories.mdx":async()=>t(()=>import("./Introduction.stories-5eoBG332.js"),__vite__mapDeps([123,116,3,117,30,118,119,120,121,2,122]),import.meta.url),"./src/docs/design-system/Colors.stories.mdx":async()=>t(()=>import("./Colors.stories-BeB6X4sA.js"),__vite__mapDeps([124,116,3,117,30,118,119,120,121,5,6,7,80,2,122]),import.meta.url),"./src/docs/design-system/DesignTokens.stories.mdx":async()=>t(()=>import("./DesignTokens.stories-I7UV4ZQ0.js"),__vite__mapDeps([125,116,3,117,30,118,119,120,121,12,13,14,2,122]),import.meta.url),"./src/docs/design-system/Iconography.stories.mdx":async()=>t(()=>import("./Iconography.stories-BwF6Crcf.js"),__vite__mapDeps([126,116,3,117,30,118,119,120,121,79,2,80,7,13,20,4,5,6,8,21,122]),import.meta.url),"./src/docs/design-system/Typography.stories.mdx":async()=>t(()=>import("./Typography.stories-CVqj775F.js"),__vite__mapDeps([127,116,3,117,30,118,119,120,121,18,2,4,5,6,7,14,8,10,79,80,13,122]),import.meta.url)};async function y(i){return v[i]()}const{composeConfigs:L,PreviewWeb:A,ClientApi:D}=__STORYBOOK_MODULE_PREVIEW_API__,V=async()=>{const i=await Promise.all([t(()=>import("./entry-preview-Dt_ieJYD.js"),__vite__mapDeps([128,3,117,30]),import.meta.url),t(()=>import("./entry-preview-docs-VVY0FHZP.js"),__vite__mapDeps([129,120,3,121]),import.meta.url),t(()=>import("./preview-DbKtf0Y1.js"),__vite__mapDeps([130,119]),import.meta.url),t(()=>import("./preview-CoE6Z__h.js"),[],import.meta.url),t(()=>import("./preview-BEBQg86I.js"),__vite__mapDeps([131,121]),import.meta.url),t(()=>import("./preview-BcxrGG1y.js"),__vite__mapDeps([132,121]),import.meta.url),t(()=>import("./preview-Db4Idchh.js"),[],import.meta.url),t(()=>import("./preview-BAz7FMXc.js"),__vite__mapDeps([133,121]),import.meta.url),t(()=>import("./preview-Cv3rAi2i.js"),[],import.meta.url),t(()=>import("./preview-DXSA0gr-.js"),__vite__mapDeps([134,2,3,79,80,7,13,118]),import.meta.url)]);return L(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new A;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new D({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:y,getProjectAnnotations:V});export{t as _}; diff --git a/assets/preview-CWnrfoUW.js b/assets/preview-CoE6Z__h.js similarity index 58% rename from assets/preview-CWnrfoUW.js rename to assets/preview-CoE6Z__h.js index 9a70a6ea4..bfdce6c7c 100644 --- a/assets/preview-CWnrfoUW.js +++ b/assets/preview-CoE6Z__h.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["./DocsRenderer-NNNQARDV-ojE1eG7J.js","./chunk-HLWAVYOI-BrDl87NK.js","./iframe-CpOr2SnB.js","./index-BP8_t0zE.js","./react-18-DTpxdJzO.js","./index-BxmsGmlx.js","./chunk-EIRT5I3Z-Cd9gZQWv.js","./index-D2DNihGs.js","./index-EEBIeVPD.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as e}from"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-ojE1eG7J.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url);return new r}}};export{a as parameters}; +const __vite__fileDeps=["./DocsRenderer-NNNQARDV-I3aIDoYe.js","./chunk-HLWAVYOI-Bey4oObw.js","./iframe-B2u2cbVa.js","./index-BP8_t0zE.js","./react-18-DTpxdJzO.js","./index-BxmsGmlx.js","./chunk-EIRT5I3Z-Cd9gZQWv.js","./index-D2DNihGs.js","./index-EEBIeVPD.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{_ as e}from"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-I3aIDoYe.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url);return new r}}};export{a as parameters}; diff --git a/assets/syntaxhighlighter-B5GMVT5T-D1Yqk6Ba.js b/assets/syntaxhighlighter-B5GMVT5T-FXRGlIsl.js similarity index 69% rename from assets/syntaxhighlighter-B5GMVT5T-D1Yqk6Ba.js rename to assets/syntaxhighlighter-B5GMVT5T-FXRGlIsl.js index 659852a70..498ba0556 100644 --- a/assets/syntaxhighlighter-B5GMVT5T-D1Yqk6Ba.js +++ b/assets/syntaxhighlighter-B5GMVT5T-FXRGlIsl.js @@ -1 +1 @@ -import{S as n,c as d,s as f}from"./chunk-HLWAVYOI-BrDl87NK.js";import"./iframe-CpOr2SnB.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";export{n as SyntaxHighlighter,d as createCopyToClipboardFunction,f as default}; +import{S as n,c as d,s as f}from"./chunk-HLWAVYOI-Bey4oObw.js";import"./iframe-B2u2cbVa.js";import"../sb-preview/runtime.js";import"./index-BP8_t0zE.js";import"./react-18-DTpxdJzO.js";import"./index-BxmsGmlx.js";import"./chunk-EIRT5I3Z-Cd9gZQWv.js";import"./index-D2DNihGs.js";import"./index-EEBIeVPD.js";import"./index-DrFu-skq.js";export{n as SyntaxHighlighter,d as createCopyToClipboardFunction,f as default}; diff --git a/iframe.html b/iframe.html index e9b9c33e5..4b1867540 100644 --- a/iframe.html +++ b/iframe.html @@ -381,7 +381,7 @@ } - + diff --git a/project.json b/project.json index 76889afa7..9b538514c 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1715366166586,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"pnpm","version":"9.1.0"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"7.6.17","storybookVersionSpecifier":"^7.6.17","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"7.6.17"},"@storybook/addon-docs":{"version":"7.6.17"},"@storybook/manager-api":{"version":"7.6.17"},"@storybook/react":{"version":"7.6.17"},"@storybook/react-vite":{"version":"7.6.17"},"@storybook/theming":{"version":"7.6.17"},"storybook":{"version":"7.6.17"}},"addons":{"@storybook/addon-links":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"}}} +{"generatedAt":1715787092412,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"pnpm","version":"9.1.1"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"7.6.17","storybookVersionSpecifier":"^7.6.17","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"7.6.17"},"@storybook/addon-docs":{"version":"7.6.17"},"@storybook/manager-api":{"version":"7.6.17"},"@storybook/react":{"version":"7.6.17"},"@storybook/react-vite":{"version":"7.6.17"},"@storybook/theming":{"version":"7.6.17"},"storybook":{"version":"7.6.17"}},"addons":{"@storybook/addon-links":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"}}}