@imtbl/sdk 0.0.1-alpha.3 → 0.1.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +0,0 @@
1
- /*! For license information please see main.7cff8960.js.LICENSE.txt */
2
- !function(){var e={8374:function(e,t,n){"use strict";var r,i=n(4759).default,a=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,f=function(e,t,n,r){if(t&&"object"===typeof t||"function"===typeof t){var a,l=i(u(t));try{var f=function(){var i=a.value;c.call(e,i)||i===n||o(e,i,{get:function(){return t[i]},enumerable:!(r=s(t,i))||r.enumerable})};for(l.s();!(a=l.n()).done;)f()}catch(d){l.e(d)}finally{l.f()}}return e},d={};!function(e,t){for(var n in t)o(e,n,{get:t[n],enumerable:!0})}(d,{base:function(){return k},designTokens:function(){return A},fontFaceStylesImport:function(){return h},onDarkBase:function(){return E},onLightBase:function(){return k},pickTokenValue:function(){return L},smartPickTokenValue:function(){return M}}),e.exports=(r=d,f(o({},"__esModule",{value:!0}),r));var h='@import url("https://design-system.immutable.com/hosted-for-ds/css/im-fonts-v4.css");',p={size:{600:"6px",500:"5px",400:"4px",300:"3px",200:"2px",100:"1px"}},v={size:{600:"64px",500:"48px",400:"32px",300:"24px",250:"20px",200:"16px",100:"12px"}},m={family:{heading:{primary:"'Suisse-Intl', sans-serif",secondary:"'Suisse-Intl', sans-serif"},body:{primary:"'Roboto', sans-serif",secondary:"'Roboto Mono', monospace"}},decoration:{underline:"underline",lineThrough:"line-through",none:"none"},casing:{uppercase:"uppercase",none:"none"}},g={body:{large:{regular:{fontSize:"20px",lineHeight:"28px",fontWeight:400},bold:{fontWeight:500}},medium:{regular:{fontSize:"16px",lineHeight:"24px",fontWeight:400},bold:{fontWeight:500}},small:{regular:{fontSize:"14px",lineHeight:"20px",fontWeight:400},bold:{fontWeight:700}},xSmall:{regular:{fontSize:"12px",lineHeight:"16px",fontWeight:400},bold:{fontWeight:700}},xxSmall:{regular:{fontSize:"10px",lineHeight:"14px",fontWeight:400},bold:{fontWeight:700}}},caption:{medium:{regular:{fontSize:"14px",lineHeight:"20px",fontWeight:400,casing:"uppercase",letterSpacing:"2px"},bold:{fontSize:"14px",lineHeight:"20px",fontWeight:700,casing:"uppercase",letterSpacing:"2px"}},small:{regular:{fontSize:"10px",lineHeight:"14px",fontWeight:400,casing:"uppercase",letterSpacing:"2px"},bold:{fontSize:"10px",lineHeight:"14px",fontWeight:700,casing:"uppercase",letterSpacing:"2px"}}},heading:{xxLarge:{regular:{fontSize:"96px",lineHeight:"112px",fontWeight:600},light:{fontWeight:400},bold:{fontWeight:700}},xLarge:{regular:{fontSize:"64px",lineHeight:"72px",fontWeight:600},light:{fontWeight:400},bold:{fontWeight:700}},large:{regular:{fontSize:"40px",lineHeight:"48px",fontWeight:600},light:{fontWeight:400},bold:{fontWeight:700}},medium:{regular:{fontSize:"28px",lineHeight:"32px",fontWeight:600},light:{fontWeight:400},bold:{fontWeight:700}},small:{regular:{fontSize:"20px",lineHeight:"28px",fontWeight:600},light:{fontWeight:400},bold:{fontWeight:700}},xSmall:{regular:{fontSize:"16px",lineHeight:"24px",fontWeight:600},light:{fontWeight:400},bold:{fontWeight:700}}}},y={x1:"4px",x2:"8px",x3:"12px",x4:"16px",x5:"20px",x6:"24px",x7:"28px",x8:"32px",x9:"36px",x10:"40px",x11:"44px",x12:"48px",x13:"52px",x14:"56px",x15:"60px",x16:"64px",x17:"68px",x18:"72px",x19:"76px",x20:"80px",x21:"84px",x22:"88px",x23:"92px",x24:"96px",x25:"100px",x26:"104px",x27:"108px",x28:"112px",x29:"116px",x30:"120px",x31:"124px",x32:"128px",x33:"132px",x34:"136px",x35:"140px",x36:"144px",x37:"148px",x38:"152px",x39:"156px",x40:"160px",x41:"164px",x42:"168px",x43:"172px",x44:"176px",x45:"180px",x46:"184px",x47:"188px",x48:"192px",x49:"196px",x50:"200px"},b={x1:"2px",x2:"4px",x3:"6px",x4:"8px",x5:"10px",x6:"12px",x7:"14px",x8:"16px",x9:"18px",x10:"20px",x11:"22px",x12:"24px",x13:"26px",x14:"28px",x15:"30px",x16:"32px",x17:"34px",x18:"36px",x19:"38px",x20:"40px",x21:"42px",x22:"44px",x23:"46px",x24:"48px",x25:"50px"},C={small:450,medium:768,large:1024,xLarge:1280,xxLarge:1536,xxxLarge:1920},x={tooltip:11,popover:10,modal:9},w={slow:{duration:"0.4s",cssEase:"ease-in-out",jsEase:"easeInOut"},fast:{duration:"0.25s",cssEase:"ease-in-out",jsEase:"easeInOut"}},k={colorMode:"darkOnLight",color:{brand:{1:"#131313",2:"#FFFFFF",3:"#E0E0E0",4:"#868686",5:"#36E0F8",6:"#1F8290"},neutral:{1e3:"#ECECEC",900:"#F0F0F0",800:"#F5F5F5",700:"#FAFAFA",600:"#FDFDFD",500:"#FFFFFF"},accent:{1:"#B026BD",2:"#1FD3F5",3:"#67C6E0",4:"#5AA0D9",5:"#8395E5",6:"#D8EFF4",7:"#F5BDD0",8:"#EC98CA"},translucent:{container:{500:"#FFFFFFF5",400:"#FFFFFFE0",300:"#FFFFFFCC",200:"#FFFFFFA3",100:"#FFFFFF7A"},standard:{1e3:"#0D0D0DFF",900:"#0D0D0DE6",800:"#0D0D0DCC",700:"#0D0D0DA3",600:"#0D0D0D7A",500:"#0D0D0D3D",400:"#0D0D0D29",300:"#0D0D0D1F",200:"#0D0D0D14",100:"#0D0D0D0A"},inverse:{1e3:"#FFFFFFFF",900:"#FFFFFFE6",800:"#FFFFFFCC",700:"#FFFFFFA3",600:"#FFFFFF7A",500:"#FFFFFF3D",400:"#FFFFFF29",300:"#FFFFFF1F",200:"#FFFFFF14",100:"#FFFFFF0A"}},status:{guidance:{bright:"#36E0F8",dim:"#9AEFFB"},success:{bright:"#ABF790",dim:"#D5FAC7"},attention:{bright:"#FBFF6D",dim:"#FCFEBF"},fatal:{bright:"#FF637F",dim:"#FFB1BF"}},text:{primary:"#131313",secondary:"#5C5C5C",link:{primary:"#B026BD",secondary:"#131313"},inverse:{primary:"#FFFFFF",secondary:"#E0E0E0"}}},gradient:{1:{spectrum:"linear-gradient(90.68deg, #F191FA 0%, #83E3F0 99.82%)",blendMode:"normal",svgDefs:'<linearGradient id="gradient-1-singleLayer" x1="0" y1="0" x2="24" y2="0.214702"\n gradientUnits="userSpaceOnUse">\n <stop stop-color="#F191FA" />\n <stop offset="1" stop-color="#83E3F0" />\n </linearGradient>',svgDefIds:"gradient-1-singleLayer"},2:{spectrum:"radial-gradient(96.87% 65.57% at 54.34% 93.79%, #FCF5EE 0%, rgba(236, 190, 225, 0) 71.51%), radial-gradient(73.48% 242.97% at 26.54% 26.42%, #A3EEF8 0%, #A4DCF5 17.71%, #A6AEEC 38.02%, #ECBEE1 100%)",blendMode:"normal, normal",svgDefs:'<radialGradient id="gradient-2-bottomLayer" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"\n gradientTransform="translate(4.7777 4.75595) rotate(44.9817) scale(18.6995 39.6574)">\n <stop stop-color="#A3EEF8" />\n <stop offset="0.177083" stop-color="#A4DCF5" />\n <stop offset="0.380208" stop-color="#A6AEEC" />\n <stop offset="1" stop-color="#ECBEE1" />\n </radialGradient>\n <radialGradient id="gradient-2-topLayer" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"\n gradientTransform="translate(9.7806 16.8827) rotate(84.265) scale(9.68552 18.5286)">\n <stop stop-color="#FCF5EE" />\n <stop offset="0.715135" stop-color="#ECBEE1" stop-opacity="0" />\n </radialGradient>',svgDefIds:"gradient-2-bottomLayer, gradient-2-topLayer"},3:{spectrum:"radial-gradient(100% 100% at 24.5% 100%, rgba(106, 160, 242, 0.9) 0%, rgba(198, 229, 247, 0) 100%), linear-gradient(81.66deg, rgba(124, 246, 251, 0.48) 9.38%, rgba(254, 253, 248, 0.7) 98.47%), radial-gradient(4009.6% 10453.55% at 0% 0%, #7EF8FE 0%, #7ABFEC 30.21%, #AEC3ED 45.54%, #DEF3F6 61.46%, #FAF9F3 100%)",blendMode:"normal, normal, normal",svgDefs:'<radialGradient id="gradient-3-bottomLayer" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"\n gradientTransform="rotate(60.6728) scale(36.75 1550.85)">\n <stop stop-color="#7EF8FE" />\n <stop offset="0.302083" stop-color="#7ABFEC" />\n <stop offset="0.455396" stop-color="#AEC3ED" />\n <stop offset="0.614583" stop-color="#DEF3F6" />\n <stop offset="1" stop-color="#FAF9F3" />\n </radialGradient>\n <linearGradient id="gradient-3-middleLayer" x1="-1.26123e-07" y1="4.8" x2="24" y2="2.16"\n gradientUnits="userSpaceOnUse">\n <stop stop-color="#7CF6FB" stop-opacity="0.48" />\n <stop offset="1" stop-color="#FEFDF8" stop-opacity="0.7" />\n </linearGradient>\n <radialGradient id="gradient-3-topLayer" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"\n gradientTransform="translate(4.41 18) rotate(-52.9472) scale(22.5541)">\n <stop stop-color="#6AA0F2" />\n <stop offset="1" stop-color="#C6E5F7" stop-opacity="0" />\n </radialGradient>',svgDefIds:"gradient-3-bottomLayer,\n gradient-3-middleLayer,\n gradient-3-topLayer"}},shadow:{100:"0px 1px 2px rgba(0, 0, 0, 0.16), 0px 1px 4px 1px rgba(0, 0, 0, 0.32)",200:"0px 2px 6px 2px rgba(0, 0, 0, 0.16), 0px 1px 2px rgba(0, 0, 0, 0.32)",300:"0px 4px 8px 4px rgba(0, 0, 0, 0.16), 0px 1px 4px rgba(0, 0, 0, 0.32)",400:"0px 8px 10px 4px rgba(0, 0, 0, 0.16), 0px 2px 4px rgba(0, 0, 0, 0.32)",500:"0px 8px 12px 6px rgba(0, 0, 0, 0.16), 0px 4px 4px rgba(0, 0, 0, 0.32)"},spacing:y,borderRadius:b,font:m,text:g,breakpoint:C,icon:v,border:p,zLevel:x,animation:w},E={colorMode:"lightOnDark",color:{brand:{1:"#F3F3F3",2:"#131313",3:"#E0E0E0",4:"#B6B6B6",5:"#36E0F8",6:"#1F8290"},neutral:{500:"#575757",600:"#444444",700:"#323232",800:"#1F1F1F",900:"#131313",1e3:"#0D0D0D"},accent:{1:"#F191FA",2:"#36E0F8",3:"#6FD6F2",4:"#61ADEB",5:"#99A8EA",6:"#E4F4F7",7:"#F8D1DE",8:"#F2B7DA"},translucent:{container:{500:"#F3F3F333",400:"#F3F3F329",300:"#F3F3F31F",200:"#F3F3F314",100:"#F3F3F30A"},standard:{1e3:"#F3F3F3FF",900:"#F3F3F3E6",800:"#F3F3F3CC",700:"#F3F3F3A3",600:"#F3F3F37A",500:"#F3F3F33D",400:"#F3F3F329",300:"#F3F3F31F",200:"#F3F3F314",100:"#F3F3F30A"},inverse:{1e3:"#0D0D0DFF",900:"#0D0D0DE6",800:"#0D0D0DCC",700:"#0D0D0DA3",600:"#0D0D0D7A",500:"#0D0D0D3D",400:"#0D0D0D29",300:"#0D0D0D1F",200:"#0D0D0D14",100:"#0D0D0D0A"}},status:{guidance:{bright:"#36E0F8",dim:"#94E9F5 "},success:{bright:"#ABF790",dim:"#D5FAC7"},attention:{bright:"#FAFD7E",dim:"#F6F8B9"},fatal:{bright:"#FF637F",dim:"#F9ABB9"}},text:{primary:"#F3F3F3",secondary:"#B6B6B6",link:{primary:"#F191FA",secondary:"#F3F3F3"},inverse:{primary:"#131313",secondary:"#464646"}}},gradient:{1:{spectrum:"linear-gradient(105.76deg, #F191FA -46.96%, #83E3F0 99.99%)",blendMode:"normal",svgDefs:'\n <linearGradient id="gradient-1-singleLayer" x1="0" y1="0" x2="24" y2="0.214702"\n gradientUnits="userSpaceOnUse">\n <stop stop-color="#C9A2F6" />\n <stop offset="1" stop-color="#83E3F0" />\n </linearGradient>',svgDefIds:"gradient-1-singleLayer"},2:{spectrum:"radial-gradient(96.87% 65.57% at 54.34% 93.79%, #FCF5EE 0%, rgba(236, 190, 225, 0) 71.51%), radial-gradient(73.48% 242.97% at 26.54% 26.42%, #A3EEF8 0%, #A4DCF5 17.71%, #A6AEEC 38.02%, #ECBEE1 100%)",blendMode:"normal, normal",svgDefs:'\n <radialGradient id="gradient-2-bottomLayer" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"\n gradientTransform="translate(4.7777 4.75595) rotate(44.9817) scale(18.6995 39.6574)">\n <stop stop-color="#A3EEF8" />\n <stop offset="0.177083" stop-color="#A4DCF5" />\n <stop offset="0.380208" stop-color="#A6AEEC" />\n <stop offset="1" stop-color="#ECBEE1" />\n </radialGradient>\n <radialGradient id="gradient-2-topLayer" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"\n gradientTransform="translate(9.7806 16.8827) rotate(84.265) scale(9.68552 18.5286)">\n <stop stop-color="#FCF5EE" />\n <stop offset="0.715135" stop-color="#ECBEE1" stop-opacity="0" />\n </radialGradient>',svgDefIds:"gradient-2-bottomLayer, gradient-2-topLayer"},3:{spectrum:"radial-gradient(100% 100% at 24.5% 100%, rgba(106, 160, 242, 0.9) 0%, rgba(198, 229, 247, 0) 100%), linear-gradient(81.66deg, rgba(124, 246, 251, 0.48) 9.38%, rgba(254, 253, 248, 0.7) 98.47%), radial-gradient(4009.6% 10453.55% at 0% 0%, #7EF8FE 0%, #7ABFEC 30.21%, #AEC3ED 45.54%, #DEF3F6 61.46%, #FAF9F3 100%)",blendMode:"normal, normal, normal",svgDefs:'\n <radialGradient id="gradient-3-bottomLayer" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"\n gradientTransform="rotate(60.6728) scale(36.75 1550.85)">\n <stop stop-color="#7EF8FE" />\n <stop offset="0.302083" stop-color="#7ABFEC" />\n <stop offset="0.455396" stop-color="#AEC3ED" />\n <stop offset="0.614583" stop-color="#DEF3F6" />\n <stop offset="1" stop-color="#FAF9F3" />\n </radialGradient>\n <linearGradient id="gradient-3-middleLayer" x1="-1.26123e-07" y1="4.8" x2="24" y2="2.16"\n gradientUnits="userSpaceOnUse">\n <stop stop-color="#7CF6FB" stop-opacity="0.48" />\n <stop offset="1" stop-color="#FEFDF8" stop-opacity="0.7" />\n </linearGradient>\n <radialGradient id="gradient-3-topLayer" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"\n gradientTransform="translate(4.41 18) rotate(-52.9472) scale(22.5541)">\n <stop stop-color="#6AA0F2" />\n <stop offset="1" stop-color="#C6E5F7" stop-opacity="0" />\n </radialGradient>',svgDefIds:"gradient-3-bottomLayer,\n gradient-3-middleLayer,\n gradient-3-topLayer"}},shadow:{100:"0px 1px 2px rgba(0, 0, 0, 0.16), 0px 1px 4px 1px rgba(0, 0, 0, 0.32)",200:"0px 2px 6px 2px rgba(0, 0, 0, 0.16), 0px 1px 2px rgba(0, 0, 0, 0.32)",300:"0px 4px 8px 4px rgba(0, 0, 0, 0.16), 0px 1px 4px rgba(0, 0, 0, 0.32)",400:"0px 6px 10px 4px rgba(0, 0, 0, 0.16), 0px 2px 4px rgba(0, 0, 0, 0.32)",500:"0px 8px 12px 6px rgba(0, 0, 0, 0.16), 0px 4px 4px rgba(0, 0, 0, 0.32)"},spacing:y,borderRadius:b,font:m,text:g,breakpoint:C,icon:v,border:p,zLevel:x,animation:w},S=function(e,t,n){return n=null!=e?a(l(e)):{},f(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)}(n(9066)),L=function(e,t){return(0,S.default)(e,t)};function M(e,t){var n=L(e,t);return"string"===typeof n&&n.match(/^base./)&&(n=L(e,n)),n}var A={base:k}},6725:function(e,t,n){"use strict";var r,i,a,o,s=n(8688).default,u=n(695).default,l=n(9649).default,c=n(299).default,f=n(6764).default,d=n(3213).default,h=n(8371).default,p=n(4759).default,v=Object.create,m=Object.defineProperty,g=Object.defineProperties,y=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,S=function(e,t,n){return t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},L=function(e,t){for(var n in t||(t={}))k.call(t,n)&&S(e,n,t[n]);if(x){var r,i=p(x(t));try{for(i.s();!(r=i.n()).done;){n=r.value;E.call(t,n)&&S(e,n,t[n])}}catch(a){i.e(a)}finally{i.f()}}return e},M=function(e,t){return g(e,b(t))},A=function(e,t){var n={};for(var r in e)k.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&x){var i,a=p(x(e));try{for(a.s();!(i=a.n()).done;){r=i.value;t.indexOf(r)<0&&E.call(e,r)&&(n[r]=e[r])}}catch(o){a.e(o)}finally{a.f()}}return n},_=function(e,t){return function(){return t||(0,e[C(e)[0]])((t={exports:{}}).exports,t),t.exports}},P=function(e,t,n,r){if(t&&"object"===typeof t||"function"===typeof t){var i,a=p(C(t));try{var o=function(){var a=i.value;k.call(e,a)||a===n||m(e,a,{get:function(){return t[a]},enumerable:!(r=y(t,a))||r.enumerable})};for(a.s();!(i=a.n()).done;)o()}catch(s){a.e(s)}finally{a.f()}}return e},T=function(e,t,n){return n=null!=e?v(w(e)):{},P(!t&&e&&e.__esModule?n:m(n,"default",{value:e,enumerable:!0}),e)},R=function(e,t,n){return new Promise((function(r,i){var a=function(e){try{s(n.next(e))}catch(t){i(t)}},o=function(e){try{s(n.throw(e))}catch(t){i(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(a,o)};s((n=n.apply(e,t)).next())}))},I=_({"../../node_modules/scheduler/cjs/scheduler.production.min.js":function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<i(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,u=e[s],l=s+1,c=e[l];if(0>i(u,n))l<a&&0>i(c,u)?(e[r]=c,e[l]=n,r=l):(e[r]=u,e[s]=n,r=s);else{if(!(l<a&&0>i(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var a,o,s;"object"===typeof performance&&"function"===typeof performance.now?(a=performance,e.unstable_now=function(){return a.now()}):(o=Date,s=o.now(),e.unstable_now=function(){return o.now()-s});var u=[],l=[],c=1,f=null,d=3,h=!1,p=!1,v=!1,m="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function b(e){for(var i=n(l);null!==i;){if(null===i.callback)r(l);else{if(!(i.startTime<=e))break;r(l),i.sortIndex=i.expirationTime,t(u,i)}i=n(l)}}function C(e){if(v=!1,b(e),!p)if(null!==n(u))p=!0,R(x);else{var t=n(l);null!==t&&I(C,t.startTime-e)}}function x(t,i){p=!1,v&&(v=!1,g(M),M=-1),h=!0;var a=d;try{for(b(i),f=n(u);null!==f&&(!(f.expirationTime>i)||t&&!P());){var o=f.callback;if("function"===typeof o){f.callback=null,d=f.priorityLevel;var s=o(f.expirationTime<=i);i=e.unstable_now(),"function"===typeof s?f.callback=s:f===n(u)&&r(u),b(i)}else r(u);f=n(u)}if(null!==f)var c=!0;else{var m=n(l);null!==m&&I(C,m.startTime-i),c=!1}return c}finally{f=null,d=a,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,k,E,S=!1,L=null,M=-1,A=5,_=-1;function P(){return!(e.unstable_now()-_<A)}function T(){if(null!==L){var t=e.unstable_now();_=t;var n=!0;try{n=L(!0,t)}finally{n?w():(S=!1,L=null)}}else S=!1}function R(e){L=e,S||(S=!0,w())}function I(t,n){M=m((function(){t(e.unstable_now())}),n)}"function"===typeof y?w=function(){y(T)}:"undefined"!==typeof MessageChannel?(k=new MessageChannel,E=k.port2,k.port1.onmessage=T,w=function(){E.postMessage(null)}):w=function(){m(T,0)},e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){p||h||(p=!0,R(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?o+a:o:a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return r={id:c++,callback:i,priorityLevel:r,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),null===n(u)&&r===n(l)&&(v?(g(M),M=-1):v=!0,I(C,a-o))):(r.sortIndex=s,t(u,r),p||h||(p=!0,R(x))),r},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}}}),N=(_({"../../node_modules/scheduler/cjs/scheduler.development.js":function(e){0}}),_({"../../node_modules/scheduler/index.js":function(e,t){t.exports=I()}})),O=_({"../../node_modules/react-dom/cjs/react-dom.production.min.js":function(e){var t=n(5535),r=N();function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,o={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(o[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),c=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},h={};function p(e,t,n,r,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new p(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new p(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new p(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new p(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new p(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new p(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function y(e,t,n,r){var i=v.hasOwnProperty(t)?v[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!c.call(h,e)||!c.call(d,e)&&(f.test(e)?h[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,g);v[t]=new p(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,g);v[t]=new p(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,g);v[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,C=Symbol.for("react.element"),x=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),L=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),T=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function O(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=I&&e[I]||e["@@iterator"])?e:null}var j,F=Object.assign;function V(e){if(void 0===j)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var B=!1;function H(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var i=l.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do{if(o--,0>--s||i[o]!==a[s]){var u="\n"+i[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=o&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V(e):""}function D(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 1:return e=H(e.type,!0);default:return""}}function z(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case w:return"Fragment";case x:return"Portal";case E:return"Profiler";case k:return"StrictMode";case A:return"Suspense";case _:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case L:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case M:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:z(e.type)||"Memo";case T:t=e._payload,e=e._init;try{return z(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return z(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Z(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function X(e,t){J(e,t);var n=Z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function $(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te,ne=Array.isArray;function re(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Z(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ie(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(ne(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Z(n)}}function oe(e,t){var n=Z(t.value),r=Z(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ue(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ue(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((te=te||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=te.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ge=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,ke=null,Ee=null;function Se(e){if(e=bi(e)){if("function"!==typeof we)throw Error(i(280));var t=e.stateNode;t&&(t=xi(t),we(e.stateNode,e.type,t))}}function Le(e){ke?Ee?Ee.push(e):Ee=[e]:ke=e}function Me(){if(ke){var e=ke,t=Ee;if(Ee=ke=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Ae(e,t){return e(t)}function _e(){}var Pe=!1;function Te(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Ae(e,t,n)}finally{Pe=!1,(null!==ke||null!==Ee)&&(_e(),Me())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=xi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Ie,Ne=!1;if(l)try{Ie={},Object.defineProperty(Ie,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ce){Ne=!1}function Oe(e,t,n,r,i,a,o,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var je=!1,Fe=null,Ve=!1,Be=null,He={onError:function(e){je=!0,Fe=e}};function De(e,t,n,r,i,a,o,s,u){je=!1,Fe=null,Oe.apply(He,arguments)}function ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(ze(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ze(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Ze(a),e;if(o===r)return Ze(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var s=!1,u=a.child;u;){if(u===n){s=!0,n=a,r=o;break}if(u===r){s=!0,r=a,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=a;break}if(u===r){s=!0,r=o,n=a;break}u=u.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var qe=r.unstable_scheduleCallback,Ke=r.unstable_cancelCallback,Qe=r.unstable_shouldYield,Ye=r.unstable_requestPaint,Je=r.unstable_now,Xe=r.unstable_getCurrentPriorityLevel,$e=r.unstable_ImmediatePriority,et=r.unstable_UserBlockingPriority,tt=r.unstable_NormalPriority,nt=r.unstable_LowPriority,rt=r.unstable_IdlePriority,it=null,at=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var lt=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var s=o&~i;0!==s?r=ft(s):0!==(a&=o)&&(r=ft(a))}else 0!==(o=n&~i)?r=ft(o):0!==a&&(r=ft(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&0!==(4194240&a)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-ot(t)),r|=e[n],t&=~i;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=lt;return 0===(4194240&(lt<<=1))&&(lt=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt,Ct,xt,wt,kt,Et=0;function St(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var Lt=!1,Mt=[],At=null,_t=null,Pt=null,Tt=new Map,Rt=new Map,It=[],Nt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ot(e,t){switch(e){case"focusin":case"focusout":At=null;break;case"dragenter":case"dragleave":_t=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function jt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&Ct(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Ft(e){var t=yi(e.target);if(null!==t){var n=ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void kt(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&Ct(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ce=r,n.target.dispatchEvent(r),Ce=null,t.shift()}return!0}function Bt(e,t,n){Vt(e)&&n.delete(t)}function Ht(){Lt=!1,null!==At&&Vt(At)&&(At=null),null!==_t&&Vt(_t)&&(_t=null),null!==Pt&&Vt(Pt)&&(Pt=null),Tt.forEach(Bt),Rt.forEach(Bt)}function Dt(e,t){e.blockedOn===t&&(e.blockedOn=null,Lt||(Lt=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ht)))}function zt(e){function t(t){return Dt(t,e)}if(0<Mt.length){Dt(Mt[0],e);for(var n=1;n<Mt.length;n++){var r=Mt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==At&&Dt(At,e),null!==_t&&Dt(_t,e),null!==Pt&&Dt(Pt,e),Tt.forEach(t),Rt.forEach(t),n=0;n<It.length;n++)(r=It[n]).blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&null===(n=It[0]).blockedOn;)Ft(n),null===n.blockedOn&&It.shift()}var Ut=b.ReactCurrentBatchConfig,Zt=!0;function Wt(e,t,n,r){var i=Et,a=Ut.transition;Ut.transition=null;try{Et=1,qt(e,t,n,r)}finally{Et=i,Ut.transition=a}}function Gt(e,t,n,r){var i=Et,a=Ut.transition;Ut.transition=null;try{Et=4,qt(e,t,n,r)}finally{Et=i,Ut.transition=a}}function qt(e,t,n,r){if(Zt){var i=Qt(e,t,n,r);if(null===i)Zr(e,t,r,Kt,n),Ot(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return At=jt(At,e,t,n,r,i),!0;case"dragenter":return _t=jt(_t,e,t,n,r,i),!0;case"mouseover":return Pt=jt(Pt,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Tt.set(a,jt(Tt.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Rt.set(a,jt(Rt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Ot(e,r),4&t&&-1<Nt.indexOf(e)){for(;null!==i;){var a=bi(i);if(null!==a&&bt(a),null===(a=Qt(e,t,n,r))&&Zr(e,t,r,Kt,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Zr(e,t,r,null,n)}}var Kt=null;function Qt(e,t,n,r){if(Kt=null,null!==(e=yi(e=xe(r))))if(null===(t=ze(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case $e:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Jt=null,Xt=null,$t=null;function en(){if($t)return $t;var e,t,n=Xt,r=n.length,i="value"in Jt?Jt.value:Jt.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return $t=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,un,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(ln),fn=F({},ln,{view:0,detail:0}),dn=an(fn),hn=F({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(on=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=on=0,un=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=an(hn),vn=an(F({},hn,{dataTransfer:0})),mn=an(F({},fn,{relatedTarget:0})),gn=an(F({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=F({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(yn),Cn=an(F({},ln,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function Sn(){return En}var Ln=F({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Mn=an(Ln),An=an(F({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),_n=an(F({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),Pn=an(F({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=F({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rn=an(Tn),In=[9,13,27,32],Nn=l&&"CompositionEvent"in window,On=null;l&&"documentMode"in document&&(On=document.documentMode);var jn=l&&"TextEvent"in window&&!On,Fn=l&&(!Nn||On&&8<On&&11>=On),Vn=String.fromCharCode(32),Bn=!1;function Hn(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var zn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Wn(e,t,n,r){Le(r),0<(t=Gr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,qn=null;function Kn(e){Vr(e,0)}function Qn(e){if(q(Ci(e)))return e}function Yn(e,t){if("change"===e)return t}var Jn,Xn,$n,er=!1;function tr(){Gn&&(Gn.detachEvent("onpropertychange",nr),qn=Gn=null)}function nr(e){if("value"===e.propertyName&&Qn(qn)){var t=[];Wn(t,qn,e,xe(e)),Te(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Gn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(qn)}function ar(e,t){if("click"===e)return Qn(t)}function or(e,t){if("input"===e||"change"===e)return Qn(t)}l&&(l?((Xn="oninput"in document)||(($n=document.createElement("div")).setAttribute("oninput","return;"),Xn="function"===typeof $n.oninput),Jn=Xn):Jn=!1,er=Jn&&(!document.documentMode||9<document.documentMode));var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!c.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=cr(n,a);var o=cr(n,r);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vr=l&&"documentMode"in document&&11>=document.documentMode,mr=null,gr=null,yr=null,br=!1;function Cr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==K(r)||("selectionStart"in(r=mr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Gr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},kr={},Er={};function Sr(e){if(kr[e])return kr[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return kr[e]=n[t];return e}l&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var Lr,Mr,Ar=Sr("animationend"),_r=Sr("animationiteration"),Pr=Sr("animationstart"),Tr=Sr("transitionend"),Rr=new Map,Ir="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Rr.set(e,t),s(t,[e])}for(Mr=0;Mr<Ir.length;Mr++)Nr((Lr=Ir[Mr]).toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)));Nr(Ar,"onAnimationEnd"),Nr(_r,"onAnimationIteration"),Nr(Pr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Tr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Or="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Or));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,s,u,l){if(De.apply(this,arguments),je){if(!je)throw Error(i(198));var c=Fe;je=!1,Fe=null,Ve||(Ve=!0,Be=c)}}(r,t,void 0,e),e.currentTarget=null}function Vr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==a&&i.isPropagationStopped())break e;Fr(i,s,l),a=u}else for(o=0;o<r.length;o++){if(u=(s=r[o]).instance,l=s.currentTarget,s=s.listener,u!==a&&i.isPropagationStopped())break e;Fr(i,s,l),a=u}}}if(Ve)throw e=Be,Ve=!1,Be=null,e}function Br(e,t){var n=t[vi];void 0===n&&(n=t[vi]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Hr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Dr="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[Dr]){e[Dr]=!0,a.forEach((function(t){"selectionchange"!==t&&(jr.has(t)||Hr(t,!1,e),Hr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Dr]||(t[Dr]=!0,Hr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Yt(t)){case 1:var i=Wt;break;case 4:i=Gt;break;default:i=qt}n=i.bind(null,t,n,e),i=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Zr(e,t,n,r,i){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var u=o.tag;if((3===u||4===u)&&((u=o.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=yi(s)))return;if(5===(u=o.tag)||6===u){r=a=o;continue e}s=s.parentNode}}r=r.return}Te((function(){var r=a,i=xe(n),o=[];e:{var s=Rr.get(e);if(void 0!==s){var u=cn,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Mn;break;case"focusin":l="focus",u=mn;break;case"focusout":l="blur",u=mn;break;case"beforeblur":case"afterblur":u=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=_n;break;case Ar:case _r:case Pr:u=gn;break;case Tr:u=Pn;break;case"scroll":u=dn;break;case"wheel":u=Rn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=An}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=r;null!==p;){var v=(h=p).stateNode;if(5===h.tag&&null!==v&&(h=v,null!==d&&(null!=(v=Re(p,d))&&c.push(Wr(p,v,h)))),f)break;p=p.return}0<c.length&&(s=new u(s,l,null,n,i),o.push({event:s,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ce||!(l=n.relatedTarget||n.fromElement)||!yi(l)&&!l[pi])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(l=(l=n.relatedTarget||n.toElement)?yi(l):null)&&(l!==(f=ze(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(u=null,l=r),u!==l)){if(c=pn,v="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=An,v="onPointerLeave",d="onPointerEnter",p="pointer"),f=null==u?s:Ci(u),h=null==l?s:Ci(l),(s=new c(v,p+"leave",u,n,i)).target=f,s.relatedTarget=h,v=null,yi(i)===r&&((c=new c(d,p+"enter",l,n,i)).target=h,c.relatedTarget=f,v=c),f=v,u&&l)e:{for(d=l,p=0,h=c=u;h;h=qr(h))p++;for(h=0,v=d;v;v=qr(v))h++;for(;0<p-h;)c=qr(c),p--;for(;0<h-p;)d=qr(d),h--;for(;p--;){if(c===d||null!==d&&c===d.alternate)break e;c=qr(c),d=qr(d)}c=null}else c=null;null!==u&&Kr(o,s,u,c,!1),null!==l&&null!==f&&Kr(o,f,l,c,!0)}if("select"===(u=(s=r?Ci(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var m=Yn;else if(Zn(s))if(er)m=or;else{m=ir;var g=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=ar);switch(m&&(m=m(e,r))?Wn(o,m,n,i):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?Ci(r):window,e){case"focusin":(Zn(g)||"true"===g.contentEditable)&&(mr=g,gr=r,yr=null);break;case"focusout":yr=gr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,Cr(o,n,i);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":Cr(o,n,i)}var y;if(Nn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else zn?Hn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(zn||"onCompositionStart"!==b?"onCompositionEnd"===b&&zn&&(y=en()):(Xt="value"in(Jt=i)?Jt.value:Jt.textContent,zn=!0)),0<(g=Gr(r,b)).length&&(b=new Cn(b,e,null,n,i),o.push({event:b,listeners:g}),y?b.data=y:null!==(y=Dn(n))&&(b.data=y))),(y=jn?function(e,t){switch(e){case"compositionend":return Dn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Vn);case"textInput":return(e=t.data)===Vn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(zn)return"compositionend"===e||!Nn&&Hn(e,t)?(e=en(),$t=Xt=Jt=null,zn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(i=new Cn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=y))}Vr(o,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=Re(e,n))&&r.unshift(Wr(e,a,i)),null!=(a=Re(e,t))&&r.push(Wr(e,a,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,u=s.alternate,l=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==l&&(s=l,i?null!=(u=Re(n,a))&&o.unshift(Wr(n,u,s)):i||null!=(u=Re(n,a))&&o.push(Wr(n,u,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Jr(e){return("string"===typeof e?e:""+e).replace(Qr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Jr(t),Jr(e)!==t&&n)throw Error(i(425))}function $r(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,ai="function"===typeof Promise?Promise:void 0,oi="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ai?function(e){return ai.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout((function(){throw e}))}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void zt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);zt(t)}function li(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),di="__reactFiber$"+fi,hi="__reactProps$"+fi,pi="__reactContainer$"+fi,vi="__reactEvents$"+fi,mi="__reactListeners$"+fi,gi="__reactHandles$"+fi;function yi(e){var t=e[di];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[di]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[di])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[di]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ci(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function xi(e){return e[hi]||null}var wi=[],ki=-1;function Ei(e){return{current:e}}function Si(e){0>ki||(e.current=wi[ki],wi[ki]=null,ki--)}function Li(e,t){ki++,wi[ki]=e.current,e.current=t}var Mi={},Ai=Ei(Mi),_i=Ei(!1),Pi=Mi;function Ti(e,t){var n=e.type.contextTypes;if(!n)return Mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ri(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ii(){Si(_i),Si(Ai)}function Ni(e,t,n){if(Ai.current!==Mi)throw Error(i(168));Li(Ai,t),Li(_i,n)}function Oi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(i(108,U(e)||"Unknown",a));return F({},n,r)}function ji(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mi,Pi=Ai.current,Li(Ai,e),Li(_i,_i.current),!0}function Fi(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Oi(e,t,Pi),r.__reactInternalMemoizedMergedChildContext=e,Si(_i),Si(Ai),Li(Ai,e)):Si(_i),Li(_i,n)}var Vi=null,Bi=!1,Hi=!1;function Di(e){null===Vi?Vi=[e]:Vi.push(e)}function zi(){if(!Hi&&null!==Vi){Hi=!0;var e=0,t=Et;try{var n=Vi;for(Et=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Vi=null,Bi=!1}catch(i){throw null!==Vi&&(Vi=Vi.slice(e+1)),qe($e,zi),i}finally{Et=t,Hi=!1}}return null}var Ui=[],Zi=0,Wi=null,Gi=0,qi=[],Ki=0,Qi=null,Yi=1,Ji="";function Xi(e,t){Ui[Zi++]=Gi,Ui[Zi++]=Wi,Wi=e,Gi=t}function $i(e,t,n){qi[Ki++]=Yi,qi[Ki++]=Ji,qi[Ki++]=Qi,Qi=e;var r=Yi;e=Ji;var i=32-ot(r)-1;r&=~(1<<i),n+=1;var a=32-ot(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Yi=1<<32-ot(t)+i|n<<i|r,Ji=a+e}else Yi=1<<a|n<<i|r,Ji=e}function ea(e){null!==e.return&&(Xi(e,1),$i(e,1,0))}function ta(e){for(;e===Wi;)Wi=Ui[--Zi],Ui[Zi]=null,Gi=Ui[--Zi],Ui[Zi]=null;for(;e===Qi;)Qi=qi[--Ki],qi[Ki]=null,Ji=qi[--Ki],qi[Ki]=null,Yi=qi[--Ki],qi[Ki]=null}var na=null,ra=null,ia=!1,aa=null;function oa(e,t){var n=Rl(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,na=e,ra=li(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,na=e,ra=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qi?{id:Yi,overflow:Ji}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Rl(18,null,null,0)).stateNode=t,n.return=e,e.child=n,na=e,ra=null,!0);default:return!1}}function ua(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function la(e){if(ia){var t=ra;if(t){var n=t;if(!sa(e,t)){if(ua(e))throw Error(i(418));t=li(n.nextSibling);var r=na;t&&sa(e,t)?oa(r,n):(e.flags=-4097&e.flags|2,ia=!1,na=e)}}else{if(ua(e))throw Error(i(418));e.flags=-4097&e.flags|2,ia=!1,na=e}}}function ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;na=e}function fa(e){if(e!==na)return!1;if(!ia)return ca(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ra)){if(ua(e))throw da(),Error(i(418));for(;t;)oa(e,t),t=li(t.nextSibling)}if(ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ra=li(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ra=null}}else ra=na?li(e.stateNode.nextSibling):null;return!0}function da(){for(var e=ra;e;)e=li(e.nextSibling)}function ha(){ra=na=null,ia=!1}function pa(e){null===aa?aa=[e]:aa.push(e)}var va=b.ReactCurrentBatchConfig;function ma(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ga=Ei(null),ya=null,ba=null,Ca=null;function xa(){Ca=ba=ya=null}function wa(e){var t=ga.current;Si(ga),e._currentValue=t}function ka(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ea(e,t){ya=e,Ca=ba=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Cs=!0),e.firstContext=null)}function Sa(e){var t=e._currentValue;if(Ca!==e)if(e={context:e,memoizedValue:t,next:null},null===ba){if(null===ya)throw Error(i(308));ba=e,ya.dependencies={lanes:0,firstContext:e}}else ba=ba.next=e;return t}var La=null;function Ma(e){null===La?La=[e]:La.push(e)}function Aa(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Ma(t)):(n.next=i.next,i.next=n),t.interleaved=n,_a(e,r)}function _a(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pa=!1;function Ta(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ra(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ia(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Na(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&_u)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,_a(e,n)}return null===(i=r.interleaved)?(t.next=t,Ma(r)):(t.next=i.next,i.next=t),r.interleaved=t,_a(e,n)}function Oa(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function ja(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fa(e,t,n,r){var i=e.updateQueue;Pa=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var u=s,l=u.next;u.next=null,null===o?a=l:o.next=l,o=u;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(null!==a){var f=i.baseState;for(o=0,c=l=u=null,s=a;;){var d=s.lane,h=s.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,v=s;switch(d=t,h=n,v.tag){case 1:if("function"===typeof(p=v.payload)){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(d="function"===typeof(p=v.payload)?p.call(h,f,d):p)||void 0===d)break e;f=F({},f,d);break e;case 2:Pa=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(l=c=h,u=f):c=c.next=h,o|=d;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(d=s).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===c&&(u=f),i.baseState=u,i.firstBaseUpdate=l,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{o|=i.lane,i=i.next}while(i!==t)}else null===a&&(i.shared.lanes=0);Fu|=o,e.lanes=o,e.memoizedState=f}}function Va(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(i(191,a));a.call(r)}}}var Ba=(new t.Component).refs;function Ha(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Da={isMounted:function(e){return!!(e=e._reactInternals)&&ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tl(),i=nl(e),a=Ia(r,i);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Na(e,a,i))&&(rl(t,e,i,r),Oa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tl(),i=nl(e),a=Ia(r,i);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Na(e,a,i))&&(rl(t,e,i,r),Oa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tl(),r=nl(e),i=Ia(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Na(e,i,r))&&(rl(t,e,r,n),Oa(t,e,r))}};function za(e,t,n,r,i,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,a))}function Ua(e,t,n){var r=!1,i=Mi,a=t.contextType;return"object"===typeof a&&null!==a?a=Sa(a):(i=Ri(t)?Pi:Ai.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ti(e,i):Mi),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Da,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Za(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Da.enqueueReplaceState(t,t.state,null)}function Wa(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ba,Ta(e);var a=t.contextType;"object"===typeof a&&null!==a?i.context=Sa(a):(a=Ri(t)?Pi:Ai.current,i.context=Ti(e,a)),i.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(Ha(e,t,a,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Da.enqueueReplaceState(i,i.state,null),Fa(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function Ga(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=r,o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=a.refs;t===Ba&&(t=a.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function qa(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ka(e){return(0,e._init)(e._payload)}function Qa(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Nl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Vl(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function l(e,t,n,r){var i=n.type;return i===w?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===T&&Ka(i)===t.type)?((r=a(t,n.props)).ref=Ga(e,t,n),r.return=e,r):((r=Ol(n.type,n.key,n.props,null,e.mode,r)).ref=Ga(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bl(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=jl(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Vl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case C:return(n=Ol(t.type,t.key,t.props,null,e.mode,n)).ref=Ga(e,null,t),n.return=e,n;case x:return(t=Bl(t,e.mode,n)).return=e,t;case T:return d(e,(0,t._init)(t._payload),n)}if(ne(t)||O(t))return(t=jl(t,e.mode,n,null)).return=e,t;qa(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case C:return n.key===i?l(e,t,n,r):null;case x:return n.key===i?c(e,t,n,r):null;case T:return h(e,t,(i=n._init)(n._payload),r)}if(ne(n)||O(n))return null!==i?null:f(e,t,n,r,null);qa(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case C:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case T:return p(e,t,n,(0,r._init)(r._payload),i)}if(ne(r)||O(r))return f(t,e=e.get(n)||null,r,i,null);qa(t,r)}return null}return function u(l,c,f,v){if("object"===typeof f&&null!==f&&f.type===w&&null===f.key&&(f=f.props.children),"object"===typeof f&&null!==f){switch(f.$$typeof){case C:e:{for(var m=f.key,g=c;null!==g;){if(g.key===m){if((m=f.type)===w){if(7===g.tag){n(l,g.sibling),(c=a(g,f.props.children)).return=l,l=c;break e}}else if(g.elementType===m||"object"===typeof m&&null!==m&&m.$$typeof===T&&Ka(m)===g.type){n(l,g.sibling),(c=a(g,f.props)).ref=Ga(l,g,f),c.return=l,l=c;break e}n(l,g);break}t(l,g),g=g.sibling}f.type===w?((c=jl(f.props.children,l.mode,v,f.key)).return=l,l=c):((v=Ol(f.type,f.key,f.props,null,l.mode,v)).ref=Ga(l,c,f),v.return=l,l=v)}return s(l);case x:e:{for(g=f.key;null!==c;){if(c.key===g){if(4===c.tag&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){n(l,c.sibling),(c=a(c,f.children||[])).return=l,l=c;break e}n(l,c);break}t(l,c),c=c.sibling}(c=Bl(f,l.mode,v)).return=l,l=c}return s(l);case T:return u(l,c,(g=f._init)(f._payload),v)}if(ne(f))return function(i,a,s,u){for(var l=null,c=null,f=a,v=a=0,m=null;null!==f&&v<s.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var g=h(i,f,s[v],u);if(null===g){null===f&&(f=m);break}e&&f&&null===g.alternate&&t(i,f),a=o(g,a,v),null===c?l=g:c.sibling=g,c=g,f=m}if(v===s.length)return n(i,f),ia&&Xi(i,v),l;if(null===f){for(;v<s.length;v++)null!==(f=d(i,s[v],u))&&(a=o(f,a,v),null===c?l=f:c.sibling=f,c=f);return ia&&Xi(i,v),l}for(f=r(i,f);v<s.length;v++)null!==(m=p(f,i,v,s[v],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=o(m,a,v),null===c?l=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(i,e)})),ia&&Xi(i,v),l}(l,c,f,v);if(O(f))return function(a,s,u,l){var c=O(u);if("function"!==typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var f=c=null,v=s,m=s=0,g=null,y=u.next();null!==v&&!y.done;m++,y=u.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=h(a,v,y.value,l);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(a,v),s=o(b,s,m),null===f?c=b:f.sibling=b,f=b,v=g}if(y.done)return n(a,v),ia&&Xi(a,m),c;if(null===v){for(;!y.done;m++,y=u.next())null!==(y=d(a,y.value,l))&&(s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return ia&&Xi(a,m),c}for(v=r(a,v);!y.done;m++,y=u.next())null!==(y=p(v,a,m,y.value,l))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(a,e)})),ia&&Xi(a,m),c}(l,c,f,v);qa(l,f)}return"string"===typeof f&&""!==f||"number"===typeof f?(f=""+f,null!==c&&6===c.tag?(n(l,c.sibling),(c=a(c,f)).return=l,l=c):(n(l,c),(c=Vl(f,l.mode,v)).return=l,l=c),s(l)):n(l,c)}}var Ya=Qa(!0),Ja=Qa(!1),Xa={},$a=Ei(Xa),eo=Ei(Xa),to=Ei(Xa);function no(e){if(e===Xa)throw Error(i(174));return e}function ro(e,t){switch(Li(to,t),Li(eo,e),Li($a,Xa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Si($a),Li($a,t)}function io(){Si($a),Si(eo),Si(to)}function ao(e){no(to.current);var t=no($a.current),n=le(t,e.type);t!==n&&(Li(eo,e),Li($a,n))}function oo(e){eo.current===e&&(Si($a),Si(eo))}var so=Ei(0);function uo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var lo=[];function co(){for(var e=0;e<lo.length;e++)lo[e]._workInProgressVersionPrimary=null;lo.length=0}var fo=b.ReactCurrentDispatcher,ho=b.ReactCurrentBatchConfig,po=0,vo=null,mo=null,go=null,yo=!1,bo=!1,Co=0,xo=0;function wo(){throw Error(i(321))}function ko(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Eo(e,t,n,r,a,o){if(po=o,vo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fo.current=null===e||null===e.memoizedState?ss:us,e=n(r,a),bo){o=0;do{if(bo=!1,Co=0,25<=o)throw Error(i(301));o+=1,go=mo=null,t.updateQueue=null,fo.current=ls,e=n(r,a)}while(bo)}if(fo.current=os,t=null!==mo&&null!==mo.next,po=0,go=mo=vo=null,yo=!1,t)throw Error(i(300));return e}function So(){var e=0!==Co;return Co=0,e}function Lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===go?vo.memoizedState=go=e:go=go.next=e,go}function Mo(){if(null===mo){var e=vo.alternate;e=null!==e?e.memoizedState:null}else e=mo.next;var t=null===go?vo.memoizedState:go.next;if(null!==t)go=t,mo=e;else{if(null===e)throw Error(i(310));e={memoizedState:(mo=e).memoizedState,baseState:mo.baseState,baseQueue:mo.baseQueue,queue:mo.queue,next:null},null===go?vo.memoizedState=go=e:go=go.next=e}return go}function Ao(e,t){return"function"===typeof t?t(e):t}function _o(e){var t=Mo(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=mo,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}r.baseQueue=a=o,n.pending=null}if(null!==a){o=a.next,r=r.baseState;var u=s=null,l=null,c=o;do{var f=c.lane;if((po&f)===f)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(u=l=d,s=r):l=l.next=d,vo.lanes|=f,Fu|=f}c=c.next}while(null!==c&&c!==o);null===l?s=r:l.next=u,sr(r,t.memoizedState)||(Cs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{o=a.lane,vo.lanes|=o,Fu|=o,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Po(e){var t=Mo(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{o=e(o,s.action),s=s.next}while(s!==a);sr(o,t.memoizedState)||(Cs=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function To(){}function Ro(e,t){var n=vo,r=Mo(),a=t(),o=!sr(r.memoizedState,a);if(o&&(r.memoizedState=a,Cs=!0),r=r.queue,Zo(Oo.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==go&&1&go.memoizedState.tag){if(n.flags|=2048,Bo(9,No.bind(null,n,r,a,t),void 0,null),null===Pu)throw Error(i(349));0!==(30&po)||Io(n,t,a)}return a}function Io(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=vo.updateQueue)?(t={lastEffect:null,stores:null},vo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function No(e,t,n,r){t.value=n,t.getSnapshot=r,jo(t)&&Fo(e)}function Oo(e,t,n){return n((function(){jo(t)&&Fo(e)}))}function jo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Fo(e){var t=_a(e,1);null!==t&&rl(t,e,1,-1)}function Vo(e){var t=Lo();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,vo,e),[t.memoizedState,e]}function Bo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=vo.updateQueue)?(t={lastEffect:null,stores:null},vo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ho(){return Mo().memoizedState}function Do(e,t,n,r){var i=Lo();vo.flags|=e,i.memoizedState=Bo(1|t,n,void 0,void 0===r?null:r)}function zo(e,t,n,r){var i=Mo();r=void 0===r?null:r;var a=void 0;if(null!==mo){var o=mo.memoizedState;if(a=o.destroy,null!==r&&ko(r,o.deps))return void(i.memoizedState=Bo(t,n,a,r))}vo.flags|=e,i.memoizedState=Bo(1|t,n,a,r)}function Uo(e,t){return Do(8390656,8,e,t)}function Zo(e,t){return zo(2048,8,e,t)}function Wo(e,t){return zo(4,2,e,t)}function Go(e,t){return zo(4,4,e,t)}function qo(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ko(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,zo(4,4,qo.bind(null,t,e),n)}function Qo(){}function Yo(e,t){var n=Mo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ko(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Jo(e,t){var n=Mo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ko(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xo(e,t,n){return 0===(21&po)?(e.baseState&&(e.baseState=!1,Cs=!0),e.memoizedState=n):(sr(n,t)||(n=vt(),vo.lanes|=n,Fu|=n,e.baseState=!0),t)}function $o(e,t){var n=Et;Et=0!==n&&4>n?n:4,e(!0);var r=ho.transition;ho.transition={};try{e(!1),t()}finally{Et=n,ho.transition=r}}function es(){return Mo().memoizedState}function ts(e,t,n){var r=nl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))is(t,n);else if(null!==(n=Aa(e,t,n,r))){rl(n,e,r,tl()),as(n,t,r)}}function ns(e,t,n){var r=nl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))is(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,o)){var u=t.interleaved;return null===u?(i.next=i,Ma(t)):(i.next=u.next,u.next=i),void(t.interleaved=i)}}catch(l){}null!==(n=Aa(e,t,i,r))&&(rl(n,e,r,i=tl()),as(n,t,r))}}function rs(e){var t=e.alternate;return e===vo||null!==t&&t===vo}function is(e,t){bo=yo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function as(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var os={readContext:Sa,useCallback:wo,useContext:wo,useEffect:wo,useImperativeHandle:wo,useInsertionEffect:wo,useLayoutEffect:wo,useMemo:wo,useReducer:wo,useRef:wo,useState:wo,useDebugValue:wo,useDeferredValue:wo,useTransition:wo,useMutableSource:wo,useSyncExternalStore:wo,useId:wo,unstable_isNewReconciler:!1},ss={readContext:Sa,useCallback:function(e,t){return Lo().memoizedState=[e,void 0===t?null:t],e},useContext:Sa,useEffect:Uo,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Do(4194308,4,qo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Do(4194308,4,e,t)},useInsertionEffect:function(e,t){return Do(4,2,e,t)},useMemo:function(e,t){var n=Lo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,vo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Lo().memoizedState=e},useState:Vo,useDebugValue:Qo,useDeferredValue:function(e){return Lo().memoizedState=e},useTransition:function(){var e=Vo(!1),t=e[0];return e=$o.bind(null,e[1]),Lo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vo,a=Lo();if(ia){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Pu)throw Error(i(349));0!==(30&po)||Io(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Uo(Oo.bind(null,r,o,e),[e]),r.flags|=2048,Bo(9,No.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Lo(),t=Pu.identifierPrefix;if(ia){var n=Ji;t=":"+t+"R"+(n=(Yi&~(1<<32-ot(Yi)-1)).toString(32)+n),0<(n=Co++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xo++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},us={readContext:Sa,useCallback:Yo,useContext:Sa,useEffect:Zo,useImperativeHandle:Ko,useInsertionEffect:Wo,useLayoutEffect:Go,useMemo:Jo,useReducer:_o,useRef:Ho,useState:function(){return _o(Ao)},useDebugValue:Qo,useDeferredValue:function(e){return Xo(Mo(),mo.memoizedState,e)},useTransition:function(){return[_o(Ao)[0],Mo().memoizedState]},useMutableSource:To,useSyncExternalStore:Ro,useId:es,unstable_isNewReconciler:!1},ls={readContext:Sa,useCallback:Yo,useContext:Sa,useEffect:Zo,useImperativeHandle:Ko,useInsertionEffect:Wo,useLayoutEffect:Go,useMemo:Jo,useReducer:Po,useRef:Ho,useState:function(){return Po(Ao)},useDebugValue:Qo,useDeferredValue:function(e){var t=Mo();return null===mo?t.memoizedState=e:Xo(t,mo.memoizedState,e)},useTransition:function(){return[Po(Ao)[0],Mo().memoizedState]},useMutableSource:To,useSyncExternalStore:Ro,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=D(r),r=r.return}while(r);var i=n}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:i,digest:null}}function fs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Ia(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wu||(Wu=!0,Gu=r),ds(0,t)},n}function vs(e,t,n){(n=Ia(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ds(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===qu?qu=new Set([this]):qu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Ll.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ia(-1,1)).tag=2,Na(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var bs=b.ReactCurrentOwner,Cs=!1;function xs(e,t,n,r){t.child=null===e?Ja(t,null,n,r):Ya(t,e.child,n,r)}function ws(e,t,n,r,i){n=n.render;var a=t.ref;return Ea(t,i),r=Eo(e,t,n,r,a,i),n=So(),null===e||Cs?(ia&&n&&ea(t),t.flags|=1,xs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function ks(e,t,n,r,i){if(null===e){var a=n.type;return"function"!==typeof a||Il(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ol(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Es(e,t,a,r,i))}if(a=e.child,0===(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(o,r)&&e.ref===t.ref)return Ws(e,t,i)}return t.flags|=1,(e=Nl(a,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(ur(a,r)&&e.ref===t.ref){if(Cs=!1,t.pendingProps=r=a,0===(e.lanes&i))return t.lanes=e.lanes,Ws(e,t,i);0!==(131072&e.flags)&&(Cs=!0)}}return Ms(e,t,n,r,i)}function Ss(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Li(Nu,Iu),Iu|=n;else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Li(Nu,Iu),Iu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Li(Nu,Iu),Iu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Li(Nu,Iu),Iu|=r;return xs(e,t,i,n),t.child}function Ls(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ms(e,t,n,r,i){var a=Ri(n)?Pi:Ai.current;return a=Ti(t,a),Ea(t,i),n=Eo(e,t,n,r,a,i),r=So(),null===e||Cs?(ia&&r&&ea(t),t.flags|=1,xs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function As(e,t,n,r,i){if(Ri(n)){var a=!0;ji(t)}else a=!1;if(Ea(t,i),null===t.stateNode)Zs(e,t),Ua(t,n,r),Wa(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var u=o.context,l=n.contextType;"object"===typeof l&&null!==l?l=Sa(l):l=Ti(t,l=Ri(n)?Pi:Ai.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;f||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==r||u!==l)&&Za(t,o,r,l),Pa=!1;var d=t.memoizedState;o.state=d,Fa(t,r,o,i),u=t.memoizedState,s!==r||d!==u||_i.current||Pa?("function"===typeof c&&(Ha(t,n,c,r),u=t.memoizedState),(s=Pa||za(t,n,s,r,d,u,l))?(f||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4194308)):("function"===typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=l,r=s):("function"===typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Ra(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ma(t.type,s),o.props=l,f=t.pendingProps,d=o.context,"object"===typeof(u=n.contextType)&&null!==u?u=Sa(u):u=Ti(t,u=Ri(n)?Pi:Ai.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==f||d!==u)&&Za(t,o,r,u),Pa=!1,d=t.memoizedState,o.state=d,Fa(t,r,o,i);var p=t.memoizedState;s!==f||d!==p||_i.current||Pa?("function"===typeof h&&(Ha(t,n,h,r),p=t.memoizedState),(l=Pa||za(t,n,l,r,d,p,u)||!1)?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,u),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,u)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=u,r=l):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return _s(e,t,n,r,a,i)}function _s(e,t,n,r,i,a){Ls(e,t);var o=0!==(128&t.flags);if(!r&&!o)return i&&Fi(t,n,!1),Ws(e,t,a);r=t.stateNode,bs.current=t;var s=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,s,a)):xs(e,t,s,a),t.memoizedState=r.state,i&&Fi(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?Ni(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ni(0,t.context,!1),ro(e,t.containerInfo)}function Ts(e,t,n,r,i){return ha(),pa(i),t.flags|=256,xs(e,t,n,r),t.child}var Rs,Is,Ns,Os,js={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vs(e,t,n){var r,a=t.pendingProps,o=so.current,s=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&o)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Li(so,1&o),null===e)return la(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,s?(a=t.mode,s=t.child,u={mode:"hidden",children:u},0===(1&a)&&null!==s?(s.childLanes=0,s.pendingProps=u):s=Fl(u,a,0,null),e=jl(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(n),t.memoizedState=js,e):Bs(t,u));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,s){if(n)return 256&t.flags?(t.flags&=-257,Hs(e,t,s,r=fs(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=Fl({mode:"visible",children:r.children},a,0,null),(o=jl(o,a,s,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!==(1&t.mode)&&Ya(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=js,o);if(0===(1&t.mode))return Hs(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Hs(e,t,s,r=fs(o=Error(i(419)),r,void 0))}if(u=0!==(s&e.childLanes),Cs||u){if(null!==(r=Pu)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|s))?0:a)&&a!==o.retryLane&&(o.retryLane=a,_a(e,a),rl(r,e,a,-1))}return ml(),Hs(e,t,s,r=fs(Error(i(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Al.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ra=li(a.nextSibling),na=t,ia=!0,aa=null,null!==e&&(qi[Ki++]=Yi,qi[Ki++]=Ji,qi[Ki++]=Qi,Yi=e.id,Ji=e.overflow,Qi=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,u,a,r,o,n);if(s){s=a.fallback,u=t.mode,r=(o=e.child).sibling;var l={mode:"hidden",children:a.children};return 0===(1&u)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=l,t.deletions=null):(a=Nl(o,l)).subtreeFlags=14680064&o.subtreeFlags,null!==r?s=Nl(r,s):(s=jl(s,u,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,u=null===(u=e.child.memoizedState)?Fs(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=js,a}return e=(s=e.child).sibling,a=Nl(s,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Bs(e,t){return(t=Fl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Hs(e,t,n,r){return null!==r&&pa(r),Ya(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ds(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ka(e.return,t,n)}function zs(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Us(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(xs(e,t,r.children,n),0!==(2&(r=so.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ds(e,n,t);else if(19===e.tag)Ds(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Li(so,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===uo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zs(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===uo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zs(t,!0,n,null,a);break;case"together":zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Nl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Nl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!ia)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ks(e,t,n){var r=t.pendingProps;switch(ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return Ri(t.type)&&Ii(),qs(t),null;case 3:return r=t.stateNode,io(),Si(_i),Si(Ai),co(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==aa&&(sl(aa),aa=null))),Is(e,t),qs(t),null;case 5:oo(t);var a=no(to.current);if(n=t.type,null!==e&&null!=t.stateNode)Ns(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return qs(t),null}if(e=no($a.current),fa(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[di]=t,r[hi]=s,e=0!==(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(a=0;a<Or.length;a++)Br(Or[a],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Y(r,s),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Br("invalid",r);break;case"textarea":ae(r,s),Br("invalid",r)}for(var u in ye(n,s),a=null,s)if(s.hasOwnProperty(u)){var l=s[u];"children"===u?"string"===typeof l?r.textContent!==l&&(!0!==s.suppressHydrationWarning&&Xr(r.textContent,l,e),a=["children",l]):"number"===typeof l&&r.textContent!==""+l&&(!0!==s.suppressHydrationWarning&&Xr(r.textContent,l,e),a=["children",""+l]):o.hasOwnProperty(u)&&null!=l&&"onScroll"===u&&Br("scroll",r)}switch(n){case"input":G(r),$(r,s,!0);break;case"textarea":G(r),se(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=$r)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ue(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[di]=t,e[hi]=r,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Br("cancel",e),Br("close",e),a=r;break;case"iframe":case"object":case"embed":Br("load",e),a=r;break;case"video":case"audio":for(a=0;a<Or.length;a++)Br(Or[a],e);a=r;break;case"source":Br("error",e),a=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),a=r;break;case"details":Br("toggle",e),a=r;break;case"input":Y(e,r),a=Q(e,r),Br("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=F({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ae(e,r),a=ie(e,r),Br("invalid",e)}for(s in ye(n,a),l=a)if(l.hasOwnProperty(s)){var c=l[s];"style"===s?me(e,c):"dangerouslySetInnerHTML"===s?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===s?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(o.hasOwnProperty(s)?null!=c&&"onScroll"===s&&Br("scroll",e):null!=c&&y(e,s,c,u))}switch(n){case"input":G(e),$(e,r,!1);break;case"textarea":G(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Z(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?re(e,!!r.multiple,s,!1):null!=r.defaultValue&&re(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=$r)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qs(t),null;case 6:if(e&&null!=t.stateNode)Os(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=no(to.current),no($a.current),fa(t)){if(r=t.stateNode,n=t.memoizedProps,r[di]=t,(s=r.nodeValue!==n)&&null!==(e=na))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}s&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[di]=t,t.stateNode=r}return qs(t),null;case 13:if(Si(so),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==ra&&0!==(1&t.mode)&&0===(128&t.flags))da(),ha(),t.flags|=98560,s=!1;else if(s=fa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!s)throw Error(i(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(i(317));s[di]=t}else ha(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),s=!1}else null!==aa&&(sl(aa),aa=null),s=!0;if(!s)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&so.current)?0===Ou&&(Ou=3):ml())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return io(),Is(e,t),null===e&&zr(t.stateNode.containerInfo),qs(t),null;case 10:return wa(t.type._context),qs(t),null;case 19:if(Si(so),null===(s=t.memoizedState))return qs(t),null;if(r=0!==(128&t.flags),null===(u=s.rendering))if(r)Gs(s,!1);else{if(0!==Ou||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=uo(e))){for(t.flags|=128,Gs(s,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=14680066,null===(u=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=u.childLanes,s.lanes=u.lanes,s.child=u.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=u.memoizedProps,s.memoizedState=u.memoizedState,s.updateQueue=u.updateQueue,s.type=u.type,e=u.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Li(so,1&so.current|2),t.child}e=e.sibling}null!==s.tail&&Je()>Uu&&(t.flags|=128,r=!0,Gs(s,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=uo(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(s,!0),null===s.tail&&"hidden"===s.tailMode&&!u.alternate&&!ia)return qs(t),null}else 2*Je()-s.renderingStartTime>Uu&&1073741824!==n&&(t.flags|=128,r=!0,Gs(s,!1),t.lanes=4194304);s.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=s.last)?n.sibling=u:t.child=u,s.last=u)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Je(),t.sibling=null,n=so.current,Li(so,r?1&n|2:1&n),t):(qs(t),null);case 22:case 23:return dl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Iu)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Qs(e,t){switch(ta(t),t.tag){case 1:return Ri(t.type)&&Ii(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return io(),Si(_i),Si(Ai),co(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oo(t),null;case 13:if(Si(so),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Si(so),null;case 4:return io(),null;case 10:return wa(t.type._context),null;case 22:case 23:return dl(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Is=function(){},Ns=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,no($a.current);var a,s=null;switch(n){case"input":i=Q(e,i),r=Q(e,r),s=[];break;case"select":i=F({},i,{value:void 0}),r=F({},r,{value:void 0}),s=[];break;case"textarea":i=ie(e,i),r=ie(e,r),s=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=$r)}for(c in ye(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var u=i[c];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in r){var l=r[c];if(u=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&l!==u&&(null!=l||null!=u))if("style"===c)if(u){for(a in u)!u.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&u[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(s||(s=[]),s.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(s=s||[]).push(c,l)):"children"===c?"string"!==typeof l&&"number"!==typeof l||(s=s||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&Br("scroll",e),s||u===l||(s=[])):(s=s||[]).push(c,l))}n&&(s=s||[]).push("style",n);var c=s;(t.updateQueue=c)&&(t.flags|=4)}},Os=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Js=!1,Xs="function"===typeof WeakSet?WeakSet:Set,$s=null;function eu(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Sl(e,t,r)}else n.current=null}function tu(e,t,n){try{n()}catch(r){Sl(e,t,r)}}var nu=!1;function ru(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&tu(t,n,a)}i=i.next}while(i!==r)}}function iu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function au(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[hi],delete t[vi],delete t[mi],delete t[gi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function su(e){return 5===e.tag||3===e.tag||4===e.tag}function uu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||su(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function lu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=$r));else if(4!==r&&null!==(e=e.child))for(lu(e,t,n),e=e.sibling;null!==e;)lu(e,t,n),e=e.sibling}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var fu=null,du=!1;function hu(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(it,n)}catch(s){}switch(n.tag){case 5:Js||eu(n,t);case 6:var r=fu,i=du;fu=null,hu(e,t,n),du=i,null!==(fu=r)&&(du?(e=fu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fu.removeChild(n.stateNode));break;case 18:null!==fu&&(du?(e=fu,n=n.stateNode,8===e.nodeType?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),zt(e)):ui(fu,n.stateNode));break;case 4:r=fu,i=du,fu=n.stateNode.containerInfo,du=!0,hu(e,t,n),fu=r,du=i;break;case 0:case 11:case 14:case 15:if(!Js&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(0!==(2&a)||0!==(4&a))&&tu(n,t,o),i=i.next}while(i!==r)}hu(e,t,n);break;case 1:if(!Js&&(eu(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Sl(n,t,s)}hu(e,t,n);break;case 21:hu(e,t,n);break;case 22:1&n.mode?(Js=(r=Js)||null!==n.memoizedState,hu(e,t,n),Js=r):hu(e,t,n);break;default:hu(e,t,n)}}function vu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=_l.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var o=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:fu=u.stateNode,du=!1;break e;case 3:case 4:fu=u.stateNode.containerInfo,du=!0;break e}u=u.return}if(null===fu)throw Error(i(160));pu(o,s,a),fu=null,du=!1;var l=a.alternate;null!==l&&(l.return=null),a.return=null}catch(c){Sl(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gu(t,e),t=t.sibling}function gu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),yu(e),4&r){try{ru(3,e,e.return),iu(3,e)}catch(m){Sl(e,e.return,m)}try{ru(5,e,e.return)}catch(m){Sl(e,e.return,m)}}break;case 1:mu(t,e),yu(e),512&r&&null!==n&&eu(n,n.return);break;case 5:if(mu(t,e),yu(e),512&r&&null!==n&&eu(n,n.return),32&e.flags){var a=e.stateNode;try{de(a,"")}catch(m){Sl(e,e.return,m)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,s=null!==n?n.memoizedProps:o,u=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===u&&"radio"===o.type&&null!=o.name&&J(a,o),be(u,s);var c=be(u,o);for(s=0;s<l.length;s+=2){var f=l[s],d=l[s+1];"style"===f?me(a,d):"dangerouslySetInnerHTML"===f?fe(a,d):"children"===f?de(a,d):y(a,f,d,c)}switch(u){case"input":X(a,o);break;case"textarea":oe(a,o);break;case"select":var h=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var p=o.value;null!=p?re(a,!!o.multiple,p,!1):h!==!!o.multiple&&(null!=o.defaultValue?re(a,!!o.multiple,o.defaultValue,!0):re(a,!!o.multiple,o.multiple?[]:"",!1))}a[hi]=o}catch(m){Sl(e,e.return,m)}}break;case 6:if(mu(t,e),yu(e),4&r){if(null===e.stateNode)throw Error(i(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(m){Sl(e,e.return,m)}}break;case 3:if(mu(t,e),yu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{zt(t.containerInfo)}catch(m){Sl(e,e.return,m)}break;case 4:default:mu(t,e),yu(e);break;case 13:mu(t,e),yu(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,!o||null!==a.alternate&&null!==a.alternate.memoizedState||(zu=Je())),4&r&&vu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Js=(c=Js)||f,mu(t,e),Js=c):mu(t,e),yu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for($s=e,f=e.child;null!==f;){for(d=$s=f;null!==$s;){switch(p=(h=$s).child,h.tag){case 0:case 11:case 14:case 15:ru(4,h,h.return);break;case 1:eu(h,h.return);var v=h.stateNode;if("function"===typeof v.componentWillUnmount){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Sl(r,n,m)}}break;case 5:eu(h,h.return);break;case 22:if(null!==h.memoizedState){wu(d);continue}}null!==p?(p.return=h,$s=p):wu(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{a=d.stateNode,c?"function"===typeof(o=a.style).setProperty?o.setProperty("display","none","important"):o.display="none":(u=d.stateNode,s=void 0!==(l=d.memoizedProps.style)&&null!==l&&l.hasOwnProperty("display")?l.display:null,u.style.display=ve("display",s))}catch(m){Sl(e,e.return,m)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(m){Sl(e,e.return,m)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mu(t,e),yu(e),4&r&&vu(e);case 21:}}function yu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(su(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(de(a,""),r.flags&=-33),cu(e,uu(e),a);break;case 3:case 4:var o=r.stateNode.containerInfo;lu(e,uu(e),o);break;default:throw Error(i(161))}}catch(s){Sl(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bu(e,t,n){$s=e,Cu(e,t,n)}function Cu(e,t,n){for(var r=0!==(1&e.mode);null!==$s;){var i=$s,a=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||Ys;if(!o){var s=i.alternate,u=null!==s&&null!==s.memoizedState||Js;s=Ys;var l=Js;if(Ys=o,(Js=u)&&!l)for($s=i;null!==$s;)u=(o=$s).child,22===o.tag&&null!==o.memoizedState?ku(i):null!==u?(u.return=o,$s=u):ku(i);for(;null!==a;)$s=a,Cu(a,t,n),a=a.sibling;$s=i,Ys=s,Js=l}xu(e)}else 0!==(8772&i.subtreeFlags)&&null!==a?(a.return=i,$s=a):xu(e)}}function xu(e){for(;null!==$s;){var t=$s;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Js||iu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Js)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ma(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Va(t,o,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Va(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&zt(d)}}}break;default:throw Error(i(163))}Js||512&t.flags&&au(t)}catch(h){Sl(t,t.return,h)}}if(t===e){$s=null;break}if(null!==(n=t.sibling)){n.return=t.return,$s=n;break}$s=t.return}}function wu(e){for(;null!==$s;){var t=$s;if(t===e){$s=null;break}var n=t.sibling;if(null!==n){n.return=t.return,$s=n;break}$s=t.return}}function ku(e){for(;null!==$s;){var t=$s;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iu(4,t)}catch(u){Sl(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(u){Sl(t,i,u)}}var a=t.return;try{au(t)}catch(u){Sl(t,a,u)}break;case 5:var o=t.return;try{au(t)}catch(u){Sl(t,o,u)}}}catch(u){Sl(t,t.return,u)}if(t===e){$s=null;break}var s=t.sibling;if(null!==s){s.return=t.return,$s=s;break}$s=t.return}}var Eu,Su=Math.ceil,Lu=b.ReactCurrentDispatcher,Mu=b.ReactCurrentOwner,Au=b.ReactCurrentBatchConfig,_u=0,Pu=null,Tu=null,Ru=0,Iu=0,Nu=Ei(0),Ou=0,ju=null,Fu=0,Vu=0,Bu=0,Hu=null,Du=null,zu=0,Uu=1/0,Zu=null,Wu=!1,Gu=null,qu=null,Ku=!1,Qu=null,Yu=0,Ju=0,Xu=null,$u=-1,el=0;function tl(){return 0!==(6&_u)?Je():-1!==$u?$u:$u=Je()}function nl(e){return 0===(1&e.mode)?1:0!==(2&_u)&&0!==Ru?Ru&-Ru:null!==va.transition?(0===el&&(el=vt()),el):0!==(e=Et)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function rl(e,t,n,r){if(50<Ju)throw Ju=0,Xu=null,Error(i(185));gt(e,n,r),0!==(2&_u)&&e===Pu||(e===Pu&&(0===(2&_u)&&(Vu|=n),4===Ou&&ul(e,Ru)),il(e,r),1===n&&0===_u&&0===(1&t.mode)&&(Uu=Je()+500,Bi&&zi()))}function il(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-ot(a),s=1<<o,u=i[o];-1===u?0!==(s&n)&&0===(s&r)||(i[o]=ht(s,t)):u<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=dt(e,e===Pu?Ru:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Bi=!0,Di(e)}(ll.bind(null,e)):Di(ll.bind(null,e)),oi((function(){0===(6&_u)&&zi()})),n=null;else{switch(St(r)){case 1:n=$e;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Pl(n,al.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function al(e,t){if($u=-1,el=0,0!==(6&_u))throw Error(i(327));var n=e.callbackNode;if(kl()&&e.callbackNode!==n)return null;var r=dt(e,e===Pu?Ru:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gl(e,r);else{t=r;var a=_u;_u|=2;var o=vl();for(Pu===e&&Ru===t||(Zu=null,Uu=Je()+500,hl(e,t));;)try{bl();break}catch(u){pl(e,u)}xa(),Lu.current=o,_u=a,null!==Tu?t=0:(Pu=null,Ru=0,t=Ou)}if(0!==t){if(2===t&&(0!==(a=pt(e))&&(r=a,t=ol(e,a))),1===t)throw n=ju,hl(e,0),ul(e,r),il(e,Je()),n;if(6===t)ul(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!sr(a(),i))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=gl(e,r))&&(0!==(o=pt(e))&&(r=o,t=ol(e,o))),1===t))throw n=ju,hl(e,0),ul(e,r),il(e,Je()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wl(e,Du,Zu);break;case 3:if(ul(e,r),(130023424&r)===r&&10<(t=zu+500-Je())){if(0!==dt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ri(wl.bind(null,e,Du,Zu),t);break}wl(e,Du,Zu);break;case 4:if(ul(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-ot(r);o=1<<s,(s=t[s])>a&&(a=s),r&=~o}if(r=a,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Su(r/1960))-r)){e.timeoutHandle=ri(wl.bind(null,e,Du,Zu),r);break}wl(e,Du,Zu);break;default:throw Error(i(329))}}}return il(e,Je()),e.callbackNode===n?al.bind(null,e):null}function ol(e,t){var n=Hu;return e.current.memoizedState.isDehydrated&&(hl(e,t).flags|=256),2!==(e=gl(e,t))&&(t=Du,Du=n,null!==t&&sl(t)),e}function sl(e){null===Du?Du=e:Du.push.apply(Du,e)}function ul(e,t){for(t&=~Bu,t&=~Vu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function ll(e){if(0!==(6&_u))throw Error(i(327));kl();var t=dt(e,0);if(0===(1&t))return il(e,Je()),null;var n=gl(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ol(e,r))}if(1===n)throw n=ju,hl(e,0),ul(e,t),il(e,Je()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wl(e,Du,Zu),il(e,Je()),null}function cl(e,t){var n=_u;_u|=1;try{return e(t)}finally{0===(_u=n)&&(Uu=Je()+500,Bi&&zi())}}function fl(e){null!==Qu&&0===Qu.tag&&0===(6&_u)&&kl();var t=_u;_u|=1;var n=Au.transition,r=Et;try{if(Au.transition=null,Et=1,e)return e()}finally{Et=r,Au.transition=n,0===(6&(_u=t))&&zi()}}function dl(){Iu=Nu.current,Si(Nu)}function hl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Tu)for(n=Tu.return;null!==n;){var r=n;switch(ta(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ii();break;case 3:io(),Si(_i),Si(Ai),co();break;case 5:oo(r);break;case 4:io();break;case 13:case 19:Si(so);break;case 10:wa(r.type._context);break;case 22:case 23:dl()}n=n.return}if(Pu=e,Tu=e=Nl(e.current,null),Ru=Iu=t,Ou=0,ju=null,Bu=Vu=Fu=0,Du=Hu=null,null!==La){for(t=0;t<La.length;t++)if(null!==(r=(n=La[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}La=null}return e}function pl(e,t){for(;;){var n=Tu;try{if(xa(),fo.current=os,yo){for(var r=vo.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}yo=!1}if(po=0,go=mo=vo=null,bo=!1,Co=0,Mu.current=null,null===n||null===n.return){Ou=1,ju=t,Tu=null;break}e:{var o=e,s=n.return,u=n,l=t;if(t=Ru,u.flags|=32768,null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=l,f=u,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,ys(p,s,u,0,t),1&p.mode&&ms(o,c,t),l=c;var v=(t=p).updateQueue;if(null===v){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}if(0===(1&t)){ms(o,c,t),ml();break e}l=Error(i(426))}else if(ia&&1&u.mode){var g=gs(s);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),ys(g,s,u,0,t),pa(cs(l,u));break e}}o=l=cs(l,u),4!==Ou&&(Ou=2),null===Hu?Hu=[o]:Hu.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,ja(o,ps(0,l,t));break e;case 1:u=l;var y=o.type,b=o.stateNode;if(0===(128&o.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===qu||!qu.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t,ja(o,vs(o,u,t));break e}}o=o.return}while(null!==o)}xl(n)}catch(C){t=C,Tu===n&&null!==n&&(Tu=n=n.return);continue}break}}function vl(){var e=Lu.current;return Lu.current=os,null===e?os:e}function ml(){0!==Ou&&3!==Ou&&2!==Ou||(Ou=4),null===Pu||0===(268435455&Fu)&&0===(268435455&Vu)||ul(Pu,Ru)}function gl(e,t){var n=_u;_u|=2;var r=vl();for(Pu===e&&Ru===t||(Zu=null,hl(e,t));;)try{yl();break}catch(a){pl(e,a)}if(xa(),_u=n,Lu.current=r,null!==Tu)throw Error(i(261));return Pu=null,Ru=0,Ou}function yl(){for(;null!==Tu;)Cl(Tu)}function bl(){for(;null!==Tu&&!Qe();)Cl(Tu)}function Cl(e){var t=Eu(e.alternate,e,Iu);e.memoizedProps=e.pendingProps,null===t?xl(e):Tu=t,Mu.current=null}function xl(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ks(n,t,Iu)))return void(Tu=n)}else{if(null!==(n=Qs(n,t)))return n.flags&=32767,void(Tu=n);if(null===e)return Ou=6,void(Tu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Tu=t);Tu=t=e}while(null!==t);0===Ou&&(Ou=5)}function wl(e,t,n){var r=Et,a=Au.transition;try{Au.transition=null,Et=1,function(e,t,n,r){do{kl()}while(null!==Qu);if(0!==(6&_u))throw Error(i(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ot(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,o),e===Pu&&(Tu=Pu=null,Ru=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Ku||(Ku=!0,Pl(tt,(function(){return kl(),null}))),o=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||o){o=Au.transition,Au.transition=null;var s=Et;Et=1;var u=_u;_u|=4,Mu.current=null,function(e,t){if(ei=Zt,hr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(x){n=null;break e}var s=0,u=-1,l=-1,c=0,f=0,d=e,h=null;t:for(;;){for(var p;d!==n||0!==a&&3!==d.nodeType||(u=s+a),d!==o||0!==r&&3!==d.nodeType||(l=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(p=d.firstChild);)h=d,d=p;for(;;){if(d===e)break t;if(h===n&&++c===a&&(u=s),h===o&&++f===r&&(l=s),null!==(p=d.nextSibling))break;h=(d=h).parentNode}d=p}n=-1===u||-1===l?null:{start:u,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Zt=!1,$s=t;null!==$s;)if(e=(t=$s).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,$s=e;else for(;null!==$s;){t=$s;try{var v=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:ma(t.type,m),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var C=t.stateNode.containerInfo;1===C.nodeType?C.textContent="":9===C.nodeType&&C.documentElement&&C.removeChild(C.documentElement);break;default:throw Error(i(163))}}catch(x){Sl(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,$s=e;break}$s=t.return}v=nu,nu=!1}(e,n),gu(n,e),pr(ti),Zt=!!ei,ti=ei=null,e.current=n,bu(n,e,a),Ye(),_u=u,Et=s,Au.transition=o}else e.current=n;if(Ku&&(Ku=!1,Qu=e,Yu=a),o=e.pendingLanes,0===o&&(qu=null),function(e){if(at&&"function"===typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),il(e,Je()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Wu)throw Wu=!1,e=Gu,Gu=null,e;0!==(1&Yu)&&0!==e.tag&&kl(),o=e.pendingLanes,0!==(1&o)?e===Xu?Ju++:(Ju=0,Xu=e):Ju=0,zi()}(e,t,n,r)}finally{Au.transition=a,Et=r}return null}function kl(){if(null!==Qu){var e=St(Yu),t=Au.transition,n=Et;try{if(Au.transition=null,Et=16>e?16:e,null===Qu)var r=!1;else{if(e=Qu,Qu=null,Yu=0,0!==(6&_u))throw Error(i(331));var a=_u;for(_u|=4,$s=e.current;null!==$s;){var o=$s,s=o.child;if(0!==(16&$s.flags)){var u=o.deletions;if(null!==u){for(var l=0;l<u.length;l++){var c=u[l];for($s=c;null!==$s;){var f=$s;switch(f.tag){case 0:case 11:case 15:ru(8,f,o)}var d=f.child;if(null!==d)d.return=f,$s=d;else for(;null!==$s;){var h=(f=$s).sibling,p=f.return;if(ou(f),f===c){$s=null;break}if(null!==h){h.return=p,$s=h;break}$s=p}}}var v=o.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}$s=o}}if(0!==(2064&o.subtreeFlags)&&null!==s)s.return=o,$s=s;else e:for(;null!==$s;){if(0!==(2048&(o=$s).flags))switch(o.tag){case 0:case 11:case 15:ru(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,$s=y;break e}$s=o.return}}var b=e.current;for($s=b;null!==$s;){var C=(s=$s).child;if(0!==(2064&s.subtreeFlags)&&null!==C)C.return=s,$s=C;else e:for(s=b;null!==$s;){if(0!==(2048&(u=$s).flags))try{switch(u.tag){case 0:case 11:case 15:iu(9,u)}}catch(w){Sl(u,u.return,w)}if(u===s){$s=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,$s=x;break e}$s=u.return}}if(_u=a,zi(),at&&"function"===typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(it,e)}catch(w){}r=!0}return r}finally{Et=n,Au.transition=t}}return!1}function El(e,t,n){e=Na(e,t=ps(0,t=cs(n,t),1),1),t=tl(),null!==e&&(gt(e,1,t),il(e,t))}function Sl(e,t,n){if(3===e.tag)El(e,e,n);else for(;null!==t;){if(3===t.tag){El(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===qu||!qu.has(r))){t=Na(t,e=vs(t,e=cs(n,e),1),1),e=tl(),null!==t&&(gt(t,1,e),il(t,e));break}}t=t.return}}function Ll(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tl(),e.pingedLanes|=e.suspendedLanes&n,Pu===e&&(Ru&n)===n&&(4===Ou||3===Ou&&(130023424&Ru)===Ru&&500>Je()-zu?hl(e,0):Bu|=n),il(e,t)}function Ml(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tl();null!==(e=_a(e,t))&&(gt(e,t,n),il(e,n))}function Al(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ml(e,n)}function _l(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Ml(e,n)}function Pl(e,t){return qe(e,t)}function Tl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rl(e,t,n,r){return new Tl(e,t,n,r)}function Il(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nl(e,t){var n=e.alternate;return null===n?((n=Rl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ol(e,t,n,r,a,o){var s=2;if(r=e,"function"===typeof e)Il(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case w:return jl(n.children,a,o,t);case k:s=8,a|=8;break;case E:return(e=Rl(12,n,t,2|a)).elementType=E,e.lanes=o,e;case A:return(e=Rl(13,n,t,a)).elementType=A,e.lanes=o,e;case _:return(e=Rl(19,n,t,a)).elementType=_,e.lanes=o,e;case R:return Fl(n,a,o,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case L:s=9;break e;case M:s=11;break e;case P:s=14;break e;case T:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Rl(s,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function jl(e,t,n,r){return(e=Rl(7,e,r,t)).lanes=n,e}function Fl(e,t,n,r){return(e=Rl(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Vl(e,t,n){return(e=Rl(6,e,null,t)).lanes=n,e}function Bl(e,t,n){return(t=Rl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hl(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Dl(e,t,n,r,i,a,o,s,u){return e=new Hl(e,t,n,s,u),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Rl(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ta(a),e}function zl(e){if(!e)return Mi;e:{if(ze(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ri(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ri(n))return Oi(e,n,t)}return t}function Ul(e,t,n,r,i,a,o,s,u){return(e=Dl(n,r,!0,e,0,a,0,s,u)).context=zl(null),n=e.current,(a=Ia(r=tl(),i=nl(n))).callback=void 0!==t&&null!==t?t:null,Na(n,a,i),e.current.lanes=i,gt(e,i,r),il(e,r),e}function Zl(e,t,n,r){var i=t.current,a=tl(),o=nl(i);return n=zl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ia(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Na(i,t,o))&&(rl(e,i,o,a),Oa(e,i,o)),o}function Wl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ql(e,t){Gl(e,t),(e=e.alternate)&&Gl(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||_i.current)Cs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return Cs=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),ha();break;case 5:ao(t);break;case 1:Ri(t.type)&&ji(t);break;case 4:ro(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Li(ga,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Li(so,1&so.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Vs(e,t,n):(Li(so,1&so.current),null!==(e=Ws(e,t,n))?e.sibling:null);Li(so,1&so.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Us(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Li(so,so.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return Ws(e,t,n)}(e,t,n);Cs=0!==(131072&e.flags)}else Cs=!1,ia&&0!==(1048576&t.flags)&&$i(t,Gi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zs(e,t),e=t.pendingProps;var a=Ti(t,Ai.current);Ea(t,n),a=Eo(null,t,r,e,a,n);var o=So();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ri(r)?(o=!0,ji(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ta(t),a.updater=Da,t.stateNode=a,a._reactInternals=t,Wa(t,r,e,n),t=_s(null,t,r,!0,o,n)):(t.tag=0,ia&&o&&ea(t),xs(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zs(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Il(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===M)return 11;if(e===P)return 14}return 2}(r),e=ma(r,e),a){case 0:t=Ms(null,t,r,e,n);break e;case 1:t=As(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=ks(null,t,r,ma(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ms(e,t,r,a=t.elementType===r?a:ma(r,a),n);case 1:return r=t.type,a=t.pendingProps,As(e,t,r,a=t.elementType===r?a:ma(r,a),n);case 3:e:{if(Ps(t),null===e)throw Error(i(387));r=t.pendingProps,a=(o=t.memoizedState).element,Ra(e,t),Fa(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ts(e,t,r,n,a=cs(Error(i(423)),t));break e}if(r!==a){t=Ts(e,t,r,n,a=cs(Error(i(424)),t));break e}for(ra=li(t.stateNode.containerInfo.firstChild),na=t,ia=!0,aa=null,n=Ja(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===a){t=Ws(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return ao(t),null===e&&la(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,s=a.children,ni(r,a)?s=null:null!==o&&ni(r,o)&&(t.flags|=32),Ls(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&la(t),null;case 13:return Vs(e,t,n);case 4:return ro(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ya(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ws(e,t,r,a=t.elementType===r?a:ma(r,a),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,Li(ga,r._currentValue),r._currentValue=s,null!==o)if(sr(o.value,s)){if(o.children===a.children&&!_i.current){t=Ws(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var u=o.dependencies;if(null!==u){s=o.child;for(var l=u.firstContext;null!==l;){if(l.context===r){if(1===o.tag){(l=Ia(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),ka(o.return,n,t),u.lanes|=n;break}l=l.next}}else if(10===o.tag)s=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(s=o.return))throw Error(i(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),ka(s,n,t),s=o.sibling}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===t){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}xs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Ea(t,n),r=r(a=Sa(a)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return a=ma(r=t.type,t.pendingProps),ks(e,t,r,a=ma(r.type,a),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ma(r,a),Zs(e,t),t.tag=1,Ri(r)?(e=!0,ji(t)):e=!1,Ea(t,n),Ua(t,r,a),Wa(t,r,a,n),_s(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return Ss(e,t,n)}throw Error(i(156,t.tag))};var Kl="function"===typeof reportError?reportError:function(e){console.error(e)};function Ql(e){this._internalRoot=e}function Yl(e){this._internalRoot=e}function Jl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $l(){}function ec(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if("function"===typeof i){var s=i;i=function(){var e=Wl(o);s.call(e)}}Zl(t,o,e,i)}else o=function(e,t,n,r,i){if(i){if("function"===typeof r){var a=r;r=function(){var e=Wl(o);a.call(e)}}var o=Ul(t,r,e,0,null,!1,0,"",$l);return e._reactRootContainer=o,e[pi]=o.current,zr(8===e.nodeType?e.parentNode:e),fl(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var s=r;r=function(){var e=Wl(u);s.call(e)}}var u=Dl(e,0,!1,null,0,!1,0,"",$l);return e._reactRootContainer=u,e[pi]=u.current,zr(8===e.nodeType?e.parentNode:e),fl((function(){Zl(t,u,n,r)})),u}(n,t,e,i,r);return Wl(o)}Yl.prototype.render=Ql.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Zl(e,t,null,null)},Yl.prototype.unmount=Ql.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fl((function(){Zl(null,e,null,null)})),t[pi]=null}},Yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=wt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&0!==t&&t<It[n].priority;n++);It.splice(n,0,e),0===n&&Ft(e)}},bt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(yt(t,1|n),il(t,Je()),0===(6&_u)&&(Uu=Je()+500,zi()))}break;case 13:fl((function(){var t=_a(e,1);if(null!==t){var n=tl();rl(t,e,1,n)}})),ql(e,1)}},Ct=function(e){if(13===e.tag){var t=_a(e,134217728);if(null!==t)rl(t,e,134217728,tl());ql(e,134217728)}},xt=function(e){if(13===e.tag){var t=nl(e),n=_a(e,t);if(null!==n)rl(n,e,t,tl());ql(e,t)}},wt=function(){return Et},kt=function(e,t){var n=Et;try{return Et=e,t()}finally{Et=n}},we=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=xi(r);if(!a)throw Error(i(90));q(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&re(e,!!n.multiple,t,!1)}},Ae=cl,_e=fl;var tc,nc={usingClientEntryPoint:!1,Events:[bi,Ci,xi,Le,Me,cl]},rc={findFiberByHostInstance:yi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ic={bundleType:rc.bundleType,version:rc.version,rendererPackageName:rc.rendererPackageName,rendererConfig:rc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:rc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&!(tc=__REACT_DEVTOOLS_GLOBAL_HOOK__).isDisabled&&tc.supportsFiber)try{it=tc.inject(ic),at=tc}catch(ce){}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nc,e.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Jl(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},e.createRoot=function(e,t){if(!Jl(e))throw Error(i(299));var n=!1,r="",a=Kl;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Dl(e,1,!1,null,0,n,0,r,a),e[pi]=t.current,zr(8===e.nodeType?e.parentNode:e),new Ql(t)},e.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},e.flushSync=function(e){return fl(e)},e.hydrate=function(e,t,n){if(!Xl(t))throw Error(i(200));return ec(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!Jl(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,a=!1,o="",s=Kl;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Ul(t,null,e,1,null!=n?n:null,a,0,o,s),e[pi]=t.current,zr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Yl(t)},e.render=function(e,t,n){if(!Xl(t))throw Error(i(200));return ec(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!Xl(e))throw Error(i(40));return!!e._reactRootContainer&&(fl((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[pi]=null}))})),!0)},e.unstable_batchedUpdates=cl,e.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xl(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},e.version="18.2.0-next-9e3b772b8-20220608"}}),j=(_({"../../node_modules/react-dom/cjs/react-dom.development.js":function(e){0}}),_({"../../node_modules/react-dom/index.js":function(e,t){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),t.exports=O()}})),F={};!function(e,t){for(var n in t)m(e,n,{get:t[n],enumerable:!0})}(F,{AppHeaderBar:function(){return Xs},BUTTON_SIZES:function(){return st},Badge:function(){return wo},BaseClickable:function(){return lt},BiomeCombinedProviders:function(){return io},BiomePopoverProvider:function(){return ga},BiomeThemeProvider:function(){return Za},BiomeTooltipProvider:function(){return Ga},BiomeWindowSizeProvider:function(){return Xa},Body:function(){return Ao},Box:function(){return Ke},ButtCon:function(){return Pi},Button:function(){return Ai},Caption:function(){return To},Checkbox:function(){return iu},CloudImage:function(){return Xo},DARK_ON_LIGHT_DEFAULT_IMAGE:function(){return Go},DEFAULT_RESIZE_DEBOUNCE_TIME:function(){return no},Divider:function(){return hu},EllipsizedText:function(){return Ho},FormControl:function(){return nl},Heading:function(){return Fo},HorizontalMenu:function(){return wl},Icon:function(){return ir},LIGHT_ON_DARK_DEFAULT_IMAGE:function(){return qo},Link:function(){return zi},Logo:function(){return Ei},MenuItem:function(){return Ds},MountedPopoverOverlayAndProvider:function(){return Fa},MountedTooltipOverlayAndProvider:function(){return Ya},Option:function(){return Wl},OverflowPopoverVerticalMenu:function(){return Gs},Pagination:function(){return Ol},PasscodeInput:function(){return zl},Popover:function(){return co},PopoverOverlay:function(){return Aa},PriceDisplay:function(){return ns},Radio:function(){return xu},Select:function(){return Jl},SetWindowSize:function(){return to},SmartClone:function(){return $e},SvgIcon:function(){return gt},Tabs:function(){return pc},TextInput:function(){return Bu},Toggle:function(){return Wu},TooltipOverlay:function(){return Ta},VerticalMenu:function(){return Zs},base64UrlDecode:function(){return ze},base64UrlEncode:function(){return De},checkForElementChildType:function(){return fe},cloneElementWithCssProp:function(){return Ie},createFastContext:function(){return Ve},getSubcomponentChild:function(){return he},hexToRgb:function(){return Se},hexToRgbString:function(){return Le},hexToRgbaString:function(){return Me},hexWithAlphaToRgbaString:function(){return Ae},imageUrlChecks:function(){return te},isButton:function(){return ot},isChildReactComponent:function(){return Oe},isChildSubcomponent:function(){return de},isNextLink:function(){return it},isPlainLink:function(){return at},isReactFragment:function(){return Ne},isRuntimeInsideNodeServer:function(){return Be},isTouchDevice:function(){return He},prettyFormatNumber:function(){return Ue},rgbaToHex:function(){return _e},setDefaultSxTextColor:function(){return Pe},shortHandCssRuleMapping:function(){return G},useBrowserLayoutEffect:function(){return H},useClientSide:function(){return z},useConvertSxToEmotionStyles:function(){return $},useDetectBadImage:function(){return ne},useDetectSvgImage:function(){return ie},useEventListener:function(){return oe},useForwardLocalDomRef:function(){return ue},useGetSubcomponentChild:function(){return pe},useGetSubcomponentChildren:function(){return me},useHover:function(){return ye},useOnClickOutside:function(){return Ce},usePopoverStore:function(){return ya},useResizeObserver:function(){return ke},useSplitApartChildrenAndSubComponents:function(){return Ze},useTheme:function(){return X},useTooltipStore:function(){return qa},useWindowSizeStore:function(){return $a}}),e.exports=(o=F,P(m({},"__esModule",{value:!0}),o));var V=T(n(3681)),B=n(5535),H="undefined"!==typeof window?B.useLayoutEffect:function(){},D=n(5535),z=function(){var e=(0,D.useState)(!1),t=h(e,2),n=t[0],r=t[1];return(0,D.useEffect)((function(){r(!0)}),[]),{isClientSide:n}},U=T(n(3681)),Z=n(8374),W=T(n(3681)),G={c:"color",d:"display",f:"flex",o:"order",pos:"position",m:"margin",mt:"marginTop",mb:"marginBottom",ml:"marginLeft",mr:"marginRight",mx:"marginX",marginX:"marginX",marginY:"marginY",my:"marginY",p:"padding",pt:"paddingTop",pb:"paddingBottom",pr:"paddingRight",pl:"paddingLeft",px:"paddingX",paddingX:"paddingX",py:"paddingY",paddingY:"paddingY",w:"width",maxw:"maxWidth",minw:"minWidth",h:"height",minh:"minHeight",maxh:"maxHeight",bgc:"backgroundColor",bgi:"backgroundImage",bg:"background",b:"border",bl:"borderLeft",br:"borderRight",bt:"borderTop",bb:"borderBottom",brad:"borderRadius",bradtl:"borderTopLeftRadius",bradtr:"borderTopRightRadius",bradbl:"borderBottomLeftRadius",bradbr:"borderBottomRightRadius"};function q(e){var t,n,r=e;return t=e,"object"===typeof(n=G)&&null!==n&&t in n&&(r=G[e]),r}function K(e,t,n){var r;if(void 0===t||null===t)return{};var i=null!=(r=(0,Z.smartPickTokenValue)(n,"".concat(t)))?r:t;if("object"===typeof i&&e.match(/background$|backgroundImage$|^color/)){var a=i,o={backgroundImage:a.spectrum,backgroundBlendMode:a.blendMode};return e.match(/color/)?M(L({},o),{backgroundClip:"text",textFillColor:"transparent"}):o}return e.match(/paddingX$|paddingY|marginY|marginX$/)&&"string"===typeof i?function(e,t){var n,r,i=e.substring(0,e.length-1);return e.match(/[margin|padding]Y/)?(d(n={},"".concat(i,"Top"),t),d(n,"".concat(i,"Bottom"),t),n):(d(r={},"".concat(i,"Left"),t),d(r,"".concat(i,"Right"),t),r)}(e,i):d({},e,i)}function Q(e,t,n){var r=f(t),i=r[0],a=r.slice(1).map((function(t,r){var i,a="@media screen and (min-width: ".concat(null==(i=n.base.breakpointAsArray)?void 0:i[r],"px)"),o="function"===typeof t?t(n):t;return t?d({},a,K(e,o,n)):{}}));return L(L({},i?K(e,"function"===typeof i?i(n):i,n):{}),Object.assign.apply(Object,[{}].concat(c(a))))}function Y(e,t,n){var r="function"===typeof t?t(n):t;return Array.isArray(r)?Q(e,r,n):"object"===typeof r&&r.default?function(e,t,n){var r,i=t,a=i.default,o=A(i,["default"]),s=[a];for(r in n.base.breakpoint){var u=o[r];u&&s.push(u)}return Q(e,s,n)}(e,r,n):"object"===typeof r?function(e,t,n){var r,i=d({},e,{});for(r in t){var a=q(r),o=t[r];i[e]=(0,W.default)(i[e],K(a,"function"===typeof o?o(n):o,n))}return i}(e,r,n):K(e,r,n)}var J=n(946);function X(){return(0,J.useTheme)()}function $(e){var t,n=X(),r=[];for(t in e){var i=e[t],a=q(t);(i||"number"===typeof i)&&r.push(Y(a,i,n))}return U.default.apply(void 0,[{}].concat(r))}var ee=n(5535),te=/(http|https|\/)/i;function ne(e){var t=e.imageUrl,n=(0,ee.useState)(!1),r=h(n,2),i=r[0],a=r[1];return(0,ee.useEffect)((function(){var e,n=function(){return a(!0)},r=function(){return a(!1)};return t&&te.test(t)&&((e=new Image).addEventListener("load",n),e.addEventListener("error",r),e.src=t),function(){null==e||e.removeEventListener("load",n),null==e||e.removeEventListener("error",r)}}),[t]),i}var re=n(5535);function ie(e){var t=e.imageUrl,n=(0,re.useState)(!1),r=h(n,2),i=r[0],a=r[1];return H((function(){t&&function(e){return R(this,null,l().mark((function t(){var n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e,{method:"HEAD"});case 3:return n=t.sent,t.abrupt("return","image/svg+xml"===n.headers.get("content-type"));case 7:return t.prev=7,t.t0=t.catch(0),console.error("urlIsSvg Fetch HEAD Error:",e,t.t0),t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t,null,[[0,7]])})))}(t).then((function(e){a(e)}))}),[t]),i}var ae=n(5535);function oe(e,t,n){var r=(0,ae.useRef)();H((function(){var i=(null==n?void 0:n.current)||window;if(!i||!i.addEventListener)return function(){return{}};r.current!==t&&(r.current=t);var a=function(e){var t;null==(t=null==r?void 0:r.current)||t.call(r,e)};return i.addEventListener(e,a),function(){i.removeEventListener(e,a)}}),[e,n,t])}var se=n(5535),ue=function(e){var t=(0,se.useRef)(null);return(0,se.useEffect)((function(){"object"===typeof e?e.current=t.current:e(t.current)}),[e,t]),t},le=n(5535),ce=n(5535);function fe(e){return(0,ce.isValidElement)(e)&&"string"!==typeof(null==e?void 0:e.type)&&"number"!==typeof(null==e?void 0:e.type)&&"boolean"!==typeof(null==e?void 0:e.type)}function de(e,t){return fe(e)&&e.type===t}function he(e,t){return Array.isArray(e)?e.find((function(e){return de(e,t)})):de(e,t)?e:null}function pe(e,t){return le.Children.toArray(e).find((function(e){return de(e,t)}))}var ve=n(5535);function me(e,t){return ve.Children.toArray(e).filter((function(e){return de(e,t)||function(e,t){if(fe(e)){var n=e.props.children;return fe(e)&&e.type===$e&&n.type===t}return!1}(e,t)}))}var ge=n(5535);function ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,ge.useState)(!1),r=h(n,2),i=r[0],a=r[1],o=(0,ge.useRef)();return oe("mouseenter",(function(){clearTimeout(o.current),a(!0)}),e),oe("mouseleave",(function(){t?o.current=window.setTimeout((function(){a(!1)}),t):a(!1)}),e),i}var be=n(5535);function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=(0,be.useCallback)((function(n){var r=e.some((function(e){var t;return!!e&&(null==(t=null==e?void 0:e.current)?void 0:t.contains(n.target))}));t&&!r&&t()}),[e,t]);(0,be.useEffect)((function(){return document.body.addEventListener("mousedown",n),document.body.addEventListener("touchstart",n),function(){document.body.removeEventListener("mousedown",n),document.body.removeEventListener("touchstart",n)}}),[n])}var xe=T(n(942)),we=n(5535);function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=(0,we.useState)({width:0,height:0}),r=h(n,2),i=r[0],a=r[1],o=(0,xe.default)((function(e){var t=h(e,1)[0];a({width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize})}),t);return(0,we.useEffect)((function(){var t=new ResizeObserver(o);return e.current&&t.observe(e.current),function(){t.disconnect(),o.cancel()}}),[e,t]),i}var Ee=n(5535);function Se(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16),a:t[4]?parseInt(t[4],16)/255:void 0}:{r:0,g:0,b:0}}function Le(e){var t=Se(e);return void 0!==t.a&&1!==t.a?"rgba(".concat(t.r,", ").concat(t.g,", ").concat(t.b,", ").concat(t.a.toFixed(2),")"):"rgb(".concat(t.r,", ").concat(t.g,", ").concat(t.b,")")}function Me(e,t){var n=Se(e);return"rgba(".concat(n.r,", ").concat(n.g,", ").concat(n.b,", ").concat(t,")")}function Ae(e){var t=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16),i=parseInt(e.slice(7,9),16)/255;return"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(i,")")}function _e(e){var t=e.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d+(\.\d+)?)\)/);if(!t)return"";var n=h(t,5),r=n[1],i=n[2],a=n[3],o=n[4],s=parseInt(r).toString(16),u=parseInt(i).toString(16),l=parseInt(a).toString(16),c=1===s.length?"0".concat(s):s,f=1===u.length?"0".concat(u):u,d=1===l.length?"0".concat(l):l,p=Math.round(255*parseFloat(o)).toString(16),v=1===p.length?"0".concat(p):p;return"#".concat(c).concat(f).concat(d).concat(v)}function Pe(e,t){return e.c?{c:t}:(e.color,{color:t})}var Te=n(946),Re=T(n(1469)),Ie=function(e,t){var n=e.props.__EMOTION_TYPE_PLEASE_DO_NOT_USE__||e.type,r=L(L({key:e.key,ref:e.ref},e.props),t);return(t.css||e.props.css)&&(r.css=[e.props.css,t.css]),(0,Te.jsx)(n,r)},Ne=function(e){return Re.isFragment(e)};function Oe(e){return"function"===typeof(null==e?void 0:e.type)}var je=n(5535),Fe=n(3767);function Ve(e,t){function n(){var n=(0,je.useRef)(e),r=(0,je.useCallback)((function(){return n.current}),[]),i=(0,je.useRef)(new Set),a=(0,je.useCallback)((function(e){n.current=L(L({},n.current),e),i.current.forEach((function(e){return e()}))}),[]),o=(0,je.useCallback)((function(e){if(!t)throw new Error("Dispatching actions is only possible when a reducer is provided");n.current=t(n.current,e),i.current.forEach((function(e){return e()}))}),[]),s=(0,je.useCallback)((function(e){return i.current.add(e),function(){return i.current.delete(e)}}),[]);return Object.defineProperty(r,"name",{value:"get",writable:!1}),Object.defineProperty(a,"name",{value:"set",writable:!1}),Object.defineProperty(s,"name",{value:"subscribe",writable:!1}),Object.defineProperty(o,"name",{value:"dispatch",writable:!1}),{get:r,set:a,subscribe:s,dispatch:o}}var r=(0,je.createContext)(null),i=function(e){var t=e.children;return(0,Fe.jsx)(r.Provider,{value:n(),children:t})};return i.displayName="",{Provider:i,useStore:function(t){var n=(0,je.useContext)(r);if(!n)throw new Error("Store not found");return{state:(0,je.useSyncExternalStore)(n.subscribe,(function(){return t(n.get())}),(function(){return t(e)})),setState:n.set,dispatchAction:n.dispatch}}}}var Be=function(){return"undefined"===typeof window},He=function(){return!Be()&&(!!(null==window?void 0:window.ontouchstart)||(null==navigator?void 0:navigator.maxTouchPoints)>0)};function De(e){return Buffer.from(e).toString("base64").replace(/\+/g,"-").replace(/\//g,"_")}function ze(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");return Buffer.from(t,"base64").toString()}function Ue(e){var t=e.replaceAll(",","").split(".");return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t.join(".")}function Ze(e,t){var n=[],r=[];return Ee.Children.forEach(e,(function(e){de(e,t)?n.push(e):r.push(e)})),{subComponents:n,otherChildren:r}}var We=function(e){return{margin:0,position:"absolute",top:0,left:0,width:"100%",height:"100%",cursor:e?"default":"pointer",border:"none",appearance:"none"}};function Ge(e,t,n){var r=(Array.isArray(e)?c(e):[e]).shift();return function(e,t){return"string"===typeof e&&t.includes(e)}(r,n)?r:t}var qe=n(946),Ke=function(e){var t=e,n=t.as,r=void 0===n?"div":n,i=t.domRef,a=t.testId,o=t.sx,s=void 0===o?{}:o,u=t.children,l=t.className,c=A(t,["as","domRef","testId","sx","children","className"]),f=$(s);return(0,qe.jsx)(r,M(L({},c),{className:l,"data-testid":a,css:L({},f),ref:i}),u)},Qe=n(946),Ye=n(5535),Je=T(n(3681)),Xe=n(5535);function $e(e){var t=e,n=t.testId,r=t.domRef,i=t.children,a=t.fallBackDomNode,o=void 0===a?"span":a,s=t.onClick,u=t.sx,l=void 0===u?{}:u,c=A(t,["testId","domRef","children","fallBackDomNode","onClick","sx"]),f=function(e){var t=(0,Xe.useMemo)((function(){var t=Oe(e),n=Ne(e),r=Array.isArray(e);return{shouldCloneAsDom:null!==e&&!t&&!r&&!n&&!("object"!==typeof e),shouldCloneAsComponent:t&&!n}}),[e]);return{shouldCloneAsComponent:t.shouldCloneAsComponent,shouldCloneAsDom:t.shouldCloneAsDom}}(i),d=f.shouldCloneAsComponent,h=f.shouldCloneAsDom,p=$(l),v=(0,Ye.useCallback)((function(e){var t,n;(0,Ye.isValidElement)(i)&&(null==(n=null==(t=i.props)?void 0:t.onClick)||n.call(t,e)),null==s||s(e)}),[s,i]);return d&&(0,Ye.isValidElement)(i)?Ie(i,M(L(L(L(L({},n?{testId:n}:{}),c),i.props),r?{domRef:r}:{}),{onClick:v,sx:(0,Je.default)({},L({},i.props.sx),l)})):h&&(0,Ye.isValidElement)(i)?Ie(i,L(M(L(L(L(L({},n?{"data-testid":n}:{}),c),i.props),r?{ref:r}:{}),{onClick:v}),i.props.css?{css:[p,i.props.css]}:{css:p})):(0,Qe.jsx)(o,M(L(L(L(L({},c),n?{"data-testid":n}:{}),r?{ref:r}:{}),s?{onClick:s}:{}),{css:p,children:i}))}var et=T(n(3681)),tt=T(n(3164)),nt=T(n(3681)),rt=T(n(3164));function it(e,t){return e===rt.default}function at(e,t){return"a"===e}function ot(e,t){return"button"===e}var st=["small","medium","large"],ut=n(3767);function lt(e){var t=e,n=t.testId,r=t.disabled,i=t.sx,a=void 0===i?{}:i,o=t.children,s=t.href,u=t.domRef,l=t.onClick,c=t.className,f=t.as,d=A(t,["testId","disabled","sx","children","href","domRef","onClick","className","as"]),h=$(a),p={"data-testid":n,css:(0,nt.default)({padding:0,border:"none",background:"transparent",display:"inline-flex",alignItems:"baseline",cursor:"pointer",textDecoration:"none"},h),className:c},v=f||(s?"a":"button"),m=M(L({},d),{href:s,onClick:l,ref:u});return it(v)?(0,ut.jsx)(tt.default,M(L(L({},p),m),{children:o})):at(v)?(0,ut.jsx)("a",M(L(L({},p),m),{children:o})):ot(v)?(0,ut.jsx)("button",M(L(L({},p),m),{disabled:r,children:o})):null}var ct=T(n(3681)),ft=n(8374),dt=n(5535),ht=T(n(3681)),pt=n(3767),vt=/base\.gradient|linear-gradient|radial-gradient/g,mt={fill:"base.color.brand.1",width:"base.icon.size.100"},gt=function(e){var t=e,n=t.testId,r=t.children,i=t.domRef,a=t.className,o=t.viewBox,s=void 0===o?"0 0 24 24":o,u=t.sx,l=void 0===u?{}:u,c=A(t,["testId","children","domRef","className","viewBox","sx"]),f=X(),d={spectrum:"",blendMode:"",svgDefs:"",svgDefIds:""};if("string"===typeof l.fill){if(l.fill.includes("base.gradient"))d=(0,ft.pickTokenValue)(f,l.fill);else if(l.fill.match(/linear-gradient|radial-gradient/g))throw new Error("<SvgIcon /> does not support fill styles that are css-gradients. Custom gradients must be converted into SVG gradient syntax.")}else if("object"===typeof l.fill){var p,v;if(Array.isArray(l.fill)?p=Boolean(l.fill.find((function(e){return"string"===typeof e&&e.match(vt)}))):v=Boolean(Object.entries(l.fill).find((function(e){var t=h(e,2),n=(t[0],t[1]);return"string"===typeof n&&n.match(vt)}))),p||v)throw new Error("Due to the complexity involved, <SvgIcon /> does not yet support responsive gradients. Please only use a single gradient token. If this functionality is required, please indicate your interest in this functionality using the following jira ticket: https://immutable.atlassian.net/browse/DS-114.")}var m=d,g=m.svgDefs,y=m.svgDefIds,b=null==y?void 0:y.split(",").map((function(e){return e.trim()})),C=(null==y?void 0:y.length)>1?b.map((function(e){return(0,dt.isValidElement)(r)&&Ie(r,{key:e,css:{fill:"url(#".concat(e,")")}})})):[r],x=$((0,ht.default)({},mt,l));return(0,pt.jsxs)("svg",M(L({},c),{className:a,ref:i,css:x,"data-testid":n,viewBox:s,xmlns:"http://www.w3.org/2000/svg",children:[g&&(0,pt.jsx)("defs",{dangerouslySetInnerHTML:{__html:g}}),C]}))};gt.displayName="SvgIcon";var yt=n(3767),bt=n(3767),Ct=n(3767),xt=n(3767),wt=n(3767),kt=n(3767),Et=n(3767),St=n(3767),Lt=n(3767),Mt=n(3767),At=n(3767),_t=n(3767),Pt=n(3767),Tt=n(3767),Rt=n(3767),It=n(3767),Nt=n(3767),Ot=n(3767),jt=n(3767),Ft=n(3767),Vt=n(3767),Bt=n(3767),Ht=n(3767),Dt=n(3767),zt=n(3767),Ut=n(3767),Zt=n(3767),Wt=n(3767),Gt=n(3767),qt=n(3767),Kt=n(3767),Qt=n(3767),Yt=n(3767),Jt=n(3767),Xt=n(3767),$t=n(3767),en=n(3767),tn=n(3767),nn=n(3767),rn=n(3767),an=n(3767),on=n(3767),sn=function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,on.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,on.jsx)("path",{d:"M18 18H6V6H11V3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V13H18V18ZM13 3V6H15.1716L9.30078 11.8708L12.1242 14.7042L18 8.82848V11H21V3H13Z"}):(0,on.jsx)("path",{d:"M19 19H5V5H12V3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V12H19V19ZM14 3V5H17.59L7.76 14.83L9.17 16.24L19 6.41V10H21V3H14Z"})}))},un=n(3767),ln=n(3767),cn=n(946),fn=T(n(3681)),dn=n(3767),hn=cn.keyframes(r||(r=u(["\n from { \n transform: rotate(0deg); \n } \n to { \n transform: rotate(360deg); \n }\n"]))),pn=n(3767),vn=n(3767),mn=n(3767),gn=n(3767),yn=n(3767),bn=n(3767),Cn=n(3767),xn=n(3767),wn=n(3767),kn=n(3767),En=n(3767),Sn=n(3767),Ln=n(3767),Mn=n(3767),An=n(3767),_n=n(3767),Pn=n(3767),Tn=n(3767),Rn=n(3767),In=n(3767),Nn=n(3767),On=n(3767),jn=n(3767),Fn=n(3767),Vn=n(3767),Bn=n(3767),Hn=n(3767),Dn=n(3767),zn=n(3767),Un=n(3767),Zn=n(3767),Wn=n(3767),Gn=n(3767),qn=n(3767),Kn=n(3767),Qn=n(3767),Yn=n(3767),Jn=n(3767),Xn=n(3767),$n=n(3767),er=n(3767),tr={Add:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,yt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,yt.jsx)("path",{d:"M19 13.5H13.5V19H10.5V13.5H5V10.5H10.5V5H13.5V10.5H19V13.5Z"}):(0,yt.jsx)("path",{d:"M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z"})}))},AirDrop:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,bt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,bt.jsx)("path",{d:"M21.1999 10.95L11.9999 23L2.77991 10.96L2.86991 10.88C3.07991 10.67 3.32991 10.5 3.57991 10.36L10.7299 19.69L8.57991 13L9.23991 11.81L11.9999 20.38L14.7299 11.8L15.3999 13L13.2699 19.69L20.4099 10.35C20.6599 10.5 20.8999 10.64 21.0999 10.85L21.1999 10.95ZM4.99991 9C6.49991 9 7.80991 9.86 8.49991 11.1C8.83852 10.4659 9.34295 9.9356 9.95936 9.56575C10.5758 9.1959 11.2811 9.00036 11.9999 9C13.4999 9 14.7999 9.85 15.4999 11.09C15.8364 10.4549 16.3406 9.92421 16.9577 9.55571C17.5748 9.18722 18.2812 8.99501 18.9999 9C20.0899 9 21.0899 9.42 21.8099 10.14C20.9399 5.5 16.8799 2 11.9999 2C7.08991 2 3.02991 5.5 2.15991 10.17C2.88991 9.45 3.88991 9 4.99991 9Z"}):(0,bt.jsx)("path",{d:"M21.1999 10.95L11.9999 23L2.77991 10.96L2.86991 10.88C3.07991 10.67 3.32991 10.5 3.57991 10.36L10.7299 19.69L8.57991 13L9.23991 11.81L11.9999 20.38L14.7299 11.8L15.3999 13L13.2699 19.69L20.4099 10.35C20.6599 10.5 20.8999 10.64 21.0999 10.85L21.1999 10.95ZM11.9999 4C14.4999 4 16.7699 5.17 18.2499 7.03C17.2445 7.15322 16.2874 7.53192 15.4699 8.13C14.4699 7.41 13.2599 7 11.9999 7C10.7099 7 9.49991 7.41 8.49991 8.14C7.67991 7.55 6.71991 7.17 5.70991 7.04C6.46017 6.09056 7.41603 5.32369 8.50554 4.79712C9.59505 4.27055 10.7898 3.99801 11.9999 4ZM11.9999 2C7.08991 2 3.02991 5.5 2.15991 10.17C2.88991 9.45 3.88991 9 4.99991 9C6.49991 9 7.80991 9.86 8.49991 11.1C8.83852 10.4659 9.34295 9.9356 9.95936 9.56575C10.5758 9.1959 11.2811 9.00036 11.9999 9C13.4999 9 14.7999 9.85 15.4999 11.09C15.8364 10.4549 16.3406 9.92421 16.9577 9.55571C17.5748 9.18722 18.2812 8.99501 18.9999 9C20.0899 9 21.0899 9.42 21.8099 10.14C20.9399 5.5 16.8799 2 11.9999 2Z"})}))},ArrowBackward:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,xt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,xt.jsx)("path",{d:"M12 20L13.91 18.09L9.33 13.5H20V10.5H9.33L13.91 5.91L12 4L4 12L12 20Z"}):(0,xt.jsx)("path",{d:"M12 20L13.41 18.59L7.83 13H20V11H7.83L13.41 5.41L12 4L4 12L12 20Z"})}))},ArrowForward:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,wt.jsx)(gt,M(L({},i),{"data-icon-variant":r,children:"bold"===r?(0,wt.jsx)("path",{d:"M12 4L10.09 5.91L14.67 10.5H4V13.5H14.67L10.09 18.09L12 20L20 12L12 4Z"}):(0,wt.jsx)("path",{d:"M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z"})}))},Authenticated:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,kt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,kt.jsx)("path",{d:"M23 12L20.56 9.21L20.9 5.52L17.29 4.7L15.4 1.5L12 2.96L8.6 1.5L6.71 4.69L3.1 5.5L3.44 9.2L1 12L3.44 14.79L3.1 18.49L6.71 19.31L8.6 22.5L12 21.03L15.4 22.49L17.29 19.3L20.9 18.48L20.56 14.79L23 12ZM10.09 16.72L6.29 12.91L7.77 11.43L10.09 13.76L15.94 7.89L17.42 9.37L10.09 16.72Z"}):(0,kt.jsxs)(kt.Fragment,{children:[(0,kt.jsx)("path",{d:"M18.4897 9.88082L18.7476 7.08204L16.0063 6.45937L14.5726 4.03189L12 5.1366L9.42516 4.03093L7.99049 6.45242L5.2524 7.06678L5.5099 9.86895L3.65489 11.9976L5.51009 14.119L5.25197 16.9279L7.99208 17.5503L9.42292 19.9653L11.9973 18.8522L14.5748 19.9591L16.0079 17.5403L18.7476 16.918L18.4897 14.1192L20.3431 12L18.4897 9.88082ZM23 12L20.56 14.79L20.9 18.48L17.29 19.3L15.4 22.49L12 21.03L8.6 22.5L6.71 19.31L3.1 18.49L3.44 14.79L1 12L3.44 9.2L3.1 5.5L6.71 4.69L8.6 1.5L12 2.96L15.4 1.5L17.29 4.7L20.9 5.52L20.56 9.21L23 12Z"}),(0,kt.jsx)("path",{d:"M10.09 16.72L6.29 12.91L7.77 11.43L10.09 13.76L15.94 7.89L17.42 9.37L10.09 16.72Z"})]})}))},Calendar:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Et.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Et.jsx)("path",{d:"M17 13H12V18H17V13ZM16 2V4H8V2H6V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4H18V2H16ZM19 20H5V9H19V20Z"}):(0,Et.jsx)("path",{d:"M19 4H18V2H16V4H8V2H6V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V10H19V20ZM19 8H5V6H19V8ZM12 13H17V18H12V13Z"})}))},Cart:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,St.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,St.jsx)("path",{d:"M7 18C5.9 18 5.01 18.9 5.01 20C5.01 21.1 5.9 22 7 22C8.1 22 9 21.1 9 20C9 18.9 8.1 18 7 18ZM1 2V4H3L6.6 11.59L5.25 14.04C5.09 14.32 5 14.65 5 15C5 16.1 5.9 17 7 17H19V15H7.42C7.28 15 7.17 14.89 7.17 14.75L7.2 14.63L8.1 13H15.55C16.3 13 16.96 12.59 17.3 11.97L20.88 5.48C20.96 5.34 21 5.17 21 5C21 4.45 20.55 4 20 4H5.21L4.27 2H1ZM17 18C15.9 18 15.01 18.9 15.01 20C15.01 21.1 15.9 22 17 22C18.1 22 19 21.1 19 20C19 18.9 18.1 18 17 18Z"}):(0,St.jsx)("path",{d:"M15.55 13C16.3 13 16.96 12.59 17.3 11.97L20.88 5.48C21.25 4.82 20.77 4 20.01 4H5.21L4.27 2H1V4H3L6.6 11.59L5.25 14.03C4.52 15.37 5.48 17 7 17H19V15H7L8.1 13H15.55ZM6.16 6H18.31L15.55 11H8.53L6.16 6ZM7 18C5.9 18 5.01 18.9 5.01 20C5.01 21.1 5.9 22 7 22C8.1 22 9 21.1 9 20C9 18.9 8.1 18 7 18ZM17 18C15.9 18 15.01 18.9 15.01 20C15.01 21.1 15.9 22 17 22C18.1 22 19 21.1 19 20C19 18.9 18.1 18 17 18Z"})}))},ChevronBackward:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Lt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Lt.jsx)("path",{d:"M13.0898 18L14.9999 16.09L10.9199 12L15 7.91L13.0898 6L7.08984 12L13.0898 18Z"}):(0,Lt.jsx)("path",{d:"M13.5901 18L15.0001 16.59L10.4201 12L15.0001 7.41L13.5901 6L7.59009 12L13.5901 18Z"})}))},ChevronCollapse:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Mt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Mt.jsx)("path",{d:"M6 13.0449L7.91 14.955L12 10.875L16.09 14.9551L18 13.0449L12 7.04492L6 13.0449Z"}):(0,Mt.jsx)("path",{d:"M6 13.2949L7.41 14.7049L12 10.1249L16.59 14.7049L18 13.2949L12 7.29492L6 13.2949Z"})}))},ChevronExpand:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,At.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,At.jsx)("path",{d:"M18 9.9551L16.09 8.04501L12 12.125L7.91 8.04492L6 9.9551L12 15.9551L18 9.9551Z"}):(0,At.jsx)("path",{d:"M18 9.70492L16.59 8.29492L12 12.8749L7.41 8.29492L6 9.70492L12 15.7049L18 9.70492Z"})}))},ChevronForward:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,_t.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,_t.jsx)("path",{d:"M10.0002 6L8.09009 7.91L12.1701 12L8.09 16.09L10.0002 18L16.0002 12L10.0002 6Z"}):(0,_t.jsx)("path",{d:"M10.0001 6L8.59009 7.41L13.1701 12L8.59009 16.59L10.0001 18L16.0001 12L10.0001 6Z"})}))},CircleArrow:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Pt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Pt.jsx)("path",{fillRule:"evenodd",d:"M12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2ZM12 16L16 12L12 8L10.58 9.41L12.17 11H8V13H12.17L10.59 14.59L12 16Z"}):(0,Pt.jsx)("path",{d:"M22 12C22 6.48 17.52 2 12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12ZM4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20C7.58 20 4 16.42 4 12ZM16 12L12 16L10.59 14.59L12.17 13H8V11H12.17L10.58 9.41L12 8L16 12Z"})}))},Close:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Tt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Tt.jsx)("path",{d:"M19.5 6.91L17.09 4.5L12 9.59L6.91 4.5L4.5 6.91L9.59 12L4.5 17.09L6.91 19.5L12 14.41L17.09 19.5L19.5 17.09L14.41 12L19.5 6.91Z"}):(0,Tt.jsx)("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"})}))},CloseWithCircle:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Rt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Rt.jsx)("path",{fillRule:"evenodd",d:"M0 10C0 4.47 4.47 0 10 0C15.53 0 20 4.47 20 10C20 15.53 15.53 20 10 20C4.47 20 0 15.53 0 10ZM10 8.59L12.59 6L14 7.41L11.41 10L14 12.59L12.59 14L10 11.41L7.41 14L6 12.59L8.59 10L6 7.41L7.41 6L10 8.59Z"}):(0,Rt.jsx)("path",{d:"M14.59 8L12 10.59L9.41 8L8 9.41L10.59 12L8 14.59L9.41 16L12 13.41L14.59 16L16 14.59L13.41 12L16 9.41L14.59 8ZM12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z"})}))},Coins:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,It.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,It.jsx)("path",{d:"M15 4C17.1217 4 19.1566 4.84285 20.6569 6.34315C22.1571 7.84344 23 9.87827 23 12C23 14.1217 22.1571 16.1566 20.6569 17.6569C19.1566 19.1571 17.1217 20 15 20C12.8783 20 10.8434 19.1571 9.34315 17.6569C7.84285 16.1566 7 14.1217 7 12C7 9.87827 7.84285 7.84344 9.34315 6.34315C10.8434 4.84285 12.8783 4 15 4ZM3 12C2.99995 13.2399 3.3847 14.4493 4.10116 15.4613C4.81762 16.4733 5.83048 17.2381 7 17.65V19.74C3.55 18.85 1 15.73 1 12C1 8.27 3.55 5.15 7 4.26V6.35C4.67 7.17 3 9.39 3 12Z"}):(0,It.jsx)("path",{d:"M15 4C17.1217 4 19.1566 4.84285 20.6569 6.34315C22.1571 7.84344 23 9.87827 23 12C23 14.1217 22.1571 16.1566 20.6569 17.6569C19.1566 19.1571 17.1217 20 15 20C12.8783 20 10.8434 19.1571 9.34315 17.6569C7.84285 16.1566 7 14.1217 7 12C7 9.87827 7.84285 7.84344 9.34315 6.34315C10.8434 4.84285 12.8783 4 15 4ZM15 18C16.5913 18 18.1174 17.3679 19.2426 16.2426C20.3679 15.1174 21 13.5913 21 12C21 10.4087 20.3679 8.88258 19.2426 7.75736C18.1174 6.63214 16.5913 6 15 6C13.4087 6 11.8826 6.63214 10.7574 7.75736C9.63214 8.88258 9 10.4087 9 12C9 13.5913 9.63214 15.1174 10.7574 16.2426C11.8826 17.3679 13.4087 18 15 18ZM3 12C2.99995 13.2399 3.3847 14.4493 4.10116 15.4613C4.81762 16.4733 5.83048 17.2381 7 17.65V19.74C3.55 18.85 1 15.73 1 12C1 8.27 3.55 5.15 7 4.26V6.35C4.67 7.17 3 9.39 3 12Z"})}))},CopyText:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Nt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Nt.jsx)("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM19 5H8C6.9 5 6 5.9 6 7V21C6 22.1 6.9 23 8 23H19C20.1 23 21 22.1 21 21V7C21 5.9 20.1 5 19 5Z"}):(0,Nt.jsx)("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM19 5H8C6.9 5 6 5.9 6 7V21C6 22.1 6.9 23 8 23H19C20.1 23 21 22.1 21 21V7C21 5.9 20.1 5 19 5ZM19 21H8V7H19V21Z"})}))},Countdown:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Ot.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Ot.jsx)("path",{d:"M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2ZM16.2 16.2L11 13V7H12.5V12.2L17 14.9L16.2 16.2Z"}):(0,Ot.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM12.5 7H11V13L16.25 16.15L17 14.92L12.5 12.25V7Z"})}))},Dashboard:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,jt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,jt.jsx)("path",{d:"M3 13H11V3H3V13ZM3 21H11V15H3V21ZM13 21H21V11H13V21ZM13 3V9H21V3H13Z"}):(0,jt.jsx)("path",{d:"M19 5V7H15V5H19ZM9 5V11H5V5H9ZM19 13V19H15V13H19ZM9 17V19H5V17H9ZM21 3H13V9H21V3ZM11 3H3V13H11V3ZM21 11H13V21H21V11ZM11 15H3V21H11V15Z"})}))},DevContracts:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Ft.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Ft.jsx)("path",{fillRule:"evenodd",d:"M14.82 3H19C20.1 3 21 3.9 21 5V15V16V19C21 20.1 20.1 21 19 21H5C4.86 21 4.73 20.99 4.6 20.97C4.21 20.89 3.86 20.69 3.59 20.42C3.41 20.23 3.26 20.02 3.16 19.78C3.06 19.54 3 19.27 3 19V16V15V5C3 4.72 3.06 4.46 3.16 4.23C3.26 3.99 3.41 3.77 3.59 3.59C3.86 3.32 4.21 3.12 4.6 3.04C4.73 3.01 4.86 3 5 3H9.18C9.6 1.84 10.7 1 12 1C13.3 1 14.4 1.84 14.82 3ZM12.75 3.5C12.75 3.09 12.41 2.75 12 2.75C11.59 2.75 11.25 3.09 11.25 3.5C11.25 3.91 11.59 4.25 12 4.25C12.41 4.25 12.75 3.91 12.75 3.5ZM8.83 11.9999L11 14.1699L9.59 15.5899L6 11.9999L9.59 8.40991L11 9.82991L8.83 11.9999ZM18 11.9999L14.41 15.5899L13 14.1699L15.17 11.9999L13 9.82991L14.41 8.40991L18 11.9999Z"}):(0,Ft.jsx)("path",{fillRule:"evenodd",d:"M14.82 3H19C20.1 3 21 3.9 21 5V15V16V19C21 20.1 20.1 21 19 21H5C4.86 21 4.73 20.99 4.6 20.97C4.21 20.89 3.86 20.69 3.59 20.42C3.41 20.23 3.26 20.02 3.16 19.78C3.06 19.54 3 19.27 3 19V16V15V5C3 4.72 3.06 4.46 3.16 4.23C3.26 3.99 3.41 3.77 3.59 3.59C3.86 3.32 4.21 3.12 4.6 3.04C4.73 3.01 4.86 3 5 3H9.18C9.6 1.84 10.7 1 12 1C13.3 1 14.4 1.84 14.82 3ZM12.75 3.5C12.75 3.09 12.41 2.75 12 2.75C11.59 2.75 11.25 3.09 11.25 3.5C11.25 3.91 11.59 4.25 12 4.25C12.41 4.25 12.75 3.91 12.75 3.5ZM19 16V15V5H5V15V16V19H19V16ZM11 14.17L8.83 12L11 9.82997L9.59 8.40997L6 12L9.59 15.59L11 14.17ZM14.41 15.59L18 12L14.41 8.40997L13 9.82997L15.17 12L13 14.17L14.41 15.59Z"})}))},DevExplorer:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Vt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Vt.jsx)("path",{fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM14.01 14.01L6.5 17.5L9.99 9.99L17.5 6.5L14.01 14.01ZM13.1 12C13.1 11.39 12.61 10.9 12 10.9C11.39 10.9 10.9 11.39 10.9 12C10.9 12.61 11.39 13.1 12 13.1C12.61 13.1 13.1 12.61 13.1 12Z"}):(0,Vt.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM6.5 17.5L14.01 14.01L17.5 6.5L9.99 9.99L6.5 17.5ZM12 10.9C12.61 10.9 13.1 11.39 13.1 12C13.1 12.61 12.61 13.1 12 13.1C11.39 13.1 10.9 12.61 10.9 12C10.9 11.39 11.39 10.9 12 10.9Z"})}))},Document:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Dt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Dt.jsx)("path",{fillRule:"evenodd",d:"M4.45 21.55C4.75 21.85 5.1 22 5.5 22H18.5C18.9 22 19.25 21.85 19.55 21.55C19.85 21.25 20 20.9 20 20.5V7.475L14.525 2H5.5C5.1 2 4.75 2.15 4.45 2.45C4.15 2.75 4 3.1 4 3.5V20.5C4 20.9 4.15 21.25 4.45 21.55ZM7.9751 17.75H16.0251V16.25H7.9751V17.75ZM7.9751 13.5H16.0251V12H7.9751V13.5ZM13.7749 8.15V4L17.9999 8.15H13.7749Z"}):(0,Dt.jsx)("path",{d:"M7.975 17.75H16.025V16.25H7.975V17.75ZM7.975 13.5H16.025V12H7.975V13.5ZM5.5 22C5.1 22 4.75 21.85 4.45 21.55C4.15 21.25 4 20.9 4 20.5V3.5C4 3.1 4.15 2.75 4.45 2.45C4.75 2.15 5.1 2 5.5 2H14.525L20 7.475V20.5C20 20.9 19.85 21.25 19.55 21.55C19.25 21.85 18.9 22 18.5 22H5.5ZM13.775 8.15V3.5H5.5V20.5H18.5V8.15H13.775ZM5.5 3.5V8.15V3.5V8.15V20.5V3.5Z"})}))},Documents:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,zt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,zt.jsxs)(zt.Fragment,{children:[(0,zt.jsx)("path",{d:"M3.5 22C3.1 22 2.75 21.85 2.45 21.55C2.15 21.25 2 20.9 2 20.5V5H3.5V20.5H19V22H3.5Z"}),(0,zt.jsx)("path",{fillRule:"evenodd",d:"M5.45 18.55C5.75 18.85 6.1 19 6.5 19H20.5C20.9 19 21.25 18.85 21.55 18.55C21.85 18.25 22 17.9 22 17.5V3.5C22 3.1 21.85 2.75 21.55 2.45C21.25 2.15 20.9 2 20.5 2H6.5C6.1 2 5.75 2.15 5.45 2.45C5.15 2.75 5 3.1 5 3.5V17.5C5 17.9 5.15 18.25 5.45 18.55ZM18.45 11.25H8.57495V9.75H18.45V11.25ZM14.2 13.5H8.57495V12H14.2V13.5ZM18.45 9H8.57495V7.5H18.45V9Z"})]}):(0,zt.jsx)("path",{d:"M8.575 11.25H18.45V9.75H8.575V11.25ZM8.575 13.5H14.2V12H8.575V13.5ZM8.575 9H18.45V7.5H8.575V9ZM6.5 19C6.1 19 5.75 18.85 5.45 18.55C5.15 18.25 5 17.9 5 17.5V3.5C5 3.1 5.15 2.75 5.45 2.45C5.75 2.15 6.1 2 6.5 2H20.5C20.9 2 21.25 2.15 21.55 2.45C21.85 2.75 22 3.1 22 3.5V17.5C22 17.9 21.85 18.25 21.55 18.55C21.25 18.85 20.9 19 20.5 19H6.5ZM6.5 17.5H20.5V3.5H6.5V17.5ZM6.5 3.5V17.5V3.5ZM3.5 22C3.1 22 2.75 21.85 2.45 21.55C2.15 21.25 2 20.9 2 20.5V5H3.5V20.5H19V22H3.5Z"})}))},Education:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Ut.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Ut.jsx)("path",{d:"M5 13.18V17.18L12 21L19 17.18V13.18L12 17L5 13.18ZM12 3L1 9L12 15L21 10.09V17H23V9L12 3Z"}):(0,Ut.jsx)("path",{d:"M12 3L1 9L5 11.18V17.18L12 21L19 17.18V11.18L21 10.09V17H23V9L12 3ZM18.82 9L12 12.72L5.18 9L12 5.28L18.82 9ZM17 15.99L12 18.72L7 15.99V12.27L12 15L17 12.27V15.99Z"})}))},EmailAddress:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Wt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Wt.jsx)("path",{d:"M20 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM20 8L12 13L4 8V6L12 11L20 6V8Z"}):(0,Wt.jsx)("path",{d:"M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6ZM20 6L12 11L4 6H20ZM20 18H4V8L12 13L20 8V18Z"})}))},EmbedCode:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Gt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Gt.jsx)("path",{d:"M9.9 16.6L5.3 12L9.9 7.4L8 5.5L1.5 12L8 18.5L9.9 16.6ZM14.1 16.6L18.7 12L14.1 7.4L16 5.5L22.5 12L16 18.5L14.1 16.6Z"}):(0,Gt.jsx)("path",{d:"M9.4 16.6L4.8 12L9.4 7.4L8 6L2 12L8 18L9.4 16.6ZM14.6 16.6L19.2 12L14.6 7.4L16 6L22 12L16 18L14.6 16.6Z"})}))},ESports:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,qt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,qt.jsx)("path",{d:"M21.5798 16.09L20.4898 8.43C20.2098 6.46 18.5198 5 16.5298 5H7.46982C5.47982 5 3.78982 6.46 3.50982 8.43L2.41982 16.09C2.19982 17.63 3.38982 19 4.93982 19C5.61982 19 6.25982 18.73 6.73982 18.25L8.99982 16H14.9998L17.2498 18.25C17.7298 18.73 18.3798 19 19.0498 19C20.6098 19 21.7998 17.63 21.5798 16.09ZM10.9998 11H8.99982V13H7.99982V11H5.99982V10H7.99982V8H8.99982V10H10.9998V11ZM14.9998 10C14.4498 10 13.9998 9.55 13.9998 9C13.9998 8.45 14.4498 8 14.9998 8C15.5498 8 15.9998 8.45 15.9998 9C15.9998 9.55 15.5498 10 14.9998 10ZM16.9998 13C16.4498 13 15.9998 12.55 15.9998 12C15.9998 11.45 16.4498 11 16.9998 11C17.5498 11 17.9998 11.45 17.9998 12C17.9998 12.55 17.5498 13 16.9998 13Z"}):(0,qt.jsxs)(qt.Fragment,{children:[(0,qt.jsx)("path",{d:"M21.5801 16.09L20.4901 8.43C20.2101 6.46 18.5201 5 16.5301 5H7.47006C5.48006 5 3.79007 6.46 3.51007 8.43L2.42007 16.09C2.20007 17.63 3.39007 19 4.94007 19C5.62007 19 6.26006 18.73 6.74006 18.25L9.00006 16H15.0001L17.2501 18.25C17.7301 18.73 18.3801 19 19.0501 19C20.6101 19 21.8001 17.63 21.5801 16.09ZM19.4801 16.81C19.4001 16.9 19.2701 17 19.0601 17C18.9101 17 18.7701 16.94 18.6701 16.84L15.8301 14H8.17006L5.33007 16.84C5.23007 16.94 5.09007 17 4.94007 17C4.73007 17 4.60006 16.9 4.52007 16.81C4.44007 16.72 4.36006 16.58 4.39006 16.37L5.48007 8.71C5.63007 7.74 6.48006 7 7.47006 7H16.5301C17.5201 7 18.3701 7.74 18.5101 8.72L19.6001 16.38C19.6301 16.58 19.5501 16.72 19.4801 16.81Z"}),(0,qt.jsx)("path",{d:"M9.00006 8H8.00006V10H6.00007V11H8.00006V13H9.00006V11H11.0001V10H9.00006V8Z"}),(0,qt.jsx)("path",{d:"M17.0001 13C17.5523 13 18.0001 12.5523 18.0001 12C18.0001 11.4477 17.5523 11 17.0001 11C16.4478 11 16.0001 11.4477 16.0001 12C16.0001 12.5523 16.4478 13 17.0001 13Z"}),(0,qt.jsx)("path",{d:"M15.0001 10C15.5523 10 16.0001 9.55228 16.0001 9C16.0001 8.44772 15.5523 8 15.0001 8C14.4478 8 14.0001 8.44772 14.0001 9C14.0001 9.55228 14.4478 10 15.0001 10Z"})]})}))},EthToken:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Kt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Kt.jsx)("path",{fillRule:"evenodd",d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24ZM12 2L6.25 11.487L12 14.8571L17.75 11.487L12 2ZM12 22L17.75 13.4286L12 17.0401L6.25 13.4286L12 22Z"}):(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsx)("path",{d:"M12 2L6.25 11.487L12 14.8571L17.75 11.487L12 2Z"}),(0,Kt.jsx)("path",{d:"M12 22L17.75 13.4286L12 17.0401L6.25 13.4286L12 22Z"}),(0,Kt.jsx)("path",{fillRule:"evenodd",d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12Z"})]})}))},Exclamation:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Qt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Qt.jsx)("path",{d:"M14 16H10V20H14V16ZM14 4H10V14H14V4Z"}):(0,Qt.jsx)("path",{d:"M13 16H11V18H13V16ZM13 6H11V14H13V6Z"})}))},HidePassword:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Jt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Jt.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z"}):(0,Jt.jsx)("path",{d:"M12 6C15.79 6 19.17 8.13 20.82 11.5C19.17 14.87 15.79 17 12 17C8.21 17 4.83 14.87 3.18 11.5C4.83 8.13 8.21 6 12 6ZM12 4C7 4 2.73 7.11 1 11.5C2.73 15.89 7 19 12 19C17 19 21.27 15.89 23 11.5C21.27 7.11 17 4 12 4ZM12 9C13.38 9 14.5 10.12 14.5 11.5C14.5 12.88 13.38 14 12 14C10.62 14 9.5 12.88 9.5 11.5C9.5 10.12 10.62 9 12 9ZM12 7C9.52 7 7.5 9.02 7.5 11.5C7.5 13.98 9.52 16 12 16C14.48 16 16.5 13.98 16.5 11.5C16.5 9.02 14.48 7 12 7Z"})}))},Immutable:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Xt.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Xt.jsx)("path",{d:"M12 0C5.3726 0 0 5.3726 0 12C0 18.6274 5.3726 24 12 24C18.6274 24 24 18.6274 24 12C24 5.3726 18.6274 0 12 0ZM11.5359 4.58304C11.8692 4.41976 12.2203 4.43094 12.5435 4.61435C13.6641 5.25294 14.7814 5.89711 15.893 6.548C16.2509 6.75825 16.4343 7.09487 16.4354 7.50867C16.4421 8.95918 16.4399 10.4086 16.4354 11.8591C16.4354 11.9128 16.4007 11.9911 16.3571 12.0168C15.9266 12.274 15.4904 12.5212 15.0173 12.794V12.5659C15.0173 11.074 15.0129 9.58322 15.0207 8.09133C15.0218 7.80503 14.9234 7.6205 14.6695 7.47623C13.3689 6.737 12.0749 5.98434 10.7788 5.23616C10.7228 5.20373 10.668 5.16906 10.583 5.11761C10.9163 4.92861 11.216 4.73849 11.5336 4.58304H11.5359ZM11.2977 19.4226C11.225 19.3856 11.1713 19.3599 11.1187 19.3297C9.40205 18.34 7.6876 17.3435 5.96533 16.3616C5.4822 16.0865 5.26188 15.6939 5.26747 15.1426C5.27754 13.9705 5.27418 12.7985 5.26859 11.6253C5.26636 11.0964 5.48108 10.7128 5.94632 10.4488C7.15527 9.76104 8.3575 9.06319 9.55974 8.36421C9.66375 8.30382 9.73979 8.29376 9.84828 8.35862C10.2632 8.60801 10.6859 8.84622 11.1277 9.10121C11.0438 9.15154 10.9801 9.18956 10.9152 9.22759C9.61342 9.97912 8.31389 10.7329 7.00876 11.48C6.79515 11.6019 6.69562 11.7607 6.69786 12.0089C6.70457 12.9327 6.70568 13.8565 6.69786 14.7802C6.69562 15.0352 6.79739 15.1974 7.01659 15.3226C8.39329 16.11 9.7644 16.9062 11.14 17.6958C11.2563 17.7629 11.3055 17.8322 11.3033 17.9709C11.2932 18.444 11.2999 18.9182 11.2999 19.4237L11.2977 19.4226ZM11.2977 16.7765C11.178 16.7083 11.0919 16.6602 11.0058 16.6099C9.91426 15.9802 8.82386 15.3484 7.7301 14.7232C7.61156 14.6561 7.56794 14.5834 7.56906 14.4459C7.57689 13.7357 7.57353 13.0255 7.57129 12.3154C7.57129 12.2192 7.58583 12.1532 7.68089 12.0995C8.0835 11.8747 8.48164 11.6399 8.88089 11.4106C8.90997 11.3938 8.94129 11.3815 8.99385 11.3558V12.1532C8.99385 12.5849 9.00056 13.0177 8.99161 13.4494C8.98602 13.6954 9.08108 13.8621 9.29581 13.9829C9.91426 14.3318 10.5249 14.6941 11.1433 15.0419C11.2652 15.1102 11.3021 15.1862 11.2999 15.3204C11.2921 15.7924 11.2966 16.2654 11.2966 16.7754L11.2977 16.7765ZM10.0373 7.45499C9.80578 7.31855 9.60783 7.31966 9.37633 7.45499C8.07903 8.21323 6.77614 8.96142 5.47437 9.71295C5.41957 9.74539 5.36253 9.77446 5.26524 9.82703C5.29991 9.33271 5.19366 8.86636 5.36253 8.41454C5.45424 8.16738 5.62647 7.98173 5.85461 7.84977C6.94054 7.22237 8.02535 6.59385 9.11351 5.9698C9.51053 5.74166 9.91538 5.74725 10.3124 5.97651C11.5482 6.68779 12.7829 7.4013 14.0153 8.11705C14.0678 8.14725 14.1338 8.21547 14.1338 8.26691C14.1428 8.77465 14.1394 9.2835 14.1394 9.82815C13.691 9.5698 13.2772 9.33047 12.8634 9.09115C11.9206 8.5465 10.9756 8.00746 10.0373 7.45499ZM18.7213 15.439C18.6889 15.8382 18.4552 16.1212 18.1096 16.3202C16.7866 17.0807 15.4647 17.8457 14.1428 18.6084C13.7279 18.8477 13.313 19.087 12.8969 19.3264C12.8466 19.3555 12.7952 19.3801 12.7269 19.4158C12.7225 19.3465 12.7169 19.2962 12.7169 19.2459C12.7169 18.8075 12.7191 18.3702 12.7146 17.9318C12.7146 17.8322 12.7381 17.7719 12.8298 17.7193C14.7579 16.6099 16.6848 15.4971 18.6106 14.3855C18.6397 14.3687 18.6721 14.3553 18.7269 14.3295C18.7269 14.7187 18.7493 15.0811 18.7213 15.439ZM18.7314 12.6788C18.7281 13.1329 18.4831 13.4516 18.0951 13.6753C16.5875 14.542 15.0811 15.4132 13.5746 16.2833C13.2995 16.4421 13.0233 16.5998 12.7281 16.7698C12.7236 16.6949 12.718 16.6457 12.718 16.5953C12.718 16.1637 12.7225 15.7308 12.7146 15.2992C12.7124 15.1761 12.7538 15.1113 12.86 15.0498C14.23 14.2636 15.5955 13.4684 16.9678 12.6867C17.2116 12.548 17.3189 12.3769 17.3167 12.0906C17.3066 10.5987 17.3122 9.1068 17.3122 7.61491V7.35433C17.6701 7.57018 18.0056 7.748 18.312 7.96496C18.5916 8.16291 18.7325 8.46263 18.7336 8.8082C18.7381 10.0988 18.7415 11.3894 18.7325 12.68L18.7314 12.6788Z"}):(0,Xt.jsx)("path",{d:"M11.5358 4.58298C11.8691 4.4197 12.2202 4.43088 12.5434 4.61429C13.664 5.25288 14.7813 5.89705 15.8929 6.54794C16.2508 6.75819 16.4342 7.09482 16.4353 7.50861C16.442 8.95912 16.4398 10.4085 16.4353 11.859C16.4353 11.9127 16.4007 11.991 16.357 12.0167C15.9265 12.2739 15.4903 12.5211 15.0173 12.794V12.5658C15.0173 11.0739 15.0128 9.58317 15.0206 8.09127C15.0217 7.80497 14.9233 7.62045 14.6694 7.47618C13.3688 6.73694 12.0749 5.98429 10.7787 5.2361C10.7228 5.20367 10.668 5.169 10.583 5.11756C10.9162 4.92855 11.216 4.73843 11.5336 4.58298H11.5358ZM11.2976 19.4225C11.2249 19.3856 11.1712 19.3599 11.1187 19.3297C9.40197 18.3399 7.68753 17.3435 5.96525 16.3615C5.48212 16.0864 5.2618 15.6939 5.2674 15.1425C5.27746 13.9705 5.27411 12.7985 5.26851 11.6253C5.26628 11.0963 5.481 10.7127 5.94624 10.4488C7.15519 9.76099 8.35742 9.06313 9.55966 8.36415C9.66367 8.30376 9.73972 8.2937 9.8482 8.35856C10.2631 8.60796 10.6858 8.84617 11.1276 9.10115C11.0437 9.15148 10.98 9.1895 10.9151 9.22753C9.61334 9.97907 8.31381 10.7328 7.00868 11.4799C6.79507 11.6018 6.69554 11.7606 6.69778 12.0089C6.70449 12.9327 6.70561 13.8564 6.69778 14.7802C6.69554 15.0352 6.79731 15.1973 7.01651 15.3226C8.39321 16.1099 9.76432 16.9062 11.1399 17.6957C11.2562 17.7628 11.3054 17.8322 11.3032 17.9709C11.2931 18.4439 11.2998 18.9181 11.2998 19.4236L11.2976 19.4225ZM11.2976 16.7765C11.1779 16.7082 11.0918 16.6601 11.0057 16.6098C9.91418 15.9802 8.82378 15.3483 7.73002 14.7231C7.61148 14.656 7.56786 14.5834 7.56898 14.4458C7.57681 13.7356 7.57345 13.0255 7.57122 12.3153C7.57122 12.2191 7.58576 12.1532 7.68082 12.0995C8.08343 11.8747 8.48156 11.6398 8.88082 11.4106C8.90989 11.3938 8.94121 11.3815 8.99377 11.3558V12.1532C8.99377 12.5848 9.00048 13.0176 8.99153 13.4493C8.98594 13.6954 9.081 13.862 9.29573 13.9828C9.91418 14.3317 10.5248 14.6941 11.1433 15.0419C11.2652 15.1101 11.3021 15.1861 11.2998 15.3204C11.292 15.7923 11.2965 16.2654 11.2965 16.7753L11.2976 16.7765ZM10.0372 7.45493C9.8057 7.31849 9.60775 7.31961 9.37625 7.45493C8.07895 8.21318 6.77606 8.96136 5.47429 9.7129C5.41949 9.74533 5.36246 9.77441 5.26516 9.82697C5.29983 9.33265 5.19358 8.8663 5.36246 8.41448C5.45416 8.16732 5.62639 7.98168 5.85453 7.84971C6.94046 7.22231 8.02527 6.59379 9.11343 5.96975C9.51045 5.7416 9.9153 5.74719 10.3123 5.97646C11.5481 6.68773 12.7828 7.40125 14.0152 8.117C14.0678 8.14719 14.1338 8.21541 14.1338 8.26686C14.1427 8.77459 14.1393 9.28345 14.1393 9.82809C13.6909 9.56975 13.2771 9.33042 12.8633 9.09109C11.9205 8.54645 10.9755 8.0074 10.0372 7.45493ZM18.7213 15.4389C18.6888 15.8382 18.4551 16.1211 18.1095 16.3202C16.7865 17.0806 15.4646 17.8456 14.1427 18.6083C13.7278 18.8477 13.3129 19.087 12.8968 19.3263C12.8465 19.3554 12.7951 19.38 12.7269 19.4158C12.7224 19.3464 12.7168 19.2961 12.7168 19.2458C12.7168 18.8074 12.719 18.3701 12.7146 17.9317C12.7146 17.8322 12.738 17.7718 12.8297 17.7192C14.7578 16.6098 16.6847 15.4971 18.6105 14.3854C18.6396 14.3686 18.6721 14.3552 18.7269 14.3295C18.7269 14.7187 18.7492 15.081 18.7213 15.4389ZM18.7313 12.6788C18.728 13.1328 18.4831 13.4516 18.095 13.6752C16.5874 14.542 15.081 15.4132 13.5746 16.2833C13.2995 16.4421 13.0232 16.5998 12.728 16.7697C12.7235 16.6948 12.7179 16.6456 12.7179 16.5953C12.7179 16.1636 12.7224 15.7308 12.7146 15.2991C12.7123 15.1761 12.7537 15.1112 12.8599 15.0497C14.2299 14.2635 15.5954 13.4683 16.9677 12.6866C17.2115 12.5479 17.3188 12.3768 17.3166 12.0905C17.3065 10.5986 17.3121 9.10675 17.3121 7.61485V7.35428C17.67 7.57012 18.0055 7.74794 18.3119 7.9649C18.5915 8.16285 18.7324 8.46257 18.7336 8.80814C18.738 10.0987 18.7414 11.3893 18.7324 12.6799L18.7313 12.6788Z"})}))},ImxRewards:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,$t.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,$t.jsx)("path",{fillRule:"evenodd",d:"M10.1599 4L7.53988 9.25H2.37988L4.99988 4H10.1599ZM12.16 4H11.84L9.20996 9.25H14.79L12.16 4ZM16.4598 9.25H21.6198L18.9998 4H13.8398L16.4598 9.25ZM12.75 10.75H21.38L12.75 21.1V10.75ZM11.2499 21.1V10.75H2.61987L11.2499 21.1Z"}):(0,$t.jsx)("path",{d:"M19 3H5L2 9L12 21L22 9L19 3ZM9.62 8L11.12 5H12.88L14.38 8H9.62ZM11 10V16.68L5.44 10H11ZM13 10H18.56L13 16.68V10ZM19.26 8H16.61L15.11 5H17.76L19.26 8ZM6.24 5H8.89L7.39 8H4.74L6.24 5Z"})}))},ImxToken:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,en.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,en.jsx)("path",{fillRule:"evenodd",d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24ZM4 18.4999H5.75124C5.75124 18.4999 9.69784 13.9172 11.1008 12.3013C11.2472 12.1298 11.222 11.8648 11.0857 11.683L5.72601 5.5H4.04037L9.3698 11.631C9.54139 11.8233 9.54139 12.1194 9.3698 12.3169L4 18.4999ZM16.7999 5.50002L13.4267 9.56247C13.4267 9.56247 13.0514 9.10227 12.923 8.94887C12.755 8.74257 12.76 8.43577 12.9328 8.24006L15.2047 5.50002H16.7999ZM7.20015 18.5L10.5734 14.4375C10.5734 14.4375 10.9487 14.8977 11.0771 15.0511C11.245 15.2574 11.2401 15.5642 11.0672 15.76L8.79539 18.5H7.20015ZM8.80189 5.50002H7.20015L12.1102 11.1875C12.1102 11.1875 12.1251 11.1771 12.674 10.5314C12.8237 10.3558 12.8537 10.1388 12.689 9.97351C11.6561 8.91455 8.80189 5.50002 8.80189 5.50002ZM14.5253 14.0166C14.415 13.8885 14.3749 13.7143 14.415 13.5555C14.4451 13.4684 14.5103 13.371 14.5704 13.3044L15.0216 12.8125L19.9997 18.5H18.4155C18.4155 18.5 15.4979 15.1387 14.5253 14.0166ZM20 5.50002H18.2802L11.3391 13.356C11.1584 13.5483 11.1532 13.8548 11.3288 14.0523L11.5147 14.2809L15.2383 18.4999H17.0356L13.0072 13.9484C12.8317 13.7509 12.8368 13.4444 13.0176 13.2521L20 5.50002Z"}):(0,en.jsxs)(en.Fragment,{children:[(0,en.jsx)("path",{d:"M4 18.4999H5.75124C5.75124 18.4999 9.69784 13.9172 11.1008 12.3013C11.2472 12.1298 11.222 11.8648 11.0857 11.683L5.72601 5.5H4.04037L9.3698 11.631C9.54139 11.8233 9.54139 12.1194 9.3698 12.3169L4 18.4999Z"}),(0,en.jsx)("path",{d:"M16.7999 5.50002L13.4267 9.56247C13.4267 9.56247 13.0514 9.10227 12.923 8.94887C12.755 8.74257 12.76 8.43577 12.9328 8.24006L15.2047 5.50002H16.7999Z"}),(0,en.jsx)("path",{d:"M7.20015 18.5L10.5734 14.4375C10.5734 14.4375 10.9487 14.8977 11.0771 15.0511C11.245 15.2574 11.2401 15.5642 11.0672 15.76L8.79539 18.5H7.20015Z"}),(0,en.jsx)("path",{d:"M8.80189 5.50002H7.20015L12.1102 11.1875C12.1102 11.1875 12.1251 11.1771 12.674 10.5314C12.8237 10.3558 12.8537 10.1388 12.689 9.97351C11.6561 8.91455 8.80189 5.50002 8.80189 5.50002Z"}),(0,en.jsx)("path",{d:"M14.5253 14.0166C14.415 13.8885 14.3749 13.7143 14.415 13.5555C14.4451 13.4684 14.5103 13.371 14.5704 13.3044L15.0216 12.8125L19.9997 18.5H18.4155C18.4155 18.5 15.4979 15.1387 14.5253 14.0166Z"}),(0,en.jsx)("path",{d:"M20 5.50002H18.2802L11.3391 13.356C11.1584 13.5483 11.1532 13.8548 11.3288 14.0523L11.5147 14.2809L15.2383 18.4999H17.0356L13.0072 13.9484C12.8317 13.7509 12.8368 13.4444 13.0176 13.2521L20 5.50002Z"}),(0,en.jsx)("path",{fillRule:"evenodd",d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12Z"})]})}))},ImxTokenDex:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,tn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,tn.jsx)("path",{fillRule:"evenodd",d:"M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.12849 16.248H7L10.4603 12.3251C10.5708 12.1998 10.5708 12.0119 10.4603 11.8899L7.02602 8H8.11223L11.566 11.9229C11.6538 12.0383 11.67 12.2064 11.5757 12.3152C10.6716 13.3404 8.12849 16.248 8.12849 16.248ZM13.0744 10.5776L15.2481 8.00006H14.2201L12.7562 9.73853C12.6448 9.8627 12.6416 10.0574 12.7498 10.1882C12.8326 10.2856 13.0744 10.5776 13.0744 10.5776ZM11.2358 13.6706L9.0621 16.2481H10.0901L11.554 14.5096C11.6654 14.3854 11.6686 14.1908 11.5604 14.0599C11.4776 13.9625 11.2358 13.6706 11.2358 13.6706ZM9.0621 8.00006H10.0942C10.0942 8.00006 11.9335 10.1665 12.5991 10.8384C12.7052 10.9432 12.6859 11.0809 12.5894 11.1923C12.2357 11.602 12.2261 11.6086 12.2261 11.6086L9.0621 8.00006ZM13.7114 13.1109C13.6856 13.2117 13.7114 13.3223 13.7825 13.4035C14.4092 14.1155 16.2893 16.2481 16.2893 16.2481H17.3101L14.1023 12.6396L13.8115 12.9517C13.7728 12.9939 13.7308 13.0557 13.7114 13.1109ZM16.2019 8.00006H17.3101L12.8107 12.9185C12.6942 13.0405 12.6909 13.235 12.804 13.3603L15.3998 16.2481H14.2417L11.8422 13.5712L11.7224 13.4262C11.6093 13.3009 11.6126 13.1064 11.7291 12.9845L16.2019 8.00006Z"}):(0,tn.jsxs)(tn.Fragment,{children:[(0,tn.jsx)("path",{fillRule:"evenodd",d:"M3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12ZM12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1Z"}),(0,tn.jsx)("path",{fillRule:"evenodd",d:"M7 16.248H8.12849C8.12849 16.248 10.6716 13.3404 11.5757 12.3152C11.67 12.2064 11.6538 12.0383 11.566 11.9229L8.11223 8H7.02602L10.4603 11.8899C10.5708 12.0119 10.5708 12.1998 10.4603 12.3251L7 16.248ZM15.2481 8.00006L13.0744 10.5776C13.0744 10.5776 12.8326 10.2856 12.7498 10.1882C12.6416 10.0574 12.6448 9.8627 12.7562 9.73853L14.2201 8.00006H15.2481ZM9.0621 16.2481L11.2358 13.6706C11.2358 13.6706 11.4776 13.9625 11.5604 14.0599C11.6686 14.1908 11.6654 14.3854 11.554 14.5096L10.0901 16.2481H9.0621ZM10.0942 8.00006H9.0621L12.2261 11.6086C12.2261 11.6086 12.2357 11.602 12.5894 11.1923C12.6859 11.0809 12.7052 10.9432 12.5991 10.8384C11.9335 10.1665 10.0942 8.00006 10.0942 8.00006ZM13.7825 13.4035C13.7114 13.3223 13.6856 13.2117 13.7114 13.1109C13.7308 13.0557 13.7728 12.9939 13.8115 12.9517L14.1023 12.6396L17.3101 16.2481H16.2893C16.2893 16.2481 14.4092 14.1155 13.7825 13.4035ZM17.3101 8.00006H16.2019L11.7291 12.9845C11.6126 13.1064 11.6093 13.3009 11.7224 13.4262L11.8422 13.5712L14.2417 16.2481H15.3998L12.804 13.3603C12.6909 13.235 12.6942 13.0405 12.8107 12.9185L17.3101 8.00006Z"})]})}))},Information:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,nn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,nn.jsx)("path",{d:"M10 8H14V4H10V8ZM10 20H14V10H10V20Z"}):(0,nn.jsx)("path",{d:"M13 8H11V6H13V8ZM13 18H11V10H13V18Z"})}))},Instagram:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,an.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,an.jsxs)(an.Fragment,{children:[(0,an.jsx)("path",{d:"M15.3343 12C15.3343 10.159 13.8418 8.66669 12.0009 8.66669C10.1599 8.66669 8.66758 10.159 8.66758 12C8.66758 13.8409 10.1599 15.3334 12.0009 15.3334C13.8418 15.3334 15.3343 13.8409 15.3343 12Z"}),(0,an.jsx)("path",{fillRule:"evenodd",d:"M12.0009 2C9.28508 2 8.94424 2.01188 7.87756 2.06042C6.81297 2.10917 6.08629 2.27771 5.45045 2.525C4.79274 2.78042 4.23481 3.12208 3.67898 3.67813C3.12272 4.23396 2.78105 4.79187 2.5248 5.44937C2.27688 6.08542 2.10813 6.81229 2.06021 7.87646C2.0125 8.94312 2 9.28417 2 12C2 14.7158 2.01208 15.0556 2.06042 16.1223C2.10938 17.1869 2.27792 17.9135 2.52501 18.5494C2.78063 19.2071 3.1223 19.765 3.67835 20.3208C4.23398 20.8771 4.7919 21.2196 5.4492 21.475C6.08546 21.7223 6.81234 21.8908 7.87673 21.9396C8.94341 21.9881 9.28403 22 11.9997 22C14.7158 22 15.0556 21.9881 16.1222 21.9396C17.1868 21.8908 17.9143 21.7223 18.5506 21.475C19.2081 21.2196 19.7652 20.8771 20.3208 20.3208C20.8771 19.765 21.2187 19.2071 21.475 18.5496C21.7208 17.9135 21.8896 17.1867 21.9396 16.1225C21.9875 15.0558 22 14.7158 22 12C22 9.28417 21.9875 8.94333 21.9396 7.87667C21.8896 6.81208 21.7208 6.08542 21.475 5.44958C21.2187 4.79187 20.8771 4.23396 20.3208 3.67813C19.7646 3.12188 19.2083 2.78021 18.55 2.525C17.9125 2.27771 17.1854 2.10917 16.1208 2.06042C15.0541 2.01188 14.7145 2 11.9978 2H12.0009ZM16.1389 6.66211C16.1389 5.9994 16.6764 5.46252 17.3389 5.46252C18.0014 5.46252 18.5389 5.99961 18.5389 6.66211C18.5389 7.32461 18.0014 7.86211 17.3389 7.86211C16.6764 7.86211 16.1389 7.32461 16.1389 6.66211ZM6.86548 12C6.86548 9.16398 9.16488 6.86461 12.0009 6.86461C14.837 6.86461 17.1356 9.16398 17.1356 12C17.1356 14.8361 14.837 17.1344 12.0009 17.1344C9.16488 17.1344 6.86548 14.8361 6.86548 12Z"})]}):(0,an.jsx)("path",{d:"M12.0009 2C9.28508 2 8.94424 2.01188 7.87756 2.06042C6.81297 2.10917 6.08629 2.27771 5.45045 2.525C4.79274 2.78042 4.23481 3.12208 3.67898 3.67813C3.12272 4.23396 2.78105 4.79187 2.5248 5.44937C2.27688 6.08542 2.10813 6.81229 2.06021 7.87646C2.0125 8.94312 2 9.28417 2 12C2 14.7158 2.01208 15.0556 2.06042 16.1223C2.10938 17.1869 2.27792 17.9135 2.52501 18.5494C2.78063 19.2071 3.1223 19.765 3.67835 20.3208C4.23398 20.8771 4.7919 21.2196 5.4492 21.475C6.08546 21.7223 6.81234 21.8908 7.87673 21.9396C8.94341 21.9881 9.28403 22 11.9997 22C14.7158 22 15.0556 21.9881 16.1222 21.9396C17.1868 21.8908 17.9143 21.7223 18.5506 21.475C19.2081 21.2196 19.7652 20.8771 20.3208 20.3208C20.8771 19.765 21.2187 19.2071 21.475 18.5496C21.7208 17.9135 21.8896 17.1867 21.9396 16.1225C21.9875 15.0558 22 14.7158 22 12C22 9.28417 21.9875 8.94333 21.9396 7.87667C21.8896 6.81208 21.7208 6.08542 21.475 5.44958C21.2187 4.79187 20.8771 4.23396 20.3208 3.67813C19.7646 3.12188 19.2083 2.78021 18.55 2.525C17.9125 2.27771 17.1854 2.10917 16.1208 2.06042C15.0541 2.01188 14.7145 2 11.9978 2H12.0009ZM11.1038 3.80208C11.3701 3.80167 11.6672 3.80208 12.0009 3.80208C14.671 3.80208 14.9874 3.81167 16.0418 3.85958C17.0168 3.90417 17.546 4.06708 17.8985 4.20396C18.3652 4.38521 18.6979 4.60187 19.0477 4.95187C19.3977 5.30187 19.6143 5.63521 19.796 6.10187C19.9329 6.45396 20.096 6.98312 20.1404 7.95812C20.1883 9.01229 20.1987 9.32896 20.1987 11.9977C20.1987 14.6665 20.1883 14.9831 20.1404 16.0373C20.0958 17.0123 19.9329 17.5415 19.796 17.8935C19.6148 18.3602 19.3977 18.6925 19.0477 19.0423C18.6977 19.3923 18.3654 19.609 17.8985 19.7902C17.5464 19.9277 17.0168 20.0902 16.0418 20.1348C14.9876 20.1827 14.671 20.1931 12.0009 20.1931C9.3307 20.1931 9.01424 20.1827 7.96006 20.1348C6.98505 20.0898 6.45588 19.9269 6.10317 19.79C5.6365 19.6087 5.30316 19.3921 4.95316 19.0421C4.60315 18.6921 4.38648 18.3596 4.20481 17.8927C4.06794 17.5406 3.90481 17.0115 3.86044 16.0365C3.81252 14.9823 3.80294 14.6656 3.80294 11.9952C3.80294 9.32479 3.81252 9.00979 3.86044 7.95563C3.90502 6.98063 4.06794 6.45146 4.20481 6.09896C4.38607 5.63229 4.60315 5.29896 4.95316 4.94896C5.30316 4.59896 5.6365 4.38229 6.10317 4.20062C6.45567 4.06312 6.98505 3.90063 7.96006 3.85583C8.88257 3.81417 9.24008 3.80167 11.1038 3.79958V3.80208ZM17.3389 5.4625C16.6764 5.4625 16.1389 5.99937 16.1389 6.66208C16.1389 7.32458 16.6764 7.86208 17.3389 7.86208C18.0014 7.86208 18.5389 7.32458 18.5389 6.66208C18.5389 5.99958 18.0014 5.46208 17.3389 5.46208V5.4625ZM12.0009 6.86458C9.16487 6.86458 6.86547 9.16396 6.86547 12C6.86547 14.836 9.16487 17.1344 12.0009 17.1344C14.837 17.1344 17.1356 14.836 17.1356 12C17.1356 9.16396 14.837 6.86458 12.0009 6.86458ZM12.0009 8.66667C13.8418 8.66667 15.3343 10.159 15.3343 12C15.3343 13.8408 13.8418 15.3333 12.0009 15.3333C10.1599 15.3333 8.66757 13.8408 8.66757 12C8.66757 10.159 10.1599 8.66667 12.0009 8.66667Z"})}))},JumpTo:sn,Menu:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,pn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,pn.jsx)("path",{d:"M3 19H21V16H3V19ZM3 13.5H21V10.5H3V13.5ZM3 5V8H21V5H3Z"}):(0,pn.jsx)("path",{d:"M3 18H21V16H3V18ZM3 13H21V11H3V13ZM3 6V8H21V6H3Z"})}))},Minting:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,vn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,vn.jsx)("path",{d:"M9.19 6.34999C7.15 8.63999 5.75 11.93 5.62 12.24L2 10.69L6.05 6.63999C6.52 6.16999 7.2 5.95999 7.86 6.08999L9.19 6.34999ZM11.17 17C11.17 17 14.91 15.45 17.06 13.3C22.46 7.89998 21.56 3.67999 21.27 2.72999C20.32 2.42999 16.1 1.53999 10.7 6.93999C8.55 9.08999 7 12.83 7 12.83L11.17 17ZM17.65 14.81C15.36 16.85 12.07 18.25 11.76 18.38L13.31 22L17.36 17.95C17.83 17.48 18.04 16.8 17.91 16.14L17.65 14.81ZM9 18C9 18.83 8.66 19.58 8.12 20.12C6.94 21.3 2 22 2 22C2 22 2.7 17.06 3.88 15.88C4.42 15.34 5.17 15 6 15C7.66 15 9 16.34 9 18ZM13 8.99999C13 7.89999 13.9 6.99999 15 6.99999C16.1 6.99999 17 7.89999 17 8.99999C17 10.1 16.1 11 15 11C13.9 11 13 10.1 13 8.99999Z"}):(0,vn.jsx)("path",{d:"M6 15.0001C5.17 15.0001 4.42 15.3401 3.88 15.8801C2.7 17.0601 2 22.0001 2 22.0001C2 22.0001 6.94 21.3001 8.12 20.1201C8.66 19.5801 9 18.8301 9 18.0001C9 16.3401 7.66 15.0001 6 15.0001ZM6.71 18.7101C6.43 18.9901 4.54 19.4701 4.54 19.4701C4.54 19.4701 5.01 17.5901 5.3 17.3001C5.47 17.1101 5.72 17.0001 6 17.0001C6.55 17.0001 7 17.4501 7 18.0001C7 18.2801 6.89 18.5301 6.71 18.7101ZM17.42 13.6501C23.78 7.29005 21.66 2.34005 21.66 2.34005C21.66 2.34005 16.71 0.220055 10.35 6.58005L7.86 6.08005C7.21 5.95005 6.53 6.16006 6.05 6.63005L2 10.6901L7 12.8301L11.17 17.0001L13.31 22.0001L17.36 17.9501C17.83 17.4801 18.04 16.8001 17.91 16.1401L17.42 13.6501ZM7.41 10.8301L5.5 10.0101L7.47 8.04005L8.91 8.33005C8.34 9.16005 7.83 10.0301 7.41 10.8301ZM13.99 18.5001L13.17 16.5901C13.97 16.1701 14.84 15.6601 15.66 15.0901L15.95 16.5301L13.99 18.5001ZM16 12.2401C14.68 13.5601 12.62 14.6401 11.96 14.9701L9.03 12.0401C9.35 11.3901 10.43 9.33005 11.76 8.00005C16.44 3.32006 19.99 4.01005 19.99 4.01005C19.99 4.01005 20.68 7.56005 16 12.2401ZM15 11.0001C16.1 11.0001 17 10.1001 17 9.00005C17 7.90005 16.1 7.00005 15 7.00005C13.9 7.00005 13 7.90005 13 9.00005C13 10.1001 13.9 11.0001 15 11.0001Z"})}))},Minus:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,mn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,mn.jsx)("path",{d:"M19 13.5C8.65518 13.5 13.5013 13.5 5 13.5V10.5H19V13.5Z"}):(0,mn.jsx)("path",{d:"M19 13C8.65518 13 13.5013 13 5 13V11H19V13Z"})}))},More:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,gn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,gn.jsxs)(gn.Fragment,{children:[(0,gn.jsx)("path",{d:"M20 9C18.35 9 17 10.35 17 12C17 13.65 18.35 15 20 15C21.65 15 23 13.65 23 12C23 10.35 21.65 9 20 9Z"}),(0,gn.jsx)("path",{d:"M12 9C10.35 9 9 10.35 9 12C9 13.65 10.35 15 12 15C13.65 15 15 13.65 15 12C15 10.35 13.65 9 12 9Z"}),(0,gn.jsx)("path",{d:"M4 9C2.35 9 1 10.35 1 12C1 13.65 2.35 15 4 15C5.65 15 7 13.65 7 12C7 10.35 5.65 9 4 9Z"})]}):(0,gn.jsx)("path",{d:"M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z"})}))},Notification:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,bn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,bn.jsx)("circle",{cx:"12",cy:"12",r:"8"}):(0,bn.jsx)("circle",{cx:"12",cy:"12",r:"4"})}))},PancakeSwap:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Cn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Cn.jsx)("path",{fillRule:"evenodd",d:"M10.9578 7.62304C10.7649 7.42542 10.8722 6.93492 10.8577 5.74072C11.7697 0.21112 4.66566 -0.14408 5.16486 4.92472C5.25063 5.40934 5.34407 5.89204 5.43746 6.37454C5.55313 6.9721 5.66874 7.56934 5.76966 8.16952C5.98011 8.94821 5.8266 9.01433 5.41399 9.19203C5.26197 9.25751 5.07478 9.33813 4.85766 9.47512C-0.335943 12.1631 0.115257 18.9791 4.81926 21.3695C9.60658 23.9567 21.4072 24.3641 22.7521 17.1167C22.9153 15.5807 23.0785 13.8719 22.3297 12.4607C21.6295 10.916 20.3162 10.1391 19.3625 9.5749C18.6034 9.12578 18.072 8.81146 18.2593 8.35192C18.5089 7.16152 18.7297 5.97112 18.9313 4.78072C19.6129 0.61432 13.2289 0.14392 13.2289 4.30072C13.2193 5.30872 13.2193 6.30712 13.2289 7.31512C13.2289 7.62232 13.1521 7.76632 12.8065 7.74712C11.6295 7.72806 11.1479 7.8178 10.9578 7.62304ZM14.6496 14.1215C15.1584 10.6175 18.192 13.6031 16.4736 15.6095C15.504 16.5407 14.5344 15.1295 14.6496 14.1215ZM6.95044 14.1215C7.83364 10.7135 10.3776 13.4975 8.94724 15.5327C7.96804 16.6271 6.98884 15.1583 6.95044 14.1215Z"}):(0,Cn.jsxs)(Cn.Fragment,{children:[(0,Cn.jsx)("path",{d:"M10.8577 5.74072C10.8865 8.11192 10.4353 7.70872 12.8065 7.74712C13.1521 7.76632 13.2289 7.62232 13.2289 7.31512C13.2193 6.30712 13.2193 5.30872 13.2289 4.30072C13.2289 0.14392 19.6129 0.61432 18.9313 4.78072C18.7297 5.97112 18.5089 7.16152 18.2593 8.35192C17.8369 9.38872 21.0721 9.68632 22.3297 12.4607C23.0785 13.8719 22.9153 15.5807 22.7521 17.1167C22.4065 18.9791 21.1681 20.2271 19.6129 21.1775C15.1681 23.7791 9.33126 23.8079 4.81926 21.3695C0.115257 18.9791 -0.335943 12.1631 4.85766 9.47512C5.66406 8.96632 6.05766 9.23512 5.76966 8.16952C5.58726 7.08472 5.35686 6.00952 5.16486 4.92472C4.66566 -0.14408 11.7697 0.21112 10.8577 5.74072ZM14.1793 6.19192C14.1889 9.90712 14.6305 8.44792 10.4065 8.75512C9.91686 8.76472 9.88806 8.77432 9.88806 8.28472C9.88806 6.97912 9.90726 5.67352 9.91686 4.35832C9.92646 1.34392 5.43366 1.83352 6.10566 4.79032C6.94086 10.5599 7.94886 8.73592 4.59846 10.7615C2.15046 12.1823 1.56486 15.4559 2.60166 17.9519C3.31206 19.4303 4.58886 20.3135 6.03846 20.9855C11.2129 23.5295 22.8193 22.4831 21.9457 14.7263C21.9265 13.6127 21.4945 12.6815 20.7649 11.8463C16.2913 7.64152 16.7809 12.0479 18.0193 4.59832C18.4417 1.83352 14.2753 1.42072 14.1889 4.20472C14.1697 4.86712 14.1793 5.52952 14.1793 6.19192Z"}),(0,Cn.jsx)("path",{d:"M6.95046 14.1215C7.83366 10.7135 10.3777 13.4975 8.94726 15.5327C7.96806 16.6271 6.98886 15.1583 6.95046 14.1215Z"}),(0,Cn.jsx)("path",{d:"M14.6497 14.1215C15.1585 10.6175 18.1921 13.6031 16.4737 15.6095C15.5041 16.5407 14.5345 15.1295 14.6497 14.1215Z"})]})}))},People:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,wn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,wn.jsxs)(wn.Fragment,{children:[(0,wn.jsx)("path",{d:"M0.949951 17.65V20H16.95V17.65C16.95 17.0666 16.7958 16.5375 16.4874 16.0625C16.1791 15.5875 15.7583 15.2333 15.225 15C14.0083 14.4666 12.9166 14.0833 11.95 13.85C10.9833 13.6166 9.98328 13.5 8.94995 13.5C7.91662 13.5 6.91245 13.6166 5.93745 13.85C4.96245 14.0833 3.86662 14.4666 2.64995 15C2.11662 15.2333 1.69995 15.5875 1.39995 16.0625C1.09995 16.5375 0.949951 17.0666 0.949951 17.65Z"}),(0,wn.jsx)("path",{d:"M18.7999 14.0125C17.7833 13.7541 16.7 13.5583 15.55 13.425C16.4166 13.8416 17.1166 14.3875 17.6499 15.0625C18.1833 15.7375 18.4499 16.6 18.4499 17.65V20H23.0499V17.65C23.0499 17.0666 22.8916 16.5416 22.5749 16.075C22.2583 15.6083 21.8249 15.2166 21.2749 14.9C20.6416 14.5666 19.8166 14.2708 18.7999 14.0125Z"}),(0,wn.jsx)("path",{d:"M6.24995 10.925C6.94995 11.625 7.84995 11.975 8.94995 11.975C10.05 11.975 10.95 11.625 11.65 10.925C12.3499 10.225 12.7 9.32498 12.7 8.22498C12.7 7.12498 12.3499 6.22498 11.65 5.52498C10.95 4.82498 10.05 4.47498 8.94995 4.47498C7.84995 4.47498 6.94995 4.82498 6.24995 5.52498C5.54995 6.22498 5.19995 7.12498 5.19995 8.22498C5.19995 9.32498 5.54995 10.225 6.24995 10.925Z"}),(0,wn.jsx)("path",{d:"M16.9 10.925C17.6 10.225 17.9499 9.32498 17.9499 8.22498C17.9499 7.12498 17.6 6.22498 16.9 5.52498C16.2 4.82498 15.2999 4.47498 14.2 4.47498C14.0166 4.47498 13.8125 4.49164 13.5875 4.52498C13.3624 4.55831 13.1583 4.59998 12.975 4.64998C13.375 5.13331 13.6791 5.66248 13.8875 6.23748C14.0958 6.81248 14.2 7.47498 14.2 8.22498C14.2 8.97498 14.0958 9.65414 13.8875 10.2625C13.6791 10.8708 13.375 11.3833 12.975 11.8C13.1583 11.8666 13.3624 11.9125 13.5875 11.9375C13.8125 11.9625 14.0166 11.975 14.2 11.975C15.2999 11.975 16.2 11.625 16.9 10.925Z"})]}):(0,wn.jsx)("path",{d:"M0.949951 20V17.65C0.949951 17.0666 1.09995 16.5375 1.39995 16.0625C1.69995 15.5875 2.11662 15.2333 2.64995 15C3.86662 14.4666 4.96245 14.0833 5.93745 13.85C6.91245 13.6166 7.91662 13.5 8.94995 13.5C9.98328 13.5 10.9833 13.6166 11.95 13.85C12.9166 14.0833 14.0083 14.4666 15.225 15C15.7583 15.2333 16.1791 15.5875 16.4874 16.0625C16.7958 16.5375 16.95 17.0666 16.95 17.65V20H0.949951ZM15.55 13.425C16.7 13.5583 17.7833 13.7541 18.7999 14.0125C19.8166 14.2708 20.6416 14.5666 21.2749 14.9C21.8249 15.2166 22.2583 15.6083 22.5749 16.075C22.8916 16.5416 23.0499 17.0666 23.0499 17.65V20H18.4499V17.65C18.4499 16.6 18.1833 15.7375 17.6499 15.0625C17.1166 14.3875 16.4166 13.8416 15.55 13.425ZM8.94995 11.975C7.84995 11.975 6.94995 11.625 6.24995 10.925C5.54995 10.225 5.19995 9.32498 5.19995 8.22498C5.19995 7.12498 5.54995 6.22498 6.24995 5.52498C6.94995 4.82498 7.84995 4.47498 8.94995 4.47498C10.05 4.47498 10.95 4.82498 11.65 5.52498C12.3499 6.22498 12.7 7.12498 12.7 8.22498C12.7 9.32498 12.3499 10.225 11.65 10.925C10.95 11.625 10.05 11.975 8.94995 11.975ZM17.9499 8.22498C17.9499 9.32498 17.6 10.225 16.9 10.925C16.2 11.625 15.3 11.975 14.2 11.975C14.0166 11.975 13.8125 11.9625 13.5875 11.9375C13.3625 11.9125 13.1583 11.8666 12.975 11.8C13.375 11.3833 13.6791 10.8708 13.8875 10.2625C14.0958 9.65414 14.2 8.97498 14.2 8.22498C14.2 7.47498 14.0958 6.81248 13.8875 6.23748C13.6791 5.66248 13.375 5.13331 12.975 4.64998C13.1583 4.59998 13.3625 4.55831 13.5875 4.52498C13.8125 4.49164 14.0166 4.47498 14.2 4.47498C15.3 4.47498 16.2 4.82498 16.9 5.52498C17.6 6.22498 17.9499 7.12498 17.9499 8.22498ZM2.44995 18.5H15.45V17.65C15.45 17.3833 15.3708 17.125 15.2125 16.875C15.0541 16.625 14.8583 16.45 14.625 16.35C13.425 15.8166 12.4166 15.4583 11.6 15.275C10.7833 15.0916 9.89995 15 8.94995 15C7.99995 15 7.11245 15.0916 6.28745 15.275C5.46245 15.4583 4.44995 15.8166 3.24995 16.35C3.01662 16.45 2.82495 16.625 2.67495 16.875C2.52495 17.125 2.44995 17.3833 2.44995 17.65V18.5ZM8.94995 10.475C9.59995 10.475 10.1375 10.2625 10.5625 9.83748C10.9875 9.41248 11.2 8.87498 11.2 8.22498C11.2 7.57498 10.9875 7.03748 10.5625 6.61248C10.1375 6.18748 9.59995 5.97498 8.94995 5.97498C8.29995 5.97498 7.76245 6.18748 7.33745 6.61248C6.91245 7.03748 6.69995 7.57498 6.69995 8.22498C6.69995 8.87498 6.91245 9.41248 7.33745 9.83748C7.76245 10.2625 8.29995 10.475 8.94995 10.475Z"})}))},ReturnKeyboard:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Mn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Mn.jsx)("path",{fillRule:"evenodd",d:"M2 4C2 2.89543 2.89543 2 4 2H20C21.1046 2 22 2.89543 22 4V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V4ZM16 11.5V7.5H18V13.5H8.83L10.41 15.09L9 16.5L5 12.5L9 8.5L10.41 9.91L8.83 11.5H16Z"}):(0,Mn.jsxs)(Mn.Fragment,{children:[(0,Mn.jsx)("path",{fillRule:"evenodd",d:"M20 3.5H4C3.72386 3.5 3.5 3.72386 3.5 4V20C3.5 20.2761 3.72386 20.5 4 20.5H20C20.2761 20.5 20.5 20.2761 20.5 20V4C20.5 3.72386 20.2761 3.5 20 3.5ZM4 2C2.89543 2 2 2.89543 2 4V20C2 21.1046 2.89543 22 4 22H20C21.1046 22 22 21.1046 22 20V4C22 2.89543 21.1046 2 20 2H4Z"}),(0,Mn.jsx)("path",{d:"M16 7.5V11.5H8.83L10.41 9.91L9 8.5L5 12.5L9 16.5L10.41 15.09L8.83 13.5H18V7.5H16Z"})]})}))},Search:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,An.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,An.jsx)("path",{d:"M15.5 14H14.71L14.43 13.73C15.41 12.59 16 11.11 16 9.5C16 5.91 13.09 3 9.5 3C5.91 3 3 5.91 3 9.5C3 13.09 5.91 16 9.5 16C11.11 16 12.59 15.41 13.73 14.43L14 14.71V15.5L19 20.49L20.49 19L15.5 14Z"}):(0,An.jsx)("path",{d:"M15.5 14H14.71L14.43 13.73C15.41 12.59 16 11.11 16 9.5C16 5.91 13.09 3 9.5 3C5.91 3 3 5.91 3 9.5C3 13.09 5.91 16 9.5 16C11.11 16 12.59 15.41 13.73 14.43L14 14.71V15.5L19 20.49L20.49 19L15.5 14ZM9.5 14C7.01 14 5 11.99 5 9.5C5 7.01 7.01 5 9.5 5C11.99 5 14 7.01 14 9.5C14 11.99 11.99 14 9.5 14Z"})}))},SettingsCog:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Pn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Pn.jsx)("path",{d:"M19.1401 12.94C19.1801 12.64 19.2001 12.33 19.2001 12C19.2001 11.68 19.1801 11.36 19.1301 11.06L21.1601 9.48002C21.3401 9.34002 21.3901 9.07002 21.2801 8.87002L19.3601 5.55002C19.2401 5.33002 18.9901 5.26002 18.7701 5.33002L16.3801 6.29002C15.8801 5.91002 15.3501 5.59002 14.7601 5.35002L14.4001 2.81002C14.3601 2.57002 14.1601 2.40002 13.9201 2.40002H10.0801C9.84011 2.40002 9.65011 2.57002 9.61011 2.81002L9.25011 5.35002C8.66011 5.59002 8.12011 5.92002 7.63011 6.29002L5.24011 5.33002C5.02011 5.25002 4.77011 5.33002 4.65011 5.55002L2.74011 8.87002C2.62011 9.08002 2.66011 9.34002 2.86011 9.48002L4.89011 11.06C4.84011 11.36 4.80011 11.69 4.80011 12C4.80011 12.31 4.82011 12.64 4.87011 12.94L2.84011 14.52C2.66011 14.66 2.61011 14.93 2.72011 15.13L4.64011 18.45C4.76011 18.67 5.01011 18.74 5.23011 18.67L7.62011 17.71C8.12011 18.09 8.65011 18.41 9.24011 18.65L9.60011 21.19C9.65011 21.43 9.84011 21.6 10.0801 21.6H13.9201C14.1601 21.6 14.3601 21.43 14.3901 21.19L14.7501 18.65C15.3401 18.41 15.8801 18.09 16.3701 17.71L18.7601 18.67C18.9801 18.75 19.2301 18.67 19.3501 18.45L21.2701 15.13C21.3901 14.91 21.3401 14.66 21.1501 14.52L19.1401 12.94ZM12.0001 15.6C10.0201 15.6 8.40011 13.98 8.40011 12C8.40011 10.02 10.0201 8.40002 12.0001 8.40002C13.9801 8.40002 15.6001 10.02 15.6001 12C15.6001 13.98 13.9801 15.6 12.0001 15.6Z"}):(0,Pn.jsx)("path",{d:"M19.4301 12.98C19.4701 12.66 19.5001 12.34 19.5001 12C19.5001 11.66 19.4701 11.34 19.4301 11.02L21.5401 9.37C21.7301 9.22 21.7801 8.95 21.6601 8.73L19.6601 5.27C19.5701 5.11 19.4001 5.02 19.2201 5.02C19.1601 5.02 19.1001 5.03 19.0501 5.05L16.5601 6.05C16.0401 5.65 15.4801 5.32 14.8701 5.07L14.4901 2.42C14.4601 2.18 14.2501 2 14.0001 2H10.0001C9.75008 2 9.54008 2.18 9.51008 2.42L9.13008 5.07C8.52008 5.32 7.96008 5.66 7.44008 6.05L4.95008 5.05C4.89008 5.03 4.83008 5.02 4.77008 5.02C4.60008 5.02 4.43008 5.11 4.34008 5.27L2.34008 8.73C2.21008 8.95 2.27008 9.22 2.46008 9.37L4.57008 11.02C4.53008 11.34 4.50008 11.67 4.50008 12C4.50008 12.33 4.53008 12.66 4.57008 12.98L2.46008 14.63C2.27008 14.78 2.22008 15.05 2.34008 15.27L4.34008 18.73C4.43008 18.89 4.60008 18.98 4.78008 18.98C4.84008 18.98 4.90008 18.97 4.95008 18.95L7.44008 17.95C7.96008 18.35 8.52008 18.68 9.13008 18.93L9.51008 21.58C9.54008 21.82 9.75008 22 10.0001 22H14.0001C14.2501 22 14.4601 21.82 14.4901 21.58L14.8701 18.93C15.4801 18.68 16.0401 18.34 16.5601 17.95L19.0501 18.95C19.1101 18.97 19.1701 18.98 19.2301 18.98C19.4001 18.98 19.5701 18.89 19.6601 18.73L21.6601 15.27C21.7801 15.05 21.7301 14.78 21.5401 14.63L19.4301 12.98ZM17.4501 11.27C17.4901 11.58 17.5001 11.79 17.5001 12C17.5001 12.21 17.4801 12.43 17.4501 12.73L17.3101 13.86L18.2001 14.56L19.2801 15.4L18.5801 16.61L17.3101 16.1L16.2701 15.68L15.3701 16.36C14.9401 16.68 14.5301 16.92 14.1201 17.09L13.0601 17.52L12.9001 18.65L12.7001 20H11.3001L11.1101 18.65L10.9501 17.52L9.89008 17.09C9.46008 16.91 9.06008 16.68 8.66008 16.38L7.75008 15.68L6.69008 16.11L5.42008 16.62L4.72008 15.41L5.80008 14.57L6.69008 13.87L6.55008 12.74C6.52008 12.43 6.50008 12.2 6.50008 12C6.50008 11.8 6.52008 11.57 6.55008 11.27L6.69008 10.14L5.80008 9.44L4.72008 8.6L5.42008 7.39L6.69008 7.9L7.73008 8.32L8.63008 7.64C9.06008 7.32 9.47008 7.08 9.88008 6.91L10.9401 6.48L11.1001 5.35L11.3001 4H12.6901L12.8801 5.35L13.0401 6.48L14.1001 6.91C14.5301 7.09 14.9301 7.32 15.3301 7.62L16.2401 8.32L17.3001 7.89L18.5701 7.38L19.2701 8.59L18.2001 9.44L17.3101 10.14L17.4501 11.27ZM12.0001 8C9.79008 8 8.00008 9.79 8.00008 12C8.00008 14.21 9.79008 16 12.0001 16C14.2101 16 16.0001 14.21 16.0001 12C16.0001 9.79 14.2101 8 12.0001 8ZM12.0001 14C10.9001 14 10.0001 13.1 10.0001 12C10.0001 10.9 10.9001 10 12.0001 10C13.1001 10 14.0001 10.9 14.0001 12C14.0001 13.1 13.1001 14 12.0001 14Z"})}))},Shield:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Tn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Tn.jsx)("path",{fillRule:"evenodd",d:"M21 5L12 1L3 5V11C3 16.5 6.8 21.7 12 23C17.2 21.7 21 16.5 21 11V5ZM14 7.1L12 5.5L10 7.1L11 13H9V15H11V18H13V15H15V13H13L14 7.1Z"}):(0,Tn.jsx)("path",{d:"M12 1L21 5V11C21 16.5 17.2 21.7 12 23C6.8 21.7 3 16.5 3 11V5L12 1ZM12 3.2L5 6.3V11.2C5 15.5 8.2 20 12 21C15.8 20 19 15.5 19 11.2V6.3L12 3.2ZM12 5.5L14 7.1L13 13H15V15H13V18H11V15H9V13H11L10 7.1L12 5.5Z"})}))},ShowPassword:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Rn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Rn.jsx)("path",{d:"M12 7C14.76 7 17 9.24 17 12C17 12.65 16.87 13.26 16.64 13.83L19.56 16.75C21.07 15.49 22.26 13.86 22.99 12C21.26 7.61 16.99 4.5 11.99 4.5C10.59 4.5 9.25 4.75 8.01 5.2L10.17 7.36C10.74 7.13 11.35 7 12 7ZM2 4.27L4.28 6.55L4.74 7.01C3.08 8.3 1.78 10.02 1 12C2.73 16.39 7 19.5 12 19.5C13.55 19.5 15.03 19.2 16.38 18.66L16.8 19.08L19.73 22L21 20.73L3.27 3L2 4.27ZM7.53 9.8L9.08 11.35C9.03 11.56 9 11.78 9 12C9 13.66 10.34 15 12 15C12.22 15 12.44 14.97 12.65 14.92L14.2 16.47C13.53 16.8 12.79 17 12 17C9.24 17 7 14.76 7 12C7 11.21 7.2 10.47 7.53 9.8ZM11.84 9.02L14.99 12.17L15.01 12.01C15.01 10.35 13.67 9.01 12.01 9.01L11.84 9.02Z"}):(0,Rn.jsx)("path",{d:"M12 5.99995C15.79 5.99995 19.17 8.12995 20.82 11.5C20.23 12.72 19.4 13.77 18.41 14.62L19.82 16.03C21.21 14.8 22.31 13.26 23 11.5C21.27 7.10995 17 3.99995 12 3.99995C10.73 3.99995 9.51 4.19995 8.36 4.56995L10.01 6.21995C10.66 6.08995 11.32 5.99995 12 5.99995ZM10.93 7.13995L13 9.20995C13.57 9.45995 14.03 9.91995 14.28 10.49L16.35 12.56C16.43 12.22 16.49 11.86 16.49 11.49C16.5 9.00995 14.48 6.99995 12 6.99995C11.63 6.99995 11.28 7.04995 10.93 7.13995ZM2.01 3.86995L4.69 6.54995C3.06 7.82995 1.77 9.52995 1 11.5C2.73 15.89 7 19 12 19C13.52 19 14.98 18.71 16.32 18.18L19.74 21.6L21.15 20.19L3.42 2.44995L2.01 3.86995ZM9.51 11.37L12.12 13.98C12.08 13.99 12.04 14 12 14C10.62 14 9.5 12.88 9.5 11.5C9.5 11.45 9.51 11.42 9.51 11.37ZM6.11 7.96995L7.86 9.71995C7.63 10.27 7.5 10.87 7.5 11.5C7.5 13.98 9.52 16 12 16C12.63 16 13.23 15.87 13.77 15.64L14.75 16.62C13.87 16.86 12.95 17 12 17C8.21 17 4.83 14.87 3.18 11.5C3.88 10.07 4.9 8.88995 6.11 7.96995Z"})}))},SocialShare:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,In.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,In.jsx)("path",{d:"M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12C9 11.76 8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5C21 3.34 19.66 2 18 2C16.34 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12C3 13.66 4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.35C15.11 18.56 15.08 18.78 15.08 19C15.08 20.61 16.39 21.92 18 21.92C19.61 21.92 20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08Z"}):(0,In.jsx)("path",{d:"M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12C9 11.76 8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5C21 3.34 19.66 2 18 2C16.34 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12C3 13.66 4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.35C15.11 18.56 15.08 18.78 15.08 19C15.08 20.61 16.39 21.92 18 21.92C19.61 21.92 20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08ZM18 4C18.55 4 19 4.45 19 5C19 5.55 18.55 6 18 6C17.45 6 17 5.55 17 5C17 4.45 17.45 4 18 4ZM6 13C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11C6.55 11 7 11.45 7 12C7 12.55 6.55 13 6 13ZM18 20.02C17.45 20.02 17 19.57 17 19.02C17 18.47 17.45 18.02 18 18.02C18.55 18.02 19 18.47 19 19.02C19 19.57 18.55 20.02 18 20.02Z"})}))},Sparkle:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Nn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Nn.jsxs)(Nn.Fragment,{children:[(0,Nn.jsx)("path",{d:"M19 9L20.25 6.25L23 5L20.25 3.75L19 1L17.75 3.75L15 5L17.75 6.25L19 9Z"}),(0,Nn.jsx)("path",{d:"M19 15L17.75 17.75L15 19L17.75 20.25L19 23L20.25 20.25L23 19L20.25 17.75L19 15Z"}),(0,Nn.jsx)("path",{d:"M11.5 9.5L9 4L6.5 9.5L1 12L6.5 14.5L9 20L11.5 14.5L17 12L11.5 9.5Z"})]}):(0,Nn.jsxs)(Nn.Fragment,{children:[(0,Nn.jsx)("path",{d:"M19 9L20.25 6.25L23 5L20.25 3.75L19 1L17.75 3.75L15 5L17.75 6.25L19 9Z"}),(0,Nn.jsx)("path",{d:"M19 15L17.75 17.75L15 19L17.75 20.25L19 23L20.25 20.25L23 19L20.25 17.75L19 15Z"}),(0,Nn.jsx)("path",{d:"M11.5 9.5L9 4L6.5 9.5L1 12L6.5 14.5L9 20L11.5 14.5L17 12L11.5 9.5ZM9.99 12.99L9 15.17L8.01 12.99L5.83 12L8.01 11.01L9 8.83L9.99 11.01L12.17 12L9.99 12.99Z"})]})}))},Tags:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Vn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Vn.jsx)("path",{d:"M21.41 11.58L12.41 2.58C12.05 2.22 11.55 2 11 2H4C2.9 2 2 2.9 2 4V11C2 11.55 2.22 12.05 2.59 12.42L11.59 21.42C11.95 21.78 12.45 22 13 22C13.55 22 14.05 21.78 14.41 21.41L21.41 14.41C21.78 14.05 22 13.55 22 13C22 12.45 21.77 11.94 21.41 11.58ZM5.5 7C4.67 7 4 6.33 4 5.5C4 4.67 4.67 4 5.5 4C6.33 4 7 4.67 7 5.5C7 6.33 6.33 7 5.5 7Z"}):(0,Vn.jsx)("path",{fillRule:"evenodd",d:"M12.58 2.58L21.41 11.41C22.2 12.2 22.2 13.46 21.42 14.24L14.25 21.41C13.47 22.19 12.2 22.19 11.42 21.41L2.59 12.58C2.21 12.21 2 11.7 2 11.17V4C2 2.9 2.9 2 4 2H11.17C11.7 2 12.21 2.21 12.58 2.58ZM4 11.17L12.83 20L20 12.83L11.17 4H4V11.17ZM8 6.5C8 7.32843 7.32843 8 6.5 8C5.67157 8 5 7.32843 5 6.5C5 5.67157 5.67157 5 6.5 5C7.32843 5 8 5.67157 8 6.5Z"})}))},Tick:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,zn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,zn.jsx)("path",{d:"M9 20.4L2 13.4L4.8 10.6L9 14.8L19.6 4.19995L22.4 6.99995L9 20.4Z"}):(0,zn.jsx)("path",{d:"M8.9999 16.2L4.7999 12L3.3999 13.4L8.9999 19L20.9999 6.99998L19.5999 5.59998L8.9999 16.2Z"})}))},Tokens:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Un.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Un.jsx)("path",{d:"M9 20C6.76667 20 4.875 19.225 3.325 17.675C1.775 16.125 1 14.2333 1 12C1 9.76667 1.775 7.875 3.325 6.325C4.875 4.775 6.76667 4 9 4C11.2333 4 13.125 4.775 14.675 6.325C16.225 7.875 17 9.76667 17 12C17 14.2333 16.225 16.125 14.675 17.675C13.125 19.225 11.2333 20 9 20ZM19.6 7.8L18.55 5.45L16.2 4.4L18.55 3.35L19.6 1L20.65 3.35L23 4.4L20.65 5.45L19.6 7.8ZM19.6 23L18.55 20.65L16.2 19.6L18.55 18.55L19.6 16.2L20.65 18.55L23 19.6L20.65 20.65L19.6 23Z"}):(0,Un.jsx)("path",{d:"M9 20C6.76667 20 4.875 19.225 3.325 17.675C1.775 16.125 1 14.2333 1 12C1 9.76667 1.775 7.875 3.325 6.325C4.875 4.775 6.76667 4 9 4C11.2333 4 13.125 4.775 14.675 6.325C16.225 7.875 17 9.76667 17 12C17 14.2333 16.225 16.125 14.675 17.675C13.125 19.225 11.2333 20 9 20ZM9 18.5C10.8 18.5 12.3333 17.8667 13.6 16.6C14.8667 15.3333 15.5 13.8 15.5 12C15.5 10.2 14.8667 8.66667 13.6 7.4C12.3333 6.13333 10.8 5.5 9 5.5C7.2 5.5 5.66667 6.13333 4.4 7.4C3.13333 8.66667 2.5 10.2 2.5 12C2.5 13.8 3.13333 15.3333 4.4 16.6C5.66667 17.8667 7.2 18.5 9 18.5ZM19.6 7.8L18.55 5.45L16.2 4.4L18.55 3.35L19.6 1L20.65 3.35L23 4.4L20.65 5.45L19.6 7.8ZM19.6 23L18.55 20.65L16.2 19.6L18.55 18.55L19.6 16.2L20.65 18.55L23 19.6L20.65 20.65L19.6 23Z"})}))},TreasureChest:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Zn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Zn.jsx)("path",{d:"M5 4H19C19.7956 4 20.5587 4.31607 21.1213 4.87868C21.6839 5.44129 22 6.20435 22 7V11H15V10H9V11H2V7C2 6.20435 2.31607 5.44129 2.87868 4.87868C3.44129 4.31607 4.20435 4 5 4ZM11 11H13V13H11V11ZM2 12H9V13L11 15H13L15 13V12H22V20H2V12Z"}):(0,Zn.jsx)("path",{d:"M2 20H22V7C22 6.2 21.68 5.44 21.12 4.88C20.56 4.32 19.8 4 19 4H5C4.2 4 3.44 4.32 2.88 4.88C2.32 5.44 2 6.2 2 7V20ZM20 11H15V9H9V11H4V7C4 6.74 4.11 6.5 4.29 6.29C4.5 6.11 4.74 6 5 6H19C19.27 6 19.5 6.11 19.71 6.29C19.9 6.5 20 6.74 20 7V11ZM15 13H20V18H4V13H9L11 15H13L15 13ZM11 11H13V13H11V11Z"})}))},Trophy:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Wn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Wn.jsx)("path",{d:"M18 2C17.1 2 16 3 16 4H8C8 3 6.9 2 6 2H2V11C2 12 3 13 4 13H6.2C6.6 15 7.9 16.7 11 17V19.08C8 19.54 8 22 8 22H16C16 22 16 19.54 13 19.08V17C16.1 16.7 17.4 15 17.8 13H20C21 13 22 12 22 11V2H18ZM6 11H4V4H6V11ZM20 11H18V4H20V11Z"}):(0,Wn.jsx)("path",{d:"M18 2C17.1 2 16 3 16 4H8C8 3 6.9 2 6 2H2V11C2 12 3 13 4 13H6.2C6.6 15 7.9 16.7 11 17V19.08C8 19.54 8 22 8 22H16C16 22 16 19.54 13 19.08V17C16.1 16.7 17.4 15 17.8 13H20C21 13 22 12 22 11V2H18ZM6 11H4V4H6V11ZM16 11.5C16 13.43 15.42 15 12 15C8.59 15 8 13.43 8 11.5V6H16V11.5ZM20 11H18V4H20V11Z"})}))},ViewList:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Yn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Yn.jsx)("path",{d:"M3 13.5H6V10.5H3V13.5ZM3 18.5H6V15.5H3V18.5ZM3 8.5H6V5.5H3V8.5ZM8 13.5H21V10.5H8V13.5ZM8 18.5H21V15.5H8V18.5ZM8 5.5V8.5H21V5.5H8ZM3 13.5H6V10.5H3V13.5ZM3 18.5H6V15.5H3V18.5ZM3 8.5H6V5.5H3V8.5ZM8 13.5H21V10.5H8V13.5ZM8 18.5H21V15.5H8V18.5ZM8 5.5V8.5H21V5.5H8Z"}):(0,Yn.jsx)("path",{d:"M3 13H5V11H3V13ZM3 17H5V15H3V17ZM3 9H5V7H3V9ZM7 13H21V11H7V13ZM7 17H21V15H7V17ZM7 7V9H21V7H7ZM3 13H5V11H3V13ZM3 17H5V15H3V17ZM3 9H5V7H3V9ZM7 13H21V11H7V13ZM7 17H21V15H7V17ZM7 7V9H21V7H7Z"})}))},Wallet:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,Jn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,Jn.jsx)("path",{d:"M21 18V19C21 20.1 20.1 21 19 21H5C3.89 21 3 20.1 3 19V5C3 3.9 3.89 3 5 3H19C20.1 3 21 3.9 21 5V6H12C10.89 6 10 6.9 10 8V16C10 17.1 10.89 18 12 18H21ZM12 16H22V8H12V16ZM16 13.5C15.17 13.5 14.5 12.83 14.5 12C14.5 11.17 15.17 10.5 16 10.5C16.83 10.5 17.5 11.17 17.5 12C17.5 12.83 16.83 13.5 16 13.5Z"}):(0,Jn.jsxs)(Jn.Fragment,{children:[(0,Jn.jsx)("path",{d:"M21 7.28V5C21 3.9 20.1 3 19 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V16.72C21.59 16.37 22 15.74 22 15V9C22 8.26 21.59 7.63 21 7.28ZM20 9V15H13V9H20ZM5 19V5H19V7H13C11.9 7 11 7.9 11 9V15C11 16.1 11.9 17 13 17H19V19H5Z"}),(0,Jn.jsx)("path",{d:"M16 13.5C16.8284 13.5 17.5 12.8284 17.5 12C17.5 11.1716 16.8284 10.5 16 10.5C15.1716 10.5 14.5 11.1716 14.5 12C14.5 12.8284 15.1716 13.5 16 13.5Z"})]})}))},MoreVertical:function(e){var t=e,n=t.variant,r=void 0===n?"regular":n,i=A(t,["variant"]);return(0,yn.jsx)(gt,M(L({},i),{"data-variant":r,children:"bold"===r?(0,yn.jsxs)(yn.Fragment,{children:[(0,yn.jsx)("path",{d:"M9 4C9 5.65 10.35 7 12 7C13.65 7 15 5.65 15 4C15 2.35 13.65 1 12 1C10.35 1 9 2.35 9 4Z"}),(0,yn.jsx)("path",{d:"M9 12C9 13.65 10.35 15 12 15C13.65 15 15 13.65 15 12C15 10.35 13.65 9 12 9C10.35 9 9 10.35 9 12Z"}),(0,yn.jsx)("path",{d:"M9 20C9 21.65 10.35 23 12 23C13.65 23 15 21.65 15 20C15 18.35 13.65 17 12 17C10.35 17 9 18.35 9 20Z"})]}):(0,yn.jsx)("path",{d:"M10 18C10 19.1 10.9 20 12 20C13.1 20 14 19.1 14 18C14 16.9 13.1 16 12 16C10.9 16 10 16.9 10 18ZM10 6C10 7.1 10.9 8 12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6ZM10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10C10.9 10 10 10.9 10 12Z"})}))}},nr={Alert:function(e){var t=A(e,[]);return(0,Ct.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Ct.jsx)("path",{d:"M12,3.3L2,20.8h20L12,3.3z M12.8,18.2h-1.6v-1.6H13v1.6H12.8z M11.2,14.9V8.2H13v6.7\n\t\tC13,14.9,11.2,14.9,11.2,14.9z"})}))},DevSdk:function(e){var t=A(e,[]);return(0,Bt.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Bt.jsx)("path",{d:"M12 14.625L9.375 12L12 9.375L14.625 12L12 14.625ZM9.875 7.275L7.8 5.2L12 1L16.2 5.2L14.125 7.275L12 5.15L9.875 7.275ZM5.2 16.2L1 12L5.2 7.8L7.275 9.875L5.15 12L7.275 14.125L5.2 16.2ZM18.8 16.2L16.725 14.125L18.85 12L16.725 9.875L18.8 7.8L23 12L18.8 16.2ZM12 23L7.8 18.8L9.875 16.725L12 18.85L14.125 16.725L16.2 18.8L12 23Z"})}))},Discord:function(e){var t=A(e,[]);return(0,Ht.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Ht.jsx)("path",{d:"M19.6361 4.09815C18.212 3.43184 16.6893 2.94761 15.0973 2.67188C14.9018 3.02535 14.6734 3.50078 14.5159 3.87899C12.8236 3.62449 11.1469 3.62449 9.48573 3.87899C9.32828 3.50078 9.09468 3.02535 8.89741 2.67188C7.30374 2.94761 5.77928 3.43362 4.35518 4.10167C1.48276 8.44228 0.70409 12.6751 1.09342 16.8478C2.99856 18.2705 4.84487 19.1347 6.66003 19.7003C7.1082 19.0835 7.50791 18.4278 7.85224 17.7367C7.19644 17.4875 6.56832 17.18 5.97482 16.823C6.13227 16.7064 6.28628 16.5844 6.43508 16.4589C10.055 18.1521 13.9882 18.1521 17.5648 16.4589C17.7154 16.5844 17.8694 16.7064 18.0251 16.823C17.4299 17.1818 16.8 17.4893 16.1442 17.7385C16.4885 18.4278 16.8865 19.0852 17.3364 19.702C19.1533 19.1365 21.0014 18.2722 22.9065 16.8478C23.3633 12.0105 22.1261 7.81663 19.6361 4.09815ZM8.34541 14.2816C7.25874 14.2816 6.36759 13.2671 6.36759 12.0317C6.36759 10.7964 7.23972 9.78016 8.34541 9.78016C9.45114 9.78016 10.3423 10.7946 10.3232 12.0317C10.325 13.2671 9.45114 14.2816 8.34541 14.2816ZM15.6545 14.2816C14.5678 14.2816 13.6767 13.2671 13.6767 12.0317C13.6767 10.7964 14.5488 9.78016 15.6545 9.78016C16.7602 9.78016 17.6514 10.7946 17.6323 12.0317C17.6323 13.2671 16.7602 14.2816 15.6545 14.2816Z"})}))},Email:function(e){var t=A(e,[]);return(0,Zt.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Zt.jsx)("path",{d:"M12 1.94995C6.48 1.94995 2 6.42995 2 11.95C2 17.47 6.48 21.95 12 21.95H17V19.95H12C7.66 19.95 4 16.29 4 11.95C4 7.60995 7.66 3.94995 12 3.94995C16.34 3.94995 20 7.60995 20 11.95V13.38C20 14.17 19.29 14.95 18.5 14.95C17.71 14.95 17 14.17 17 13.38V11.95C17 9.18995 14.76 6.94995 12 6.94995C9.24 6.94995 7 9.18995 7 11.95C7 14.71 9.24 16.95 12 16.95C13.38 16.95 14.64 16.39 15.54 15.48C16.19 16.37 17.31 16.95 18.5 16.95C20.47 16.95 22 15.35 22 13.38V11.95C22 6.42995 17.52 1.94995 12 1.94995ZM12 14.95C10.34 14.95 9 13.61 9 11.95C9 10.29 10.34 8.94995 12 8.94995C13.66 8.94995 15 10.29 15 11.95C15 13.61 13.66 14.95 12 14.95Z"})}))},GraphPerformance:function(e){var t=A(e,[]);return(0,Yt.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Yt.jsx)("path",{d:"M2.75 20.2499C2.26667 20.2499 1.85417 20.0791 1.5125 19.7374C1.17083 19.3958 1 18.9833 1 18.4999C1 18.0166 1.17083 17.6041 1.5125 17.2625C1.85417 16.9208 2.26667 16.7499 2.75 16.7499C2.83333 16.7499 2.91667 16.7541 3 16.7625C3.08333 16.7708 3.19167 16.7916 3.325 16.825L8.325 11.825C8.29167 11.6916 8.27083 11.5833 8.2625 11.5C8.25417 11.4166 8.25 11.3333 8.25 11.25C8.25 10.7666 8.42083 10.3541 8.7625 10.0125C9.10417 9.67078 9.51667 9.49995 10 9.49995C10.4833 9.49995 10.8958 9.67078 11.2375 10.0125C11.5792 10.3541 11.75 10.7666 11.75 11.25C11.75 11.2833 11.725 11.4749 11.675 11.825L14.425 14.575C14.5583 14.5416 14.6667 14.5208 14.75 14.5125C14.8333 14.5041 14.9167 14.5 15 14.5C15.0833 14.5 15.1667 14.5041 15.25 14.5125C15.3333 14.5208 15.4417 14.5416 15.575 14.575L19.575 10.575C19.5417 10.4416 19.5208 10.3333 19.5125 10.25C19.5042 10.1666 19.5 10.0833 19.5 9.99995C19.5 9.51662 19.6708 9.10412 20.0125 8.76245C20.3542 8.42078 20.7667 8.24995 21.25 8.24995C21.7333 8.24995 22.1458 8.42078 22.4875 8.76245C22.8292 9.10412 23 9.51662 23 9.99995C23 10.4833 22.8292 10.8958 22.4875 11.2375C22.1458 11.5791 21.7333 11.75 21.25 11.75C21.1667 11.75 21.0833 11.7458 21 11.7375C20.9167 11.7291 20.8083 11.7083 20.675 11.675L16.675 15.6749C16.7083 15.8083 16.7292 15.9166 16.7375 15.9999C16.7458 16.0833 16.75 16.1666 16.75 16.2499C16.75 16.7333 16.5792 17.1458 16.2375 17.4874C15.8958 17.8291 15.4833 17.9999 15 17.9999C14.5167 17.9999 14.1042 17.8291 13.7625 17.4874C13.4208 17.1458 13.25 16.7333 13.25 16.2499C13.25 16.1666 13.2542 16.0833 13.2625 15.9999C13.2708 15.9166 13.2917 15.8083 13.325 15.6749L10.575 12.925C10.4417 12.9583 10.3333 12.9791 10.25 12.9875C10.1667 12.9958 10.0833 13 10 13C9.96667 13 9.775 12.975 9.425 12.925L4.425 17.9249C4.45833 18.0583 4.47917 18.1666 4.4875 18.2499C4.49583 18.3333 4.5 18.4166 4.5 18.4999C4.5 18.9833 4.32917 19.3958 3.9875 19.7374C3.64583 20.0791 3.23333 20.2499 2.75 20.2499ZM15 7.92495L14.225 6.27495L12.575 5.49995L14.225 4.72495L15 3.07495L15.775 4.72495L17.425 5.49995L15.775 6.27495L15 7.92495ZM4 9.19995L3.5 8.09995L2.4 7.59995L3.5 7.09995L4 5.99995L4.5 7.09995L5.6 7.59995L4.5 8.09995L4 9.19995Z"})}))},InformationCircle:function(e){var t=A(e,[]);return(0,rn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,rn.jsx)("path",{d:"M12,2C6.4,2,2,6.4,2,12s4.6,10,10,10c5.6,0,10-4.6,10-10C22,6.4,17.6,2,12,2z M12.8,17.4h-1.7v-7.3H13v7.3\n\t\tH12.8z M12.8,8.3h-1.7V6.6H13v1.7H12.8z"})}))},JumpTo:sn,LinkedIn:function(e){var t=A(e,[]);return(0,un.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,un.jsx)("path",{d:"M17.1051 20.6667H20.6666V13.3504C20.6666 10.2549 18.9118 8.75811 16.4608 8.75811C14.0086 8.75811 12.9766 10.6677 12.9766 10.6677V9.11115H9.54436V20.6667H12.9766V14.6007C12.9766 12.9754 13.7248 12.0082 15.1568 12.0082C16.4732 12.0082 17.1051 12.9376 17.1051 14.6007V20.6667ZM3.33325 5.46571C3.33325 6.64326 4.2806 7.59805 5.4497 7.59805C6.6188 7.59805 7.56559 6.64326 7.56559 5.46571C7.56559 4.28816 6.6188 3.33337 5.4497 3.33337C4.2806 3.33337 3.33325 4.28816 3.33325 5.46571ZM7.25639 20.6667H3.67744V9.11115H7.25639V20.6667Z"})}))},Loader:function(e){var t=A(e,[]);return(0,ln.jsxs)(gt,M(L({},t),{"data-variant":"regular",children:[(0,ln.jsx)("rect",{x:"2",y:"10",width:"2",height:"6"}),(0,ln.jsx)("rect",{x:"8",y:"5",width:"2",height:"16"}),(0,ln.jsx)("rect",{x:"14",y:"8",width:"2",height:"10"}),(0,ln.jsx)("rect",{x:"20",y:"2",width:"2",height:"20"})]}))},Loading:function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,dn.jsxs)(gt,M(L({},i),{sx:(0,fn.default)({animation:"".concat(hn," 1s linear infinite")},r),"data-variant":"regular",children:[(0,dn.jsx)("path",{opacity:"0.24",clipRule:"evenodd",fillRule:"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6Z"}),(0,dn.jsx)("mask",{id:"spinner-mask",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"12",y:"2",width:"10",height:"10",children:(0,dn.jsx)("path",{d:"M12 2H22V12H12V2Z"})}),(0,dn.jsx)("path",{clipRule:"evenodd",fillRule:"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6Z",mask:"url(#spinner-mask)"}),(0,dn.jsx)("circle",{cx:"12",cy:"4",r:"2"}),(0,dn.jsx)("circle",{cx:"20",cy:"12",r:"2"})]}))},Pause:function(e){var t=A(e,[]);return(0,xn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,xn.jsx)("path",{d:"M6 19H10V5H6V19ZM14 5V19H18V5H14Z"})}))},Percentage:function(e){var t=A(e,[]);return(0,kn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,kn.jsx)("path",{d:"M7.5 3.99988C5.57 3.99988 4 5.56988 4 7.49988C4 9.42988 5.57 10.9999 7.5 10.9999C9.43 10.9999 11 9.42988 11 7.49988C11 5.56988 9.43 3.99988 7.5 3.99988ZM7.5 8.99988C6.67 8.99988 6 8.32988 6 7.49988C6 6.66988 6.67 5.99988 7.5 5.99988C8.33 5.99988 9 6.66988 9 7.49988C9 8.32988 8.33 8.99988 7.5 8.99988ZM16.5 12.9999C14.57 12.9999 13 14.5699 13 16.4999C13 18.4299 14.57 19.9999 16.5 19.9999C18.43 19.9999 20 18.4299 20 16.4999C20 14.5699 18.43 12.9999 16.5 12.9999ZM16.5 17.9999C15.67 17.9999 15 17.3299 15 16.4999C15 15.6699 15.67 14.9999 16.5 14.9999C17.33 14.9999 18 15.6699 18 16.4999C18 17.3299 17.33 17.9999 16.5 17.9999ZM5.41 19.9999L4 18.5899L18.59 3.99988L20 5.40988L5.41 19.9999Z"})}))},Play:function(e){var t=A(e,[]);return(0,En.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,En.jsx)("path",{d:"M7.5 4.5V19.5L19.5 12L7.5 4.5Z"})}))},Preferences:function(e){var t=A(e,[]);return(0,Sn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Sn.jsx)("path",{d:"M3 17V19H9V17H3ZM3 5V7H13V5H3ZM13 21V19H21V17H13V15H11V21H13ZM7 9V11H3V13H7V15H9V9H7ZM21 13V11H11V13H21ZM15 9H17V7H21V5H17V3H15V9Z"})}))},Reddit:function(e){var t=A(e,[]);return(0,Ln.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Ln.jsx)("path",{d:"M23 10.9641C23 9.62667 21.9073 8.5395 20.5644 8.5395C19.909 8.5395 19.315 8.80167 18.8778 9.22333C17.2186 8.13158 14.9737 7.43675 12.4877 7.34783L13.8471 3.06792L17.5284 3.9305L17.5229 3.98367C17.5229 5.07725 18.4167 5.96642 19.5157 5.96642C20.6139 5.96642 21.5068 5.07725 21.5068 3.98367C21.5068 2.89008 20.613 2 19.5157 2C18.6724 2 17.9538 2.52617 17.6632 3.26408L13.6949 2.33367C13.5217 2.2915 13.3457 2.39142 13.2916 2.56192L11.7754 7.335C9.17392 7.36617 6.81717 8.0665 5.08375 9.19125C4.64925 8.78975 4.07267 8.53858 3.43467 8.53858C2.09175 8.53858 1 9.62667 1 10.9641C1 11.8532 1.48858 12.6242 2.20725 13.0458C2.15958 13.3043 2.12842 13.5656 2.12842 13.8314C2.12842 17.4165 6.53575 20.3333 11.9542 20.3333C17.3726 20.3333 21.7808 17.4165 21.7808 13.8314C21.7808 13.5802 21.7542 13.3327 21.7121 13.0889C22.4748 12.6792 23 11.8862 23 10.9641ZM7.21133 12.6287C7.21133 11.8331 7.86217 11.185 8.6615 11.185C9.46083 11.185 10.1108 11.8331 10.1108 12.6287C10.1108 13.4244 9.46083 14.0716 8.6615 14.0716C7.86217 14.0716 7.21133 13.4244 7.21133 12.6287ZM15.5173 16.9087C14.7867 17.6356 13.6399 17.9894 12.0119 17.9894L12 17.9867L11.9881 17.9894C10.3592 17.9894 9.21242 17.6356 8.48275 16.9087C8.34983 16.7767 8.34983 16.5612 8.48275 16.4292C8.61567 16.2963 8.832 16.2963 8.96492 16.4292C9.56075 17.0223 10.5498 17.3102 11.9881 17.3102L12 17.3129L12.0119 17.3102C13.4502 17.3102 14.4392 17.0214 15.0351 16.4283C15.168 16.2954 15.3843 16.2963 15.5173 16.4283C15.6502 16.5612 15.6502 16.7757 15.5173 16.9087ZM15.344 14.0716C14.5447 14.0716 13.8948 13.4244 13.8948 12.6287C13.8948 11.8331 14.5447 11.185 15.344 11.185C16.1433 11.185 16.7933 11.8331 16.7933 12.6287C16.7933 13.4244 16.1433 14.0716 15.344 14.0716Z"})}))},Sending:function(e){var t=A(e,[]);return(0,_n.jsxs)(gt,M(L({},t),{"data-variant":"regular",children:[(0,_n.jsx)("rect",{x:"2",y:"10",width:"2",height:"6"}),(0,_n.jsx)("rect",{x:"8",y:"5",width:"2",height:"16"}),(0,_n.jsx)("rect",{x:"14",y:"8",width:"2",height:"10"}),(0,_n.jsx)("rect",{x:"20",y:"2",width:"2",height:"20"})]}))},SushiSwap:function(e){var t=A(e,[]);return(0,On.jsxs)(gt,M(L({},t),{"data-variant":"regular",children:[(0,On.jsx)("path",{d:"M11.6174 5.92662C12.6052 6.01732 13.9258 6.55162 15.1859 7.45894C16.456 8.36609 17.3933 9.44458 17.7864 10.362C18.0185 10.8751 18.0788 11.3296 17.847 11.6423C17.6252 11.9546 17.1717 12.0462 16.6173 11.995C15.6192 11.9144 14.3089 11.3699 13.0388 10.4627C11.7687 9.55557 10.831 8.48697 10.4379 7.56976C10.2162 7.05574 10.1557 6.6014 10.3775 6.28958C10.5993 5.97776 11.053 5.88621 11.6174 5.92662Z"}),(0,On.jsx)("path",{fillRule:"evenodd",d:"M5.85895 3.0359C7.31183 1.00798 12.2351 2.04913 16.8553 5.35859C21.4757 8.66908 24.047 13.0038 22.5941 15.0326L18.1515 21.2396C16.6986 23.2674 11.7646 22.2264 7.14441 18.9159C2.52426 15.6054 -0.046997 11.2715 1.40588 9.24378L5.85895 3.0359ZM5.42132 5.4111C5.42558 5.5139 5.43359 5.61875 5.44536 5.72258C5.44962 5.75945 5.46718 5.79348 5.49497 5.8182C5.52259 5.84291 5.55839 5.85656 5.59555 5.85658C5.60118 5.85656 5.60698 5.85622 5.6126 5.85556C5.6525 5.85102 5.68881 5.83085 5.71387 5.7995C5.73876 5.76815 5.75035 5.72815 5.74592 5.68831C5.73484 5.59194 5.72734 5.49532 5.72342 5.39849C5.72308 5.37833 5.71864 5.35847 5.71046 5.34006C5.70228 5.32165 5.69051 5.30504 5.67585 5.29123C5.66119 5.27742 5.64397 5.2667 5.62505 5.25966C5.60612 5.25264 5.58601 5.24943 5.56589 5.25028C5.54577 5.25112 5.526 5.25598 5.50775 5.26455C5.48951 5.27315 5.47332 5.28528 5.45985 5.30025C5.44638 5.31524 5.43598 5.33276 5.42933 5.35179C5.42268 5.37083 5.41995 5.391 5.42132 5.4111ZM10.2842 12.3624C10.302 12.3534 10.3177 12.3411 10.3306 12.326C10.3567 12.2956 10.3697 12.256 10.3666 12.2161C10.3635 12.1761 10.3448 12.139 10.3144 12.1129C8.66412 10.696 6.4057 8.54888 5.84872 6.26438C5.83867 6.22607 5.81377 6.19327 5.77985 6.17303C5.74575 6.1528 5.70518 6.14671 5.66665 6.15612C5.62812 6.16552 5.59487 6.18966 5.57407 6.22331C5.5531 6.25698 5.54628 6.29751 5.55498 6.33616C6.13258 8.70454 8.43533 10.8982 10.1173 12.3422C10.1323 12.3551 10.1499 12.365 10.1688 12.3712C10.1876 12.3774 10.2075 12.3798 10.2273 12.3783C10.2471 12.3768 10.2665 12.3714 10.2842 12.3624ZM17.5334 16.0012C17.5602 15.9797 17.579 15.9497 17.5865 15.9162C17.5907 15.8968 17.5912 15.8767 17.5878 15.8571C17.5844 15.8375 17.5771 15.8188 17.5663 15.802C17.5558 15.7852 17.5418 15.7707 17.5254 15.7593C17.5092 15.7479 17.4908 15.7398 17.4714 15.7355C17.2828 15.6932 17.0878 15.6445 16.8917 15.5909C16.8532 15.581 16.8123 15.5865 16.778 15.6064C16.7436 15.6264 16.7184 15.6591 16.708 15.6974C16.6974 15.7358 16.7025 15.7767 16.7219 15.8114C16.7414 15.8461 16.7738 15.8717 16.8119 15.8826C17.0123 15.9375 17.2122 15.9873 17.4059 16.0308C17.4168 16.0332 17.4279 16.0344 17.439 16.0344C17.4733 16.0344 17.5067 16.0226 17.5334 16.0012ZM19.3281 16.2679C19.5939 16.2693 19.8595 16.2496 20.1223 16.209C20.1422 16.2062 20.1615 16.1993 20.1787 16.189C20.1961 16.1787 20.2111 16.1651 20.2232 16.1489C20.2351 16.1327 20.2436 16.1143 20.2484 16.0947C20.2532 16.0752 20.254 16.0548 20.2508 16.0349C20.2476 16.0151 20.2404 15.996 20.2298 15.9789C20.2191 15.9618 20.2051 15.9471 20.1887 15.9354C20.1722 15.9238 20.1536 15.9156 20.134 15.9113C20.1142 15.907 20.094 15.9066 20.0742 15.9103C19.403 15.9971 18.7222 15.9769 18.0573 15.8503C18.0377 15.847 18.0178 15.8476 17.9984 15.8521C17.9791 15.8566 17.9607 15.8648 17.9447 15.8763C17.9285 15.8879 17.9146 15.9025 17.9041 15.9194C17.8937 15.9362 17.8865 15.955 17.8833 15.9745C17.88 15.9941 17.8805 16.0142 17.8852 16.0335C17.8896 16.0529 17.8978 16.0712 17.9094 16.0873C17.921 16.1035 17.9354 16.1172 17.9523 16.1277C17.9692 16.1382 17.988 16.1453 18.0076 16.1486C18.4438 16.2244 18.8854 16.2643 19.3281 16.2679ZM19.254 15.1833C20.3843 15.2861 21.309 15.101 21.761 14.464C22.2339 13.8268 22.1106 12.9021 21.6384 11.8534C20.8371 9.98301 18.9256 7.78426 16.3363 5.93466C13.7674 4.08507 11.0748 2.99567 9.06101 2.81086C7.91023 2.72852 6.98501 2.91332 6.53305 3.55059C6.0811 4.18787 6.20436 5.11258 6.65631 6.16073C7.45759 8.03146 9.36822 10.2099 11.9584 12.0595C14.5486 13.9091 17.2194 15.0188 19.254 15.1833Z"})]}))},Swap:function(e){var t=A(e,[]);return(0,jn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,jn.jsx)("path",{d:"M16 17.01V10H14V17.01H11L15 21L19 17.01H16ZM9 3L5 6.99H8V14H10V6.99H13L9 3ZM16 17.01V10H14V17.01H11L15 21L19 17.01H16ZM9 3L5 6.99H8V14H10V6.99H13L9 3Z"})}))},Sword:function(e){var t=A(e,[]);return(0,Fn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Fn.jsx)("path",{d:"M6.92 5H5L14 14L15 13.06M19.96 19.12L19.12 19.96C19.0275 20.0527 18.9176 20.1262 18.7966 20.1764C18.6757 20.2266 18.546 20.2524 18.415 20.2524C18.284 20.2524 18.1543 20.2266 18.0334 20.1764C17.9124 20.1262 17.8025 20.0527 17.71 19.96L14.59 16.84L11.91 19.5L10.5 18.09L11.92 16.67L3 7.75V3H7.75L16.67 11.92L18.09 10.5L19.5 11.91L16.83 14.58L19.95 17.7C20.35 18.1 20.35 18.73 19.96 19.12Z"})}))},Telegram:function(e){var t=A(e,[]);return(0,Bn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Bn.jsx)("path",{fillRule:"evenodd",d:"M16.852 21.1304C17.1471 21.3393 17.5275 21.3916 17.8667 21.2633C18.2059 21.134 18.4552 20.8444 18.5304 20.4933C19.3269 16.7497 21.2592 7.27433 21.9843 3.86899C22.0393 3.61233 21.9476 3.34559 21.746 3.17418C21.5443 3.00276 21.2647 2.95326 21.0154 3.04585C17.1719 4.46848 5.33524 8.90963 0.497187 10.6998C0.19011 10.8135 -0.00971841 11.1087 0.000364691 11.4322C0.0113644 11.7567 0.229526 12.0381 0.543936 12.1326C2.71364 12.7815 5.56165 13.6844 5.56165 13.6844C5.56165 13.6844 6.89262 17.7039 7.58653 19.7481C7.67361 20.0047 7.87435 20.2064 8.13926 20.276C8.40326 20.3448 8.68558 20.2724 8.88266 20.0863C9.9973 19.034 11.7206 17.4069 11.7206 17.4069C11.7206 17.4069 14.9949 19.8076 16.852 21.1304ZM6.75971 13.1766L8.29876 18.253L8.64067 15.0383C8.64067 15.0383 14.587 9.67503 17.9767 6.61802C18.0757 6.52818 18.0895 6.37785 18.007 6.27244C17.9254 6.16703 17.775 6.14228 17.6623 6.21377C13.7336 8.72263 6.75971 13.1766 6.75971 13.1766Z"})}))},ThemeDark:function(e){var t=A(e,[]);return(0,Hn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Hn.jsx)("path",{d:"M12 3C7.03 3 3 7.03 3 12C3 16.97 7.03 21 12 21C16.97 21 21 16.97 21 12C21 11.54 20.96 11.08 20.9 10.64C19.92 12.01 18.32 12.9 16.5 12.9C13.52 12.9 11.1 10.48 11.1 7.5C11.1 5.69 11.99 4.08 13.36 3.1C12.92 3.04 12.46 3 12 3Z"})}))},ThemeLight:function(e){var t=A(e,[]);return(0,Dn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Dn.jsx)("path",{d:"M12 7C9.24 7 7 9.24 7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7ZM2 13H4C4.55 13 5 12.55 5 12C5 11.45 4.55 11 4 11H2C1.45 11 1 11.45 1 12C1 12.55 1.45 13 2 13ZM20 13H22C22.55 13 23 12.55 23 12C23 11.45 22.55 11 22 11H20C19.45 11 19 11.45 19 12C19 12.55 19.45 13 20 13ZM11 2V4C11 4.55 11.45 5 12 5C12.55 5 13 4.55 13 4V2C13 1.45 12.55 1 12 1C11.45 1 11 1.45 11 2ZM11 20V22C11 22.55 11.45 23 12 23C12.55 23 13 22.55 13 22V20C13 19.45 12.55 19 12 19C11.45 19 11 19.45 11 20ZM5.99 4.58C5.6 4.19 4.96 4.19 4.58 4.58C4.19 4.97 4.19 5.61 4.58 5.99L5.64 7.05C6.03 7.44 6.67 7.44 7.05 7.05C7.43 6.66 7.44 6.02 7.05 5.64L5.99 4.58ZM18.36 16.95C17.97 16.56 17.33 16.56 16.95 16.95C16.56 17.34 16.56 17.98 16.95 18.36L18.01 19.42C18.4 19.81 19.04 19.81 19.42 19.42C19.81 19.03 19.81 18.39 19.42 18.01L18.36 16.95ZM19.42 5.99C19.81 5.6 19.81 4.96 19.42 4.58C19.03 4.19 18.39 4.19 18.01 4.58L16.95 5.64C16.56 6.03 16.56 6.67 16.95 7.05C17.34 7.43 17.98 7.44 18.36 7.05L19.42 5.99ZM7.05 18.36C7.44 17.97 7.44 17.33 7.05 16.95C6.66 16.56 6.02 16.56 5.64 16.95L4.58 18.01C4.19 18.4 4.19 19.04 4.58 19.42C4.97 19.8 5.61 19.81 5.99 19.42L7.05 18.36Z"})}))},Twitter:function(e){var t=A(e,[]);return(0,Gn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Gn.jsx)("path",{d:"M23.5014 6.25876C23.1558 6.41205 22.8004 6.54143 22.4374 6.64646C22.8672 6.16033 23.195 5.58833 23.395 4.9624C23.4399 4.8221 23.3934 4.66852 23.2781 4.57676C23.1629 4.48493 23.0028 4.47393 22.876 4.54908C22.105 5.0064 21.2731 5.33505 20.4008 5.52723C19.5222 4.66867 18.3288 4.18005 17.0951 4.18005C14.4909 4.18005 12.3723 6.29865 12.3723 8.90273C12.3723 9.10783 12.3853 9.31179 12.4109 9.51291C9.17944 9.22918 6.17518 7.64086 4.11215 5.11023C4.03863 5.02003 3.92536 4.97141 3.8094 4.98071C3.69337 4.98979 3.58912 5.05523 3.5305 5.15579C3.11208 5.87376 2.89087 6.69493 2.89087 7.53043C2.89087 8.6684 3.29716 9.7481 4.01485 10.5918C3.79663 10.5162 3.58486 10.4217 3.38275 10.3095C3.27424 10.2491 3.14181 10.25 3.03401 10.3119C2.92614 10.3737 2.85851 10.4874 2.85567 10.6116C2.85517 10.6326 2.85517 10.6535 2.85517 10.6747C2.85517 12.3733 3.76938 13.9026 5.16708 14.7361C5.04701 14.7241 4.927 14.7067 4.80777 14.684C4.68486 14.6605 4.55846 14.7035 4.47557 14.7973C4.39254 14.891 4.36508 15.0216 4.40333 15.1408C4.92068 16.756 6.25267 17.9441 7.86293 18.3063C6.52739 19.1428 5.0001 19.5809 3.3968 19.5809C3.06226 19.5809 2.7258 19.5613 2.39651 19.5223C2.23293 19.5029 2.07652 19.5995 2.02081 19.755C1.9651 19.9106 2.02414 20.0842 2.16331 20.1734C4.223 21.494 6.6046 22.192 9.0505 22.192C13.8588 22.192 16.8668 19.9246 18.5434 18.0225C20.6341 15.6507 21.8332 12.5113 21.8332 9.40937C21.8332 9.27978 21.8312 9.14892 21.8272 9.01848C22.6521 8.39702 23.3622 7.6449 23.9401 6.78045C24.0279 6.64916 24.0184 6.47564 23.9167 6.35478C23.8151 6.23385 23.6459 6.19475 23.5014 6.25876Z"})}))},UniSwap:function(e){var t=A(e,[]);return(0,qn.jsxs)(gt,M(L({},t),{"data-variant":"regular",children:[(0,qn.jsx)("path",{d:"M10.1734 5.4613C9.91338 5.42415 9.90099 5.41176 10.0248 5.39938C10.2601 5.36223 10.805 5.41177 11.1889 5.49845C12.0806 5.70898 12.8855 6.25387 13.74 7.20743L13.9629 7.46749L14.2849 7.41795C15.6595 7.19504 17.0713 7.36842 18.2477 7.91331C18.5697 8.06192 19.0775 8.35913 19.1394 8.43343C19.1641 8.4582 19.2013 8.61919 19.2261 8.78018C19.3128 9.36222 19.2756 9.79566 19.0898 10.13C18.9908 10.3158 18.9908 10.3653 19.0527 10.5263C19.1022 10.6501 19.2508 10.7368 19.3871 10.7368C19.6843 10.7368 19.9939 10.2662 20.1425 9.6099L20.2044 9.34984L20.3159 9.47368C20.9474 10.1796 21.4428 11.1579 21.5171 11.8514L21.5419 12.0371L21.4304 11.8762C21.2446 11.5913 21.0713 11.4056 20.836 11.2446C20.4149 10.9597 19.9691 10.8731 18.7926 10.8111C17.7276 10.7492 17.1208 10.6625 16.5264 10.4644C15.5109 10.13 14.9908 9.69659 13.7895 8.09907C13.257 7.39319 12.9227 7.00929 12.5883 6.6873C11.8576 5.98142 11.127 5.60991 10.1734 5.4613Z"}),(0,qn.jsx)("path",{d:"M19.3994 7.03406C19.4242 6.56347 19.4861 6.25387 19.6224 5.96904C19.6719 5.85759 19.7214 5.75851 19.7338 5.75851C19.7462 5.75851 19.7214 5.8452 19.6843 5.94427C19.5852 6.21672 19.5728 6.60062 19.6347 7.03406C19.7214 7.59133 19.7586 7.66564 20.353 8.27245C20.6255 8.55728 20.9474 8.91641 21.0713 9.06502L21.2818 9.33746L21.0713 9.13932C20.8112 8.89164 20.2168 8.42105 20.0806 8.35913C19.9939 8.3096 19.9815 8.3096 19.9196 8.37152C19.87 8.42105 19.8577 8.49536 19.8577 8.85449C19.8453 9.41177 19.771 9.75852 19.5852 10.1177C19.4861 10.3034 19.4738 10.2663 19.5604 10.0557C19.6224 9.89474 19.6347 9.82044 19.6347 9.28793C19.6347 8.21053 19.5109 7.95047 18.7555 7.51703C18.5697 7.40557 18.2477 7.24458 18.062 7.1579C17.8638 7.07121 17.7152 6.9969 17.7276 6.9969C17.7524 6.97214 18.483 7.18266 18.7679 7.3065C19.2013 7.47988 19.2756 7.49226 19.3251 7.47988C19.3623 7.44273 19.3871 7.34365 19.3994 7.03406Z"}),(0,qn.jsx)("path",{d:"M10.6812 8.87926C10.161 8.16099 9.82668 7.04644 9.90099 6.21672L9.92576 5.95666L10.0496 5.98142C10.2725 6.01858 10.6564 6.16718 10.8422 6.27864C11.3375 6.57585 11.5604 6.98452 11.771 8C11.8329 8.29721 11.9196 8.64396 11.9567 8.75542C12.0186 8.94118 12.2539 9.37461 12.4521 9.64706C12.5883 9.8452 12.5016 9.94427 12.192 9.9195C11.7214 9.86997 11.0898 9.43653 10.6812 8.87926Z"}),(0,qn.jsx)("path",{d:"M18.7679 14.2663C16.3159 13.2755 15.449 12.4211 15.449 10.9721C15.449 10.7616 15.4614 10.5882 15.4614 10.5882C15.4738 10.5882 15.5604 10.6625 15.6719 10.7492C16.1673 11.1455 16.7245 11.3189 18.2725 11.5418C19.1765 11.678 19.6967 11.7771 20.1673 11.9381C21.6657 12.4334 22.5945 13.4489 22.8174 14.8235C22.8793 15.2198 22.8422 15.9752 22.7431 16.3715C22.6564 16.6811 22.4087 17.2508 22.3468 17.2632C22.3344 17.2632 22.3097 17.2012 22.3097 17.1022C22.2849 16.582 22.0248 16.0867 21.5914 15.7028C21.0713 15.257 20.4025 14.9226 18.7679 14.2663Z"}),(0,qn.jsx)("path",{d:"M17.0341 14.6749C17.0094 14.4892 16.9474 14.2539 16.9103 14.1548L16.8484 13.969L16.9598 14.1053C17.1208 14.291 17.2446 14.5139 17.3561 14.8235C17.4428 15.0588 17.4428 15.1331 17.4428 15.517C17.4428 15.8885 17.4304 15.9752 17.3561 16.1858C17.2323 16.5201 17.0837 16.7554 16.836 17.0155C16.3902 17.4737 15.8081 17.7214 14.9784 17.8328C14.8298 17.8452 14.4087 17.8824 14.0372 17.9071C13.1084 17.9567 12.4892 18.0557 11.932 18.2539C11.8576 18.2786 11.7833 18.3034 11.771 18.291C11.7462 18.2663 12.1301 18.0433 12.4397 17.8947C12.8731 17.6842 13.3189 17.5728 14.2973 17.3994C14.7802 17.3251 15.2756 17.226 15.3994 17.1765C16.6255 16.7926 17.2323 15.839 17.0341 14.6749Z"}),(0,qn.jsx)("path",{d:"M18.1611 16.6687C17.8391 15.9628 17.7648 15.2941 17.9381 14.6625C17.9629 14.6006 17.9877 14.5387 18.0124 14.5387C18.0372 14.5387 18.1115 14.5759 18.1858 14.6254C18.3344 14.7245 18.644 14.8978 19.4366 15.3313C20.4397 15.8762 21.0094 16.2972 21.4056 16.7802C21.7524 17.2012 21.9629 17.6842 22.062 18.2786C22.1239 18.613 22.0868 19.418 22.0001 19.7523C21.7276 20.805 21.1084 21.6471 20.2044 22.13C20.0682 22.2043 19.9567 22.2539 19.9443 22.2539C19.932 22.2539 19.9815 22.13 20.0558 21.9814C20.353 21.3498 20.3902 20.743 20.1673 20.0619C20.031 19.6409 19.7462 19.1331 19.1765 18.2786C18.4954 17.2879 18.3344 17.0279 18.1611 16.6687Z"}),(0,qn.jsx)("path",{d:"M8.93505 20.4582C9.85146 19.6904 10.9784 19.1455 12.0186 18.9721C12.4645 18.8978 13.2075 18.9226 13.6162 19.0341C14.2725 19.2074 14.8669 19.5789 15.1765 20.0372C15.4737 20.483 15.61 20.8669 15.7462 21.7214C15.7957 22.0557 15.8576 22.4025 15.87 22.4768C15.9691 22.9226 16.1672 23.2693 16.4149 23.4551C16.7988 23.7399 17.4675 23.7523 18.1239 23.5046C18.2354 23.4675 18.3344 23.4303 18.3344 23.4427C18.3592 23.4675 18.0248 23.6904 17.8019 23.8019C17.4923 23.9628 17.2446 24.0124 16.9103 24.0124C16.3158 24.0124 15.8081 23.7028 15.3994 23.0836C15.3128 22.9597 15.1394 22.6006 14.9908 22.2663C14.5573 21.2632 14.3344 20.9659 13.8267 20.6316C13.3809 20.3467 12.8112 20.2848 12.3778 20.4954C11.8081 20.7678 11.6595 21.4984 12.0558 21.9443C12.2168 22.13 12.514 22.2786 12.7617 22.3158C13.2199 22.3777 13.6162 22.0186 13.6162 21.5604C13.6162 21.2632 13.5047 21.0898 13.2075 20.9536C12.8112 20.7802 12.3778 20.9783 12.3902 21.3622C12.3902 21.5232 12.4645 21.6223 12.6254 21.6966C12.7245 21.7461 12.7245 21.7461 12.6502 21.7337C12.2911 21.6594 12.2044 21.2136 12.4892 20.9288C12.836 20.582 13.5666 20.7306 13.8143 21.2136C13.9134 21.4118 13.9258 21.808 13.8391 22.0557C13.6285 22.6006 13.0341 22.8854 12.4273 22.7245C12.0186 22.613 11.8453 22.5015 11.3499 21.9938C10.483 21.1022 10.1487 20.9288 8.91028 20.743L8.67499 20.7059L8.93505 20.4582Z"}),(0,qn.jsx)("path",{fillRule:"evenodd",d:"M2.42112 0.532508C5.30656 4.03715 9.75239 9.48607 9.9753 9.78328C10.1611 10.031 10.0868 10.2663 9.77715 10.4396C9.60378 10.5387 9.24465 10.6378 9.07127 10.6378C8.87313 10.6378 8.63783 10.5387 8.47684 10.3777C8.36539 10.2663 7.88242 9.56037 6.79263 7.86378C5.96291 6.56347 5.25703 5.48607 5.24464 5.47368C5.19511 5.44892 5.19511 5.44892 6.70595 8.14861C7.65951 9.8452 7.9691 10.452 7.9691 10.5263C7.9691 10.6873 7.91957 10.774 7.72143 10.9969C7.38706 11.3684 7.23845 11.7895 7.127 12.6687C7.00316 13.6471 6.66879 14.3406 5.71523 15.517C5.15796 16.2105 5.07127 16.3344 4.93505 16.6192C4.76167 16.9659 4.71214 17.1641 4.68737 17.6099C4.6626 18.0805 4.71214 18.3777 4.84836 18.8235C4.9722 19.2198 5.10842 19.4799 5.44279 19.9876C5.72762 20.4334 5.90099 20.7678 5.90099 20.8916C5.90099 20.9907 5.92576 20.9907 6.37158 20.8916C7.4366 20.644 8.31585 20.2229 8.79882 19.7028C9.09604 19.3808 9.17034 19.2074 9.17034 18.7616C9.17034 18.4768 9.15796 18.4149 9.08365 18.2415C8.95982 17.969 8.72452 17.7461 8.21678 17.3994C7.54805 16.9412 7.26322 16.5697 7.18892 16.0743C7.127 15.6532 7.2013 15.3684 7.57282 14.5882C7.95672 13.7833 8.05579 13.4489 8.11771 12.6316C8.15486 12.1115 8.21678 11.9009 8.36539 11.7399C8.52638 11.5666 8.6626 11.5046 9.0465 11.4551C9.67808 11.3684 10.0868 11.2074 10.4087 10.8978C10.6936 10.6378 10.8174 10.3777 10.8298 9.99381L10.8422 9.70898L10.6812 9.5356C10.0991 8.86687 2.03721 0 2.00006 0C1.98768 0 2.18582 0.235294 2.42112 0.532508ZM6.22297 18.1424C6.3592 17.9071 6.28489 17.6099 6.06198 17.4613C5.85146 17.3251 5.52947 17.387 5.52947 17.5728C5.52947 17.6223 5.55424 17.6718 5.62855 17.6966C5.74 17.7585 5.75238 17.8204 5.6657 17.9567C5.57901 18.0929 5.57901 18.2167 5.69047 18.3034C5.86384 18.4396 6.09913 18.3653 6.22297 18.1424Z"}),(0,qn.jsx)("path",{fillRule:"evenodd",d:"M11.2384 11.6285C10.9412 11.7152 10.6564 12.0372 10.5697 12.3592C10.5202 12.5573 10.5449 12.9165 10.6316 13.0279C10.7679 13.2013 10.8917 13.2508 11.2384 13.2508C11.9196 13.2508 12.5016 12.9536 12.5635 12.5945C12.6254 12.2973 12.3654 11.8886 12.0062 11.7028C11.8205 11.6038 11.4366 11.5666 11.2384 11.6285ZM12.031 12.2477C12.1301 12.0991 12.0929 11.9381 11.9072 11.8267C11.5728 11.6162 11.0651 11.7895 11.0651 12.1115C11.0651 12.2725 11.3251 12.4459 11.5728 12.4459C11.7338 12.4459 11.9567 12.3468 12.031 12.2477Z"})]}))},Unity:function(e){var t=A(e,[]);return(0,Kn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Kn.jsx)("path",{d:"M9.52 17H6.91L2 12L6.91 7H9.52L10.83 4.74L17.62 3L19.49 9.74L18.18 12L19.49 14.26L17.62 21L10.83 19.26L9.52 17ZM9.66 16.75L14.79 18.13L11.83 13H5.91L9.66 16.75ZM16.53 17.13L17.91 12L16.53 6.87L13.56 12L16.53 17.13ZM9.66 7.25L5.91 11H11.83L14.79 5.87L9.66 7.25Z"})}))},ViewGrid:function(e){var t=A(e,[]);return(0,Qn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Qn.jsx)("path",{d:"M4 8H8V4H4V8ZM10 20H14V16H10V20ZM4 20H8V16H4V20ZM4 14H8V10H4V14ZM10 14H14V10H10V14ZM16 4V8H20V4H16ZM10 8H14V4H10V8ZM16 14H20V10H16V14ZM16 20H20V16H16V20Z"})}))},WalletConnect:function(e){var t=A(e,[]);return(0,Xn.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,Xn.jsx)("path",{d:"M3.9 12C3.9 10.29 5.29 8.9 7 8.9H11V7H7C4.24 7 2 9.24 2 12C2 14.76 4.24 17 7 17H11V15.1H7C5.29 15.1 3.9 13.71 3.9 12ZM8 13H16V11H8V13ZM17 7H13V8.9H17C18.71 8.9 20.1 10.29 20.1 12C20.1 13.71 18.71 15.1 17 15.1H13V17H17C19.76 17 22 14.76 22 12C22 9.24 19.76 7 17 7Z"})}))},YouTube:function(e){var t=A(e,[]);return(0,$n.jsx)(gt,M(L({},t),{"data-variant":"regular",children:(0,$n.jsx)("path",{fillRule:"evenodd",d:"M21.3475 4.50286C22.3814 4.77937 23.1879 5.58894 23.4674 6.6228C24.1987 9.57228 24.1511 15.1486 23.4828 18.1442C23.2063 19.1781 22.3967 19.9846 21.3629 20.2641C18.4441 20.9861 5.37116 20.897 2.62139 20.2641C1.58753 19.9876 0.781033 19.1781 0.501447 18.1442C-0.188301 15.333 -0.140679 9.38793 0.486085 6.63816C0.762599 5.6043 1.57217 4.79781 2.60602 4.51822C6.50794 3.70404 19.9588 3.96673 21.3475 4.50286ZM9.6725 8.78885L15.9401 12.3835L9.6725 15.9782V8.78885Z"})}))}},rr=L(L({},tr),nr),ir=function(e){var t=e,n=t.icon,r=A(t,["icon"]),i=rr[n];return(0,er.jsx)(i,L({},r))};ir.displayName="Icon";var ar=n(5535),or=T(n(3681)),sr=T(n(3681)),ur=T(n(3681)),lr=T(n(3681));function cr(e){return"object"===typeof e&&null!==e&&"_error"in e}var fr={heading:"medium",body:"medium",caption:"medium"},dr={heading:"regular",body:"regular",caption:"regular"};function hr(e){var t,n,r=e.size,i=e.weight,a=e.tokenTextComponent,o=e.themeProps,s=Array.isArray(r)?c(r):[r],u=Array.isArray(i)?c(i):[i],l=null!=(t=s.shift())?t:fr[a],f=null!=(n=u.shift())?n:dr[a],h=lr.default.apply(void 0,c(s.map((function(e,t){var n;if(null!=e&&!cr(e)){var r="@media screen and (min-width: ".concat(null==(n=o.base.breakpointAsArray)?void 0:n[t],"px)");return d({},r,{fontSize:o.base.text[a][e].regular.fontSize,lineHeight:o.base.text[a][e].regular.lineHeight})}return{}})))),p=lr.default.apply(void 0,c(u.map((function(e,t){var n,r,i=null!=(n=s[t])?n:l;if(null!=e&&!cr(i)&&!cr(e)){var u="@media screen and (min-width: ".concat(null==(r=o.base.breakpointAsArray)?void 0:r[t],"px)");return d({},u,{fontWeight:o.base.text[a][i][e].fontWeight})}return{}})))),v=(0,lr.default)({},h,p);return{defaultSize:l,defaultWeight:f,styles:v}}function pr(e){var t=e.size,n=e.weight,r=e.themeProps,i=e.mono,a=hr({tokenTextComponent:"body",size:t,weight:n,themeProps:r}),o=a.defaultSize,s=a.defaultWeight,u=a.styles;return L({fontFamily:i?r.base.font.family.body.secondary:r.base.font.family.body.primary,fontSize:r.base.text.body[o].regular.fontSize,lineHeight:r.base.text.body[o].regular.lineHeight,fontWeight:r.base.text.body[o][s].fontWeight,textTransform:"none",letterSpacing:"unset"},u)}function vr(e){var t=e.size,n=e.weight,r=e.themeProps,i=hr({tokenTextComponent:"caption",size:t,weight:n,themeProps:r}),a=i.defaultSize,o=i.defaultWeight,s=i.styles;return L({fontFamily:r.base.font.family.body.primary,fontSize:r.base.text.caption[a].regular.fontSize,lineHeight:r.base.text.caption[a].regular.lineHeight,fontWeight:r.base.text.caption[a][o].fontWeight,textTransform:r.base.text.caption[a][o].casing,letterSpacing:r.base.text.caption[a][o].letterSpacing},s)}function mr(e){var t=e.size,n=e.weight,r=e.themeProps,i=hr({tokenTextComponent:"heading",size:t,weight:n,themeProps:r}),a=i.defaultSize,o=i.defaultWeight,s=i.styles;return L({fontFamily:r.base.font.family.heading.primary,fontSize:r.base.text.heading[a].regular.fontSize,lineHeight:r.base.text.heading[a].regular.lineHeight,fontWeight:r.base.text.heading[a][o].fontWeight,textTransform:"none",letterSpacing:"unset"},s)}var gr="medium",yr="primary",br={position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},Cr={position:"relative",display:"flex",justifyContent:"center",alignItems:"center",textDecoration:"none","&[disabled]":{cursor:"default"}},xr=function(e){return{height:e.base.spacing.x8,fontSize:e.base.text.body.xSmall.regular.fontSize,fontWeight:e.base.text.body.medium.bold.fontWeight,fontFamily:e.base.font.family.body.primary,borderRadius:e.base.borderRadius.x15,paddingLeft:e.base.spacing.x4,paddingRight:e.base.spacing.x4}},wr=function(e){return{height:e.base.spacing.x12,fontSize:e.base.text.body.medium.regular.fontSize,fontWeight:e.base.text.body.medium.bold.fontWeight,fontFamily:e.base.font.family.body.primary,borderRadius:e.base.borderRadius.x15,paddingLeft:e.base.spacing.x7,paddingRight:e.base.spacing.x7}},kr=function(e){return{height:e.base.spacing.x16,fontSize:e.base.text.body.medium.regular.fontSize,fontWeight:e.base.text.body.medium.bold.fontWeight,fontFamily:e.base.font.family.body.primary,borderRadius:e.base.borderRadius.x20,paddingLeft:e.base.spacing.x8,paddingRight:e.base.spacing.x8}},Er={background:"base.color.text.primary",color:"base.color.text.inverse.primary","&::before":{width:"100%",height:"100%",position:"absolute",top:0,left:0,background:"base.color.text.primary"}},Sr={color:"base.color.text.primary","&::before":{position:"absolute",border:function(e){return"solid ".concat(e.base.color.text.primary)},top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},Lr={color:"base.color.text.primary",background:"base.color.translucent.standard.100","&::before":{position:"absolute",border:function(e){return"solid ".concat(e.base.color.text.primary)},top:"50%",left:"50%",transform:"translate(-50%, -50%)"}};function Mr(e,t){return(0,ur.default)("small"===e?function(e){var t="calc(".concat(e.base.border.size[100]," + ").concat(e.base.border.size[200],")"),n="calc(".concat(e.base.border.size[200]," + ").concat(e.base.border.size[200],")");return M(L({},xr(e)),{"&:hover:not([disabled])":{background:"transparent",boxShadow:"inset 0 0 0 ".concat(e.base.border.size[200]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',background:"base.color.text.primary",clipPath:"inset(".concat(t," ").concat(t," ").concat(t," ").concat(t," round ").concat(e.base.borderRadius.x10,")")}},"&:active:not([disabled])":{background:"transparent",boxShadow:"inset 0 0 0 ".concat(e.base.border.size[200]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',clipPath:"inset(".concat(n," ").concat(n," ").concat(n," ").concat(n," round ").concat(e.base.borderRadius.x10,")")}}})}(t):"medium"===e?function(e){var t="calc(".concat(e.base.border.size[200]," + ").concat(e.base.border.size[300],")"),n="calc(".concat(e.base.border.size[300]," + ").concat(e.base.border.size[300],")");return M(L({},wr(e)),{"&:hover:not([disabled])":{background:"transparent",boxShadow:"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',clipPath:"inset(".concat(t," ").concat(t," ").concat(t," ").concat(t," round ").concat(e.base.borderRadius.x15,")")}},"&:active:not([disabled])":{background:"transparent",boxShadow:"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',clipPath:"inset(".concat(n," ").concat(n," ").concat(n," ").concat(n," round ").concat(e.base.borderRadius.x15,")")}}})}(t):function(e){var t="calc(".concat(e.base.border.size[200]," + ").concat(e.base.border.size[400],")"),n="calc(".concat(e.base.border.size[400]," + ").concat(e.base.border.size[400],")");return M(L({},kr(e)),{"&:hover:not([disabled])":{background:"transparent",boxShadow:"inset 0 0 0 ".concat(e.base.border.size[400]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',clipPath:"inset(".concat(t," ").concat(t," ").concat(t," ").concat(t," round ").concat(e.base.borderRadius.x20,")")}},"&:active:not([disabled])":{background:"transparent",boxShadow:"inset 0 0 0 ".concat(e.base.border.size[400]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',clipPath:"inset(".concat(n," ").concat(n," ").concat(n," ").concat(n," round ").concat(e.base.borderRadius.x20,")")}}})}(t))}function Ar(e,t){return(0,ur.default)("small"===e?function(e){var t="calc((".concat(e.base.border.size[100]," + ").concat(e.base.border.size[200],") * 2)"),n="calc((".concat(e.base.border.size[100]," + ").concat(e.base.border.size[200],") * 2)");return M(L({},xr(e)),{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[200]," ").concat(e.base.color.brand[1]),"&::before":{borderRadius:e.base.borderRadius.x15},"&:hover:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[200]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(t,")"),height:"calc(100% - ".concat(t,")"),borderWidth:e.base.border.size[100]}},"&:active:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[200]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(n,")"),height:"calc(100% - ".concat(n,")"),borderWidth:e.base.border.size[200]}}})}(t):"medium"===e?function(e){var t="calc((".concat(e.base.border.size[200]," + ").concat(e.base.border.size[300],") * 2)"),n="calc((".concat(e.base.border.size[200]," + ").concat(e.base.border.size[300],") * 2)");return M(L({},wr(e)),{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1]),"&::before":{borderRadius:e.base.borderRadius.x20},"&:hover:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(t,")"),height:"calc(100% - ".concat(t,")"),borderWidth:e.base.border.size[100]}},"&:active:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(n,")"),height:"calc(100% - ".concat(n,")"),borderWidth:e.base.border.size[300]}}})}(t):function(e){var t="calc((".concat(e.base.border.size[200]," + ").concat(e.base.border.size[400],") * 2)"),n="calc((".concat(e.base.border.size[200]," + ").concat(e.base.border.size[400],") * 2)");return M(L({},kr(e)),{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1]),"&::before":{borderRadius:e.base.borderRadius.x25},"&:hover:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[400]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(t,")"),height:"calc(100% - ".concat(t,")"),borderWidth:e.base.border.size[200]}},"&:active:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[400]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(n,")"),height:"calc(100% - ".concat(n,")"),borderWidth:e.base.border.size[400]}}})}(t))}function _r(e,t){return(0,ur.default)("small"===e?function(e){var t="calc((".concat(e.base.border.size[100]," + ").concat(e.base.border.size[200],") * 2)"),n="calc((".concat(e.base.border.size[100]," + ").concat(e.base.border.size[200],") * 2)");return M(L({},xr(e)),{"&::before":{borderRadius:e.base.borderRadius.x15},"&:hover:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[200]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(t,")"),height:"calc(100% - ".concat(t,")"),borderWidth:e.base.border.size[100]}},"&:active:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[200]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(n,")"),height:"calc(100% - ".concat(n,")"),borderWidth:e.base.border.size[200]}}})}(t):"medium"===e?function(e){var t="calc((".concat(e.base.border.size[200]," + ").concat(e.base.border.size[300],") * 2)"),n="calc((".concat(e.base.border.size[200]," + ").concat(e.base.border.size[300],") * 2)");return M(L({},wr(e)),{"&::before":{borderRadius:e.base.borderRadius.x20},"&:hover:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(t,")"),height:"calc(100% - ".concat(t,")"),borderWidth:e.base.border.size[100]}},"&:active:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(n,")"),height:"calc(100% - ".concat(n,")"),borderWidth:e.base.border.size[300]}}})}(t):function(e){var t="calc((".concat(e.base.border.size[200]," + ").concat(e.base.border.size[400],") * 2)"),n="calc((".concat(e.base.border.size[200]," + ").concat(e.base.border.size[400],") * 2)");return M(L({},kr(e)),{"&::before":{borderRadius:e.base.borderRadius.x25},"&:hover:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[400]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(t,")"),height:"calc(100% - ".concat(t,")"),borderWidth:e.base.border.size[200]}},"&:active:not([disabled])":{boxShadow:"inset 0 0 0 ".concat(e.base.border.size[400]," ").concat(e.base.color.brand[1]),"&::before":{content:'""',width:"calc(100% - ".concat(n,")"),height:"calc(100% - ".concat(n,")"),borderWidth:e.base.border.size[400]}}})}(t))}var Pr=function(e){var t=e.size,n=(e.variant,e.themeProps);return{width:"small"===t?n.base.spacing.x8:"medium"===t?n.base.spacing.x12:n.base.spacing.x16,paddingLeft:"0",paddingRight:"0"}},Tr=function(e){var t=e.variant,n=e.size,r=e.themeProps;return{width:"small"===n?r.base.icon.size[200]:"medium"===n?r.base.icon.size[250]:r.base.icon.size[300],fill:"primary"===t?r.base.color.brand[2]:r.base.color.brand[1]}};function Rr(e,t){var n={large:t.base.spacing.x1,medium:"3px",small:"2px"};return{alignSelf:"center",margin:"0 ".concat(n[e]),width:"small"===e?t.base.icon.size[100]:"large"===e?t.base.icon.size[250]:t.base.icon.size[200]}}function Ir(e,t){var n;if("primary"===e)n=t.base.color.text.inverse.primary;else n=t.base.color.text.primary;return{fill:n}}function Nr(e){var t=e.size,n=e.variant,r=e.themeProps,i=Array.isArray(t)?c(t):[t],a=i.shift(),o=ur.default.apply(void 0,c(i.map((function(e,t){var n;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(n=r.base.breakpointAsArray)?void 0:n[t],"px)");return d({},i,Rr(e,r))}return{}})))),s=Array.isArray(n)?c(n):[n],u=s.shift(),l=ur.default.apply(void 0,c(s.map((function(e,t){var n;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(n=r.base.breakpointAsArray)?void 0:n[t],"px)");return d({},i,Ir(e,r))}return{}}))));return{defaultSize:a,defaultVariant:u,styles:(0,ur.default)({},o,l)}}var Or=n(3767);function jr(e){var t=e,n=(t.children,t.sx),r=void 0===n?{}:n,i=t.iconVariant,a=t.variant,o=void 0===a?"primary":a,s=t.size,u=void 0===s?"medium":s,l=t.domRef,c=A(t,["children","sx","iconVariant","variant","size","domRef"]),f=X(),d=Nr({size:u,variant:o,themeProps:f}),h=d.defaultSize,p=d.defaultVariant,v=d.styles,m=(0,sr.default)(Rr(h,f),Ir(p,f),v,r);return(0,Or.jsx)(ir,M(L({},c),{sx:m,variant:i,domRef:l}))}jr.displayName="Button.Icon";var Fr=T(n(3681)),Vr=T(n(3681)),Br=n(3767);function Hr(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,Br.jsxs)(gt,M(L({},i),{viewBox:"0 0 48 48",sx:(0,Vr.default)({width:"100px",fill:"base.color.text.primary"},r),children:[(0,Br.jsx)("path",{d:"M31.8296 36.7844H16.2019C15.6514 36.7896 15.1054 36.6853 14.5958 36.4776C14.0863 36.2698 13.6235 35.9627 13.2345 35.5744C12.8455 35.186 12.5382 34.7242 12.3306 34.2159C12.1229 33.7077 12.0191 33.1632 12.0253 32.6145V19.2787H14.4918V32.6145C14.4864 32.8401 14.5269 33.0645 14.6109 33.2741C14.6949 33.4837 14.8205 33.6742 14.9803 33.8341C15.1401 33.994 15.3307 34.12 15.5407 34.2045C15.7506 34.2889 15.9755 34.3302 16.2019 34.3257H31.8296C32.0557 34.3302 32.2803 34.289 32.49 34.2044C32.6996 34.1198 32.8897 33.9937 33.049 33.8337C33.2083 33.6737 33.3333 33.4832 33.4165 33.2736C33.4998 33.064 33.5394 32.8398 33.5332 32.6145V21.4161H35.9997V32.6145C36.0067 33.1629 35.9037 33.7072 35.6968 34.2154C35.4899 34.7237 35.1832 35.1856 34.7948 35.574C34.4063 35.9624 33.9439 36.2696 33.4347 36.4775C32.9256 36.6853 32.3798 36.7897 31.8296 36.7844Z"}),(0,Br.jsx)("path",{d:"M32.6202 25.3097H16.1769C15.6264 25.315 15.0803 25.2107 14.5708 25.0029C14.0612 24.7952 13.5984 24.4881 13.2094 24.0997C12.8205 23.7114 12.5132 23.2496 12.3055 22.7413C12.0979 22.233 11.9941 21.6886 12.0003 21.1398V16.1701C11.9941 15.6213 12.0979 15.0769 12.3055 14.5686C12.5132 14.0604 12.8205 13.5985 13.2094 13.2102C13.5984 12.8218 14.0612 12.5148 14.5708 12.307C15.0803 12.0992 15.6264 11.9949 16.1769 12.0002H32.3242V16.8978H32.5939C33.0399 16.8943 33.4822 16.9795 33.8948 17.1485C34.3075 17.3174 34.6821 17.5667 34.997 17.8817C35.3118 18.1967 35.5604 18.5712 35.7282 18.9832C35.8961 19.3951 35.9799 19.8363 35.9746 20.281V21.9266C35.9798 22.369 35.8969 22.8081 35.7307 23.2183C35.5645 23.6286 35.3182 24.0018 35.0062 24.3165C34.6942 24.6312 34.3226 24.881 33.913 25.0515C33.5035 25.222 33.064 25.3098 32.6202 25.3097ZM25.247 22.8511H32.6202C32.7426 22.8558 32.8647 22.835 32.9787 22.7901C33.0926 22.7451 33.1959 22.677 33.282 22.59C33.368 22.503 33.4349 22.399 33.4783 22.2848C33.5218 22.1706 33.5409 22.0486 33.5344 21.9266V20.281C33.5409 20.159 33.5218 20.037 33.4783 19.9228C33.4349 19.8085 33.368 19.7046 33.282 19.6176C33.1959 19.5306 33.0926 19.4625 32.9787 19.4175C32.8647 19.3726 32.7426 19.3518 32.6202 19.3565H25.247V22.8511ZM16.2032 14.4785C15.9785 14.4741 15.7552 14.5148 15.5466 14.598C15.338 14.6813 15.1483 14.8055 14.9888 14.9633C14.8293 15.1211 14.7032 15.3092 14.618 15.5165C14.5329 15.7238 14.4904 15.9461 14.4931 16.1701V21.1202C14.4877 21.3458 14.5282 21.5702 14.6122 21.7798C14.6961 21.9894 14.8218 22.1799 14.9816 22.3398C15.1414 22.4997 15.332 22.6257 15.5419 22.7102C15.7519 22.7947 15.9768 22.8359 16.2032 22.8314H22.7805V16.8978H29.884V14.4785H16.2032Z"})]}))}Hr.displayName="GameStopSymbol";var Dr=T(n(3681)),zr=n(3767);function Ur(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,zr.jsxs)(gt,M(L({},i),{viewBox:"0 0 200 48",sx:(0,Dr.default)({width:"200px",fill:"base.color.brand.1"},r),children:[(0,zr.jsx)("path",{d:"M59.4,15.2h4.1v21.6h-4.1V15.2z M80,23.7c1.1-1.8,3-2.6,5-2.6h0c1.9,0,3.2,0.5,4.1,1.6c0.9,1.1,1.3,2.6,1.3,4.4\n\tv9.7h-4v-9.2c0-2-0.7-3.1-2.4-3.1H84c-1.8,0-3.3,1.6-3.3,3.8v8.6h-4v-9.2c0-2-0.8-3.1-2.4-3.1h-0.2c-1.8,0-3.3,1.6-3.3,3.8v8.6h-4\n\tV21.3h4v2.2c1-1.7,2.7-2.5,4.6-2.5C77.5,21,79.2,21.9,80,23.7L80,23.7z M111.4,21c-2,0-3.9,0.9-5,2.6c-0.8-1.8-2.5-2.6-4.7-2.6\n\tc-1.8,0-3.5,0.8-4.6,2.5v-2.2h-4v15.4h4v-8.6c0-2.1,1.4-3.8,3.3-3.8h0.2c1.6,0,2.4,1,2.4,3.1v9.2h4v-8.6c0-2.1,1.4-3.8,3.3-3.8h0.2\n\tc1.6,0,2.4,1,2.4,3.1v9.2h4V27c0-1.8-0.4-3.3-1.3-4.4C114.7,21.6,113.3,21,111.4,21L111.4,21L111.4,21z M141.4,24.6v7.1l0,0\n\tc0,1.4,0.3,1.7,1.7,1.7h2.2v3.4h-3.9c-2.6,0-4-1.4-4-4v-8.2H133v12.2h-4v-2.3c-0.9,1.6-2.6,2.6-4.5,2.6c-1.7,0-3-0.5-3.9-1.6\n\tc-0.9-1-1.3-2.5-1.3-4.3v-9.9h4v9.4c0,2,0.8,3.1,2.3,3.1h0.2c1.7,0,3.1-1.8,3.1-3.9v-8.6h8.5v-5h4v5h3.4v3.2L141.4,24.6L141.4,24.6z\n\t M159.5,26.6c0-3.5-2.6-5.5-6.4-5.5s-6.2,2.1-6.6,5.1h4c0.1-0.9,1-1.8,2.5-1.8h0.2c1.5,0,2.4,1.1,2.4,2.5v0.4l-3.9,0.3\n\tc-1.6,0.1-3,0.6-4,1.5c-1,0.8-1.6,2-1.6,3.6c0,2.7,2.3,4.6,5,4.5c1.9,0,3.6-0.8,4.5-2.2c0,0.8,0.1,1.4,0.2,1.9h3.7\n\tc-0.1-0.7-0.1-1.8-0.1-3.4L159.5,26.6L159.5,26.6L159.5,26.6z M155.6,30.5c0,1.9-1.6,3.4-3.4,3.4H152c-1.1,0-1.9-0.6-1.9-1.6\n\tc0-0.6,0.2-1,0.7-1.3c0.4-0.3,1-0.5,1.6-0.5l3.3-0.3V30.5C155.6,30.5,155.6,30.5,155.6,30.5z M166.2,23.3c0.6-1.1,2.4-2.3,4.4-2.3\n\tl0,0c4.3-0.1,6.8,3.8,6.8,8c0.1,4.2-2.5,8.1-6.8,8c-2,0-3.7-1.2-4.4-2.3v2h-4V15.2h4V23.3L166.2,23.3z M169.7,33.8h0.2\n\tc2,0,3.5-1.9,3.5-4.8s-1.5-4.7-3.5-4.7h-0.2c-1.8,0-3.5,1.9-3.5,4.8C166.1,31.9,167.8,33.9,169.7,33.8z M183.3,15.2h-4v21.6h4V15.2\n\tL183.3,15.2z M185.3,29.1c0-4.6,2.8-8.1,7.3-8l0,0c4.5,0,7,3.3,7,7.8c0,0.3,0,0.8-0.1,1.4h-10.3c0.1,2.1,1.8,3.5,3.4,3.5h0.2\n\tc1.4,0,2.4-0.8,2.7-1.9h3.9c-0.8,3.1-3.2,5.2-6.9,5.2C188.8,37.1,185.2,34,185.3,29.1L185.3,29.1z M192.3,24.3c-1.7,0-3.1,1.1-3.1,3\n\th6.5c-0.1-1.8-1.5-3-3.1-3H192.3L192.3,24.3z"}),(0,zr.jsx)("path",{d:"M24,0C10.8,0,0,10.8,0,24s10.8,24,24,24s24-10.8,24-24S37.2,0,24,0z M23.1,9.2c0.7-0.3,1.4-0.3,2,0.1\n\tc2.2,1.3,4.5,2.6,6.7,3.9c0.7,0.4,1.1,1.1,1.1,1.9c0,2.9,0,5.8,0,8.7c0,0.1-0.1,0.3-0.2,0.3c-0.9,0.5-1.7,1-2.7,1.5v-0.5\n\tc0-3,0-6,0-9c0-0.6-0.2-0.9-0.7-1.2c-2.6-1.5-5.2-3-7.8-4.5c-0.1-0.1-0.2-0.1-0.4-0.2C21.8,9.9,22.4,9.5,23.1,9.2L23.1,9.2L23.1,9.2\n\tz M22.6,38.8c-0.1-0.1-0.2-0.1-0.4-0.2c-3.4-2-6.9-4-10.3-5.9c-1-0.5-1.4-1.3-1.4-2.4c0-2.3,0-4.7,0-7c0-1.1,0.4-1.8,1.4-2.4\n\tc2.4-1.4,4.8-2.8,7.2-4.2c0.2-0.1,0.4-0.1,0.6,0c0.8,0.5,1.7,1,2.6,1.5c-0.2,0.1-0.3,0.2-0.4,0.2c-2.6,1.5-5.2,3-7.8,4.5\n\tc-0.4,0.2-0.6,0.6-0.6,1.1c0,1.9,0,3.7,0,5.5c0,0.5,0.2,0.8,0.6,1.1c2.8,1.6,5.5,3.2,8.2,4.8c0.2,0.1,0.3,0.3,0.3,0.5\n\tC22.6,36.9,22.6,37.8,22.6,38.8L22.6,38.8L22.6,38.8z M22.6,33.6c-0.2-0.1-0.4-0.2-0.6-0.3c-2.2-1.3-4.4-2.5-6.6-3.8\n\tc-0.2-0.1-0.3-0.3-0.3-0.5c0-1.4,0-2.8,0-4.3c0-0.2,0-0.3,0.2-0.4c0.8-0.5,1.6-0.9,2.4-1.4c0.1,0,0.1-0.1,0.2-0.1v1.6\n\tc0,0.9,0,1.7,0,2.6c0,0.5,0.2,0.8,0.6,1.1c1.2,0.7,2.5,1.4,3.7,2.1c0.2,0.1,0.3,0.3,0.3,0.6C22.6,31.6,22.6,32.5,22.6,33.6\n\tL22.6,33.6L22.6,33.6z M20.1,14.9c-0.5-0.3-0.9-0.3-1.3,0c-2.6,1.5-5.2,3-7.8,4.5c-0.1,0.1-0.2,0.1-0.4,0.2c0.1-1-0.1-1.9,0.2-2.8\n\tc0.2-0.5,0.5-0.9,1-1.1c2.2-1.2,4.3-2.5,6.5-3.8c0.8-0.5,1.6-0.4,2.4,0c2.5,1.4,4.9,2.8,7.4,4.3c0.1,0.1,0.2,0.2,0.2,0.3\n\tc0,1,0,2,0,3.1c-0.9-0.5-1.7-1-2.5-1.5C23.8,17.1,21.9,16,20.1,14.9L20.1,14.9L20.1,14.9z M37.4,30.9c-0.1,0.8-0.5,1.4-1.2,1.8\n\tc-2.7,1.5-5.3,3-7.9,4.6c-0.8,0.5-1.7,1-2.5,1.4c-0.1,0.1-0.2,0.1-0.3,0.2c0-0.1,0-0.2,0-0.3c0-0.9,0-1.8,0-2.6c0-0.2,0-0.3,0.2-0.4\n\tc3.9-2.2,7.7-4.4,11.6-6.7c0.1,0,0.1-0.1,0.2-0.1C37.5,29.4,37.5,30.2,37.4,30.9L37.4,30.9L37.4,30.9z M37.5,25.4\n\tc0,0.9-0.5,1.5-1.3,2c-3,1.7-6,3.5-9,5.2c-0.5,0.3-1.1,0.6-1.7,1c0-0.2,0-0.2,0-0.3c0-0.9,0-1.7,0-2.6c0-0.2,0.1-0.4,0.3-0.5\n\tc2.7-1.6,5.5-3.2,8.2-4.7c0.5-0.3,0.7-0.6,0.7-1.2c0-3,0-6,0-8.9v-0.5c0.7,0.4,1.4,0.8,2,1.2c0.6,0.4,0.8,1,0.8,1.7\n\tC37.5,20.2,37.5,22.8,37.5,25.4L37.5,25.4L37.5,25.4z"})]}))}Ur.displayName="ImmutableHorizontalLockup";var Zr=T(n(3681)),Wr={width:"32px",fill:"base.color.brand.1"},Gr=n(3767);function qr(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,Gr.jsx)(ir,M(L({},i),{icon:"Immutable",sx:(0,Zr.default)(Wr,r),variant:"bold"}))}qr.displayName="ImmutableSymbol";var Kr=T(n(3681)),Qr=n(3767);function Yr(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,Qr.jsxs)(gt,M(L({},i),{viewBox:"0 0 123 96",sx:(0,Kr.default)({width:"123px",fill:"base.color.brand.1"},r),children:[(0,Qr.jsx)("path",{d:"m62,0c-16.57,0-30,13.43-30,30s13.43,30,30,30,30-13.43,30-30S78.57,0,62,0Zm-1.16,11.46c.83-.41,1.71-.38,2.52.08,2.8,1.6,5.59,3.21,8.37,4.83.89.53,1.35,1.37,1.36,2.4.02,3.63.01,7.25,0,10.88,0,.13-.09.33-.2.39-1.08.64-2.17,1.26-3.35,1.94v-.57c0-3.73-.01-7.46,0-11.19,0-.72-.24-1.18-.88-1.54-3.25-1.85-6.49-3.73-9.73-5.6-.14-.08-.28-.17-.49-.3.83-.47,1.58-.95,2.38-1.34h0Zm-.6,37.1c-.18-.09-.32-.16-.45-.23-4.29-2.47-8.58-4.97-12.88-7.42-1.21-.69-1.76-1.67-1.74-3.05.03-2.93.02-5.86,0-8.79,0-1.32.53-2.28,1.69-2.94,3.02-1.72,6.03-3.46,9.03-5.21.26-.15.45-.18.72-.01,1.04.62,2.09,1.22,3.2,1.86-.21.13-.37.22-.53.32-3.25,1.88-6.5,3.76-9.77,5.63-.53.3-.78.7-.78,1.32.02,2.31.02,4.62,0,6.93,0,.64.25,1.04.8,1.36,3.44,1.97,6.87,3.96,10.31,5.93.29.17.41.34.41.69-.03,1.18,0,2.37,0,3.63h0Zm0-6.62c-.3-.17-.51-.29-.73-.42-2.73-1.57-5.45-3.15-8.19-4.72-.3-.17-.41-.35-.4-.69.02-1.78.01-3.55,0-5.33,0-.24.04-.41.27-.54,1.01-.56,2-1.15,3-1.72.07-.04.15-.07.28-.14v1.99c0,1.08.02,2.16,0,3.24-.01.62.22,1.03.76,1.33,1.55.87,3.07,1.78,4.62,2.65.3.17.4.36.39.7-.02,1.18,0,2.36,0,3.64h0Zm-3.15-23.3c-.58-.34-1.07-.34-1.65,0-3.24,1.9-6.5,3.77-9.75,5.64-.14.08-.28.15-.52.29.09-1.24-.18-2.4.24-3.53.23-.62.66-1.08,1.23-1.41,2.71-1.57,5.43-3.14,8.15-4.7.99-.57,2-.56,3,.02,3.09,1.78,6.18,3.56,9.26,5.35.13.08.3.25.3.37.02,1.27.01,2.54.01,3.9-1.12-.65-2.16-1.24-3.19-1.84-2.36-1.36-4.72-2.71-7.07-4.09h0Zm21.71,19.96c-.08,1-.67,1.71-1.53,2.2-3.31,1.9-6.61,3.81-9.92,5.72-1.04.6-2.07,1.2-3.11,1.79-.13.07-.25.13-.43.22-.01-.17-.03-.3-.03-.42,0-1.1,0-2.19,0-3.29,0-.25.06-.4.29-.53,4.82-2.77,9.64-5.56,14.45-8.33.07-.04.15-.08.29-.14,0,.97.06,1.88-.01,2.77h0Zm.03-6.9c0,1.14-.62,1.93-1.59,2.49-3.77,2.17-7.54,4.34-11.3,6.52-.69.4-1.38.79-2.12,1.22-.01-.19-.03-.31-.03-.44,0-1.08.01-2.16,0-3.24,0-.31.1-.47.36-.62,3.42-1.97,6.84-3.95,10.27-5.91.61-.35.88-.77.87-1.49-.03-3.73-.01-7.46-.01-11.19v-.65c.89.54,1.73.98,2.5,1.53.7.49,1.05,1.24,1.05,2.11.01,3.23.02,6.45,0,9.68h0Z"}),(0,Qr.jsx)("path",{d:"m3.6,76.95H0v18.66h3.6v-18.66Z"}),(0,Qr.jsx)("path",{d:"m22.46,82.02c-1.79,0-3.43.74-4.41,2.29-.73-1.51-2.19-2.29-4.08-2.29-1.61,0-3.09.7-3.99,2.15v-1.89h-3.47v13.32h3.47v-7.4c0-1.86,1.27-3.25,2.87-3.25h.21c1.42,0,2.09.9,2.09,2.67v7.99h3.47v-7.4c0-1.86,1.25-3.25,2.86-3.25h.21c1.42,0,2.06.9,2.06,2.67v7.99h3.47v-8.39c0-1.58-.38-2.84-1.13-3.79-.77-.94-1.97-1.41-3.61-1.41h0Z"}),(0,Qr.jsx)("path",{d:"m45.53,82.02c-1.79,0-3.43.74-4.41,2.29-.73-1.51-2.19-2.29-4.08-2.29-1.61,0-3.09.7-3.99,2.15v-1.89h-3.47v13.32h3.47v-7.4c0-1.86,1.27-3.25,2.87-3.25h.21c1.42,0,2.09.9,2.09,2.67v7.99h3.47v-7.4c0-1.86,1.25-3.25,2.86-3.25h.21c1.42,0,2.06.9,2.06,2.67v7.99h3.47v-8.39c0-1.58-.38-2.84-1.13-3.79-.77-.94-1.97-1.41-3.61-1.41h0Z"}),(0,Qr.jsx)("path",{d:"m71.81,91.21v-6.13h2.99v-2.8h-2.99v-4.32h-3.47v4.32h-7.41v7.4c0,1.86-1.24,3.38-2.75,3.38h-.21c-1.27,0-1.98-.94-1.98-2.66v-8.13h-3.47v8.52c0,1.55.38,2.77,1.13,3.68.74.92,1.88,1.38,3.38,1.38,1.66,0,3.08-.85,3.9-2.21v1.95h3.47v-10.53h3.94v7.06c0,2.25,1.21,3.46,3.47,3.46h3.39v-2.93h-1.92c-1.23,0-1.47-.25-1.47-1.47h0Z"}),(0,Qr.jsx)("path",{d:"m87.58,86.81c0-3.07-2.24-4.79-5.61-4.79s-5.46,1.86-5.75,4.38h3.48c.08-.81.9-1.59,2.15-1.59h.22c1.28,0,2.14.92,2.14,2.12v.33l-3.36.3c-1.44.12-2.61.53-3.52,1.26-.91.73-1.37,1.77-1.37,3.12-.04,2.34,1.98,3.94,4.38,3.92,1.71,0,3.12-.73,3.95-1.89.03.7.08,1.25.16,1.63h3.26c-.09-.62-.13-1.6-.13-2.93v-5.87h0Zm-3.36,3.36c0,1.68-1.4,2.9-2.97,2.9h-.21c-.95,0-1.66-.53-1.66-1.35,0-.51.2-.88.59-1.16.39-.27.85-.43,1.36-.47l2.89-.3v.38Z"}),(0,Qr.jsx)("path",{d:"m97.29,82.02c-1.79,0-3.27,1.01-3.85,1.99v-7.06h-3.47v18.66h3.47v-1.73c.57.98,2.06,1.99,3.85,1.99,3.74.07,5.97-3.28,5.93-6.92.04-3.64-2.19-6.99-5.93-6.92Zm-.59,11.05h-.21c-1.59.04-3.08-1.68-3.05-4.12-.03-2.45,1.46-4.16,3.05-4.12h.21c1.75,0,3.05,1.6,3.05,4.1s-1.32,4.15-3.05,4.15Z"}),(0,Qr.jsx)("path",{d:"m108.43,76.95h-3.47v18.66h3.47v-18.66Z"}),(0,Qr.jsx)("path",{d:"m116.56,82.02c-3.91-.05-6.39,2.94-6.35,6.92-.07,4.25,3,6.98,6.35,6.92,3.27,0,5.39-1.82,6.04-4.48h-3.44c-.25.98-1.1,1.68-2.35,1.68h-.22c-1.45,0-2.88-1.25-3.01-3.03h9.03c.04-.57.05-.99.05-1.25.04-3.89-2.19-6.81-6.09-6.77Zm-2.99,5.35c.08-1.58,1.29-2.55,2.75-2.55h.21c1.46,0,2.68.98,2.75,2.55h-5.71Z"})]}))}Yr.displayName="ImmutableVerticalLockup";var Jr=T(n(3681)),Xr=n(3767);function $r(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,Xr.jsxs)(gt,M(L({},i),{viewBox:"0 0 48 48",sx:(0,Jr.default)({width:"100px",fill:"#6851FF"},r),children:[(0,Xr.jsx)("path",{d:"M24 9C25.3696 10.5901 26.8803 12.0668 28.5139 13.4129C27.4254 16.7594 26.8393 20.3149 26.8393 24C26.8393 27.6851 27.4254 31.2406 28.5139 34.5871C26.8803 35.9332 25.3696 37.4099 24 39C22.6303 37.4099 21.1197 35.9332 19.4861 34.5871C20.5746 31.2406 21.1606 27.6851 21.1606 24C21.1606 20.3149 20.5746 16.7594 19.4861 13.4129C21.1197 12.0668 22.6303 10.5901 24 9Z"}),(0,Xr.jsx)("path",{d:"M16.3637 32.2734C14.6346 31.1245 12.7994 30.1093 10.875 29.2433C11.4088 27.5848 11.696 25.8241 11.696 24C11.696 22.1758 11.4088 20.4153 10.875 18.7567C12.7994 17.8907 14.6346 16.8755 16.3637 15.7266C17.0249 18.3826 17.3748 21.1525 17.3748 24C17.3748 26.8474 17.0249 29.6173 16.3637 32.2734Z"}),(0,Xr.jsx)("path",{d:"M30.6252 24C30.6252 26.8474 30.9751 29.6173 31.6363 32.2734C33.3654 31.1245 35.2006 30.1093 37.125 29.2433C36.5911 27.5848 36.304 25.8241 36.304 24C36.304 22.1758 36.5911 20.4153 37.125 18.7567C35.2006 17.8907 33.3654 16.8754 31.6363 15.7266C30.9751 18.3826 30.6252 21.1525 30.6252 24Z"})]}))}$r.displayName="MagicSymbol";var ei=T(n(3681)),ti=n(3767);function ni(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,ti.jsxs)(gt,M(L({},i),{viewBox:"0 0 48 48",sx:(0,ei.default)({width:"100px"},r),children:[(0,ti.jsx)("path",{d:"M38.414 8.45703L25.9219 17.7351L28.232 12.2612L38.414 8.45703Z",fill:"#E2761B"}),(0,ti.jsx)("path",{d:"M38.4694 8.42732C38.4844 8.45479 38.4768 8.48907 38.4517 8.50771L25.9596 17.7858C25.9369 17.8027 25.9056 17.8023 25.8834 17.7848C25.8611 17.7673 25.8533 17.7371 25.8643 17.711L28.1744 12.2371C28.1811 12.2211 28.1941 12.2087 28.2103 12.2027L38.3923 8.39851C38.4216 8.38757 38.4545 8.39985 38.4694 8.42732ZM28.2796 12.3108L26.0695 17.5478L38.0209 8.67131L28.2796 12.3108Z",fill:"#E2761B"}),(0,ti.jsx)("path",{d:"M9.57608 8.45703L21.9678 17.823L19.7707 12.2612L9.57608 8.45703ZM33.9201 29.9636L30.593 35.0609L37.7117 37.0195L39.7581 30.0766L33.9201 29.9636ZM8.25781 30.0766L10.2917 37.0195L17.4104 35.0609L14.0833 29.9636L8.25781 30.0766Z",fill:"#E4761B"}),(0,ti.jsx)("path",{d:"M9.52133 8.4271C9.53633 8.39978 9.5691 8.38761 9.5983 8.3985L19.7929 12.2026C19.8096 12.2089 19.8228 12.2219 19.8293 12.2384L22.0265 17.8002C22.0368 17.8264 22.0285 17.8562 22.0061 17.8733C21.9837 17.8903 21.9527 17.8903 21.9302 17.8734L9.5385 8.50739C9.51364 8.4886 9.50633 8.45442 9.52133 8.4271ZM9.95707 8.66638L21.8275 17.6384L19.7228 12.3105L9.95707 8.66638ZM14.0824 29.9011C14.104 29.9007 14.1243 29.9115 14.1361 29.9296L17.4632 35.0269C17.4742 35.0437 17.4764 35.0647 17.4693 35.0834C17.4622 35.1022 17.4466 35.1164 17.4273 35.1217L10.3086 37.0803C10.2756 37.0894 10.2414 37.0703 10.2317 37.0374L8.19784 30.0945C8.19235 30.0758 8.19591 30.0555 8.20748 30.0398C8.21906 30.024 8.23732 30.0145 8.25687 30.0141L14.0824 29.9011ZM33.8678 29.9296C33.8796 29.9115 33.8999 29.9007 33.9216 29.9011L39.7596 30.0141C39.7792 30.0145 39.7975 30.024 39.809 30.0398C39.8206 30.0556 39.8241 30.0759 39.8186 30.0946L37.7722 37.0375C37.7625 37.0703 37.7283 37.0894 37.6953 37.0803L30.5766 35.1217C30.5573 35.1164 30.5417 35.1022 30.5346 35.0834C30.5275 35.0647 30.5298 35.0437 30.5407 35.0269L33.8678 29.9296ZM8.34142 30.1381L10.3349 36.9429L17.3111 35.0235L14.05 30.0273L8.34142 30.1381ZM33.9539 30.0273L30.6929 35.0235L37.6692 36.9429L39.6749 30.1381L33.9539 30.0273Z",fill:"#E4761B"}),(0,ti.jsx)("path",{d:"M17.0071 21.3506L15.0234 24.3512L22.0919 24.6651L21.8408 17.0693L17.0071 21.3506ZM30.9807 21.3506L26.0843 16.9814L25.9211 24.6651L32.977 24.3512L30.9807 21.3506ZM17.4089 35.0605L21.6524 32.989L17.9864 30.1265L17.4089 35.0605ZM26.3354 32.989L30.5915 35.0605L30.0015 30.1265L26.3354 32.989Z",fill:"#E4761B"}),(0,ti.jsx)("path",{d:"M26.0595 16.9242C26.082 16.9144 26.1081 16.9186 26.1264 16.9349L31.0228 21.304C31.0268 21.3076 31.0303 21.3116 31.0333 21.3161L33.0295 24.3167C33.0421 24.3355 33.0435 24.3597 33.0332 24.3799C33.023 24.4001 33.0027 24.4132 32.98 24.4142L25.9242 24.728C25.9068 24.7288 25.8899 24.7224 25.8775 24.7102C25.8651 24.6981 25.8583 24.6814 25.8586 24.664L26.0218 16.9804C26.0224 16.9559 26.0371 16.9339 26.0595 16.9242ZM26.1445 17.1193L25.9856 24.5996L32.8634 24.2937L30.9332 21.3923L26.1445 17.1193ZM21.8659 17.0119C21.8882 17.0216 21.903 17.0432 21.9038 17.0675L22.1549 24.6633C22.1555 24.6807 22.1487 24.6977 22.1363 24.71C22.1238 24.7223 22.1068 24.7288 22.0894 24.728L15.0209 24.4142C14.9983 24.4132 14.978 24.4001 14.9678 24.38C14.9575 24.3598 14.9589 24.3357 14.9713 24.3168L16.955 21.3162C16.958 21.3116 16.9617 21.3075 16.9658 21.3038L21.7994 17.0226C21.8176 17.0065 21.8435 17.0023 21.8659 17.0119ZM17.0552 21.3923L15.1372 24.2937L22.0272 24.5996L21.7827 17.2051L17.0552 21.3923ZM17.9625 30.0688C17.9834 30.0601 18.0074 30.0633 18.0253 30.0773L21.6913 32.9398C21.7084 32.9531 21.7174 32.9743 21.7151 32.9958C21.7129 33.0173 21.6997 33.0362 21.6803 33.0457L17.4367 35.1172C17.4161 35.1273 17.3916 35.1253 17.3728 35.112C17.3541 35.0988 17.3441 35.0763 17.3468 35.0535L17.9243 30.1194C17.927 30.0969 17.9415 30.0775 17.9625 30.0688ZM30.0259 30.0688C30.0468 30.0775 30.0614 30.0968 30.0641 30.1193L30.6542 35.0534C30.6569 35.0762 30.6469 35.0986 30.6282 35.112C30.6095 35.1253 30.585 35.1273 30.5643 35.1173L26.3082 33.0457C26.2888 33.0362 26.2755 33.0174 26.2733 32.9958C26.271 32.9743 26.28 32.9531 26.2971 32.9398L29.9631 30.0773C29.981 30.0633 30.0049 30.0601 30.0259 30.0688ZM18.036 30.2449L17.4849 34.954L21.5349 32.9769L18.036 30.2449ZM26.4536 32.9768L30.5158 34.954L29.9526 30.2447L26.4536 32.9768Z",fill:"#E4761B"}),(0,ti.jsx)("path",{d:"M30.5889 35.0608L26.3328 32.9893L26.6718 35.7639L26.6341 36.9315L30.5889 35.0608ZM17.4062 35.0608L21.3611 36.9315L21.3359 35.7639L21.6498 32.9893L17.4062 35.0608Z",fill:"#D7C1B3"}),(0,ti.jsx)("path",{d:"M26.2966 32.9384C26.3153 32.9251 26.3399 32.923 26.3605 32.9331L30.6167 35.0047C30.6384 35.0152 30.6521 35.0373 30.652 35.0614C30.6518 35.0856 30.6379 35.1075 30.616 35.1178L26.6612 36.9885C26.6415 36.9979 26.6183 36.9963 26.6 36.9843C26.5817 36.9723 26.571 36.9516 26.5717 36.9298L26.6092 35.767L26.2708 32.9971C26.268 32.9743 26.2779 32.9518 26.2966 32.9384ZM21.6863 32.9382C21.705 32.9515 21.715 32.9738 21.7125 32.9966L21.3991 35.767L21.4241 36.9304C21.4246 36.9522 21.4137 36.9726 21.3955 36.9845C21.3772 36.9963 21.3541 36.9978 21.3345 36.9885L17.3797 35.1178C17.3579 35.1075 17.3439 35.0856 17.3438 35.0615C17.3436 35.0374 17.3573 35.0153 17.379 35.0047L21.6226 32.9331C21.6431 32.9231 21.6676 32.925 21.6863 32.9382ZM26.4094 33.0965L26.7344 35.7566C26.7348 35.7598 26.7349 35.763 26.7348 35.7662L26.7005 36.8311L30.4441 35.0603L26.4094 33.0965ZM17.5514 35.0602L21.2964 36.8316L21.2735 35.7655C21.2734 35.7627 21.2735 35.7599 21.2738 35.7571L21.5749 33.0961L17.5514 35.0602Z",fill:"#D7C1B3"}),(0,ti.jsx)("path",{d:"M21.4233 28.2939L17.8828 27.2519L20.3812 26.1094L21.4233 28.2939ZM26.5583 28.2939L27.6003 26.1094L30.1113 27.2519L26.5583 28.2939Z",fill:"#233447"}),(0,ti.jsx)("path",{d:"M20.3554 26.0526C20.3866 26.0383 20.4234 26.0517 20.4382 26.0826L21.4802 28.2672C21.4909 28.2896 21.4874 28.3161 21.4713 28.3349C21.4553 28.3538 21.4296 28.3614 21.4059 28.3544L17.8654 27.3124C17.8402 27.305 17.8223 27.2828 17.8205 27.2566C17.8186 27.2305 17.8332 27.206 17.857 27.1951L20.3554 26.0526ZM27.5439 26.0826C27.5587 26.0517 27.5954 26.0384 27.6266 26.0525L30.1376 27.195C30.1615 27.2059 30.1761 27.2304 30.1742 27.2566C30.1723 27.2828 30.1544 27.305 30.1293 27.3124L26.5762 28.3545C26.5524 28.3614 26.5268 28.3538 26.5108 28.3349C26.4947 28.3161 26.4912 28.2895 26.5019 28.2672L27.5439 26.0826ZM27.6307 26.1923L26.6757 28.1944L29.932 27.2394L27.6307 26.1923ZM18.062 27.2394L21.3064 28.1943L20.3515 26.1924L18.062 27.2394Z",fill:"#233447"}),(0,ti.jsx)("path",{d:"M17.4052 35.0609L18.0078 29.9636L14.0781 30.0766L17.4052 35.0609ZM29.9852 29.9636L30.5879 35.0609L33.9149 30.0766L29.9852 29.9636ZM32.9733 24.3516L25.9174 24.6654L26.5703 28.2938L27.6123 26.1093L30.1233 27.2518L32.9733 24.3516ZM17.8823 27.2518L20.3933 26.1093L21.4228 28.2938L22.0882 24.6654L15.0197 24.3516L17.8823 27.2518Z",fill:"#CD6116"}),(0,ti.jsx)("path",{d:"M14.9627 24.3263C14.9731 24.3027 14.997 24.288 15.0228 24.2891L22.0912 24.603C22.1094 24.6038 22.1262 24.6124 22.1376 24.6266C22.1489 24.6408 22.1535 24.6592 22.1502 24.677L21.4848 28.3054C21.4799 28.3322 21.4582 28.3528 21.4311 28.3563C21.4041 28.3599 21.3779 28.3455 21.3662 28.3208L20.3631 26.1923L17.9085 27.3092C17.8846 27.3201 17.8564 27.3149 17.8379 27.2961L14.9753 24.3959C14.9572 24.3776 14.9522 24.3499 14.9627 24.3263ZM33.0309 24.3263C33.0414 24.3498 33.0364 24.3774 33.0183 24.3958L30.1684 27.296C30.1499 27.3148 30.1216 27.3201 30.0976 27.3092L27.6427 26.1922L26.6272 28.3211C26.6155 28.3457 26.5892 28.3599 26.5622 28.3563C26.5352 28.3527 26.5136 28.332 26.5088 28.3052L25.8559 24.6768C25.8527 24.659 25.8574 24.6407 25.8687 24.6265C25.88 24.6124 25.8968 24.6038 25.9149 24.603L32.9708 24.2891C32.9965 24.288 33.0204 24.3027 33.0309 24.3263ZM15.1771 24.4217L17.8964 27.1767L20.3675 26.0524C20.3988 26.0382 20.4357 26.0517 20.4503 26.0828L21.3965 28.0906L22.0137 24.7252L15.1771 24.4217ZM25.9922 24.7252L26.5978 28.0911L27.556 26.0825C27.5707 26.0516 27.6075 26.0382 27.6386 26.0524L30.1096 27.1767L32.817 24.4216L25.9922 24.7252ZM18.0544 29.9215C18.0667 29.935 18.0726 29.9531 18.0704 29.9713L17.4678 35.0686C17.4647 35.0947 17.4457 35.1161 17.4201 35.1222C17.3945 35.1284 17.3678 35.1179 17.3532 35.096L14.0262 30.1117C14.0135 30.0927 14.0121 30.0684 14.0226 30.0481C14.0331 30.0278 14.0538 30.0148 14.0766 30.0141L18.0063 29.9011C18.0245 29.9006 18.0421 29.9081 18.0544 29.9215ZM29.9392 29.9215C29.9515 29.9081 29.9691 29.9006 29.9873 29.9011L33.917 30.0141C33.9398 30.0148 33.9605 30.0278 33.971 30.0481C33.9814 30.0684 33.9801 30.0927 33.9674 30.1117L30.6403 35.096C30.6257 35.1179 30.5991 35.1284 30.5735 35.1222C30.5479 35.1161 30.5289 35.0947 30.5258 35.0686L29.9232 29.9713C29.921 29.9531 29.9269 29.935 29.9392 29.9215ZM14.1936 30.1364L17.3631 34.8847L17.9372 30.0287L14.1936 30.1364ZM30.0564 30.0287L30.6305 34.8847L33.8 30.1364L30.0564 30.0287Z",fill:"#CD6116"}),(0,ti.jsx)("path",{d:"M15.0234 24.3516L17.9864 30.1268L17.886 27.2517L15.0234 24.3516ZM30.127 27.2517L30.0015 30.1268L32.977 24.3516L30.127 27.2517ZM22.0919 24.6654L21.4265 28.2938L22.2551 32.575L22.4434 26.9379L22.0919 24.6654ZM25.9211 24.6654L25.5821 26.9253L25.7328 32.575L26.574 28.2938L25.9211 24.6654Z",fill:"#E4751F"}),(0,ti.jsx)("path",{d:"M33.0141 24.301C33.0392 24.3192 33.0473 24.353 33.0331 24.3806L30.0576 30.1559C30.044 30.1821 30.0141 30.1953 29.9856 30.1878C29.9571 30.1802 29.9377 30.1538 29.939 30.1244L30.0646 27.2493C30.0653 27.2338 30.0717 27.2191 30.0825 27.208L32.9325 24.3078C32.9542 24.2857 32.9889 24.2828 33.0141 24.301ZM14.9869 24.301C15.012 24.2828 15.0466 24.2857 15.0684 24.3077L17.9309 27.2079C17.942 27.2191 17.9484 27.2341 17.949 27.2498L18.0494 30.1249C18.0504 30.1543 18.0309 30.1805 18.0025 30.1879C17.974 30.1953 17.9442 30.1819 17.9308 30.1558L14.9679 24.3805C14.9537 24.3529 14.9618 24.3192 14.9869 24.301ZM15.2661 24.6868L17.9141 29.8482L17.8244 27.2787L15.2661 24.6868ZM30.189 27.2788L30.0769 29.8441L32.7318 24.6912L30.189 27.2788ZM22.093 24.6029C22.1236 24.6034 22.1495 24.6258 22.1542 24.6561L22.5057 26.9286C22.5063 26.9324 22.5065 26.9363 22.5064 26.9402L22.3181 32.5774C22.317 32.6093 22.2922 32.6354 22.2603 32.6379C22.2285 32.6404 22.1998 32.6186 22.1937 32.5872L21.3651 28.306C21.3636 28.2983 21.3636 28.2905 21.365 28.2828L22.0304 24.6544C22.0359 24.6243 22.0624 24.6025 22.093 24.6029ZM25.9205 24.6029C25.9512 24.6025 25.9777 24.6244 25.9832 24.6546L26.636 28.283C26.6374 28.2907 26.6374 28.2985 26.6358 28.3062L25.7947 32.5874C25.7885 32.6188 25.7597 32.6405 25.7278 32.6379C25.6959 32.6352 25.6712 32.609 25.6703 32.577L25.5197 26.9273C25.5196 26.9236 25.5198 26.9199 25.5203 26.9163L25.8593 24.6564C25.8639 24.626 25.8898 24.6034 25.9205 24.6029ZM21.4906 28.2938L22.2112 32.0168L22.3807 26.9419L22.0869 25.0424L21.4906 28.2938ZM25.927 25.0514L25.6453 26.9294L25.7807 32.0072L26.5104 28.2936L25.927 25.0514Z",fill:"#E4751F"}),(0,ti.jsx)("path",{d:"M26.5708 28.294L25.7296 32.5752L26.3323 32.9896L29.9983 30.127L30.1239 27.252L26.5708 28.294ZM17.8828 27.252L17.9833 30.127L21.6493 32.9896L22.2519 32.5752L21.4233 28.294L17.8828 27.252Z",fill:"#F6851B"}),(0,ti.jsx)("path",{d:"M30.1629 27.2018C30.1788 27.2143 30.1877 27.2338 30.1869 27.254L30.0613 30.1291C30.0605 30.1474 30.0517 30.1645 30.0372 30.1758L26.3712 33.0383C26.3496 33.0552 26.3196 33.0561 26.297 33.0406L25.6944 32.6263C25.6737 32.6121 25.6635 32.587 25.6683 32.5624L26.5095 28.2812C26.514 28.2582 26.531 28.2397 26.5534 28.2331L30.1065 27.191C30.1259 27.1853 30.1469 27.1893 30.1629 27.2018ZM17.8446 27.2017C17.8606 27.1893 17.8815 27.1853 17.9008 27.191L21.4413 28.2331C21.4638 28.2397 21.4807 28.2583 21.4852 28.2814L22.3138 32.5626C22.3186 32.5871 22.3083 32.6121 22.2878 32.6263L21.6851 33.0406C21.6626 33.0561 21.6325 33.0552 21.6109 33.0383L17.9449 30.1758C17.9303 30.1644 17.9214 30.1471 17.9208 30.1285L17.8204 27.2534C17.8196 27.2333 17.8287 27.214 17.8446 27.2017ZM26.6253 28.3428L25.7995 32.5462L26.3302 32.9111L29.9371 30.0947L30.0576 27.3362L26.6253 28.3428ZM17.9489 27.336L21.3692 28.3427L22.1828 32.5461L21.6519 32.9111L18.0452 30.0949L17.9489 27.336Z",fill:"#F6851B"}),(0,ti.jsx)("path",{d:"M26.6341 36.9312L26.6718 35.7636L26.3579 35.4874H21.6247L21.3359 35.7636L21.3611 36.9312L17.4062 35.0605L18.7873 36.1905L21.587 38.1365H26.3956L29.2079 36.1905L30.5889 35.0605L26.6341 36.9312Z",fill:"#C0AD9E"}),(0,ti.jsx)("path",{d:"M17.3535 35.0273C17.3704 35.0005 17.4047 34.9905 17.4334 35.0041L21.2964 36.8314L21.2735 35.7653C21.2731 35.7477 21.2801 35.7307 21.2928 35.7185L21.5816 35.4423C21.5933 35.4312 21.6088 35.4249 21.625 35.4249H26.3582C26.3735 35.4249 26.3882 35.4305 26.3997 35.4406L26.7135 35.7168C26.7276 35.7292 26.7354 35.7472 26.7348 35.7659L26.7005 36.8308L30.5624 35.0041C30.591 34.9905 30.6253 35.0005 30.6423 35.0273C30.6592 35.0541 30.6535 35.0893 30.629 35.1094L29.2479 36.2394C29.2466 36.2404 29.2453 36.2414 29.2439 36.2424L26.4316 38.1884C26.4211 38.1957 26.4086 38.1996 26.3959 38.1996H21.5873C21.5745 38.1996 21.562 38.1956 21.5515 38.1883L18.7517 36.2423C18.7504 36.2414 18.7491 36.2404 18.7478 36.2394L17.3668 35.1094C17.3422 35.0893 17.3365 35.0541 17.3535 35.0273ZM17.8427 35.3366L18.8254 36.1406L21.607 38.074H26.3763L29.1704 36.1406L30.153 35.3366L26.6612 36.9883C26.6415 36.9976 26.6183 36.996 26.6 36.984C26.5817 36.972 26.571 36.9514 26.5717 36.9295L26.6084 35.7915L26.3345 35.5505H21.6502L21.3996 35.7902L21.4241 36.9302C21.4246 36.9519 21.4137 36.9724 21.3955 36.9842C21.3772 36.996 21.3542 36.9976 21.3345 36.9883L17.8427 35.3366Z",fill:"#C0AD9E"}),(0,ti.jsx)("path",{d:"M26.3328 32.9895L25.7302 32.5752H22.2524L21.6498 32.9895L21.3359 35.7641L21.6247 35.4879H26.3579L26.6718 35.7641L26.3328 32.9895Z",fill:"#161616"}),(0,ti.jsx)("path",{d:"M22.2172 32.5237C22.2276 32.5165 22.24 32.5127 22.2527 32.5127H25.7304C25.7431 32.5127 25.7555 32.5165 25.766 32.5237L26.3686 32.9381C26.3835 32.9482 26.3932 32.9643 26.3954 32.9822L26.7344 35.7568C26.7375 35.7827 26.7244 35.8078 26.7013 35.8199C26.6783 35.8321 26.6501 35.8288 26.6306 35.8115L26.3345 35.551H21.6502L21.3796 35.8098C21.3605 35.828 21.332 35.8324 21.3083 35.8207C21.2847 35.8089 21.2709 35.7836 21.2738 35.7574L21.5877 32.9827C21.5898 32.9647 21.5995 32.9484 21.6145 32.9381L22.2172 32.5237ZM22.2722 32.6382L21.7092 33.0253L21.4181 35.5993L21.5816 35.4428C21.5933 35.4317 21.6088 35.4254 21.625 35.4254H26.3582C26.3735 35.4254 26.3882 35.431 26.3997 35.4411L26.5898 35.6084L26.2742 33.0255L25.7109 32.6382H22.2722Z",fill:"#161616"}),(0,ti.jsx)("path",{d:"M38.9401 18.3378L40.0073 13.2153L38.4128 8.45703L26.3349 17.4213L30.9803 21.3509L37.5465 23.2718L39.0029 21.5769L38.3751 21.125L39.3795 20.2084L38.6011 19.6058L39.6055 18.84L38.9401 18.3378ZM7.99219 13.2153L9.05936 18.3378L8.38139 18.84L9.38578 19.6058L8.61993 20.2084L9.62433 21.125L8.99658 21.5769L10.4404 23.2718L17.0066 21.3509L21.6519 17.4213L9.57411 8.45703L7.99219 13.2153Z",fill:"#763D16"}),(0,ti.jsx)("path",{d:"M9.55549 8.39744C9.57469 8.39138 9.59563 8.3949 9.6118 8.4069L21.6896 17.3711C21.705 17.3825 21.7144 17.4004 21.715 17.4195C21.7156 17.4387 21.7074 17.4571 21.6928 17.4694L17.0474 21.3991C17.0408 21.4048 17.0329 21.409 17.0245 21.4115L10.4583 23.3324C10.4345 23.3393 10.4089 23.3317 10.3929 23.3128L8.94907 21.6179C8.9377 21.6046 8.93243 21.5871 8.93454 21.5697C8.93665 21.5522 8.94594 21.5365 8.96018 21.5263L9.52516 21.1195L8.5779 20.2551C8.56427 20.2427 8.5568 20.2249 8.55748 20.2064C8.55815 20.188 8.56689 20.1708 8.58139 20.1594L9.28355 19.6069L8.3436 18.8901C8.32791 18.8782 8.31875 18.8595 8.31889 18.8398C8.31903 18.8201 8.32844 18.8015 8.3443 18.7898L8.98998 18.3115L7.93101 13.2284C7.92875 13.2176 7.9294 13.2063 7.93289 13.1958L9.51481 8.4375C9.52117 8.4184 9.53629 8.4035 9.55549 8.39744ZM38.4319 8.39742C38.4511 8.40345 38.4662 8.4183 38.4726 8.43736L40.0671 13.1957C40.0706 13.2062 40.0713 13.2175 40.069 13.2284L39.0099 18.3119L39.6436 18.7901C39.6593 18.802 39.6685 18.8204 39.6686 18.8401C39.6686 18.8597 39.6595 18.8782 39.6438 18.8901L38.7044 19.6065L39.4182 20.1591C39.4329 20.1704 39.4418 20.1877 39.4425 20.2062C39.4433 20.2247 39.4358 20.2426 39.4221 20.2551L38.4748 21.1195L39.0398 21.5263C39.0541 21.5365 39.0634 21.5523 39.0655 21.5698C39.0676 21.5872 39.0622 21.6048 39.0507 21.6181L37.5944 23.313C37.5783 23.3317 37.5528 23.3393 37.5291 23.3324L30.9629 21.4115C30.9545 21.409 30.9467 21.4048 30.94 21.3991L26.2947 17.4694C26.28 17.4571 26.2719 17.4387 26.2725 17.4195C26.2731 17.4004 26.2824 17.3825 26.2978 17.3711L38.3756 8.4069C38.3918 8.39492 38.4127 8.39139 38.4319 8.39742ZM26.4362 17.4247L31.0109 21.2947L37.5255 23.2005L38.9109 21.5882L38.3387 21.1762C38.3234 21.1651 38.3138 21.1477 38.3127 21.1289C38.3116 21.11 38.3191 21.0916 38.3331 21.0789L39.2823 20.2127L38.563 19.6557C38.5475 19.6438 38.5385 19.6254 38.5386 19.6059C38.5387 19.5863 38.5478 19.568 38.5633 19.5562L39.5019 18.8405L38.9025 18.3881C38.8832 18.3735 38.874 18.349 38.8789 18.3252L39.9426 13.2195L38.381 8.55926L26.4362 17.4247ZM9.6066 8.55939L8.05737 13.2194L9.12109 18.3252C9.12608 18.3492 9.11668 18.3739 9.097 18.3885L8.48615 18.841L9.42412 19.5562C9.43956 19.5679 9.44868 19.5862 9.44883 19.6056C9.44898 19.625 9.44014 19.6434 9.42488 19.6554L8.71722 20.2123L9.66692 21.0789C9.68089 21.0916 9.68837 21.11 9.68727 21.1289C9.68618 21.1477 9.67663 21.1651 9.66128 21.1762L9.08881 21.5883L10.4621 23.2004L16.9765 21.2947L21.5512 17.4247L9.6066 8.55939Z",fill:"#763D16"}),(0,ti.jsx)("path",{d:"M37.5485 23.2714L30.9822 21.3505L32.9785 24.3511L30.0029 30.1264L33.9201 30.0762H39.7581L37.5485 23.2714ZM17.0086 21.3505L10.4424 23.2714L8.25781 30.0762H14.0833L17.9879 30.1264L15.0249 24.3511L17.0086 21.3505ZM25.9226 24.665L26.3369 17.4208L28.2453 12.2607H19.7707L21.6539 17.4208L22.0933 24.665L22.244 26.95L22.2566 32.5746H25.7343L25.7594 26.95L25.9226 24.665Z",fill:"#F6851B"}),(0,ti.jsx)("path",{d:"M19.7195 12.225C19.7313 12.2082 19.7505 12.1982 19.771 12.1982H28.2455C28.2661 12.1982 28.2853 12.2083 28.297 12.2251C28.3088 12.242 28.3115 12.2635 28.3044 12.2828L26.3993 17.4341L25.9855 24.6689L25.9855 24.6698L25.8224 26.9527L25.7973 32.5752C25.7972 32.6097 25.7691 32.6377 25.7345 32.6377H22.2568C22.2222 32.6377 22.1941 32.6096 22.1941 32.575L22.1815 26.9524L22.031 24.6694L22.031 24.6691L21.5921 17.434L19.712 12.2825C19.705 12.2633 19.7078 12.2418 19.7195 12.225ZM19.8607 12.3238L21.7132 17.3996C21.7152 17.4053 21.7165 17.4112 21.7169 17.4173L22.1563 24.6612L22.1563 24.6615L22.3069 26.9461C22.307 26.9475 22.307 26.9488 22.3071 26.9501L22.3195 32.5121H25.6721L25.6969 26.95C25.6969 26.9486 25.6969 26.9472 25.697 26.9458L25.8602 24.6617L25.8603 24.6608L26.2745 17.4175C26.2749 17.4113 26.2761 17.4052 26.2783 17.3993L28.1554 12.3238H19.8607ZM17.0594 21.3135C17.075 21.3347 17.0758 21.3634 17.0612 21.3854L15.0978 24.3554L18.044 30.098C18.0541 30.1176 18.0531 30.141 18.0415 30.1597C18.0299 30.1785 18.0094 30.1897 17.9873 30.1894L14.0836 30.1392H8.25809C8.23803 30.1392 8.21918 30.1296 8.20737 30.1134C8.19555 30.0972 8.19219 30.0764 8.19832 30.0573L10.3829 23.2525C10.3892 23.2327 10.405 23.2173 10.425 23.2114L16.9912 21.2905C17.0165 21.2831 17.0437 21.2923 17.0594 21.3135ZM30.9319 21.3136C30.9476 21.2923 30.9748 21.2831 31.0001 21.2905L37.5664 23.2114C37.5863 23.2173 37.602 23.2326 37.6084 23.2523L39.8181 30.0571C39.8243 30.0762 39.821 30.0971 39.8092 30.1134C39.7974 30.1296 39.7785 30.1392 39.7584 30.1392H33.9204L30.004 30.1894C29.982 30.1897 29.9614 30.1784 29.9498 30.1597C29.9382 30.141 29.9373 30.1175 29.9474 30.0979L32.906 24.3555L30.9302 21.3856C30.9156 21.3636 30.9163 21.3348 30.9319 21.3136ZM10.4922 23.3226L8.34417 30.0137H14.0844L17.8847 30.0626L14.9693 24.3801C14.959 24.3599 14.9603 24.3357 14.9728 24.3168L16.862 21.4592L10.4922 23.3226ZM31.1301 21.4594L33.031 24.3166C33.0436 24.3356 33.045 24.3599 33.0345 24.3802L30.1069 30.0626L33.9196 30.0137L33.9204 30.0137L39.672 30.0137L37.4993 23.3226L31.1301 21.4594Z",fill:"#F6851B"})]}))}ni.displayName="MetaMaskSymbol";var ri=T(n(3681)),ii=n(3767);function ai(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,ii.jsxs)(gt,M(L({},i),{viewBox:"0 0 328 48",sx:(0,ri.default)({width:"200px",fill:"base.color.brand.1"},r),children:[(0,ii.jsx)("path",{d:"M24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0ZM23.0718 9.16608C23.7383 8.83951 24.4406 8.86188 25.087 9.2287C27.3282 10.5059 29.5627 11.7942 31.786 13.096C32.5018 13.5165 32.8686 14.1897 32.8708 15.0173C32.8843 17.9184 32.8798 20.8171 32.8708 23.7182C32.8708 23.8255 32.8015 23.9821 32.7143 24.0335C31.8531 24.548 30.9808 25.0423 30.0347 25.5881V25.1318C30.0347 22.148 30.0257 19.1664 30.0414 16.1827C30.0436 15.6101 29.8468 15.241 29.339 14.9525C26.7377 13.474 24.1499 11.9687 21.5575 10.4723C21.4457 10.4075 21.3361 10.3381 21.1661 10.2352C21.8326 9.85722 22.4321 9.47698 23.0673 9.16608H23.0718ZM22.5953 38.8451C22.45 38.7713 22.3426 38.7198 22.2375 38.6595C18.8041 36.68 15.3752 34.687 11.9307 32.7232C10.9644 32.173 10.5238 31.3879 10.5349 30.2852C10.5551 27.9411 10.5484 25.597 10.5372 23.2507C10.5327 22.1927 10.9622 21.4255 11.8926 20.8977C14.3105 19.5221 16.715 18.1264 19.1195 16.7284C19.3275 16.6076 19.4796 16.5875 19.6965 16.7172C20.5264 17.216 21.3719 17.6924 22.2554 18.2024C22.0876 18.3031 21.9601 18.3791 21.8304 18.4552C19.2268 19.9582 16.6278 21.4658 14.0175 22.9599C13.5903 23.2037 13.3912 23.5213 13.3957 24.0179C13.4091 25.8654 13.4114 27.713 13.3957 29.5605C13.3912 30.0705 13.5948 30.3948 14.0332 30.6453C16.7866 32.2199 19.5288 33.8125 22.28 35.3916C22.5126 35.5258 22.611 35.6645 22.6065 35.9418C22.5864 36.888 22.5998 37.8363 22.5998 38.8473L22.5953 38.8451ZM22.5953 33.553C22.356 33.4166 22.1838 33.3204 22.0116 33.2198C19.8285 31.9605 17.6477 30.6967 15.4602 29.4464C15.2231 29.3122 15.1359 29.1668 15.1381 28.8917C15.1538 27.4714 15.1471 26.0511 15.1426 24.6308C15.1426 24.4384 15.1717 24.3064 15.3618 24.1991C16.167 23.7495 16.9633 23.2798 17.7618 22.8212C17.8199 22.7877 17.8826 22.7631 17.9877 22.7116V24.3064C17.9877 25.1698 18.0011 26.0354 17.9832 26.8988C17.972 27.3909 18.1622 27.7241 18.5916 27.9657C19.8285 28.6636 21.0498 29.3883 22.2867 30.0839C22.5305 30.2203 22.6043 30.3724 22.5998 30.6408C22.5842 31.5847 22.5931 32.5308 22.5931 33.5508L22.5953 33.553ZM20.0746 14.91C19.6116 14.6371 19.2157 14.6393 18.7527 14.91C16.1581 16.4265 13.5523 17.9228 10.9487 19.4259C10.8391 19.4908 10.7251 19.5489 10.5305 19.6541C10.5998 18.6654 10.3873 17.7327 10.7251 16.8291C10.9085 16.3348 11.2529 15.9635 11.7092 15.6995C13.8811 14.4447 16.0507 13.1877 18.227 11.9396C19.0211 11.4833 19.8308 11.4945 20.6248 11.953C23.0964 13.3756 25.5657 14.8026 28.0306 16.2341C28.1357 16.2945 28.2677 16.4309 28.2677 16.5338C28.2856 17.5493 28.2788 18.567 28.2788 19.6563C27.3819 19.1396 26.5543 18.6609 25.7267 18.1823C23.8412 17.093 21.9512 16.0149 20.0746 14.91ZM37.4427 30.8779C37.3778 31.6764 36.9103 32.2423 36.2192 32.6404C33.5732 34.1614 30.9294 35.6913 28.2856 37.2168C27.4557 37.6954 26.6259 38.1741 25.7938 38.6527C25.6932 38.7109 25.5903 38.7601 25.4539 38.8317C25.4449 38.693 25.4337 38.5924 25.4337 38.4917C25.4337 37.6149 25.4382 36.7404 25.4293 35.8636C25.4293 35.6645 25.4762 35.5437 25.6596 35.4386C29.5157 33.2198 33.3696 30.9942 37.2212 28.7709C37.2794 28.7374 37.3443 28.7105 37.4539 28.6591C37.4539 29.4375 37.4986 30.1622 37.4427 30.8779ZM37.4628 25.3577C37.4561 26.2658 36.9663 26.9033 36.1901 27.3506C33.175 29.0841 30.1622 30.8265 27.1493 32.5666C26.5991 32.8843 26.0466 33.1996 25.4561 33.5396C25.4472 33.3897 25.436 33.2913 25.436 33.1907C25.436 32.3273 25.4449 31.4617 25.4293 30.5983C25.4248 30.3523 25.5075 30.2226 25.72 30.0995C28.46 28.5271 31.1911 26.9368 33.9355 25.3733C34.4231 25.096 34.6378 24.7538 34.6334 24.1812C34.6132 21.1974 34.6244 18.2136 34.6244 15.2298V14.7087C35.3402 15.1404 36.0112 15.496 36.624 15.9299C37.1832 16.3258 37.465 16.9253 37.4673 17.6164C37.4762 20.1976 37.4829 22.7787 37.465 25.3599L37.4628 25.3577Z"}),(0,ii.jsx)("path",{d:"M59.4009 15.1602H63.5158V36.7435H59.4009V15.1602Z"}),(0,ii.jsx)("path",{d:"M80.0313 23.6817C81.1479 21.8883 83.0239 21.031 85.0674 21.031L85.0786 21.0254C86.9546 21.0254 88.3281 21.5668 89.2047 22.6496C90.0701 23.7494 90.5 25.2101 90.5 27.0317V36.7434H86.5358V27.4998C86.5358 25.4526 85.8044 24.4149 84.1797 24.4149H83.9396C82.1027 24.4149 80.6734 26.0222 80.6734 28.1766V36.7434H76.7092V27.4998C76.7092 25.4526 75.9499 24.4149 74.3251 24.4149H74.0851C72.2537 24.4149 70.8077 26.0222 70.8077 28.1766V36.7434H66.8435V21.3299H70.8077V23.5125C71.835 21.8432 73.5379 21.031 75.3692 21.031C77.53 21.031 79.1938 21.9334 80.0313 23.6817Z"}),(0,ii.jsx)("path",{d:"M111.426 21.031C109.383 21.031 107.507 21.8883 106.39 23.6817C105.558 21.9334 103.889 21.031 101.728 21.031C99.8965 21.031 98.1936 21.8432 97.1663 23.5125V21.3299H93.2021V36.7434H97.1663V28.1766C97.1663 26.0222 98.6124 24.4149 100.444 24.4149H100.684C102.309 24.4149 103.068 25.4526 103.068 27.4998V36.7434H107.032V28.1766C107.032 26.0222 108.461 24.4149 110.298 24.4149H110.538C112.163 24.4149 112.894 25.4526 112.894 27.4998V36.7434H116.859V27.0317C116.859 25.2101 116.429 23.7494 115.563 22.6496C114.687 21.5668 113.313 21.0254 111.437 21.0254L111.426 21.031Z"}),(0,ii.jsx)("path",{d:"M141.459 24.5729V31.6621L141.453 31.6565C141.453 33.072 141.738 33.3597 143.139 33.3597H145.328V36.7492H141.453C138.874 36.7492 137.489 35.3505 137.489 32.7449V24.5729H132.989V36.7492H129.025V34.4933C128.087 36.0724 126.462 37.0537 124.569 37.0537C122.855 37.0537 121.56 36.5292 120.711 35.4577C119.846 34.403 119.416 32.9931 119.416 31.1996V21.3413H123.38V30.7485C123.38 32.7337 124.201 33.8165 125.647 33.8165H125.887C127.612 33.8165 129.03 32.0569 129.03 29.9025V21.3357H137.495V16.3389H141.459V21.3357H144.87V24.5729H141.459Z"}),(0,ii.jsx)("path",{d:"M159.476 26.5695C159.476 23.0164 156.913 21.0312 153.067 21.0312C149.22 21.0312 146.824 23.1856 146.495 26.107H150.476C150.565 25.1708 151.503 24.2685 152.933 24.2685H153.184C154.641 24.2685 155.629 25.3344 155.629 26.7218V27.0996L151.782 27.4437C150.141 27.579 148.801 28.0584 147.757 28.9044C146.713 29.7447 146.194 30.9516 146.194 32.5194C146.149 35.2265 148.46 37.082 151.202 37.0482C153.156 37.0482 154.764 36.2078 155.719 34.8656C155.747 35.6777 155.808 36.3094 155.897 36.7493H159.621C159.515 36.0274 159.471 34.8994 159.471 33.3598V26.5695H159.476ZM155.629 30.4553C155.629 32.3954 154.032 33.8109 152.229 33.8109H151.989C150.9 33.8109 150.096 33.1962 150.096 32.2431C150.096 31.6566 150.32 31.2167 150.766 30.9008C151.213 30.585 151.732 30.4045 152.318 30.3594L155.629 30.0154V30.4553Z"}),(0,ii.jsx)("path",{d:"M166.187 23.3322C166.841 22.2042 168.538 21.0311 170.581 21.0311V21.0255C174.858 20.9522 177.404 24.8211 177.359 29.034C177.404 33.2469 174.858 37.1157 170.581 37.0424C168.543 37.0424 166.841 35.8694 166.187 34.7414V36.7435H162.223V15.1602H166.187V23.3322ZM169.671 33.8052H169.911C171.893 33.8052 173.401 31.899 173.401 29.0058C173.401 26.1126 171.91 24.2627 169.911 24.2627H169.671C167.851 24.2176 166.154 26.2028 166.182 29.034C166.154 31.8651 167.851 33.8503 169.671 33.8052Z"}),(0,ii.jsx)("path",{d:"M183.306 15.1602H179.342V36.7435H183.306V15.1602Z"}),(0,ii.jsx)("path",{d:"M185.332 29.0396C185.288 24.4319 188.118 20.9691 192.591 21.0311H192.596C197.052 20.986 199.598 24.3586 199.553 28.8591C199.553 29.158 199.536 29.643 199.492 30.3029H189.179C189.33 32.367 190.972 33.8108 192.624 33.8108H192.875C194.305 33.8108 195.271 32.9987 195.555 31.8707H199.492C198.743 34.9387 196.332 37.048 192.591 37.048C188.761 37.1101 185.26 33.9631 185.332 29.0396ZM192.328 24.2683C190.659 24.2683 189.274 25.3963 189.185 27.2179H195.712C195.622 25.3963 194.238 24.2683 192.568 24.2683H192.328Z"}),(0,ii.jsx)("path",{d:"M206.187 15.1602V36.7652H210.448V29.1662H213.696C218.673 29.1662 223.083 27.8252 223.083 22.3122C223.083 15.786 218.017 15.1602 213.577 15.1602H206.187ZM213.666 18.4978C215.991 18.4978 218.703 18.7958 218.703 22.342C218.703 25.2028 216.617 25.8584 213.964 25.8584H210.448V18.4978H213.666Z"}),(0,ii.jsx)("path",{d:"M234.036 30.239C234.036 32.8614 232.934 34.3514 230.371 34.3514C228.523 34.3514 227.6 33.3978 227.6 32.2356C227.6 30.4476 229.447 29.9112 234.036 29.4344V30.239ZM234.364 34.709C234.424 35.4838 234.543 36.2586 234.662 36.7652H238.447C238.149 35.4242 237.97 33.9938 237.97 31.4608C237.97 30.0006 238.03 27.855 238.03 27.3484C238.03 21.9248 234.96 20.3156 230.997 20.3156C226.914 20.3156 224.143 22.64 223.845 25.7988H227.689C227.778 24.0406 229.09 23.2062 230.848 23.2062C232.606 23.2062 233.917 24.0406 233.917 26.514V26.812C227.629 27.5272 223.368 28.6596 223.368 32.474C223.368 35.3646 226.08 37.1526 229.149 37.1526C231.563 37.1526 233.232 36.4076 234.364 34.709Z"}),(0,ii.jsx)("path",{d:"M254.448 25.5604C253.912 21.8652 250.723 20.3156 247.267 20.3156C243.691 20.3156 240.591 22.193 240.591 25.0836C240.591 28.004 242.588 29.2258 245.717 29.8814L248.101 30.388C249.591 30.7158 250.843 31.1628 250.843 32.3548C250.843 33.517 249.71 34.1726 247.833 34.1726C245.598 34.1726 244.495 33.0104 244.257 31.4608H240.293C240.681 35.1262 243.661 37.1526 247.714 37.1526C251.468 37.1526 254.776 35.1858 254.776 31.9674C254.776 28.6596 252.064 27.8848 248.757 27.1398L246.611 26.663C244.972 26.3054 244.346 25.6796 244.346 24.8154C244.346 23.832 245.419 23.2658 247.058 23.2658C249.055 23.2658 250.306 24.2194 250.604 25.5604H254.448Z"}),(0,ii.jsx)("path",{d:"M270.221 25.5604C269.685 21.8652 266.496 20.3156 263.04 20.3156C259.464 20.3156 256.364 22.193 256.364 25.0836C256.364 28.004 258.361 29.2258 261.49 29.8814L263.874 30.388C265.364 30.7158 266.616 31.1628 266.616 32.3548C266.616 33.517 265.483 34.1726 263.606 34.1726C261.371 34.1726 260.268 33.0104 260.03 31.4608H256.066C256.454 35.1262 259.434 37.1526 263.487 37.1526C267.241 37.1526 270.549 35.1858 270.549 31.9674C270.549 28.6596 267.837 27.8848 264.53 27.1398L262.384 26.663C260.745 26.3054 260.119 25.6796 260.119 24.8154C260.119 23.832 261.192 23.2658 262.831 23.2658C264.828 23.2658 266.079 24.2194 266.377 25.5604H270.221Z"}),(0,ii.jsx)("path",{d:"M280.72 33.9938C278.455 33.9938 276.965 32.027 276.965 28.749C276.965 25.5306 278.455 23.534 280.72 23.534C282.955 23.534 284.296 25.6498 284.296 28.7788C284.296 31.9078 282.955 33.9938 280.72 33.9938ZM277.114 41.9802V34.7388C278.127 36.497 280.034 37.1526 281.703 37.1526C285.637 37.1526 288.617 33.8746 288.617 28.749C288.617 23.7128 285.726 20.3752 281.733 20.3752C279.707 20.3752 277.978 21.299 277.114 22.789V20.7328H273.002V41.9802H277.114Z"}),(0,ii.jsx)("path",{d:"M298.394 23.5936C300.778 23.5936 302.179 25.4114 302.179 28.7788C302.179 32.1164 300.778 33.9342 298.394 33.9342C296.01 33.9342 294.609 32.1164 294.609 28.7788C294.609 25.4114 296.01 23.5936 298.394 23.5936ZM298.394 37.1526C302.566 37.1526 306.351 34.411 306.351 28.7788C306.351 23.1466 302.566 20.3752 298.394 20.3752C294.222 20.3752 290.437 23.1466 290.437 28.7788C290.437 34.411 294.222 37.1526 298.394 37.1526Z"}),(0,ii.jsx)("path",{d:"M320.829 20.7622H318.564V23.5638H320.829V32.4442C320.829 35.6328 321.544 36.7652 325.209 36.7652H328.219V33.815H326.968C325.507 33.815 324.941 33.4872 324.941 31.8482V23.5638H328.279V20.7328H324.941V16.382H320.829V20.7622Z"}),(0,ii.jsx)("path",{d:"M313.024 23.5336C313.948 21.5668 315.408 20.7622 317.256 20.7622L316.451 24.6064C314.425 24.6064 313.084 25.3514 313.084 28.3612V36.7648H308.971V20.7324H313.024V23.5336Z"}),(0,ii.jsx)("path",{d:"M320.96 20.7617H317.242L316.45 24.6011H321.562L320.96 20.7617Z"})]}))}ai.displayName="PassportHorizontalLockup";var oi=T(n(3681)),si=n(3767);function ui(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,si.jsxs)(gt,M(L({},i),{viewBox:"0 0 181 48",sx:(0,oi.default)({width:"200px",fill:"base.color.brand.1"},r),children:[(0,si.jsx)("path",{d:"M24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0ZM23.0718 9.16608C23.7383 8.83951 24.4406 8.86188 25.087 9.2287C27.3282 10.5059 29.5627 11.7942 31.786 13.096C32.5018 13.5165 32.8686 14.1897 32.8708 15.0173C32.8843 17.9184 32.8798 20.8171 32.8708 23.7182C32.8708 23.8255 32.8015 23.9821 32.7143 24.0335C31.8531 24.548 30.9808 25.0423 30.0347 25.5881V25.1318C30.0347 22.148 30.0257 19.1664 30.0414 16.1827C30.0436 15.6101 29.8468 15.241 29.339 14.9525C26.7377 13.474 24.1499 11.9687 21.5575 10.4723C21.4457 10.4075 21.3361 10.3381 21.1661 10.2352C21.8326 9.85722 22.4321 9.47698 23.0673 9.16608H23.0718ZM22.5953 38.8451C22.45 38.7713 22.3426 38.7198 22.2375 38.6595C18.8041 36.68 15.3752 34.687 11.9307 32.7232C10.9644 32.173 10.5238 31.3879 10.5349 30.2852C10.5551 27.9411 10.5484 25.597 10.5372 23.2507C10.5327 22.1927 10.9622 21.4255 11.8926 20.8977C14.3105 19.5221 16.715 18.1264 19.1195 16.7284C19.3275 16.6076 19.4796 16.5875 19.6965 16.7172C20.5264 17.216 21.3719 17.6924 22.2554 18.2024C22.0876 18.3031 21.9601 18.3791 21.8304 18.4552C19.2268 19.9582 16.6278 21.4658 14.0175 22.9599C13.5903 23.2037 13.3912 23.5213 13.3957 24.0179C13.4091 25.8654 13.4114 27.713 13.3957 29.5605C13.3912 30.0705 13.5948 30.3948 14.0332 30.6453C16.7866 32.2199 19.5288 33.8125 22.28 35.3916C22.5126 35.5258 22.611 35.6645 22.6065 35.9418C22.5864 36.888 22.5998 37.8363 22.5998 38.8473L22.5953 38.8451ZM22.5953 33.553C22.356 33.4166 22.1838 33.3204 22.0116 33.2198C19.8285 31.9605 17.6477 30.6967 15.4602 29.4464C15.2231 29.3122 15.1359 29.1668 15.1381 28.8917C15.1538 27.4714 15.1471 26.0511 15.1426 24.6308C15.1426 24.4384 15.1717 24.3064 15.3618 24.1991C16.167 23.7495 16.9633 23.2798 17.7618 22.8212C17.8199 22.7877 17.8826 22.7631 17.9877 22.7116V24.3064C17.9877 25.1698 18.0011 26.0354 17.9832 26.8988C17.972 27.3909 18.1622 27.7241 18.5916 27.9657C19.8285 28.6636 21.0498 29.3883 22.2867 30.0839C22.5305 30.2203 22.6043 30.3724 22.5998 30.6408C22.5842 31.5847 22.5931 32.5308 22.5931 33.5508L22.5953 33.553ZM20.0746 14.91C19.6116 14.6371 19.2157 14.6393 18.7527 14.91C16.1581 16.4265 13.5523 17.9228 10.9487 19.4259C10.8391 19.4908 10.7251 19.5489 10.5305 19.6541C10.5998 18.6654 10.3873 17.7327 10.7251 16.8291C10.9085 16.3348 11.2529 15.9635 11.7092 15.6995C13.8811 14.4447 16.0507 13.1877 18.227 11.9396C19.0211 11.4833 19.8308 11.4945 20.6248 11.953C23.0964 13.3756 25.5657 14.8026 28.0306 16.2341C28.1357 16.2945 28.2677 16.4309 28.2677 16.5338C28.2856 17.5493 28.2788 18.567 28.2788 19.6563C27.3819 19.1396 26.5543 18.6609 25.7267 18.1823C23.8412 17.093 21.9512 16.0149 20.0746 14.91ZM37.4427 30.8779C37.3778 31.6764 36.9103 32.2423 36.2192 32.6404C33.5732 34.1614 30.9294 35.6913 28.2856 37.2168C27.4557 37.6954 26.6259 38.1741 25.7938 38.6527C25.6932 38.7109 25.5903 38.7601 25.4539 38.8317C25.4449 38.693 25.4337 38.5924 25.4337 38.4917C25.4337 37.6149 25.4382 36.7404 25.4293 35.8636C25.4293 35.6645 25.4762 35.5437 25.6596 35.4386C29.5157 33.2198 33.3696 30.9942 37.2212 28.7709C37.2794 28.7374 37.3443 28.7105 37.4539 28.6591C37.4539 29.4375 37.4986 30.1622 37.4427 30.8779ZM37.4628 25.3577C37.4561 26.2658 36.9663 26.9033 36.1901 27.3506C33.175 29.0841 30.1622 30.8265 27.1493 32.5666C26.5991 32.8842 26.0466 33.1996 25.4561 33.5396C25.4472 33.3897 25.436 33.2913 25.436 33.1907C25.436 32.3273 25.4449 31.4617 25.4293 30.5983C25.4248 30.3523 25.5075 30.2226 25.72 30.0995C28.46 28.5271 31.1911 26.9368 33.9355 25.3733C34.4231 25.096 34.6378 24.7538 34.6334 24.1812C34.6132 21.1974 34.6244 18.2136 34.6244 15.2298V14.7087C35.3402 15.1404 36.0112 15.496 36.624 15.9299C37.1832 16.3258 37.465 16.9253 37.4673 17.6164C37.4762 20.1976 37.4829 22.7788 37.465 25.3599L37.4628 25.3577Z"}),(0,si.jsx)("path",{d:"M59 15.1602V36.7652H63.2614V29.1662H66.5096C71.4862 29.1662 75.8966 27.8252 75.8966 22.3122C75.8966 15.786 70.8306 15.1602 66.3904 15.1602H59ZM66.4798 18.4978C68.8042 18.4978 71.516 18.7958 71.516 22.342C71.516 25.2028 69.43 25.8584 66.7778 25.8584H63.2614V18.4978H66.4798Z"}),(0,si.jsx)("path",{d:"M86.85 30.239C86.85 32.8614 85.7474 34.3514 83.1846 34.3514C81.337 34.3514 80.4132 33.3978 80.4132 32.2356C80.4132 30.4476 82.2608 29.9112 86.85 29.4344V30.239ZM87.1778 34.709C87.2374 35.4838 87.3566 36.2586 87.4758 36.7652H91.2604C90.9624 35.4242 90.7836 33.9938 90.7836 31.4608C90.7836 30.0006 90.8432 27.855 90.8432 27.3484C90.8432 21.9248 87.7738 20.3156 83.8104 20.3156C79.7278 20.3156 76.9564 22.64 76.6584 25.7988H80.5026C80.592 24.0406 81.9032 23.2062 83.6614 23.2062C85.4196 23.2062 86.7308 24.0406 86.7308 26.514V26.812C80.443 27.5272 76.1816 28.6596 76.1816 32.474C76.1816 35.3646 78.8934 37.1526 81.9628 37.1526C84.3766 37.1526 86.0454 36.4076 87.1778 34.709Z"}),(0,si.jsx)("path",{d:"M107.262 25.5604C106.725 21.8652 103.537 20.3156 100.08 20.3156C96.504 20.3156 93.4048 22.193 93.4048 25.0836C93.4048 28.004 95.4014 29.2258 98.5304 29.8814L100.914 30.388C102.404 30.7158 103.656 31.1628 103.656 32.3548C103.656 33.517 102.524 34.1726 100.646 34.1726C98.4112 34.1726 97.3086 33.0104 97.0702 31.4608H93.1068C93.4942 35.1262 96.4742 37.1526 100.527 37.1526C104.282 37.1526 107.59 35.1858 107.59 31.9674C107.59 28.6596 104.878 27.8848 101.57 27.1398L99.4244 26.663C97.7854 26.3054 97.1596 25.6796 97.1596 24.8154C97.1596 23.832 98.2324 23.2658 99.8714 23.2658C101.868 23.2658 103.12 24.2194 103.418 25.5604H107.262Z"}),(0,si.jsx)("path",{d:"M123.035 25.5604C122.498 21.8652 119.31 20.3156 115.853 20.3156C112.277 20.3156 109.178 22.193 109.178 25.0836C109.178 28.004 111.174 29.2258 114.303 29.8814L116.687 30.388C118.177 30.7158 119.429 31.1628 119.429 32.3548C119.429 33.517 118.297 34.1726 116.419 34.1726C114.184 34.1726 113.082 33.0104 112.843 31.4608H108.88C109.267 35.1262 112.247 37.1526 116.3 37.1526C120.055 37.1526 123.363 35.1858 123.363 31.9674C123.363 28.6596 120.651 27.8848 117.343 27.1398L115.197 26.663C113.558 26.3054 112.933 25.6796 112.933 24.8154C112.933 23.832 114.005 23.2658 115.644 23.2658C117.641 23.2658 118.893 24.2194 119.191 25.5604H123.035Z"}),(0,si.jsx)("path",{d:"M133.533 33.9938C131.268 33.9938 129.778 32.027 129.778 28.749C129.778 25.5306 131.268 23.534 133.533 23.534C135.768 23.534 137.109 25.6498 137.109 28.7788C137.109 31.9078 135.768 33.9938 133.533 33.9938ZM129.927 41.9802V34.7388C130.941 36.497 132.848 37.1526 134.517 37.1526C138.45 37.1526 141.43 33.8746 141.43 28.749C141.43 23.7128 138.54 20.3752 134.546 20.3752C132.52 20.3752 130.792 21.299 129.927 22.789V20.7328H125.815V41.9802H129.927Z"}),(0,si.jsx)("path",{d:"M151.207 23.5936C153.591 23.5936 154.992 25.4114 154.992 28.7788C154.992 32.1164 153.591 33.9342 151.207 33.9342C148.823 33.9342 147.423 32.1164 147.423 28.7788C147.423 25.4114 148.823 23.5936 151.207 23.5936ZM151.207 37.1526C155.379 37.1526 159.164 34.411 159.164 28.7788C159.164 23.1466 155.379 20.3752 151.207 20.3752C147.035 20.3752 143.251 23.1466 143.251 28.7788C143.251 34.411 147.035 37.1526 151.207 37.1526Z"}),(0,si.jsx)("path",{d:"M173.642 20.7622H171.377V23.5638H173.642V32.4442C173.642 35.6328 174.357 36.7652 178.023 36.7652H181.033V33.815H179.781C178.321 33.815 177.755 33.4872 177.755 31.8482V23.5638H181.092V20.7328H177.755V16.382H173.642V20.7622Z"}),(0,si.jsx)("path",{d:"M165.837 23.5336C166.761 21.5668 168.221 20.7622 170.069 20.7622L169.264 24.6064C167.238 24.6064 165.897 25.3514 165.897 28.3612V36.7648H161.785V20.7324H165.837V23.5336Z"}),(0,si.jsx)("path",{d:"M173.774 20.7617H170.055L169.264 24.6011H174.375L173.774 20.7617Z"})]}))}ui.displayName="PassportHorizontalLockupCompact";var li=T(n(3681)),ci=n(3767);function fi(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,ci.jsxs)(gt,M(L({},i),{viewBox:"0 0 32 32",sx:(0,li.default)({width:"100px"},r),children:[(0,ci.jsx)("defs",{children:(0,ci.jsxs)("radialGradient",{id:"radial-atmosphere",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.49369 8.45502) rotate(44.9817) scale(33.2435 70.5021)",children:[(0,ci.jsx)("stop",{stopColor:"#A3EEF8"}),(0,ci.jsx)("stop",{offset:"0.177083",stopColor:"#A4DCF5"}),(0,ci.jsx)("stop",{offset:"0.380208",stopColor:"#A6AEEC"}),(0,ci.jsx)("stop",{offset:"1",stopColor:"#ECBEE1"})]})}),(0,ci.jsx)("path",{d:"M16 0C7.16347 0 0 7.16347 0 16C0 24.8365 7.16347 32 16 32C24.8365 32 32 24.8365 32 16C32 7.16347 24.8365 0 16 0ZM15.3812 6.11072C15.8255 5.89301 16.2938 5.90792 16.7247 6.15247C18.2188 7.00391 19.7085 7.86281 21.1907 8.73066C21.6678 9.011 21.9124 9.45983 21.9139 10.0116C21.9228 11.9456 21.9199 13.8781 21.9139 15.8121C21.9139 15.8837 21.8677 15.9881 21.8095 16.0224C21.2354 16.3653 20.6539 16.6949 20.0231 17.0587V16.7545C20.0231 14.7653 20.0171 12.7776 20.0276 10.7884C20.0291 10.4067 19.8979 10.1607 19.5594 9.96831C17.8252 8.98266 16.0999 7.97912 14.3717 6.98155C14.2971 6.9383 14.224 6.89208 14.1107 6.82348C14.5551 6.57148 14.9547 6.31799 15.3782 6.11072H15.3812ZM15.0636 25.8967C14.9666 25.8475 14.8951 25.8132 14.825 25.773C12.5361 24.4533 10.2501 23.1247 7.95377 21.8155C7.3096 21.4486 7.01584 20.9253 7.0233 20.1901C7.03672 18.6274 7.03225 17.0647 7.02479 15.5005C7.02181 14.7952 7.30811 14.2837 7.92842 13.9318C9.54035 13.0147 11.1433 12.0842 12.7463 11.1523C12.885 11.0718 12.9864 11.0583 13.131 11.1448C13.6842 11.4774 14.2479 11.795 14.8369 12.1349C14.7251 12.202 14.6401 12.2527 14.5536 12.3034C12.8179 13.3055 11.0852 14.3105 9.34501 15.3066C9.0602 15.4692 8.92749 15.6809 8.93047 16.0119C8.93942 17.2436 8.94091 18.4753 8.93047 19.707C8.92749 20.047 9.06319 20.2632 9.35545 20.4302C11.1911 21.48 13.0192 22.5417 14.8533 23.5944C15.0084 23.6839 15.074 23.7763 15.071 23.9612C15.0576 24.592 15.0665 25.2242 15.0665 25.8982L15.0636 25.8967ZM15.0636 22.3687C14.904 22.2777 14.7892 22.2136 14.6744 22.1465C13.219 21.307 11.7651 20.4645 10.3068 19.6309C10.1487 19.5415 10.0906 19.4445 10.0921 19.2611C10.1025 18.3143 10.098 17.3674 10.0951 16.4205C10.0951 16.2923 10.1144 16.2043 10.2412 16.1327C10.778 15.833 11.3089 15.5198 11.8412 15.2142C11.88 15.1918 11.9217 15.1754 11.9918 15.1411V16.2043C11.9918 16.7799 12.0007 17.3569 11.9888 17.9325C11.9814 18.2606 12.1081 18.4828 12.3944 18.6438C13.219 19.109 14.0332 19.5922 14.8578 20.0559C15.0203 20.1469 15.0695 20.2483 15.0665 20.4272C15.0561 21.0565 15.0621 21.6872 15.0621 22.3672L15.0636 22.3687ZM13.383 9.93998C13.0744 9.75806 12.8104 9.75955 12.5018 9.93998C10.772 10.951 9.03486 11.9486 7.29916 12.9506C7.22609 12.9938 7.15005 13.0326 7.02032 13.1027C7.06654 12.4436 6.92488 11.8218 7.15005 11.2194C7.27232 10.8898 7.50196 10.6423 7.80615 10.4664C9.25405 9.62982 10.7005 8.7918 12.1514 7.95974C12.6807 7.65554 13.2205 7.663 13.7499 7.96869C15.3976 8.91705 17.0438 9.86841 18.687 10.8227C18.7571 10.863 18.8451 10.954 18.8451 11.0226C18.857 11.6995 18.8526 12.378 18.8526 13.1042C18.2546 12.7597 17.7029 12.4406 17.1512 12.1215C15.8941 11.3953 14.6341 10.6766 13.383 9.93998ZM24.9618 20.5853C24.9185 21.1176 24.6069 21.4949 24.1461 21.7603C22.3821 22.7743 20.6196 23.7942 18.857 24.8112C18.3038 25.1303 17.7506 25.4494 17.1959 25.7685C17.1288 25.8073 17.0602 25.8401 16.9692 25.8878C16.9633 25.7953 16.9558 25.7282 16.9558 25.6611C16.9558 25.0766 16.9588 24.4936 16.9528 23.909C16.9528 23.7763 16.9842 23.6958 17.1064 23.6257C19.6772 22.1465 22.2464 20.6628 24.8142 19.1806C24.8529 19.1582 24.8962 19.1404 24.9692 19.1061C24.9692 19.625 24.9991 20.1081 24.9618 20.5853ZM24.9752 16.9051C24.9707 17.5105 24.6442 17.9355 24.1267 18.2337C22.1167 19.3894 20.1081 20.551 18.0995 21.7111C17.7327 21.9228 17.3644 22.1331 16.9707 22.3597C16.9648 22.2598 16.9573 22.1942 16.9573 22.1271C16.9573 21.5515 16.9633 20.9745 16.9528 20.3989C16.9499 20.2349 17.005 20.1484 17.1467 20.0664C18.9733 19.0181 20.794 17.9579 22.6237 16.9156C22.9487 16.7307 23.0919 16.5025 23.0889 16.1208C23.0755 14.1316 23.0829 12.1424 23.0829 10.1532V9.80578C23.5601 10.0936 24.0075 10.3307 24.416 10.6199C24.7888 10.8839 24.9767 11.2835 24.9782 11.7443C24.9842 13.4651 24.9886 15.1858 24.9767 16.9066L24.9752 16.9051Z",fill:"#131313"}),(0,ci.jsx)("circle",{cx:"16",cy:"16",r:"16",fill:"#131313"}),(0,ci.jsx)("path",{d:"M15.425 6.97505C15.8372 6.77309 16.2716 6.78693 16.6713 7.01379C18.0574 7.80364 19.4393 8.60042 20.8143 9.40549C21.2569 9.66555 21.4838 10.0819 21.4852 10.5937C21.4935 12.3879 21.4907 14.1806 21.4852 15.9747C21.4852 16.0411 21.4423 16.138 21.3884 16.1698C20.8558 16.4879 20.3163 16.7936 19.7312 17.1312V16.849C19.7312 15.0037 19.7256 13.1597 19.7353 11.3144C19.7367 10.9603 19.615 10.7321 19.301 10.5536C17.6922 9.63927 16.0917 8.70831 14.4885 7.78289C14.4193 7.74278 14.3516 7.6999 14.2464 7.63627C14.6586 7.40249 15.0294 7.16733 15.4222 6.97505H15.425ZM15.1304 25.3299C15.0404 25.2843 14.974 25.2525 14.909 25.2151C12.7857 23.9909 10.6651 22.7584 8.53483 21.5439C7.93725 21.2036 7.66474 20.718 7.67166 20.0361C7.68411 18.5864 7.67996 17.1367 7.67304 15.6856C7.67027 15.0313 7.93586 14.5569 8.51131 14.2304C10.0066 13.3797 11.4937 12.5165 12.9807 11.652C13.1094 11.5773 13.2034 11.5648 13.3376 11.645C13.8508 11.9535 14.3737 12.2482 14.9201 12.5635C14.8163 12.6258 14.7375 12.6728 14.6573 12.7199C13.0471 13.6494 11.4397 14.5818 9.82544 15.5058C9.56123 15.6566 9.43812 15.853 9.44088 16.1601C9.44918 17.3027 9.45057 18.4453 9.44088 19.5879C9.43812 19.9033 9.564 20.1038 9.83512 20.2588C11.538 21.2326 13.2339 22.2175 14.9353 23.1941C15.0792 23.2771 15.14 23.3629 15.1373 23.5344C15.1248 24.1195 15.1331 24.7061 15.1331 25.3313L15.1304 25.3299ZM15.1304 22.0571C14.9823 21.9727 14.8758 21.9132 14.7693 21.8509C13.4192 21.0722 12.0705 20.2906 10.7177 19.5173C10.571 19.4343 10.5171 19.3444 10.5185 19.1743C10.5281 18.2959 10.524 17.4175 10.5212 16.5391C10.5212 16.4202 10.5392 16.3385 10.6568 16.2721C11.1548 15.9941 11.6472 15.7036 12.1411 15.42C12.177 15.3993 12.2158 15.3841 12.2808 15.3523V16.3385C12.2808 16.8725 12.2891 17.4078 12.278 17.9418C12.2711 18.2461 12.3887 18.4522 12.6543 18.6016C13.4192 19.0332 14.1745 19.4814 14.9395 19.9116C15.0902 19.996 15.1359 20.09 15.1331 20.256C15.1234 20.8398 15.129 21.4249 15.129 22.0557L15.1304 22.0571ZM13.5714 10.5273C13.285 10.3586 13.0402 10.36 12.7539 10.5273C11.1492 11.4652 9.53771 12.3906 7.92756 13.3202C7.85978 13.3603 7.78924 13.3963 7.66889 13.4613C7.71177 12.8499 7.58036 12.2731 7.78924 11.7142C7.90267 11.4085 8.11569 11.1789 8.39788 11.0156C9.74106 10.2396 11.0828 9.46221 12.4288 8.69033C12.9199 8.40814 13.4206 8.41506 13.9117 8.69863C15.4402 9.5784 16.9674 10.4609 18.4917 11.3462C18.5568 11.3836 18.6384 11.468 18.6384 11.5316C18.6494 12.1596 18.6453 12.789 18.6453 13.4627C18.0906 13.1431 17.5788 12.8471 17.067 12.5511C15.9008 11.8774 14.732 11.2107 13.5714 10.5273ZM24.3126 20.4026C24.2725 20.8965 23.9834 21.2464 23.556 21.4927C21.9195 22.4333 20.2845 23.3795 18.6494 24.3229C18.1362 24.6189 17.623 24.9149 17.1085 25.211C17.0462 25.2469 16.9826 25.2774 16.8982 25.3216C16.8927 25.2359 16.8857 25.1736 16.8857 25.1114C16.8857 24.5691 16.8885 24.0282 16.883 23.486C16.883 23.3629 16.912 23.2882 17.0255 23.2232C19.4102 21.8509 21.7937 20.4746 24.1757 19.0996C24.2116 19.0788 24.2518 19.0622 24.3195 19.0304C24.3195 19.5118 24.3472 19.96 24.3126 20.4026ZM24.3251 16.9887C24.3209 17.5503 24.018 17.9445 23.538 18.2212C21.6733 19.2932 19.81 20.3708 17.9467 21.447C17.6064 21.6435 17.2648 21.8385 16.8996 22.0488C16.894 21.9561 16.8871 21.8952 16.8871 21.833C16.8871 21.299 16.8927 20.7637 16.883 20.2297C16.8802 20.0776 16.9314 19.9973 17.0628 19.9213C18.7573 18.9488 20.4463 17.9653 22.1436 16.9984C22.4452 16.8268 22.578 16.6152 22.5752 16.2611C22.5628 14.4158 22.5697 12.5705 22.5697 10.7251V10.4028C23.0123 10.6698 23.4273 10.8898 23.8063 11.1581C24.1522 11.403 24.3265 11.7737 24.3278 12.2011C24.3334 13.7974 24.3375 15.3937 24.3265 16.9901L24.3251 16.9887Z",fill:"url(#radial-atmosphere)"}),(0,ci.jsx)("path",{d:"M15.425 6.97505C15.8372 6.77309 16.2716 6.78693 16.6713 7.01379C18.0574 7.80364 19.4393 8.60042 20.8143 9.40549C21.2569 9.66555 21.4838 10.0819 21.4852 10.5937C21.4935 12.3879 21.4907 14.1806 21.4852 15.9747C21.4852 16.0411 21.4423 16.138 21.3884 16.1698C20.8558 16.4879 20.3163 16.7936 19.7312 17.1312V16.849C19.7312 15.0037 19.7256 13.1597 19.7353 11.3144C19.7367 10.9603 19.615 10.7321 19.301 10.5536C17.6922 9.63927 16.0917 8.70831 14.4885 7.78289C14.4193 7.74278 14.3516 7.6999 14.2464 7.63627C14.6586 7.40249 15.0294 7.16733 15.4222 6.97505H15.425ZM15.1304 25.3299C15.0404 25.2843 14.974 25.2525 14.909 25.2151C12.7857 23.9909 10.6651 22.7584 8.53483 21.5439C7.93725 21.2036 7.66474 20.718 7.67166 20.0361C7.68411 18.5864 7.67996 17.1367 7.67304 15.6856C7.67027 15.0313 7.93586 14.5569 8.51131 14.2304C10.0066 13.3797 11.4937 12.5165 12.9807 11.652C13.1094 11.5773 13.2034 11.5648 13.3376 11.645C13.8508 11.9535 14.3737 12.2482 14.9201 12.5635C14.8163 12.6258 14.7375 12.6728 14.6573 12.7199C13.0471 13.6494 11.4397 14.5818 9.82544 15.5058C9.56123 15.6566 9.43812 15.853 9.44088 16.1601C9.44918 17.3027 9.45057 18.4453 9.44088 19.5879C9.43812 19.9033 9.564 20.1038 9.83512 20.2588C11.538 21.2326 13.2339 22.2175 14.9353 23.1941C15.0792 23.2771 15.14 23.3629 15.1373 23.5344C15.1248 24.1195 15.1331 24.7061 15.1331 25.3313L15.1304 25.3299ZM15.1304 22.0571C14.9823 21.9727 14.8758 21.9132 14.7693 21.8509C13.4192 21.0722 12.0705 20.2906 10.7177 19.5173C10.571 19.4343 10.5171 19.3444 10.5185 19.1743C10.5281 18.2959 10.524 17.4175 10.5212 16.5391C10.5212 16.4202 10.5392 16.3385 10.6568 16.2721C11.1548 15.9941 11.6472 15.7036 12.1411 15.42C12.177 15.3993 12.2158 15.3841 12.2808 15.3523V16.3385C12.2808 16.8725 12.2891 17.4078 12.278 17.9418C12.2711 18.2461 12.3887 18.4522 12.6543 18.6016C13.4192 19.0332 14.1745 19.4814 14.9395 19.9116C15.0902 19.996 15.1359 20.09 15.1331 20.256C15.1234 20.8398 15.129 21.4249 15.129 22.0557L15.1304 22.0571ZM13.5714 10.5273C13.285 10.3586 13.0402 10.36 12.7539 10.5273C11.1492 11.4652 9.53771 12.3906 7.92756 13.3202C7.85978 13.3603 7.78924 13.3963 7.66889 13.4613C7.71177 12.8499 7.58036 12.2731 7.78924 11.7142C7.90267 11.4085 8.11569 11.1789 8.39788 11.0156C9.74106 10.2396 11.0828 9.46221 12.4288 8.69033C12.9199 8.40814 13.4206 8.41506 13.9117 8.69863C15.4402 9.5784 16.9674 10.4609 18.4917 11.3462C18.5568 11.3836 18.6384 11.468 18.6384 11.5316C18.6494 12.1596 18.6453 12.789 18.6453 13.4627C18.0906 13.1431 17.5788 12.8471 17.067 12.5511C15.9008 11.8774 14.732 11.2107 13.5714 10.5273ZM24.3126 20.4026C24.2725 20.8965 23.9834 21.2464 23.556 21.4927C21.9195 22.4333 20.2845 23.3795 18.6494 24.3229C18.1362 24.6189 17.623 24.9149 17.1085 25.211C17.0462 25.2469 16.9826 25.2774 16.8982 25.3216C16.8927 25.2359 16.8857 25.1736 16.8857 25.1114C16.8857 24.5691 16.8885 24.0282 16.883 23.486C16.883 23.3629 16.912 23.2882 17.0255 23.2232C19.4102 21.8509 21.7937 20.4746 24.1757 19.0996C24.2116 19.0788 24.2518 19.0622 24.3195 19.0304C24.3195 19.5118 24.3472 19.96 24.3126 20.4026ZM24.3251 16.9887C24.3209 17.5503 24.018 17.9445 23.538 18.2212C21.6733 19.2932 19.81 20.3708 17.9467 21.447C17.6064 21.6435 17.2648 21.8385 16.8996 22.0488C16.894 21.9561 16.8871 21.8952 16.8871 21.833C16.8871 21.299 16.8927 20.7637 16.883 20.2297C16.8802 20.0776 16.9314 19.9973 17.0628 19.9213C18.7573 18.9488 20.4463 17.9653 22.1436 16.9984C22.4452 16.8268 22.578 16.6152 22.5752 16.2611C22.5628 14.4158 22.5697 12.5705 22.5697 10.7251V10.4028C23.0123 10.6698 23.4273 10.8898 23.8063 11.1581C24.1522 11.403 24.3265 11.7737 24.3278 12.2011C24.3334 13.7974 24.3375 15.3937 24.3265 16.9901L24.3251 16.9887Z",fill:"url(#radial-atmosphere)"})]}))}fi.displayName="PassportSymbol";var di=T(n(3681)),hi=n(3767);function pi(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,hi.jsxs)(gt,M(L({},i),{viewBox:"0 0 48 48",sx:(0,di.default)({width:"100px"},r),children:[(0,hi.jsx)("defs",{children:(0,hi.jsxs)("radialGradient",{id:"radial-atmosphere",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12.7405 12.6825) rotate(44.9817) scale(49.8653 105.753)",children:[(0,hi.jsx)("stop",{stopColor:"#A3EEF8"}),(0,hi.jsx)("stop",{offset:"0.177083",stopColor:"#A4DCF5"}),(0,hi.jsx)("stop",{offset:"0.380208",stopColor:"#A6AEEC"}),(0,hi.jsx)("stop",{offset:"1",stopColor:"#ECBEE1"})]})}),(0,hi.jsx)("circle",{cx:"24",cy:"24",r:"24",fill:"url(#radial-atmosphere)"}),(0,hi.jsx)("path",{d:"M24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0ZM23.0718 9.16608C23.7383 8.83951 24.4406 8.86188 25.087 9.2287C27.3282 10.5059 29.5627 11.7942 31.786 13.096C32.5018 13.5165 32.8686 14.1897 32.8708 15.0173C32.8843 17.9184 32.8798 20.8171 32.8708 23.7182C32.8708 23.8255 32.8015 23.9821 32.7143 24.0335C31.8531 24.548 30.9808 25.0423 30.0347 25.5881V25.1318C30.0347 22.148 30.0257 19.1664 30.0414 16.1827C30.0436 15.6101 29.8468 15.241 29.339 14.9525C26.7377 13.474 24.1499 11.9687 21.5575 10.4723C21.4457 10.4075 21.3361 10.3381 21.1661 10.2352C21.8326 9.85722 22.4321 9.47698 23.0673 9.16608H23.0718ZM22.5953 38.8451C22.45 38.7713 22.3426 38.7198 22.2375 38.6595C18.8041 36.68 15.3752 34.687 11.9307 32.7232C10.9644 32.173 10.5238 31.3879 10.5349 30.2852C10.5551 27.9411 10.5484 25.597 10.5372 23.2507C10.5327 22.1927 10.9622 21.4255 11.8926 20.8977C14.3105 19.5221 16.715 18.1264 19.1195 16.7284C19.3275 16.6076 19.4796 16.5875 19.6965 16.7172C20.5264 17.216 21.3719 17.6924 22.2554 18.2024C22.0876 18.3031 21.9601 18.3791 21.8304 18.4552C19.2268 19.9582 16.6278 21.4658 14.0175 22.9599C13.5903 23.2037 13.3912 23.5213 13.3957 24.0179C13.4091 25.8654 13.4114 27.713 13.3957 29.5605C13.3912 30.0705 13.5948 30.3948 14.0332 30.6453C16.7866 32.2199 19.5288 33.8125 22.28 35.3916C22.5126 35.5258 22.611 35.6645 22.6065 35.9418C22.5864 36.888 22.5998 37.8363 22.5998 38.8473L22.5953 38.8451ZM22.5953 33.553C22.356 33.4166 22.1838 33.3204 22.0116 33.2198C19.8285 31.9605 17.6477 30.6967 15.4602 29.4464C15.2231 29.3122 15.1359 29.1668 15.1381 28.8917C15.1538 27.4714 15.1471 26.0511 15.1426 24.6308C15.1426 24.4384 15.1717 24.3064 15.3618 24.1991C16.167 23.7495 16.9633 23.2798 17.7618 22.8212C17.8199 22.7877 17.8826 22.7631 17.9877 22.7116V24.3064C17.9877 25.1698 18.0011 26.0354 17.9832 26.8988C17.972 27.3909 18.1622 27.7241 18.5916 27.9657C19.8285 28.6636 21.0498 29.3883 22.2867 30.0839C22.5305 30.2203 22.6043 30.3724 22.5998 30.6408C22.5842 31.5847 22.5931 32.5308 22.5931 33.5508L22.5953 33.553ZM20.0746 14.91C19.6116 14.6371 19.2157 14.6393 18.7527 14.91C16.1581 16.4265 13.5523 17.9228 10.9487 19.4259C10.8391 19.4908 10.7251 19.5489 10.5305 19.6541C10.5998 18.6654 10.3873 17.7327 10.7251 16.8291C10.9085 16.3348 11.2529 15.9635 11.7092 15.6995C13.8811 14.4447 16.0507 13.1877 18.227 11.9396C19.0211 11.4833 19.8308 11.4945 20.6248 11.953C23.0964 13.3756 25.5657 14.8026 28.0306 16.2341C28.1357 16.2945 28.2677 16.4309 28.2677 16.5338C28.2856 17.5493 28.2788 18.567 28.2788 19.6563C27.3819 19.1396 26.5543 18.6609 25.7267 18.1823C23.8412 17.093 21.9512 16.0149 20.0746 14.91ZM37.4427 30.8779C37.3778 31.6764 36.9103 32.2423 36.2192 32.6404C33.5732 34.1614 30.9294 35.6913 28.2856 37.2168C27.4557 37.6954 26.6259 38.1741 25.7938 38.6527C25.6932 38.7109 25.5903 38.7601 25.4539 38.8317C25.4449 38.693 25.4337 38.5924 25.4337 38.4917C25.4337 37.6149 25.4382 36.7404 25.4293 35.8636C25.4293 35.6645 25.4762 35.5437 25.6596 35.4386C29.5157 33.2198 33.3696 30.9942 37.2212 28.7709C37.2794 28.7374 37.3443 28.7105 37.4539 28.6591C37.4539 29.4375 37.4986 30.1622 37.4427 30.8779ZM37.4628 25.3577C37.4561 26.2658 36.9663 26.9033 36.1901 27.3506C33.175 29.0841 30.1622 30.8265 27.1493 32.5666C26.5991 32.8842 26.0466 33.1996 25.4561 33.5396C25.4472 33.3897 25.436 33.2913 25.436 33.1907C25.436 32.3273 25.4449 31.4617 25.4293 30.5983C25.4248 30.3523 25.5075 30.2226 25.72 30.0995C28.46 28.5271 31.1911 26.9368 33.9355 25.3733C34.4231 25.096 34.6378 24.7538 34.6334 24.1812C34.6132 21.1974 34.6244 18.2136 34.6244 15.2298V14.7087C35.3402 15.1404 36.0112 15.496 36.624 15.9299C37.1832 16.3258 37.465 16.9253 37.4673 17.6164C37.4762 20.1976 37.4829 22.7788 37.465 25.3599L37.4628 25.3577Z",fill:"#131313"}),(0,hi.jsx)("path",{fillRule:"evenodd",d:"M24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0ZM24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2Z",fill:"url(#radial-atmosphere)"})]}))}pi.displayName="PassportSymbolOutlined";var vi=T(n(3681)),mi=n(3767);function gi(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,mi.jsxs)(gt,M(L({},i),{viewBox:"0 0 123 112",sx:(0,vi.default)({width:"123px",fill:"base.color.brand.1"},r),children:[(0,mi.jsx)("path",{d:"M3.60008 74.9453H0V93.6041H3.60008V74.9453Z"}),(0,mi.jsx)("path",{d:"M22.4585 80.0212C20.6727 80.0212 19.0283 80.7622 18.0505 82.3115C17.3209 80.8013 15.8595 80.0212 13.9691 80.0212C12.364 80.0212 10.8786 80.7231 9.97916 82.1681V80.282H6.50976V93.6063H9.97916V86.2032C9.97916 84.3432 11.2445 82.9503 12.8475 82.9503H13.0565C14.4787 82.9503 15.143 83.8477 15.143 85.6187V93.6085H18.6124V86.2054C18.6124 84.3453 19.8647 82.9525 21.4676 82.9525H21.6767C23.0989 82.9525 23.737 83.8499 23.737 85.6208V93.6106H27.2064V85.2188C27.2064 83.6435 26.8274 82.3832 26.0717 81.4315C25.3029 80.4949 24.1029 80.0256 22.4585 80.0256V80.0212Z"}),(0,mi.jsx)("path",{d:"M45.5291 80.0212C43.7432 80.0212 42.0989 80.7622 41.121 82.3115C40.3914 80.8013 38.93 80.0212 37.0396 80.0212C35.4345 80.0212 33.9492 80.7231 33.0497 82.1681V80.282H29.5803V93.6063H33.0497V86.2032C33.0497 84.3432 34.3151 82.9503 35.918 82.9503H36.1271C37.5493 82.9503 38.2135 83.8477 38.2135 85.6187V93.6085H41.6829V86.2054C41.6829 84.3453 42.9352 82.9525 44.5381 82.9525H44.7472C46.1694 82.9525 46.8075 83.8499 46.8075 85.6208V93.6106H50.2769V85.2188C50.2769 83.6435 49.898 82.3832 49.1422 81.4315C48.3734 80.4949 47.1734 80.0256 45.5291 80.0256V80.0212Z"}),(0,mi.jsx)("path",{d:"M71.8077 89.2061V83.0785H74.7936V80.282H71.8077V75.9622H68.3383V80.282H60.9312V87.6851C60.9312 89.5451 59.692 91.0683 58.1805 91.0683H57.9715C56.7061 91.0683 55.9896 90.1318 55.9896 88.413V80.282H52.5202V88.8041C52.5202 90.3534 52.8991 91.5746 53.6549 92.4872C54.3975 93.4107 55.5322 93.867 57.0328 93.867C58.688 93.867 60.1102 93.0218 60.9312 91.655V93.6063H64.4006V83.0807H68.3405V90.1448C68.3405 92.396 69.5536 93.6063 71.8099 93.6063H75.2009V90.6794H73.2843C72.0581 90.6794 71.8099 90.4317 71.8099 89.2083L71.8077 89.2061Z"}),(0,mi.jsx)("path",{d:"M87.5757 84.8082C87.5757 81.7378 85.3325 80.0191 81.9676 80.0191C78.6027 80.0191 76.5033 81.8791 76.2158 84.404H79.6982C79.7766 83.5979 80.5977 82.8156 81.85 82.8156H82.0722C83.3506 82.8156 84.2109 83.7391 84.2109 84.9364V85.2623L80.846 85.5622C79.4108 85.6795 78.2369 86.0945 77.3243 86.8246C76.4118 87.5525 75.9544 88.5934 75.9544 89.9471C75.9152 92.2895 77.9363 93.8888 80.3364 93.8627C82.0438 93.8627 83.4529 93.1348 84.2871 91.9766C84.3132 92.6785 84.3655 93.226 84.4439 93.6019H87.7042C87.6127 92.9783 87.5735 92.0005 87.5735 90.675V84.806L87.5757 84.8082ZM84.2109 88.1653C84.2109 89.8428 82.8148 91.0661 81.238 91.0661H81.0289C80.0772 91.0661 79.3737 90.5316 79.3737 89.7124C79.3737 89.204 79.5697 88.8281 79.9596 88.5543C80.3516 88.2805 80.8068 88.124 81.3164 88.0849L84.2109 87.785V88.1653Z"}),(0,mi.jsx)("path",{d:"M97.2935 80.0212C95.5076 80.0212 94.0201 81.036 93.4452 82.0116V74.9475H89.9758V93.6063H93.4452V91.8766C94.0201 92.8523 95.5055 93.867 97.2935 93.867C101.037 93.9322 103.265 90.5881 103.226 86.9441C103.265 83.3002 101.035 79.956 97.2935 80.0212ZM96.7055 91.0683H96.4964C94.9044 91.1074 93.419 89.3908 93.4452 86.9441C93.419 84.4974 94.9065 82.7808 96.4964 82.8199H96.7055C98.4522 82.8199 99.7567 84.4192 99.7567 86.9181C99.7567 89.4169 98.4391 91.0683 96.7055 91.0683Z"}),(0,mi.jsx)("path",{d:"M108.431 74.9453H104.962V93.6041H108.431V74.9453Z"}),(0,mi.jsx)("path",{d:"M116.557 80.0212C112.646 79.9691 110.167 82.9612 110.206 86.9441C110.141 91.1987 113.205 93.9192 116.557 93.867C119.83 93.867 121.943 92.0461 122.594 89.3908H119.151C118.903 90.3665 118.055 91.0683 116.803 91.0683H116.581C115.133 91.0683 113.7 89.8189 113.569 88.0371H122.594C122.633 87.4656 122.647 87.0484 122.647 86.7877C122.686 82.8982 120.456 79.9821 116.557 80.0212ZM113.571 85.3688C113.65 83.7934 114.863 82.8178 116.324 82.8178H116.533C117.995 82.8178 119.208 83.7934 119.284 85.3688H113.571Z"}),(0,mi.jsx)("path",{d:"M29.9851 101.025V109H31.5581V106.195H32.7571C34.5941 106.195 36.2221 105.7 36.2221 103.665C36.2221 101.256 34.3521 101.025 32.7131 101.025H29.9851ZM32.7461 102.257C33.6041 102.257 34.6051 102.367 34.6051 103.676C34.6051 104.732 33.8351 104.974 32.8561 104.974H31.5581V102.257H32.7461Z"}),(0,mi.jsx)("path",{d:"M36.4683 109H38.0743L38.6353 107.383H41.7373L42.2983 109H44.0034L41.0224 101.025H39.4383L36.4683 109ZM40.1863 102.95L41.2863 106.096H39.0863L40.1863 102.95Z"}),(0,mi.jsx)("path",{d:"M48.6875 105.689C49.5345 105.843 50.1615 106.096 50.1615 106.778C50.1615 107.636 49.2705 107.889 48.5665 107.889C47.6205 107.889 46.8065 107.537 46.6305 106.371H45.1125C45.2555 108.087 46.5535 109.143 48.5115 109.143C50.1175 109.143 51.7455 108.34 51.7455 106.701C51.7455 105.051 50.3155 104.534 49.0175 104.303L47.9725 104.116C47.3345 103.995 46.8615 103.687 46.8615 103.126C46.8615 102.411 47.6755 102.136 48.4015 102.136C49.1495 102.136 49.9635 102.444 50.0845 103.379H51.6025C51.5255 101.85 50.1175 100.882 48.4675 100.882C46.9935 100.882 45.2885 101.586 45.2885 103.192C45.2885 104.578 46.3775 105.249 47.6755 105.502L48.6875 105.689Z"}),(0,mi.jsx)("path",{d:"M57.0244 105.689C57.8714 105.843 58.4984 106.096 58.4984 106.778C58.4984 107.636 57.6074 107.889 56.9034 107.889C55.9574 107.889 55.1434 107.537 54.9674 106.371H53.4494C53.5924 108.087 54.8904 109.143 56.8484 109.143C58.4544 109.143 60.0824 108.34 60.0824 106.701C60.0824 105.051 58.6524 104.534 57.3544 104.303L56.3094 104.116C55.6714 103.995 55.1984 103.687 55.1984 103.126C55.1984 102.411 56.0124 102.136 56.7384 102.136C57.4864 102.136 58.3004 102.444 58.4214 103.379H59.9394C59.8624 101.85 58.4544 100.882 56.8044 100.882C55.3304 100.882 53.6254 101.586 53.6254 103.192C53.6254 104.578 54.7144 105.249 56.0124 105.502L57.0244 105.689Z"}),(0,mi.jsx)("path",{d:"M62.0544 101.025V109H63.6274V106.195H64.8264C66.6634 106.195 68.2914 105.7 68.2914 103.665C68.2914 101.256 66.4214 101.025 64.7824 101.025H62.0544ZM64.8154 102.257C65.6734 102.257 66.6744 102.367 66.6744 103.676C66.6744 104.732 65.9044 104.974 64.9254 104.974H63.6274V102.257H64.8154Z"}),(0,mi.jsx)("path",{d:"M71.3888 105.007C71.3888 103.137 72.4228 102.136 73.6658 102.136C74.9088 102.136 75.9428 103.137 75.9428 105.007C75.9428 106.877 74.9088 107.889 73.6658 107.889C72.4228 107.889 71.3888 106.877 71.3888 105.007ZM77.5708 105.007C77.5708 102.532 76.0418 100.882 73.6658 100.882C71.2898 100.882 69.7608 102.532 69.7608 105.007C69.7608 107.482 71.2898 109.143 73.6658 109.143C76.0418 109.143 77.5708 107.482 77.5708 105.007Z"}),(0,mi.jsx)("path",{d:"M84.5133 109H86.2623L84.4913 105.546C85.4813 105.128 85.9323 104.358 85.9323 103.445C85.9323 101.773 84.9313 101.025 82.3023 101.025H79.6843V109H81.2573V105.876H82.5553H82.9293L84.5133 109ZM82.4783 102.257C83.5453 102.257 84.3153 102.532 84.3153 103.456C84.3153 104.237 83.7763 104.655 82.5553 104.655H81.2573V102.257H82.4783Z"}),(0,mi.jsx)("path",{d:"M89.6424 109H91.2154V102.301H93.6794V101.025H87.1894V102.301H89.6424V109Z"}),(0,mi.jsx)("path",{d:"M62 0C45.4315 0 32 13.4315 32 30C32 46.5685 45.4315 60 62 60C78.5685 60 92 46.5685 92 30C92 13.4315 78.5685 0 62 0ZM60.8397 11.4576C61.6729 11.0494 62.5508 11.0774 63.3588 11.5359C66.1603 13.1323 68.9534 14.7428 71.7325 16.37C72.6272 16.8956 73.0857 17.7372 73.0885 18.7717C73.1053 22.3979 73.0997 26.0214 73.0885 29.6477C73.0885 29.7819 73.0019 29.9776 72.8928 30.0419C71.8164 30.685 70.726 31.3029 69.5433 31.9851V31.4147C69.5433 27.685 69.5321 23.9581 69.5517 20.2283C69.5545 19.5126 69.3085 19.0513 68.6738 18.6906C65.4222 16.8425 62.1873 14.9609 58.9469 13.0904C58.8071 13.0093 58.6701 12.9226 58.4576 12.794C59.2908 12.3215 60.0401 11.8462 60.8341 11.4576H60.8397ZM60.2442 48.5564C60.0624 48.4641 59.9282 48.3998 59.7968 48.3243C55.5051 45.8499 51.219 43.3588 46.9133 40.904C45.7055 40.2162 45.1547 39.2349 45.1687 37.8565C45.1938 34.9264 45.1855 31.9963 45.1715 29.0634C45.1659 27.7409 45.7027 26.7819 46.8658 26.1221C49.8882 24.4026 52.8938 22.658 55.8993 20.9105C56.1594 20.7596 56.3495 20.7344 56.6207 20.8966C57.658 21.52 58.7148 22.1156 59.8192 22.753C59.6095 22.8788 59.4501 22.9739 59.288 23.069C56.0335 24.9478 52.7847 26.8322 49.5219 28.6999C48.9879 29.0047 48.739 29.4017 48.7446 30.0224C48.7614 32.3318 48.7642 34.6412 48.7446 36.9506C48.739 37.5881 48.9935 37.9935 49.5415 38.3066C52.9832 40.2749 56.411 42.2656 59.85 44.2395C60.1407 44.4073 60.2637 44.5806 60.2582 44.9273C60.233 46.11 60.2498 47.2954 60.2498 48.5592L60.2442 48.5564ZM60.2442 41.9413C59.945 41.7707 59.7297 41.6505 59.5144 41.5247C56.7856 39.9506 54.0596 38.3709 51.3253 36.808C51.0289 36.6403 50.9199 36.4585 50.9226 36.1146C50.9422 34.3392 50.9338 32.5638 50.9282 30.7884C50.9282 30.548 50.9646 30.383 51.2022 30.2488C52.2088 29.6869 53.2041 29.0997 54.2022 28.5266C54.2749 28.4846 54.3532 28.4539 54.4846 28.3896V30.383C54.4846 31.4623 54.5014 32.5443 54.479 33.6235C54.4651 34.2386 54.7027 34.6552 55.2395 34.9571C56.7856 35.8294 58.3122 36.7353 59.8583 37.6048C60.1631 37.7754 60.2554 37.9655 60.2498 38.301C60.2302 39.4809 60.2414 40.6636 60.2414 41.9385L60.2442 41.9413ZM57.0932 18.6375C56.5144 18.2964 56.0196 18.2992 55.4408 18.6375C52.1976 20.5331 48.9404 22.4035 45.6859 24.2824C45.5489 24.3635 45.4063 24.4362 45.1631 24.5676C45.2498 23.3318 44.9842 22.1659 45.4063 21.0363C45.6356 20.4185 46.0662 19.9543 46.6365 19.6244C49.3514 18.0559 52.0634 16.4846 54.7838 14.9245C55.7763 14.3541 56.7884 14.3681 57.781 14.9413C60.8705 16.7195 63.9571 18.5033 67.0382 20.2926C67.1696 20.3681 67.3346 20.5387 67.3346 20.6673C67.3569 21.9366 67.3486 23.2088 67.3486 24.5704C66.2274 23.9245 65.1929 23.3262 64.1584 22.7279C61.8015 21.3663 59.439 20.0186 57.0932 18.6375ZM78.8033 38.5974C78.7223 39.5955 78.1379 40.3029 77.274 40.8006C73.9664 42.7018 70.6617 44.6142 67.3569 46.521C66.3197 47.1193 65.2824 47.7176 64.2423 48.3159C64.1165 48.3886 63.9879 48.4501 63.8173 48.5396C63.8061 48.3663 63.7922 48.2404 63.7922 48.1146C63.7922 47.0186 63.7978 45.9254 63.7866 44.8294C63.7866 44.5806 63.8453 44.4296 64.0746 44.2982C68.8947 41.5247 73.712 38.7428 78.5266 35.9637C78.5993 35.9217 78.6803 35.8882 78.8173 35.8239C78.8173 36.7968 78.8732 37.7027 78.8033 38.5974ZM78.8285 31.6971C78.8201 32.8322 78.2078 33.6291 77.2377 34.1883C73.4688 36.3551 69.7027 38.5331 65.9366 40.7083C65.2488 41.1053 64.5582 41.4995 63.8201 41.9245C63.8089 41.7372 63.795 41.6142 63.795 41.4883C63.795 40.4091 63.8062 39.3271 63.7866 38.2479C63.781 37.9404 63.8844 37.7782 64.15 37.6244C67.575 35.6589 70.9888 33.671 74.4194 31.7167C75.0289 31.37 75.2973 30.9422 75.2917 30.2265C75.2665 26.4967 75.2805 22.767 75.2805 19.0373V18.3858C76.1752 18.9254 77.014 19.37 77.7801 19.9124C78.479 20.4073 78.8313 21.1566 78.8341 22.0205C78.8453 25.247 78.8537 28.4734 78.8313 31.6999L78.8285 31.6971Z"})]}))}gi.displayName="PassportVerticalLockup";var yi=T(n(3681)),bi=n(3767);var Ci=n(3767),xi={ImmutableSymbol:qr,PassportSymbol:fi,PassportSymbolOutlined:pi},wi={MetaMaskSymbol:ni,WalletConnectSymbol:function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,bi.jsx)(gt,M(L({},i),{viewBox:"0 0 48 48",sx:(0,yi.default)({width:"100px",fill:"#368AFA"},r),children:(0,bi.jsx)("path",{d:"M14.5549 17.819C19.7684 12.727 28.2316 12.727 33.4451 17.819L34.0728 18.4366C34.336 18.6897 34.336 19.1047 34.0728 19.3578L31.9266 21.4533C31.795 21.5849 31.5824 21.5849 31.4508 21.4533L30.5903 20.6131C26.9459 17.0598 21.0541 17.0598 17.4097 20.6131L16.4885 21.5141C16.3568 21.6457 16.1443 21.6457 16.0127 21.5141L13.8665 19.4185C13.6033 19.1655 13.6033 18.7504 13.8665 18.4973L14.5549 17.819ZM37.8893 22.1519L39.8026 24.0146C40.0658 24.2676 40.0658 24.6827 39.8026 24.9358L31.1876 33.3483C30.9244 33.6014 30.4992 33.6014 30.2461 33.3483L24.1316 27.3755C24.0709 27.3148 23.9595 27.3148 23.8988 27.3755L17.7842 33.3483C17.521 33.6014 17.0959 33.6014 16.8428 33.3483L8.19741 24.9358C7.9342 24.6827 7.9342 24.2676 8.19741 24.0146L10.1107 22.1519C10.3739 21.8988 10.7991 21.8988 11.0522 22.1519L17.1667 28.1246C17.2275 28.1854 17.3388 28.1854 17.3996 28.1246L23.5141 22.1519C23.7773 21.8988 24.2025 21.8988 24.4556 22.1519L30.5701 28.1246C30.6308 28.1854 30.7422 28.1854 30.8029 28.1246L36.9174 22.1519C37.2009 21.8988 37.6261 21.8988 37.8893 22.1519Z"})}))},MagicSymbol:$r,GameStopSymbol:Hr},ki=L(L(L({},{ImmutableHorizontalLockup:Ur,ImmutableVerticalLockup:Yr,PassportHorizontalLockup:ai,PassportHorizontalLockupCompact:ui,PassportVerticalLockup:gi}),xi),wi),Ei=function(e){var t=e,n=t.logo,r=A(t,["logo"]),i=ki[n];return(0,Ci.jsx)(i,L({},r))};Ei.displayName="Logo";var Si=n(3767);function Li(e){var t=e,n=(t.children,t.sx),r=void 0===n?{}:n,i=t.size,a=void 0===i?"medium":i,o=t.variant,s=void 0===o?"primary":o,u=t.domRef,l=t.logo,c=A(t,["children","sx","size","variant","domRef","logo"]),f=X(),d=Nr({size:a,variant:s,themeProps:f}),h=d.defaultSize,p=d.defaultVariant,v=d.styles,m=(0,Fr.default)(Rr(h,f),Ir(p,f),v,r);return(0,Si.jsx)(Ei,M(L({},c),{sx:m,logo:l,domRef:u}))}Li.displayName="Button.Logo";var Mi=n(3767);function Ai(e){var t=e,n=t.children,r=t.sx,i=void 0===r?{}:r,a=t.variant,o=void 0===a?"primary":a,s=t.size,u=void 0===s?gr:s,l=t.testId,f=A(t,["children","sx","variant","size","testId"]),h=X(),p=Ge(u,gr,st),v=function(e){var t=e.size,n=e.variant,r=e.themeProps,i=Array.isArray(t)?c(t):[t];return i.shift(),{styles:ur.default.apply(void 0,c(i.map((function(e,t){var i;if(null!=e&&!cr(e)){var a="@media screen and (min-width: ".concat(null==(i=r.base.breakpointAsArray)?void 0:i[t],"px)");return d({},a,"primary"===n?Mr(e,r):"secondary"===n?Ar(e,r):_r(e,r))}return{}}))))}}({size:u,variant:o,themeProps:h}),m=v.styles,g=(0,or.default)(function(e){var t=e.size,n=e.variant,r=e.themeProps;return(0,ur.default)(Cr,"primary"===n?Mr(t,r):"secondary"===n?Ar(t,r):_r(t,r),"primary"===n?Er:"secondary"===n?Sr:Lr)}({size:p,variant:o,themeProps:h}),m,i);return(0,Mi.jsx)(lt,M(L({},f),{sx:g,testId:l,children:(0,Mi.jsx)("span",{css:br,children:ar.Children.map(n,(function(e){return fe(e)&&(de(e,jr)||de(e,Li))?(0,ar.cloneElement)(e,{size:u,variant:o,className:"Button__iconOrLogo",testId:e.props.testId?e.props.testId:"".concat(l,"__icon"),sx:e.props.sx}):fe(e)&&de(e,ir)||"object"!==typeof e?e:void 0}))})}))}Ai.displayName="Button",Ai.Icon=jr,Ai.Logo=Li;var _i=n(3767);function Pi(e){var t=e,n=t.size,r=void 0===n?gr:n,i=t.variant,a=void 0===i?yr:i,o=t.sx,s=void 0===o?{}:o,u=t.testId,l=t.icon,f=t.iconVariant,h=A(t,["size","variant","sx","testId","icon","iconVariant"]),p=X(),v=Ge(r,gr,st),m=function(e){var t=e.size,n=e.variant,r=e.themeProps,i=Array.isArray(t)?c(t):[t];return i.shift(),{styles:ur.default.apply(void 0,c(i.map((function(e,t){var i;if(null!=e&&!cr(e)){var a="@media screen and (min-width: ".concat(null==(i=r.base.breakpointAsArray)?void 0:i[t],"px)");return d({},a,Pr({size:e,variant:n,themeProps:r}))}return{}}))))}}({size:r,variant:a,themeProps:p}),g=m.styles,y=(0,ct.default)(Pr({size:v,variant:a,themeProps:p}),g,s),b=function(e){var t=e.variant,n=e.size,r=e.themeProps,i=Array.isArray(n)?c(n):[n];return i.shift(),{styles:ur.default.apply(void 0,c(i.map((function(e,n){var i;if(null!=e&&!cr(e)){var a="@media screen and (min-width: ".concat(null==(i=r.base.breakpointAsArray)?void 0:i[n],"px)");return d({},a,Tr({size:e,themeProps:r,variant:t}))}return{}}))))}}({variant:a,size:r,themeProps:p}),C=b.styles,x=(0,ct.default)(Tr({size:v,variant:a,themeProps:p}),C);return(0,_i.jsx)(Ai,M(L({},h),{size:r,variant:a,sx:y,testId:u,children:(0,_i.jsx)(ir,{sx:x,icon:l,variant:f,testId:"".concat(u,"__icon")})}))}Pi.displayName="ButtCon";var Ti=n(5535),Ri=T(n(3681)),Ii=T(n(3681)),Ni=T(n(3681));function Oi(e,t){return(0,Ni.default)({position:"relative","&[disabled]":{cursor:"default"},"&::before":{content:"''",position:"absolute",bottom:"0",left:"0",width:"100%"}},"primary"===e?function(e){return{color:e.base.color.text.link.primary,"&:hover:not([disabled])::before":{background:e.base.color.text.link.primary,height:e.base.border.size[100]},"&:active:not([disabled])::before":{background:e.base.color.text.link.primary,height:e.base.border.size[200]}}}(t):function(e){return{color:e.base.color.text.link.secondary,"&:hover:not([disabled])::before":{background:e.base.color.text.link.secondary,height:e.base.border.size[100]},"&:active:not([disabled])::before":{background:e.base.color.text.link.secondary,height:e.base.border.size[200]}}}(t))}function ji(e,t){return{alignSelf:"center",margin:"0 ".concat({large:"3px",medium:"2px",small:"2px",xSmall:"1px",xxSmall:"1px"}[e]),width:"xxSmall"===e||"xSmall"===e||"small"===e?t.base.icon.size[100]:"large"===e?t.base.icon.size[250]:t.base.icon.size[200]}}function Fi(e,t){return{fill:t.base.color.text.link[e]}}var Vi=n(3767),Bi=function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.variant,a=void 0===i?"primary":i,o=t.size,s=void 0===o?"medium":o,u=t.iconVariant,l=A(t,["sx","variant","size","iconVariant"]),f=X(),h=function(e){var t=e.size,n=e.variant,r=e.themeProps,i=Array.isArray(t)?c(t):[t],a=i.shift(),o=Ni.default.apply(void 0,c(i.map((function(e,t){var n;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(n=r.base.breakpointAsArray)?void 0:n[t],"px)");return d({},i,ji(e,r))}return{}})))),s=Array.isArray(n)?c(n):[n],u=s.shift(),l=Ni.default.apply(void 0,c(s.map((function(e,t){var n;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(n=r.base.breakpointAsArray)?void 0:n[t],"px)");return d({},i,Fi(e,r))}return{}}))));return{defaultSize:a,defaultVariant:u,styles:(0,Ni.default)({},o,l)}}({size:s,variant:a,themeProps:f}),p=h.defaultSize,v=h.defaultVariant,m=h.styles,g=(0,Ii.default)(ji(p,f),Fi(v,f),m,r);return(0,Vi.jsx)(ir,M(L({},l),{sx:g,variant:u}))};Bi.displayName="Link.Icon";var Hi=n(3767),Di={color:"base.color.text.link"};function zi(e){var t=e,n=t.variant,r=void 0===n?"primary":n,i=t.size,a=void 0===i?"medium":i,o=t.weight,s=void 0===o?"regular":o,u=t.sx,l=void 0===u?{}:u,f=t.children,h=t.testId,p=A(t,["variant","size","weight","sx","children","testId"]),v=X(),m=function(e){var t=e.size,n=e.variant,r=e.themeProps,i=(Array.isArray(t)?c(t):[t]).shift(),a=Array.isArray(n)?c(n):[n],o=a.shift(),s=Ni.default.apply(void 0,c(a.map((function(e,t){var n;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(n=r.base.breakpointAsArray)?void 0:n[t],"px)");return d({},i,Oi(e,r))}return{}}))));return{defaultSize:i,defaultVariant:o,styles:(0,Ni.default)({},s)}}({size:a,variant:r,themeProps:v}),g=m.defaultVariant,y=m.styles,b=(0,Ri.default)(Di,pr({themeProps:v,mono:!1,size:a,weight:s}),Oi(g,v),y,l);return(0,Hi.jsx)(lt,M(L({},p),{sx:b,testId:h,children:Ti.Children.map(f,(function(e){return fe(e)&&de(e,Bi)?(0,Ti.cloneElement)(e,{size:a,variant:r,className:"Link__icon",testId:e.props.testId?e.props.testId:"".concat(h,"__icon"),sx:e.props.sx}):"object"!==typeof e?e:void 0}))}))}zi.displayName="Link",zi.Icon=Bi;var Ui=n(3767);function Zi(e){var t=e,n=(t.size,t.variant),r=void 0===n?"tertiary":n,i=t.sx,a=void 0===i?{}:i,o=A(t,["size","variant","sx"]);return(0,Ui.jsx)(Pi,M(L({},o),{variant:r,size:"medium",sx:(0,et.default)({mr:"base.spacing.x5"},a)}))}Zi.displayName="AppHeaderBar.LeftButtCon";var Wi=T(n(3681)),Gi=n(3767);function qi(e){var t=e,n=(t.size,t.logo),r=t.sx,i=void 0===r?{}:r,a=A(t,["size","logo","sx"]);return(0,Gi.jsx)(Ei,M(L({},a),{logo:n,sx:(0,Wi.default)({width:"base.icon.size.500",mr:"base.spacing.x5"},i)}))}qi.displayName="AppHeaderBar.LeftLogo";var Ki=n(5535),Qi=T(n(3681)),Yi=n(3767);function Ji(e){var t=e,n=(t.size,t.sx),r=void 0===n?{}:n,i=t.children,a=A(t,["size","sx","children"]),o=me(i,Pi);return(0,Yi.jsx)(Ke,M(L({},a),{sx:(0,Qi.default)({display:"flex",gap:"base.spacing.x2",ml:"base.spacing.x2"},r),children:Ki.Children.map(o,(function(e){var t=(0,Ki.isValidElement)(e)&&e.props.variant?e.props.variant:"tertiary",n=(0,Ki.isValidElement)(e)&&e.props.size?e.props.size:"medium";return(0,Yi.jsx)($e,{size:n,variant:t,children:e})}))}))}Ji.displayName="AppHeaderBar.RightHandButtons";var Xi=n(946),$i=T(n(3681)),ea=T(n(3681)),ta={width:"100%",bg:"base.color.neutral.900",padding:"base.spacing.x2"},na={display:"flex",justifyContent:"flex-start",alignItems:"center",borderRadius:"base.borderRadius.x10"};function ra(e){var t=e.size,n=e.themeProps;return"small"===t?{padding:n.base.spacing.x2}:{paddingX:n.base.spacing.x6,paddingY:n.base.spacing.x4}}function ia(e){var t=e.size,n=e.theme;return mr("small"===t?{themeProps:n,size:"xSmall",weight:"bold"}:{themeProps:n,size:"medium",weight:"bold"})}function aa(e){var t=e.size;e.theme;return"small"===t?{height:"base.spacing.x8"}:{height:"base.spacing.x12"}}var oa=n(3767);function sa(e){var t=e,n=t.size,r=void 0===n?Js:n,i=t.sx,a=void 0===i?{}:i,o=A(t,["size","sx"]),s=(0,Xi.useTheme)(),u=Ge(r,Js,Ys),l=function(e){var t=e.theme,n=e.size,r=Array.isArray(n)?c(n):[n];return r.shift(),ea.default.apply(void 0,c(r.map((function(e,n){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=t.base.breakpointAsArray)?void 0:r[n],"px)");return d({},i,ia({size:e,theme:t}))}return{}}))))}({theme:s,size:r}),f=(0,$i.default)({color:"base.color.text.primary",flex:1,textAlign:"center",pl:"base.spacing.x1"},ia({theme:s,size:u}),l,a);return(0,oa.jsx)(Ke,M(L({},o),{sx:f,as:"h1"}))}sa.displayName="AppHeaderBar.Title";var ua=T(n(3681)),la=n(3767);function ca(e){var t=e,n=t.size,r=void 0===n?Js:n,i=t.logo,a=t.sx,o=void 0===a?{}:a,s=A(t,["size","logo","sx"]),u=X(),l=Ge(r,Js,Ys),f=function(e){var t=e.theme,n=e.size,r=Array.isArray(n)?c(n):[n];return r.shift(),ea.default.apply(void 0,c(r.map((function(e,n){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=t.base.breakpointAsArray)?void 0:r[n],"px)");return d({},i,aa({size:e,theme:t}))}return{}}))))}({theme:u,size:r}),h=(0,ua.default)({flex:1},aa({theme:u,size:l}),f,o);return(0,la.jsx)(Ei,M(L({},s),{logo:i,sx:h}))}ca.displayName="AppHeaderBar.TitleLogo";var fa=T(n(3681)),da=n(5535),ha=n(5535),pa="closePopover",va="openPopover",ma=Ve({popoverList:[]},(function(e,t){switch(t.type){case va:var n=!Boolean(e.popoverList.find((function(e){return e.id===t.payload.id})));return M(L({},e),{popoverList:[].concat(c(e.popoverList),c(n?[t.payload]:[]))});case pa:return M(L({},e),{popoverList:e.popoverList.filter((function(e){return e.id!==t.payload}))});default:return console.error("Unknown reducer action:",t),e}})),ga=ma.Provider,ya=ma.useStore;ga.displayName="BiomePopoverProvider";var ba=n(8374),Ca=n(1003),xa=n(5535);function wa(e,t){return e&&t?e.left+e.width-t.width<0?ka(e,t):e.left+e.width-t.width:0}function ka(e,t){return e&&t?e.left+t.width>window.innerWidth?wa(e,t):e.left:0}function Ea(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e&&t?e.top-t.height<0?Sa(e,t):window.pageYOffset+e.top-t.height-n:0}function Sa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e&&t?window.innerHeight<t.height?window.pageYOffset+e.bottom+n:e.bottom+t.height>window.innerHeight?Ea(e,t):window.pageYOffset+e.bottom+n:0}var La=n(3767),Ma={x:"center",y:"below"};function Aa(e){s(e);var t=(0,xa.useState)([]),n=h(t,2),r=n[0],i=n[1],a=(0,xa.useRef)([]),o=ya((function(e){return e.popoverList})),u=o.state,l=o.dispatchAction;(0,xa.useEffect)((function(){i(a.current.map((function(e){return null==e?void 0:e.getBoundingClientRect()})))}),[i,a,u]);var f=(0,xa.useMemo)((function(){return u.map((function(e){var t,n;return null==(n=null==(t=e.targetRef)?void 0:t.current)?void 0:n.getBoundingClientRect()}))}),[u]),d=(0,xa.useMemo)((function(){return u.map((function(e){return(null==e?void 0:e.position)||Ma}))}),[u]);Ce([].concat(c(a.current.map((function(e){return{current:e}}))),c(u.map((function(e){return e.targetRef})))),(function(){u.forEach((function(e){var t;null==(t=e.onOutsideClick)||t.call(e),e.isControlled||l({type:pa,payload:e.id})}))}));var p=(0,xa.useMemo)((function(){return u.map((function(e,t){var n,i,a=f[t],o=r[t];return{left:"center"===d[t].x?(n=a,i=o,"undefined"!==typeof i&&"undefined"!==typeof n?n.left+n.width/2-i.width/2:0):"left"===d[t].x?ka(a,o):wa(a,o),top:"above"===d[t].y?Ea(a,o):Sa(a,o)}}))}),[r,u,d,f]);return(0,La.jsx)(La.Fragment,{children:u.map((function(e,t){return(0,La.jsx)(Ca.motion.div,{"data-id":e.id,css:function(e){return L({position:"absolute",zIndex:e.base.zLevel.popover},p[t])},initial:{opacity:0,y:"-8%",pointerEvents:"none"},animate:{opacity:1,y:0,transitionEnd:{pointerEvents:"auto"}},transition:{duration:parseFloat(ba.designTokens.base.animation.fast.duration),ease:ba.designTokens.base.animation.fast.jsEase},children:(0,La.jsx)($e,{domRef:function(e){a.current[t]=e},children:null==e?void 0:e.content})},e.id)}))})}var _a=n(1003),Pa=n(3767);function Ta(e){s(e);var t=qa((function(e){return e.tooltipList})),n=t.state,r=(t.dispatchAction,n[0]);return r?(0,Pa.jsxs)(_a.motion.div,{"data-tooltip-overlay-root":!0,children:["tooltips stuff goes in here:",(0,Pa.jsxs)("div",{children:["id: ",r.id,(0,Pa.jsx)("br",{}),"target-rect: ",JSON.stringify(r.targetRect),(0,Pa.jsx)("br",{}),"content: ",r.content]},r.id)]}):null}var Ra=n(5535),Ia=T(j());function Na(e){var t=e.children,n=e.selector,r=(0,Ra.useRef)(null),i=(0,Ra.useState)(!1),a=h(i,2),o=a[0],s=a[1];return H((function(){return r.current=document.querySelector(n),s(!0),function(){return s(!1)}}),[]),o&&r.current?(0,Ia.createPortal)(t,r.current):null}var Oa=n(3767),ja="popover-container";function Fa(e){var t=e.children;return(0,Oa.jsxs)(ga,{children:[t,(0,Oa.jsx)(Na,{selector:"#".concat(ja),children:(0,Oa.jsx)(Aa,{})}),(0,Oa.jsx)("div",{id:ja})]})}var Va=n(8374),Ba=n(4017),Ha=n(946),Da=n(3767);function za(e){var t=e.base;return{base:M(L({},t),{breakpointAsArray:Object.values(t.breakpoint)})}}Ba.injectGlobal(i||(i=u(["\n ","\n /* ^ @TODO: migrate this hosted content over to BIOME infra */\n /* ^ @NOTE: never put anyting (even a comment), before the fontFaceStylesImport */\n \n /* \n\n GLOBAL STYLES \n\n Please, think very carefully before putting stuff in here. \n The only things that belong in here are styles for the elements that \n sit outside of React's reach (eg html, body and #app). \n \n Everything else should go into component styles.\n\n */\n\n /* BASIC RESET STYLES */\n\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n html,\n body {\n height: 100%;\n margin: 0;\n }\n\n pre,\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n }\n\n body {\n /* Get fonts to look slightly nicer where possible */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n }\n"])),Va.fontFaceStylesImport);var Ua=Va.designTokens,Za=function(e){var t=e.children,n=e.theme,r=void 0===n?Ua:n,i=e.globalSx,a=$(void 0===i?{}:i);return(0,Da.jsxs)(Ha.ThemeProvider,{theme:za(r),children:[(0,Da.jsx)(Ha.Global,{styles:a}),t]})},Wa=Ve({tooltipList:[]},(function(e,t){switch(t.type){case"storeTooltip":var n=!Boolean(e.tooltipList.find((function(e){return e.id===t.payload.id})));return M(L({},e),{tooltipList:[].concat(c(e.tooltipList),c(n?[t.payload]:[]))});case"clearTooltip":return M(L({},e),{tooltipList:e.tooltipList.filter((function(e){return e.id!==t.payload}))});default:return console.error("Unknown reducer action:",t),e}})),Ga=Wa.Provider,qa=Wa.useStore;Ga.displayName="BiomeTooltipProvider";var Ka=n(3767),Qa="tooltip-container";function Ya(e){var t=e.children;return(0,Ka.jsxs)(Ga,{children:[t,(0,Ka.jsx)(Na,{selector:"#".concat(Qa),children:(0,Ka.jsx)(Ta,{})}),(0,Ka.jsx)("div",{id:Qa})]})}var Ja=Ve({width:null,height:null}),Xa=Ja.Provider,$a=Ja.useStore;Xa.displayName="BiomeWindowSizeProvider";var eo=T(n(942));function to(e){var t=e.resizeDebounceDuration,n=void 0===t?no:t,r=$a((function(e){return e})).setState;return oe("resize",(0,eo.default)((function(){r({width:window.innerWidth,height:window.innerHeight})}),n),{current:"undefined"!==typeof window?window:null}),H((function(){return r({width:window.innerWidth,height:window.innerHeight})}),[]),null}var no=40,ro=n(3767),io=function(e){var t=e,n=t.children,r=t.resizeDebounceDuration,i=void 0===r?no:r,a=A(t,["children","resizeDebounceDuration"]);return(0,ro.jsx)(Za,M(L({},a),{children:(0,ro.jsxs)(Xa,{children:[(0,ro.jsx)(to,{resizeDebounceDuration:i}),(0,ro.jsx)(Fa,{children:(0,ro.jsx)(Ya,{children:n})})]})}))},ao=n(3767);function oo(e){var t=e,n=t.children,r=A(t,["children"]);return(0,ao.jsx)(Ke,M(L({},r),{children:n}))}var so=n(3767);function uo(e){var t=e,n=t.children,r=A(t,["children"]);return(0,so.jsx)($e,M(L({},r),{children:n}))}var lo=n(3767);function co(e){var t=e.visible,n=e.id,r=e.children,i=e.position,a=void 0===i?{x:"center",y:"below"}:i,o=e.domRef,s=void 0===o?{current:null}:o,u=e.onOutsideClick,l=ue(s),c=(0,ha.useId)(),f=n||c,d=pe(r,uo),h=pe(r,oo),p=ya((function(e){return e.popoverList})),v=p.state,m=p.dispatchAction,g="undefined"!==typeof t,y=(0,ha.useCallback)((function(){m({type:va,payload:{id:f,content:h,targetRef:l,position:a,isControlled:g,onOutsideClick:u}})}),[m,f,h,l,a,g,u]),b=(0,ha.useCallback)((function(){m({type:pa,payload:f})}),[m,f]);H((function(){t?y():v.find((function(e){return e.id===f}))&&b()}),[t]);var C=(0,ha.useMemo)((function(){return g?{}:{onClick:function(){v.find((function(e){return e.id===f}))?b():y()}}}),[v,g,f,b,y]);return(0,lo.jsx)($e,M(L({},C),{id:f,domRef:l,children:d}))}co.displayName="Popover",co.Target=uo,co.Content=oo;var fo=n(5535),ho=T(n(3681)),po=n(946),vo=T(n(3681)),mo=T(n(3681)),go=n(5535),yo=T(n(3681)),bo=n(946).keyframes(a||(a=u(["\n 0% {\n transform: scale(0.5);\n opacity: 0.8;\n }\n 100% {\n transform: scale(1);\n opacity: 0;\n }\n"]))),Co={height:"base.spacing.x4",width:"base.spacing.x4",borderRadius:"50%",position:"relative",flexShrink:"0",display:"flex",alignItems:"center",justifyContent:"center","&::before":{content:'""',height:"100%",width:"100%",borderRadius:"50%",transform:"scale(0.5)"}},xo=n(3767),wo=function(e){var t=e,n=t.as,r=void 0===n?"span":n,i=t.domRef,a=t.testId,o=t.sx,s=void 0===o?{}:o,u=t.variant,l=void 0===u?"alert":u,c=t.isAnimated,f=void 0!==c&&c,d=(t.children,A(t,["as","domRef","testId","sx","variant","isAnimated","children"])),h=(0,go.useMemo)((function(){return(0,yo.default)(Co,function(e){return{alert:{"&::before, &::after":{backgroundColor:"base.color.status.fatal.bright"}},guidance:{"&::before, &::after":{backgroundColor:"base.color.status.guidance.bright"}},success:{"&::before, &::after":{backgroundColor:"base.color.status.success.bright"}},warning:{"&::before, &::after":{backgroundColor:"base.color.status.attention.bright"}}}[e]}(l),function(e){return e?{"&::before":{animation:"".concat(bo," 1.5s ease-in-out infinite")},"&::after":{content:"''",position:"absolute",top:"50%",left:"50%",width:"base.spacing.x2",height:"base.spacing.x2",borderRadius:"50%",transform:"translate(-50%, -50%)"}}:{"&::before":{opacity:"1"}}}(f),s)}),[f,s,l]);return(0,xo.jsx)(Ke,L({as:r,sx:h,domRef:i,testId:a},d))},ko=n(3767),Eo=function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,ko.jsx)(wo,M(L({},i),{sx:(0,mo.default)({mt:"base.spacing.x1",order:"3",ml:"base.spacing.x4"},r)}))};Eo.displayName="MenuItem.Badge";var So=T(n(3681)),Lo=n(946),Mo=T(n(3681)),Ao=function(e){var t=e,n=t.as,r=void 0===n?"span":n,i=t.size,a=void 0===i?"medium":i,o=t.weight,s=void 0===o?"regular":o,u=t.className,l=t.testId,c=t.children,f=t.domRef,d=t.onClick,h=t.mono,p=t.sx,v=void 0===p?{}:p,m=A(t,["as","size","weight","className","testId","children","domRef","onClick","mono","sx"]),g=X(),y=$((0,Mo.default)(Pe(v,"base.color.text.primary"),v)),b=(0,Mo.default)(pr({themeProps:g,mono:h,size:a,weight:s}),y);return(0,Lo.jsx)(r,M(L({},m),{"data-testid":l,ref:f,className:u,css:b,onClick:d}),c)};Ao.displayName="Body";var _o=n(946),Po=T(n(3681)),To=function(e){var t=e,n=t.as,r=void 0===n?"span":n,i=t.size,a=void 0===i?"medium":i,o=t.weight,s=void 0===o?"regular":o,u=t.testId,l=t.children,c=t.onClick,f=t.domRef,d=t.sx,h=void 0===d?{}:d,p=A(t,["as","size","weight","testId","children","onClick","domRef","sx"]),v=X(),m=$((0,Po.default)(Pe(h,"base.color.text.primary"),h)),g=(0,Po.default)(vr({themeProps:v,size:a,weight:s}),m);return(0,_o.jsx)(r,M(L({},p),{"data-testid":u,ref:f,css:g,onClick:c}),l)};function Ro(e,t){return"Body"===e.displayName}function Io(e,t){return"Heading"===e.displayName}function No(e,t){return"Caption"===e.displayName}To.displayName="Caption";var Oo=n(946),jo=T(n(3681)),Fo=function(e){var t=e,n=t.as,r=void 0===n?"h1":n,i=t.size,a=void 0===i?"medium":i,o=t.weight,s=void 0===o?"regular":o,u=t.testId,l=t.domRef,c=t.children,f=t.onClick,d=t.sx,h=void 0===d?{}:d,p=A(t,["as","size","weight","testId","domRef","children","onClick","sx"]),v=X(),m=$((0,jo.default)(Pe(h,"base.color.text.primary"),h)),g=(0,jo.default)(mr({themeProps:v,size:a,weight:s}),m);return(0,Oo.jsx)(r,M(L({},p),{"data-testid":u,ref:l,css:g,onClick:f}),c)};Fo.displayName="Heading";var Vo=n(3767),Bo="leftSideLength + rightSideLength must be less than text length";function Ho(e){var t=e,n=t.leftSideLength,r=void 0===n?8:n,i=t.rightSideLength,a=void 0===i?4:i,o=t.text,s=t.use,u=void 0===s?Ao:s,l=t.size,c=void 0===l?"medium":l,f=t.weight,d=t.domRef,h=t.onClick,p=A(t,["leftSideLength","rightSideLength","text","use","size","weight","domRef","onClick"]);if(r+a>=o.length)throw Error(Bo);var v={size:c,weight:f,domRef:d,onClick:h},m=o.substring(0,r),g=o.substring(o.length-a,o.length);return Ro(u)?(0,Vo.jsxs)(Ao,M(L(L({},p),v),{children:[m,"...",g]})):Io(u)?(0,Vo.jsxs)(Fo,M(L(L({},p),v),{children:[m,"...",g]})):No(u)?(0,Vo.jsxs)(To,M(L(L({},p),v),{children:[m,"...",g]})):null}var Do=n(8374),zo=T(n(3681)),Uo=n(5535),Zo=T(n(3681)),Wo=n(3767),Go="https://design-system.immutable.com/hosted-for-ds/images/defaultTokenImage--darkOnLight.svg",qo="https://design-system.immutable.com/hosted-for-ds/images/defaultTokenImage--lightOnDark.svg",Ko=function(e){var t=e.imageUrl,n=e.imageResizeServiceUrl;return t?"".concat(n,"/url=").concat(De(t)):void 0},Qo=function(e){var t=e.width,n=e.height,r=e.imageUrl,i=e.imageResizeServiceUrl,a=e.isSvg;return r?"".concat(Ko({imageResizeServiceUrl:i,imageUrl:r})).concat(t&&!a?"&w=".concat(t):n&&!a?"&h=".concat(n):""):void 0},Yo=function(e){return null==e?void 0:e.sort()[0]},Jo=256;function Xo(e){var t=e,n=t.testId,r=t.className,i=t.defaultImageClassName,a=t.imageUrl,o=t.defaultImageUrl,s=t.responsiveSizes,u=void 0===s?[32,64,128,256]:s,l=t.relativeImageSizeInLayout,c=void 0===l?"".concat(Yo(u),"px"):l,f=t.domRef,d=t.loading,h=void 0===d?"lazy":d,p=t.imageResizeServiceUrl,v=void 0===p?"https://image-resizer-cache.dev.immutable.com":p,m=t.sx,g=void 0===m?{}:m,y=t.alt,b=A(t,["testId","className","defaultImageClassName","imageUrl","defaultImageUrl","responsiveSizes","relativeImageSizeInLayout","domRef","loading","imageResizeServiceUrl","sx","alt"]),C=X(),x=(0,Uo.useMemo)((function(){return o||("lightOnDark"===C.base.colorMode?qo:Go)}),[C,o]),w=$(g),k=ie({imageUrl:Ko({imageUrl:a,imageResizeServiceUrl:v})}),E=ne({imageUrl:Qo({imageUrl:a,imageResizeServiceUrl:v,width:32})}),S=(0,Uo.useMemo)((function(){return null==u?void 0:u.reduce((function(e,t){return"".concat(e).concat(Qo({imageUrl:a,imageResizeServiceUrl:v,width:t,isSvg:!1})," ").concat(t+20,"w, ")}),"")}),[u,a,v]),_=(0,Uo.useMemo)((function(){return k?{src:Qo({imageUrl:a,imageResizeServiceUrl:v,isSvg:!0})}:S?{srcSet:S,sizes:c}:{src:Qo({imageUrl:a,imageResizeServiceUrl:v,width:Jo,isSvg:!1})}}),[k,a,v,S,c]);return E?(0,Wo.jsx)("img",M(L(L({},b),_),{alt:y,ref:f,className:r,css:w,"data-testid":n,loading:h})):(0,Wo.jsx)("img",M(L({},b),{alt:y,ref:f,className:i,"data-testid":"".concat(n,"--defaultImage"),loading:h,src:x,css:(0,Zo.default)(w,{objectFit:"contain",objectPosition:"center"})}))}var $o=n(3767),es={display:"inline-flex",flexDirection:"column",alignItems:"flex-end",textAlign:"right",wordBreak:"break-word",position:"relative"},ts={display:"flex",alignItems:"center"};function ns(e){var t=e,n=t.use,r=void 0===n?Ao:n,i=t.size,a=void 0===i?"medium":i,o=t.weight,s=t.price,u=t.fiatAmount,l=t.as,c=void 0===l?"span":l,f=t.domRef,d=t.currencyImageUrl,h=t.imageResizeServiceUrl,p=t.onClick,v=t.sx,m=void 0===v?{}:v,g=t.testId,y=void 0===g?"PriceDisplay":g,b=A(t,["use","size","weight","price","fiatAmount","as","domRef","currencyImageUrl","imageResizeServiceUrl","onClick","sx","testId"]),C=Ue(s),x=u?Ue(u):null,w=M(L({},b),{testId:"".concat(y,"__price")}),k={size:a,weight:o,onClick:p},E=Ro(r)?(0,$o.jsxs)(Ao,M(L(L({},w),k),{sx:M(L({},ts),{gap:"calc(".concat(Do.base.text.body[a].regular.fontSize," * 0.3)")}),children:[C,d&&(0,$o.jsx)(Xo,{testId:"".concat(y,"__price__currencyImage"),imageUrl:d,imageResizeServiceUrl:h,sx:{width:Do.base.text.body[a].regular.fontSize}})]})):Io(r)?(0,$o.jsxs)(Fo,M(L(L({},w),k),{sx:M(L({},ts),{gap:"calc(".concat(Do.base.text.heading[a].regular.fontSize," * 0.3)")}),children:[C,d&&(0,$o.jsx)(Xo,{testId:"".concat(y,"__price__currencyImage"),imageUrl:d,imageResizeServiceUrl:h,sx:{width:Do.base.text.heading[a].regular.fontSize}})]})):No(r)?(0,$o.jsxs)(To,M(L(L({},w),k),{children:[C,d&&(0,$o.jsx)(Xo,{testId:"".concat(y,"__price__currencyImage"),imageUrl:d,imageResizeServiceUrl:h,sx:{width:Do.base.text.caption[a].regular.fontSize}})]})):null;return(0,$o.jsxs)(Ke,{testId:y,as:c,domRef:f,sx:(0,zo.default)({},es,m),children:[E,x&&(0,$o.jsx)(Ao,{sx:{color:"base.color.text.secondary",textAlign:"left"},size:"xSmall",weight:"regular",testId:"".concat(y,"__fiatAmount"),className:"fiatPrice",children:x})]})}ns.displayName="PriceDisplay";var rs=n(3767),is=function(e){var t=e,n=t.size,r=void 0===n?"xSmall":n,i=t.weight,a=void 0===i?"regular":i,o=t.sx,s=void 0===o?{}:o,u=A(t,["size","weight","sx"]);return(0,rs.jsx)(Ao,M(L({},u),{sx:(0,So.default)({color:"base.color.text.secondary",textAlign:"left"},s),size:r,weight:a}))};is.displayName="MenuItem.Caption";var as=T(n(3681)),os=T(n(3681)),ss={display:"flex",flexDirection:"column",alignItems:"flex-start",flexGrow:"1",order:"2"},us=function(e){var t=e.size,n=e.theme;return{paddingY:"medium"===t?n.base.spacing.x6:n.base.spacing.x3}},ls={display:"flex",alignItems:"center",paddingX:"base.spacing.x4",borderRadius:"base.borderRadius.x6",width:"100%",borderWidth:"base.border.size.100",borderColor:"transparent",borderStyle:"solid","&.elevated":{bgc:"base.color.translucent.container.100"},"&:not(div):hover":{bgc:"base.color.translucent.container.200",boxShadow:"base.shadow.200"},"&.selected":{bgc:"base.color.translucent.container.200",borderWidth:"base.border.size.200",borderColor:"base.color.translucent.standard.1000",borderStyle:"solid"},"&:not(div):active":{bgc:"base.color.translucent.container.100",boxShadow:"base.shadow.100"}},cs=function(e){var t=e.size,n=e.theme,r=Array.isArray(t)?c(t):[t];return r.shift(),{styles:os.default.apply(void 0,c(r.map((function(e,t){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=n.base.breakpointAsArray)?void 0:r[t],"px)");return d({},i,us({size:e,theme:n}))}return{}}))))}},fs={d:"flex",justifyContent:"center",alignItems:"center",width:"44px",height:"44px",bg:"base.color.translucent.standard.200",borderRadius:"base.borderRadius.x2",mr:"base.spacing.x4",order:"1"},ds={width:"44px",height:"44px",borderRadius:"base.borderRadius.x2",objectFit:"cover",objectPosition:"center",display:"block",mr:"base.spacing.x4",order:"1"};function hs(e){var t=e.size,n=e.theme;return"small"===t?pr({themeProps:n,mono:!1,size:"medium",weight:"regular"}):mr({themeProps:n,size:"xSmall",weight:"bold"})}var ps=n(3767),vs=function(e){var t=e,n=t.icon,r=t.sx,i=void 0===r?{}:r,a=t.testId,o=A(t,["icon","sx","testId"]);return(0,ps.jsx)(Ke,M(L({},o),{testId:a,sx:(0,as.default)(fs,i),children:(0,ps.jsx)(ir,{icon:n,sx:{width:"base.icon.size.300",fill:"base.color.text.primary"}})}))};vs.displayName="MenuItem.FramedIcon";var ms=T(n(3681)),gs=n(3767),ys=function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.testId,a=A(t,["sx","testId"]),o=(0,ms.default)(ds,r);return(0,gs.jsx)(Xo,M(L({},a),{testId:i,sx:o}))};ys.displayName="MenuItem.FramedImage";var bs=T(n(3681)),Cs=n(3767),xs=function(e){var t=e,n=t.logo,r=t.sx,i=void 0===r?{}:r,a=A(t,["logo","sx"]);return(0,Cs.jsx)(Ei,M(L({},a),{logo:n,sx:(0,bs.default)({width:"base.icon.size.300",fill:"base.color.text.primary",mr:"base.spacing.x4",order:"1"},i)}))};xs.displayName="MenuItem.FramedLogo";var ws=T(n(3681)),ks=n(3767),Es=function(e){var t=e,n=t.icon,r=t.sx,i=void 0===r?{}:r,a=A(t,["icon","sx"]);return(0,ks.jsx)(ir,M(L({},a),{icon:n,sx:(0,ws.default)({width:"base.icon.size.300",fill:"base.color.text.primary",mr:"base.spacing.x4",order:"1"},i)}))};Es.displayName="MenuItem.Icon";var Ss=T(n(3681)),Ls=n(3767),Ms=function(e){var t=e,n=t.icon,r=void 0===n?"ChevronForward":n,i=t.sx,a=void 0===i?{}:i,o=A(t,["icon","sx"]);return(0,Ls.jsx)(ir,M(L({},o),{icon:r,sx:(0,Ss.default)({width:"base.icon.size.300",fill:"base.color.text.secondary",order:"4",ml:"base.spacing.x4"},a)}))};Ms.displayName="MenuItem.IntentIcon";var As=T(n(3681));var _s="medium",Ps=["small","medium"],Ts=n(3767),Rs=function(e){var t=e,n=t.size,r=void 0===n?_s:n,i=t.children,a=t.sx,o=void 0===a?{}:a,s=A(t,["size","children","sx"]),u=X(),l=Ge(r,_s,Ps),f=function(e){var t=e.theme,n=e.size,r=Array.isArray(n)?c(n):[n];return r.shift(),os.default.apply(void 0,c(r.map((function(e,n){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=t.base.breakpointAsArray)?void 0:r[n],"px)");return d({},i,hs({size:e,theme:t}))}return{}}))))}({theme:u,size:r}),h=(0,As.default)({textAlign:"left",color:"base.color.text.primary"},hs({theme:u,size:l}),f,o);return(0,Ts.jsx)(Ke,M(L({},s),{sx:h,as:"label",children:i}))};Rs.displayName="MenuItem.Label";var Is=T(n(3681)),Ns=n(3767),Os=function(e){var t=e,n=t.price,r=t.size,i=t.sx,a=void 0===i?{}:i,o=A(t,["price","size","sx"]),s=L({},o);return"medium"===r?(0,Ns.jsx)(ns,M(L({},s),{use:Fo,as:"span",size:"xSmall",weight:"bold",price:n,sx:a})):function(e,t){return"small"===e}(r)?(0,Ns.jsx)(ns,M(L({},s),{use:Ao,as:"span",size:"medium",weight:"regular",price:n,sx:a})):null};var js=function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.size,a=void 0===i?_s:i,o=t.price,s=A(t,["sx","size","price"]),u=$a((function(e){return e.width})).state,l=X().base.breakpointAsArray,f=Ge(a,_s,Ps),d=(0,Is.default)({order:"3",ml:"base.spacing.x4"},r),h=(0,Ns.jsx)(Os,M(L({},s),{size:f,price:o,sx:d}));if(null===u)return h;if(function(e){return Array.isArray(e)}(a)){var p=c(a);return p.shift(),p.reduce((function(e,t,n){return null!==t&&u>=l[n]&&(e=(0,Ns.jsx)(Os,M(L({},s),{size:t,price:o,sx:d}))),e}),h)}return"medium"===a||"small"===a?(0,Ns.jsx)(Os,M(L({},s),{price:o,size:a,sx:d})):null};js.displayName="MenuItem.PriceDisplay";var Fs=T(n(3681)),Vs=n(3767),Bs=function(e){var t=e,n=t.children,r=t.sx,i=void 0===r?{}:r,a=A(t,["children","sx"]);return(0,Vs.jsx)(Gs,M(L({},a),{size:"small",sx:(0,Fs.default)({ml:"base.spacing.x4",flexShrink:0,order:4},i),children:n}))},Hs=n(3767);function Ds(e){var t=e,n=t.testId,r=t.className,i=t.children,a=t.elevated,o=t.selected,s=t.sx,u=void 0===s?{}:s,l=t.href,c=t.onClick,f=t.size,d=void 0===f?_s:f,h=A(t,["testId","className","children","elevated","selected","sx","href","onClick","size"]),p=X(),v=Ge(d,_s,Ps),m=cs({size:d,theme:p}).styles,g=(0,vo.default)({},ls,us({size:v,theme:p}),m,u),y=pe(i,Es),b=pe(i,vs),C=pe(i,ys),x=pe(i,xs),w=pe(i,Rs),k=pe(i,is),E=pe(i,Ms),S=pe(i,Eo),_=pe(i,js),P=pe(i,Bs),T=L({onClick:c,href:l},h),R=(0,Hs.jsxs)(Hs.Fragment,{children:[x?(0,Hs.jsx)($e,{testId:x.props.testId||"".concat(n,"__framedLogo"),children:x}):C?(0,Hs.jsx)($e,{testId:C.props.testId||"".concat(n,"__framedImage"),children:C}):b?(0,Hs.jsx)($e,{testId:b.props.testId||"".concat(n,"__framedIcon"),children:b}):y?(0,Hs.jsx)($e,{testId:y.props.testId||"".concat(n,"__icon"),children:y}):null,(0,Hs.jsxs)(Ke,{as:"span",sx:ss,children:[w&&(0,Hs.jsx)($e,{testId:w.props.testId||"".concat(n,"__label"),size:d,children:w}),k&&(0,Hs.jsx)($e,{testId:k.props.testId||"".concat(n,"__caption"),children:k})]}),_&&(0,Hs.jsx)($e,{testId:_.props.testId||"".concat(n,"__priceDisplay"),size:d,children:_}),P&&(0,Hs.jsx)($e,{testId:P.props.testId||"".concat(n,"__verticalMenu"),children:P}),S&&(0,Hs.jsx)($e,{testId:S.props.testId||"".concat(n,"__badge"),children:S}),E&&(0,Hs.jsx)($e,{testId:E.props.testId||"".concat(n,"__intentIcon"),children:E})]});return(0,Hs.jsx)(po.ClassNames,{children:function(e){var t=e.cx;return function(e,t,n){return Boolean(t)||Boolean(e)}(c,l)?(0,Hs.jsx)(lt,M(L({},T),{testId:n,className:t({selected:o,elevated:a},r),sx:g,children:R})):function(e,t,n){return!Boolean(t)&&!Boolean(e)}(c,l)?(0,Hs.jsx)(Ke,M(L({},h),{as:"div",testId:n,className:t({selected:o,elevated:a},r),sx:g,children:R})):null}})}Ds.displayName="MenuItem",Ds.Icon=Es,Ds.FramedIcon=vs,Ds.FramedImage=ys,Ds.FramedLogo=xs,Ds.Label=Rs,Ds.IntentIcon=Ms,Ds.PriceDisplay=js,Ds.VerticalMenu=Bs,Ds.Caption=is,Ds.Badge=Eo;var zs={minWidth:"290px",maxHeight:"300px",bg:"base.color.neutral.600",position:"relative",p:"base.spacing.x1",overflowY:"auto",borderRadius:"base.borderRadius.x4",boxShadow:"base.shadow.500"},Us=n(3767);function Zs(e){var t=e,n=t.children,r=t.sx,i=void 0===r?{}:r,a=t.size,o=void 0===a?"small":a,s=A(t,["children","sx","size"]),u=me(n,Ds);return(0,Us.jsx)(Ke,M(L({},s),{sx:(0,ho.default)(zs,i),children:fo.Children.map(u,(function(e){return e?(0,Us.jsx)($e,{size:e.props.size?e.props.size:o,children:e}):null}))}))}var Ws=n(3767);function Gs(e){var t=e,n=t.children,r=t.domRef,i=t.testId,a=t.icon,o=void 0===a?"MoreVertical":a,s=t.size,u=void 0===s?"medium":s,l=t.variant,c=void 0===l?"tertiary":l,f=t.onClick,d=A(t,["children","domRef","testId","icon","size","variant","onClick"]),p=(0,da.useState)(!1),v=h(p,2),m=v[0],g=v[1];return(0,Ws.jsxs)(co,{position:{x:"right",y:"below"},visible:m,onOutsideClick:function(){return g(!1)},domRef:r,children:[(0,Ws.jsx)(co.Target,{children:(0,Ws.jsx)(Pi,M(L({},d),{testId:i,icon:o,size:u,variant:c,onClick:function(e){e.preventDefault(),e.stopPropagation(),g(!m),null==f||f(e)}}))}),(0,Ws.jsx)(co.Content,{children:(0,Ws.jsx)(Zs,{testId:"".concat(i,"__verticalPopoverMenu"),children:da.Children.map(n,(function(e){return(0,Ws.jsx)($e,{onClick:function(e){e.preventDefault(),e.stopPropagation(),g(!1)},children:e})}))})})]})}var qs=n(3767),Ks=function(e){var t=e,n=t.children,r=t.sx,i=void 0===r?{}:r,a=A(t,["children","sx"]);return(0,qs.jsx)(Gs,M(L({},a),{sx:(0,fa.default)({ml:"base.spacing.x2",flexShrink:0,order:4},i),children:n}))},Qs=n(3767),Ys=["small","medium"],Js="medium";function Xs(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.as,a=void 0===i?"header":i,o=t.size,s=void 0===o?Js:o,u=t.children,l=t.elevated,f=void 0===l||l,h=t.testId,p=A(t,["sx","as","size","children","elevated","testId"]),v=X(),m=pe(u,Zi),g=pe(u,qi),y=pe(u,sa),b=pe(u,ca),C=pe(u,Ji),x=pe(u,Ks),w=Ge(s,Js,Ys),k=function(e){var t=e.size,n=e.themeProps,r=Array.isArray(t)?c(t):[t];return r.shift(),ea.default.apply(void 0,c(r.map((function(e,t){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=n.base.breakpointAsArray)?void 0:r[t],"px)");return d({},i,ra({themeProps:n,size:e}))}return{}}))))}({themeProps:v,size:s}),E=(0,V.default)(na,L({},f?{bg:"base.color.neutral.800"}:{}),ra({themeProps:v,size:w}),k),S=(0,V.default)(ta,r);return(0,Qs.jsx)(Ke,M(L({},p),{as:a,sx:S,testId:h,children:(0,Qs.jsxs)(Ke,{sx:E,testId:"".concat(h,"__innerContainer"),children:[m?(0,Qs.jsx)($e,{testId:"".concat(h,"__innerContainer__leftButtCon"),size:s,children:m}):g?(0,Qs.jsx)($e,{testId:"".concat(h,"__innerContainer__leftButtCon"),size:s,children:g}):null,b?(0,Qs.jsx)($e,{testId:"".concat(h,"__innerContainer__titleLogo"),size:s,children:b}):y?(0,Qs.jsx)($e,{testId:"".concat(h,"__innerContainer__title"),size:s,children:y}):null,C||null,x?(0,Qs.jsx)($e,{testId:"".concat(h,"__innerContainer__title"),size:s,children:x}):null]})}))}Xs.displayName="AppHeaderBar",Xs.LeftButtCon=Zi,Xs.LeftLogo=qi,Xs.Title=sa,Xs.VerticalMenu=Ks,Xs.TitleLogo=ca,Xs.RightHandButtons=Ji;var $s=T(n(3681)),eu={width:"base.spacing.x5",height:"base.spacing.x5",position:"relative",d:"flex",alignItems:"center",justifyContent:"center"},tu=function(e){return{borderStyle:"solid",borderWidth:e.base.border.size[100],borderColor:e.base.color.text.secondary,borderRadius:e.base.borderRadius.x4,boxShadow:e.base.shadow[100],"&:disabled":{boxShadow:"none"},"&:checked":{borderWidth:e.base.border.size[200],borderColor:e.base.color.text.primary},"&:hover:not(:disabled)":{borderWidth:e.base.border.size[200]},"&:checked:hover:not(:disabled)":{borderColor:e.base.color.text.secondary,borderWidth:e.base.border.size[100]},"&:checked + .checkIcon":{opacity:"1"}}},nu={fill:"base.color.text.primary",pointerEvents:"none",opacity:"0"},ru=n(3767),iu=function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.testId,a=void 0===i?"Checkbox":i,o=t.name,s=t.id,u=void 0===s?o:s,l=(t.children,t.domRef),c=void 0===l?{current:null}:l,f=t.className,d=t.onChange,h=t.checked,p=t.value,v=t.disabled,m=(t.validationStatus,A(t,["sx","testId","name","id","children","domRef","className","onChange","checked","value","disabled","validationStatus"])),g=ue(c),y=ye(g),b=We(v),C=X();return(0,ru.jsxs)(Ke,{domRef:g,testId:a,className:f,sx:(0,$s.default)(eu,r),children:[(0,ru.jsx)("input",M(L({},m),{type:"checkbox","data-testid":"".concat(a,"__input"),id:u,name:o,value:p,checked:h,onChange:d,disabled:v,css:(0,$s.default)(b,tu(C))})),(0,ru.jsx)(ir,{icon:"Tick",className:"checkIcon",variant:y&&!v?"regular":"bold",sx:nu,testId:"".concat(a,"__checkIcon")})]})},au=T(n(3681)),ou=T(n(3681)),su=function(e){return{display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",border:"none",color:"base.color.text.primary","&::after":{content:'""',flex:1,ml:e?"base.spacing.x6":"0",background:"base.color.text.primary"}}},uu=function(e){var t=e.size,n=e.theme,r="large"===t?mr({size:"xSmall",weight:"bold",themeProps:n}):"medium"===t?pr({size:"medium",weight:"bold",themeProps:n}):vr({size:"small",weight:"bold",themeProps:n});return M(L({},r),{"&::after":{height:"large"===t?"4px":"medium"===t?"2px":"1px"}})},lu=function(e){var t=e.size,n=e.theme,r=Array.isArray(t)?c(t):[t];return r.shift(),ou.default.apply(void 0,c(r.map((function(e,t){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=n.base.breakpointAsArray)?void 0:r[t],"px)");return d({},i,uu({size:e,theme:n}))}return{}}))))},cu=n(3767),fu="medium",du=["small","medium","large"];function hu(e){var t=e,n=t.size,r=void 0===n?fu:n,i=t.sx,a=void 0===i?{}:i,o=t.children,s=A(t,["size","sx","children"]),u=X(),l=Ge(r,fu,du),c=(0,au.default)(su(void 0!==o),uu({theme:u,size:l}),lu({theme:u,size:r}),a);return(0,cu.jsx)(Ke,M(L({},s),{sx:c,children:o}))}var pu=n(5535),vu=T(n(3681)),mu=T(n(3681)),gu={width:"base.spacing.x5",height:"base.spacing.x5",position:"relative",d:"flex",alignItems:"center",justifyContent:"center"},yu=function(e){return{borderStyle:"solid",borderWidth:e.base.border.size[100],borderColor:e.base.color.text.secondary,borderRadius:e.base.borderRadius.x6,boxShadow:e.base.shadow[100],"&:disabled":{boxShadow:"none"},"&:checked":{borderWidth:e.base.border.size[200],borderColor:e.base.color.text.primary},"&:checked + .checkCircle":{opacity:"1"},"&:hover:not(:disabled)":{borderWidth:e.base.border.size[200]},"&:checked:hover:not(:disabled)":{borderColor:e.base.color.text.secondary,borderWidth:e.base.border.size[100]},":checked:not(:disabled):hover + .checkCircle":{width:"6px",height:"6px"}}},bu={position:"relative",pointerEvents:"none",width:"10px",height:"10px",borderRadius:"50%",backgroundColor:"base.color.text.primary",opacity:"0"},Cu=n(3767),xu=function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.testId,a=void 0===i?"Radio":i,o=t.name,s=t.id,u=void 0===s?o:s,l=(t.children,t.domRef),c=void 0===l?{current:null}:l,f=t.className,d=t.onChange,h=t.checked,p=t.value,v=t.disabled,m=A(t,["sx","testId","name","id","children","domRef","className","onChange","checked","value","disabled"]),g=ue(c),y=We(v),b=X();return(0,Cu.jsxs)(Ke,{domRef:g,testId:a,className:f,sx:(0,mu.default)(gu,r),children:[(0,Cu.jsx)("input",M(L({},m),{type:"radio","data-testid":"".concat(a,"__input"),id:u,name:o,value:p,checked:h,onChange:d,disabled:v,css:(0,mu.default)(y,yu(b))})),(0,Cu.jsx)(Ke,{as:"span",className:"checkCircle",sx:bu,testId:"".concat(a,"__checkCircle")})]})},wu=n(5535),ku=T(n(3681)),Eu=T(n(3681)),Su={background:"base.color.brand.1",top:"50%",right:"base.spacing.x3",transform:"translateY(-50%)",position:"absolute",padding:"0",width:"base.icon.size.200",height:"base.icon.size.200",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center"},Lu={width:"base.icon.size.300",zIndex:"1",top:"50%",left:"base.spacing.x3",transform:"translateY(-50%)",position:"absolute",fill:"base.color.brand.1"},Mu={position:"relative",height:"48px",minWidth:"200px",width:"100%","& > *":{position:"absolute"}},Au={appearance:"none",background:"transparent",width:"100%",height:"100%",border:"none",borderRadius:"base.borderRadius.x4",fontFamily:"base.font.family.body.primary",fontSize:"base.text.body.medium.regular.fontSize",lineHeight:"base.text.body.medium.regular.lineHeight",fontWeight:"base.text.body.medium.regular.fontWeight",color:"base.color.text.primary"};function _u(e,t,n,r,i,a){return $(M(L({},Au),{boxShadow:function(t){return"inset 0 0 0 1px ".concat("error"===e?t.base.color.status.fatal.bright:t.base.color.translucent.standard[300])},paddingLeft:r?"base.spacing.x11":"base.spacing.x3",paddingRight:function(e){return t&&n&&!i?"calc(".concat((null==a?void 0:a.width)||0,"px + ").concat(e.base.spacing.x13,")"):t&&!i?"base.spacing.x10":n&&!i?"calc(".concat((null==a?void 0:a.width)||0,"px + ").concat(e.base.spacing.x6,")"):"base.spacing.x3"},"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button":{display:"none"},"&::placeholder":{color:"base.color.text.secondary"},"&:hover":{boxShadow:function(t){var n=t.base.shadow[200];return n+=", inset 0 0 0 1px ".concat("error"===e?t.base.color.status.fatal.bright:t.base.color.translucent.standard[600])}},"&:focus":{outline:"none",boxShadow:function(t){var n=t.base.shadow[200];return n+=", inset 0 0 0 2px ".concat("error"===e?t.base.color.status.fatal.bright:t.base.color.brand[1])}}}))}var Pu=n(3767);function Tu(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=A(t,["sx"]);return(0,Pu.jsx)(lt,M(L({},i),{sx:(0,Eu.default)(Su,r),children:(0,Pu.jsx)(ir,{icon:"Close",sx:{width:"base.icon.size.100",fill:"base.color.brand.2"}})}))}var Ru=T(n(3681)),Iu=n(3767);function Nu(e){var t=e,n=t.children,r=t.currentInputValue,i=t.sx,a=void 0===i?{}:i,o=A(t,["children","currentInputValue","sx"]);return(0,Iu.jsx)(Ai,M(L({variant:"tertiary"},o),{size:"small",sx:(0,Ru.default)({top:"50%",right:r?"base.spacing.x10":"base.spacing.x3",transform:"translateY(-50%)",position:"absolute"},a),children:n}))}Nu.displayName="TextInputButton";var Ou=T(n(3681)),ju=n(3767);function Fu(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.iconVariant,a=A(t,["sx","iconVariant"]);return(0,ju.jsx)(ir,M(L({},a),{variant:i,sx:(0,Ou.default)(Lu,r)}))}Fu.displayName="TextInputIcon";var Vu=n(3767);function Bu(e){var t=e,n=t.onClick,r=t.domRef,i=void 0===r?{current:null}:r,a=t.placeholder,o=t.sx,s=void 0===o?{}:o,u=t.testId,l=void 0===u?"TextInput":u,c=t.name,f=t.id,d=void 0===f?c:f,p=t.children,v=t.className,m=t.type,g=t.validationStatus,y=t.onChange,b=t.value,C=t.hideClearValueButton,x=t.as,w=t.defaultValue,k=void 0===w?"":w,E=A(t,["onClick","domRef","placeholder","sx","testId","name","id","children","className","type","validationStatus","onChange","value","hideClearValueButton","as","defaultValue"]),S=(0,wu.useRef)(null),_=(0,wu.useState)("number"===typeof b?b.toString():"string"===typeof b?b:k),P=h(_,2),T=P[0],R=P[1],I=pe(p,Nu),N=pe(p,Fu),O=(0,wu.useRef)(null),j=ke(O,30),F=(0,wu.useCallback)((function(){S.current&&(S.current.value=""),null==y||y({type:"change",target:S.current}),R(void 0)}),[S,y,R]),V=_u(g,T,I,N,C,j),B=(0,wu.useCallback)((function(e){R(e.target.value),null==y||y(e)}),[R,y]),H=null!=b?b:T;return(0,Vu.jsxs)(Ke,{as:x,domRef:i,className:v,testId:l,onClick:n,"data-validation-status":g,sx:(0,ku.default)(Mu,s),children:[N,(0,Vu.jsx)("input",M(L({},E),{ref:S,"data-testid":"".concat(l,"__input"),onChange:B,value:H,id:d,placeholder:a,type:m,css:V})),I&&(0,wu.cloneElement)(I,{currentInputValue:H,domRef:O}),H&&!C&&(0,Vu.jsx)(Tu,{onClick:F,testId:"".concat(l,"__clearValueButton")})]})}Bu.displayName="TextInput",Bu.Button=Nu,Bu.Icon=Fu;var Hu=T(n(3681)),Du={width:"base.spacing.x12",height:"base.spacing.x7",position:"relative",d:"flex",alignItems:"center",justifyContent:"flexStart"},zu={w:"22px",h:"22px",d:"flex",position:"relative",alignItems:"center",justifyContent:"center",borderRadius:"50%",backgroundColor:"base.color.translucent.standard.1000",boxShadow:"base.shadow.100",transition:"200ms ease-in-out",transitionProperty:"transform, box-shadow",pointerEvents:"none",transform:"translateX(3px)"},Uu={fill:"base.color.text.inverse.primary",opacity:"0"},Zu=n(3767),Wu=function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.testId,a=void 0===i?"Toggle":i,o=t.name,s=t.id,u=void 0===s?o:s,l=(t.children,t.domRef),c=void 0===l?{current:null}:l,f=t.className,d=t.onChange,h=t.checked,p=t.value,v=t.disabled,m=A(t,["sx","testId","name","id","children","domRef","className","onChange","checked","value","disabled"]),g=ue(c),y=ye(g),b=We(v),C=function(e){return{borderRadius:e.base.borderRadius.x12,backgroundColor:e.base.color.translucent.container[100],"&:before":{content:'""',position:"absolute",top:"0",left:"0",width:"100%",height:"100%",borderRadius:e.base.borderRadius.x12,borderWidth:e.base.border.size[100],borderStyle:"solid",borderColor:e.base.color.translucent.standard[500]},"&:disabled":{boxShadow:"none"},"&:hover:not(:disabled)":{boxShadow:e.base.shadow[300],backgroundColor:e.base.color.translucent.container[200]},"&:hover:not(:disabled)::before":{borderColor:e.base.color.translucent.standard[1e3]},"&:hover:not(:disabled):not(checked) + .toggleHandle":{transform:"translateX(6px)",boxShadow:e.base.shadow[300]},"&:checked":{background:e.base.color.status.success.bright,boxShadow:"none"},"&:checked::before":{borderColor:e.base.color.translucent.standard[1e3],borderWidth:e.base.border.size[200]},"&:checked:hover:not(:disabled)":{background:e.base.color.status.success.bright,boxShadow:e.base.shadow[200]},"&:checked:not(:disabled):hover::before":{borderColor:e.base.color.translucent.standard[1e3],borderWidth:e.base.border.size[100]},"&:checked + .toggleHandle":{transform:"translateX(22px)"},"&:checked + .toggleHandle > .toggleHandle__tickIcon":{opacity:"1"},"&:hover:checked:not(:disabled) + .toggleHandle":{transform:"translateX(20px)"}}}(X());return(0,Zu.jsxs)(Ke,{domRef:g,testId:a,className:f,sx:(0,Hu.default)(Du,r),children:[(0,Zu.jsx)("input",M(L({},m),{type:"checkbox","data-testid":"".concat(a,"__input"),id:u,name:o,value:p,checked:h,onChange:d,disabled:v,css:(0,Hu.default)(b,C)})),(0,Zu.jsx)(Ke,{className:"toggleHandle",as:"span",sx:zu,children:(0,Zu.jsx)(ir,{icon:"Tick",variant:y&&!v?"regular":"bold",testId:"".concat(a,"__checkIcon"),sx:Uu,className:"toggleHandle__tickIcon"})})]})};Wu.displayName="Toggle";var Gu=T(n(3681)),qu=n(3767);function Ku(e){var t=e,n=t.size,r=void 0===n?"small":n,i=t.children,a=t.testId,o=t.sx,s=void 0===o?{}:o,u=t.as,l=void 0===u?"span":u,c=t.htmlFor,f=void 0===c?"":c,d=A(t,["size","children","testId","sx","as","htmlFor"]);return(0,qu.jsx)(Ao,M(L({},d),{testId:a,as:l,htmlFor:f,size:r,sx:(0,Gu.default)({marginBottom:"base.spacing.x2",color:"base.color.text.secondary"},s),children:i}))}Ku.displayName="FormControlCaption";var Qu=T(n(3681)),Yu=n(3767);function Ju(e){var t=e,n=t.size,r=void 0===n?"small":n,i=t.children,a=t.testId,o=t.sx,s=void 0===o?{}:o,u=t.as,l=void 0===u?"label":u,c=t.htmlFor,f=void 0===c?"":c,d=A(t,["size","children","testId","sx","as","htmlFor"]);return(0,Yu.jsx)(Ao,M(L({},d),{testId:a,as:l,htmlFor:f,size:r,sx:(0,Qu.default)({color:"base.color.text.primary"},s),children:i}))}Ju.displayName="FormControlLabel";var Xu=T(n(3681)),$u=n(3767);function el(e){var t=e,n=t.size,r=void 0===n?"xSmall":n,i=t.children,a=t.validationStatus,o=t.testId,s=t.sx,u=void 0===s?{}:s,l=(t.as,t.htmlFor,A(t,["size","children","validationStatus","testId","sx","as","htmlFor"])),c={marginTop:"-2px",marginRight:"base.spacing.x1",width:"base.icon.size.200",fill:"error"===a?"base.color.status.fatal.bright":"success"===a?"base.color.status.success.bright":"base.color.status.guidance.bright"};return(0,$u.jsxs)(Ao,M(L({},l),{size:r,testId:o,sx:(0,Xu.default)({color:"base.color.brand.4",display:"flex",alignItems:"center"},u),children:[(0,$u.jsx)(ir,{icon:"error"===a?"Alert":"InformationCircle",sx:c}),i]}))}el.displayName="FormControlValidation";var tl=n(3767);function nl(e){var t=e,n=t.domRef,r=t.sx,i=void 0===r?{}:r,a=t.id,o=t.testId,s=t.children,u=t.validationStatus,l=t.inputAlignment,c=void 0===l?"left":l,f=A(t,["domRef","sx","id","testId","children","validationStatus","inputAlignment"]),d=[Bu,iu,Wu,xu],h=(0,pu.useId)(),p=a||h,v=pe(s,Ju),m=pe(s,Ku),g=pe(s,el),y=pu.Children.toArray(s).find((function(e){return d.some((function(t){return(0,pu.isValidElement)(e)&&e.type===t}))})),b=(0,pu.isValidElement)(y)&&y.type===Bu;return(0,tl.jsx)(Ke,M(L({domRef:n,testId:o,sx:(0,vu.default)({display:"flex",flexDirection:b?"column":"row",gap:"base.spacing.x2"},i)},f),{children:b?(0,tl.jsxs)(pu.Fragment,{children:[v&&(0,pu.cloneElement)(v,{htmlFor:p}),y&&(0,pu.isValidElement)(y)?(0,pu.cloneElement)(y,{id:p,validationStatus:y.props.validationStatus||u}):y,m,g&&(0,pu.cloneElement)(g,{validationStatus:g.props.validationStatus||u})]}):(0,tl.jsxs)(pu.Fragment,{children:[(0,tl.jsxs)(Ke,{sx:{d:"flex",flexDirection:"column"},children:[v&&(0,pu.cloneElement)(v,{htmlFor:p}),m,g&&(0,pu.cloneElement)(g,{validationStatus:g.props.validationStatus||u})]}),y&&(0,pu.isValidElement)(y)?(0,pu.cloneElement)(y,{id:p,validationStatus:y.props.validationStatus||u,sx:(0,vu.default)(L({order:"left"===c?"-1":"1"},"left"===c?{mr:"base.spacing.x2"}:{ml:"base.spacing.x2"}),L({},y.props.sx))}):y]})}))}nl.displayName="FormControl",nl.Label=Ju,nl.Validation=el,nl.Caption=Ku;var rl=n(5535),il=T(n(3681)),al=n(946),ol=T(n(3681)),sl=T(n(3681)),ul={justifyContent:"stretch",bg:"base.color.translucent.standard.200",position:"relative",overflowY:"auto",display:"flex",width:"100%"};function ll(e){var t=e.size,n=e.themeProps,r="large"===t||"medium"===t?n.base.spacing.x2:n.base.spacing.x1;return{gap:r,padding:r,borderRadius:"large"===t||"medium"===t?n.base.borderRadius.x8:n.base.borderRadius.x4}}function cl(e){var t=e.size,n=e.themeProps;return{borderRadius:"large"===t||"medium"===t?n.base.borderRadius.x4:n.base.spacing.x2}}var fl={flex:1,paddingX:"base.spacing.x4",background:"base.color.translucent.container.100","&:hover:not([disabled])::before":{content:"unset"},"& > span":{textAlign:"left"}};function dl(e){var t=e.size,n=e.themeProps,r=Array.isArray(t)?c(t):[t];return r.shift(),{styles:sl.default.apply(void 0,c(r.map((function(e,t){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=n.base.breakpointAsArray)?void 0:r[t],"px)");return d({},i,cl({size:e,themeProps:n}))}return{}}))))}}function hl(e){var t=e.size,n=e.themeProps;return{width:"large"===t||"medium"===t?n.base.icon.size[250]:n.base.icon.size[200]}}var pl=n(3767),vl=function(e){var t=e,n=t.sx,r=void 0===n?{}:n,i=t.size,a=void 0===i?"medium":i,o=t.selected,s=A(t,["sx","size","selected"]),u=X(),l=Ge(a,gr,st),c=dl({size:a,themeProps:u}).styles,f=(0,ol.default)(fl,{"&.selected":{boxShadow:function(e){return"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1])}}},c,cl({size:l,themeProps:u}),r);return(0,pl.jsx)(al.ClassNames,{children:function(e){var t=e.cx;return(0,pl.jsx)(Pi,M(L({},s),{size:a,variant:"tertiary",sx:f,className:t({selected:o})}))}})};vl.displayName="HorizontalMenuButtCon";var ml=n(946),gl=n(5535),yl=T(n(3681)),bl=n(3767),Cl=function(e){var t=e,n=t.children,r=t.sx,i=void 0===r?{}:r,a=t.size,o=void 0===a?"medium":a,s=t.selected,u=A(t,["children","sx","size","selected"]),l=X(),h=Ge(o,gr,st),p=dl({size:o,themeProps:l}).styles,v=Ze(n,ir),m=f(v.subComponents),g=m[0],y=(m.slice(1),v.otherChildren),b=function(e){var t=e.size,n=e.themeProps,r=Array.isArray(t)?c(t):[t];return r.shift(),{styles:sl.default.apply(void 0,c(r.map((function(e,t){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=n.base.breakpointAsArray)?void 0:r[t],"px)");return d({},i,hl({size:e,themeProps:n}))}return{}}))))}}({size:o,themeProps:l}),C=b.styles;return(0,bl.jsx)(ml.ClassNames,{children:function(e){var t=e.cx;return(0,bl.jsxs)(Ai,M(L({},u),{size:o,variant:"tertiary",className:t({selected:s}),sx:(0,yl.default)(fl,{"&.selected":{boxShadow:function(e){return"inset 0 0 0 ".concat(e.base.border.size[300]," ").concat(e.base.color.brand[1])}}},p,cl({size:h,themeProps:l}),i),children:[(0,gl.isValidElement)(g)&&(0,bl.jsx)($e,{sx:yl.default.apply(void 0,[{flexShrink:0,marginRight:"base.spacing.x2"},C,hl({size:h,themeProps:l})].concat(c(g.props.sx?[g.props.sx]:[]))),children:g}),y]}))}})};Cl.displayName="HorizontalMenuButton";var xl=n(3767);function wl(e){var t=e,n=t.children,r=t.sx,i=void 0===r?{}:r,a=t.size,o=void 0===a?"medium":a,s=A(t,["children","sx","size"]),u=me(n,vl),l=me(n,Cl),f=X(),h=Ge(o,gr,st),p=function(e){var t=e.size,n=e.themeProps,r=Array.isArray(t)?c(t):[t];return r.shift(),{styles:sl.default.apply(void 0,c(r.map((function(e,t){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=n.base.breakpointAsArray)?void 0:r[t],"px)");return d({},i,ll({size:e,themeProps:n}))}return{}}))))}}({size:o,themeProps:f}),v=p.styles,m=(0,il.default)(ul,ll({size:h,themeProps:f}),v,i);return(0,xl.jsx)(Ke,M(L({},s),{sx:m,children:rl.Children.map([].concat(c(u||[]),c(l||[])),(function(e){return e?(0,xl.jsx)($e,{size:e.props.size?e.props.size:o,children:e}):null}))}))}wl.Button=Cl,wl.ButtCon=vl;var kl=n(946),El=n(5535),Sl=T(n(3681)),Ll=T(n(3681)),Ml="medium",Al=function(e){var t=e.size,n=e.theme;return{gap:"medium"===t?n.base.spacing.x2:n.base.spacing.x1}},_l=function(e){var t=e.size,n=e.theme,r=Array.isArray(t)?c(t):[t];return r.shift(),Ll.default.apply(void 0,c(r.map((function(e,t){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=n.base.breakpointAsArray)?void 0:r[t],"px)");return d({},i,Al({size:e,theme:n}))}return{}}))))},Pl={background:"base.color.translucent.container.100",borderWidth:"1px",borderColor:"base.color.translucent.standard.500",borderStyle:"solid",cursor:"pointer",transition:"width 200ms ease-in-out",display:"flex",alignItems:"center",justifyContent:"center","&::before":{content:"''",borderRadius:"base.spacing.x1",background:"base.color.translucent.standard.1000",opacity:"0",transition:"opacity 200ms ease-in-out",transitionProperty:"opacity, width, height"},"&:hover":{borderColor:"base.color.translucent.standard.1000"},"&:hover::before, &.selected::before":{opacity:"1"},"&.selected":{borderColor:"base.color.translucent.standard.1000"},"&:hover.selected":{borderWidth:"base.border.size.100"}},Tl=function(e){var t=e.size,n=e.theme,r="medium"===t;return{w:r?n.base.spacing.x5:n.base.spacing.x2,h:r?n.base.spacing.x5:n.base.spacing.x2,borderRadius:r?n.base.spacing.x3:n.base.spacing.x1,"&::before":{width:r?n.base.spacing.x2:n.base.spacing.x1,height:r?n.base.spacing.x2:n.base.spacing.x1},"&.selected":{width:r?n.base.spacing.x12:n.base.spacing.x4,borderWidth:r?n.base.border.size[200]:n.base.border.size[100]},"&.selected::before":{width:r?n.base.spacing.x10:"10px",height:r?n.base.spacing.x3:"2px"},"&:hover.selected::before":{width:r?"34px":"10px",height:r?"6px":"2px"}}},Rl=function(e){var t=e.size,n=e.theme,r=Array.isArray(t)?c(t):[t];return r.shift(),Ll.default.apply(void 0,c(r.map((function(e,t){var r;if(null!=e&&!cr(e)){var i="@media screen and (min-width: ".concat(null==(r=n.base.breakpointAsArray)?void 0:r[t],"px)");return d({},i,Tl({size:e,theme:n}))}return{}}))))},Il=["small","medium"],Nl=n(3767);function Ol(e){var t,n=M(L({},e),"currentPage"in e?{defaultPage:void 0}:{currentPage:void 0}),r=n.as,i=n.domRef,a=n.testId,o=n.sx,s=void 0===o?{}:o,u=n.currentPage,l=n.defaultPage,c=void 0===l?0:l,f=n.totalPages,d=void 0===f?6:f,p=n.onPageChange,v=n.size,m=void 0===v?Ml:v,g=A(n,["as","domRef","testId","sx","currentPage","defaultPage","totalPages","onPageChange","size"]),y=(0,El.useState)(null!=(t=null!=u?u:c)?t:0),b=h(y,2),C=b[0],x=b[1],w=(0,El.useCallback)((function(e){return function(){"number"===typeof u||x(e),null==p||p(e)}}),[p,u]),k=X(),E=Ge(m,Ml,Il),S=(0,El.useMemo)((function(){return(0,Sl.default)({display:"flex"},Al({size:E,theme:k}),_l({size:m,theme:k}),s)}),[s,m,k,E]),_=(0,El.useMemo)((function(){return(0,Sl.default)(Pl,Tl({size:E,theme:k}),Rl({size:m,theme:k}))}),[m,k,E]),P=null!=u?u:C;return(0,Nl.jsx)(kl.ClassNames,{children:function(e){var t=e.cx;return(0,Nl.jsx)(Ke,M(L({},g),{testId:a,domRef:i,as:r,sx:S,children:Array.from({length:d}).map((function(e,n){var r=n===P;return(0,Nl.jsx)(Ke,{onClick:w(n),className:t({selected:r}),sx:_,testId:"".concat(a,"__page--").concat(n)},n)}))}))}})}var jl=n(5535),Fl=T(n(3681)),Vl=new RegExp(/^\d+$/),Bl=function(e){var t,n,r=null==(n=null==(t=e.parentElement)?void 0:t.nextElementSibling)?void 0:n.firstElementChild;null==r||r.focus()},Hl=function(e){var t,n,r=null==(n=null==(t=e.parentElement)?void 0:t.previousElementSibling)?void 0:n.firstElementChild;null==r||r.focus()},Dl=n(3767);function zl(e){var t=M(L({},e),"currentPasscode"in e?{defaultPasscode:void 0}:{currentPasscode:void 0}),n=t.testId,r=void 0===n?"PasscodeInput":n,i=t.domRef,a=t.sx,o=void 0===a?{}:a,s=t.onPasscodeChange,u=t.defaultPasscode,l=t.currentPasscode,c=t.passcodeLength,f=void 0===c?6:c,d=t.validationStatus,p=A(t,["testId","domRef","sx","onPasscodeChange","defaultPasscode","currentPasscode","passcodeLength","validationStatus"]),v=(0,jl.useState)(null!=u?u:""),m=h(v,2),g=m[0],y=m[1],b=(0,jl.useMemo)((function(){for(var e=(null!=l?l:g).split(""),t=[],n=0;n<f;n++){var r=e[n];Vl.test(r)?t.push(r):t.push("")}return t}),[l,f,g]),C=(0,jl.useCallback)((function(e){return function(t){var n,r,i=null!=l?l:g,a=t.target,o=a.value.trim(),u=Vl.test(o);if(u||""===o){var c=null==(r=null==(n=a.parentElement)?void 0:n.nextElementSibling)?void 0:r.firstElementChild;if(u||!c||""===c.value){var f=(o=u?o:" ").length;if(1===f){var d=i.substring(0,e)+o+i.substring(e+1);if(null==s||s(d),y(d),!u)return;Bl(a)}else f>1&&(null==s||s(o),y(o),a.blur())}}}}),[l,g,s]),x=(0,jl.useCallback)((function(e){var t=e.key,n=e.target;if("ArrowRight"===t||"ArrowDown"===t)return e.preventDefault(),Bl(n);if("ArrowLeft"===t||"ArrowUp"===t)return e.preventDefault(),Hl(n);var r=n.value;n.setSelectionRange(0,r.length),"Backspace"===t&&""===r&&Hl(n)}),[]),w=(0,jl.useCallback)((function(e){var t,n,r=e.target,i=null==(n=null==(t=r.parentElement)?void 0:t.previousElementSibling)?void 0:n.firstElementChild;if(i&&""===i.value)return i.focus();r.setSelectionRange(0,r.value.length)}),[]);return(0,Dl.jsx)(Ke,M(L({},p),{testId:r,domRef:i,sx:(0,Fl.default)({d:"flex",gap:"base.spacing.x3"},o),children:b.map((function(e,t){return(0,Dl.jsx)(Bu,{hideClearValueButton:!0,validationStatus:d,testId:"".concat(r,"__TextInput--").concat(t),onKeyDown:x,onChange:C(t),onFocus:w,type:"text",value:e,inputMode:"numeric",autoComplete:"one-time-code",pattern:"d".concat(f),maxLength:t===f-1?1:f,sx:{minWidth:"50px","& input":{textAlign:"center",padding:"0"}}},t)}))}))}var Ul=n(5535),Zl=n(3767),Wl=function(e){var t=e,n=t.size,r=void 0===n?"small":n,i=t.onOptionClick,a=t.children,o=t.optionKey,s=t.selected,u=t.domRef,l=t.sx,c=t.testId,f=(A(t,["size","onOptionClick","children","optionKey","selected","domRef","sx","testId"]),(0,Ul.useCallback)((function(){return null==i?void 0:i(a,o)}),[a,i,o]));return(0,Zl.jsx)(Ds,{size:r,onClick:f,domRef:u,selected:s,sx:l,testId:c,children:a})};Wl.displayName="Option",Wl.Label=Rs,Wl.Caption=is,Wl.Icon=Es;var Gl=n(5535),ql=T(n(3681)),Kl=n(3767);function Ql(e,t){return"undefined"!==typeof e&&Array.isArray(t)?t.find((function(t){return t.props.optionKey===e})):null}var Yl=function(e){return"No <Option> found for selectedOption: ".concat(e)};function Jl(e){var t=e,n=t.children,r=t.validationStatus,i=t.defaultLabel,a=void 0===i?"Select an option":i,o=t.defaultIcon,s=t.sx,u=void 0===s?{}:s,l=t.onSelectChange,c=t.selectedOption,f=t.domRef,d=void 0===f?{current:null}:f,p=t.testId,v=void 0===p?"Select":p,m=t.id,g=A(t,["children","validationStatus","defaultLabel","defaultIcon","sx","onSelectChange","selectedOption","domRef","testId","id"]),y=(0,Gl.useState)(null),b=h(y,2),C=b[0],x=b[1],w=ue(d),k=(0,Gl.useState)(!1),E=h(k,2),S=E[0],_=E[1],P=me(n,Wl),T=ke(w,30),R=(0,Gl.useId)(),I=m||R,N=(0,Gl.useMemo)((function(){var e=he(C,Wl.Icon);return e&&(0,Gl.isValidElement)(e)?e.props.icon:null}),[C]),O=(0,Gl.useMemo)((function(){return he(C,Wl.Label)}),[C]),j=(0,Gl.useMemo)((function(){var e=Ql(c,P);if(e&&(null==e?void 0:e.props.children)){var t=he(e.props.children,Wl.Icon);return t&&(0,Gl.isValidElement)(t)?t.props.icon:null}if(void 0!==c)throw new Error(Yl(c))}),[P,c]),F=(0,Gl.useMemo)((function(){var e=Ql(c,P);if(e&&(null==e?void 0:e.props.children)){var t=he(e.props.children,Wl.Label);return t&&(0,Gl.isValidElement)(t)?t.props.children:null}if(void 0!==c)throw new Error(Yl(c))}),[P,c]),V=_u(r,"",null,o||j||N,!0,{width:0,height:0});return(0,Kl.jsxs)(co,{domRef:w,position:{x:"left",y:"below"},visible:S,id:I,onOutsideClick:function(){return _(!1)},children:[(0,Kl.jsx)(co.Target,{children:(0,Kl.jsxs)(lt,M(L({},g),{testId:"".concat(v,"__target"),sx:(0,ql.default)(V,Mu,{display:"flex",alignItems:"center"},u),onClick:function(){return _(!S)},children:["undefined"!==typeof c?(0,Kl.jsxs)(Kl.Fragment,{children:[j&&(0,Kl.jsx)(ir,{icon:j,testId:"".concat(v,"__target__controlledIcon"),sx:Lu}),F]}):C?(0,Kl.jsxs)(Kl.Fragment,{children:[N&&(0,Kl.jsx)(ir,{icon:N,testId:"".concat(v,"__target__selectedIcon"),sx:Lu}),O]}):(0,Kl.jsxs)(Kl.Fragment,{children:[o&&(0,Kl.jsx)(ir,{icon:o,testId:"".concat(v,"__target__defaultIcon"),sx:Lu})," ",a]}),(0,Kl.jsx)(ir,{icon:S?"ChevronCollapse":"ChevronExpand",variant:"bold",sx:{w:"base.icon.size.300",right:"base.spacing.x2"}})]}))}),(0,Kl.jsx)(co.Content,{testId:"".concat(v,"__content"),sx:(0,ql.default)(zs,{w:"".concat(T.width,"px")}),children:Gl.Children.map(P,(function(e){return e?(0,Gl.cloneElement)(e,{onOptionClick:function(e,t){_(!1),x(e),null==l||l(t)}}):null}))})]})}var Xl=T(n(3681)),$l=T(n(3681)),ec=n(5535),tc=n(3767),nc=(0,ec.createContext)({currentTabValue:"",onTabChange:function(){}}),rc=function(e){var t=e.children,n=e.value,r=(0,ec.useState)("currentTabValue"in n?n.currentTabValue:""),i=h(r,2),a=i[0],o=i[1];return(0,tc.jsx)(nc.Provider,{value:"onTabChange"in n?{currentTabValue:n.currentTabValue,onTabChange:n.onTabChange}:{currentTabValue:a,onTabChange:o},children:t})},ic=function(){return(0,ec.useContext)(nc)},ac=n(3767),oc=function(e){var t=e,n=t.testId,r=void 0===n?"Tabs__Tab":n,i=t.value,a=void 0===i?"":i,o=t.disabled,s=void 0!==o&&o,u=t.children,l=t.icon,c=t.sx,f=void 0===c?{}:c,d=A(t,["testId","value","disabled","children","icon","sx"]),h=ic(),p=h.currentTabValue,v=h.onTabChange,m=X(),g=p===a,y=function(e){var t=e.isActive,n=e.disabled;return(0,$l.default)({display:"flex",justifyContent:"center",alignItems:"center",width:"100%",flexGrow:"1",".TabsList__vertical > &":{flexDirection:"column",minHeight:"base.spacing.x19"},".TabsList__horizontal > &":{flexDirection:"row",minHeight:"base.spacing.x12"}},t?{backgroundColor:"base.color.translucent.standard.100",color:"base.color.brand.1",cursor:"pointer",borderTopColor:"base.color.brand.1",borderTopWidth:"3px",borderTopStyle:"solid"}:n?{cursor:"not-allowed",color:"base.color.brand.4"}:{backgroundColor:"base.color.translucent.standard.300","&:hover":{backgroundColor:"base.color.translucent.standard.200"},"&:active":{color:"base.color.brand.1"},color:"base.color.brand.4",cursor:"pointer"})}({isActive:g,disabled:s}),b=l?function(e){var t=e.isActive,n=e.disabled;return(0,$l.default)({width:"base.spacing.x6",".TabsList__vertical > * > &":{marginBottom:"base.spacing.x1"},".TabsList__horizontal > * > &":{marginRight:"base.spacing.x1"}},t?{fill:"base.color.brand.1"}:n?{fill:"base.color.brand.4"}:{fill:"base.color.brand.4","*:hover > &":{fill:"base.color.brand.1"}})}({isActive:g,disabled:s}):{},C=function(e){var t=e.isActive,n=e.disabled;return t?{}:n?{color:"base.color.brand.4"}:{color:"base.color.brand.4","&:hover":{color:"base.color.brand.1"}}}({isActive:g,disabled:s}),x=(0,Xl.default)({background:"transparent",border:"none",cursor:"pointer",display:"flex",padding:"0"},pr({size:"medium",weight:"regular",themeProps:m}),C,y,f),w=s?function(){return null}:function(){return v(a)};return(0,ac.jsxs)(lt,M(L({},d),{testId:r,onClick:w,sx:x,children:[l&&(0,ac.jsx)($e,{sx:(0,Xl.default)(b,l.props.sx?l.props.sx:{}),children:l}),u]}))};oc.displayName="Tab";var sc=T(n(3681)),uc=n(3767),lc=function(e){var t=e,n=t.testId,r=void 0===n?"Tabs__List":n,i=t.domRef,a=void 0===i?{current:null}:i,o=t.children,s=t.contentOrientation,u=void 0===s?"horizontal":s,l=t.sx,c=void 0===l?{}:l,f=A(t,["testId","domRef","children","contentOrientation","sx"]),d={display:"flex",justifyContent:"center",alignItems:"center",minHeight:"base.spacing.x12",width:"100%",flexWrap:"nowrap",columnGap:"1px",flexGrow:"1"},h=me(o,oc),p=(0,sc.default)(d,c);return(0,uc.jsx)(Ke,M(L({},f),{testId:r,domRef:a,className:"TabsList__".concat(u),sx:p,children:h}))};lc.displayName="TabsList";var cc=T(n(3681)),fc=n(3767),dc=function(e){var t=e,n=t.domRef,r=void 0===n?{current:null}:n,i=t.testId,a=void 0===i?"Tabs__Panel":i,o=t.children,s=t.value,u=t.sx,l=void 0===u?{}:u,c=A(t,["domRef","testId","children","value","sx"]);if(ic().currentTabValue!==s)return null;var f={background:"base.color.translucent.standard.100",width:"100%",minHeight:"base.spacing.x50"},d=(0,cc.default)(f,l);return(0,fc.jsx)(Ke,M(L({},c),{domRef:r,testId:a,sx:d,children:o}))};dc.displayName="TabsPanel";var hc=n(3767);function pc(e){var t=M(L({},e),"defaultTabValue"in e?{currentTabValue:null,onTabChange:null}:{defaultTabValue:null}),n=t.domRef,r=t.sx,i=t.testId,a=t.children,o=t.currentTabValue,s=t.defaultTabValue,u=t.onTabChange,l=A(t,["domRef","sx","testId","children","currentTabValue","defaultTabValue","onTabChange"]),c=null!=s?{currentTabValue:s}:{currentTabValue:o,onTabChange:u},f=me(a,lc),d=me(a,dc);return(0,hc.jsx)(rc,{value:c,children:(0,hc.jsxs)(Ke,M(L({},l),{domRef:n,testId:i,sx:r,children:[f,d]}))})}pc.displayName="Tabs",pc.List=lc,pc.Tab=oc,pc.Panel=dc},8586:function(e,t,n){"use strict";n.d(t,{Z:function(){return ie}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e){return e.trim()}function u(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function d(e){return e.length}function h(e){return e.length}function p(e,t){return t.push(e),e}var v=1,m=1,g=0,y=0,b=0,C="";function x(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:v,column:m,length:o,return:""}}function w(e,t){return o(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?c(C,--y):0,m--,10===b&&(m=1,v--),b}function E(){return b=y<g?c(C,y++):0,m++,10===b&&(m=1,v++),b}function S(){return c(C,y)}function L(){return y}function M(e,t){return f(C,e,t)}function A(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return v=m=1,g=d(C=e),y=0,[]}function P(e){return C="",e}function T(e){return s(M(y-1,N(91===e?e+2:40===e?e+1:e)))}function R(e){for(;(b=S())&&b<33;)E();return A(e)>2||A(b)>3?"":" "}function I(e,t){for(;--t&&E()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return M(e,L()+(t<6&&32==S()&&32==E()))}function N(e){for(;E();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&N(b);break;case 40:41===e&&N(e);break;case 92:E()}return y}function O(e,t){for(;E()&&e+b!==57&&(e+b!==84||47!==S()););return"/*"+M(t,y-1)+"*"+a(47===e?e:E())}function j(e){for(;!A(S());)E();return M(e,y)}var F="-ms-",V="-moz-",B="-webkit-",H="comm",D="rule",z="decl",U="@keyframes";function Z(e,t){for(var n="",r=h(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@import":case z:return e.return=e.return||e.value;case H:return"";case U:return e.return=e.value+"{"+Z(e.children,r)+"}";case D:e.value=e.props.join(",")}return d(n=Z(e.children,r))?e.return=e.value+"{"+n+"}":""}function G(e){return P(q("",null,null,null,[""],e=_(e),0,[0],e))}function q(e,t,n,r,i,o,s,f,h){for(var v=0,m=0,g=s,y=0,b=0,C=0,x=1,w=1,M=1,A=0,_="",P=i,N=o,F=r,V=_;w;)switch(C=A,A=E()){case 40:if(108!=C&&58==c(V,g-1)){-1!=l(V+=u(T(A),"&","&\f"),"&\f")&&(M=-1);break}case 34:case 39:case 91:V+=T(A);break;case 9:case 10:case 13:case 32:V+=R(C);break;case 92:V+=I(L()-1,7);continue;case 47:switch(S()){case 42:case 47:p(Q(O(E(),L()),t,n),h);break;default:V+="/"}break;case 123*x:f[v++]=d(V)*M;case 125*x:case 59:case 0:switch(A){case 0:case 125:w=0;case 59+m:b>0&&d(V)-g&&p(b>32?Y(V+";",r,n,g-1):Y(u(V," ","")+";",r,n,g-2),h);break;case 59:V+=";";default:if(p(F=K(V,t,n,v,m,i,f,_,P=[],N=[],g),o),123===A)if(0===m)q(V,t,F,F,P,o,g,f,N);else switch(99===y&&110===c(V,3)?100:y){case 100:case 109:case 115:q(e,F,F,r&&p(K(e,F,F,0,0,i,f,_,i,P=[],g),N),i,N,g,f,r?P:N);break;default:q(V,F,F,F,[""],N,0,f,N)}}v=m=b=0,x=M=1,_=V="",g=s;break;case 58:g=1+d(V),b=C;default:if(x<1)if(123==A)--x;else if(125==A&&0==x++&&125==k())continue;switch(V+=a(A),A*x){case 38:M=m>0?1:(V+="\f",-1);break;case 44:f[v++]=(d(V)-1)*M,M=1;break;case 64:45===S()&&(V+=T(E())),y=S(),m=g=d(_=V+=j(L())),A++;break;case 45:45===C&&2==d(V)&&(x=0)}}return o}function K(e,t,n,r,a,o,l,c,d,p,v){for(var m=a-1,g=0===a?o:[""],y=h(g),b=0,C=0,w=0;b<r;++b)for(var k=0,E=f(e,m+1,m=i(C=l[b])),S=e;k<y;++k)(S=s(C>0?g[k]+" "+E:u(E,/&\f/g,g[k])))&&(d[w++]=S);return x(e,t,n,0===a?D:c,d,p,v)}function Q(e,t,n){return x(e,t,n,H,a(b),f(e,2,-2),0)}function Y(e,t,n,r){return x(e,t,n,z,f(e,0,r),f(e,r+1,-1),r)}var J=function(e,t,n){for(var r=0,i=0;r=i,i=S(),38===r&&12===i&&(t[n]=1),!A(i);)E();return M(e,y)},X=function(e,t){return P(function(e,t){var n=-1,r=44;do{switch(A(r)){case 0:38===r&&12===S()&&(t[n]=1),e[n]+=J(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===S()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}}while(r=E());return e}(_(e),t))},$=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||$.get(n))&&!r){$.set(e,!0);for(var i=[],a=X(t,i),o=n.props,s=0,u=0;s<a.length;s++)for(var l=0;l<o.length;l++,u++)e.props[u]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+" "+a[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^c(e,0)?(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0}(e,t)){case 5103:return B+"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 B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+V+e+F+e+e;case 6828:case 4268:return B+e+F+e+e;case 6165:return B+e+F+"flex-"+e+e;case 5187:return B+e+u(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+F+"flex-$1$2")+e;case 5443:return B+e+F+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return B+e+F+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+F+u(e,"shrink","negative")+e;case 5292:return B+e+F+u(e,"basis","preferred-size")+e;case 6060:return B+"box-"+u(e,"-grow","")+B+e+F+u(e,"grow","positive")+e;case 4554:return B+u(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+F+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,B+"$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(d(e)-1-t>6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+V+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?ne(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,d(e)-3-(~l(e,"!important")&&10))){case 107:return u(e,":",":"+B)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===c(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return B+e+F+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+F+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+F+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+F+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case z:e.return=ne(e.value,e.length);break;case U:return Z([w(e,{value:u(e.value,"@","@"+B)})],r);case D:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Z([w(e,{props:[u(t,/:(read-\w+)/,":"+V+"$1")]})],r);case"::placeholder":return Z([w(e,{props:[u(t,/:(plac\w+)/,":"+B+"input-$1")]}),w(e,{props:[u(t,/:(plac\w+)/,":"+V+"$1")]}),w(e,{props:[u(t,/:(plac\w+)/,F+"input-$1")]})],r)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||re;var a,o,s={},u=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;u.push(e)}));var l,c,f=[W,(c=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],d=function(e){var t=h(e);return function(n,r,i,a){for(var o="",s=0;s<t;s++)o+=e[s](n,r,i,a)||"";return o}}([ee,te].concat(i,f));o=function(e,t,n,r){l=n,Z(G(e?e+"{"+t.styles+"}":t.styles),d),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new r({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return p.sheet.hydrate(u),p}},4017:function(e,t,n){"use strict";n.r(t),n.d(t,{cache:function(){return C},css:function(){return y},cx:function(){return h},flush:function(){return f},getRegisteredStyles:function(){return v},hydrate:function(){return d},injectGlobal:function(){return m},keyframes:function(){return g},merge:function(){return p},sheet:function(){return b}});var r=n(8586),i=n(7249),a=n(7855);function o(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],i=(0,a.fp)(e,r,n);return r.length<2?n:i+t(r)}var u=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var o in a="",i)i[o]&&o&&(a&&(a+=" "),a+=o);break;default:a=i}a&&(n&&(n+=" "),n+=a)}}return n},l=function(e){var t=(0,r.Z)(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,i.O)(n,t.registered,void 0);return(0,a.My)(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return s(t.registered,n,u(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=(0,i.O)(n,t.registered);o(t,a)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=(0,i.O)(n,t.registered),s="animation-"+a.name;return o(t,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:a.fp.bind(null,t.registered),merge:s.bind(null,t.registered,n)}},c=l({key:"css"}),f=c.flush,d=c.hydrate,h=c.cx,p=c.merge,v=c.getRegisteredStyles,m=c.injectGlobal,g=c.keyframes,y=c.css,b=c.sheet,C=c.cache},8107:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},7658:function(e,t,n){"use strict";n.d(t,{C:function(){return v},E:function(){return L},T:function(){return y},_:function(){return m},a:function(){return x},b:function(){return w},c:function(){return E},h:function(){return h},u:function(){return b},w:function(){return g}});var r=n(5535),i=n(8586);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var o=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(2185),u=n.n(s),l=function(e,t){return u()(e,t)},c=n(7855),f=n(7249),d=n(9979),h={}.hasOwnProperty,p=(0,r.createContext)("undefined"!==typeof HTMLElement?(0,i.Z)({key:"css"}):null);var v=p.Provider,m=function(){return(0,r.useContext)(p)},g=function(e){return(0,r.forwardRef)((function(t,n){var i=(0,r.useContext)(p);return e(t,i,n)}))},y=(0,r.createContext)({});var b=function(){return(0,r.useContext)(y)},C=o((function(e){return o((function(t){return function(e,t){return"function"===typeof t?t(e):a({},e,t)}(e,t)}))})),x=function(e){var t=(0,r.useContext)(y);return e.theme!==t&&(t=C(t)(e.theme)),(0,r.createElement)(y.Provider,{value:t},e.children)};function w(e){var t=e.displayName||e.name||"Component",n=function(t,n){var i=(0,r.useContext)(y);return(0,r.createElement)(e,a({theme:i,ref:n},t))},i=(0,r.forwardRef)(n);return i.displayName="WithTheme("+t+")",l(i,e)}var k="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",E=function(e,t){var n={};for(var r in t)h.call(t,r)&&(n[r]=t[r]);return n[k]=e,n},S=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;(0,c.hC)(t,n,r);(0,d.L)((function(){return(0,c.My)(t,n,r)}));return null},L=g((function(e,t,n){var i=e.css;"string"===typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var a=e[k],o=[i],s="";"string"===typeof e.className?s=(0,c.fp)(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var u=(0,f.O)(o,void 0,(0,r.useContext)(y));s+=t.key+"-"+u.name;var l={};for(var d in e)h.call(e,d)&&"css"!==d&&d!==k&&(l[d]=e[d]);return l.ref=n,l.className=s,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(S,{cache:t,serialized:u,isStringTag:"string"===typeof a}),(0,r.createElement)(a,l))}))},946:function(e,t,n){"use strict";n.r(t),n.d(t,{CacheProvider:function(){return i.C},ClassNames:function(){return p},Global:function(){return l},ThemeContext:function(){return i.T},ThemeProvider:function(){return i.a},__unsafe_useEmotionCache:function(){return i._},createElement:function(){return u},css:function(){return c},jsx:function(){return u},keyframes:function(){return f},useTheme:function(){return i.u},withEmotionCache:function(){return i.w},withTheme:function(){return i.b}});var r=n(5535),i=(n(8586),n(7658)),a=(n(2185),n(7855)),o=n(7249),s=n(9979),u=function(e,t){var n=arguments;if(null==t||!i.h.call(t,"css"))return r.createElement.apply(void 0,n);var a=n.length,o=new Array(a);o[0]=i.E,o[1]=(0,i.c)(e,t);for(var s=2;s<a;s++)o[s]=n[s];return r.createElement.apply(null,o)},l=(0,i.w)((function(e,t){var n=e.styles,u=(0,o.O)([n],void 0,(0,r.useContext)(i.T)),l=(0,r.useRef)();return(0,s.j)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+u.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),l.current=[n,r],function(){n.flush()}}),[t]),(0,s.j)((function(){var e=l.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==u.next&&(0,a.My)(t,u.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",u,n,!1)}}),[t,u.name]),null}));function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.O)(t)}var f=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},d=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var a=t[r];if(null!=a){var o=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))o=e(a);else for(var s in o="",a)a[s]&&s&&(o&&(o+=" "),o+=s);break;default:o=a}o&&(i&&(i+=" "),i+=o)}}return i};var h=function(e){var t=e.cache,n=e.serializedArr;(0,s.L)((function(){for(var e=0;e<n.length;e++)(0,a.My)(t,n[e],!1)}));return null},p=(0,i.w)((function(e,t){var n=[],s=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var s=(0,o.O)(r,t.registered);return n.push(s),(0,a.hC)(t,s,!1),t.key+"-"+s.name},u={css:s,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e,t,n){var r=[],i=(0,a.fp)(e,r,n);return r.length<2?n:i+t(r)}(t.registered,s,d(n))},theme:(0,r.useContext)(i.T)},l=e.children(u);return!0,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h,{cache:t,serializedArr:n}),l)}))},3767:function(e,t,n){"use strict";n.r(t),n.d(t,{Fragment:function(){return a},jsx:function(){return o},jsxs:function(){return s}});n(5535),n(8586);var r=n(7658),i=(n(2185),n(7249),n(9979),n(256)),a=i.Fragment;function o(e,t,n){return r.h.call(t,"css")?(0,i.jsx)(r.E,(0,r.c)(e,t),n):(0,i.jsx)(e,t,n)}function s(e,t,n){return r.h.call(t,"css")?(0,i.jsxs)(r.E,(0,r.c)(e,t),n):(0,i.jsxs)(e,t,n)}},7249:function(e,t,n){"use strict";n.d(t,{O:function(){return p}});var r=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},i={animationIterationCount: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};var a=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!==typeof e},l=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),c=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(o,(function(e,t,n){return d={name:t,styles:n,next:d},t}))}return 1===i[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)d={name:r.name,styles:r.styles,next:d},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=f(e,t,n[i])+";";else for(var a in n){var o=n[a];if("object"!==typeof o)null!=t&&void 0!==t[o]?r+=a+"{"+t[o]+"}":u(o)&&(r+=l(a)+":"+c(a,o)+";");else if(!Array.isArray(o)||"string"!==typeof o[0]||null!=t&&void 0!==t[o[0]]){var s=f(e,t,o);switch(a){case"animation":case"animationName":r+=l(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var d=0;d<o.length;d++)u(o[d])&&(r+=l(a)+":"+c(a,o[d])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=d,a=n(e);return d=i,f(e,t,a)}}if(null==t)return n;var o=t[n];return void 0!==o?o:n}var d,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var p=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,a="";d=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,a+=f(n,t,o)):a+=o[0];for(var s=1;s<e.length;s++)a+=f(n,t,e[s]),i&&(a+=o[s]);h.lastIndex=0;for(var u,l="";null!==(u=h.exec(a));)l+="-"+u[1];return{name:r(a)+l,styles:a,next:d}}},9979:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return o},j:function(){return s}});var i=n(5535),a=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,o=a||function(e){return e()},s=a||i.useLayoutEffect},7855:function(e,t,n){"use strict";n.d(t,{My:function(){return a},fp:function(){return r},hC:function(){return i}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},a=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}}},2612:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function a(e,t,n){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(7444).Buffer}catch(A){}function s(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function u(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function l(e,t,n,i){for(var a=0,o=0,s=Math.min(e.length,n),u=t;u<s;u++){var l=e.charCodeAt(u)-48;a*=i,o=l>=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&o<i,"Invalid character"),a+=o}return a}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===n)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===n)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this._strip()},a.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,a=0,o=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=u(e,t,r)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else for(r=(e.length-t)%2===0?t+1:t;r<e.length;r+=2)i=u(e,t,r)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;this._strip()},a.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var a=e.length-n,o=a%r,s=Math.min(a,a-o)+n,u=0,c=n;c<s;c+=r)u=l(e,c,c+r,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var f=1;for(u=l(e,c,e.length,t),c=0;c<o;c++)f*=t;this.imuln(f),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this._strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype._move=function(e){c(e,this)},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(A){a.prototype.inspect=f}else a.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","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"],h=[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],p=[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(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],u=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,o--),n=0!==a||o!==this.length-1?d[6-u.length]+u+n:u+n}for(0!==a&&(n=a.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],c=p[e];n="";var f=this.clone();for(f.negative=0;!f.isZero();){var v=f.modrn(c).toString(e);n=(f=f.idivn(c)).isZero()?v+n:d[l-v.length]+v+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16,2)},o&&(a.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function v(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,u=o/67108864|0;n.words[0]=s;for(var l=1;l<r;l++){for(var c=u>>>26,f=67108863&u,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;c+=(o=(i=0|e.words[p])*(a=0|t.words[h])+f)/67108864|0,f=67108863&o}n.words[l]=0|f,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n._strip()}a.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),a=n||Math.max(1,i);r(i<=a,"byte array longer than desired length"),r(a>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,a);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,i),o},a.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,a=0;i<this.length;i++){var o=this.words[i]<<a|r;e[n++]=255&o,n<e.length&&(e[n++]=o>>8&255),n<e.length&&(e[n++]=o>>16&255),6===a?(n<e.length&&(e[n++]=o>>24&255),r=0,a=0):(r=o>>>24,a+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},a.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,a=0;i<this.length;i++){var o=this.words[i]<<a|r;e[n--]=255&o,n>=0&&(e[n--]=o>>8&255),n>=0&&(e[n--]=o>>16&255),6===a?(n>=0&&(e[n--]=o>>24&255),r=0,a=0):(r=o>>>24,a+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},a.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},a.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},a.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},a.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,a=0;a<r.length;a++)t=(0|n.words[a])+(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<n.length;a++)t=(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var a=0,o=0;o<r.length;o++)a=(t=(0|n.words[o])-(0|r.words[o])+a)>>26,this.words[o]=67108863&t;for(;0!==a&&o<n.length;o++)a=(t=(0|n.words[o])+a)>>26,this.words[o]=67108863&t;if(0===a&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,a,o=e.words,s=t.words,u=n.words,l=0,c=0|o[0],f=8191&c,d=c>>>13,h=0|o[1],p=8191&h,v=h>>>13,m=0|o[2],g=8191&m,y=m>>>13,b=0|o[3],C=8191&b,x=b>>>13,w=0|o[4],k=8191&w,E=w>>>13,S=0|o[5],L=8191&S,M=S>>>13,A=0|o[6],_=8191&A,P=A>>>13,T=0|o[7],R=8191&T,I=T>>>13,N=0|o[8],O=8191&N,j=N>>>13,F=0|o[9],V=8191&F,B=F>>>13,H=0|s[0],D=8191&H,z=H>>>13,U=0|s[1],Z=8191&U,W=U>>>13,G=0|s[2],q=8191&G,K=G>>>13,Q=0|s[3],Y=8191&Q,J=Q>>>13,X=0|s[4],$=8191&X,ee=X>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],fe=8191&ce,de=ce>>>13,he=0|s[9],pe=8191&he,ve=he>>>13;n.negative=e.negative^t.negative,n.length=19;var me=(l+(r=Math.imul(f,D))|0)+((8191&(i=(i=Math.imul(f,z))+Math.imul(d,D)|0))<<13)|0;l=((a=Math.imul(d,z))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(p,D),i=(i=Math.imul(p,z))+Math.imul(v,D)|0,a=Math.imul(v,z);var ge=(l+(r=r+Math.imul(f,Z)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,Z)|0))<<13)|0;l=((a=a+Math.imul(d,W)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,D),i=(i=Math.imul(g,z))+Math.imul(y,D)|0,a=Math.imul(y,z),r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(v,Z)|0,a=a+Math.imul(v,W)|0;var ye=(l+(r=r+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(d,q)|0))<<13)|0;l=((a=a+Math.imul(d,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(C,D),i=(i=Math.imul(C,z))+Math.imul(x,D)|0,a=Math.imul(x,z),r=r+Math.imul(g,Z)|0,i=(i=i+Math.imul(g,W)|0)+Math.imul(y,Z)|0,a=a+Math.imul(y,W)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(v,q)|0,a=a+Math.imul(v,K)|0;var be=(l+(r=r+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,J)|0)+Math.imul(d,Y)|0))<<13)|0;l=((a=a+Math.imul(d,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,D),i=(i=Math.imul(k,z))+Math.imul(E,D)|0,a=Math.imul(E,z),r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(x,Z)|0,a=a+Math.imul(x,W)|0,r=r+Math.imul(g,q)|0,i=(i=i+Math.imul(g,K)|0)+Math.imul(y,q)|0,a=a+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(v,Y)|0,a=a+Math.imul(v,J)|0;var Ce=(l+(r=r+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,$)|0))<<13)|0;l=((a=a+Math.imul(d,ee)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,D),i=(i=Math.imul(L,z))+Math.imul(M,D)|0,a=Math.imul(M,z),r=r+Math.imul(k,Z)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(E,Z)|0,a=a+Math.imul(E,W)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(x,q)|0,a=a+Math.imul(x,K)|0,r=r+Math.imul(g,Y)|0,i=(i=i+Math.imul(g,J)|0)+Math.imul(y,Y)|0,a=a+Math.imul(y,J)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(v,$)|0,a=a+Math.imul(v,ee)|0;var xe=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((a=a+Math.imul(d,re)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(_,D),i=(i=Math.imul(_,z))+Math.imul(P,D)|0,a=Math.imul(P,z),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,W)|0)+Math.imul(M,Z)|0,a=a+Math.imul(M,W)|0,r=r+Math.imul(k,q)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(E,q)|0,a=a+Math.imul(E,K)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,J)|0,r=r+Math.imul(g,$)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(y,$)|0,a=a+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(v,ne)|0,a=a+Math.imul(v,re)|0;var we=(l+(r=r+Math.imul(f,ae)|0)|0)+((8191&(i=(i=i+Math.imul(f,oe)|0)+Math.imul(d,ae)|0))<<13)|0;l=((a=a+Math.imul(d,oe)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(R,D),i=(i=Math.imul(R,z))+Math.imul(I,D)|0,a=Math.imul(I,z),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(P,Z)|0,a=a+Math.imul(P,W)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,K)|0)+Math.imul(M,q)|0,a=a+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,J)|0)+Math.imul(E,Y)|0,a=a+Math.imul(E,J)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(x,$)|0,a=a+Math.imul(x,ee)|0,r=r+Math.imul(g,ne)|0,i=(i=i+Math.imul(g,re)|0)+Math.imul(y,ne)|0,a=a+Math.imul(y,re)|0,r=r+Math.imul(p,ae)|0,i=(i=i+Math.imul(p,oe)|0)+Math.imul(v,ae)|0,a=a+Math.imul(v,oe)|0;var ke=(l+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((a=a+Math.imul(d,le)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(O,D),i=(i=Math.imul(O,z))+Math.imul(j,D)|0,a=Math.imul(j,z),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(I,Z)|0,a=a+Math.imul(I,W)|0,r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(P,q)|0,a=a+Math.imul(P,K)|0,r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,J)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,J)|0,r=r+Math.imul(k,$)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(E,$)|0,a=a+Math.imul(E,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(x,ne)|0,a=a+Math.imul(x,re)|0,r=r+Math.imul(g,ae)|0,i=(i=i+Math.imul(g,oe)|0)+Math.imul(y,ae)|0,a=a+Math.imul(y,oe)|0,r=r+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(v,ue)|0,a=a+Math.imul(v,le)|0;var Ee=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((a=a+Math.imul(d,de)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(V,D),i=(i=Math.imul(V,z))+Math.imul(B,D)|0,a=Math.imul(B,z),r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,W)|0)+Math.imul(j,Z)|0,a=a+Math.imul(j,W)|0,r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(I,q)|0,a=a+Math.imul(I,K)|0,r=r+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,J)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(M,$)|0,a=a+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(E,ne)|0,a=a+Math.imul(E,re)|0,r=r+Math.imul(C,ae)|0,i=(i=i+Math.imul(C,oe)|0)+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,r=r+Math.imul(g,ue)|0,i=(i=i+Math.imul(g,le)|0)+Math.imul(y,ue)|0,a=a+Math.imul(y,le)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(v,fe)|0,a=a+Math.imul(v,de)|0;var Se=(l+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ve)|0)+Math.imul(d,pe)|0))<<13)|0;l=((a=a+Math.imul(d,ve)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(V,Z),i=(i=Math.imul(V,W))+Math.imul(B,Z)|0,a=Math.imul(B,W),r=r+Math.imul(O,q)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(j,q)|0,a=a+Math.imul(j,K)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,J)|0)+Math.imul(I,Y)|0,a=a+Math.imul(I,J)|0,r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(P,$)|0,a=a+Math.imul(P,ee)|0,r=r+Math.imul(L,ne)|0,i=(i=i+Math.imul(L,re)|0)+Math.imul(M,ne)|0,a=a+Math.imul(M,re)|0,r=r+Math.imul(k,ae)|0,i=(i=i+Math.imul(k,oe)|0)+Math.imul(E,ae)|0,a=a+Math.imul(E,oe)|0,r=r+Math.imul(C,ue)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(x,ue)|0,a=a+Math.imul(x,le)|0,r=r+Math.imul(g,fe)|0,i=(i=i+Math.imul(g,de)|0)+Math.imul(y,fe)|0,a=a+Math.imul(y,de)|0;var Le=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ve)|0)+Math.imul(v,pe)|0))<<13)|0;l=((a=a+Math.imul(v,ve)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(V,q),i=(i=Math.imul(V,K))+Math.imul(B,q)|0,a=Math.imul(B,K),r=r+Math.imul(O,Y)|0,i=(i=i+Math.imul(O,J)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,J)|0,r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(I,$)|0,a=a+Math.imul(I,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(P,ne)|0,a=a+Math.imul(P,re)|0,r=r+Math.imul(L,ae)|0,i=(i=i+Math.imul(L,oe)|0)+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,r=r+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,le)|0)+Math.imul(E,ue)|0,a=a+Math.imul(E,le)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(x,fe)|0,a=a+Math.imul(x,de)|0;var Me=(l+(r=r+Math.imul(g,pe)|0)|0)+((8191&(i=(i=i+Math.imul(g,ve)|0)+Math.imul(y,pe)|0))<<13)|0;l=((a=a+Math.imul(y,ve)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(V,Y),i=(i=Math.imul(V,J))+Math.imul(B,Y)|0,a=Math.imul(B,J),r=r+Math.imul(O,$)|0,i=(i=i+Math.imul(O,ee)|0)+Math.imul(j,$)|0,a=a+Math.imul(j,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(I,ne)|0,a=a+Math.imul(I,re)|0,r=r+Math.imul(_,ae)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,r=r+Math.imul(L,ue)|0,i=(i=i+Math.imul(L,le)|0)+Math.imul(M,ue)|0,a=a+Math.imul(M,le)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(E,fe)|0,a=a+Math.imul(E,de)|0;var Ae=(l+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,ve)|0)+Math.imul(x,pe)|0))<<13)|0;l=((a=a+Math.imul(x,ve)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(V,$),i=(i=Math.imul(V,ee))+Math.imul(B,$)|0,a=Math.imul(B,ee),r=r+Math.imul(O,ne)|0,i=(i=i+Math.imul(O,re)|0)+Math.imul(j,ne)|0,a=a+Math.imul(j,re)|0,r=r+Math.imul(R,ae)|0,i=(i=i+Math.imul(R,oe)|0)+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(P,ue)|0,a=a+Math.imul(P,le)|0,r=r+Math.imul(L,fe)|0,i=(i=i+Math.imul(L,de)|0)+Math.imul(M,fe)|0,a=a+Math.imul(M,de)|0;var _e=(l+(r=r+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,ve)|0)+Math.imul(E,pe)|0))<<13)|0;l=((a=a+Math.imul(E,ve)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(V,ne),i=(i=Math.imul(V,re))+Math.imul(B,ne)|0,a=Math.imul(B,re),r=r+Math.imul(O,ae)|0,i=(i=i+Math.imul(O,oe)|0)+Math.imul(j,ae)|0,a=a+Math.imul(j,oe)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(I,ue)|0,a=a+Math.imul(I,le)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(P,fe)|0,a=a+Math.imul(P,de)|0;var Pe=(l+(r=r+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,ve)|0)+Math.imul(M,pe)|0))<<13)|0;l=((a=a+Math.imul(M,ve)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(V,ae),i=(i=Math.imul(V,oe))+Math.imul(B,ae)|0,a=Math.imul(B,oe),r=r+Math.imul(O,ue)|0,i=(i=i+Math.imul(O,le)|0)+Math.imul(j,ue)|0,a=a+Math.imul(j,le)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(I,fe)|0,a=a+Math.imul(I,de)|0;var Te=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ve)|0)+Math.imul(P,pe)|0))<<13)|0;l=((a=a+Math.imul(P,ve)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(V,ue),i=(i=Math.imul(V,le))+Math.imul(B,ue)|0,a=Math.imul(B,le),r=r+Math.imul(O,fe)|0,i=(i=i+Math.imul(O,de)|0)+Math.imul(j,fe)|0,a=a+Math.imul(j,de)|0;var Re=(l+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,ve)|0)+Math.imul(I,pe)|0))<<13)|0;l=((a=a+Math.imul(I,ve)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(V,fe),i=(i=Math.imul(V,de))+Math.imul(B,fe)|0,a=Math.imul(B,de);var Ie=(l+(r=r+Math.imul(O,pe)|0)|0)+((8191&(i=(i=i+Math.imul(O,ve)|0)+Math.imul(j,pe)|0))<<13)|0;l=((a=a+Math.imul(j,ve)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Ne=(l+(r=Math.imul(V,pe))|0)+((8191&(i=(i=Math.imul(V,ve))+Math.imul(B,pe)|0))<<13)|0;return l=((a=Math.imul(B,ve))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=me,u[1]=ge,u[2]=ye,u[3]=be,u[4]=Ce,u[5]=xe,u[6]=we,u[7]=ke,u[8]=Ee,u[9]=Se,u[10]=Le,u[11]=Me,u[12]=Ae,u[13]=_e,u[14]=Pe,u[15]=Te,u[16]=Re,u[17]=Ie,u[18]=Ne,0!==l&&(u[19]=l,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,a=0;a<n.length-1;a++){var o=i;i=0;for(var s=67108863&r,u=Math.min(a,t.length-1),l=Math.max(0,a-e.length+1);l<=u;l++){var c=a-l,f=(0|e.words[c])*(0|t.words[l]),d=67108863&f;s=67108863&(d=d+s|0),i+=(o=(o=o+(f/67108864|0)|0)+(d>>>26)|0)>>>26,o&=67108863}n.words[a]=s,r=o,o=i}return 0!==r?n.words[a]=r:n.length--,n._strip()}function y(e,t,n){return g(e,t,n)}function b(e,t){this.x=e,this.y=t}Math.imul||(m=v),a.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):n<63?v(this,e,t):n<1024?g(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),n=a.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},b.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},b.prototype.permute=function(e,t,n,r,i,a){for(var o=0;o<a;o++)r[o]=t[e[o]],i[o]=n[e[o]]},b.prototype.transform=function(e,t,n,r,i,a){this.permute(a,e,t,n,r,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,u=Math.cos(2*Math.PI/s),l=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var f=u,d=l,h=0;h<o;h++){var p=n[c+h],v=r[c+h],m=n[c+h+o],g=r[c+h+o],y=f*m-d*g;g=f*g+d*m,m=y,n[c+h]=p+m,r[c+h]=v+g,n[c+h+o]=p-m,r[c+h+o]=v-g,h!==s&&(y=u*f-l*d,d=u*d+l*f,f=y)}},b.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},b.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},b.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,n,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],n[2*o]=8191&a,a>>>=13,n[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)n[o]=0;r(0===a),r(0===(-8192&a))},b.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},b.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),a=this.stub(r),o=new Array(r),s=new Array(r),u=new Array(r),l=new Array(r),c=new Array(r),f=new Array(r),d=n.words;d.length=r,this.convert13b(e.words,e.length,o,r),this.convert13b(t.words,t.length,l,r),this.transform(o,a,s,u,r,i),this.transform(l,a,c,f,r,i);for(var h=0;h<r;h++){var p=s[h]*c[h]-u[h]*f[h];u[h]=s[h]*f[h]+u[h]*c[h],s[h]=p}return this.conjugate(s,u,r),this.transform(s,u,d,a,r,i),this.conjugate(d,a,r),this.normalize13b(d,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),y(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"===typeof e),r(e<67108864);for(var n=0,i=0;i<this.length;i++){var a=(0|this.words[i])*e,o=(67108863&a)+(67108863&n);n>>=26,n+=a/67108864|0,n+=o>>>26,this.words[i]=67108863&o}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}(e);if(0===t.length)return new a(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},a.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,u=(0|this.words[t])-s<<n;this.words[t]=u|o,o=s>>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},a.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,u=n;if(i-=o,i=Math.max(0,i),u){for(var l=0;l<o;l++)u.words[l]=this.words[l];u.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var c=0;for(l=this.length-1;l>=0&&(0!==c||l>=i);l--){var f=0|this.words[l];this.words[l]=c<<26-a|f>>>a,c=f&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},a.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return r("number"===typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,n){var i,a,o=e.length+n;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+n])+s;var u=(0|e.words[i])*t;s=((a-=67108863&u)>>26)-(u/67108864|0),this.words[i+n]=67108863&a}for(;i<this.length-n;i++)s=(a=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&a;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(a=-(0|this.words[i])+s)>>26,this.words[i]=67108863&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,o=0|i.words[i.length-1];0!==(n=26-this._countBits(o))&&(i=i.ushln(n),r.iushln(n),o=0|i.words[i.length-1]);var s,u=r.length-i.length;if("mod"!==t){(s=new a(null)).length=u+1,s.words=new Array(s.length);for(var l=0;l<s.length;l++)s.words[l]=0}var c=r.clone()._ishlnsubmul(i,1,u);0===c.negative&&(r=c,s&&(s.words[u]=1));for(var f=u-1;f>=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/o|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},a.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),a=n.cmp(r);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,a=this.length-1;a>=0;a--)i=(n*i+(0|this.words[a]))%e;return t?-i:i},a.prototype.modn=function(e){return this.modrn(e)},a.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var a=(0|this.words[i])+67108864*n;this.words[i]=a/e|0,n=a%e}return this._strip(),t?this.ineg():this},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=new a(0),u=new a(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var c=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0===(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(f)),i.iushrn(1),o.iushrn(1);for(var p=0,v=1;0===(n.words[0]&v)&&p<26;++p,v<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),o.isub(u)):(n.isub(t),s.isub(i),u.isub(o))}return{a:s,b:u,gcd:n.iushln(l)}},a.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new a(1),s=new a(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(u),o.iushrn(1);for(var f=0,d=1;0===(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(s)):(n.isub(t),s.isub(o))}return(i=0===t.cmpn(1)?o:s).cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var a=t;t=n,n=a}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var a=i,o=n;0!==a&&o<this.length;o++){var s=0|this.words[o];a=(s+=a)>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new L(e)},a.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function L(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){L.call(this,e),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)}x.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},i(w,x),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&n,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&n)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(k,x),i(E,x),i(S,x),S.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(C[e])return C[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new k;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return C[e]=t,t},L.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},L.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},L.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},L.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},L.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},L.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},L.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},L.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},L.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},L.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},L.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},L.prototype.isqr=function(e){return this.imul(e,e.clone())},L.prototype.sqr=function(e){return this.mul(e,e)},L.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new a(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);r(!i.isZero());var s=new a(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new a(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var f=this.pow(c,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=o;0!==h.cmp(s);){for(var v=h,m=0;0!==v.cmp(s);m++)v=v.redSqr();r(m<p);var g=this.pow(f,new a(1).iushln(p-m-1));d=d.redMul(g),f=g.redSqr(),h=h.redMul(f),p=m}return d},L.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},L.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new a(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],o=0,s=0,u=t.bitLength()%26;for(0===u&&(u=26),r=t.length-1;r>=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var f=l>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===r&&0===c)&&(i=this.mul(i,n[o]),s=0,o=0)):s=0}u=26}return i},L.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},L.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new M(e)},i(M,L),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},5091:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function a(e,t,n){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(2053).Buffer}catch(A){}function s(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function u(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function l(e,t,n,i){for(var a=0,o=0,s=Math.min(e.length,n),u=t;u<s;u++){var l=e.charCodeAt(u)-48;a*=i,o=l>=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&o<i,"Invalid character"),a+=o}return a}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===n)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===n)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this._strip()},a.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,a=0,o=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=u(e,t,r)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else for(r=(e.length-t)%2===0?t+1:t;r<e.length;r+=2)i=u(e,t,r)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;this._strip()},a.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var a=e.length-n,o=a%r,s=Math.min(a,a-o)+n,u=0,c=n;c<s;c+=r)u=l(e,c,c+r,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var f=1;for(u=l(e,c,e.length,t),c=0;c<o;c++)f*=t;this.imuln(f),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this._strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype._move=function(e){c(e,this)},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(A){a.prototype.inspect=f}else a.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","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"],h=[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],p=[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(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],u=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,o--),n=0!==a||o!==this.length-1?d[6-u.length]+u+n:u+n}for(0!==a&&(n=a.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],c=p[e];n="";var f=this.clone();for(f.negative=0;!f.isZero();){var v=f.modrn(c).toString(e);n=(f=f.idivn(c)).isZero()?v+n:d[l-v.length]+v+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16,2)},o&&(a.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function v(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,u=o/67108864|0;n.words[0]=s;for(var l=1;l<r;l++){for(var c=u>>>26,f=67108863&u,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;c+=(o=(i=0|e.words[p])*(a=0|t.words[h])+f)/67108864|0,f=67108863&o}n.words[l]=0|f,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n._strip()}a.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),a=n||Math.max(1,i);r(i<=a,"byte array longer than desired length"),r(a>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,a);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,i),o},a.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,a=0;i<this.length;i++){var o=this.words[i]<<a|r;e[n++]=255&o,n<e.length&&(e[n++]=o>>8&255),n<e.length&&(e[n++]=o>>16&255),6===a?(n<e.length&&(e[n++]=o>>24&255),r=0,a=0):(r=o>>>24,a+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},a.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,a=0;i<this.length;i++){var o=this.words[i]<<a|r;e[n--]=255&o,n>=0&&(e[n--]=o>>8&255),n>=0&&(e[n--]=o>>16&255),6===a?(n>=0&&(e[n--]=o>>24&255),r=0,a=0):(r=o>>>24,a+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},a.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},a.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},a.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},a.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,a=0;a<r.length;a++)t=(0|n.words[a])+(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<n.length;a++)t=(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var a=0,o=0;o<r.length;o++)a=(t=(0|n.words[o])-(0|r.words[o])+a)>>26,this.words[o]=67108863&t;for(;0!==a&&o<n.length;o++)a=(t=(0|n.words[o])+a)>>26,this.words[o]=67108863&t;if(0===a&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,a,o=e.words,s=t.words,u=n.words,l=0,c=0|o[0],f=8191&c,d=c>>>13,h=0|o[1],p=8191&h,v=h>>>13,m=0|o[2],g=8191&m,y=m>>>13,b=0|o[3],C=8191&b,x=b>>>13,w=0|o[4],k=8191&w,E=w>>>13,S=0|o[5],L=8191&S,M=S>>>13,A=0|o[6],_=8191&A,P=A>>>13,T=0|o[7],R=8191&T,I=T>>>13,N=0|o[8],O=8191&N,j=N>>>13,F=0|o[9],V=8191&F,B=F>>>13,H=0|s[0],D=8191&H,z=H>>>13,U=0|s[1],Z=8191&U,W=U>>>13,G=0|s[2],q=8191&G,K=G>>>13,Q=0|s[3],Y=8191&Q,J=Q>>>13,X=0|s[4],$=8191&X,ee=X>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],fe=8191&ce,de=ce>>>13,he=0|s[9],pe=8191&he,ve=he>>>13;n.negative=e.negative^t.negative,n.length=19;var me=(l+(r=Math.imul(f,D))|0)+((8191&(i=(i=Math.imul(f,z))+Math.imul(d,D)|0))<<13)|0;l=((a=Math.imul(d,z))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(p,D),i=(i=Math.imul(p,z))+Math.imul(v,D)|0,a=Math.imul(v,z);var ge=(l+(r=r+Math.imul(f,Z)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,Z)|0))<<13)|0;l=((a=a+Math.imul(d,W)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,D),i=(i=Math.imul(g,z))+Math.imul(y,D)|0,a=Math.imul(y,z),r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(v,Z)|0,a=a+Math.imul(v,W)|0;var ye=(l+(r=r+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(d,q)|0))<<13)|0;l=((a=a+Math.imul(d,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(C,D),i=(i=Math.imul(C,z))+Math.imul(x,D)|0,a=Math.imul(x,z),r=r+Math.imul(g,Z)|0,i=(i=i+Math.imul(g,W)|0)+Math.imul(y,Z)|0,a=a+Math.imul(y,W)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(v,q)|0,a=a+Math.imul(v,K)|0;var be=(l+(r=r+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,J)|0)+Math.imul(d,Y)|0))<<13)|0;l=((a=a+Math.imul(d,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,D),i=(i=Math.imul(k,z))+Math.imul(E,D)|0,a=Math.imul(E,z),r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(x,Z)|0,a=a+Math.imul(x,W)|0,r=r+Math.imul(g,q)|0,i=(i=i+Math.imul(g,K)|0)+Math.imul(y,q)|0,a=a+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(v,Y)|0,a=a+Math.imul(v,J)|0;var Ce=(l+(r=r+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,$)|0))<<13)|0;l=((a=a+Math.imul(d,ee)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,D),i=(i=Math.imul(L,z))+Math.imul(M,D)|0,a=Math.imul(M,z),r=r+Math.imul(k,Z)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(E,Z)|0,a=a+Math.imul(E,W)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(x,q)|0,a=a+Math.imul(x,K)|0,r=r+Math.imul(g,Y)|0,i=(i=i+Math.imul(g,J)|0)+Math.imul(y,Y)|0,a=a+Math.imul(y,J)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(v,$)|0,a=a+Math.imul(v,ee)|0;var xe=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((a=a+Math.imul(d,re)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(_,D),i=(i=Math.imul(_,z))+Math.imul(P,D)|0,a=Math.imul(P,z),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,W)|0)+Math.imul(M,Z)|0,a=a+Math.imul(M,W)|0,r=r+Math.imul(k,q)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(E,q)|0,a=a+Math.imul(E,K)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,J)|0,r=r+Math.imul(g,$)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(y,$)|0,a=a+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(v,ne)|0,a=a+Math.imul(v,re)|0;var we=(l+(r=r+Math.imul(f,ae)|0)|0)+((8191&(i=(i=i+Math.imul(f,oe)|0)+Math.imul(d,ae)|0))<<13)|0;l=((a=a+Math.imul(d,oe)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(R,D),i=(i=Math.imul(R,z))+Math.imul(I,D)|0,a=Math.imul(I,z),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(P,Z)|0,a=a+Math.imul(P,W)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,K)|0)+Math.imul(M,q)|0,a=a+Math.imul(M,K)|0,r=r+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,J)|0)+Math.imul(E,Y)|0,a=a+Math.imul(E,J)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(x,$)|0,a=a+Math.imul(x,ee)|0,r=r+Math.imul(g,ne)|0,i=(i=i+Math.imul(g,re)|0)+Math.imul(y,ne)|0,a=a+Math.imul(y,re)|0,r=r+Math.imul(p,ae)|0,i=(i=i+Math.imul(p,oe)|0)+Math.imul(v,ae)|0,a=a+Math.imul(v,oe)|0;var ke=(l+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((a=a+Math.imul(d,le)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(O,D),i=(i=Math.imul(O,z))+Math.imul(j,D)|0,a=Math.imul(j,z),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(I,Z)|0,a=a+Math.imul(I,W)|0,r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(P,q)|0,a=a+Math.imul(P,K)|0,r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,J)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,J)|0,r=r+Math.imul(k,$)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(E,$)|0,a=a+Math.imul(E,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(x,ne)|0,a=a+Math.imul(x,re)|0,r=r+Math.imul(g,ae)|0,i=(i=i+Math.imul(g,oe)|0)+Math.imul(y,ae)|0,a=a+Math.imul(y,oe)|0,r=r+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(v,ue)|0,a=a+Math.imul(v,le)|0;var Ee=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((a=a+Math.imul(d,de)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(V,D),i=(i=Math.imul(V,z))+Math.imul(B,D)|0,a=Math.imul(B,z),r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,W)|0)+Math.imul(j,Z)|0,a=a+Math.imul(j,W)|0,r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(I,q)|0,a=a+Math.imul(I,K)|0,r=r+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,J)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(M,$)|0,a=a+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(E,ne)|0,a=a+Math.imul(E,re)|0,r=r+Math.imul(C,ae)|0,i=(i=i+Math.imul(C,oe)|0)+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,r=r+Math.imul(g,ue)|0,i=(i=i+Math.imul(g,le)|0)+Math.imul(y,ue)|0,a=a+Math.imul(y,le)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(v,fe)|0,a=a+Math.imul(v,de)|0;var Se=(l+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ve)|0)+Math.imul(d,pe)|0))<<13)|0;l=((a=a+Math.imul(d,ve)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(V,Z),i=(i=Math.imul(V,W))+Math.imul(B,Z)|0,a=Math.imul(B,W),r=r+Math.imul(O,q)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(j,q)|0,a=a+Math.imul(j,K)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,J)|0)+Math.imul(I,Y)|0,a=a+Math.imul(I,J)|0,r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(P,$)|0,a=a+Math.imul(P,ee)|0,r=r+Math.imul(L,ne)|0,i=(i=i+Math.imul(L,re)|0)+Math.imul(M,ne)|0,a=a+Math.imul(M,re)|0,r=r+Math.imul(k,ae)|0,i=(i=i+Math.imul(k,oe)|0)+Math.imul(E,ae)|0,a=a+Math.imul(E,oe)|0,r=r+Math.imul(C,ue)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(x,ue)|0,a=a+Math.imul(x,le)|0,r=r+Math.imul(g,fe)|0,i=(i=i+Math.imul(g,de)|0)+Math.imul(y,fe)|0,a=a+Math.imul(y,de)|0;var Le=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ve)|0)+Math.imul(v,pe)|0))<<13)|0;l=((a=a+Math.imul(v,ve)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(V,q),i=(i=Math.imul(V,K))+Math.imul(B,q)|0,a=Math.imul(B,K),r=r+Math.imul(O,Y)|0,i=(i=i+Math.imul(O,J)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,J)|0,r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(I,$)|0,a=a+Math.imul(I,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(P,ne)|0,a=a+Math.imul(P,re)|0,r=r+Math.imul(L,ae)|0,i=(i=i+Math.imul(L,oe)|0)+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,r=r+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,le)|0)+Math.imul(E,ue)|0,a=a+Math.imul(E,le)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(x,fe)|0,a=a+Math.imul(x,de)|0;var Me=(l+(r=r+Math.imul(g,pe)|0)|0)+((8191&(i=(i=i+Math.imul(g,ve)|0)+Math.imul(y,pe)|0))<<13)|0;l=((a=a+Math.imul(y,ve)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(V,Y),i=(i=Math.imul(V,J))+Math.imul(B,Y)|0,a=Math.imul(B,J),r=r+Math.imul(O,$)|0,i=(i=i+Math.imul(O,ee)|0)+Math.imul(j,$)|0,a=a+Math.imul(j,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(I,ne)|0,a=a+Math.imul(I,re)|0,r=r+Math.imul(_,ae)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,r=r+Math.imul(L,ue)|0,i=(i=i+Math.imul(L,le)|0)+Math.imul(M,ue)|0,a=a+Math.imul(M,le)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(E,fe)|0,a=a+Math.imul(E,de)|0;var Ae=(l+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,ve)|0)+Math.imul(x,pe)|0))<<13)|0;l=((a=a+Math.imul(x,ve)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(V,$),i=(i=Math.imul(V,ee))+Math.imul(B,$)|0,a=Math.imul(B,ee),r=r+Math.imul(O,ne)|0,i=(i=i+Math.imul(O,re)|0)+Math.imul(j,ne)|0,a=a+Math.imul(j,re)|0,r=r+Math.imul(R,ae)|0,i=(i=i+Math.imul(R,oe)|0)+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(P,ue)|0,a=a+Math.imul(P,le)|0,r=r+Math.imul(L,fe)|0,i=(i=i+Math.imul(L,de)|0)+Math.imul(M,fe)|0,a=a+Math.imul(M,de)|0;var _e=(l+(r=r+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,ve)|0)+Math.imul(E,pe)|0))<<13)|0;l=((a=a+Math.imul(E,ve)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(V,ne),i=(i=Math.imul(V,re))+Math.imul(B,ne)|0,a=Math.imul(B,re),r=r+Math.imul(O,ae)|0,i=(i=i+Math.imul(O,oe)|0)+Math.imul(j,ae)|0,a=a+Math.imul(j,oe)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(I,ue)|0,a=a+Math.imul(I,le)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(P,fe)|0,a=a+Math.imul(P,de)|0;var Pe=(l+(r=r+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,ve)|0)+Math.imul(M,pe)|0))<<13)|0;l=((a=a+Math.imul(M,ve)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(V,ae),i=(i=Math.imul(V,oe))+Math.imul(B,ae)|0,a=Math.imul(B,oe),r=r+Math.imul(O,ue)|0,i=(i=i+Math.imul(O,le)|0)+Math.imul(j,ue)|0,a=a+Math.imul(j,le)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(I,fe)|0,a=a+Math.imul(I,de)|0;var Te=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ve)|0)+Math.imul(P,pe)|0))<<13)|0;l=((a=a+Math.imul(P,ve)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(V,ue),i=(i=Math.imul(V,le))+Math.imul(B,ue)|0,a=Math.imul(B,le),r=r+Math.imul(O,fe)|0,i=(i=i+Math.imul(O,de)|0)+Math.imul(j,fe)|0,a=a+Math.imul(j,de)|0;var Re=(l+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,ve)|0)+Math.imul(I,pe)|0))<<13)|0;l=((a=a+Math.imul(I,ve)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(V,fe),i=(i=Math.imul(V,de))+Math.imul(B,fe)|0,a=Math.imul(B,de);var Ie=(l+(r=r+Math.imul(O,pe)|0)|0)+((8191&(i=(i=i+Math.imul(O,ve)|0)+Math.imul(j,pe)|0))<<13)|0;l=((a=a+Math.imul(j,ve)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Ne=(l+(r=Math.imul(V,pe))|0)+((8191&(i=(i=Math.imul(V,ve))+Math.imul(B,pe)|0))<<13)|0;return l=((a=Math.imul(B,ve))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=me,u[1]=ge,u[2]=ye,u[3]=be,u[4]=Ce,u[5]=xe,u[6]=we,u[7]=ke,u[8]=Ee,u[9]=Se,u[10]=Le,u[11]=Me,u[12]=Ae,u[13]=_e,u[14]=Pe,u[15]=Te,u[16]=Re,u[17]=Ie,u[18]=Ne,0!==l&&(u[19]=l,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,a=0;a<n.length-1;a++){var o=i;i=0;for(var s=67108863&r,u=Math.min(a,t.length-1),l=Math.max(0,a-e.length+1);l<=u;l++){var c=a-l,f=(0|e.words[c])*(0|t.words[l]),d=67108863&f;s=67108863&(d=d+s|0),i+=(o=(o=o+(f/67108864|0)|0)+(d>>>26)|0)>>>26,o&=67108863}n.words[a]=s,r=o,o=i}return 0!==r?n.words[a]=r:n.length--,n._strip()}function y(e,t,n){return g(e,t,n)}function b(e,t){this.x=e,this.y=t}Math.imul||(m=v),a.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):n<63?v(this,e,t):n<1024?g(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),n=a.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},b.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},b.prototype.permute=function(e,t,n,r,i,a){for(var o=0;o<a;o++)r[o]=t[e[o]],i[o]=n[e[o]]},b.prototype.transform=function(e,t,n,r,i,a){this.permute(a,e,t,n,r,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,u=Math.cos(2*Math.PI/s),l=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var f=u,d=l,h=0;h<o;h++){var p=n[c+h],v=r[c+h],m=n[c+h+o],g=r[c+h+o],y=f*m-d*g;g=f*g+d*m,m=y,n[c+h]=p+m,r[c+h]=v+g,n[c+h+o]=p-m,r[c+h+o]=v-g,h!==s&&(y=u*f-l*d,d=u*d+l*f,f=y)}},b.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},b.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},b.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,n,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],n[2*o]=8191&a,a>>>=13,n[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)n[o]=0;r(0===a),r(0===(-8192&a))},b.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},b.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),a=this.stub(r),o=new Array(r),s=new Array(r),u=new Array(r),l=new Array(r),c=new Array(r),f=new Array(r),d=n.words;d.length=r,this.convert13b(e.words,e.length,o,r),this.convert13b(t.words,t.length,l,r),this.transform(o,a,s,u,r,i),this.transform(l,a,c,f,r,i);for(var h=0;h<r;h++){var p=s[h]*c[h]-u[h]*f[h];u[h]=s[h]*f[h]+u[h]*c[h],s[h]=p}return this.conjugate(s,u,r),this.transform(s,u,d,a,r,i),this.conjugate(d,a,r),this.normalize13b(d,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),y(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"===typeof e),r(e<67108864);for(var n=0,i=0;i<this.length;i++){var a=(0|this.words[i])*e,o=(67108863&a)+(67108863&n);n>>=26,n+=a/67108864|0,n+=o>>>26,this.words[i]=67108863&o}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}(e);if(0===t.length)return new a(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},a.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,u=(0|this.words[t])-s<<n;this.words[t]=u|o,o=s>>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},a.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,u=n;if(i-=o,i=Math.max(0,i),u){for(var l=0;l<o;l++)u.words[l]=this.words[l];u.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var c=0;for(l=this.length-1;l>=0&&(0!==c||l>=i);l--){var f=0|this.words[l];this.words[l]=c<<26-a|f>>>a,c=f&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},a.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return r("number"===typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,n){var i,a,o=e.length+n;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+n])+s;var u=(0|e.words[i])*t;s=((a-=67108863&u)>>26)-(u/67108864|0),this.words[i+n]=67108863&a}for(;i<this.length-n;i++)s=(a=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&a;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(a=-(0|this.words[i])+s)>>26,this.words[i]=67108863&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,o=0|i.words[i.length-1];0!==(n=26-this._countBits(o))&&(i=i.ushln(n),r.iushln(n),o=0|i.words[i.length-1]);var s,u=r.length-i.length;if("mod"!==t){(s=new a(null)).length=u+1,s.words=new Array(s.length);for(var l=0;l<s.length;l++)s.words[l]=0}var c=r.clone()._ishlnsubmul(i,1,u);0===c.negative&&(r=c,s&&(s.words[u]=1));for(var f=u-1;f>=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/o|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},a.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),a=n.cmp(r);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,a=this.length-1;a>=0;a--)i=(n*i+(0|this.words[a]))%e;return t?-i:i},a.prototype.modn=function(e){return this.modrn(e)},a.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var a=(0|this.words[i])+67108864*n;this.words[i]=a/e|0,n=a%e}return this._strip(),t?this.ineg():this},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=new a(0),u=new a(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var c=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0===(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(f)),i.iushrn(1),o.iushrn(1);for(var p=0,v=1;0===(n.words[0]&v)&&p<26;++p,v<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),o.isub(u)):(n.isub(t),s.isub(i),u.isub(o))}return{a:s,b:u,gcd:n.iushln(l)}},a.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new a(1),s=new a(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(u),o.iushrn(1);for(var f=0,d=1;0===(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(s)):(n.isub(t),s.isub(o))}return(i=0===t.cmpn(1)?o:s).cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var a=t;t=n,n=a}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var a=i,o=n;0!==a&&o<this.length;o++){var s=0|this.words[o];a=(s+=a)>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new L(e)},a.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function L(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){L.call(this,e),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)}x.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},i(w,x),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&n,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&n)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(k,x),i(E,x),i(S,x),S.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(C[e])return C[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new k;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return C[e]=t,t},L.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},L.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},L.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},L.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},L.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},L.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},L.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},L.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},L.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},L.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},L.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},L.prototype.isqr=function(e){return this.imul(e,e.clone())},L.prototype.sqr=function(e){return this.mul(e,e)},L.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new a(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);r(!i.isZero());var s=new a(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new a(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var f=this.pow(c,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=o;0!==h.cmp(s);){for(var v=h,m=0;0!==v.cmp(s);m++)v=v.redSqr();r(m<p);var g=this.pow(f,new a(1).iushln(p-m-1));d=d.redMul(g),f=g.redSqr(),h=h.redMul(f),p=m}return d},L.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},L.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new a(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],o=0,s=0,u=t.bitLength()%26;for(0===u&&(u=26),r=t.length-1;r>=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var f=l>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===r&&0===c)&&(i=this.mul(i,n[o]),s=0,o=0)):s=0}u=26}return i},L.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},L.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new M(e)},i(M,L),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},1201:function(e){"use strict";e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mustBeMetaMask,n=void 0!==t&&t,r=e.silent,i=void 0!==r&&r,a=e.timeout,o=void 0===a?3e3:a;!function(){if("boolean"!==typeof n)throw new Error("@metamask/detect-provider: Expected option 'mustBeMetaMask' to be a boolean.");if("boolean"!==typeof i)throw new Error("@metamask/detect-provider: Expected option 'silent' to be a boolean.");if("number"!==typeof o)throw new Error("@metamask/detect-provider: Expected option 'timeout' to be a number.")}();var s=!1;return new Promise((function(e){function t(){if(!s){s=!0,window.removeEventListener("ethereum#initialized",t);var r=window.ethereum;if(!r||n&&!r.isMetaMask){var a=n&&r?"Non-MetaMask window.ethereum detected.":"Unable to detect window.ethereum.";!i&&console.error("@metamask/detect-provider:",a),e(null)}else e(r)}}window.ethereum?t():(window.addEventListener("ethereum#initialized",t,{once:!0}),setTimeout((function(){t()}),o))}))}},2914:function(e){"use strict";for(var t="qpzry9x8gf2tvdw0s3jn54khce6mua7l",n={},r=0;r<t.length;r++){var i=t.charAt(r);if(void 0!==n[i])throw new TypeError(i+" is ambiguous");n[i]=r}function a(e){var t=e>>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function o(e){for(var t=1,n=0;n<e.length;++n){var r=e.charCodeAt(n);if(r<33||r>126)return"Invalid prefix ("+e+")";t=a(t)^r>>5}for(t=a(t),n=0;n<e.length;++n){var i=e.charCodeAt(n);t=a(t)^31&i}return t}function s(e,t){if(t=t||90,e.length<8)return e+" too short";if(e.length>t)return"Exceeds length limit";var r=e.toLowerCase(),i=e.toUpperCase();if(e!==r&&e!==i)return"Mixed-case string "+e;var s=(e=r).lastIndexOf("1");if(-1===s)return"No separator character for "+e;if(0===s)return"Missing prefix for "+e;var u=e.slice(0,s),l=e.slice(s+1);if(l.length<6)return"Data too short";var c=o(u);if("string"===typeof c)return c;for(var f=[],d=0;d<l.length;++d){var h=l.charAt(d),p=n[h];if(void 0===p)return"Unknown character "+h;c=a(c)^p,d+6>=l.length||f.push(p)}return 1!==c?"Invalid checksum for "+e:{prefix:u,words:f}}function u(e,t,n,r){for(var i=0,a=0,o=(1<<n)-1,s=[],u=0;u<e.length;++u)for(i=i<<t|e[u],a+=t;a>=n;)a-=n,s.push(i>>a&o);if(r)a>0&&s.push(i<<n-a&o);else{if(a>=t)return"Excess padding";if(i<<n-a&o)return"Non-zero padding"}return s}e.exports={decodeUnsafe:function(){var e=s.apply(null,arguments);if("object"===typeof e)return e},decode:function(e){var t=s.apply(null,arguments);if("object"===typeof t)return t;throw new Error(t)},encode:function(e,n,r){if(r=r||90,e.length+7+n.length>r)throw new TypeError("Exceeds length limit");var i=o(e=e.toLowerCase());if("string"===typeof i)throw new Error(i);for(var s=e+"1",u=0;u<n.length;++u){var l=n[u];if(l>>5!==0)throw new Error("Non 5-bit word");i=a(i)^l,s+=t.charAt(l)}for(u=0;u<6;++u)i=a(i);for(i^=1,u=0;u<6;++u){s+=t.charAt(i>>5*(5-u)&31)}return s},toWordsUnsafe:function(e){var t=u(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=u(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=u(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=u(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}},3113:function(e,t,n){"use strict";var r=n(4759).default,i=n(6480).default,a=n(4692).default,o=n(126).default,s=n(2077).default,u=n(8688).default,l=n(2638).default,c=n(1023).default,f=n(6764).default,d=n(299).default,h=n(3213).default,p=n(8371).default,v=n(356).default,m=n(1587).default,g=["attrX","attrY","attrScale","originX","originY","pathLength","pathSpacing","pathOffset"],y=["keyframes","restDelta","restSpeed"],b=["autoplay","delay","driver","keyframes","type","repeat","repeatDelay","repeatType","onPlay","onStop","onComplete","onUpdate"],C=["onUpdate","onComplete"],x=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"],w=["transitionEnd","transition"],k=["transition","transitionEnd"],E=["willChange"],S=["children"],L=["transition","transitionEnd"],M=["defaultTransition"],A=["delay","times","type"],_=["container"],P="undefined"!==typeof document;function T(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function R(e){return"string"===typeof e||Array.isArray(e)}function I(e){return"object"===typeof e&&"function"===typeof e.start}var N=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],O=["initial"].concat(N);function j(e){return I(e.animate)||O.some((function(t){return R(e[t])}))}function F(e){return Boolean(j(e)||e.variants)}var V={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},B={},H=function(e){B[e]={isEnabled:function(t){return V[e].some((function(e){return!!t[e]}))}}};for(var D in V)H(D);var z={};var U=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Z=new Set(U);function W(e,t){var n=t.layout,r=t.layoutId;return Z.has(e)||e.startsWith("origin")||(n||void 0!==r)&&(!!z[e]||"opacity"===e)}var G=function(e){return Boolean(e&&e.getVelocity)},q={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},K=U.length;function Q(e,t,n,r){for(var i=t.enableHardwareAcceleration,a=void 0===i||i,o=t.allowTransformNone,s=void 0===o||o,u="",l=0;l<K;l++){var c=U[l];if(void 0!==e[c]){var f=q[c]||c;u+="".concat(f,"(").concat(e[c],") ")}}return a&&!e.z&&(u+="translateZ(0)"),u=u.trim(),r?u=r(e,n?"":u):s&&n&&(u="none"),u}var Y=function(e){return function(t){return"string"===typeof t&&t.startsWith(e)}},J=Y("--"),X=Y("var(--"),$=function(e,t){return t&&"number"===typeof e?t.transform(e):e},ee=function(e,t,n){return Math.min(Math.max(n,e),t)},te={test:function(e){return"number"===typeof e},parse:parseFloat,transform:function(e){return e}},ne=m(m({},te),{},{transform:function(e){return ee(0,1,e)}}),re=m(m({},te),{},{default:1}),ie=function(e){return Math.round(1e5*e)/1e5},ae=/(-)?([\d]*\.?[\d])+/g,oe=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,se=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ue(e){return"string"===typeof e}var le=function(e){return{test:function(t){return ue(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return"".concat(t).concat(e)}}},ce=le("deg"),fe=le("%"),de=le("px"),he=le("vh"),pe=le("vw"),ve=m(m({},fe),{},{parse:function(e){return fe.parse(e)/100},transform:function(e){return fe.transform(100*e)}}),me=m(m({},te),{},{transform:Math.round}),ge={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,radius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,size:de,top:de,right:de,bottom:de,left:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,rotate:ce,rotateX:ce,rotateY:ce,rotateZ:ce,scale:re,scaleX:re,scaleY:re,scaleZ:re,skew:ce,skewX:ce,skewY:ce,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:ne,originX:ve,originY:ve,originZ:de,zIndex:me,fillOpacity:ne,strokeOpacity:ne,numOctaves:me};function ye(e,t,n,r){var i=e.style,a=e.vars,o=e.transform,s=e.transformOrigin,u=!1,l=!1,c=!0;for(var f in t){var d=t[f];if(J(f))a[f]=d;else{var h=ge[f],p=$(d,h);if(Z.has(f)){if(u=!0,o[f]=p,!c)continue;d!==(h.default||0)&&(c=!1)}else f.startsWith("origin")?(l=!0,s[f]=p):i[f]=p}}if(t.transform||(u||r?i.transform=Q(e.transform,n,c,r):i.transform&&(i.transform="none")),l){var v=s.originX,m=void 0===v?"50%":v,g=s.originY,y=void 0===g?"50%":g,b=s.originZ,C=void 0===b?0:b;i.transformOrigin="".concat(m," ").concat(y," ").concat(C)}}function be(e,t,n){return"string"===typeof e?e:de.transform(t+n*e)}var Ce={offset:"stroke-dashoffset",array:"stroke-dasharray"},xe={offset:"strokeDashoffset",array:"strokeDasharray"};function we(e,t,n,r,i){var a=t.attrX,o=t.attrY,s=t.attrScale,u=t.originX,l=t.originY,c=t.pathLength,f=t.pathSpacing,d=void 0===f?1:f,h=t.pathOffset,p=void 0===h?0:h;if(ye(e,v(t,g),n,i),r)e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);else{e.attrs=e.style,e.style={};var m=e.attrs,y=e.style,b=e.dimensions;m.transform&&(b&&(y.transform=m.transform),delete m.transform),b&&(void 0!==u||void 0!==l||y.transform)&&(y.transformOrigin=function(e,t,n){var r=be(t,e.x,e.width),i=be(n,e.y,e.height);return"".concat(r," ").concat(i)}(b,void 0!==u?u:.5,void 0!==l?l:.5)),void 0!==a&&(m.x=a),void 0!==o&&(m.y=o),void 0!==s&&(m.scale=s),void 0!==c&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];e.pathLength=1;var a=i?Ce:xe;e[a.offset]=de.transform(-r);var o=de.transform(t),s=de.transform(n);e[a.array]="".concat(o," ").concat(s)}(m,c,d,p,!1)}}var ke=function(e){return"string"===typeof e&&"svg"===e.toLowerCase()},Ee=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()};function Se(e,t,n,r){var i=t.style,a=t.vars;for(var o in Object.assign(e.style,i,r&&r.getProjectionStyles(n)),a)e.style.setProperty(o,a[o])}var Le=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Me(e,t,n,r){for(var i in Se(e,t,void 0,r),t.attrs)e.setAttribute(Le.has(i)?i:Ee(i),t.attrs[i])}function Ae(e,t){var n=e.style,r={};for(var i in n)(G(n[i])||t.style&&G(t.style[i])||W(i,e))&&(r[i]=n[i]);return r}function _e(e,t){var n=Ae(e,t);for(var r in e){if(G(e[r])||G(t[r]))n[-1!==U.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Pe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return"function"===typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"===typeof t&&(t=e.variants&&e.variants[t]),"function"===typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}var Te=function(e){return Array.isArray(e)},Re=function(e){return Te(e)?e[e.length-1]||0:e},Ie=function(e,t){return function(n){return t(e(n))}},Ne=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(Ie)};var Oe={delta:0,timestamp:0,isProcessing:!1},je=!0,Fe=!1,Ve=["read","update","preRender","render","postRender"],Be=Ve.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,i=!1,a=!1,o=new WeakSet,s={schedule:function(e){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&i,s=a?t:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&o.add(e),-1===s.indexOf(e)&&(s.push(e),a&&i&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),o.delete(e)},process:function(u){if(i)a=!0;else{i=!0;var l=[n,t];if(t=l[0],(n=l[1]).length=0,r=t.length)for(var c=0;c<r;c++){var f=t[c];f(u),o.has(f)&&(s.schedule(f),e())}i=!1,a&&(a=!1,s.process(u))}}};return s}((function(){return Fe=!0})),e}),{}),He=function(e){return Be[e].process(Oe)},De=function e(t){Fe=!1,Oe.delta=je?1e3/60:Math.max(Math.min(t-Oe.timestamp,40),1),Oe.timestamp=t,Oe.isProcessing=!0,Ve.forEach(He),Oe.isProcessing=!1,Fe&&(je=!1,requestAnimationFrame(e))},ze=Ve.reduce((function(e,t){var n=Be[t];return e[t]=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Fe||(Fe=!0,je=!0,Oe.isProcessing||requestAnimationFrame(De)),n.schedule(e,t,r)},e}),{});function Ue(e){Ve.forEach((function(t){return Be[t].cancel(e)}))}var Ze=function(e){return e};function We(e,t,n){var r=e.getProps();return Pe(r,t,void 0!==n?n:r.custom,function(e){var t={};return e.values.forEach((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.values.forEach((function(e,n){return t[n]=e.getVelocity()})),t}(e))}var Ge="framerAppearId",qe="data-"+Ee(Ge);t.warning=Ze,t.invariant=Ze;var Ke=function(e){return 1e3*e},Qe=function(e){return e/1e3},Ye={current:!1},Je=function(e){return Array.isArray(e)&&"number"===typeof e[0]};function Xe(e){return Boolean(!e||"string"===typeof e&&et[e]||Je(e)||Array.isArray(e)&&e.every(Xe))}var $e=function(e){var t=p(e,4),n=t[0],r=t[1],i=t[2],a=t[3];return"cubic-bezier(".concat(n,", ").concat(r,", ").concat(i,", ").concat(a,")")},et={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:$e([0,.65,.55,1]),circOut:$e([.55,0,1,.45]),backIn:$e([.31,.01,.66,-.59]),backOut:$e([.33,1.53,.69,.99])};function tt(e){if(e)return Je(e)?$e(e):Array.isArray(e)?e.map(tt):et[e]}function nt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.delay,a=void 0===i?0:i,o=r.duration,s=r.repeat,u=void 0===s?0:s,l=r.repeatType,c=void 0===l?"loop":l,f=r.ease,d=r.times,p=h({},t,n);d&&(p.offset=d);var v=tt(f);return Array.isArray(v)&&(p.easing=v),e.animate(p,{delay:a,duration:o,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:"reverse"===c?"alternate":"normal"})}var rt={waapi:function(){return Object.hasOwnProperty.call(Element.prototype,"animate")}},it={},at={},ot=function(e){at[e]=function(){return void 0===it[e]&&(it[e]=rt[e]()),it[e]}};for(var st in rt)ot(st);var ut=function(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e},lt=1e-7,ct=12;function ft(e,t,n,r){if(e===t&&n===r)return Ze;var i=function(t){return function(e,t,n,r,i){var a,o,s=0;do{(a=ut(o=t+(n-t)/2,r,i)-e)>0?n=o:t=o}while(Math.abs(a)>lt&&++s<ct);return o}(t,0,1,e,n)};return function(e){return 0===e||1===e?e:ut(i(e),t,r)}}var dt=ft(.42,0,1,1),ht=ft(0,0,.58,1),pt=ft(.42,0,.58,1),vt=function(e){return Array.isArray(e)&&"number"!==typeof e[0]},mt=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},gt=function(e){return function(t){return 1-e(1-t)}},yt=function(e){return 1-Math.sin(Math.acos(e))},bt=gt(yt),Ct=mt(bt),xt=ft(.33,1.53,.69,.99),wt=gt(xt),kt=mt(wt),Et=function(e){return(e*=2)<1?.5*wt(e):.5*(2-Math.pow(2,-10*(e-1)))},St={linear:Ze,easeIn:dt,easeInOut:pt,easeOut:ht,circIn:yt,circInOut:Ct,circOut:bt,backIn:wt,backInOut:kt,backOut:xt,anticipate:Et},Lt=function(e){if(Array.isArray(e)){t.invariant(4===e.length,"Cubic bezier arrays must contain four numerical values.");var n=p(e,4);return ft(n[0],n[1],n[2],n[3])}return"string"===typeof e?(t.invariant(void 0!==St[e],"Invalid easing type '".concat(e,"'")),St[e]):e},Mt=function(e,t){return function(n){return Boolean(ue(n)&&se.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},At=function(e,t,n){return function(r){var i;if(!ue(r))return r;var a=r.match(ae),o=p(a,4),s=o[0],u=o[1],l=o[2],c=o[3];return h(i={},e,parseFloat(s)),h(i,t,parseFloat(u)),h(i,n,parseFloat(l)),h(i,"alpha",void 0!==c?parseFloat(c):1),i}},_t=m(m({},te),{},{transform:function(e){return Math.round(function(e){return ee(0,255,e)}(e))}}),Pt={test:Mt("rgb","red"),parse:At("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,i=e.alpha,a=void 0===i?1:i;return"rgba("+_t.transform(t)+", "+_t.transform(n)+", "+_t.transform(r)+", "+ie(ne.transform(a))+")"}};var Tt={test:Mt("#"),parse:function(e){var t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:Pt.transform},Rt={test:Mt("hsl","hue"),parse:At("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,i=e.alpha,a=void 0===i?1:i;return"hsla("+Math.round(t)+", "+fe.transform(ie(n))+", "+fe.transform(ie(r))+", "+ie(ne.transform(a))+")"}},It={test:function(e){return Pt.test(e)||Tt.test(e)||Rt.test(e)},parse:function(e){return Pt.test(e)?Pt.parse(e):Rt.test(e)?Rt.parse(e):Tt.parse(e)},transform:function(e){return ue(e)?e:e.hasOwnProperty("red")?Pt.transform(e):Rt.transform(e)}},Nt=function(e,t,n){return-n*e+n*t+e};function Ot(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var jt=function(e,t,n){var r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Ft=[Tt,Pt,Rt];function Vt(e){var n,r=(n=e,Ft.find((function(e){return e.test(n)})));t.invariant(Boolean(r),"'".concat(e,"' is not an animatable color. Use the equivalent color code instead."));var i=r.parse(e);return r===Rt&&(i=function(e){var t=e.hue,n=e.saturation,r=e.lightness,i=e.alpha;t/=360,r/=100;var a=0,o=0,s=0;if(n/=100){var u=r<.5?r*(1+n):r+n-r*n,l=2*r-u;a=Ot(l,u,t+1/3),o=Ot(l,u,t),s=Ot(l,u,t-1/3)}else a=o=s=r;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*s),alpha:i}}(i)),i}var Bt=function(e,t){var n=Vt(e),r=Vt(t),i=m({},n);return function(e){return i.red=jt(n.red,r.red,e),i.green=jt(n.green,r.green,e),i.blue=jt(n.blue,r.blue,e),i.alpha=Nt(n.alpha,r.alpha,e),Pt.transform(i)}};var Ht={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Ze},Dt={regex:oe,countKey:"Colors",token:"${c}",parse:It.parse},zt={regex:ae,countKey:"Numbers",token:"${n}",parse:te.parse};function Ut(e,t){var n,r=t.regex,i=t.countKey,a=t.token,o=t.parse,s=e.tokenised.match(r);s&&(e["num"+i]=s.length,e.tokenised=e.tokenised.replace(r,a),(n=e.values).push.apply(n,d(s.map(o))))}function Zt(e){var t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ut(n,Ht),Ut(n,Dt),Ut(n,zt),n}function Wt(e){return Zt(e).values}function Gt(e){var t=Zt(e),n=t.values,r=t.numColors,i=t.numVars,a=t.tokenised,o=n.length;return function(e){for(var t=a,n=0;n<o;n++)t=n<i?t.replace(Ht.token,e[n]):n<i+r?t.replace(Dt.token,It.transform(e[n])):t.replace(zt.token,ie(e[n]));return t}}var qt=function(e){return"number"===typeof e?0:e};var Kt={test:function(e){var t,n;return isNaN(e)&&ue(e)&&((null===(t=e.match(ae))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(oe))||void 0===n?void 0:n.length)||0)>0},parse:Wt,createTransformer:Gt,getAnimatableNone:function(e){var t=Wt(e);return Gt(e)(t.map(qt))}},Qt=function(e,t){return function(n){return"".concat(n>0?t:e)}};function Yt(e,t){return"number"===typeof e?function(n){return Nt(e,t,n)}:It.test(e)?Bt(e,t):e.startsWith("var(")?Qt(e,t):$t(e,t)}var Jt=function(e,t){var n=d(e),r=n.length,i=e.map((function(e,n){return Yt(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=i[t](e);return n}},Xt=function(e,t){var n=m(m({},e),t),r={};for(var i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Yt(e[i],t[i]));return function(e){for(var t in r)n[t]=r[t](e);return n}},$t=function(e,n){var r=Kt.createTransformer(n),i=Zt(e),a=Zt(n);return i.numVars===a.numVars&&i.numColors===a.numColors&&i.numNumbers>=a.numNumbers?Ne(Jt(i.values,a.values),r):(t.warning(!0,"Complex values '".concat(e,"' and '").concat(n,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.")),Qt(e,n))},en=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},tn=function(e,t){return function(n){return Nt(e,t,n)}};function nn(e,t,n){for(var r,i=[],a=n||("number"===typeof(r=e[0])?tn:"string"===typeof r?It.test(r)?Bt:$t:Array.isArray(r)?Jt:"object"===typeof r?Xt:tn),o=e.length-1,s=0;s<o;s++){var u=a(e[s],e[s+1]);if(t){var l=Array.isArray(t)?t[s]||Ze:t;u=Ne(l,u)}i.push(u)}return i}function rn(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.clamp,a=void 0===i||i,o=r.ease,s=r.mixer,u=e.length;if(t.invariant(u===n.length,"Both input and output ranges must be the same length"),1===u)return function(){return n[0]};e[0]>e[u-1]&&(e=d(e).reverse(),n=d(n).reverse());var l=nn(n,o,s),c=l.length,f=function(t){var n=0;if(c>1)for(;n<e.length-2&&!(t<e[n+1]);n++);var r=en(e[n],e[n+1],t);return l[n](r)};return a?function(t){return f(ee(e[0],e[u-1],t))}:f}function an(e,t){for(var n=e[e.length-1],r=1;r<=t;r++){var i=en(0,t,r);e.push(Nt(n,1,i))}}function on(e){var t=[0];return an(t,e.length-1),t}function sn(e){var t,n,r=e.duration,i=void 0===r?300:r,a=e.keyframes,o=e.times,s=e.ease,u=void 0===s?"easeInOut":s,l=vt(u)?u.map(Lt):Lt(u),c={done:!1,value:a[0]},f=function(e,t){return e.map((function(e){return e*t}))}(o&&o.length===a.length?o:on(a),i),d=rn(f,a,{ease:Array.isArray(l)?l:(t=a,n=l,t.map((function(){return n||pt})).splice(0,t.length-1))});return{calculatedDuration:i,next:function(e){return c.value=d(e),c.done=e>=i,c}}}function un(e,t){return t?e*(1e3/t):0}var ln=5;function cn(e,t,n){var r=Math.max(t-ln,0);return un(n-e(r),t-r)}var fn=.001,dn=.01,hn=10,pn=.05,vn=1;function mn(e){var n,r,i=e.duration,a=void 0===i?800:i,o=e.bounce,s=void 0===o?.25:o,u=e.velocity,l=void 0===u?0:u,c=e.mass,f=void 0===c?1:c;t.warning(a<=Ke(hn),"Spring duration must be 10 seconds or less");var d=1-s;d=ee(pn,vn,d),a=ee(dn,hn,Qe(a)),d<1?(n=function(e){var t=e*d,n=t*a,r=t-l,i=yn(e,d),o=Math.exp(-n);return fn-r/i*o},r=function(e){var t=e*d*a,r=t*l+l,i=Math.pow(d,2)*Math.pow(e,2)*a,o=Math.exp(-t),s=yn(Math.pow(e,2),d);return(-n(e)+fn>0?-1:1)*((r-i)*o)/s}):(n=function(e){return Math.exp(-e*a)*((e-l)*a+1)-fn},r=function(e){return Math.exp(-e*a)*(a*a*(l-e))});var h=function(e,t,n){for(var r=n,i=1;i<gn;i++)r-=e(r)/t(r);return r}(n,r,5/a);if(a=Ke(a),isNaN(h))return{stiffness:100,damping:10,duration:a};var p=Math.pow(h,2)*f;return{stiffness:p,damping:2*d*Math.sqrt(f*p),duration:a}}var gn=12;function yn(e,t){return e*Math.sqrt(1-t*t)}var bn=["duration","bounce"],Cn=["stiffness","damping","mass"];function xn(e,t){return t.some((function(t){return void 0!==e[t]}))}function wn(e){var t,n=e.keyframes,r=e.restDelta,i=e.restSpeed,a=v(e,y),o=n[0],s=n[n.length-1],u={done:!1,value:o},l=function(e){var t=m({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!xn(e,Cn)&&xn(e,bn)){var n=mn(e);(t=m(m(m({},t),n),{},{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(a),c=l.stiffness,f=l.damping,d=l.mass,h=l.velocity,p=l.duration,g=l.isResolvedFromDuration,b=h?-Qe(h):0,C=f/(2*Math.sqrt(c*d)),x=s-o,w=Qe(Math.sqrt(c/d)),k=Math.abs(x)<5;if(i||(i=k?.01:2),r||(r=k?.005:.5),C<1){var E=yn(w,C);t=function(e){var t=Math.exp(-C*w*e);return s-t*((b+C*w*x)/E*Math.sin(E*e)+x*Math.cos(E*e))}}else if(1===C)t=function(e){return s-Math.exp(-w*e)*(x+(b+w*x)*e)};else{var S=w*Math.sqrt(C*C-1);t=function(e){var t=Math.exp(-C*w*e),n=Math.min(S*e,300);return s-t*((b+C*w*x)*Math.sinh(n)+S*x*Math.cosh(n))/S}}return{calculatedDuration:g&&p||null,next:function(e){var n=t(e);if(g)u.done=e>=p;else{var a=b;0!==e&&(a=C<1?cn(t,e,n):0);var o=Math.abs(a)<=i,l=Math.abs(s-n)<=r;u.done=o&&l}return u.value=u.done?s:n,u}}}function kn(e){var t=e.keyframes,n=e.velocity,r=void 0===n?0:n,i=e.power,a=void 0===i?.8:i,o=e.timeConstant,s=void 0===o?325:o,u=e.bounceDamping,l=void 0===u?10:u,c=e.bounceStiffness,f=void 0===c?500:c,d=e.modifyTarget,h=e.min,p=e.max,v=e.restDelta,m=void 0===v?.5:v,g=e.restSpeed,y=t[0],b={done:!1,value:y},C=function(e){return void 0===h?p:void 0===p||Math.abs(h-e)<Math.abs(p-e)?h:p},x=a*r,w=y+x,k=void 0===d?w:d(w);k!==w&&(x=k-y);var E,S,L=function(e){return-x*Math.exp(-e/s)},M=function(e){return k+L(e)},A=function(e){var t=L(e),n=M(e);b.done=Math.abs(t)<=m,b.value=b.done?k:n},_=function(e){var t;(t=b.value,void 0!==h&&t<h||void 0!==p&&t>p)&&(E=e,S=wn({keyframes:[b.value,C(b.value)],velocity:cn(M,e,b.value),damping:l,stiffness:f,restDelta:m,restSpeed:g}))};return _(0),{calculatedDuration:null,next:function(e){var t=!1;return S||void 0!==E||(t=!0,A(e),_(e)),void 0!==E&&e>E?S.next(e-E):(!t&&A(e),b)}}}var En=function(e){var t=function(t){var n=t.timestamp;return e(n)};return{start:function(){return ze.update(t,!0)},stop:function(){return Ue(t)},now:function(){return Oe.isProcessing?Oe.timestamp:performance.now()}}},Sn=2e4;function Ln(e){for(var t=0,n=e.next(t);!n.done&&t<Sn;)t+=50,n=e.next(t);return t>=Sn?1/0:t}var Mn={decay:kn,inertia:kn,tween:sn,keyframes:sn,spring:wn};function An(e){var t,n,r,i=e.autoplay,a=void 0===i||i,o=e.delay,s=void 0===o?0:o,u=e.driver,l=void 0===u?En:u,c=e.keyframes,f=e.type,h=void 0===f?"keyframes":f,p=e.repeat,g=void 0===p?0:p,y=e.repeatDelay,C=void 0===y?0:y,x=e.repeatType,w=void 0===x?"loop":x,k=e.onPlay,E=e.onStop,S=e.onComplete,L=e.onUpdate,M=v(e,b),A=1,_=!1,P=function(){t&&t(),n=new Promise((function(e){t=e}))};P();var T,R=Mn[h]||sn;R!==sn&&"number"!==typeof c[0]&&(T=rn([0,100],c,{clamp:!1}),c=[0,100]);var I,N=R(m(m({},M),{},{keyframes:c}));"mirror"===w&&(I=R(m(m({},M),{},{keyframes:d(c).reverse(),velocity:-(M.velocity||0)})));var O="idle",j=null,F=null,V=null;null===N.calculatedDuration&&g&&(N.calculatedDuration=Ln(N));var B=N.calculatedDuration,H=1/0,D=1/0;null!==B&&(D=(H=B+C)*(g+1)-C);var z=0,U=function(e){if(null!==F){A>0&&(F=Math.min(F,e));var t=(z=null!==j?j:(e-F)*A)-s,n=t<0;z=Math.max(t,0),"finished"===O&&null===j&&(z=D);var r=z,i=N;if(g){var a=z/H,o=Math.floor(a),u=a%1;!u&&a>=1&&(u=1),1===u&&o--,o=Math.min(o,g+1);var l=Boolean(o%2);l&&("reverse"===w?(u=1-u,C&&(u-=C/H)):"mirror"===w&&(i=I));var f=ee(0,1,u);z>D&&(f="reverse"===w&&l?1:0),r=f*H}var d=n?{done:!1,value:c[0]}:i.next(r);T&&(d.value=T(d.value));var h=d.done;n||null===B||(h=z>=D);var p=null===j&&("finished"===O||"running"===O&&h||A<0&&z<=0);return L&&L(d.value),p&&G(),d}},Z=function(){r&&r.stop(),r=void 0},W=function(){O="idle",Z(),P(),F=V=null},G=function(){O="finished",S&&S(),Z(),P()},q=function(){if(!_){r||(r=l(U));var e=r.now();k&&k(),null!==j?F=e-j:F&&"finished"!==O||(F=e),V=F,j=null,O="running",r.start()}};a&&q();var K={then:function(e,t){return n.then(e,t)},get time(){return Qe(z)},set time(e){e=Ke(e),z=e,null===j&&r&&0!==A?F=r.now()-e/A:j=e},get duration(){var e=null===N.calculatedDuration?Ln(N):N.calculatedDuration;return Qe(e)},get speed(){return A},set speed(e){e!==A&&r&&(A=e,K.time=Qe(z))},get state(){return O},play:q,pause:function(){O="paused",j=z},stop:function(){_=!0,"idle"!==O&&(O="idle",E&&E(),W())},cancel:function(){null!==V&&U(V),W()},complete:function(){O="finished"},sample:function(e){return F=0,U(e)}};return K}var _n=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Pn(e,t,n){n.onUpdate;var r=n.onComplete,i=v(n,C);if(!(at.waapi()&&_n.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;var a,o,s=!1,u=function(){o=new Promise((function(e){a=e}))};u();var l=i.keyframes,c=i.duration,f=void 0===c?300:c,d=i.ease,h=i.times;if(function(e,t){return"spring"===t.type||"backgroundColor"===e||!Xe(t.ease)}(t,i)){for(var p=An(m(m({},i),{},{repeat:0,delay:0})),g={done:!1,value:l[0]},y=[],b=0;!g.done&&b<2e4;)g=p.sample(b),y.push(g.value),b+=10;h=void 0,l=y,f=b-10,d="linear"}var x=nt(e.owner.current,t,l,m(m({},i),{},{duration:f,ease:d,times:h})),w=function(){return x.cancel()},k=function(){ze.update(w),a(),u()};return x.onfinish=function(){e.set(function(e,t){var n=t.repeat,r=t.repeatType;return e[n&&"loop"!==(void 0===r?"loop":r)&&n%2===1?0:e.length-1]}(l,i)),r&&r(),k()},{then:function(e,t){return o.then(e,t)},get time(){return Qe(x.currentTime||0)},set time(e){x.currentTime=Ke(e)},get speed(){return x.playbackRate},set speed(e){x.playbackRate=e},get duration(){return Qe(f)},play:function(){s||(x.play(),Ue(w))},pause:function(){return x.pause()},stop:function(){if(s=!0,"idle"!==x.playState){var t=x.currentTime;if(t){var n=An(m(m({},i),{},{autoplay:!1}));e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}k()}},complete:function(){return x.finish()},cancel:k}}var Tn={type:"spring",stiffness:500,damping:25,restSpeed:10},Rn={type:"keyframes",duration:.8},In={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Nn=function(e,t){var n=t.keyframes;return n.length>2?Rn:Z.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:Tn:In},On=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!Kt.test(t)||t.startsWith("url(")))},jn=new Set(["brightness","contrast","saturate","opacity"]);function Fn(e){var t=e.slice(0,-1).split("("),n=p(t,2),r=n[0],i=n[1];if("drop-shadow"===r)return e;var a=i.match(ae)||[],o=p(a,1)[0];if(!o)return e;var s=i.replace(o,""),u=jn.has(r)?1:0;return o!==i&&(u*=100),r+"("+u+s+")"}var Vn=/([a-z-]*)\(.*?\)/g,Bn=m(m({},Kt),{},{getAnimatableNone:function(e){var t=e.match(Vn);return t?t.map(Fn).join(" "):e}}),Hn=m(m({},ge),{},{color:It,backgroundColor:It,outlineColor:It,fill:It,stroke:It,borderColor:It,borderTopColor:It,borderRightColor:It,borderBottomColor:It,borderLeftColor:It,filter:Bn,WebkitFilter:Bn}),Dn=function(e){return Hn[e]};function zn(e,t){var n=Dn(e);return n!==Bn&&(n=Kt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function Un(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Zn(e){return"number"===typeof e?0:zn("",e)}function Wn(e,t){return e[t]||e.default||e}function Gn(e,t,n,r){var i=On(t,n),a=void 0!==r.from?r.from:e.get();return"none"===a&&i&&"string"===typeof n?a=zn(t,n):Un(a)&&"string"===typeof n?a=Zn(n):!Array.isArray(n)&&Un(n)&&"string"===typeof a&&(n=Zn(a)),Array.isArray(n)?function(e,t){for(var n=f(t).slice(0),r=0;r<n.length;r++)null===n[r]&&(n[r]=0===r?e:n[r-1]);return n}(a,n):[a,n]}var qn=function(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return function(a){var o=Wn(i,e)||{},s=o.delay||i.delay||0,u=i.elapsed,l=void 0===u?0:u;l-=Ke(s);var c=Gn(n,e,r,o),f=c[0],d=c[c.length-1],h=On(e,f),p=On(e,d);t.warning(h===p,"You are trying to animate ".concat(e,' from "').concat(f,'" to "').concat(d,'". ').concat(f," is not an animatable value - to enable this animation set ").concat(f," to a value animatable to ").concat(d," via the `style` property."));var g=m(m({keyframes:c,velocity:n.getVelocity(),ease:"easeOut"},o),{},{delay:-l,onUpdate:function(e){n.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:function(){a(),o.onComplete&&o.onComplete()}});if(function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from,e.elapsed;var t=v(e,x);return!!Object.keys(t).length}(o)||(g=m(m({},g),Nn(e,g))),g.duration&&(g.duration=Ke(g.duration)),g.repeatDelay&&(g.repeatDelay=Ke(g.repeatDelay)),!h||!p||Ye.current||!1===o.type)return function(e){var t=e.keyframes,n=e.delay,r=e.onUpdate,i=e.onComplete,a=function(){return r&&r(t[t.length-1]),i&&i(),{time:0,speed:1,duration:0,play:Ze,pause:Ze,stop:Ze,then:function(e){return e(),Promise.resolve()},cancel:Ze,complete:Ze}};return n?An({keyframes:[0,1],duration:0,delay:n,onComplete:a}):a()}(g);if(n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate){var y=Pn(n,e,g);if(y)return y}return An(g)}};function Kn(e){return Boolean(G(e)&&e.add)}var Qn=function(e){return/^0[^.\s]+$/.test(e)};function Yn(e,t){-1===e.indexOf(t)&&e.push(t)}function Jn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Xn=function(){function e(){l(this,e),this.subscriptions=[]}return c(e,[{key:"add",value:function(e){var t=this;return Yn(this.subscriptions,e),function(){return Jn(t.subscriptions,e)}}},{key:"notify",value:function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var i=0;i<r;i++){var a=this.subscriptions[i];a&&a(e,t,n)}}},{key:"getSize",value:function(){return this.subscriptions.length}},{key:"clear",value:function(){this.subscriptions.length=0}}]),e}(),$n=new Set;var er=function(){function e(t){var n,r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,e),this.version="10.12.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r.prev=r.current,r.current=e;var n=Oe.delta,i=Oe.timestamp;r.lastUpdated!==i&&(r.timeDelta=n,r.lastUpdated=i,ze.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.events.change&&r.events.change.notify(r.current),r.events.velocityChange&&r.events.velocityChange.notify(r.getVelocity()),t&&r.events.renderRequest&&r.events.renderRequest.notify(r.current)},this.scheduleVelocityCheck=function(){return ze.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.events.velocityChange&&r.events.velocityChange.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=i.owner}return c(e,[{key:"onChange",value:function(e){return this.on("change",e)}},{key:"on",value:function(e,t){var n=this;this.events[e]||(this.events[e]=new Xn);var r=this.events[e].add(t);return"change"===e?function(){r(),ze.read((function(){n.events.change.getSize()||n.stop()}))}:r}},{key:"clearListeners",value:function(){for(var e in this.events)this.events[e].clear()}},{key:"attach",value:function(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}},{key:"set",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}},{key:"setWithVelocity",value:function(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}},{key:"jump",value:function(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}},{key:"get",value:function(){return this.current}},{key:"getPrevious",value:function(){return this.prev}},{key:"getVelocity",value:function(){return this.canTrackVelocity?un(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}},{key:"start",value:function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.animation=e(n),t.events.animationStart&&t.events.animationStart.notify()})).then((function(){t.events.animationComplete&&t.events.animationComplete.notify(),t.clearAnimation()}))}},{key:"stop",value:function(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}},{key:"isAnimating",value:function(){return!!this.animation}},{key:"clearAnimation",value:function(){delete this.animation}},{key:"destroy",value:function(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}]),e}();function tr(e,t){return new er(e,t)}var nr=function(e){return function(t){return t.test(e)}},rr=[te,de,fe,ce,pe,he,{test:function(e){return"auto"===e},parse:function(e){return e}}],ir=function(e){return rr.find(nr(e))},ar=[].concat(rr,[It,Kt]),or=function(e){return ar.find(nr(e))};function sr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,tr(n))}function ur(e,t){var n=We(e,t),r=n?e.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,a=void 0===i?{}:i,o=(r.transition,v(r,w));for(var s in o=m(m({},o),a)){sr(e,s,Re(o[s]))}}function lr(e,t){d(t).reverse().forEach((function(n){var r=e.getVariant(n);r&&ur(e,r),e.variantChildren&&e.variantChildren.forEach((function(e){lr(e,t)}))}))}function cr(e,t,n){var r,i,a=Object.keys(t).filter((function(t){return!e.hasValue(t)})),o=a.length;if(o)for(var s=0;s<o;s++){var u=a[s],l=t[u],c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[u])&&void 0!==r?r:e.readValue(u))&&void 0!==i?i:t[u]),void 0!==c&&null!==c&&("string"===typeof c&&(/^\-?\d*\.?\d+$/.test(c)||Qn(c))?c=parseFloat(c):!or(c)&&Kt.test(l)&&(c=zn(u,l)),e.addValue(u,tr(c,{owner:e})),void 0===n[u]&&(n[u]=c),null!==c&&e.setBaseTarget(u,c))}}function fr(e,t){if(t)return(t[e]||t.default||t).from}function dr(e,t,n){var r={};for(var i in e){var a=fr(i,t);if(void 0!==a)r[i]=a;else{var o=n.getValue(i);o&&(r[i]=o.get())}}return r}function hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.delay,i=void 0===r?0:r,a=n.transitionOverride,o=n.type,s=e.makeTargetAnimatable(t),u=s.transition,l=void 0===u?e.getDefaultTransition():u,c=s.transitionEnd,f=v(s,k),d=e.getValue("willChange");a&&(l=a);var h=[],p=o&&e.animationState&&e.animationState.getState()[o],g=function(t){var n=e.getValue(t),r=f[t];if(!n||void 0===r||p&&function(e,t){var n=e.protectedKeys,r=e.needsAnimating,i=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,i}(p,t))return"continue";var a=m({delay:i,elapsed:0},l);if(window.HandoffAppearAnimations&&!n.hasAnimated){var o=e.getProps()[qe];o&&(a.elapsed=window.HandoffAppearAnimations(o,t,n,ze))}n.start(qn(t,n,r,e.shouldReduceMotion&&Z.has(t)?{type:!1}:a));var s=n.animation;Kn(d)&&(d.add(t),s.then((function(){return d.remove(t)}))),h.push(s)};for(var y in f)g(y);return c&&Promise.all(h).then((function(){c&&ur(e,c)})),h}var pr=function(e,t){return Math.abs(e-t)};var vr=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function mr(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function gr(e){return void 0===e||1===e}function yr(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!gr(t)||!gr(n)||!gr(r)}function br(e){return yr(e)||Cr(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Cr(e){return xr(e.x)||xr(e.y)}function xr(e){return e&&"0%"!==e}function wr(e,t,n){return n+t*(e-n)}function kr(e,t,n,r,i){return void 0!==i&&(e=wr(e,i,r)),wr(e,n,r)+t}function Er(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;e.min=kr(e.min,t,n,r,i),e.max=kr(e.max,t,n,r,i)}function Sr(e,t){var n=t.x,r=t.y;Er(e.x,n.translate,n.scale,n.originPoint),Er(e.y,r.translate,r.scale,r.originPoint)}function Lr(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Mr(e,t){e.min=e.min+t,e.max=e.max+t}function Ar(e,t,n){var r=p(n,3),i=r[0],a=r[1],o=r[2],s=void 0!==t[o]?t[o]:.5,u=Nt(e.min,e.max,s);Er(e,t[i],t[a],u,t.scale)}var _r=["x","scaleX","originX"],Pr=["y","scaleY","originY"];function Tr(e,t){Ar(e.x,t,_r),Ar(e.y,t,Pr)}function Rr(e,t){return mr(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}function Ir(e,n,r){var i;if("string"===typeof e){var a=document;n&&(t.invariant(Boolean(n.current),"Scope provided, but no element detected."),a=n.current),r?(null!==(i=r[e])&&void 0!==i||(r[e]=a.querySelectorAll(e)),e=r[e]):e=a.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}var Nr=new WeakMap,Or=function(){function e(t){l(this,e),this.animations=t.filter(Boolean)}return c(e,[{key:"then",value:function(e,t){return Promise.all(this.animations).then(e).catch(t)}},{key:"getAll",value:function(e){return this.animations[0][e]}},{key:"setAll",value:function(e,t){for(var n=0;n<this.animations.length;n++)this.animations[n][e]=t}},{key:"time",get:function(){return this.getAll("time")},set:function(e){this.setAll("time",e)}},{key:"speed",get:function(){return this.getAll("speed")},set:function(e){this.setAll("speed",e)}},{key:"duration",get:function(){for(var e=0,t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}},{key:"runAll",value:function(e){this.animations.forEach((function(t){return t[e]()}))}},{key:"play",value:function(){this.runAll("play")}},{key:"pause",value:function(){this.runAll("pause")}},{key:"stop",value:function(){this.runAll("stop")}},{key:"cancel",value:function(){this.runAll("cancel")}},{key:"complete",value:function(){this.runAll("complete")}}]),e}();function jr(e){return e instanceof SVGElement&&"svg"!==e.tagName}var Fr=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;var Vr=4;function Br(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;t.invariant(r<=Vr,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var i=function(e){var t=Fr.exec(e);if(!t)return[,];var n=p(t,3);return[n[1],n[2]]}(e),a=p(i,2),o=a[0],s=a[1];if(o){var u=window.getComputedStyle(n).getPropertyValue(o);return u?u.trim():X(s)?Br(s,n,r+1):s}}var Hr=new Set(["width","height","top","left","right","bottom","x","y"]),Dr=function(e){return Hr.has(e)},zr=function(e){return e===te||e===de},Ur=function(e,t){return parseFloat(e.split(", ")[t])},Zr=function(e,t){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var a=i.match(/^matrix3d\((.+)\)$/);if(a)return Ur(a[1],t);var o=i.match(/^matrix\((.+)\)$/);return o?Ur(o[1],e):0}},Wr=new Set(["x","y","z"]),Gr=U.filter((function(e){return!Wr.has(e)}));var qr={width:function(e,t){var n=e.x,r=t.paddingLeft,i=void 0===r?"0":r,a=t.paddingRight,o=void 0===a?"0":a;return n.max-n.min-parseFloat(i)-parseFloat(o)},height:function(e,t){var n=e.y,r=t.paddingTop,i=void 0===r?"0":r,a=t.paddingBottom,o=void 0===a?"0":a;return n.max-n.min-parseFloat(i)-parseFloat(o)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Zr(4,13),y:Zr(5,14)},Kr=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=m({},n),i=m({},i);var a=Object.keys(n).filter(Dr),o=[],s=!1,u=[];if(a.forEach((function(a){var l=e.getValue(a);if(e.hasValue(a)){var c,f=r[a],d=ir(f),h=n[a];if(Te(h)){var p=h.length,v=null===h[0]?1:0;f=h[v],d=ir(f);for(var m=v;m<p&&null!==h[m];m++)c?t.invariant(ir(h[m])===c,"All keyframes must be of the same type"):(c=ir(h[m]),t.invariant(c===d||zr(d)&&zr(c),"Keyframes must be of the same dimension as the current value"))}else c=ir(h);if(d!==c)if(zr(d)&&zr(c)){var g=l.get();"string"===typeof g&&l.set(parseFloat(g)),"string"===typeof h?n[a]=parseFloat(h):Array.isArray(h)&&c===de&&(n[a]=h.map(parseFloat))}else(null===d||void 0===d?void 0:d.transform)&&(null===c||void 0===c?void 0:c.transform)&&(0===f||0===h)?0===f?l.set(c.transform(f)):n[a]=d.transform(h):(s||(o=function(e){var t=[];return Gr.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.render(),t}(e),s=!0),u.push(a),i[a]=void 0!==i[a]?i[a]:n[a],l.jump(h))}})),u.length){var l=u.indexOf("height")>=0?window.pageYOffset:null,c=function(e,t,n){var r=t.measureViewportBox(),i=t.current,a=getComputedStyle(i),o=a.display,s={};"none"===o&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){s[e]=qr[e](r,a)})),t.render();var u=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);r&&r.jump(s[n]),e[n]=qr[n](u,a)})),e}(n,e,u);return o.length&&o.forEach((function(t){var n=p(t,2),r=n[0],i=n[1];e.getValue(r).set(i)})),e.render(),P&&null!==l&&window.scrollTo({top:l}),{target:c,transitionEnd:i}}return{target:n,transitionEnd:i}};function Qr(e,t,n,r){return function(e){return Object.keys(e).some(Dr)}(t)?Kr(e,t,n,r):{target:t,transitionEnd:r}}var Yr=function(e,t,n,r){var i=function(e,t,n){var r=Object.assign({},(u(t),t)),i=e.current;if(!(i instanceof Element))return{target:r,transitionEnd:n};for(var a in n&&(n=m({},n)),e.values.forEach((function(e){var t=e.get();if(X(t)){var n=Br(t,i);n&&e.set(n)}})),r){var o=r[a];if(X(o)){var s=Br(o,i);s&&(r[a]=s,n||(n={}),void 0===n[a]&&(n[a]=o))}}return{target:r,transitionEnd:n}}(e,t,r);return Qr(e,t=i.target,n,r=i.transitionEnd)},Jr={current:null},Xr={current:!1};function $r(){if(Xr.current=!0,P)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Jr.current=e.matches};e.addListener(t),t()}else Jr.current=!1}var ei=Object.keys(B),ti=ei.length,ni=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ri=O.length,ii=function(){function e(t){var n=this,r=t.parent,i=t.props,a=t.presenceContext,o=t.reducedMotionConfig,s=t.visualState,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,e),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=function(){return n.notify("Update",n.latestValues)},this.render=function(){n.current&&(n.triggerBuild(),n.renderInstance(n.current,n.renderState,n.props.style,n.projection))},this.scheduleRender=function(){return ze.render(n.render,!1,!0)};var c=s.latestValues,f=s.renderState;this.latestValues=c,this.baseTarget=m({},c),this.initialValues=i.initial?m({},c):{},this.renderState=f,this.parent=r,this.props=i,this.presenceContext=a,this.depth=r?r.depth+1:0,this.reducedMotionConfig=o,this.options=u,this.isControllingVariants=j(i),this.isVariantNode=F(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(r&&r.current);var d=this.scrapeMotionValuesFromProps(i,{}),h=d.willChange,p=v(d,E);for(var g in p){var y=p[g];void 0!==c[g]&&G(y)&&(y.set(c[g],!1),Kn(h)&&h.add(g))}}return c(e,[{key:"scrapeMotionValuesFromProps",value:function(e,t){return{}}},{key:"mount",value:function(e){var t=this;this.current=e,Nr.set(e,this),this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((function(e,n){return t.bindToMotionValue(n,e)})),Xr.current||$r(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Jr.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}},{key:"unmount",value:function(){for(var e in Nr.delete(this.current),this.projection&&this.projection.unmount(),Ue(this.notifyUpdate),Ue(this.render),this.valueSubscriptions.forEach((function(e){return e()})),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(var t in this.features)this.features[t].unmount();this.current=null}},{key:"bindToMotionValue",value:function(e,t){var n=this,r=Z.has(e),i=t.on("change",(function(t){n.latestValues[e]=t,n.props.onUpdate&&ze.update(n.notifyUpdate,!1,!0),r&&n.projection&&(n.projection.isTransformDirty=!0)})),a=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(function(){i(),a()}))}},{key:"sortNodePosition",value:function(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}},{key:"loadFeatures",value:function(e,t,n,r,i){for(var a,o,s=this,u=(e.children,v(e,S)),l=0;l<ti;l++){var c=ei[l],f=B[c],d=f.isEnabled,h=f.Feature,p=f.ProjectionNode,m=f.MeasureLayout;p&&(a=p),d(u)&&(!this.features[c]&&h&&(this.features[c]=new h(this)),m&&(o=m))}if(!this.projection&&a){this.projection=new a(r,this.latestValues,this.parent&&this.parent.projection);var g=u.layoutId,y=u.layout,b=u.drag,C=u.dragConstraints,x=u.layoutScroll,w=u.layoutRoot;this.projection.setOptions({layoutId:g,layout:y,alwaysMeasureLayout:Boolean(b)||C&&T(C),visualElement:this,scheduleRender:function(){return s.scheduleRender()},animationType:"string"===typeof y?y:"both",initialPromotionConfig:i,layoutScroll:x,layoutRoot:w})}return o}},{key:"updateFeatures",value:function(){for(var e in this.features){var t=this.features[e];t.isMounted?t.update(this.props,this.prevProps):(t.mount(),t.isMounted=!0)}}},{key:"triggerBuild",value:function(){this.build(this.renderState,this.latestValues,this.options,this.props)}},{key:"measureViewportBox",value:function(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}},{key:"getStaticValue",value:function(e){return this.latestValues[e]}},{key:"setStaticValue",value:function(e,t){this.latestValues[e]=t}},{key:"makeTargetAnimatable",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.makeTargetAnimatableFromInstance(e,this.props,t)}},{key:"update",value:function(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(var n=0;n<ni.length;n++){var r=ni[n];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);var i=e["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(e,t,n){var r=t.willChange;for(var i in t){var a=t[i],o=n[i];if(G(a))e.addValue(i,a),Kn(r)&&r.add(i);else if(G(o))e.addValue(i,tr(a,{owner:e})),Kn(r)&&r.remove(i);else if(o!==a)if(e.hasValue(i)){var s=e.getValue(i);!s.hasAnimated&&s.set(a)}else{var u=e.getStaticValue(i);e.addValue(i,tr(void 0!==u?u:a,{owner:e}))}}for(var l in n)void 0===t[l]&&e.removeValue(l);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}},{key:"getProps",value:function(){return this.props}},{key:"getVariant",value:function(e){return this.props.variants?this.props.variants[e]:void 0}},{key:"getDefaultTransition",value:function(){return this.props.transition}},{key:"getTransformPagePoint",value:function(){return this.props.transformPagePoint}},{key:"getClosestVariantNode",value:function(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}},{key:"getVariantContext",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){var e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}for(var t={},n=0;n<ri;n++){var r=O[n],i=this.props[r];(R(i)||!1===i)&&(t[r]=i)}return t}},{key:"addVariantChild",value:function(e){var t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),function(){return t.variantChildren.delete(e)}}},{key:"addValue",value:function(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}},{key:"removeValue",value:function(e){this.values.delete(e);var t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}},{key:"hasValue",value:function(e){return this.values.has(e)}},{key:"getValue",value:function(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];var n=this.values.get(e);return void 0===n&&void 0!==t&&(n=tr(t,{owner:this}),this.addValue(e,n)),n}},{key:"readValue",value:function(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}},{key:"setBaseTarget",value:function(e,t){this.baseTarget[e]=t}},{key:"getBaseTarget",value:function(e){var t,n=this.props.initial,r="string"===typeof n||"object"===typeof n?null===(t=Pe(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;var i=this.getBaseTargetFromProps(this.props,e);return void 0===i||G(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}},{key:"on",value:function(e,t){return this.events[e]||(this.events[e]=new Xn),this.events[e].add(t)}},{key:"notify",value:function(e){if(this.events[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=this.events[e]).notify.apply(t,r)}}}]),e}(),ai=function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return c(n,[{key:"sortInstanceNodePosition",value:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1}},{key:"getBaseTargetFromProps",value:function(e,t){return e.style?e.style[t]:void 0}},{key:"removeValueFromRenderState",value:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]}},{key:"makeTargetAnimatableFromInstance",value:function(e,t,n){var r=e.transition,i=e.transitionEnd,a=v(e,L),o=t.transformValues,s=dr(a,r||{},this);if(o&&(i&&(i=o(i)),a&&(a=o(a)),s&&(s=o(s))),n){cr(this,a,s);var u=Yr(this,a,s,i);i=u.transitionEnd,a=u.target}return m({transition:r,transitionEnd:i},a)}}]),n}(ii),oi=function(e){o(n,e);var t=s(n);function n(){var e;return l(this,n),(e=t.apply(this,arguments)).isSVGTag=!1,e}return c(n,[{key:"getBaseTargetFromProps",value:function(e,t){return e[t]}},{key:"readValueFromInstance",value:function(e,t){if(Z.has(t)){var n=Dn(t);return n&&n.default||0}return t=Le.has(t)?t:Ee(t),e.getAttribute(t)}},{key:"measureInstanceViewportBox",value:function(){return{x:{min:0,max:0},y:{min:0,max:0}}}},{key:"scrapeMotionValuesFromProps",value:function(e,t){return _e(e,t)}},{key:"build",value:function(e,t,n,r){we(e,t,n,this.isSVGTag,r.transformTemplate)}},{key:"renderInstance",value:function(e,t,n,r){Me(e,t,0,r)}},{key:"mount",value:function(e){this.isSVGTag=ke(e.tagName),i(a(n.prototype),"mount",this).call(this,e)}}]),n}(ai);var si=function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return c(n,[{key:"readValueFromInstance",value:function(e,t){if(Z.has(t)){var n=Dn(t);return n&&n.default||0}var r,i=(r=e,window.getComputedStyle(r)),a=(J(t)?i.getPropertyValue(t):i[t])||0;return"string"===typeof a?a.trim():a}},{key:"measureInstanceViewportBox",value:function(e,t){return Rr(e,t.transformPagePoint)}},{key:"build",value:function(e,t,n,r){ye(e,t,n,r.transformTemplate)}},{key:"scrapeMotionValuesFromProps",value:function(e,t){return Ae(e,t)}},{key:"handleChildMotionValue",value:function(){var e=this;this.childSubscription&&(this.childSubscription(),delete this.childSubscription);var t=this.props.children;G(t)&&(this.childSubscription=t.on("change",(function(t){e.current&&(e.current.textContent="".concat(t))})))}},{key:"renderInstance",value:function(e,t,n,r){Se(e,t,n,r)}}]),n}(ai);function ui(e){var t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=jr(e)?new oi(t,{enableHardwareAcceleration:!1}):new si(t,{enableHardwareAcceleration:!0});n.mount(e),Nr.set(e,n)}function li(e,t,n){var r=G(e)?e:tr(e);return r.start(qn("",r,t,n)),r.animation}function ci(e,t,n,r){var i;return"number"===typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(i=r.get(t))&&void 0!==i?i:e}var fi=function(e,t,n){var r=t-e;return((n-e)%r+r)%r+e};function di(e,t){return vt(e)?e[fi(0,e.length,t)]:e}function hi(e,t,n,r,i,a){!function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];i.at>t&&i.at<n&&(Jn(e,i),r--)}}(e,i,a);for(var o=0;o<t.length;o++)e.push({value:t[o],at:Nt(i,a,r[o]),easing:di(n,o)})}function pi(e,t){return e.at===t.at?null===e.value?1:null===t.value?-1:0:e.at-t.at}var vi="easeInOut";function mi(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.defaultTransition,r=void 0===n?{}:n,i=v(t,M),a=arguments.length>2?arguments[2]:void 0,o=r.duration||.3,s=new Map,u=new Map,l={},c=new Map,f=0,d=0,h=0,g=function(){var t=e[y];if("string"===typeof t)return c.set(t,d),"continue";if(!Array.isArray(t))return c.set(t.name,ci(d,t.at,f,c)),"continue";var n=p(t,3),i=n[0],s=n[1],g=n[2],b=void 0===g?{}:g;void 0!==b.at&&(d=ci(d,b.at,f,c));var C=0,x=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=function(e){return Array.isArray(e)?e:[e]}(e),u=t.delay,l=void 0===u?0:u,c=t.times,f=void 0===c?on(s):c,p=t.type,g=void 0===p?"keyframes":p,y=v(t,A),b=t.ease,x=void 0===b?r.ease||"easeOut":b,w=t.duration,k="function"===typeof l?l(i,a):l,E=s.length;if(E<=2&&"spring"===g){var S=100;if(2===E&&xi(s)){var L=s[1]-s[0];S=Math.abs(L)}var M=m({},y);void 0!==w&&(M.duration=Ke(w));var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=wn(m({keyframes:[0,t]},e)),r=Math.min(Ln(n),Sn);return{type:"keyframes",ease:function(e){return n.next(r*e).value/t},duration:Qe(r)}}(M,S);x=_.ease,w=_.duration}null!==w&&void 0!==w||(w=o);var P=d+k,T=P+w;1===f.length&&0===f[0]&&(f[1]=1);var R=f.length-s.length;R>0&&an(f,R),1===s.length&&s.unshift(null),hi(n,s,x,f,P,T),C=Math.max(k+w,C),h=Math.max(T,h)};if(G(i)){x(s,b,yi("default",gi(i,u)))}else{for(var w=Ir(i,a,l),k=w.length,E=0;E<k;E++){var S=gi(w[E],u);for(var L in s)x(s[L],bi(b,L),yi(L,S),E,k)}f=d,d+=C}},y=0;y<e.length;y++)g();return u.forEach((function(e,t){for(var n in e){var a=e[n];a.sort(pi);for(var o=[],u=[],l=[],c=0;c<a.length;c++){var f=a[c],d=f.at,p=f.value,v=f.easing;o.push(p),u.push(en(0,h,d)),l.push(v||"easeOut")}0!==u[0]&&(u.unshift(0),o.unshift(o[0]),l.unshift(vi)),1!==u[u.length-1]&&(u.push(1),o.push(null)),s.has(t)||s.set(t,{keyframes:{},transition:{}});var g=s.get(t);g.keyframes[n]=o,g.transition[n]=m(m({},r),{},{duration:h,ease:l,times:u},i)}})),s}function gi(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function yi(e,t){return t[e]||(t[e]=[]),t[e]}function bi(e,t){return e[t]?m(m({},e),e[t]):m({},e)}var Ci=function(e){return"number"===typeof e},xi=function(e){return e.every(Ci)};function wi(e,n,r,i){var a=Ir(e,i),o=a.length;t.invariant(Boolean(o),"No valid element provided.");for(var s=[],u=0;u<o;u++){var l=a[u];Nr.has(l)||ui(l);var c=Nr.get(l),f=m({},r);"function"===typeof f.delay&&(f.delay=f.delay(u,o)),s.push.apply(s,d(hr(c,m(m({},n),{},{transition:f}),{})))}return new Or(s)}var ki,Ei=function(e){return function(t,n,r){var i,a;return a=t,i=Array.isArray(a)&&Array.isArray(a[0])?function(e,t,n){var r=[];return mi(e,t,n).forEach((function(e,t){var n,i=e.keyframes,a=e.transition;n=G(t)?li(t,i.default,a.default):wi(t,i,a),r.push(n)})),new Or(r)}(t,n,e):function(e){return"object"===typeof e&&!Array.isArray(e)}(n)?wi(t,n,r,e):li(t,n,r),e&&e.animations.push(i),i}},Si=Ei(),Li=new WeakMap;function Mi(e){var t,n=e.target,r=e.contentRect,i=e.borderBoxSize;null===(t=Li.get(n))||void 0===t||t.forEach((function(e){e({target:n,contentSize:r,get size(){return function(e,t){if(t){var n=t[0];return{width:n.inlineSize,height:n.blockSize}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(n,i)}})}))}function Ai(e){e.forEach(Mi)}function _i(e,t){ki||"undefined"!==typeof ResizeObserver&&(ki=new ResizeObserver(Ai));var n=Ir(e);return n.forEach((function(e){var n=Li.get(e);n||(n=new Set,Li.set(e,n)),n.add(t),null===ki||void 0===ki||ki.observe(e)})),function(){n.forEach((function(e){var n=Li.get(e);null===n||void 0===n||n.delete(t),(null===n||void 0===n?void 0:n.size)||null===ki||void 0===ki||ki.unobserve(e)}))}}var Pi,Ti=new Set;function Ri(e){return Ti.add(e),Pi||(Pi=function(){var e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Ti.forEach((function(e){return e(t)}))},window.addEventListener("resize",Pi)),function(){Ti.delete(e),!Ti.size&&Pi&&(Pi=void 0)}}var Ii=50,Ni={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Oi(e,t,n,r){var i=n[t],a=Ni[t],o=a.length,s=a.position,u=i.current,l=n.time;i.current=e["scroll"+s],i.scrollLength=e["scroll"+o]-e["client"+o],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=en(0,i.scrollLength,i.current);var c=r-l;i.velocity=c>Ii?0:un(i.current-u,c)}var ji={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Fi={start:0,center:.5,end:1};function Vi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;if(void 0!==Fi[e]&&(e=Fi[e]),"string"===typeof e){var i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return"number"===typeof e&&(r=t*e),n+r}var Bi=[0,0];function Hi(e,t,n,r){var i=Array.isArray(e)?e:Bi;return"number"===typeof e?i=[e,e]:"string"===typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,Fi[e]?e:"0"]),Vi(i[0],n,r)-Vi(i[1],t)}var Di={x:0,y:0};function zi(e,t,n){var r=n.offset,i=void 0===r?ji.All:r,a=n.target,o=void 0===a?e:a,s=n.axis,u=void 0===s?"y":s,l="y"===u?"height":"width",c=o!==e?function(e,t){for(var n={x:0,y:0},r=e;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r instanceof SVGGraphicsElement&&"getBBox"in r){var i=r.getBBox(),a=i.top,o=i.left;for(n.x+=o,n.y+=a;r&&"svg"!==r.tagName;)r=r.parentNode}return n}(o,e):Di,f=o===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:o.clientWidth,height:o.clientHeight},h={width:e.clientWidth,height:e.clientHeight};t[u].offset.length=0;for(var p=!t[u].interpolate,v=i.length,m=0;m<v;m++){var g=Hi(i[m],h[l],f[l],c[u]);p||g===t[u].interpolatorOffsets[m]||(p=!0),t[u].offset[m]=g}p&&(t[u].interpolate=rn(t[u].offset,on(i)),t[u].interpolatorOffsets=d(t[u].offset)),t[u].progress=t[u].interpolate(t[u].current)}function Ui(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{measure:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2?arguments[2]:void 0;if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e)for(var r=t;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent;n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}(e,r.target,n)},update:function(t){!function(e,t,n){Oi(e,"x",t,n),Oi(e,"y",t,n),t.time=n}(e,n,t),(r.offset||r.target)&&zi(e,n,r)},notify:function(){return t(n)}}}var Zi=new WeakMap,Wi=new WeakMap,Gi=new WeakMap,qi=function(e){return e===document.documentElement?window:e};var Ki={any:0,all:1};var Qi=ze,Yi=Ve.reduce((function(e,t){return e[t]=function(e){return Ue(e)},e}),{});t.HTMLVisualElement=si,t.MotionValue=er,t.SVGVisualElement=oi,t.SubscriptionManager=Xn,t.VisualElement=ii,t.addScaleCorrector=function(e){Object.assign(z,e)},t.addUniqueItem=Yn,t.animate=Si,t.animateMotionValue=qn,t.animateSingleValue=li,t.animateStyle=nt,t.animateTarget=hr,t.animateValue=An,t.anticipate=Et,t.applyBoxDelta=Sr,t.applyTreeDeltas=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=n.length;if(i){var a,o;t.x=t.y=1;for(var s=0;s<i;s++){o=(a=n[s]).projectionDelta;var u=a.instance;u&&u.style&&"contents"===u.style.display||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Tr(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Sr(e,o)),r&&br(a.latestValues)&&Tr(e,a.latestValues))}t.x=Lr(t.x),t.y=Lr(t.y)}},t.backIn=wt,t.backInOut=kt,t.backOut=xt,t.buildHTMLStyles=ye,t.buildSVGAttrs=we,t.buildTransform=Q,t.camelToDash=Ee,t.cancelFrame=Ue,t.cancelSync=Yi,t.checkTargetForNewValues=cr,t.circIn=yt,t.circInOut=Ct,t.circOut=bt,t.clamp=ee,t.color=It,t.complex=Kt,t.convertBoundingBoxToBox=mr,t.convertBoxToBoundingBox=function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}},t.createBox=vr,t.createDelta=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},t.createScopedAnimate=Ei,t.cubicBezier=ft,t.delay=function(e,t){var n=performance.now(),r=function r(i){var a=i.timestamp-n;a>=t&&(Ue(r),e(a-t))};return ze.read(r,!0),function(){return Ue(r)}},t.distance=pr,t.distance2D=function(e,t){var n=pr(e.x,t.x),r=pr(e.y,t.y);return Math.sqrt(Math.pow(n,2)+Math.pow(r,2))},t.easeIn=dt,t.easeInOut=pt,t.easeOut=ht,t.featureDefinitions=B,t.frame=ze,t.frameData=Oe,t.getOrigin=dr,t.getValueTransition=Wn,t.has2DTranslate=Cr,t.hasReducedMotionListener=Xr,t.hasScale=yr,t.hasTransform=br,t.inView=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.root,i=n.margin,a=n.amount,o=void 0===a?"any":a,s=Ir(e),u=new WeakMap,l=new IntersectionObserver((function(e){e.forEach((function(e){var n=u.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){var r=t(e);"function"===typeof r?u.set(e.target,r):l.unobserve(e.target)}else n&&(n(e),u.delete(e.target))}))}),{root:r,rootMargin:i,threshold:"number"===typeof o?o:Ki[o]});return s.forEach((function(e){return l.observe(e)})),function(){return l.disconnect()}},t.initPrefersReducedMotion=$r,t.instantAnimationState=Ye,t.interpolate=rn,t.isAnimationControls=I,t.isBrowser=P,t.isCSSVariableName=J,t.isControllingVariants=j,t.isCustomValue=function(e){return Boolean(e&&"object"===typeof e&&e.mix&&e.toValue)},t.isForcedMotionValue=W,t.isKeyframesTarget=Te,t.isMotionValue=G,t.isRefObject=T,t.isSVGElement=jr,t.isSVGTag=ke,t.isVariantLabel=R,t.isVariantNode=F,t.measurePageBox=function(e,t,n){var r=Rr(e,n),i=t.scroll;return i&&(Mr(r.x,i.offset.x),Mr(r.y,i.offset.y)),r},t.millisecondsToSeconds=Qe,t.mirrorEasing=mt,t.mix=Nt,t.motionValue=tr,t.moveItem=function(e,t,n){var r=f(e).slice(0),i=t<0?r.length+t:t;if(i>=0&&i<r.length){var a=n<0?r.length+n:n,o=r.splice(t,1),s=p(o,1)[0];r.splice(a,0,s)}return r},t.noop=Ze,t.optimizedAppearDataAttribute=qe,t.optimizedAppearDataId=Ge,t.percent=fe,t.pipe=Ne,t.prefersReducedMotion=Jr,t.progress=en,t.px=de,t.removeItem=Jn,t.renderSVG=Me,t.resolveVariant=We,t.resolveVariantFromProps=Pe,t.reverseEasing=gt,t.scaleCorrectors=z,t.scalePoint=wr,t.scrapeMotionValuesFromProps=_e,t.scrapeMotionValuesFromProps$1=Ae,t.scroll=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.container,i=void 0===n?document.documentElement:n,a=v(t,_),o=Gi.get(i);o||(o=new Set,Gi.set(i,o));var s,u,l=Ui(i,e,{time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}},a);if(o.add(l),!Zi.has(i)){var c=function(){var e,t=r(o);try{for(t.s();!(e=t.n()).done;){e.value.measure()}}catch(n){t.e(n)}finally{t.f()}},f=function(){var e,t=r(o);try{for(t.s();!(e=t.n()).done;){e.value.update(Oe.timestamp)}}catch(n){t.e(n)}finally{t.f()}},d=function(){var e,t=r(o);try{for(t.s();!(e=t.n()).done;){e.value.notify()}}catch(n){t.e(n)}finally{t.f()}},h=function(){ze.read(c,!1,!0),ze.update(f,!1,!0),ze.update(d,!1,!0)};Zi.set(i,h);var p=qi(i);window.addEventListener("resize",h,{passive:!0}),i!==document.documentElement&&Wi.set(i,(u=h,"function"===typeof(s=i)?Ri(s):_i(s,u))),p.addEventListener("scroll",h,{passive:!0})}var m=Zi.get(i);return ze.read(m,!1,!0),function(){var e;Ue(m);var t=Gi.get(i);if(t&&(t.delete(l),!t.size)){var n=Zi.get(i);Zi.delete(i),n&&(qi(i).removeEventListener("scroll",n),null===(e=Wi.get(i))||void 0===e||e(),window.removeEventListener("resize",n))}}},t.secondsToMilliseconds=Ke,t.setValues=function(e,t){return Array.isArray(t)?lr(e,t):"string"===typeof t?lr(e,[t]):void ur(e,t)},t.spring=wn,t.stagger=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.startDelay,r=void 0===n?0:n,i=t.from,a=void 0===i?0:i,o=t.ease;return function(t,n){var i="number"===typeof a?a:function(e,t){if("first"===e)return 0;var n=t-1;return"last"===e?n:n/2}(a,n),s=Math.abs(i-t),u=e*s;if(o){var l=n*e;u=Lt(o)(u/l)*l}return r+u}},t.steps=Be,t.stepsOrder=Ve,t.sync=Qi,t.transform=function(){var e,t=!Array.isArray(arguments.length<=0?void 0:arguments[0]),n=t?0:-1,r=0+n<0||arguments.length<=0+n?void 0:arguments[0+n],i=2+n<0||arguments.length<=2+n?void 0:arguments[2+n],a=3+n<0||arguments.length<=3+n?void 0:arguments[3+n],o=rn(1+n<0||arguments.length<=1+n?void 0:arguments[1+n],i,m({mixer:(e=i[0],function(e){return"object"===typeof e&&e.mix}(e)?e.mix:void 0)},a));return t?o(r):o},t.transformBox=Tr,t.transformProps=Z,t.translateAxis=Mr,t.variantPriorityOrder=N,t.warnOnce=function(e,t,n){e||$n.has(t)||(console.warn(t),n&&console.warn(n),$n.add(t))},t.wrap=fi},1003:function(e,t,n){"use strict";var r=n(4759).default,i=n(299).default,a=n(8371).default,o=n(126).default,s=n(2077).default,u=n(2638).default,l=n(1023).default,c=n(356).default,f=n(1587).default,d=["transitionEnd","transition"],h=["root"],p=["transition","transitionEnd"],v=["children","isValidProp"],m=["renderer"],g=["renderer"],y=["children","as","axis","onReorder","values"],b=["children","style","value","as","onDrag","layout"],C=["container","target","layoutEffect"],x=["transition","transitionEnd"];Object.defineProperty(t,"__esModule",{value:!0});var w=n(5535),k=n(3113);function E(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}function S(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var L=S(w),M=E(w),A=w.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),_=w.createContext({}),P=w.createContext(null),T=k.isBrowser?w.useLayoutEffect:w.useEffect,R=w.createContext({strict:!1});function I(e){var t=function(e,t){if(k.isControllingVariants(e)){var n=e.initial,r=e.animate;return{initial:!1===n||k.isVariantLabel(n)?n:void 0,animate:k.isVariantLabel(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,w.useContext(_)),n=t.initial,r=t.animate;return w.useMemo((function(){return{initial:n,animate:r}}),[N(n),N(r)])}function N(e){return Array.isArray(e)?e.join(" "):e}function O(e){for(var t in e)k.featureDefinitions[t]=f(f({},k.featureDefinitions[t]),e[t])}function j(e){var t=w.useRef(null);return null===t.current&&(t.current=e()),t.current}var F={hasAnimatedSinceResize:!0,hasEverUpdated:!1},V=1;var B=w.createContext({}),H=w.createContext({}),D=Symbol.for("motionComponentSymbol");function z(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.useRender,i=e.useVisualState,a=e.Component;t&&O(t);var o=w.forwardRef((function(e,o){var s,u=f(f(f({},w.useContext(A)),e),{},{layoutId:U(e)}),l=u.isStatic,c=I(e),d=l?void 0:j((function(){if(F.hasEverUpdated)return V++})),h=i(e,l);if(!l&&k.isBrowser){c.visualElement=function(e,t,n,r){var i=w.useContext(_).visualElement,a=w.useContext(R),o=w.useContext(P),s=w.useContext(A).reducedMotion,u=w.useRef();r=r||a.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:o,blockInitialAnimation:!!o&&!1===o.initial,reducedMotionConfig:s}));var l=u.current;return w.useInsertionEffect((function(){l&&l.update(n,o)})),T((function(){l&&l.render()})),w.useEffect((function(){l&&l.updateFeatures()})),(window.HandoffAppearAnimations?T:w.useEffect)((function(){l&&l.animationState&&l.animationState.animateChanges()})),l}(a,h,u,n);var p=w.useContext(H),v=w.useContext(R).strict;c.visualElement&&(s=c.visualElement.loadFeatures(u,v,t,d,p))}return L.createElement(_.Provider,{value:c},s&&c.visualElement?L.createElement(s,f({visualElement:c.visualElement},u)):null,r(a,e,d,function(e,t,n){return w.useCallback((function(r){r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"===typeof n?n(r):k.isRefObject(n)&&(n.current=r))}),[t])}(h,c.visualElement,o),h,l,c.visualElement))}));return o[D]=a,o}function U(e){var t=e.layoutId,n=w.useContext(B).id;return n&&void 0!==t?n+"-"+t:t}function Z(e){function t(t){return z(e(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}if("undefined"===typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var W=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function G(e){return"string"===typeof e&&!e.includes("-")&&!!(W.indexOf(e)>-1||/[A-Z]/.test(e))}var q=function(){return{style:{},transform:{},transformOrigin:{},vars:{}}};function K(e,t,n){for(var r in t)k.isMotionValue(t[r])||k.isForcedMotionValue(r,n)||(e[r]=t[r])}function Q(e,t,n){var r={};return K(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return w.useMemo((function(){var e=q();return k.buildHTMLStyles(e,t,{enableHardwareAcceleration:!n},r),Object.assign({},e.vars,e.style)}),[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function Y(e,t,n){var r={},i=Q(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}var J=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function X(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||J.has(e)}var $=function(e){return!X(e)};function ee(e){e&&($=function(t){return t.startsWith("on")?!X(t):e(t)})}try{ee(n(8107).Z)}catch(Lr){}function te(e,t,n){var r={};for(var i in e)"values"===i&&"object"===typeof e.values||($(i)||!0===n&&X(i)||!t&&!X(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var ne=function(){return f(f({},q()),{},{attrs:{}})};function re(e,t,n,r){var i=w.useMemo((function(){var n=ne();return k.buildSVGAttrs(n,t,{enableHardwareAcceleration:!1},k.isSVGTag(r),e.transformTemplate),f(f({},n.attrs),{},{style:f({},n.style)})}),[t]);if(e.style){var a={};K(a,e.style,e),i.style=f(f({},a),i.style)}return i}function ie(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,i,a,o){var s=a.latestValues,u=(G(t)?re:Y)(n,s,o,t),l=te(n,"string"===typeof t,e),c=f(f(f({},l),u),{},{ref:i}),d=n.children,h=w.useMemo((function(){return k.isMotionValue(d)?d.get():d}),[d]);return r&&(c["data-projection-id"]=r),w.createElement(t,f(f({},c),{},{children:h}))}}function ae(e){var t=k.isMotionValue(e)?e.get():e;return k.isCustomValue(t)?t.toValue():t}var oe=function(e){return function(t,n){var r=w.useContext(_),i=w.useContext(P),a=function(){return function(e,t,n,r){var i=e.scrapeMotionValuesFromProps,a=e.createRenderState,o=e.onMount,s={latestValues:se(t,n,r,i),renderState:a()};return o&&(s.mount=function(e){return o(t,e,s)}),s}(e,t,r,i)};return n?a():j(a)}};function se(e,t,n,r){var i={},a=r(e,{});for(var o in a)i[o]=ae(a[o]);var s=e.initial,u=e.animate,l=k.isControllingVariants(e),f=k.isVariantNode(e);t&&f&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===u&&(u=t.animate));var h=!!n&&!1===n.initial,p=(h=h||!1===s)?u:s;p&&"boolean"!==typeof p&&!k.isAnimationControls(p)&&(Array.isArray(p)?p:[p]).forEach((function(t){var n=k.resolveVariantFromProps(e,t);if(n){var r=n.transitionEnd,a=(n.transition,c(n,d));for(var o in a){var s=a[o];if(Array.isArray(s))s=s[h?s.length-1:0];null!==s&&(i[o]=s)}for(var u in r)i[u]=r[u]}}));return i}var ue={useVisualState:oe({scrapeMotionValuesFromProps:k.scrapeMotionValuesFromProps,createRenderState:ne,onMount:function(e,t,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(a){r.dimensions={x:0,y:0,width:0,height:0}}k.buildSVGAttrs(r,i,{enableHardwareAcceleration:!1},k.isSVGTag(t.tagName),e.transformTemplate),k.renderSVG(t,r)}})},le={useVisualState:oe({scrapeMotionValuesFromProps:k.scrapeMotionValuesFromProps$1,createRenderState:q})};function ce(e,t,n,r){var i=t.forwardMotionProps,a=void 0!==i&&i,o=G(e)?ue:le;return f(f({},o),{},{preloadedFeatures:n,useRender:ie(a),createVisualElement:r,Component:e})}function fe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}var de=function(e){return"mouse"===e.pointerType?"number"!==typeof e.button||e.button<=0:!1!==e.isPrimary};function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:{x:e[t+"X"],y:e[t+"Y"]}}}var pe=function(e){return function(t){return de(t)&&e(t,he(t))}};function ve(e,t,n,r){return fe(e,t,pe(n),r)}function me(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var ge=me("dragHorizontal"),ye=me("dragVertical");function be(e){var t=!1;if("y"===e)t=ye();else if("x"===e)t=ge();else{var n=ge(),r=ye();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function Ce(){var e=be(!0);return!e||(e(),!1)}var xe=function(){function e(t){u(this,e),this.isMounted=!1,this.node=t}return l(e,[{key:"update",value:function(){}}]),e}();function we(e,t){var n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return ve(e.current,n,(function(n,i){if("touch"!==n.type&&!Ce()){var a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[r]&&k.frame.update((function(){return a[r](n,i)}))}}),{passive:!e.getProps()[r]})}var ke=function(e){o(n,e);var t=s(n);function n(){return u(this,n),t.apply(this,arguments)}return l(n,[{key:"mount",value:function(){this.unmount=k.pipe(we(this.node,!0),we(this.node,!1))}},{key:"unmount",value:function(){}}]),n}(xe),Ee=function(e){o(n,e);var t=s(n);function n(){var e;return u(this,n),(e=t.apply(this,arguments)).isActive=!1,e}return l(n,[{key:"onFocus",value:function(){var e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}},{key:"onBlur",value:function(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}},{key:"mount",value:function(){var e=this;this.unmount=k.pipe(fe(this.node.current,"focus",(function(){return e.onFocus()})),fe(this.node.current,"blur",(function(){return e.onBlur()})))}},{key:"unmount",value:function(){}}]),n}(xe),Se=function e(t,n){return!!n&&(t===n||e(t,n.parentElement))};function Le(e,t){if(t){var n=new PointerEvent("pointer"+e);t(n,he(n))}}var Me=function(e){o(n,e);var t=s(n);function n(){var e;return u(this,n),(e=t.apply(this,arguments)).removeStartListeners=k.noop,e.removeEndListeners=k.noop,e.removeAccessibleListeners=k.noop,e.startPointerPress=function(t,n){if(e.removeEndListeners(),!e.isPressing){var r=e.node.getProps(),i=ve(window,"pointerup",(function(t,n){if(e.checkPressEnd()){var r=e.node.getProps(),i=r.onTap,a=r.onTapCancel;k.frame.update((function(){Se(e.node.current,t.target)?i&&i(t,n):a&&a(t,n)}))}}),{passive:!(r.onTap||r.onPointerUp)}),a=ve(window,"pointercancel",(function(t,n){return e.cancelPress(t,n)}),{passive:!(r.onTapCancel||r.onPointerCancel)});e.removeEndListeners=k.pipe(i,a),e.startPress(t,n)}},e.startAccessiblePress=function(){var t=fe(e.node.current,"keydown",(function(t){if("Enter"===t.key&&!e.isPressing){e.removeEndListeners(),e.removeEndListeners=fe(e.node.current,"keyup",(function(t){"Enter"===t.key&&e.checkPressEnd()&&Le("up",(function(t,n){var r=e.node.getProps().onTap;r&&k.frame.update((function(){return r(t,n)}))}))})),Le("down",(function(t,n){e.startPress(t,n)}))}})),n=fe(e.node.current,"blur",(function(){e.isPressing&&Le("cancel",(function(t,n){return e.cancelPress(t,n)}))}));e.removeAccessibleListeners=k.pipe(t,n)},e}return l(n,[{key:"startPress",value:function(e,t){this.isPressing=!0;var n=this.node.getProps(),r=n.onTapStart;n.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&k.frame.update((function(){return r(e,t)}))}},{key:"checkPressEnd",value:function(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ce()}},{key:"cancelPress",value:function(e,t){if(this.checkPressEnd()){var n=this.node.getProps().onTapCancel;n&&k.frame.update((function(){return n(e,t)}))}}},{key:"mount",value:function(){var e=this.node.getProps(),t=ve(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=fe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=k.pipe(t,n)}},{key:"unmount",value:function(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}]),n}(xe),Ae=new WeakMap,_e=new WeakMap,Pe=function(e){var t=Ae.get(e.target);t&&t(e)},Te=function(e){e.forEach(Pe)};function Re(e,t,n){var r=function(e){var t=e.root,n=c(e,h),r=t||document;_e.has(r)||_e.set(r,{});var i=_e.get(r),a=JSON.stringify(n);return i[a]||(i[a]=new IntersectionObserver(Te,f({root:t},n))),i[a]}(t);return Ae.set(e,n),r.observe(e),function(){Ae.delete(e),r.unobserve(e)}}var Ie={some:0,all:1},Ne=function(e){o(n,e);var t=s(n);function n(){var e;return u(this,n),(e=t.apply(this,arguments)).hasEnteredView=!1,e.isInView=!1,e}return l(n,[{key:"startObserver",value:function(){var e=this;this.unmount();var t=this.node.getProps().viewport,n=void 0===t?{}:t,r=n.root,i=n.margin,a=n.amount,o=void 0===a?"some":a,s=n.once,u={root:r?r.current:void 0,rootMargin:i,threshold:"number"===typeof o?o:Ie[o]};return Re(this.node.current,u,(function(t){var n=t.isIntersecting;if(e.isInView!==n&&(e.isInView=n,!s||n||!e.hasEnteredView)){n&&(e.hasEnteredView=!0),e.node.animationState&&e.node.animationState.setActive("whileInView",n);var r=e.node.getProps(),i=r.onViewportEnter,a=r.onViewportLeave,o=n?i:a;o&&o(t)}}))}},{key:"mount",value:function(){this.startObserver()}},{key:"update",value:function(){if("undefined"!==typeof IntersectionObserver){var e=this.node,t=e.props,n=e.prevProps,r=["amount","margin","root"].some(function(e){var t=e.viewport,n=void 0===t?{}:t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.viewport,a=void 0===i?{}:i;return function(e){return n[e]!==a[e]}}(t,n));r&&this.startObserver()}}},{key:"unmount",value:function(){}}]),n}(xe);var Oe={inView:{Feature:Ne},tap:{Feature:Me},focus:{Feature:Ee},hover:{Feature:ke}};function je(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Fe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=k.resolveVariant(e,t,n.custom),i=(r||{}).transition,o=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(o=n.transitionOverride);var s=r?function(){return Promise.all(k.animateTarget(e,r,n))}:function(){return Promise.resolve()},u=e.variantChildren&&e.variantChildren.size?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=o,a=i.delayChildren,s=void 0===a?0:a,u=i.staggerChildren,l=i.staggerDirection;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=arguments.length>5?arguments[5]:void 0,o=[],s=(e.variantChildren.size-1)*r,u=1===i?function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*r}:function(){return s-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*r};return Array.from(e.variantChildren).sort(Ve).forEach((function(e,r){e.notify("AnimationStart",t),o.push(Fe(e,t,f(f({},a),{},{delay:n+u(r)})).then((function(){return e.notify("AnimationComplete",t)})))})),Promise.all(o)}(e,t,s+r,u,l,n)}:function(){return Promise.resolve()},l=o.when;if(l){var c=a("beforeChildren"===l?[s,u]:[u,s],2),d=c[0],h=c[1];return d().then((function(){return h()}))}return Promise.all([s(),u(n.delay)])}function Ve(e,t){return e.sortNodePosition(t)}function Be(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.notify("AnimationStart",t),Array.isArray(t)){var i=t.map((function(t){return Fe(e,t,r)}));n=Promise.all(i)}else if("string"===typeof t)n=Fe(e,t,r);else{var a="function"===typeof t?k.resolveVariant(e,t,r.custom):t;n=Promise.all(k.animateTarget(e,a,r))}return n.then((function(){return e.notify("AnimationComplete",t)}))}var He=i(k.variantPriorityOrder).reverse(),De=k.variantPriorityOrder.length;function ze(e){var t=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return Be(e,n,r)})))}}(e),n={animate:Ue(!0),whileInView:Ue(),whileHover:Ue(),whileTap:Ue(),whileDrag:Ue(),whileFocus:Ue(),exit:Ue()},r=!0,a=function(t,n){var r=k.resolveVariant(e,n);if(r){r.transition;var i=r.transitionEnd,a=c(r,p);t=f(f(f({},t),a),i)}return t};function o(o,s){for(var u=e.getProps(),l=e.getVariantContext(!0)||{},c=[],d=new Set,h={},p=1/0,v=function(){var t=He[m],v=n[t],g=void 0!==u[t]?u[t]:l[t],y=k.isVariantLabel(g),b=t===s?v.isActive:null;!1===b&&(p=m);var C=g===l[t]&&g!==u[t]&&y;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),v.protectedKeys=f({},h),!v.isActive&&null===b||!g&&!v.prevProp||k.isAnimationControls(g)||"boolean"===typeof g)return"continue";var x=function(e,t){if("string"===typeof t)return t!==e;if(Array.isArray(t))return!je(t,e);return!1}(v.prevProp,g),w=x||t===s&&v.isActive&&!C&&y||m>p&&y,E=Array.isArray(g)?g:[g],S=E.reduce(a,{});!1===b&&(S={});var L=v.prevResolvedValues,M=void 0===L?{}:L,A=f(f({},M),S),_=function(e){w=!0,d.delete(e),v.needsAnimating[e]=!0};for(var P in A){var T=S[P],R=M[P];h.hasOwnProperty(P)||(T!==R?k.isKeyframesTarget(T)&&k.isKeyframesTarget(R)?!je(T,R)||x?_(P):v.protectedKeys[P]=!0:void 0!==T?_(P):d.add(P):void 0!==T&&d.has(P)?_(P):v.protectedKeys[P]=!0)}v.prevProp=g,v.prevResolvedValues=S,v.isActive&&(h=f(f({},h),S)),r&&e.blockInitialAnimation&&(w=!1),w&&!C&&c.push.apply(c,i(E.map((function(e){return{animation:e,options:f({type:t},o)}}))))},m=0;m<De;m++)v();if(d.size){var g={};d.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),c.push({animation:g})}var y=Boolean(c.length);return r&&!1===u.initial&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var s=o(i,t);for(var u in n)n[u].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function Ue(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Ze=function(e){o(n,e);var t=s(n);function n(e){var r;return u(this,n),r=t.call(this,e),e.animationState||(e.animationState=ze(e)),r}return l(n,[{key:"updateAnimationControlsSubscription",value:function(){var e=this.node.getProps().animate;this.unmount(),k.isAnimationControls(e)&&(this.unmount=e.subscribe(this.node))}},{key:"mount",value:function(){this.updateAnimationControlsSubscription()}},{key:"update",value:function(){this.node.getProps().animate!==(this.node.prevProps||{}).animate&&this.updateAnimationControlsSubscription()}},{key:"unmount",value:function(){}}]),n}(xe),We=0,Ge=function(e){o(n,e);var t=s(n);function n(){var e;return u(this,n),(e=t.apply(this,arguments)).id=We++,e}return l(n,[{key:"update",value:function(){var e=this;if(this.node.presenceContext){var t=this.node.presenceContext,n=t.isPresent,r=t.onExitComplete,i=t.custom,a=(this.node.prevPresenceContext||{}).isPresent;if(this.node.animationState&&n!==a){var o=this.node.animationState.setActive("exit",!n,{custom:null!==i&&void 0!==i?i:this.node.getProps().custom});r&&!n&&o.then((function(){return r(e.id)}))}}}},{key:"mount",value:function(){var e=(this.node.presenceContext||{}).register;e&&(this.unmount=e(this.id))}},{key:"unmount",value:function(){}}]),n}(xe),qe={animation:{Feature:Ze},exit:{Feature:Ge}},Ke=function(){function e(t,n){var r=this,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transformPagePoint;if(u(this,e),this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Je(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=k.distance2D(e.offset,{x:0,y:0})>=3;if(t||n){var i=e.point,a=k.frameData.timestamp;r.history.push(f(f({},i),{},{timestamp:a}));var o=r.handlers,s=o.onStart,u=o.onMove;t||(s&&s(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),u&&u(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=Qe(t,r.transformPagePoint),k.frame.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){if(r.end(),r.lastMoveEvent&&r.lastMoveEventInfo){var n=r.handlers,i=n.onEnd,a=n.onSessionEnd,o=Je("pointercancel"===e.type?r.lastMoveEventInfo:Qe(t,r.transformPagePoint),r.history);r.startEvent&&i&&i(e,o),a&&a(e,o)}},de(t)){this.handlers=n,this.transformPagePoint=i;var a=Qe(he(t),this.transformPagePoint),o=a.point,s=k.frameData.timestamp;this.history=[f(f({},o),{},{timestamp:s})];var l=n.onSessionStart;l&&l(t,Je(a,this.history)),this.removeListeners=k.pipe(ve(window,"pointermove",this.handlePointerMove),ve(window,"pointerup",this.handlePointerUp),ve(window,"pointercancel",this.handlePointerUp))}}return l(e,[{key:"updateHandlers",value:function(e){this.handlers=e}},{key:"end",value:function(){this.removeListeners&&this.removeListeners(),k.cancelFrame(this.updatePoint)}}]),e}();function Qe(e,t){return t?{point:t(e.point)}:e}function Ye(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Je(e,t){var n=e.point;return{point:n,delta:Ye(n,$e(t)),offset:Ye(n,Xe(t)),velocity:et(t,.1)}}function Xe(e){return e[0]}function $e(e){return e[e.length-1]}function et(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,i=$e(e);n>=0&&(r=e[n],!(i.timestamp-r.timestamp>k.secondsToMilliseconds(t)));)n--;if(!r)return{x:0,y:0};var a=k.millisecondsToSeconds(i.timestamp-r.timestamp);if(0===a)return{x:0,y:0};var o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function tt(e){return e.max-e.min}function nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return Math.abs(e-t)<=n}function rt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;e.origin=r,e.originPoint=k.mix(t.min,t.max,e.origin),e.scale=tt(n)/tt(t),(nt(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=k.mix(n.min,n.max,e.origin)-e.originPoint,(nt(e.translate)||isNaN(e.translate))&&(e.translate=0)}function it(e,t,n,r){rt(e.x,t.x,n.x,r?r.originX:void 0),rt(e.y,t.y,n.y,r?r.originY:void 0)}function at(e,t,n){e.min=n.min+t.min,e.max=e.min+tt(t)}function ot(e,t,n){e.min=t.min-n.min,e.max=e.min+tt(t)}function st(e,t,n){ot(e.x,t.x,n.x),ot(e.y,t.y,n.y)}function ut(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function lt(e,t){var n=t.min-e.min,r=t.max-e.max;if(t.max-t.min<e.max-e.min){var i=[r,n];n=i[0],r=i[1]}return{min:n,max:r}}var ct=.35;function ft(e,t,n){return{min:dt(e,t),max:dt(e,n)}}function dt(e,t){return"number"===typeof e?e:e[t]||0}function ht(e){return[e("x"),e("y")]}var pt=new WeakMap,vt=function(){function e(t){u(this,e),this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=k.createBox(),this.visualElement=t}return l(e,[{key:"start",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).snapToCursor,r=void 0!==n&&n,i=this.visualElement.presenceContext;if(!i||!1!==i.isPresent){this.panSession=new Ke(e,{onSessionStart:function(e){t.stopAnimation(),r&&t.snapToCursor(he(e,"page").point)},onStart:function(e,n){var r=t.getProps(),i=r.drag,a=r.dragPropagation,o=r.onDragStart;if(!i||a||(t.openGlobalLock&&t.openGlobalLock(),t.openGlobalLock=be(i),t.openGlobalLock)){t.isDragging=!0,t.currentDirection=null,t.resolveConstraints(),t.visualElement.projection&&(t.visualElement.projection.isAnimationBlocked=!0,t.visualElement.projection.target=void 0),ht((function(e){var n=t.getAxisMotionValue(e).get()||0;if(k.percent.test(n)){var r=t.visualElement.projection;if(r&&r.layout){var i=r.layout.layoutBox[e];if(i)n=tt(i)*(parseFloat(n)/100)}}t.originPoint[e]=n})),o&&k.frame.update((function(){return o(e,n)}),!1,!0);var s=t.visualElement.animationState;s&&s.setActive("whileDrag",!0)}},onMove:function(e,n){var r=t.getProps(),i=r.dragPropagation,a=r.dragDirectionLock,o=r.onDirectionLock,s=r.onDrag;if(i||t.openGlobalLock){var u=n.offset;if(a&&null===t.currentDirection)return t.currentDirection=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(u),void(null!==t.currentDirection&&o&&o(t.currentDirection));t.updateAxis("x",n.point,u),t.updateAxis("y",n.point,u),t.visualElement.render(),s&&s(e,n)}},onSessionEnd:function(e,n){return t.stop(e,n)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}}},{key:"stop",value:function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;i&&k.frame.update((function(){return i(e,t)}))}}},{key:"cancel",value:function(){this.isDragging=!1;var e=this.visualElement,t=e.projection,n=e.animationState;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}},{key:"updateAxis",value:function(e,t,n){var r=this.getProps().drag;if(n&&mt(e,r,this.currentDirection)){var i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,t,n){var r=t.min,i=t.max;return void 0!==r&&e<r?e=n?k.mix(r,e,n.min):Math.max(e,r):void 0!==i&&e>i&&(e=n?k.mix(i,e,n.max):Math.min(e,i)),e}(a,this.constraints[e],this.elastic[e])),i.set(a)}}},{key:"resolveConstraints",value:function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,i=(this.visualElement.projection||{}).layout,a=this.constraints;n&&k.isRefObject(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!i)&&function(e,t){var n=t.top,r=t.left,i=t.bottom,a=t.right;return{x:ut(e.x,r,a),y:ut(e.y,n,i)}}(i.layoutBox,n),this.elastic=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ct;return!1===e?e=0:!0===e&&(e=ct),{x:ft(e,"left","right"),y:ft(e,"top","bottom")}}(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&ht((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i.layoutBox[t],e.constraints[t]))}))}},{key:"resolveRefConstraints",value:function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!k.isRefObject(t))return!1;var r=t.current;k.invariant(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=k.measurePageBox(r,i.root,this.visualElement.getTransformPagePoint()),o=function(e,t){return{x:lt(e.x,t.x),y:lt(e.y,t.y)}}(i.layout.layoutBox,a);if(n){var s=n(k.convertBoxToBoundingBox(o));this.hasMutatedConstraints=!!s,s&&(o=k.convertBoundingBoxToBox(s))}return o}},{key:"startAnimation",value:function(e){var t=this,n=this.getProps(),r=n.drag,i=n.dragMomentum,a=n.dragElastic,o=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,l=this.constraints||{},c=ht((function(n){if(mt(n,r,t.currentDirection)){var u=l&&l[n]||{};s&&(u={min:0,max:0});var c=a?200:1e6,d=a?40:1e7,h=f(f({type:"inertia",velocity:i?e[n]:0,bounceStiffness:c,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},o),u);return t.startAxisValueAnimation(n,h)}}));return Promise.all(c).then(u)}},{key:"startAxisValueAnimation",value:function(e,t){var n=this.getAxisMotionValue(e);return n.start(k.animateMotionValue(e,n,0,t))}},{key:"stopAnimation",value:function(){var e=this;ht((function(t){return e.getAxisMotionValue(t).stop()}))}},{key:"getAxisMotionValue",value:function(e){var t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}},{key:"snapToCursor",value:function(e){var t=this;ht((function(n){if(mt(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,i=t.getAxisMotionValue(n);if(r&&r.layout){var a=r.layout.layoutBox[n],o=a.min,s=a.max;i.set(e[n]-k.mix(o,s,.5))}}}))}},{key:"scalePositionWithinConstraints",value:function(){var e=this;if(this.visualElement.current){var t=this.getProps(),n=t.drag,r=t.dragConstraints,i=this.visualElement.projection;if(k.isRefObject(r)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};ht((function(t){var n=e.getAxisMotionValue(t);if(n){var r=n.get();a[t]=function(e,t){var n=.5,r=tt(e),i=tt(t);return i>r?n=k.progress(t.min,t.max-r,e.min):r>i&&(n=k.progress(e.min,e.max-i,t.min)),k.clamp(0,1,n)}({min:r,max:r},e.constraints[t])}}));var o=this.visualElement.getProps().transformTemplate;this.visualElement.current.style.transform=o?o({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),ht((function(t){if(mt(t,n,null)){var r=e.getAxisMotionValue(t),i=e.constraints[t],o=i.min,s=i.max;r.set(k.mix(o,s,a[t]))}}))}}}},{key:"addListeners",value:function(){var e=this;if(this.visualElement.current){pt.set(this.visualElement,this);var t=ve(this.visualElement.current,"pointerdown",(function(t){var n=e.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)})),n=function(){var t=e.getProps().dragConstraints;k.isRefObject(t)&&(e.constraints=e.resolveRefConstraints())},r=this.visualElement.projection,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n();var a=fe(window,"resize",(function(){return e.scalePositionWithinConstraints()})),o=r.addEventListener("didUpdate",(function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(ht((function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))})),e.visualElement.render())}));return function(){a(),t(),i(),o&&o()}}}},{key:"getProps",value:function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,i=void 0!==r&&r,a=e.dragPropagation,o=void 0!==a&&a,s=e.dragConstraints,u=void 0!==s&&s,l=e.dragElastic,c=void 0===l?ct:l,d=e.dragMomentum,h=void 0===d||d;return f(f({},e),{},{drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:u,dragElastic:c,dragMomentum:h})}}]),e}();function mt(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var gt=function(e){o(n,e);var t=s(n);function n(e){var r;return u(this,n),(r=t.call(this,e)).removeGroupControls=k.noop,r.removeListeners=k.noop,r.controls=new vt(e),r}return l(n,[{key:"mount",value:function(){var e=this.node.getProps().dragControls;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||k.noop}},{key:"unmount",value:function(){this.removeGroupControls(),this.removeListeners()}}]),n}(xe),yt=function(e){return function(t,n){e&&k.frame.update((function(){return e(t,n)}))}},bt=function(e){o(n,e);var t=s(n);function n(){var e;return u(this,n),(e=t.apply(this,arguments)).removePointerDownListener=k.noop,e}return l(n,[{key:"onPointerDown",value:function(e){this.session=new Ke(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}},{key:"createPanHandlers",value:function(){var e=this,t=this.node.getProps(),n=t.onPanSessionStart,r=t.onPanStart,i=t.onPan,a=t.onPanEnd;return{onSessionStart:yt(n),onStart:yt(r),onMove:i,onEnd:function(t,n){delete e.session,a&&k.frame.update((function(){return a(t,n)}))}}}},{key:"mount",value:function(){var e=this;this.removePointerDownListener=ve(this.node.current,"pointerdown",(function(t){return e.onPointerDown(t)}))}},{key:"update",value:function(){this.session&&this.session.updateHandlers(this.createPanHandlers())}},{key:"unmount",value:function(){this.removePointerDownListener(),this.session&&this.session.end()}}]),n}(xe),Ct=["TopLeft","TopRight","BottomLeft","BottomRight"],xt=Ct.length,wt=function(e){return"string"===typeof e?parseFloat(e):e},kt=function(e){return"number"===typeof e||k.px.test(e)};function Et(e,t){return void 0!==e[t]?e[t]:e.borderRadius}var St=Mt(0,.5,k.circOut),Lt=Mt(.5,.95,k.noop);function Mt(e,t,n){return function(r){return r<e?0:r>t?1:n(k.progress(e,t,r))}}function At(e,t){e.min=t.min,e.max=t.max}function _t(e,t){At(e.x,t.x),At(e.y,t.y)}function Pt(e,t,n,r,i){return e-=t,e=k.scalePoint(e,1/n,r),void 0!==i&&(e=k.scalePoint(e,1/i,r)),e}function Tt(e,t,n,r,i){var o=a(n,3),s=o[0],u=o[1],l=o[2];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e;if(k.percent.test(t)&&(t=parseFloat(t),t=k.mix(o.min,o.max,t/100)-o.min),"number"===typeof t){var s=k.mix(a.min,a.max,r);e===a&&(s-=t),e.min=Pt(e.min,t,n,s,i),e.max=Pt(e.max,t,n,s,i)}}(e,t[s],t[u],t[l],t.scale,r,i)}var Rt=["x","scaleX","originX"],It=["y","scaleY","originY"];function Nt(e,t,n,r){Tt(e.x,t,Rt,n?n.x:void 0,r?r.x:void 0),Tt(e.y,t,It,n?n.y:void 0,r?r.y:void 0)}function Ot(e){return 0===e.translate&&1===e.scale}function jt(e){return Ot(e.x)&&Ot(e.y)}function Ft(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Vt(e){return tt(e.x)/tt(e.y)}var Bt=function(){function e(){u(this,e),this.members=[]}return l(e,[{key:"add",value:function(e){k.addUniqueItem(this.members,e),e.scheduleRender()}},{key:"remove",value:function(e){if(k.removeItem(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}}},{key:"relegate",value:function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}},{key:"promote",value:function(e,t){var n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))}},{key:"exitAnimationComplete",value:function(){this.members.forEach((function(e){var t=e.options,n=e.resumingFrom;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}},{key:"scheduleRender",value:function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))}},{key:"removeLeadSnapshot",value:function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}]),e}();function Ht(e,t,n){var r="",i=e.x.translate/t.x,a=e.y.translate/t.y;if((i||a)&&(r="translate3d(".concat(i,"px, ").concat(a,"px, 0) ")),1===t.x&&1===t.y||(r+="scale(".concat(1/t.x,", ").concat(1/t.y,") ")),n){var o=n.rotate,s=n.rotateX,u=n.rotateY;o&&(r+="rotate(".concat(o,"deg) ")),s&&(r+="rotateX(".concat(s,"deg) ")),u&&(r+="rotateY(".concat(u,"deg) "))}var l=e.x.scale*t.x,c=e.y.scale*t.y;return 1===l&&1===c||(r+="scale(".concat(l,", ").concat(c,")")),r||"none"}var Dt=function(e,t){return e.depth-t.depth},zt=function(){function e(){u(this,e),this.children=[],this.isDirty=!1}return l(e,[{key:"add",value:function(e){k.addUniqueItem(this.children,e),this.isDirty=!0}},{key:"remove",value:function(e){k.removeItem(this.children,e),this.isDirty=!0}},{key:"forEach",value:function(e){this.isDirty&&this.children.sort(Dt),this.isDirty=!1,this.children.forEach(e)}}]),e}();var Ut=["","X","Y","Z"],Zt=0,Wt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Gt(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,a=e.checkIsScrollRoot,o=e.resetTransform;return function(){function e(t){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null===n||void 0===n?void 0:n();u(this,e),this.id=Zt++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){r.isUpdating&&(r.isUpdating=!1,r.clearAllSnapshots())},this.updateProjection=function(){var e;Wt.totalNodes=Wt.resolvedTargetDeltas=Wt.recalculatedProjection=0,r.nodes.forEach(Qt),r.nodes.forEach(tn),r.nodes.forEach(nn),r.nodes.forEach(Yt),e=Wt,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=a,this.root=o?o.root||o:this,this.path=o?[].concat(i(o.path),[o]):[],this.parent=o,this.depth=o?o.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var s=0;s<this.path.length;s++)this.path[s].shouldResetTransform=!0;this.root===this&&(this.nodes=new zt)}return l(e,[{key:"addEventListener",value:function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new k.SubscriptionManager),this.eventHandlers.get(e).add(t)}},{key:"notifyListeners",value:function(e){for(var t=this.eventHandlers.get(e),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t&&t.notify.apply(t,r)}},{key:"hasListeners",value:function(e){return this.eventHandlers.has(e)}},{key:"registerPotentialNode",value:function(e,t){this.potentialNodes.set(e,t)}},{key:"mount",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.instance){this.isSVG=k.isSVGElement(e),this.instance=e;var i=this.options,a=i.layoutId,o=i.layout,s=i.visualElement;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),r&&(o||a)&&(this.isLayoutDirty=!0),t){var u,l=function(){return n.root.updateBlockedByResize=!1};t(e,(function(){n.root.updateBlockedByResize=!0,u&&u(),u=k.delay(l,250),F.hasAnimatedSinceResize&&(F.hasAnimatedSinceResize=!1,n.nodes.forEach(en))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&s&&(a||o)&&this.addEventListener("didUpdate",(function(e){var t=e.delta,r=e.hasLayoutChanged,i=e.hasRelativeTargetChanged,a=e.layout;if(n.isTreeAnimationBlocked())return n.target=void 0,void(n.relativeTarget=void 0);var o=n.options.transition||s.getDefaultTransition()||ln,u=s.getProps(),l=u.onLayoutAnimationStart,c=u.onLayoutAnimationComplete,d=!n.targetLayout||!Ft(n.targetLayout,a)||i,h=!r&&i;if(n.options.layoutRoot||n.resumeFrom&&n.resumeFrom.instance||h||r&&(d||!n.currentAnimation)){n.resumeFrom&&(n.resumingFrom=n.resumeFrom,n.resumingFrom.resumingFrom=void 0),n.setAnimationOrigin(t,h);var p=f(f({},k.getValueTransition(o,"layout")),{},{onPlay:l,onComplete:c});(s.shouldReduceMotion||n.options.layoutRoot)&&(p.delay=0,p.type=!1),n.startAnimation(p)}else r||0!==n.animationProgress||en(n),n.isLead()&&n.options.onExitComplete&&n.options.onExitComplete();n.targetLayout=a}))}}},{key:"unmount",value:function(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);var e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,k.cancelFrame(this.updateProjection)}},{key:"blockUpdate",value:function(){this.updateManuallyBlocked=!0}},{key:"unblockUpdate",value:function(){this.updateManuallyBlocked=!1}},{key:"isUpdateBlocked",value:function(){return this.updateManuallyBlocked||this.updateBlockedByResize}},{key:"isTreeAnimationBlocked",value:function(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}},{key:"startUpdate",value:function(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rn),this.animationId++)}},{key:"getTransformTemplate",value:function(){var e=this.options.visualElement;return e&&e.getProps().transformTemplate}},{key:"willUpdate",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.isUpdateBlocked())this.options.onExitComplete&&this.options.onExitComplete();else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var t=0;t<this.path.length;t++){var n=this.path[t];n.shouldResetTransform=!0,n.updateScroll("snapshot"),n.options.layoutRoot&&n.willUpdate(!1)}var r=this.options,i=r.layoutId,a=r.layout;if(void 0!==i||a){var o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}}},{key:"didUpdate",value:function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Xt);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(cn),this.potentialNodes.clear()),this.nodes.forEach($t),this.nodes.forEach(qt),this.nodes.forEach(Kt),this.clearAllSnapshots(),k.steps.update.process(k.frameData),k.steps.preRender.process(k.frameData),k.steps.render.process(k.frameData))}},{key:"clearAllSnapshots",value:function(){this.nodes.forEach(Jt),this.sharedNodes.forEach(an)}},{key:"scheduleUpdateProjection",value:function(){k.frame.preRender(this.updateProjection,!1,!0)}},{key:"scheduleCheckAfterUnmount",value:function(){var e=this;k.frame.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))}},{key:"updateSnapshot",value:function(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}},{key:"updateLayout",value:function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var e=0;e<this.path.length;e++){this.path[e].updateScroll()}var t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=k.createBox(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);var n=this.options.visualElement;n&&n.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}}},{key:"updateScroll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:a(this.instance),offset:r(this.instance)})}},{key:"resetTransform",value:function(){if(o){var e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!jt(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||k.hasTransform(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}}},{key:"measure",value:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),fn((e=r).x),fn(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}},{key:"measurePageBox",value:function(){var e=this.options.visualElement;if(!e)return k.createBox();var t=e.measureViewportBox(),n=this.root.scroll;return n&&(k.translateAxis(t.x,n.offset.x),k.translateAxis(t.y,n.offset.y)),t}},{key:"removeElementScroll",value:function(e){var t=k.createBox();_t(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,a=r.options;if(r!==this.root&&i&&a.layoutScroll){if(i.isRoot){_t(t,e);var o=this.root.scroll;o&&(k.translateAxis(t.x,-o.offset.x),k.translateAxis(t.y,-o.offset.y))}k.translateAxis(t.x,i.offset.x),k.translateAxis(t.y,i.offset.y)}}return t}},{key:"applyTransform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=k.createBox();_t(n,e);for(var r=0;r<this.path.length;r++){var i=this.path[r];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&k.transformBox(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),k.hasTransform(i.latestValues)&&k.transformBox(n,i.latestValues)}return k.hasTransform(this.latestValues)&&k.transformBox(n,this.latestValues),n}},{key:"removeTransform",value:function(e){var t=k.createBox();_t(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n];if(r.instance&&k.hasTransform(r.latestValues)){k.hasScale(r.latestValues)&&r.updateSnapshot();var i=k.createBox();_t(i,r.measurePageBox()),Nt(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}}return k.hasTransform(this.latestValues)&&Nt(t,this.latestValues),t}},{key:"setTargetDelta",value:function(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}},{key:"setOptions",value:function(e){this.options=f(f(f({},this.options),e),{},{crossfade:void 0===e.crossfade||e.crossfade})}},{key:"clearMeasurements",value:function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}},{key:"forceRelativeParentToResolveTarget",value:function(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==k.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}},{key:"resolveTargetDelta",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);var r=Boolean(this.resumingFrom)||this!==n;if(!!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget)){var i=this.options,a=i.layout,o=i.layoutId;if(this.layout&&(a||o)){if(this.resolvedRelativeTargetAt=k.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){var s=this.getClosestProjectingParent();s&&s.layout?(this.relativeParent=s,this.forceRelativeParentToResolveTarget(),this.relativeTarget=k.createBox(),this.relativeTargetOrigin=k.createBox(),st(this.relativeTargetOrigin,this.layout.layoutBox,s.layout.layoutBox),_t(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var u,l,c;if(this.target||(this.target=k.createBox(),this.targetWithTransforms=k.createBox()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),u=this.target,l=this.relativeTarget,c=this.relativeParent.target,at(u.x,l.x,c.x),at(u.y,l.y,c.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):_t(this.target,this.layout.layoutBox),k.applyBoxDelta(this.target,this.targetDelta)):_t(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;var f=this.getClosestProjectingParent();f&&Boolean(f.resumingFrom)===Boolean(this.resumingFrom)&&!f.options.layoutScroll&&f.target?(this.relativeParent=f,this.forceRelativeParentToResolveTarget(),this.relativeTarget=k.createBox(),this.relativeTargetOrigin=k.createBox(),st(this.relativeTargetOrigin,this.target,f.target),_t(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Wt.resolvedTargetDeltas++}}}}},{key:"getClosestProjectingParent",value:function(){if(this.parent&&!k.hasScale(this.parent.latestValues)&&!k.has2DTranslate(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}},{key:"isProjecting",value:function(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}},{key:"calcProjection",value:function(){var e,t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===k.frameData.timestamp&&(r=!1),!r){var i=this.options,a=i.layout,o=i.layoutId;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(a||o)){_t(this.layoutCorrected,this.layout.layoutBox),k.applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,n);var s=t.target;if(s){this.projectionDelta||(this.projectionDelta=k.createDelta(),this.projectionDeltaWithTransform=k.createDelta());var u=this.treeScale.x,l=this.treeScale.y,c=this.projectionTransform;it(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=Ht(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===u&&this.treeScale.y===l||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),Wt.recalculatedProjection++}}}}},{key:"hide",value:function(){this.isVisible=!1}},{key:"show",value:function(){this.isVisible=!0}},{key:"scheduleRender",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.options.scheduleRender&&this.options.scheduleRender(),e){var t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}},{key:"setAnimationOrigin",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.snapshot,i=r?r.latestValues:{},a=f({},this.latestValues),o=k.createDelta();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;var s,u=k.createBox(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),d=!c||c.members.length<=1,h=Boolean(l&&!d&&!0===this.options.crossfade&&!this.path.some(un));this.animationProgress=0,this.mixTargetDelta=function(n){var r=n/1e3;on(o.x,e.x,r),on(o.y,e.y,r),t.setTargetDelta(o),t.relativeTarget&&t.relativeTargetOrigin&&t.layout&&t.relativeParent&&t.relativeParent.layout&&(st(u,t.layout.layoutBox,t.relativeParent.layout.layoutBox),function(e,t,n,r){sn(e.x,t.x,n.x,r),sn(e.y,t.y,n.y,r)}(t.relativeTarget,t.relativeTargetOrigin,u,r),s&&Ft(t.relativeTarget,s)&&(t.isProjectionDirty=!1),s||(s=k.createBox()),_t(s,t.relativeTarget)),l&&(t.animationValues=a,function(e,t,n,r,i,a){i?(e.opacity=k.mix(0,void 0!==n.opacity?n.opacity:1,St(r)),e.opacityExit=k.mix(void 0!==t.opacity?t.opacity:1,0,Lt(r))):a&&(e.opacity=k.mix(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(var o=0;o<xt;o++){var s="border".concat(Ct[o],"Radius"),u=Et(t,s),l=Et(n,s);void 0===u&&void 0===l||(u||(u=0),l||(l=0),0===u||0===l||kt(u)===kt(l)?(e[s]=Math.max(k.mix(wt(u),wt(l),r),0),(k.percent.test(l)||k.percent.test(u))&&(e[s]+="%")):e[s]=l)}(t.rotate||n.rotate)&&(e.rotate=k.mix(t.rotate||0,n.rotate||0,r))}(a,i,t.latestValues,r,h,d)),t.root.scheduleUpdateProjection(),t.scheduleRender(),t.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}},{key:"startAnimation",value:function(e){var t=this;this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(k.cancelFrame(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=k.frame.update((function(){F.hasAnimatedSinceResize=!0,t.currentAnimation=k.animateSingleValue(0,1e3,f(f({},e),{},{onUpdate:function(n){t.mixTargetDelta(n),e.onUpdate&&e.onUpdate(n)},onComplete:function(){e.onComplete&&e.onComplete(),t.completeAnimation()}})),t.resumingFrom&&(t.resumingFrom.currentAnimation=t.currentAnimation),t.pendingAnimation=void 0}))}},{key:"completeAnimation",value:function(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);var e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}},{key:"finishAnimation",value:function(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}},{key:"applyTransformsToTarget",value:function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,i=e.latestValues;if(t&&n&&r){if(this!==e&&this.layout&&r&&dn(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||k.createBox();var a=tt(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+a;var o=tt(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}_t(t,n),k.transformBox(t,i),it(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}},{key:"registerSharedNode",value:function(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Bt),this.sharedNodes.get(e).add(t);var n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}},{key:"isLead",value:function(){var e=this.getStack();return!e||e.lead===this}},{key:"getLead",value:function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}},{key:"getPrevLead",value:function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}},{key:"getStack",value:function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)}},{key:"promote",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.needsReset,n=e.transition,r=e.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}},{key:"relegate",value:function(){var e=this.getStack();return!!e&&e.relegate(this)}},{key:"resetRotation",value:function(){var e=this.options.visualElement;if(e){var t=!1,n=e.latestValues;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),t){for(var r={},i=0;i<Ut.length;i++){var a="rotate"+Ut[i];n[a]&&(r[a]=n[a],e.setStaticValue(a,0))}for(var o in e.render(),r)e.setStaticValue(o,r[o]);e.scheduleRender()}}}},{key:"getProjectionStyles",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";var i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=ae(n.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;var a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){var o={};return this.options.layoutId&&(o.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,o.pointerEvents=ae(n.pointerEvents)||""),this.hasProjected&&!k.hasTransform(this.latestValues)&&(o.transform=i?i({},""):"none",this.hasProjected=!1),o}var s=a.animationValues||a.latestValues;this.applyTransformsToTarget(),r.transform=Ht(this.projectionDeltaWithTransform,this.treeScale,s),i&&(r.transform=i(s,r.transform));var u=this.projectionDelta,l=u.x,c=u.y;for(var f in r.transformOrigin="".concat(100*l.origin,"% ").concat(100*c.origin,"% 0"),a.animationValues?r.opacity=a===this?null!==(t=null!==(e=s.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==t?t:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=a===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,k.scaleCorrectors)if(void 0!==s[f]){var d=k.scaleCorrectors[f],h=d.correct,p=d.applyTo,v="none"===r.transform?s[f]:h(s[f],a);if(p)for(var m=p.length,g=0;g<m;g++)r[p[g]]=v;else r[f]=v}return this.options.layoutId&&(r.pointerEvents=a===this?ae(n.pointerEvents)||"":"none"),r}},{key:"clearSnapshot",value:function(){this.resumeFrom=this.snapshot=void 0}},{key:"resetTree",value:function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Xt),this.root.sharedNodes.clear()}}]),e}()}function qt(e){e.updateLayout()}function Kt(e){var t,n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){var r=e.layout,i=r.layoutBox,a=r.measuredBox,o=e.options.animationType,s=n.source!==e.layout.source;"size"===o?ht((function(e){var t=s?n.measuredBox[e]:n.layoutBox[e],r=tt(t);t.min=i[e].min,t.max=t.min+r})):dn(o,n.layoutBox,i)&&ht((function(t){var r=s?n.measuredBox[t]:n.layoutBox[t],a=tt(i[t]);r.max=r.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[t].max=e.relativeTarget[t].min+a)}));var u=k.createDelta();it(u,i,n.layoutBox);var l=k.createDelta();s?it(l,e.applyTransform(a,!0),n.measuredBox):it(l,i,n.layoutBox);var c=!jt(u),f=!1;if(!e.resumeFrom){var d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){var h=d.snapshot,p=d.layout;if(h&&p){var v=k.createBox();st(v,n.layoutBox,h.layoutBox);var m=k.createBox();st(m,i,p.layoutBox),Ft(v,m)||(f=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:l,layoutDelta:u,hasLayoutChanged:c,hasRelativeTargetChanged:f})}else if(e.isLead()){var g=e.options.onExitComplete;g&&g()}e.options.transition=void 0}function Qt(e){Wt.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Yt(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Jt(e){e.clearSnapshot()}function Xt(e){e.clearMeasurements()}function $t(e){var t=e.options.visualElement;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function en(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function tn(e){e.resolveTargetDelta()}function nn(e){e.calcProjection()}function rn(e){e.resetRotation()}function an(e){e.removeLeadSnapshot()}function on(e,t,n){e.translate=k.mix(t.translate,0,n),e.scale=k.mix(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function sn(e,t,n,r){e.min=k.mix(t.min,n.min,r),e.max=k.mix(t.max,n.max,r)}function un(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var ln={duration:.45,ease:[.4,0,.1,1]};function cn(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var i=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function fn(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function dn(e,t,n){return"position"===e||"preserve-aspect"===e&&!nt(Vt(t),Vt(n),.2)}var hn=Gt({attachResizeListener:function(e,t){return fe(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),pn={current:void 0},vn=Gt({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!pn.current){var e=new hn(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),pn.current=e}return pn.current},resetTransform:function(e,t){e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),mn=function(e){return!e.isLayoutDirty&&e.willUpdate(!1)};function gn(){var e=new Set,t=new WeakMap,n=function(){return e.forEach(mn)};return{add:function(r){e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:function(r){e.delete(r);var i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}function yn(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var bn={correct:function(e,t){if(!t.target)return e;if("string"===typeof e){if(!k.px.test(e))return e;e=parseFloat(e)}var n=yn(e,t.target.x),r=yn(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Cn={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,i=e,a=k.complex.parse(e);if(a.length>5)return i;var o=k.complex.createTransformer(e),s="number"!==typeof a[0]?1:0,u=r.x.scale*n.x,l=r.y.scale*n.y;a[0+s]/=u,a[1+s]/=l;var c=k.mix(u,l,.5);return"number"===typeof a[2+s]&&(a[2+s]/=c),"number"===typeof a[3+s]&&(a[3+s]/=c),o(a)}};function xn(){var e=w.useContext(P);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,i=w.useId();w.useEffect((function(){return r(i)}),[]);return!t&&n?[!1,function(){return n&&n(i)}]:[!0]}var wn=function(e){o(n,e);var t=s(n);function n(){return u(this,n),t.apply(this,arguments)}return l(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.visualElement,r=t.layoutGroup,i=t.switchLayoutGroup,a=t.layoutId,o=n.projection;k.addScaleCorrector(En),o&&(r.group&&r.group.add(o),i&&i.register&&a&&i.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(function(){e.safeToRemove()})),o.setOptions(f(f({},o.options),{},{onExitComplete:function(){return e.safeToRemove()}}))),F.hasEverUpdated=!0}},{key:"getSnapshotBeforeUpdate",value:function(e){var t=this,n=this.props,r=n.layoutDependency,i=n.visualElement,a=n.drag,o=n.isPresent,s=i.projection;return s?(s.isPresent=o,a||e.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?s.promote():s.relegate()||k.frame.postRender((function(){var e=s.getStack();e&&e.members.length||t.safeToRemove()}))),null):null}},{key:"componentDidUpdate",value:function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,i=t.projection;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}},{key:"safeToRemove",value:function(){var e=this.props.safeToRemove;e&&e()}},{key:"render",value:function(){return null}}]),n}(M.default.Component);function kn(e){var t=xn(),n=a(t,2),r=n[0],i=n[1],o=w.useContext(B);return M.default.createElement(wn,f(f({},e),{},{layoutGroup:o,switchLayoutGroup:w.useContext(H),isPresent:r,safeToRemove:i}))}var En={borderRadius:f(f({},bn),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:bn,borderTopRightRadius:bn,borderBottomLeftRadius:bn,borderBottomRightRadius:bn,boxShadow:Cn},Sn={pan:{Feature:bt},drag:{Feature:gt,ProjectionNode:vn,MeasureLayout:kn}},Ln=function(e,t){return G(e)?new k.SVGVisualElement(t,{enableHardwareAcceleration:!1}):new k.HTMLVisualElement(t,{enableHardwareAcceleration:!0})},Mn={layout:{ProjectionNode:vn,MeasureLayout:kn}},An=f(f(f(f({},qe),Oe),Sn),Mn),_n=Z((function(e,t){return ce(e,t,An,Ln)}));var Pn=Z(ce);function Tn(){var e=w.useRef(!1);return T((function(){return e.current=!0,function(){e.current=!1}}),[]),e}function Rn(){var e=Tn(),t=w.useState(0),n=a(t,2),r=n[0],i=n[1],o=w.useCallback((function(){e.current&&i(r+1)}),[r]);return[w.useCallback((function(){return k.frame.postRender(o)}),[o]),r]}var In=function(e){o(n,e);var t=s(n);function n(){return u(this,n),t.apply(this,arguments)}return l(n,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){var n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft}return null}},{key:"componentDidUpdate",value:function(){}},{key:"render",value:function(){return this.props.children}}]),n}(L.Component);function Nn(e){var t=e.children,n=e.isPresent,r=w.useId(),i=w.useRef(null),a=w.useRef({width:0,height:0,top:0,left:0});return w.useInsertionEffect((function(){var e=a.current,t=e.width,o=e.height,s=e.top,u=e.left;if(!n&&i.current&&t&&o){i.current.dataset.motionPopId=r;var l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule('\n [data-motion-pop-id="'.concat(r,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(o,"px !important;\n top: ").concat(s,"px !important;\n left: ").concat(u,"px !important;\n }\n ")),function(){document.head.removeChild(l)}}}),[n]),L.createElement(In,{isPresent:n,childRef:i,sizeRef:a},L.cloneElement(t,{ref:i}))}var On=function(e){var t=e.children,n=e.initial,i=e.isPresent,a=e.onExitComplete,o=e.custom,s=e.presenceAffectsLayout,u=e.mode,l=j(jn),c=w.useId(),f=w.useMemo((function(){return{id:c,initial:n,isPresent:i,custom:o,onExitComplete:function(e){l.set(e,!0);var t,n=r(l.values());try{for(n.s();!(t=n.n()).done;){if(!t.value)return}}catch(i){n.e(i)}finally{n.f()}a&&a()},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),s?void 0:[i]);return w.useMemo((function(){l.forEach((function(e,t){return l.set(t,!1)}))}),[i]),L.useEffect((function(){!i&&!l.size&&a&&a()}),[i]),"popLayout"===u&&(t=L.createElement(Nn,{isPresent:i},t)),L.createElement(P.Provider,{value:f},t)};function jn(){return new Map}function Fn(e){return w.useEffect((function(){return function(){return e()}}),[])}var Vn=function(e){return e.key||""};function Bn(e){return"function"===typeof e}var Hn=w.createContext(null),Dn=function(e){return!0===e},zn=function(e){var t=e.children,n=e.id,r=e.inherit,i=void 0===r||r,o=w.useContext(B),s=w.useContext(Hn),u=Rn(),l=a(u,2),c=l[0],d=l[1],h=w.useRef(null),p=o.id||s;null===h.current&&(function(e){return Dn(!0===e)||"id"===e}(i)&&p&&(n=n?p+"-"+n:p),h.current={id:n,group:Dn(i)&&o.group||gn()});var v=w.useMemo((function(){return f(f({},h.current),{},{forceRender:c})}),[d]);return L.createElement(B.Provider,{value:v},t)},Un=w.createContext(null);var Zn=w.forwardRef((function(e,t){var n=e.children,r=e.as,i=void 0===r?"ul":r,a=e.axis,o=void 0===a?"y":a,s=e.onReorder,u=e.values,l=c(e,y),d=j((function(){return _n(i)})),h=[],p=w.useRef(!1);k.invariant(Boolean(u),"Reorder.Group must be provided a values prop");var v={axis:o,registerItem:function(e,t){t&&-1===h.findIndex((function(t){return e===t.value}))&&(h.push({value:e,layout:t[o]}),h.sort(Gn))},updateOrder:function(e,t,n){if(!p.current){var r=function(e,t,n,r){if(!r)return e;var i=e.findIndex((function(e){return e.value===t}));if(-1===i)return e;var a=r>0?1:-1,o=e[i+a];if(!o)return e;var s=e[i],u=o.layout,l=k.mix(u.min,u.max,.5);return 1===a&&s.layout.max+n>l||-1===a&&s.layout.min+n<l?k.moveItem(e,i,i+a):e}(h,e,t,n);h!==r&&(p.current=!0,s(r.map(Wn).filter((function(e){return-1!==u.indexOf(e)}))))}}};return w.useEffect((function(){p.current=!1})),L.createElement(d,f(f({},l),{},{ref:t,ignoreStrict:!0}),L.createElement(Un.Provider,{value:v},n))}));function Wn(e){return e.value}function Gn(e,t){return e.layout.min-t.layout.min}function qn(e){var t=j((function(){return k.motionValue(e)}));if(w.useContext(A).isStatic){var n=w.useState(e),r=a(n,2)[1];w.useEffect((function(){return t.on("change",r)}),[])}return t}function Kn(e,t){var n=qn(t()),r=function(){return n.set(t())};return r(),T((function(){var t=function(){return k.frame.update(r,!1,!0)},n=e.map((function(e){return e.on("change",t)}));return function(){n.forEach((function(e){return e()})),k.cancelFrame(r)}})),n}function Qn(e,t,n,r){var i="function"===typeof t?t:k.transform(t,n,r);return Array.isArray(e)?Yn(e,i):Yn([e],(function(e){var t=a(e,1)[0];return i(t)}))}function Yn(e,t){var n=j((function(){return[]}));return Kn(e,(function(){n.length=0;for(var r=e.length,i=0;i<r;i++)n[i]=e[i].get();return t(n)}))}function Jn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return k.isMotionValue(e)?e:qn(t)}var Xn=w.forwardRef((function(e,t){var n=e.children,r=e.style,i=void 0===r?{}:r,o=e.value,s=e.as,u=void 0===s?"li":s,l=e.onDrag,d=e.layout,h=void 0===d||d,p=c(e,b),v=j((function(){return _n(u)})),m=w.useContext(Un),g={x:Jn(i.x),y:Jn(i.y)},y=Qn([g.x,g.y],(function(e){var t=a(e,2),n=t[0],r=t[1];return n||r?1:"unset"})),C=w.useRef(null);k.invariant(Boolean(m),"Reorder.Item must be a child of Reorder.Group");var x=m.axis,E=m.registerItem,S=m.updateOrder;return w.useEffect((function(){E(o,C.current)}),[m]),L.createElement(v,f(f({drag:x},p),{},{dragSnapToOrigin:!0,style:f(f({},i),{},{x:g.x,y:g.y,zIndex:y}),layout:h,onDrag:function(e,t){var n=t.velocity;n[x]&&S(o,g[x].get(),n[x]),l&&l(e,t)},onLayoutMeasure:function(e){C.current=e},ref:t,ignoreStrict:!0}),n)})),$n={Group:Zn,Item:Xn},er=f(f({renderer:Ln},qe),Oe),tr=f(f(f({},er),Sn),Mn);function nr(e,t,n){w.useInsertionEffect((function(){return e.on(t,n)}),[e,t,n])}function rr(e,t){k.warning(Boolean(!t||t.current),"You have defined a ".concat(e," options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its `layoutEffect: false` option."))}var ir=function(){return{scrollX:k.motionValue(0),scrollY:k.motionValue(0),scrollXProgress:k.motionValue(0),scrollYProgress:k.motionValue(0)}};function ar(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.container,n=e.target,r=e.layoutEffect,i=void 0===r||r,a=c(e,C),o=j(ir);return(i?T:w.useEffect)((function(){return rr("target",n),rr("container",t),k.scroll((function(e){var t=e.x,n=e.y;o.scrollX.set(t.current),o.scrollXProgress.set(t.progress),o.scrollY.set(n.current),o.scrollYProgress.set(n.progress)}),f(f({},a),{},{container:(null===t||void 0===t?void 0:t.current)||void 0,target:(null===n||void 0===n?void 0:n.current)||void 0}))}),[]),o}function or(e){var t=w.useRef(0),n=w.useContext(A).isStatic;w.useEffect((function(){if(!n){var r=function(n){var r=n.timestamp,i=n.delta;t.current||(t.current=r),e(r-t.current,i)};return k.frame.update(r,!0),function(){return k.cancelFrame(r)}}}),[e])}var sr=function(e){o(n,e);var t=s(n);function n(){var e;return u(this,n),(e=t.apply(this,arguments)).members=[],e.transforms=new Set,e}return l(n,[{key:"add",value:function(e){var t;k.transformProps.has(e)?(this.transforms.add(e),t="transform"):e.startsWith("origin")||k.isCSSVariableName(e)||"willChange"===e||(t=k.camelToDash(e)),t&&(k.addUniqueItem(this.members,t),this.update())}},{key:"remove",value:function(e){k.transformProps.has(e)?(this.transforms.delete(e),this.transforms.size||k.removeItem(this.members,"transform")):k.removeItem(this.members,k.camelToDash(e)),this.update()}},{key:"update",value:function(){this.set(this.members.length?this.members.join(", "):"auto")}}]),n}(k.MotionValue);function ur(){!k.hasReducedMotionListener.current&&k.initPrefersReducedMotion();var e=w.useState(k.prefersReducedMotion.current);return a(e,1)[0]}function lr(){var e=!1,t=new Set,n={subscribe:function(e){return t.add(e),function(){t.delete(e)}},start:function(n,r){k.invariant(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");var i=[];return t.forEach((function(e){i.push(Be(e,n,{transitionOverride:r}))})),Promise.all(i)},set:function(n){return k.invariant(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach((function(e){k.setValues(e,n)}))},stop:function(){t.forEach((function(e){!function(e){e.values.forEach((function(e){return e.stop()}))}(e)}))},mount:function(){return e=!0,function(){e=!1,n.stop()}}};return n}function cr(){var e=j(lr);return T(e.mount,[]),e}var fr=cr;var dr=function(){function e(){u(this,e),this.componentControls=new Set}return l(e,[{key:"subscribe",value:function(e){var t=this;return this.componentControls.add(e),function(){return t.componentControls.delete(e)}}},{key:"start",value:function(e,t){this.componentControls.forEach((function(n){n.start(e.nativeEvent||e,t)}))}}]),e}(),hr=function(){return new dr};function pr(e){return null!==e&&"object"===typeof e&&D in e}function vr(){return mr}function mr(e){pn.current&&(pn.current.isUpdating=!1,pn.current.blockUpdate(),e&&e())}var gr=function(e,t){return"".concat(e,": ").concat(t)},yr=new Map;function br(e,t,n,r){var i=gr(e,k.transformProps.has(t)?"transform":t),a=yr.get(i);if(!a)return 0;var o=a.animation,s=a.startTime,u=function(){yr.delete(i);try{o.cancel()}catch(e){}};if(null!==s){var l=performance.now();return r.update((function(){n.animation&&(n.animation.time=k.millisecondsToSeconds(performance.now()-l))})),r.render(u),l-s||0}return u(),0}var Cr=function(){return{}},xr=function(e){o(n,e);var t=s(n);function n(){return u(this,n),t.apply(this,arguments)}return l(n,[{key:"build",value:function(){}},{key:"measureInstanceViewportBox",value:function(){return k.createBox()}},{key:"resetTransform",value:function(){}},{key:"restoreTransform",value:function(){}},{key:"removeValueFromRenderState",value:function(){}},{key:"renderInstance",value:function(){}},{key:"scrapeMotionValuesFromProps",value:function(){return{}}},{key:"getBaseTargetFromProps",value:function(){}},{key:"readValueFromInstance",value:function(e,t,n){return n.initialState[t]||0}},{key:"sortInstanceNodePosition",value:function(){return 0}},{key:"makeTargetAnimatableFromInstance",value:function(e){var t=e.transition,n=e.transitionEnd,r=c(e,x),i=k.getOrigin(r,t||{},this);return k.checkTargetForNewValues(this,r,i),f({transition:t,transitionEnd:n},r)}}]),n}(k.VisualElement),wr=oe({scrapeMotionValuesFromProps:Cr,createRenderState:Cr});var kr=function(e){return e>.001?1/e:1e5},Er=!1;var Sr=0;t.MotionValue=k.MotionValue,t.VisualElement=k.VisualElement,t.addScaleCorrector=k.addScaleCorrector,t.animate=k.animate,t.animateValue=k.animateValue,t.anticipate=k.anticipate,t.backIn=k.backIn,t.backInOut=k.backInOut,t.backOut=k.backOut,t.buildTransform=k.buildTransform,t.cancelFrame=k.cancelFrame,t.cancelSync=k.cancelSync,t.checkTargetForNewValues=k.checkTargetForNewValues,t.circIn=k.circIn,t.circInOut=k.circInOut,t.circOut=k.circOut,t.clamp=k.clamp,t.color=k.color,t.complex=k.complex,t.createBox=k.createBox,t.createScopedAnimate=k.createScopedAnimate,t.cubicBezier=k.cubicBezier,t.delay=k.delay,t.distance=k.distance,t.distance2D=k.distance2D,t.easeIn=k.easeIn,t.easeInOut=k.easeInOut,t.easeOut=k.easeOut,t.frame=k.frame,t.frameData=k.frameData,t.inView=k.inView,t.interpolate=k.interpolate,Object.defineProperty(t,"invariant",{enumerable:!0,get:function(){return k.invariant}}),t.isBrowser=k.isBrowser,t.isMotionValue=k.isMotionValue,t.mirrorEasing=k.mirrorEasing,t.mix=k.mix,t.motionValue=k.motionValue,t.optimizedAppearDataAttribute=k.optimizedAppearDataAttribute,t.pipe=k.pipe,t.progress=k.progress,t.px=k.px,t.reverseEasing=k.reverseEasing,t.scroll=k.scroll,t.spring=k.spring,t.stagger=k.stagger,t.steps=k.steps,t.stepsOrder=k.stepsOrder,t.sync=k.sync,t.transform=k.transform,Object.defineProperty(t,"warning",{enumerable:!0,get:function(){return k.warning}}),t.wrap=k.wrap,t.AnimatePresence=function(e){var t=e.children,n=e.custom,r=e.initial,o=void 0===r||r,s=e.onExitComplete,u=e.exitBeforeEnter,l=e.presenceAffectsLayout,c=void 0===l||l,f=e.mode,d=void 0===f?"sync":f;k.invariant(!u,"Replace exitBeforeEnter with mode='wait'");var h=Rn(),p=a(h,1)[0],v=w.useContext(B).forceRender;v&&(p=v);var m=Tn(),g=function(e){var t=[];return w.Children.forEach(e,(function(e){w.isValidElement(e)&&t.push(e)})),t}(t),y=g,b=new Set,C=w.useRef(y),x=w.useRef(new Map).current,E=w.useRef(!0);if(T((function(){E.current=!1,function(e,t){e.forEach((function(e){var n=Vn(e);t.set(n,e)}))}(g,x),C.current=y})),Fn((function(){E.current=!0,x.clear(),b.clear()})),E.current)return L.createElement(L.Fragment,null,y.map((function(e){return L.createElement(On,{key:Vn(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:c,mode:d},e)})));y=i(y);for(var S=C.current.map(Vn),M=g.map(Vn),A=S.length,_=0;_<A;_++){var P=S[_];-1===M.indexOf(P)&&b.add(P)}return"wait"===d&&b.size&&(y=[]),b.forEach((function(e){if(-1===M.indexOf(e)){var t=x.get(e);if(t){var r=S.indexOf(e);y.splice(r,0,L.createElement(On,{key:Vn(t),isPresent:!1,onExitComplete:function(){x.delete(e),b.delete(e);var t=C.current.findIndex((function(t){return t.key===e}));if(C.current.splice(t,1),!b.size){if(C.current=g,!1===m.current)return;p(),s&&s()}},custom:n,presenceAffectsLayout:c,mode:d},t))}}})),y=y.map((function(e){var t=e.key;return b.has(t)?e:L.createElement(On,{key:Vn(e),isPresent:!0,presenceAffectsLayout:c,mode:d},e)})),L.createElement(L.Fragment,null,b.size?y:y.map((function(e){return w.cloneElement(e)})))},t.AnimateSharedLayout=function(e){var t=e.children;return L.useEffect((function(){k.invariant(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")}),[]),L.createElement(zn,{id:j((function(){return"asl-".concat(Sr++)}))},t)},t.DeprecatedLayoutGroupContext=Hn,t.DragControls=dr,t.FlatTree=zt,t.LayoutGroup=zn,t.LayoutGroupContext=B,t.LazyMotion=function(e){var t=e.children,n=e.features,r=e.strict,i=void 0!==r&&r,o=w.useState(!Bn(n)),s=a(o,2)[1],u=w.useRef(void 0);if(!Bn(n)){var l=n.renderer,f=c(n,m);u.current=l,O(f)}return w.useEffect((function(){Bn(n)&&n().then((function(e){var t=e.renderer;O(c(e,g)),u.current=t,s(!0)}))}),[]),L.createElement(R.Provider,{value:{renderer:u.current,strict:i}},t)},t.MotionConfig=function(e){var t=e.children,n=e.isValidProp,r=c(e,v);n&&ee(n),(r=f(f({},w.useContext(A)),r)).isStatic=j((function(){return r.isStatic}));var i=w.useMemo((function(){return r}),[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return L.createElement(A.Provider,{value:i},t)},t.MotionConfigContext=A,t.MotionContext=_,t.PresenceContext=P,t.Reorder=$n,t.SwitchLayoutGroupContext=H,t.addPointerEvent=ve,t.addPointerInfo=pe,t.animateVisualElement=Be,t.animationControls=lr,t.animations=qe,t.calcLength=tt,t.createDomMotionComponent=function(e){return z(ce(e,{forwardMotionProps:!1},An,Ln))},t.createMotionComponent=z,t.domAnimation=er,t.domMax=tr,t.filterProps=te,t.isDragActive=Ce,t.isMotionComponent=pr,t.isValidMotionProp=X,t.m=Pn,t.makeUseVisualState=oe,t.motion=_n,t.resolveMotionValue=ae,t.startOptimizedAppearAnimation=function(e,t,n,r,i){var a=e.dataset[k.optimizedAppearDataId];if(a){window.HandoffAppearAnimations=br;var o=gr(a,t),s=k.animateStyle(e,t,[n[0],n[0]],{duration:1e4,ease:"linear"});yr.set(o,{animation:s,startTime:null});var u=function(){s.cancel();var a=k.animateStyle(e,t,n,r);document.timeline&&(a.startTime=document.timeline.currentTime),yr.set(o,{animation:a,startTime:performance.now()}),i&&i(a)};s.ready?s.ready.then(u).catch(k.noop):u()}},t.unwrapMotionComponent=function(e){if(pr(e))return e[D]},t.useAnimate=function(){var e=j((function(){return{current:null,animations:[]}})),t=j((function(){return k.createScopedAnimate(e)}));return Fn((function(){e.animations.forEach((function(e){return e.stop()}))})),[e,t]},t.useAnimation=fr,t.useAnimationControls=cr,t.useAnimationFrame=or,t.useCycle=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=w.useRef(0),i=w.useState(t[r.current]),o=a(i,2),s=o[0],u=o[1];return[s,w.useCallback((function(e){r.current="number"!==typeof e?k.wrap(0,t.length,r.current+1):e,u(t[r.current])}),[t.length].concat(t))]},t.useDeprecatedAnimatedState=function(e){var t=w.useState(e),n=a(t,2),r=n[0],i=n[1],o=wr({},!1),s=j((function(){return new xr({props:{},visualState:o,presenceContext:null},{initialState:e})}));return w.useEffect((function(){return s.mount({}),function(){return s.unmount()}}),[s]),w.useEffect((function(){s.update({onUpdate:function(e){i(f({},e))}},null)}),[i,s]),[r,j((function(){return function(e){return Be(s,e)}}))]},t.useDeprecatedInvertedScale=function(e){var t=qn(1),n=qn(1),r=w.useContext(_).visualElement;return k.invariant(!(!e&&!r),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),k.warning(Er,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),Er=!0,e?(t=e.scaleX||t,n=e.scaleY||n):r&&(t=r.getValue("scaleX",1),n=r.getValue("scaleY",1)),{scaleX:Qn(t,kr),scaleY:Qn(n,kr)}},t.useDomEvent=function(e,t,n,r){w.useEffect((function(){var i=e.current;if(n&&i)return fe(i,t,n,r)}),[e,t,n,r])},t.useDragControls=function(){return j(hr)},t.useElementScroll=function(e){return ar({container:e})},t.useForceUpdate=Rn,t.useInView=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.root,r=t.margin,i=t.amount,o=t.once,s=void 0!==o&&o,u=w.useState(!1),l=a(u,2),c=l[0],f=l[1];return w.useEffect((function(){if(!(!e.current||s&&c)){var t={root:n&&n.current||void 0,margin:r,amount:"some"===i?"any":i};return k.inView(e.current,(function(){return f(!0),s?void 0:function(){return f(!1)}}),t)}}),[n,e,r,s]),c},t.useInstantLayoutTransition=vr,t.useInstantTransition=function(){var e=Rn(),t=a(e,2),n=t[0],r=t[1],i=vr();return w.useEffect((function(){k.frame.postRender((function(){return k.frame.postRender((function(){return k.instantAnimationState.current=!1}))}))}),[r]),function(e){i((function(){k.instantAnimationState.current=!0,n(),e()}))}},t.useIsPresent=function(){return null===(e=w.useContext(P))||e.isPresent;var e},t.useIsomorphicLayoutEffect=T,t.useMotionTemplate=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=e.length;return Kn(n.filter(k.isMotionValue),(function(){for(var t="",r=0;r<i;r++){t+=e[r];var a=n[r];a&&(t+=k.isMotionValue(a)?a.get():a)}return t}))},t.useMotionValue=qn,t.useMotionValueEvent=nr,t.usePresence=xn,t.useReducedMotion=ur,t.useReducedMotionConfig=function(){var e=ur(),t=w.useContext(A).reducedMotion;return"never"!==t&&("always"===t||e)},t.useResetProjection=function(){return L.useCallback((function(){var e=pn.current;e&&e.resetTree()}),[])},t.useScroll=ar,t.useSpring=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=w.useContext(A).isStatic,r=w.useRef(null),i=qn(k.isMotionValue(e)?e.get():e),a=function(){r.current&&r.current.stop()};return w.useInsertionEffect((function(){return i.attach((function(e,o){if(n)return o(e);if(a(),r.current=k.animateValue(f(f({keyframes:[i.get(),e],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01},t),{},{onUpdate:o})),!k.frameData.isProcessing){var s=performance.now()-k.frameData.timestamp;s<30&&(r.current.time=k.millisecondsToSeconds(s))}return i.get()}),a)}),[JSON.stringify(t)]),T((function(){if(k.isMotionValue(e))return e.on("change",(function(e){return i.set(parseFloat(e))}))}),[i]),i},t.useTime=function(){var e=qn(0);return or((function(t){return e.set(t)})),e},t.useTransform=Qn,t.useUnmountEffect=Fn,t.useVelocity=function(e){var t=qn(e.getVelocity());return nr(e,"velocityChange",(function(e){t.set(e)})),t},t.useViewportScroll=function(){return ar()},t.useWillChange=function(){return j((function(){return new sr("auto")}))}},2303:function(e,t,n){var r=t;r.utils=n(7369),r.common=n(710),r.sha=n(86),r.ripemd=n(1994),r.hmac=n(3733),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},710:function(e,t,n){"use strict";var r=n(7369),i=n(5171);function a(){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}t.BlockHash=a,a.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,a=8;a<this.padLength;a++)r[i++]=0;return r}},3733:function(e,t,n){"use strict";var r=n(7369),i=n(5171);function a(e,t,n){if(!(this instanceof a))return new a(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},a.prototype.update=function(e,t){return this.inner.update(e,t),this},a.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},1994:function(e,t,n){"use strict";var r=n(7369),i=n(710),a=r.rotl32,o=r.sum32,s=r.sum32_3,u=r.sum32_4,l=i.BlockHash;function c(){if(!(this instanceof c))return new c;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(c,l),t.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],l=this.h[3],c=this.h[4],y=n,b=r,C=i,x=l,w=c,k=0;k<80;k++){var E=o(a(u(n,f(k,r,i,l),e[p[k]+t],d(k)),m[k]),c);n=c,c=l,l=a(i,10),i=r,r=E,E=o(a(u(y,f(79-k,b,C,x),e[v[k]+t],h(k)),g[k]),w),y=w,w=x,x=a(C,10),C=b,b=E}E=s(this.h[1],i,x),this.h[1]=s(this.h[2],l,w),this.h[2]=s(this.h[3],c,y),this.h[3]=s(this.h[4],n,b),this.h[4]=s(this.h[0],r,C),this.h[0]=E},c.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],v=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},86:function(e,t,n){"use strict";t.sha1=n(5229),t.sha224=n(6505),t.sha256=n(4269),t.sha384=n(4063),t.sha512=n(5632)},5229:function(e,t,n){"use strict";var r=n(7369),i=n(710),a=n(772),o=r.rotl32,s=r.sum32,u=r.sum32_5,l=a.ft_1,c=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,c),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],a=this.h[1],c=this.h[2],d=this.h[3],h=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),v=u(o(i,5),l(p,a,c,d),h,n[r],f[p]);h=d,d=c,c=o(a,30),a=i,i=v}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],c),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],h)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},6505:function(e,t,n){"use strict";var r=n(7369),i=n(4269);function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(a,i),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},4269:function(e,t,n){"use strict";var r=n(7369),i=n(710),a=n(772),o=n(5171),s=r.sum32,u=r.sum32_4,l=r.sum32_5,c=a.ch32,f=a.maj32,d=a.s0_256,h=a.s1_256,p=a.g0_256,v=a.g1_256,m=i.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}r.inherits(y,m),e.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=u(v(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],a=this.h[1],m=this.h[2],g=this.h[3],y=this.h[4],b=this.h[5],C=this.h[6],x=this.h[7];for(o(this.k.length===n.length),r=0;r<n.length;r++){var w=l(x,h(y),c(y,b,C),this.k[r],n[r]),k=s(d(i),f(i,a,m));x=C,C=b,b=y,y=s(g,w),g=m,m=a,a=i,i=s(w,k)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],m),this.h[3]=s(this.h[3],g),this.h[4]=s(this.h[4],y),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],C),this.h[7]=s(this.h[7],x)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},4063:function(e,t,n){"use strict";var r=n(7369),i=n(5632);function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(a,i),e.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},5632:function(e,t,n){"use strict";var r=n(7369),i=n(710),a=n(5171),o=r.rotr64_hi,s=r.rotr64_lo,u=r.shr64_hi,l=r.shr64_lo,c=r.sum64,f=r.sum64_hi,d=r.sum64_lo,h=r.sum64_4_hi,p=r.sum64_4_lo,v=r.sum64_5_hi,m=r.sum64_5_lo,g=i.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;g.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=new Array(160)}function C(e,t,n,r,i){var a=e&n^~e&i;return a<0&&(a+=4294967296),a}function x(e,t,n,r,i,a){var o=t&r^~t&a;return o<0&&(o+=4294967296),o}function w(e,t,n,r,i){var a=e&n^e&i^n&i;return a<0&&(a+=4294967296),a}function k(e,t,n,r,i,a){var o=t&r^t&a^r&a;return o<0&&(o+=4294967296),o}function E(e,t){var n=o(e,t,28)^o(t,e,2)^o(t,e,7);return n<0&&(n+=4294967296),n}function S(e,t){var n=s(e,t,28)^s(t,e,2)^s(t,e,7);return n<0&&(n+=4294967296),n}function L(e,t){var n=o(e,t,14)^o(e,t,18)^o(t,e,9);return n<0&&(n+=4294967296),n}function M(e,t){var n=s(e,t,14)^s(e,t,18)^s(t,e,9);return n<0&&(n+=4294967296),n}function A(e,t){var n=o(e,t,1)^o(e,t,8)^u(e,t,7);return n<0&&(n+=4294967296),n}function _(e,t){var n=s(e,t,1)^s(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function P(e,t){var n=o(e,t,19)^o(t,e,29)^u(e,t,6);return n<0&&(n+=4294967296),n}function T(e,t){var n=s(e,t,19)^s(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}r.inherits(b,g),e.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=P(n[r-4],n[r-3]),a=T(n[r-4],n[r-3]),o=n[r-14],s=n[r-13],u=A(n[r-30],n[r-29]),l=_(n[r-30],n[r-29]),c=n[r-32],f=n[r-31];n[r]=h(i,a,o,s,u,l,c,f),n[r+1]=p(i,a,o,s,u,l,c,f)}},b.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],o=this.h[2],s=this.h[3],u=this.h[4],l=this.h[5],h=this.h[6],p=this.h[7],g=this.h[8],y=this.h[9],b=this.h[10],A=this.h[11],_=this.h[12],P=this.h[13],T=this.h[14],R=this.h[15];a(this.k.length===n.length);for(var I=0;I<n.length;I+=2){var N=T,O=R,j=L(g,y),F=M(g,y),V=C(g,y,b,A,_),B=x(g,y,b,A,_,P),H=this.k[I],D=this.k[I+1],z=n[I],U=n[I+1],Z=v(N,O,j,F,V,B,H,D,z,U),W=m(N,O,j,F,V,B,H,D,z,U);N=E(r,i),O=S(r,i),j=w(r,i,o,s,u),F=k(r,i,o,s,u,l);var G=f(N,O,j,F),q=d(N,O,j,F);T=_,R=P,_=b,P=A,b=g,A=y,g=f(h,p,Z,W),y=d(p,p,Z,W),h=u,p=l,u=o,l=s,o=r,s=i,r=f(Z,W,G,q),i=d(Z,W,G,q)}c(this.h,0,r,i),c(this.h,2,o,s),c(this.h,4,u,l),c(this.h,6,h,p),c(this.h,8,g,y),c(this.h,10,b,A),c(this.h,12,_,P),c(this.h,14,T,R)},b.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},772:function(e,t,n){"use strict";var r=n(7369).rotr32;function i(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?o(t,n,r):2===e?a(t,n,r):void 0},t.ch32=i,t.maj32=a,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},7369:function(e,t,n){"use strict";var r=n(5171),i=n(5493);function a(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"===typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):a(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=o(i)),n+=u(i.toString(16))}return n},t.zero2=s,t.zero8=u,t.join32=function(e,t,n,i){var a=n-t;r(a%4===0);for(var o=new Array(a/4),s=0,u=t;s<o.length;s++,u+=4){var l;l="big"===i?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],o[s]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var a=e[r];"big"===t?(n[i]=a>>>24,n[i+1]=a>>>16&255,n[i+2]=a>>>8&255,n[i+3]=255&a):(n[i+3]=a>>>24,n[i+2]=a>>>16&255,n[i+1]=a>>>8&255,n[i]=255&a)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],a=r+e[t+1]>>>0,o=(a<r?1:0)+n+i;e[t]=o>>>0,e[t+1]=a},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,a,o,s){var u=0,l=t;return u+=(l=l+r>>>0)<t?1:0,u+=(l=l+a>>>0)<a?1:0,e+n+i+o+(u+=(l=l+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,a,o,s){return t+r+a+s>>>0},t.sum64_5_hi=function(e,t,n,r,i,a,o,s,u,l){var c=0,f=t;return c+=(f=f+r>>>0)<t?1:0,c+=(f=f+a>>>0)<a?1:0,c+=(f=f+s>>>0)<s?1:0,e+n+i+o+u+(c+=(f=f+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,a,o,s,u,l){return t+r+a+s+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},2185:function(e,t,n){"use strict";var r=n(881),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?o:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var o=c(n);f&&(o=o.concat(f(n)));for(var s=u(t),v=u(n),m=0;m<o.length;++m){var g=o[m];if(!a[g]&&(!r||!r[g])&&(!v||!v[g])&&(!s||!s[g])){var y=d(n,g);try{l(t,g,y)}catch(b){}}}}return t}},1582:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,C=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case m:case v:case u:return e;default:return t}}case i:return t}}}function w(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||x(e)===c},t.isConcurrentMode=w,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===f||e===s||e===o||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===C||e.$$typeof===g)},t.typeOf=x},881:function(e,t,n){"use strict";e.exports=n(1582)},5493:function(e){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},7594:function(e,t,n){var r;!function(){"use strict";var i="input is invalid type",a="object"===typeof window,o=a?window:{};o.JS_SHA3_NO_WINDOW&&(a=!1);var s=!a&&"object"===typeof self;!o.JS_SHA3_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node?o=n.g:s&&(o=self);var u=!o.JS_SHA3_NO_COMMON_JS&&e.exports,l=n.amdO,c=!o.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,f="0123456789abcdef".split(""),d=[4,1024,262144,67108864],h=[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],v=[224,256,384,512],m=[128,256],g=["hex","buffer","arrayBuffer","array","digest"],y={128:168,256:136};!o.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!c||!o.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var b=function(e,t,n){return function(r){return new N(e,t,e).update(r)[n]()}},C=function(e,t,n){return function(r,i){return new N(e,t,i).update(r)[n]()}},x=function(e,t,n){return function(t,r,i,a){return L["cshake"+e].update(t,r,i,a)[n]()}},w=function(e,t,n){return function(t,r,i,a){return L["kmac"+e].update(t,r,i,a)[n]()}},k=function(e,t,n,r){for(var i=0;i<g.length;++i){var a=g[i];e[a]=t(n,r,a)}return e},E=function(e,t){var n=b(e,t,"hex");return n.create=function(){return new N(e,t,e)},n.update=function(e){return n.create().update(e)},k(n,b,e,t)},S=[{name:"keccak",padding:[1,256,65536,16777216],bits:v,createMethod:E},{name:"sha3",padding:[6,1536,393216,100663296],bits:v,createMethod:E},{name:"shake",padding:[31,7936,2031616,520093696],bits:m,createMethod:function(e,t){var n=C(e,t,"hex");return n.create=function(n){return new N(e,t,n)},n.update=function(e,t){return n.create(t).update(e)},k(n,C,e,t)}},{name:"cshake",padding:d,bits:m,createMethod:function(e,t){var n=y[e],r=x(e,0,"hex");return r.create=function(r,i,a){return i||a?new N(e,t,r).bytepad([i,a],n):L["shake"+e].create(r)},r.update=function(e,t,n,i){return r.create(t,n,i).update(e)},k(r,x,e,t)}},{name:"kmac",padding:d,bits:m,createMethod:function(e,t){var n=y[e],r=w(e,0,"hex");return r.create=function(r,i,a){return new O(e,t,i).bytepad(["KMAC",a],n).bytepad([r],n)},r.update=function(e,t,n,i){return r.create(e,n,i).update(t)},k(r,w,e,t)}}],L={},M=[],A=0;A<S.length;++A)for(var _=S[A],P=_.bits,T=0;T<P.length;++T){var R=_.name+"_"+P[T];if(M.push(R),L[R]=_.createMethod(P[T],_.padding),"sha3"!==_.name){var I=_.name+P[T];M.push(I),L[I]=L[R]}}function N(e,t,n){this.blocks=[],this.s=[],this.padding=t,this.outputBits=n,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var r=0;r<50;++r)this.s[r]=0}function O(e,t,n){N.call(this,e,t,n)}N.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(i);if(null===e)throw new Error(i);if(c&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!c||!ArrayBuffer.isView(e)))throw new Error(i);t=!0}for(var r,a,o=this.blocks,s=this.byteCount,u=e.length,l=this.blockCount,f=0,d=this.s;f<u;){if(this.reset)for(this.reset=!1,o[0]=this.block,r=1;r<l+1;++r)o[r]=0;if(t)for(r=this.start;f<u&&r<s;++f)o[r>>2]|=e[f]<<h[3&r++];else for(r=this.start;f<u&&r<s;++f)(a=e.charCodeAt(f))<128?o[r>>2]|=a<<h[3&r++]:a<2048?(o[r>>2]|=(192|a>>6)<<h[3&r++],o[r>>2]|=(128|63&a)<<h[3&r++]):a<55296||a>=57344?(o[r>>2]|=(224|a>>12)<<h[3&r++],o[r>>2]|=(128|a>>6&63)<<h[3&r++],o[r>>2]|=(128|63&a)<<h[3&r++]):(a=65536+((1023&a)<<10|1023&e.charCodeAt(++f)),o[r>>2]|=(240|a>>18)<<h[3&r++],o[r>>2]|=(128|a>>12&63)<<h[3&r++],o[r>>2]|=(128|a>>6&63)<<h[3&r++],o[r>>2]|=(128|63&a)<<h[3&r++]);if(this.lastByteIndex=r,r>=s){for(this.start=r-s,this.block=o[l],r=0;r<l;++r)d[r]^=o[r];j(d),this.reset=!0}else this.start=r}return this},N.prototype.encode=function(e,t){var n=255&e,r=1,i=[n];for(n=255&(e>>=8);n>0;)i.unshift(n),n=255&(e>>=8),++r;return t?i.push(r):i.unshift(r),this.update(i),i.length},N.prototype.encodeString=function(e){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(i);if(null===e)throw new Error(i);if(c&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!c||!ArrayBuffer.isView(e)))throw new Error(i);t=!0}var r=0,a=e.length;if(t)r=a;else for(var o=0;o<e.length;++o){var s=e.charCodeAt(o);s<128?r+=1:s<2048?r+=2:s<55296||s>=57344?r+=3:(s=65536+((1023&s)<<10|1023&e.charCodeAt(++o)),r+=4)}return r+=this.encode(8*r),this.update(e),r},N.prototype.bytepad=function(e,t){for(var n=this.encode(t),r=0;r<e.length;++r)n+=this.encodeString(e[r]);var i=t-n%t,a=[];return a.length=i,this.update(a),this},N.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex,n=this.blockCount,r=this.s;if(e[t>>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[n],t=1;t<n+1;++t)e[t]=0;for(e[n-1]|=2147483648,t=0;t<n;++t)r[t]^=e[t];j(r)}},N.prototype.toString=N.prototype.hex=function(){this.finalize();for(var e,t=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,a=0,o=0,s="";o<r;){for(a=0;a<t&&o<r;++a,++o)e=n[a],s+=f[e>>4&15]+f[15&e]+f[e>>12&15]+f[e>>8&15]+f[e>>20&15]+f[e>>16&15]+f[e>>28&15]+f[e>>24&15];o%t===0&&(j(n),a=0)}return i&&(e=n[a],s+=f[e>>4&15]+f[15&e],i>1&&(s+=f[e>>12&15]+f[e>>8&15]),i>2&&(s+=f[e>>20&15]+f[e>>16&15])),s},N.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,a=0,o=0,s=this.outputBits>>3;e=i?new ArrayBuffer(r+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(e);o<r;){for(a=0;a<t&&o<r;++a,++o)u[o]=n[a];o%t===0&&j(n)}return i&&(u[a]=n[a],e=e.slice(0,s)),e},N.prototype.buffer=N.prototype.arrayBuffer,N.prototype.digest=N.prototype.array=function(){this.finalize();for(var e,t,n=this.blockCount,r=this.s,i=this.outputBlocks,a=this.extraBytes,o=0,s=0,u=[];s<i;){for(o=0;o<n&&s<i;++o,++s)e=s<<2,t=r[o],u[e]=255&t,u[e+1]=t>>8&255,u[e+2]=t>>16&255,u[e+3]=t>>24&255;s%n===0&&j(r)}return a&&(e=s<<2,t=r[o],u[e]=255&t,a>1&&(u[e+1]=t>>8&255),a>2&&(u[e+2]=t>>16&255)),u},O.prototype=new N,O.prototype.finalize=function(){return this.encode(this.outputBits,!0),N.prototype.finalize.call(this)};var j=function(e){var t,n,r,i,a,o,s,u,l,c,f,d,h,v,m,g,y,b,C,x,w,k,E,S,L,M,A,_,P,T,R,I,N,O,j,F,V,B,H,D,z,U,Z,W,G,q,K,Q,Y,J,X,$,ee,te,ne,re,ie,ae,oe,se,ue,le,ce;for(r=0;r<48;r+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],a=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],u=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(o<<1|s>>>31),n=(h=e[9]^e[19]^e[29]^e[39]^e[49])^(s<<1|o>>>31),e[0]^=t,e[1]^=n,e[10]^=t,e[11]^=n,e[20]^=t,e[21]^=n,e[30]^=t,e[31]^=n,e[40]^=t,e[41]^=n,t=i^(u<<1|l>>>31),n=a^(l<<1|u>>>31),e[2]^=t,e[3]^=n,e[12]^=t,e[13]^=n,e[22]^=t,e[23]^=n,e[32]^=t,e[33]^=n,e[42]^=t,e[43]^=n,t=o^(c<<1|f>>>31),n=s^(f<<1|c>>>31),e[4]^=t,e[5]^=n,e[14]^=t,e[15]^=n,e[24]^=t,e[25]^=n,e[34]^=t,e[35]^=n,e[44]^=t,e[45]^=n,t=u^(d<<1|h>>>31),n=l^(h<<1|d>>>31),e[6]^=t,e[7]^=n,e[16]^=t,e[17]^=n,e[26]^=t,e[27]^=n,e[36]^=t,e[37]^=n,e[46]^=t,e[47]^=n,t=c^(i<<1|a>>>31),n=f^(a<<1|i>>>31),e[8]^=t,e[9]^=n,e[18]^=t,e[19]^=n,e[28]^=t,e[29]^=n,e[38]^=t,e[39]^=n,e[48]^=t,e[49]^=n,v=e[0],m=e[1],q=e[11]<<4|e[10]>>>28,K=e[10]<<4|e[11]>>>28,_=e[20]<<3|e[21]>>>29,P=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,U=e[40]<<18|e[41]>>>14,Z=e[41]<<18|e[40]>>>14,O=e[2]<<1|e[3]>>>31,j=e[3]<<1|e[2]>>>31,g=e[13]<<12|e[12]>>>20,y=e[12]<<12|e[13]>>>20,Q=e[22]<<10|e[23]>>>22,Y=e[23]<<10|e[22]>>>22,T=e[33]<<13|e[32]>>>19,R=e[32]<<13|e[33]>>>19,le=e[42]<<2|e[43]>>>30,ce=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,ne=e[4]<<30|e[5]>>>2,F=e[14]<<6|e[15]>>>26,V=e[15]<<6|e[14]>>>26,b=e[25]<<11|e[24]>>>21,C=e[24]<<11|e[25]>>>21,J=e[34]<<15|e[35]>>>17,X=e[35]<<15|e[34]>>>17,I=e[45]<<29|e[44]>>>3,N=e[44]<<29|e[45]>>>3,S=e[6]<<28|e[7]>>>4,L=e[7]<<28|e[6]>>>4,re=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,B=e[26]<<25|e[27]>>>7,H=e[27]<<25|e[26]>>>7,x=e[36]<<21|e[37]>>>11,w=e[37]<<21|e[36]>>>11,$=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,G=e[9]<<27|e[8]>>>5,M=e[18]<<20|e[19]>>>12,A=e[19]<<20|e[18]>>>12,ae=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,D=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,k=e[48]<<14|e[49]>>>18,E=e[49]<<14|e[48]>>>18,e[0]=v^~g&b,e[1]=m^~y&C,e[10]=S^~M&_,e[11]=L^~A&P,e[20]=O^~F&B,e[21]=j^~V&H,e[30]=W^~q&Q,e[31]=G^~K&Y,e[40]=te^~re&ae,e[41]=ne^~ie&oe,e[2]=g^~b&x,e[3]=y^~C&w,e[12]=M^~_&T,e[13]=A^~P&R,e[22]=F^~B&D,e[23]=V^~H&z,e[32]=q^~Q&J,e[33]=K^~Y&X,e[42]=re^~ae&se,e[43]=ie^~oe&ue,e[4]=b^~x&k,e[5]=C^~w&E,e[14]=_^~T&I,e[15]=P^~R&N,e[24]=B^~D&U,e[25]=H^~z&Z,e[34]=Q^~J&$,e[35]=Y^~X&ee,e[44]=ae^~se&le,e[45]=oe^~ue&ce,e[6]=x^~k&v,e[7]=w^~E&m,e[16]=T^~I&S,e[17]=R^~N&L,e[26]=D^~U&O,e[27]=z^~Z&j,e[36]=J^~$&W,e[37]=X^~ee&G,e[46]=se^~le&te,e[47]=ue^~ce&ne,e[8]=k^~v&g,e[9]=E^~m&y,e[18]=I^~S&M,e[19]=N^~L&A,e[28]=U^~O&F,e[29]=Z^~j&V,e[38]=$^~W&q,e[39]=ee^~G&K,e[48]=le^~te&re,e[49]=ce^~ne&ie,e[0]^=p[r],e[1]^=p[r+1]};if(u)e.exports=L;else{for(A=0;A<M.length;++A)o[M[A]]=L[M[A]];l&&(void 0===(r=function(){return L}.call(t,n,t,e))||(e.exports=r))}}()},942:function(e,t,n){var r=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=c||f||Function("return this")(),h=Object.prototype.toString,p=Math.max,v=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&h.call(e)==i}(e))return r;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):o.test(e)?r:+e}e.exports=function(e,t,n){var r,i,a,o,s,u,l=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n)}function b(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-l>=a}function C(){var e=m();if(b(e))return x(e);s=setTimeout(C,function(e){var n=t-(e-u);return f?v(n,a-(e-l)):n}(e))}function x(e){return s=void 0,d&&r?h(e):(r=i=void 0,o)}function w(){var e=m(),n=b(e);if(r=arguments,i=this,u=e,n){if(void 0===s)return function(e){return l=e,s=setTimeout(C,t),c?h(e):o}(u);if(f)return s=setTimeout(C,t),h(u)}return void 0===s&&(s=setTimeout(C,t)),o}return t=y(t)||0,g(n)&&(c=!!n.leading,a=(f="maxWait"in n)?p(y(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),w.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=u=i=s=void 0},w.flush=function(){return void 0===s?o:x(m())},w}},9066:function(e,t,n){var r="__lodash_hash_undefined__",i=1/0,a="[object Function]",o="[object GeneratorFunction]",s="[object Symbol]",u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,c=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,h=/^\[object .+?Constructor\]$/,p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,m=p||v||Function("return this")();var g=Array.prototype,y=Function.prototype,b=Object.prototype,C=m["__core-js_shared__"],x=function(){var e=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),w=y.toString,k=b.hasOwnProperty,E=b.toString,S=RegExp("^"+w.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=m.Symbol,M=g.splice,A=B(m,"Map"),_=B(Object,"create"),P=L?L.prototype:void 0,T=P?P.toString:void 0;function R(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function I(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function N(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!==n&&r!==r)return i;return-1}function j(e,t){var n;t=function(e,t){if(U(e))return!1;var n=typeof e;if("number"==n||"symbol"==n||"boolean"==n||null==e||W(e))return!0;return l.test(e)||!u.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:U(n=t)?n:H(n);for(var r=0,i=t.length;null!=e&&r<i;)e=e[D(t[r++])];return r&&r==i?e:void 0}function F(e){if(!Z(e)||(t=e,x&&x in t))return!1;var t,n=function(e){var t=Z(e)?E.call(e):"";return t==a||t==o}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?S:h;return n.test(function(e){if(null!=e){try{return w.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function V(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function B(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return F(n)?n:void 0}R.prototype.clear=function(){this.__data__=_?_(null):{}},R.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},R.prototype.get=function(e){var t=this.__data__;if(_){var n=t[e];return n===r?void 0:n}return k.call(t,e)?t[e]:void 0},R.prototype.has=function(e){var t=this.__data__;return _?void 0!==t[e]:k.call(t,e)},R.prototype.set=function(e,t){return this.__data__[e]=_&&void 0===t?r:t,this},I.prototype.clear=function(){this.__data__=[]},I.prototype.delete=function(e){var t=this.__data__,n=O(t,e);return!(n<0)&&(n==t.length-1?t.pop():M.call(t,n,1),!0)},I.prototype.get=function(e){var t=this.__data__,n=O(t,e);return n<0?void 0:t[n][1]},I.prototype.has=function(e){return O(this.__data__,e)>-1},I.prototype.set=function(e,t){var n=this.__data__,r=O(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},N.prototype.clear=function(){this.__data__={hash:new R,map:new(A||I),string:new R}},N.prototype.delete=function(e){return V(this,e).delete(e)},N.prototype.get=function(e){return V(this,e).get(e)},N.prototype.has=function(e){return V(this,e).has(e)},N.prototype.set=function(e,t){return V(this,e).set(e,t),this};var H=z((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(W(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var n=[];return c.test(e)&&n.push(""),e.replace(f,(function(e,t,r,i){n.push(r?i.replace(d,"$1"):t||e)})),n}));function D(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}function z(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o),o};return n.cache=new(z.Cache||N),n}z.Cache=N;var U=Array.isArray;function Z(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&E.call(e)==s}e.exports=function(e,t,n){var r=null==e?void 0:j(e,t);return void 0===r?n:r}},5171:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},3072:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_MANUAL_CLIENT_BASE_PATH&&!t)return e;return i.normalizePathTrailingSlash(r.addPathPrefix(e,a))};var r=n(2691),i=n(5249),a={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_ROUTER_BASEPATH||"";("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8560:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0;var r=n(5249);t.addLocale=function(e){if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_I18N_SUPPORT){for(var t,i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return r.normalizePathTrailingSlash((t=n(451)).addLocale.apply(t,[e].concat(a)))}return e},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectDomainLocale=void 0;t.detectDomainLocale=function(){var e;if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_I18N_SUPPORT)return(e=n(5698)).detectDomainLocale.apply(e,arguments)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},799:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,i,a){if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_I18N_SUPPORT){var o=n(5053).normalizeLocalePath,s=n(7128).detectDomainLocale,u=t||o(e,i).detectedLocale,l=s(a,void 0,u);if(l){var c="http".concat(l.http?"":"s","://"),f=u===l.defaultLocale?"":"/".concat(u);return"".concat(c).concat(l.domain).concat(r).concat(f).concat(e)}return!1}return!1};var r={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_ROUTER_BASEPATH||"";("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8736:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBasePath=function(e){return r.pathHasPrefix(e,i)};var r=n(6223),i={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_ROUTER_BASEPATH||"";("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2159:function(e,t,n){"use strict";var r=n(8371).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(5002).Z,a=n(3635).Z,o=i(n(5535)),s=n(3395),u=n(568),l=n(8174),c=n(5964),f=n(8560),d=n(9907),h=n(1987),p=n(8206),v=n(799),m=n(3072),g=new Set;function y(e,t,n,r,i){if("undefined"!==typeof window&&(i||u.isLocalURL(t))){if(!r.bypassPrefetchedCheck){var a=t+"%"+n+"%"+("undefined"!==typeof r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(a))return;g.add(a)}Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}))}}function b(e){return"string"===typeof e?e:l.formatUrl(e)}var C=o.default.forwardRef((function(e,t){var n,i=e.href,l=e.as,g=e.children,C=e.prefetch,x=e.passHref,w=e.replace,k=e.shallow,E=e.scroll,S=e.locale,L=e.onClick,M=e.onMouseEnter,A=e.onTouchStart,_=e.legacyBehavior,P=void 0===_?!1==={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_NEW_LINK_BEHAVIOR:_,T=a(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,!P||"string"!==typeof n&&"number"!==typeof n||(n=o.default.createElement("a",null,n));var R,I=!1!==C,N=o.default.useContext(d.RouterContext),O=o.default.useContext(h.AppRouterContext),j=null!=N?N:O,F=!N,V=o.default.useMemo((function(){if(!N){var e=b(i);return{href:e,as:l?b(l):e}}var t=s.resolveHref(N,i,!0),n=r(t,2),a=n[0],o=n[1];return{href:a,as:l?s.resolveHref(N,l):o||a}}),[N,i,l]),B=V.href,H=V.as,D=o.default.useRef(B),z=o.default.useRef(H);if(P)R=o.default.Children.only(n);else;var U=P?R&&"object"===typeof R&&R.ref:t,Z=p.useIntersection({rootMargin:"200px"}),W=r(Z,3),G=W[0],q=W[1],K=W[2],Q=o.default.useCallback((function(e){z.current===H&&D.current===B||(K(),z.current=H,D.current=B),G(e),U&&("function"===typeof U?U(e):"object"===typeof U&&(U.current=e))}),[H,U,B,K,G]);o.default.useEffect((function(){j&&q&&I&&y(j,B,H,{locale:S},F)}),[H,B,q,S,I,null==N?void 0:N.locale,j,F]);var Y={ref:Q,onClick:function(e){P||"function"!==typeof L||L(e),P&&R.props&&"function"===typeof R.props.onClick&&R.props.onClick(e),j&&(e.defaultPrevented||function(e,t,n,r,i,a,s,l,c,f){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(c||u.isLocalURL(n))){e.preventDefault();var d=function(){"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:a,locale:l,scroll:s}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};c?o.default.startTransition(d):d()}}(e,j,B,H,w,k,E,S,F,I))},onMouseEnter:function(e){P||"function"!==typeof M||M(e),P&&R.props&&"function"===typeof R.props.onMouseEnter&&R.props.onMouseEnter(e),j&&(!I&&F||y(j,B,H,{locale:S,priority:!0,bypassPrefetchedCheck:!0},F))},onTouchStart:function(e){P||"function"!==typeof A||A(e),P&&R.props&&"function"===typeof R.props.onTouchStart&&R.props.onTouchStart(e),j&&(!I&&F||y(j,B,H,{locale:S,priority:!0,bypassPrefetchedCheck:!0},F))}};if(c.isAbsoluteUrl(H))Y.href=H;else if(!P||x||"a"===R.type&&!("href"in R.props)){var J="undefined"!==typeof S?S:null==N?void 0:N.locale,X=(null==N?void 0:N.isLocaleDomain)&&v.getDomainLocale(H,J,null==N?void 0:N.locales,null==N?void 0:N.domainLocales);Y.href=X||m.addBasePath(f.addLocale(H,J,null==N?void 0:N.defaultLocale))}return P?o.default.cloneElement(R,Y):o.default.createElement("a",Object.assign({},T,Y),n)}));t.default=C,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5053:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=void 0;t.normalizeLocalePath=function(e,t){return{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_I18N_SUPPORT?n(8550).h(e,t):{pathname:e,detectedLocale:void 0}},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathTrailingSlash=void 0;var r=n(714),i=n(6678);t.normalizePathTrailingSlash=function(e){if(!e.startsWith("/")||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_MANUAL_TRAILING_SLASH)return e;var t=i.parsePath(e),n=t.pathname,a=t.query,o=t.hash;return{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(n)?"".concat(r.removeTrailingSlash(n)).concat(a).concat(o):n.endsWith("/")?"".concat(n).concat(a).concat(o):"".concat(n,"/").concat(a).concat(o):"".concat(r.removeTrailingSlash(n)).concat(a).concat(o)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3914:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;var n="undefined"!==typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){var t=Date.now();return self.setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};t.requestIdleCallback=n;var r="undefined"!==typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};t.cancelIdleCallback=r,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8206:function(e,t,n){"use strict";var r=n(8371).default;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,l=e.disabled||!o,c=i.useState(!1),f=r(c,2),d=f[0],h=f[1],p=i.useRef(null),v=i.useCallback((function(e){p.current=e}),[]);i.useEffect((function(){if(o){if(l||d)return;var e=p.current;if(e&&e.tagName){var r=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=u.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=s.get(r)))return t;var i=new Map,a=new IntersectionObserver((function(e){e.forEach((function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:a,elements:i},u.push(n),s.set(n,t),t}(n),i=r.id,a=r.observer,o=r.elements;return o.set(e,t),a.observe(e),function(){if(o.delete(e),a.unobserve(e),0===o.size){a.disconnect(),s.delete(i);var t=u.findIndex((function(e){return e.root===i.root&&e.margin===i.margin}));t>-1&&u.splice(t,1)}}}(e,(function(e){return e&&h(e)}),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!d){var i=a.requestIdleCallback((function(){return h(!0)}));return function(){return a.cancelIdleCallback(i)}}}),[l,n,t,d,p.current]);var m=i.useCallback((function(){h(!1)}),[]);return[v,d,m]};var i=n(5535),a=n(3914),o="function"===typeof IntersectionObserver,s=new Map,u=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=t.CacheStates=void 0;var r,i=(0,n(5002).Z)(n(5535));t.CacheStates=r,function(e){e.LAZY_INITIALIZED="LAZYINITIALIZED",e.DATA_FETCH="DATAFETCH",e.READY="READY"}(r||(t.CacheStates=r={}));var a=i.default.createContext(null);t.AppRouterContext=a;var o=i.default.createContext(null);t.LayoutRouterContext=o;var s=i.default.createContext(null);t.GlobalLayoutRouterContext=s;var u=i.default.createContext(null);t.TemplateContext=u},4961:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){if(n.test(e))return e.replace(r,"\\$&");return e};var n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g},5698:function(e,t,n){"use strict";var r=n(4759).default;Object.defineProperty(t,"__esModule",{value:!0}),t.detectDomainLocale=function(e,t,n){if(!e)return;n&&(n=n.toLowerCase());var i,a=r(e);try{for(a.s();!(i=a.n()).done;){var o,s,u=i.value;if(t===(null==(o=u.domain)?void 0:o.split(":")[0].toLowerCase())||n===u.defaultLocale.toLowerCase()||(null==(s=u.locales)?void 0:s.some((function(e){return e.toLowerCase()===n}))))return u}}catch(l){a.e(l)}finally{a.f()}}},8550:function(e,t){"use strict";t.h=function(e,t){var n,r=e.split("/");return(t||[]).some((function(t){return!(!r[1]||r[1].toLowerCase()!==t.toLowerCase())&&(n=t,r.splice(1,1),e=r.join("/")||"/",!0)})),{pathname:e,detectedLocale:n}}},9907:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;var r=(0,n(5002).Z)(n(5535)).default.createContext(null);t.RouterContext=r},451:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,n,a){if(!t||t===n)return e;var o=e.toLowerCase();if(!a){if(i.pathHasPrefix(o,"/api"))return e;if(i.pathHasPrefix(o,"/".concat(t.toLowerCase())))return e}return r.addPathPrefix(e,"/".concat(t))};var r=n(2691),i=n(6223)},2691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;var n=r.parsePath(e),i=n.pathname,a=n.query,o=n.hash;return"".concat(t).concat(i).concat(a).concat(o)};var r=n(6678)},8174:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=a,t.formatWithValidation=function(e){0;return a(e)},t.urlObjectKeys=void 0;var r=(0,n(4929).Z)(n(1874)),i=/https?|ftp|gopher|file/;function a(e){var t=e.auth,n=e.hostname,a=e.protocol||"",o=e.pathname||"",s=e.hash||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:n&&(l=t+(~n.indexOf(":")?"[".concat(n,"]"):n),e.port&&(l+=":"+e.port)),u&&"object"===typeof u&&(u=String(r.urlQueryToSearchParams(u)));var c=e.search||u&&"?".concat(u)||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||i.test(a))&&!1!==l?(l="//"+(l||""),o&&"/"!==o[0]&&(o="/"+o)):l||(l=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),"".concat(a).concat(l).concat(o).concat(c).concat(s)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},4498:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateAs=function(e,t,n){var a="",o=i.getRouteRegex(e),s=o.groups,u=(t!==e?r.getRouteMatcher(o)(t):"")||n;a=e;var l=Object.keys(s);l.every((function(e){var t=u[e]||"",n=s[e],r=n.repeat,i=n.optional,o="[".concat(r?"...":"").concat(e,"]");return i&&(o="".concat(t?"":"/","[").concat(o,"]")),r&&!Array.isArray(t)&&(t=[t]),(i||e in u)&&(a=a.replace(o,r?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(a="");return{params:l,result:a}};var r=n(8966),i=n(7892)},3519:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return n.test(e)};var n=/\/\[[^/]+?\](?=\/|$)/},568:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLocalURL=function(e){if(!r.isAbsoluteUrl(e))return!0;try{var t=r.getLocationOrigin(),n=new URL(e,t);return n.origin===t&&i.hasBasePath(n.pathname)}catch(a){return!1}};var r=n(5964),i=n(8736)},6923:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.omit=function(e,t){var n={};return Object.keys(e).forEach((function(r){t.includes(r)||(n[r]=e[r])})),n}},6678:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){var t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n<t);if(r||t>-1)return{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""};return{pathname:e,query:"",hash:""}}},6223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!==typeof e)return!1;var n=r.parsePath(e).pathname;return n===t||n.startsWith(t+"/")};var r=n(6678)},1874:function(e,t,n){"use strict";var r=n(8371).default;function i(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach((function(e,n){"undefined"===typeof t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var n=r(e,2),a=n[0],o=n[1];Array.isArray(o)?o.forEach((function(e){return t.append(a,i(e))})):t.set(a,i(o))})),t},t.assign=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach((function(t){Array.from(t.keys()).forEach((function(t){return e.delete(t)})),t.forEach((function(t,n){return e.append(n,t)}))})),e}},714:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=function(e){return e.replace(/\/$/,"")||"/"}},3395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveHref=function(e,t,n){var f,d="string"===typeof t?t:i.formatWithValidation(t),h=d.match(/^[a-zA-Z]{1,}:\/\//),p=h?d.slice(h[0].length):d;if((p.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '".concat(d,"' passed to next/router in page: '").concat(e.pathname,"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href."));var v=o.normalizeRepeatedSlashes(p);d=(h?h[0]:"")+v}if(!u.isLocalURL(d))return n?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(k){f=new URL("/","http://n")}try{var m=new URL(d,f);m.pathname=s.normalizePathTrailingSlash(m.pathname);var g="";if(l.isDynamicRoute(m.pathname)&&m.searchParams&&n){var y=r.searchParamsToUrlQuery(m.searchParams),b=c.interpolateAs(m.pathname,m.pathname,y),C=b.result,x=b.params;C&&(g=i.formatWithValidation({pathname:C,hash:m.hash,query:a.omit(y,x)}))}var w=m.origin===f.origin?m.href.slice(m.origin.length):m.href;return n?[w,g||w]:w}catch(E){return n?[d]:d}};var r=n(1874),i=n(8174),a=n(6923),o=n(5964),s=n(5249),u=n(568),l=n(3519),c=n(4498)},8966:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){var t=e.re,n=e.groups;return function(e){var i=t.exec(e);if(!i)return!1;var a=function(e){try{return decodeURIComponent(e)}catch(t){throw new r.DecodeError("failed to decode param")}},o={};return Object.keys(n).forEach((function(e){var t=n[e],r=i[t.pos];void 0!==r&&(o[e]=~r.indexOf("/")?r.split("/").map((function(e){return a(e)})):t.repeat?[a(r)]:a(r))})),o}};var r=n(5964)},7892:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteRegex=l,t.getNamedRouteRegex=function(e,t){var n=c(e,t);return r({},l(e),{namedRegex:"^".concat(n.namedParameterizedRoute,"(?:/)?$"),routeKeys:n.routeKeys})},t.getNamedMiddlewareRegex=function(e,t){var n=u(e).parameterizedRoute,r=t.catchAll,i=void 0===r||r;if("/"===n){return{namedRegex:"^/".concat(i?".*":"","$")}}var a=c(e,!1).namedParameterizedRoute,o=i?"(?:(/.*)?)":"";return{namedRegex:"^".concat(a).concat(o,"$")}};var r=n(3174).Z,i=n(4961),a=n(714),o="nextParam";function s(e){var t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));var n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function u(e){var t=a.removeTrailingSlash(e).slice(1).split("/"),n={},r=1;return{parameterizedRoute:t.map((function(e){if(e.startsWith("[")&&e.endsWith("]")){var t=s(e.slice(1,-1)),a=t.key,o=t.optional,u=t.repeat;return n[a]={pos:r++,repeat:u,optional:o},u?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}return"/".concat(i.escapeStringRegexp(e))})).join(""),groups:n}}function l(e){var t=u(e),n=t.parameterizedRoute,r=t.groups;return{re:new RegExp("^".concat(n,"(?:/)?$")),groups:r}}function c(e,t){var n=a.removeTrailingSlash(e).slice(1).split("/"),r=function(){var e=97,t=1;return function(){for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e),++e>122&&(t++,e=97);return n}}(),u={};return{namedParameterizedRoute:n.map((function(e){if(e.startsWith("[")&&e.endsWith("]")){var n=s(e.slice(1,-1)),a=n.key,l=n.optional,c=n.repeat,f=a.replace(/\W/g,""),d=!1;return(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=r()),t?(f="".concat(o).concat(f),u[f]="".concat(o).concat(a)):u[f]="".concat(a),c?l?"(?:/(?<".concat(f,">.+?))?"):"/(?<".concat(f,">.+?)"):"/(?<".concat(f,">[^/]+?)")}return"/".concat(i.escapeStringRegexp(e))})).join(""),routeKeys:u}}},5964:function(e,t,n){"use strict";var r=n(1023).default,i=n(2638).default,a=n(126).default,o=n(2077).default,s=n(7164).default,u=n(9649).default;Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,n=!1;return function(){return n||(n=!0,t=e.apply(void 0,arguments)),t}},t.getLocationOrigin=f,t.getURL=function(){var e=window.location.href,t=f();return e.substring(t.length)},t.getDisplayName=d,t.isResSent=h,t.normalizeRepeatedSlashes=function(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=p,t.ST=t.SP=t.isAbsoluteUrl=t.WEB_VITALS=void 0;var l=n(7740).Z;t.WEB_VITALS=["CLS","FCP","FID","INP","LCP","TTFB"];var c=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;function f(){var e=window.location,t=e.protocol,n=e.hostname,r=e.port;return"".concat(t,"//").concat(n).concat(r?":"+r:"")}function d(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function h(e){return e.finished||e.headersSent}function p(e,t){return v.apply(this,arguments)}function v(){return(v=l(u().mark((function e(t,n){var r,i,a;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=4;break;case 4:if(r=n.res||n.ctx&&n.ctx.res,t.getInitialProps){e.next=12;break}if(!n.ctx||!n.Component){e.next=11;break}return e.next=9,p(n.Component,n.ctx);case 9:return e.t0=e.sent,e.abrupt("return",{pageProps:e.t0});case 11:return e.abrupt("return",{});case 12:return e.next=14,t.getInitialProps(n);case 14:if(i=e.sent,!r||!h(r)){e.next=17;break}return e.abrupt("return",i);case 17:if(i){e.next=20;break}throw a='"'.concat(d(t),'.getInitialProps()" should resolve to an object. But found "').concat(i,'" instead.'),new Error(a);case 20:return e.abrupt("return",i);case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.isAbsoluteUrl=function(e){return c.test(e)};var m="undefined"!==typeof performance;t.SP=m;var g=m&&["mark","measure","getEntriesByName"].every((function(e){return"function"===typeof performance[e]}));t.ST=g;var y=function(e){a(n,e);var t=o(n);function n(){return i(this,n),t.apply(this,arguments)}return r(n)}(s(Error));t.DecodeError=y;var b=function(e){a(n,e);var t=o(n);function n(){return i(this,n),t.apply(this,arguments)}return r(n)}(s(Error));t.NormalizeError=b;var C=function(e){a(n,e);var t=o(n);function n(e){var r;return i(this,n),(r=t.call(this)).code="ENOENT",r.name="PageNotFoundError",r.message="Cannot find module for page: ".concat(e),r}return r(n)}(s(Error));t.PageNotFoundError=C;var x=function(e){a(n,e);var t=o(n);function n(e,r){var a;return i(this,n),(a=t.call(this)).message="Failed to load static file for page: ".concat(e," ").concat(r),a}return r(n)}(s(Error));t.MissingStaticPage=x;var w=function(e){a(n,e);var t=o(n);function n(){var e;return i(this,n),(e=t.call(this)).code="ENOENT",e.message="Cannot find the middleware module",e}return r(n)}(s(Error));t.MiddlewareNotFoundError=w},3164:function(e,t,n){e.exports=n(2159)},7740:function(e,t){"use strict";function n(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var o=e.apply(t,r);function s(e){n(o,i,a,s,u,"next",e)}function u(e){n(o,i,a,s,u,"throw",e)}s(void 0)}))}}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},3174:function(e,t){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}function r(){return n.apply(this,arguments)}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},5002:function(e,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},4929:function(e,t){"use strict";function n(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function r(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,r&&r.set(e,i),i}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},3635:function(e,t){"use strict";function n(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},9838:function(e,t,n){"use strict";var r=n(5535),i=n(9793);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,s={};function u(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function v(e,t,n,r,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=m.hasOwnProperty(t)?m[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!f.call(p,e)||!f.call(h,e)&&(d.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),w=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),M=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var I=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function O(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=N&&e[N]||e["@@iterator"])?e:null}var j,F=Object.assign;function V(e){if(void 0===j)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var B=!1;function H(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var i=l.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do{if(o--,0>--s||i[o]!==a[s]){var u="\n"+i[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=o&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V(e):""}function D(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 1:return e=H(e.type,!0);default:return""}}function z(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case w:return"Portal";case S:return"Profiler";case E:return"StrictMode";case _:return"Suspense";case P:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case L:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:z(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return z(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return z(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Z(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){J(e,t);var n=Z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function $(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Z(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Z(n)}}function ae(e,t){var n=Z(t.value),r=Z(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ge=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,ke=null,Ee=null;function Se(e){if(e=bi(e)){if("function"!==typeof we)throw Error(a(280));var t=e.stateNode;t&&(t=xi(t),we(e.stateNode,e.type,t))}}function Le(e){ke?Ee?Ee.push(e):Ee=[e]:ke=e}function Me(){if(ke){var e=ke,t=Ee;if(Ee=ke=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Ae(e,t){return e(t)}function _e(){}var Pe=!1;function Te(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Ae(e,t,n)}finally{Pe=!1,(null!==ke||null!==Ee)&&(_e(),Me())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=xi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Ie=!1;if(c)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){Ie=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch(ce){Ie=!1}function Oe(e,t,n,r,i,a,o,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var je=!1,Fe=null,Ve=!1,Be=null,He={onError:function(e){je=!0,Fe=e}};function De(e,t,n,r,i,a,o,s,u){je=!1,Fe=null,Oe.apply(He,arguments)}function ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(ze(e)!==e)throw Error(a(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Ze(i),e;if(o===r)return Ze(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var qe=i.unstable_scheduleCallback,Ke=i.unstable_cancelCallback,Qe=i.unstable_shouldYield,Ye=i.unstable_requestPaint,Je=i.unstable_now,Xe=i.unstable_getCurrentPriorityLevel,$e=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,at=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var lt=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var s=o&~i;0!==s?r=ft(s):0!==(a&=o)&&(r=ft(a))}else 0!==(o=n&~i)?r=ft(o):0!==a&&(r=ft(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&0!==(4194240&a)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-ot(t)),r|=e[n],t&=~i;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=lt;return 0===(4194240&(lt<<=1))&&(lt=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function Ct(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,wt,kt,Et,St,Lt=!1,Mt=[],At=null,_t=null,Pt=null,Tt=new Map,Rt=new Map,It=[],Nt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ot(e,t){switch(e){case"focusin":case"focusout":At=null;break;case"dragenter":case"dragleave":_t=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function jt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&wt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Ft(e){var t=yi(e.target);if(null!==t){var n=ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void St(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ce=r,n.target.dispatchEvent(r),Ce=null,t.shift()}return!0}function Bt(e,t,n){Vt(e)&&n.delete(t)}function Ht(){Lt=!1,null!==At&&Vt(At)&&(At=null),null!==_t&&Vt(_t)&&(_t=null),null!==Pt&&Vt(Pt)&&(Pt=null),Tt.forEach(Bt),Rt.forEach(Bt)}function Dt(e,t){e.blockedOn===t&&(e.blockedOn=null,Lt||(Lt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ht)))}function zt(e){function t(t){return Dt(t,e)}if(0<Mt.length){Dt(Mt[0],e);for(var n=1;n<Mt.length;n++){var r=Mt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==At&&Dt(At,e),null!==_t&&Dt(_t,e),null!==Pt&&Dt(Pt,e),Tt.forEach(t),Rt.forEach(t),n=0;n<It.length;n++)(r=It[n]).blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&null===(n=It[0]).blockedOn;)Ft(n),null===n.blockedOn&&It.shift()}var Ut=C.ReactCurrentBatchConfig,Zt=!0;function Wt(e,t,n,r){var i=bt,a=Ut.transition;Ut.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=i,Ut.transition=a}}function Gt(e,t,n,r){var i=bt,a=Ut.transition;Ut.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=i,Ut.transition=a}}function qt(e,t,n,r){if(Zt){var i=Qt(e,t,n,r);if(null===i)Zr(e,t,r,Kt,n),Ot(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return At=jt(At,e,t,n,r,i),!0;case"dragenter":return _t=jt(_t,e,t,n,r,i),!0;case"mouseover":return Pt=jt(Pt,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Tt.set(a,jt(Tt.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Rt.set(a,jt(Rt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Ot(e,r),4&t&&-1<Nt.indexOf(e)){for(;null!==i;){var a=bi(i);if(null!==a&&xt(a),null===(a=Qt(e,t,n,r))&&Zr(e,t,r,Kt,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Zr(e,t,r,null,n)}}var Kt=null;function Qt(e,t,n,r){if(Kt=null,null!==(e=yi(e=xe(r))))if(null===(t=ze(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case $e:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Jt=null,Xt=null,$t=null;function en(){if($t)return $t;var e,t,n=Xt,r=n.length,i="value"in Jt?Jt.value:Jt.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return $t=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,un,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(ln),fn=F({},ln,{view:0,detail:0}),dn=an(fn),hn=F({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(on=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=on=0,un=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=an(hn),vn=an(F({},hn,{dataTransfer:0})),mn=an(F({},fn,{relatedTarget:0})),gn=an(F({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=F({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(yn),Cn=an(F({},ln,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function Sn(){return En}var Ln=F({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Mn=an(Ln),An=an(F({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),_n=an(F({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),Pn=an(F({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=F({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rn=an(Tn),In=[9,13,27,32],Nn=c&&"CompositionEvent"in window,On=null;c&&"documentMode"in document&&(On=document.documentMode);var jn=c&&"TextEvent"in window&&!On,Fn=c&&(!Nn||On&&8<On&&11>=On),Vn=String.fromCharCode(32),Bn=!1;function Hn(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var zn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Wn(e,t,n,r){Le(r),0<(t=Gr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,qn=null;function Kn(e){Vr(e,0)}function Qn(e){if(q(Ci(e)))return e}function Yn(e,t){if("change"===e)return t}var Jn=!1;if(c){var Xn;if(c){var $n="oninput"in document;if(!$n){var er=document.createElement("div");er.setAttribute("oninput","return;"),$n="function"===typeof er.oninput}Xn=$n}else Xn=!1;Jn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Gn&&(Gn.detachEvent("onpropertychange",nr),qn=Gn=null)}function nr(e){if("value"===e.propertyName&&Qn(qn)){var t=[];Wn(t,qn,e,xe(e)),Te(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Gn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(qn)}function ar(e,t){if("click"===e)return Qn(t)}function or(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!f.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=cr(n,a);var o=cr(n,r);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,gr=null,yr=null,br=!1;function Cr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==K(r)||("selectionStart"in(r=mr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Gr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},kr={},Er={};function Sr(e){if(kr[e])return kr[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return kr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var Lr=Sr("animationend"),Mr=Sr("animationiteration"),Ar=Sr("animationstart"),_r=Sr("transitionend"),Pr=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rr(e,t){Pr.set(e,t),u(t,[e])}for(var Ir=0;Ir<Tr.length;Ir++){var Nr=Tr[Ir];Rr(Nr.toLowerCase(),"on"+(Nr[0].toUpperCase()+Nr.slice(1)))}Rr(Lr,"onAnimationEnd"),Rr(Mr,"onAnimationIteration"),Rr(Ar,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(_r,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Or="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Or));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,u,l){if(De.apply(this,arguments),je){if(!je)throw Error(a(198));var c=Fe;je=!1,Fe=null,Ve||(Ve=!0,Be=c)}}(r,t,void 0,e),e.currentTarget=null}function Vr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==a&&i.isPropagationStopped())break e;Fr(i,s,l),a=u}else for(o=0;o<r.length;o++){if(u=(s=r[o]).instance,l=s.currentTarget,s=s.listener,u!==a&&i.isPropagationStopped())break e;Fr(i,s,l),a=u}}}if(Ve)throw e=Be,Ve=!1,Be=null,e}function Br(e,t){var n=t[vi];void 0===n&&(n=t[vi]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Hr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Dr="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[Dr]){e[Dr]=!0,o.forEach((function(t){"selectionchange"!==t&&(jr.has(t)||Hr(t,!1,e),Hr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Dr]||(t[Dr]=!0,Hr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Yt(t)){case 1:var i=Wt;break;case 4:i=Gt;break;default:i=qt}n=i.bind(null,t,n,e),i=void 0,!Ie||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Zr(e,t,n,r,i){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var u=o.tag;if((3===u||4===u)&&((u=o.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=yi(s)))return;if(5===(u=o.tag)||6===u){r=a=o;continue e}s=s.parentNode}}r=r.return}Te((function(){var r=a,i=xe(n),o=[];e:{var s=Pr.get(e);if(void 0!==s){var u=cn,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Mn;break;case"focusin":l="focus",u=mn;break;case"focusout":l="blur",u=mn;break;case"beforeblur":case"afterblur":u=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=_n;break;case Lr:case Mr:case Ar:u=gn;break;case _r:u=Pn;break;case"scroll":u=dn;break;case"wheel":u=Rn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=An}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=r;null!==p;){var v=(h=p).stateNode;if(5===h.tag&&null!==v&&(h=v,null!==d&&(null!=(v=Re(p,d))&&c.push(Wr(p,v,h)))),f)break;p=p.return}0<c.length&&(s=new u(s,l,null,n,i),o.push({event:s,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ce||!(l=n.relatedTarget||n.fromElement)||!yi(l)&&!l[pi])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(l=(l=n.relatedTarget||n.toElement)?yi(l):null)&&(l!==(f=ze(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(u=null,l=r),u!==l)){if(c=pn,v="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=An,v="onPointerLeave",d="onPointerEnter",p="pointer"),f=null==u?s:Ci(u),h=null==l?s:Ci(l),(s=new c(v,p+"leave",u,n,i)).target=f,s.relatedTarget=h,v=null,yi(i)===r&&((c=new c(d,p+"enter",l,n,i)).target=h,c.relatedTarget=f,v=c),f=v,u&&l)e:{for(d=l,p=0,h=c=u;h;h=qr(h))p++;for(h=0,v=d;v;v=qr(v))h++;for(;0<p-h;)c=qr(c),p--;for(;0<h-p;)d=qr(d),h--;for(;p--;){if(c===d||null!==d&&c===d.alternate)break e;c=qr(c),d=qr(d)}c=null}else c=null;null!==u&&Kr(o,s,u,c,!1),null!==l&&null!==f&&Kr(o,f,l,c,!0)}if("select"===(u=(s=r?Ci(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var m=Yn;else if(Zn(s))if(Jn)m=or;else{m=ir;var g=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=ar);switch(m&&(m=m(e,r))?Wn(o,m,n,i):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?Ci(r):window,e){case"focusin":(Zn(g)||"true"===g.contentEditable)&&(mr=g,gr=r,yr=null);break;case"focusout":yr=gr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,Cr(o,n,i);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":Cr(o,n,i)}var y;if(Nn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else zn?Hn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(zn||"onCompositionStart"!==b?"onCompositionEnd"===b&&zn&&(y=en()):(Xt="value"in(Jt=i)?Jt.value:Jt.textContent,zn=!0)),0<(g=Gr(r,b)).length&&(b=new Cn(b,e,null,n,i),o.push({event:b,listeners:g}),y?b.data=y:null!==(y=Dn(n))&&(b.data=y))),(y=jn?function(e,t){switch(e){case"compositionend":return Dn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Vn);case"textInput":return(e=t.data)===Vn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(zn)return"compositionend"===e||!Nn&&Hn(e,t)?(e=en(),$t=Xt=Jt=null,zn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(i=new Cn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=y))}Vr(o,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=Re(e,n))&&r.unshift(Wr(e,a,i)),null!=(a=Re(e,t))&&r.push(Wr(e,a,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,u=s.alternate,l=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==l&&(s=l,i?null!=(u=Re(n,a))&&o.unshift(Wr(n,u,s)):i||null!=(u=Re(n,a))&&o.push(Wr(n,u,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Jr(e){return("string"===typeof e?e:""+e).replace(Qr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Jr(t),Jr(e)!==t&&n)throw Error(a(425))}function $r(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,ai="function"===typeof Promise?Promise:void 0,oi="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ai?function(e){return ai.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout((function(){throw e}))}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void zt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);zt(t)}function li(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),di="__reactFiber$"+fi,hi="__reactProps$"+fi,pi="__reactContainer$"+fi,vi="__reactEvents$"+fi,mi="__reactListeners$"+fi,gi="__reactHandles$"+fi;function yi(e){var t=e[di];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[di]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[di])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[di]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ci(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xi(e){return e[hi]||null}var wi=[],ki=-1;function Ei(e){return{current:e}}function Si(e){0>ki||(e.current=wi[ki],wi[ki]=null,ki--)}function Li(e,t){ki++,wi[ki]=e.current,e.current=t}var Mi={},Ai=Ei(Mi),_i=Ei(!1),Pi=Mi;function Ti(e,t){var n=e.type.contextTypes;if(!n)return Mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ri(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ii(){Si(_i),Si(Ai)}function Ni(e,t,n){if(Ai.current!==Mi)throw Error(a(168));Li(Ai,t),Li(_i,n)}function Oi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(a(108,U(e)||"Unknown",i));return F({},n,r)}function ji(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mi,Pi=Ai.current,Li(Ai,e),Li(_i,_i.current),!0}function Fi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Oi(e,t,Pi),r.__reactInternalMemoizedMergedChildContext=e,Si(_i),Si(Ai),Li(Ai,e)):Si(_i),Li(_i,n)}var Vi=null,Bi=!1,Hi=!1;function Di(e){null===Vi?Vi=[e]:Vi.push(e)}function zi(){if(!Hi&&null!==Vi){Hi=!0;var e=0,t=bt;try{var n=Vi;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Vi=null,Bi=!1}catch(i){throw null!==Vi&&(Vi=Vi.slice(e+1)),qe($e,zi),i}finally{bt=t,Hi=!1}}return null}var Ui=[],Zi=0,Wi=null,Gi=0,qi=[],Ki=0,Qi=null,Yi=1,Ji="";function Xi(e,t){Ui[Zi++]=Gi,Ui[Zi++]=Wi,Wi=e,Gi=t}function $i(e,t,n){qi[Ki++]=Yi,qi[Ki++]=Ji,qi[Ki++]=Qi,Qi=e;var r=Yi;e=Ji;var i=32-ot(r)-1;r&=~(1<<i),n+=1;var a=32-ot(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Yi=1<<32-ot(t)+i|n<<i|r,Ji=a+e}else Yi=1<<a|n<<i|r,Ji=e}function ea(e){null!==e.return&&(Xi(e,1),$i(e,1,0))}function ta(e){for(;e===Wi;)Wi=Ui[--Zi],Ui[Zi]=null,Gi=Ui[--Zi],Ui[Zi]=null;for(;e===Qi;)Qi=qi[--Ki],qi[Ki]=null,Ji=qi[--Ki],qi[Ki]=null,Yi=qi[--Ki],qi[Ki]=null}var na=null,ra=null,ia=!1,aa=null;function oa(e,t){var n=Rl(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,na=e,ra=li(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,na=e,ra=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qi?{id:Yi,overflow:Ji}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Rl(18,null,null,0)).stateNode=t,n.return=e,e.child=n,na=e,ra=null,!0);default:return!1}}function ua(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function la(e){if(ia){var t=ra;if(t){var n=t;if(!sa(e,t)){if(ua(e))throw Error(a(418));t=li(n.nextSibling);var r=na;t&&sa(e,t)?oa(r,n):(e.flags=-4097&e.flags|2,ia=!1,na=e)}}else{if(ua(e))throw Error(a(418));e.flags=-4097&e.flags|2,ia=!1,na=e}}}function ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;na=e}function fa(e){if(e!==na)return!1;if(!ia)return ca(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ra)){if(ua(e))throw da(),Error(a(418));for(;t;)oa(e,t),t=li(t.nextSibling)}if(ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ra=li(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ra=null}}else ra=na?li(e.stateNode.nextSibling):null;return!0}function da(){for(var e=ra;e;)e=li(e.nextSibling)}function ha(){ra=na=null,ia=!1}function pa(e){null===aa?aa=[e]:aa.push(e)}var va=C.ReactCurrentBatchConfig;function ma(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ga=Ei(null),ya=null,ba=null,Ca=null;function xa(){Ca=ba=ya=null}function wa(e){var t=ga.current;Si(ga),e._currentValue=t}function ka(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ea(e,t){ya=e,Ca=ba=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Cs=!0),e.firstContext=null)}function Sa(e){var t=e._currentValue;if(Ca!==e)if(e={context:e,memoizedValue:t,next:null},null===ba){if(null===ya)throw Error(a(308));ba=e,ya.dependencies={lanes:0,firstContext:e}}else ba=ba.next=e;return t}var La=null;function Ma(e){null===La?La=[e]:La.push(e)}function Aa(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Ma(t)):(n.next=i.next,i.next=n),t.interleaved=n,_a(e,r)}function _a(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pa=!1;function Ta(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ra(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ia(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Na(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&_u)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,_a(e,n)}return null===(i=r.interleaved)?(t.next=t,Ma(r)):(t.next=i.next,i.next=t),r.interleaved=t,_a(e,n)}function Oa(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function ja(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fa(e,t,n,r){var i=e.updateQueue;Pa=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var u=s,l=u.next;u.next=null,null===o?a=l:o.next=l,o=u;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(null!==a){var f=i.baseState;for(o=0,c=l=u=null,s=a;;){var d=s.lane,h=s.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,v=s;switch(d=t,h=n,v.tag){case 1:if("function"===typeof(p=v.payload)){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(d="function"===typeof(p=v.payload)?p.call(h,f,d):p)||void 0===d)break e;f=F({},f,d);break e;case 2:Pa=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(l=c=h,u=f):c=c.next=h,o|=d;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(d=s).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===c&&(u=f),i.baseState=u,i.firstBaseUpdate=l,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{o|=i.lane,i=i.next}while(i!==t)}else null===a&&(i.shared.lanes=0);Fu|=o,e.lanes=o,e.memoizedState=f}}function Va(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(a(191,i));i.call(r)}}}var Ba=(new r.Component).refs;function Ha(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Da={isMounted:function(e){return!!(e=e._reactInternals)&&ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tl(),i=nl(e),a=Ia(r,i);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Na(e,a,i))&&(rl(t,e,i,r),Oa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tl(),i=nl(e),a=Ia(r,i);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Na(e,a,i))&&(rl(t,e,i,r),Oa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tl(),r=nl(e),i=Ia(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Na(e,i,r))&&(rl(t,e,r,n),Oa(t,e,r))}};function za(e,t,n,r,i,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,a))}function Ua(e,t,n){var r=!1,i=Mi,a=t.contextType;return"object"===typeof a&&null!==a?a=Sa(a):(i=Ri(t)?Pi:Ai.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ti(e,i):Mi),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Da,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Za(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Da.enqueueReplaceState(t,t.state,null)}function Wa(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ba,Ta(e);var a=t.contextType;"object"===typeof a&&null!==a?i.context=Sa(a):(a=Ri(t)?Pi:Ai.current,i.context=Ti(e,a)),i.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(Ha(e,t,a,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Da.enqueueReplaceState(i,i.state,null),Fa(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function Ga(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=r,o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs;t===Ba&&(t=i.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function qa(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ka(e){return(0,e._init)(e._payload)}function Qa(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Nl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Vl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){var a=n.type;return a===k?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===R&&Ka(a)===t.type)?((r=i(t,n.props)).ref=Ga(e,t,n),r.return=e,r):((r=Ol(n.type,n.key,n.props,null,e.mode,r)).ref=Ga(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=jl(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Vl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Ol(t.type,t.key,t.props,null,e.mode,n)).ref=Ga(e,null,t),n.return=e,n;case w:return(t=Bl(t,e.mode,n)).return=e,t;case R:return d(e,(0,t._init)(t._payload),n)}if(te(t)||O(t))return(t=jl(t,e.mode,n,null)).return=e,t;qa(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===i?l(e,t,n,r):null;case w:return n.key===i?c(e,t,n,r):null;case R:return h(e,t,(i=n._init)(n._payload),r)}if(te(n)||O(n))return null!==i?null:f(e,t,n,r,null);qa(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case R:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||O(r))return f(t,e=e.get(n)||null,r,i,null);qa(t,r)}return null}function v(i,a,s,u){for(var l=null,c=null,f=a,v=a=0,m=null;null!==f&&v<s.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var g=h(i,f,s[v],u);if(null===g){null===f&&(f=m);break}e&&f&&null===g.alternate&&t(i,f),a=o(g,a,v),null===c?l=g:c.sibling=g,c=g,f=m}if(v===s.length)return n(i,f),ia&&Xi(i,v),l;if(null===f){for(;v<s.length;v++)null!==(f=d(i,s[v],u))&&(a=o(f,a,v),null===c?l=f:c.sibling=f,c=f);return ia&&Xi(i,v),l}for(f=r(i,f);v<s.length;v++)null!==(m=p(f,i,v,s[v],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=o(m,a,v),null===c?l=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(i,e)})),ia&&Xi(i,v),l}function m(i,s,u,l){var c=O(u);if("function"!==typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,v=s,m=s=0,g=null,y=u.next();null!==v&&!y.done;m++,y=u.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=h(i,v,y.value,l);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(i,v),s=o(b,s,m),null===f?c=b:f.sibling=b,f=b,v=g}if(y.done)return n(i,v),ia&&Xi(i,m),c;if(null===v){for(;!y.done;m++,y=u.next())null!==(y=d(i,y.value,l))&&(s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return ia&&Xi(i,m),c}for(v=r(i,v);!y.done;m++,y=u.next())null!==(y=p(v,i,m,y.value,l))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(i,e)})),ia&&Xi(i,m),c}return function e(r,a,o,u){if("object"===typeof o&&null!==o&&o.type===k&&null===o.key&&(o=o.props.children),"object"===typeof o&&null!==o){switch(o.$$typeof){case x:e:{for(var l=o.key,c=a;null!==c;){if(c.key===l){if((l=o.type)===k){if(7===c.tag){n(r,c.sibling),(a=i(c,o.props.children)).return=r,r=a;break e}}else if(c.elementType===l||"object"===typeof l&&null!==l&&l.$$typeof===R&&Ka(l)===c.type){n(r,c.sibling),(a=i(c,o.props)).ref=Ga(r,c,o),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}o.type===k?((a=jl(o.props.children,r.mode,u,o.key)).return=r,r=a):((u=Ol(o.type,o.key,o.props,null,r.mode,u)).ref=Ga(r,a,o),u.return=r,r=u)}return s(r);case w:e:{for(c=o.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===o.containerInfo&&a.stateNode.implementation===o.implementation){n(r,a.sibling),(a=i(a,o.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Bl(o,r.mode,u)).return=r,r=a}return s(r);case R:return e(r,a,(c=o._init)(o._payload),u)}if(te(o))return v(r,a,o,u);if(O(o))return m(r,a,o,u);qa(r,o)}return"string"===typeof o&&""!==o||"number"===typeof o?(o=""+o,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,o)).return=r,r=a):(n(r,a),(a=Vl(o,r.mode,u)).return=r,r=a),s(r)):n(r,a)}}var Ya=Qa(!0),Ja=Qa(!1),Xa={},$a=Ei(Xa),eo=Ei(Xa),to=Ei(Xa);function no(e){if(e===Xa)throw Error(a(174));return e}function ro(e,t){switch(Li(to,t),Li(eo,e),Li($a,Xa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Si($a),Li($a,t)}function io(){Si($a),Si(eo),Si(to)}function ao(e){no(to.current);var t=no($a.current),n=ue(t,e.type);t!==n&&(Li(eo,e),Li($a,n))}function oo(e){eo.current===e&&(Si($a),Si(eo))}var so=Ei(0);function uo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var lo=[];function co(){for(var e=0;e<lo.length;e++)lo[e]._workInProgressVersionPrimary=null;lo.length=0}var fo=C.ReactCurrentDispatcher,ho=C.ReactCurrentBatchConfig,po=0,vo=null,mo=null,go=null,yo=!1,bo=!1,Co=0,xo=0;function wo(){throw Error(a(321))}function ko(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Eo(e,t,n,r,i,o){if(po=o,vo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fo.current=null===e||null===e.memoizedState?ss:us,e=n(r,i),bo){o=0;do{if(bo=!1,Co=0,25<=o)throw Error(a(301));o+=1,go=mo=null,t.updateQueue=null,fo.current=ls,e=n(r,i)}while(bo)}if(fo.current=os,t=null!==mo&&null!==mo.next,po=0,go=mo=vo=null,yo=!1,t)throw Error(a(300));return e}function So(){var e=0!==Co;return Co=0,e}function Lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===go?vo.memoizedState=go=e:go=go.next=e,go}function Mo(){if(null===mo){var e=vo.alternate;e=null!==e?e.memoizedState:null}else e=mo.next;var t=null===go?vo.memoizedState:go.next;if(null!==t)go=t,mo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(mo=e).memoizedState,baseState:mo.baseState,baseQueue:mo.baseQueue,queue:mo.queue,next:null},null===go?vo.memoizedState=go=e:go=go.next=e}return go}function Ao(e,t){return"function"===typeof t?t(e):t}function _o(e){var t=Mo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=mo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,r=r.baseState;var u=s=null,l=null,c=o;do{var f=c.lane;if((po&f)===f)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(u=l=d,s=r):l=l.next=d,vo.lanes|=f,Fu|=f}c=c.next}while(null!==c&&c!==o);null===l?s=r:l.next=u,sr(r,t.memoizedState)||(Cs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{o=i.lane,vo.lanes|=o,Fu|=o,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Po(e){var t=Mo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);sr(o,t.memoizedState)||(Cs=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function To(){}function Ro(e,t){var n=vo,r=Mo(),i=t(),o=!sr(r.memoizedState,i);if(o&&(r.memoizedState=i,Cs=!0),r=r.queue,Zo(Oo.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==go&&1&go.memoizedState.tag){if(n.flags|=2048,Bo(9,No.bind(null,n,r,i,t),void 0,null),null===Pu)throw Error(a(349));0!==(30&po)||Io(n,t,i)}return i}function Io(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=vo.updateQueue)?(t={lastEffect:null,stores:null},vo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function No(e,t,n,r){t.value=n,t.getSnapshot=r,jo(t)&&Fo(e)}function Oo(e,t,n){return n((function(){jo(t)&&Fo(e)}))}function jo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Fo(e){var t=_a(e,1);null!==t&&rl(t,e,1,-1)}function Vo(e){var t=Lo();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,vo,e),[t.memoizedState,e]}function Bo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=vo.updateQueue)?(t={lastEffect:null,stores:null},vo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ho(){return Mo().memoizedState}function Do(e,t,n,r){var i=Lo();vo.flags|=e,i.memoizedState=Bo(1|t,n,void 0,void 0===r?null:r)}function zo(e,t,n,r){var i=Mo();r=void 0===r?null:r;var a=void 0;if(null!==mo){var o=mo.memoizedState;if(a=o.destroy,null!==r&&ko(r,o.deps))return void(i.memoizedState=Bo(t,n,a,r))}vo.flags|=e,i.memoizedState=Bo(1|t,n,a,r)}function Uo(e,t){return Do(8390656,8,e,t)}function Zo(e,t){return zo(2048,8,e,t)}function Wo(e,t){return zo(4,2,e,t)}function Go(e,t){return zo(4,4,e,t)}function qo(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ko(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,zo(4,4,qo.bind(null,t,e),n)}function Qo(){}function Yo(e,t){var n=Mo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ko(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Jo(e,t){var n=Mo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ko(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xo(e,t,n){return 0===(21&po)?(e.baseState&&(e.baseState=!1,Cs=!0),e.memoizedState=n):(sr(n,t)||(n=vt(),vo.lanes|=n,Fu|=n,e.baseState=!0),t)}function $o(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ho.transition;ho.transition={};try{e(!1),t()}finally{bt=n,ho.transition=r}}function es(){return Mo().memoizedState}function ts(e,t,n){var r=nl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))is(t,n);else if(null!==(n=Aa(e,t,n,r))){rl(n,e,r,tl()),as(n,t,r)}}function ns(e,t,n){var r=nl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))is(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,o)){var u=t.interleaved;return null===u?(i.next=i,Ma(t)):(i.next=u.next,u.next=i),void(t.interleaved=i)}}catch(l){}null!==(n=Aa(e,t,i,r))&&(rl(n,e,r,i=tl()),as(n,t,r))}}function rs(e){var t=e.alternate;return e===vo||null!==t&&t===vo}function is(e,t){bo=yo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function as(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var os={readContext:Sa,useCallback:wo,useContext:wo,useEffect:wo,useImperativeHandle:wo,useInsertionEffect:wo,useLayoutEffect:wo,useMemo:wo,useReducer:wo,useRef:wo,useState:wo,useDebugValue:wo,useDeferredValue:wo,useTransition:wo,useMutableSource:wo,useSyncExternalStore:wo,useId:wo,unstable_isNewReconciler:!1},ss={readContext:Sa,useCallback:function(e,t){return Lo().memoizedState=[e,void 0===t?null:t],e},useContext:Sa,useEffect:Uo,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Do(4194308,4,qo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Do(4194308,4,e,t)},useInsertionEffect:function(e,t){return Do(4,2,e,t)},useMemo:function(e,t){var n=Lo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,vo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Lo().memoizedState=e},useState:Vo,useDebugValue:Qo,useDeferredValue:function(e){return Lo().memoizedState=e},useTransition:function(){var e=Vo(!1),t=e[0];return e=$o.bind(null,e[1]),Lo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vo,i=Lo();if(ia){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Pu)throw Error(a(349));0!==(30&po)||Io(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Uo(Oo.bind(null,r,o,e),[e]),r.flags|=2048,Bo(9,No.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Lo(),t=Pu.identifierPrefix;if(ia){var n=Ji;t=":"+t+"R"+(n=(Yi&~(1<<32-ot(Yi)-1)).toString(32)+n),0<(n=Co++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xo++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},us={readContext:Sa,useCallback:Yo,useContext:Sa,useEffect:Zo,useImperativeHandle:Ko,useInsertionEffect:Wo,useLayoutEffect:Go,useMemo:Jo,useReducer:_o,useRef:Ho,useState:function(){return _o(Ao)},useDebugValue:Qo,useDeferredValue:function(e){return Xo(Mo(),mo.memoizedState,e)},useTransition:function(){return[_o(Ao)[0],Mo().memoizedState]},useMutableSource:To,useSyncExternalStore:Ro,useId:es,unstable_isNewReconciler:!1},ls={readContext:Sa,useCallback:Yo,useContext:Sa,useEffect:Zo,useImperativeHandle:Ko,useInsertionEffect:Wo,useLayoutEffect:Go,useMemo:Jo,useReducer:Po,useRef:Ho,useState:function(){return Po(Ao)},useDebugValue:Qo,useDeferredValue:function(e){var t=Mo();return null===mo?t.memoizedState=e:Xo(t,mo.memoizedState,e)},useTransition:function(){return[Po(Ao)[0],Mo().memoizedState]},useMutableSource:To,useSyncExternalStore:Ro,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=D(r),r=r.return}while(r);var i=n}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:i,digest:null}}function fs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Ia(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wu||(Wu=!0,Gu=r),ds(0,t)},n}function vs(e,t,n){(n=Ia(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ds(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===qu?qu=new Set([this]):qu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Ll.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ia(-1,1)).tag=2,Na(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var bs=C.ReactCurrentOwner,Cs=!1;function xs(e,t,n,r){t.child=null===e?Ja(t,null,n,r):Ya(t,e.child,n,r)}function ws(e,t,n,r,i){n=n.render;var a=t.ref;return Ea(t,i),r=Eo(e,t,n,r,a,i),n=So(),null===e||Cs?(ia&&n&&ea(t),t.flags|=1,xs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function ks(e,t,n,r,i){if(null===e){var a=n.type;return"function"!==typeof a||Il(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ol(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Es(e,t,a,r,i))}if(a=e.child,0===(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(o,r)&&e.ref===t.ref)return Ws(e,t,i)}return t.flags|=1,(e=Nl(a,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(ur(a,r)&&e.ref===t.ref){if(Cs=!1,t.pendingProps=r=a,0===(e.lanes&i))return t.lanes=e.lanes,Ws(e,t,i);0!==(131072&e.flags)&&(Cs=!0)}}return Ms(e,t,n,r,i)}function Ss(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Li(Nu,Iu),Iu|=n;else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Li(Nu,Iu),Iu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Li(Nu,Iu),Iu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Li(Nu,Iu),Iu|=r;return xs(e,t,i,n),t.child}function Ls(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ms(e,t,n,r,i){var a=Ri(n)?Pi:Ai.current;return a=Ti(t,a),Ea(t,i),n=Eo(e,t,n,r,a,i),r=So(),null===e||Cs?(ia&&r&&ea(t),t.flags|=1,xs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function As(e,t,n,r,i){if(Ri(n)){var a=!0;ji(t)}else a=!1;if(Ea(t,i),null===t.stateNode)Zs(e,t),Ua(t,n,r),Wa(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var u=o.context,l=n.contextType;"object"===typeof l&&null!==l?l=Sa(l):l=Ti(t,l=Ri(n)?Pi:Ai.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;f||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==r||u!==l)&&Za(t,o,r,l),Pa=!1;var d=t.memoizedState;o.state=d,Fa(t,r,o,i),u=t.memoizedState,s!==r||d!==u||_i.current||Pa?("function"===typeof c&&(Ha(t,n,c,r),u=t.memoizedState),(s=Pa||za(t,n,s,r,d,u,l))?(f||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4194308)):("function"===typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=l,r=s):("function"===typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Ra(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ma(t.type,s),o.props=l,f=t.pendingProps,d=o.context,"object"===typeof(u=n.contextType)&&null!==u?u=Sa(u):u=Ti(t,u=Ri(n)?Pi:Ai.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==f||d!==u)&&Za(t,o,r,u),Pa=!1,d=t.memoizedState,o.state=d,Fa(t,r,o,i);var p=t.memoizedState;s!==f||d!==p||_i.current||Pa?("function"===typeof h&&(Ha(t,n,h,r),p=t.memoizedState),(l=Pa||za(t,n,l,r,d,p,u)||!1)?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,u),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,u)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=u,r=l):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return _s(e,t,n,r,a,i)}function _s(e,t,n,r,i,a){Ls(e,t);var o=0!==(128&t.flags);if(!r&&!o)return i&&Fi(t,n,!1),Ws(e,t,a);r=t.stateNode,bs.current=t;var s=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,s,a)):xs(e,t,s,a),t.memoizedState=r.state,i&&Fi(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?Ni(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ni(0,t.context,!1),ro(e,t.containerInfo)}function Ts(e,t,n,r,i){return ha(),pa(i),t.flags|=256,xs(e,t,n,r),t.child}var Rs,Is,Ns,Os,js={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vs(e,t,n){var r,i=t.pendingProps,o=so.current,s=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&o)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Li(so,1&o),null===e)return la(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=i.children,e=i.fallback,s?(i=t.mode,s=t.child,u={mode:"hidden",children:u},0===(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=u):s=Fl(u,i,0,null),e=jl(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(n),t.memoizedState=js,e):Bs(t,u));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,i,o,s){if(n)return 256&t.flags?(t.flags&=-257,Hs(e,t,s,r=fs(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Fl({mode:"visible",children:r.children},i,0,null),(o=jl(o,i,s,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!==(1&t.mode)&&Ya(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=js,o);if(0===(1&t.mode))return Hs(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var u=r.dgst;return r=u,Hs(e,t,s,r=fs(o=Error(a(419)),r,void 0))}if(u=0!==(s&e.childLanes),Cs||u){if(null!==(r=Pu)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==o.retryLane&&(o.retryLane=i,_a(e,i),rl(r,e,i,-1))}return ml(),Hs(e,t,s,r=fs(Error(a(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Al.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ra=li(i.nextSibling),na=t,ia=!0,aa=null,null!==e&&(qi[Ki++]=Yi,qi[Ki++]=Ji,qi[Ki++]=Qi,Yi=e.id,Ji=e.overflow,Qi=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,u,i,r,o,n);if(s){s=i.fallback,u=t.mode,r=(o=e.child).sibling;var l={mode:"hidden",children:i.children};return 0===(1&u)&&t.child!==o?((i=t.child).childLanes=0,i.pendingProps=l,t.deletions=null):(i=Nl(o,l)).subtreeFlags=14680064&o.subtreeFlags,null!==r?s=Nl(r,s):(s=jl(s,u,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,u=null===(u=e.child.memoizedState)?Fs(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=js,i}return e=(s=e.child).sibling,i=Nl(s,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Bs(e,t){return(t=Fl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Hs(e,t,n,r){return null!==r&&pa(r),Ya(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ds(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ka(e.return,t,n)}function zs(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Us(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(xs(e,t,r.children,n),0!==(2&(r=so.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ds(e,n,t);else if(19===e.tag)Ds(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Li(so,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===uo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zs(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===uo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zs(t,!0,n,null,a);break;case"together":zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Nl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Nl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!ia)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ks(e,t,n){var r=t.pendingProps;switch(ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return Ri(t.type)&&Ii(),qs(t),null;case 3:return r=t.stateNode,io(),Si(_i),Si(Ai),co(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==aa&&(sl(aa),aa=null))),Is(e,t),qs(t),null;case 5:oo(t);var i=no(to.current);if(n=t.type,null!==e&&null!=t.stateNode)Ns(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return qs(t),null}if(e=no($a.current),fa(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[di]=t,r[hi]=o,e=0!==(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(i=0;i<Or.length;i++)Br(Or[i],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Y(r,o),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Br("invalid",r);break;case"textarea":ie(r,o),Br("invalid",r)}for(var u in ye(n,o),i=null,o)if(o.hasOwnProperty(u)){var l=o[u];"children"===u?"string"===typeof l?r.textContent!==l&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,l,e),i=["children",l]):"number"===typeof l&&r.textContent!==""+l&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,l,e),i=["children",""+l]):s.hasOwnProperty(u)&&null!=l&&"onScroll"===u&&Br("scroll",r)}switch(n){case"input":G(r),$(r,o,!0);break;case"textarea":G(r),oe(r);break;case"select":case"option":break;default:"function"===typeof o.onClick&&(r.onclick=$r)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[di]=t,e[hi]=r,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Br("cancel",e),Br("close",e),i=r;break;case"iframe":case"object":case"embed":Br("load",e),i=r;break;case"video":case"audio":for(i=0;i<Or.length;i++)Br(Or[i],e);i=r;break;case"source":Br("error",e),i=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),i=r;break;case"details":Br("toggle",e),i=r;break;case"input":Y(e,r),i=Q(e,r),Br("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=F({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Br("invalid",e)}for(o in ye(n,i),l=i)if(l.hasOwnProperty(o)){var c=l[o];"style"===o?me(e,c):"dangerouslySetInnerHTML"===o?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===o?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(s.hasOwnProperty(o)?null!=c&&"onScroll"===o&&Br("scroll",e):null!=c&&b(e,o,c,u))}switch(n){case"input":G(e),$(e,r,!1);break;case"textarea":G(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Z(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=$r)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qs(t),null;case 6:if(e&&null!=t.stateNode)Os(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));if(n=no(to.current),no($a.current),fa(t)){if(r=t.stateNode,n=t.memoizedProps,r[di]=t,(o=r.nodeValue!==n)&&null!==(e=na))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[di]=t,t.stateNode=r}return qs(t),null;case 13:if(Si(so),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==ra&&0!==(1&t.mode)&&0===(128&t.flags))da(),ha(),t.flags|=98560,o=!1;else if(o=fa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(a(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));o[di]=t}else ha(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),o=!1}else null!==aa&&(sl(aa),aa=null),o=!0;if(!o)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&so.current)?0===Ou&&(Ou=3):ml())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return io(),Is(e,t),null===e&&zr(t.stateNode.containerInfo),qs(t),null;case 10:return wa(t.type._context),qs(t),null;case 19:if(Si(so),null===(o=t.memoizedState))return qs(t),null;if(r=0!==(128&t.flags),null===(u=o.rendering))if(r)Gs(o,!1);else{if(0!==Ou||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=uo(e))){for(t.flags|=128,Gs(o,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(u=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=u.childLanes,o.lanes=u.lanes,o.child=u.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=u.memoizedProps,o.memoizedState=u.memoizedState,o.updateQueue=u.updateQueue,o.type=u.type,e=u.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Li(so,1&so.current|2),t.child}e=e.sibling}null!==o.tail&&Je()>Uu&&(t.flags|=128,r=!0,Gs(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=uo(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(o,!0),null===o.tail&&"hidden"===o.tailMode&&!u.alternate&&!ia)return qs(t),null}else 2*Je()-o.renderingStartTime>Uu&&1073741824!==n&&(t.flags|=128,r=!0,Gs(o,!1),t.lanes=4194304);o.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=o.last)?n.sibling=u:t.child=u,o.last=u)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Je(),t.sibling=null,n=so.current,Li(so,r?1&n|2:1&n),t):(qs(t),null);case 22:case 23:return dl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Iu)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Qs(e,t){switch(ta(t),t.tag){case 1:return Ri(t.type)&&Ii(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return io(),Si(_i),Si(Ai),co(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oo(t),null;case 13:if(Si(so),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Si(so),null;case 4:return io(),null;case 10:return wa(t.type._context),null;case 22:case 23:return dl(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Is=function(){},Ns=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,no($a.current);var a,o=null;switch(n){case"input":i=Q(e,i),r=Q(e,r),o=[];break;case"select":i=F({},i,{value:void 0}),r=F({},r,{value:void 0}),o=[];break;case"textarea":i=re(e,i),r=re(e,r),o=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=$r)}for(c in ye(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var u=i[c];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(u=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&l!==u&&(null!=l||null!=u))if("style"===c)if(u){for(a in u)!u.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&u[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(o=o||[]).push(c,l)):"children"===c?"string"!==typeof l&&"number"!==typeof l||(o=o||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&Br("scroll",e),o||u===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},Os=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Js=!1,Xs="function"===typeof WeakSet?WeakSet:Set,$s=null;function eu(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Sl(e,t,r)}else n.current=null}function tu(e,t,n){try{n()}catch(r){Sl(e,t,r)}}var nu=!1;function ru(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&tu(t,n,a)}i=i.next}while(i!==r)}}function iu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function au(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[hi],delete t[vi],delete t[mi],delete t[gi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function su(e){return 5===e.tag||3===e.tag||4===e.tag}function uu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||su(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function lu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=$r));else if(4!==r&&null!==(e=e.child))for(lu(e,t,n),e=e.sibling;null!==e;)lu(e,t,n),e=e.sibling}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var fu=null,du=!1;function hu(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(it,n)}catch(s){}switch(n.tag){case 5:Js||eu(n,t);case 6:var r=fu,i=du;fu=null,hu(e,t,n),du=i,null!==(fu=r)&&(du?(e=fu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fu.removeChild(n.stateNode));break;case 18:null!==fu&&(du?(e=fu,n=n.stateNode,8===e.nodeType?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),zt(e)):ui(fu,n.stateNode));break;case 4:r=fu,i=du,fu=n.stateNode.containerInfo,du=!0,hu(e,t,n),fu=r,du=i;break;case 0:case 11:case 14:case 15:if(!Js&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(0!==(2&a)||0!==(4&a))&&tu(n,t,o),i=i.next}while(i!==r)}hu(e,t,n);break;case 1:if(!Js&&(eu(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Sl(n,t,s)}hu(e,t,n);break;case 21:hu(e,t,n);break;case 22:1&n.mode?(Js=(r=Js)||null!==n.memoizedState,hu(e,t,n),Js=r):hu(e,t,n);break;default:hu(e,t,n)}}function vu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=_l.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:fu=u.stateNode,du=!1;break e;case 3:case 4:fu=u.stateNode.containerInfo,du=!0;break e}u=u.return}if(null===fu)throw Error(a(160));pu(o,s,i),fu=null,du=!1;var l=i.alternate;null!==l&&(l.return=null),i.return=null}catch(c){Sl(i,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gu(t,e),t=t.sibling}function gu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),yu(e),4&r){try{ru(3,e,e.return),iu(3,e)}catch(m){Sl(e,e.return,m)}try{ru(5,e,e.return)}catch(m){Sl(e,e.return,m)}}break;case 1:mu(t,e),yu(e),512&r&&null!==n&&eu(n,n.return);break;case 5:if(mu(t,e),yu(e),512&r&&null!==n&&eu(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(m){Sl(e,e.return,m)}}if(4&r&&null!=(i=e.stateNode)){var o=e.memoizedProps,s=null!==n?n.memoizedProps:o,u=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===u&&"radio"===o.type&&null!=o.name&&J(i,o),be(u,s);var c=be(u,o);for(s=0;s<l.length;s+=2){var f=l[s],d=l[s+1];"style"===f?me(i,d):"dangerouslySetInnerHTML"===f?fe(i,d):"children"===f?de(i,d):b(i,f,d,c)}switch(u){case"input":X(i,o);break;case"textarea":ae(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;null!=p?ne(i,!!o.multiple,p,!1):h!==!!o.multiple&&(null!=o.defaultValue?ne(i,!!o.multiple,o.defaultValue,!0):ne(i,!!o.multiple,o.multiple?[]:"",!1))}i[hi]=o}catch(m){Sl(e,e.return,m)}}break;case 6:if(mu(t,e),yu(e),4&r){if(null===e.stateNode)throw Error(a(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(m){Sl(e,e.return,m)}}break;case 3:if(mu(t,e),yu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{zt(t.containerInfo)}catch(m){Sl(e,e.return,m)}break;case 4:default:mu(t,e),yu(e);break;case 13:mu(t,e),yu(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,!o||null!==i.alternate&&null!==i.alternate.memoizedState||(zu=Je())),4&r&&vu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Js=(c=Js)||f,mu(t,e),Js=c):mu(t,e),yu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for($s=e,f=e.child;null!==f;){for(d=$s=f;null!==$s;){switch(p=(h=$s).child,h.tag){case 0:case 11:case 14:case 15:ru(4,h,h.return);break;case 1:eu(h,h.return);var v=h.stateNode;if("function"===typeof v.componentWillUnmount){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Sl(r,n,m)}}break;case 5:eu(h,h.return);break;case 22:if(null!==h.memoizedState){wu(d);continue}}null!==p?(p.return=h,$s=p):wu(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,c?"function"===typeof(o=i.style).setProperty?o.setProperty("display","none","important"):o.display="none":(u=d.stateNode,s=void 0!==(l=d.memoizedProps.style)&&null!==l&&l.hasOwnProperty("display")?l.display:null,u.style.display=ve("display",s))}catch(m){Sl(e,e.return,m)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(m){Sl(e,e.return,m)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mu(t,e),yu(e),4&r&&vu(e);case 21:}}function yu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(su(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),cu(e,uu(e),i);break;case 3:case 4:var o=r.stateNode.containerInfo;lu(e,uu(e),o);break;default:throw Error(a(161))}}catch(s){Sl(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bu(e,t,n){$s=e,Cu(e,t,n)}function Cu(e,t,n){for(var r=0!==(1&e.mode);null!==$s;){var i=$s,a=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||Ys;if(!o){var s=i.alternate,u=null!==s&&null!==s.memoizedState||Js;s=Ys;var l=Js;if(Ys=o,(Js=u)&&!l)for($s=i;null!==$s;)u=(o=$s).child,22===o.tag&&null!==o.memoizedState?ku(i):null!==u?(u.return=o,$s=u):ku(i);for(;null!==a;)$s=a,Cu(a,t,n),a=a.sibling;$s=i,Ys=s,Js=l}xu(e)}else 0!==(8772&i.subtreeFlags)&&null!==a?(a.return=i,$s=a):xu(e)}}function xu(e){for(;null!==$s;){var t=$s;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Js||iu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Js)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ma(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Va(t,o,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Va(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&zt(d)}}}break;default:throw Error(a(163))}Js||512&t.flags&&au(t)}catch(h){Sl(t,t.return,h)}}if(t===e){$s=null;break}if(null!==(n=t.sibling)){n.return=t.return,$s=n;break}$s=t.return}}function wu(e){for(;null!==$s;){var t=$s;if(t===e){$s=null;break}var n=t.sibling;if(null!==n){n.return=t.return,$s=n;break}$s=t.return}}function ku(e){for(;null!==$s;){var t=$s;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iu(4,t)}catch(u){Sl(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(u){Sl(t,i,u)}}var a=t.return;try{au(t)}catch(u){Sl(t,a,u)}break;case 5:var o=t.return;try{au(t)}catch(u){Sl(t,o,u)}}}catch(u){Sl(t,t.return,u)}if(t===e){$s=null;break}var s=t.sibling;if(null!==s){s.return=t.return,$s=s;break}$s=t.return}}var Eu,Su=Math.ceil,Lu=C.ReactCurrentDispatcher,Mu=C.ReactCurrentOwner,Au=C.ReactCurrentBatchConfig,_u=0,Pu=null,Tu=null,Ru=0,Iu=0,Nu=Ei(0),Ou=0,ju=null,Fu=0,Vu=0,Bu=0,Hu=null,Du=null,zu=0,Uu=1/0,Zu=null,Wu=!1,Gu=null,qu=null,Ku=!1,Qu=null,Yu=0,Ju=0,Xu=null,$u=-1,el=0;function tl(){return 0!==(6&_u)?Je():-1!==$u?$u:$u=Je()}function nl(e){return 0===(1&e.mode)?1:0!==(2&_u)&&0!==Ru?Ru&-Ru:null!==va.transition?(0===el&&(el=vt()),el):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function rl(e,t,n,r){if(50<Ju)throw Ju=0,Xu=null,Error(a(185));gt(e,n,r),0!==(2&_u)&&e===Pu||(e===Pu&&(0===(2&_u)&&(Vu|=n),4===Ou&&ul(e,Ru)),il(e,r),1===n&&0===_u&&0===(1&t.mode)&&(Uu=Je()+500,Bi&&zi()))}function il(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-ot(a),s=1<<o,u=i[o];-1===u?0!==(s&n)&&0===(s&r)||(i[o]=ht(s,t)):u<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=dt(e,e===Pu?Ru:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Bi=!0,Di(e)}(ll.bind(null,e)):Di(ll.bind(null,e)),oi((function(){0===(6&_u)&&zi()})),n=null;else{switch(Ct(r)){case 1:n=$e;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Pl(n,al.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function al(e,t){if($u=-1,el=0,0!==(6&_u))throw Error(a(327));var n=e.callbackNode;if(kl()&&e.callbackNode!==n)return null;var r=dt(e,e===Pu?Ru:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gl(e,r);else{t=r;var i=_u;_u|=2;var o=vl();for(Pu===e&&Ru===t||(Zu=null,Uu=Je()+500,hl(e,t));;)try{bl();break}catch(u){pl(e,u)}xa(),Lu.current=o,_u=i,null!==Tu?t=0:(Pu=null,Ru=0,t=Ou)}if(0!==t){if(2===t&&(0!==(i=pt(e))&&(r=i,t=ol(e,i))),1===t)throw n=ju,hl(e,0),ul(e,r),il(e,Je()),n;if(6===t)ul(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!sr(a(),i))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=gl(e,r))&&(0!==(o=pt(e))&&(r=o,t=ol(e,o))),1===t))throw n=ju,hl(e,0),ul(e,r),il(e,Je()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:wl(e,Du,Zu);break;case 3:if(ul(e,r),(130023424&r)===r&&10<(t=zu+500-Je())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){tl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wl.bind(null,e,Du,Zu),t);break}wl(e,Du,Zu);break;case 4:if(ul(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-ot(r);o=1<<s,(s=t[s])>i&&(i=s),r&=~o}if(r=i,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Su(r/1960))-r)){e.timeoutHandle=ri(wl.bind(null,e,Du,Zu),r);break}wl(e,Du,Zu);break;default:throw Error(a(329))}}}return il(e,Je()),e.callbackNode===n?al.bind(null,e):null}function ol(e,t){var n=Hu;return e.current.memoizedState.isDehydrated&&(hl(e,t).flags|=256),2!==(e=gl(e,t))&&(t=Du,Du=n,null!==t&&sl(t)),e}function sl(e){null===Du?Du=e:Du.push.apply(Du,e)}function ul(e,t){for(t&=~Bu,t&=~Vu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function ll(e){if(0!==(6&_u))throw Error(a(327));kl();var t=dt(e,0);if(0===(1&t))return il(e,Je()),null;var n=gl(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ol(e,r))}if(1===n)throw n=ju,hl(e,0),ul(e,t),il(e,Je()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wl(e,Du,Zu),il(e,Je()),null}function cl(e,t){var n=_u;_u|=1;try{return e(t)}finally{0===(_u=n)&&(Uu=Je()+500,Bi&&zi())}}function fl(e){null!==Qu&&0===Qu.tag&&0===(6&_u)&&kl();var t=_u;_u|=1;var n=Au.transition,r=bt;try{if(Au.transition=null,bt=1,e)return e()}finally{bt=r,Au.transition=n,0===(6&(_u=t))&&zi()}}function dl(){Iu=Nu.current,Si(Nu)}function hl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Tu)for(n=Tu.return;null!==n;){var r=n;switch(ta(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ii();break;case 3:io(),Si(_i),Si(Ai),co();break;case 5:oo(r);break;case 4:io();break;case 13:case 19:Si(so);break;case 10:wa(r.type._context);break;case 22:case 23:dl()}n=n.return}if(Pu=e,Tu=e=Nl(e.current,null),Ru=Iu=t,Ou=0,ju=null,Bu=Vu=Fu=0,Du=Hu=null,null!==La){for(t=0;t<La.length;t++)if(null!==(r=(n=La[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}La=null}return e}function pl(e,t){for(;;){var n=Tu;try{if(xa(),fo.current=os,yo){for(var r=vo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}yo=!1}if(po=0,go=mo=vo=null,bo=!1,Co=0,Mu.current=null,null===n||null===n.return){Ou=1,ju=t,Tu=null;break}e:{var o=e,s=n.return,u=n,l=t;if(t=Ru,u.flags|=32768,null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=l,f=u,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,ys(p,s,u,0,t),1&p.mode&&ms(o,c,t),l=c;var v=(t=p).updateQueue;if(null===v){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}if(0===(1&t)){ms(o,c,t),ml();break e}l=Error(a(426))}else if(ia&&1&u.mode){var g=gs(s);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),ys(g,s,u,0,t),pa(cs(l,u));break e}}o=l=cs(l,u),4!==Ou&&(Ou=2),null===Hu?Hu=[o]:Hu.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,ja(o,ps(0,l,t));break e;case 1:u=l;var y=o.type,b=o.stateNode;if(0===(128&o.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===qu||!qu.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t,ja(o,vs(o,u,t));break e}}o=o.return}while(null!==o)}xl(n)}catch(C){t=C,Tu===n&&null!==n&&(Tu=n=n.return);continue}break}}function vl(){var e=Lu.current;return Lu.current=os,null===e?os:e}function ml(){0!==Ou&&3!==Ou&&2!==Ou||(Ou=4),null===Pu||0===(268435455&Fu)&&0===(268435455&Vu)||ul(Pu,Ru)}function gl(e,t){var n=_u;_u|=2;var r=vl();for(Pu===e&&Ru===t||(Zu=null,hl(e,t));;)try{yl();break}catch(i){pl(e,i)}if(xa(),_u=n,Lu.current=r,null!==Tu)throw Error(a(261));return Pu=null,Ru=0,Ou}function yl(){for(;null!==Tu;)Cl(Tu)}function bl(){for(;null!==Tu&&!Qe();)Cl(Tu)}function Cl(e){var t=Eu(e.alternate,e,Iu);e.memoizedProps=e.pendingProps,null===t?xl(e):Tu=t,Mu.current=null}function xl(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ks(n,t,Iu)))return void(Tu=n)}else{if(null!==(n=Qs(n,t)))return n.flags&=32767,void(Tu=n);if(null===e)return Ou=6,void(Tu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Tu=t);Tu=t=e}while(null!==t);0===Ou&&(Ou=5)}function wl(e,t,n){var r=bt,i=Au.transition;try{Au.transition=null,bt=1,function(e,t,n,r){do{kl()}while(null!==Qu);if(0!==(6&_u))throw Error(a(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ot(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,o),e===Pu&&(Tu=Pu=null,Ru=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Ku||(Ku=!0,Pl(tt,(function(){return kl(),null}))),o=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||o){o=Au.transition,Au.transition=null;var s=bt;bt=1;var u=_u;_u|=4,Mu.current=null,function(e,t){if(ei=Zt,hr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(x){n=null;break e}var s=0,u=-1,l=-1,c=0,f=0,d=e,h=null;t:for(;;){for(var p;d!==n||0!==i&&3!==d.nodeType||(u=s+i),d!==o||0!==r&&3!==d.nodeType||(l=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(p=d.firstChild);)h=d,d=p;for(;;){if(d===e)break t;if(h===n&&++c===i&&(u=s),h===o&&++f===r&&(l=s),null!==(p=d.nextSibling))break;h=(d=h).parentNode}d=p}n=-1===u||-1===l?null:{start:u,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Zt=!1,$s=t;null!==$s;)if(e=(t=$s).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,$s=e;else for(;null!==$s;){t=$s;try{var v=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:ma(t.type,m),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var C=t.stateNode.containerInfo;1===C.nodeType?C.textContent="":9===C.nodeType&&C.documentElement&&C.removeChild(C.documentElement);break;default:throw Error(a(163))}}catch(x){Sl(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,$s=e;break}$s=t.return}v=nu,nu=!1}(e,n),gu(n,e),pr(ti),Zt=!!ei,ti=ei=null,e.current=n,bu(n,e,i),Ye(),_u=u,bt=s,Au.transition=o}else e.current=n;if(Ku&&(Ku=!1,Qu=e,Yu=i),o=e.pendingLanes,0===o&&(qu=null),function(e){if(at&&"function"===typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),il(e,Je()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Wu)throw Wu=!1,e=Gu,Gu=null,e;0!==(1&Yu)&&0!==e.tag&&kl(),o=e.pendingLanes,0!==(1&o)?e===Xu?Ju++:(Ju=0,Xu=e):Ju=0,zi()}(e,t,n,r)}finally{Au.transition=i,bt=r}return null}function kl(){if(null!==Qu){var e=Ct(Yu),t=Au.transition,n=bt;try{if(Au.transition=null,bt=16>e?16:e,null===Qu)var r=!1;else{if(e=Qu,Qu=null,Yu=0,0!==(6&_u))throw Error(a(331));var i=_u;for(_u|=4,$s=e.current;null!==$s;){var o=$s,s=o.child;if(0!==(16&$s.flags)){var u=o.deletions;if(null!==u){for(var l=0;l<u.length;l++){var c=u[l];for($s=c;null!==$s;){var f=$s;switch(f.tag){case 0:case 11:case 15:ru(8,f,o)}var d=f.child;if(null!==d)d.return=f,$s=d;else for(;null!==$s;){var h=(f=$s).sibling,p=f.return;if(ou(f),f===c){$s=null;break}if(null!==h){h.return=p,$s=h;break}$s=p}}}var v=o.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}$s=o}}if(0!==(2064&o.subtreeFlags)&&null!==s)s.return=o,$s=s;else e:for(;null!==$s;){if(0!==(2048&(o=$s).flags))switch(o.tag){case 0:case 11:case 15:ru(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,$s=y;break e}$s=o.return}}var b=e.current;for($s=b;null!==$s;){var C=(s=$s).child;if(0!==(2064&s.subtreeFlags)&&null!==C)C.return=s,$s=C;else e:for(s=b;null!==$s;){if(0!==(2048&(u=$s).flags))try{switch(u.tag){case 0:case 11:case 15:iu(9,u)}}catch(w){Sl(u,u.return,w)}if(u===s){$s=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,$s=x;break e}$s=u.return}}if(_u=i,zi(),at&&"function"===typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(it,e)}catch(w){}r=!0}return r}finally{bt=n,Au.transition=t}}return!1}function El(e,t,n){e=Na(e,t=ps(0,t=cs(n,t),1),1),t=tl(),null!==e&&(gt(e,1,t),il(e,t))}function Sl(e,t,n){if(3===e.tag)El(e,e,n);else for(;null!==t;){if(3===t.tag){El(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===qu||!qu.has(r))){t=Na(t,e=vs(t,e=cs(n,e),1),1),e=tl(),null!==t&&(gt(t,1,e),il(t,e));break}}t=t.return}}function Ll(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tl(),e.pingedLanes|=e.suspendedLanes&n,Pu===e&&(Ru&n)===n&&(4===Ou||3===Ou&&(130023424&Ru)===Ru&&500>Je()-zu?hl(e,0):Bu|=n),il(e,t)}function Ml(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tl();null!==(e=_a(e,t))&&(gt(e,t,n),il(e,n))}function Al(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ml(e,n)}function _l(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Ml(e,n)}function Pl(e,t){return qe(e,t)}function Tl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rl(e,t,n,r){return new Tl(e,t,n,r)}function Il(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nl(e,t){var n=e.alternate;return null===n?((n=Rl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ol(e,t,n,r,i,o){var s=2;if(r=e,"function"===typeof e)Il(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case k:return jl(n.children,i,o,t);case E:s=8,i|=8;break;case S:return(e=Rl(12,n,t,2|i)).elementType=S,e.lanes=o,e;case _:return(e=Rl(13,n,t,i)).elementType=_,e.lanes=o,e;case P:return(e=Rl(19,n,t,i)).elementType=P,e.lanes=o,e;case I:return Fl(n,i,o,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case L:s=10;break e;case M:s=9;break e;case A:s=11;break e;case T:s=14;break e;case R:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Rl(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function jl(e,t,n,r){return(e=Rl(7,e,r,t)).lanes=n,e}function Fl(e,t,n,r){return(e=Rl(22,e,r,t)).elementType=I,e.lanes=n,e.stateNode={isHidden:!1},e}function Vl(e,t,n){return(e=Rl(6,e,null,t)).lanes=n,e}function Bl(e,t,n){return(t=Rl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hl(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Dl(e,t,n,r,i,a,o,s,u){return e=new Hl(e,t,n,s,u),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Rl(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ta(a),e}function zl(e){if(!e)return Mi;e:{if(ze(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ri(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Ri(n))return Oi(e,n,t)}return t}function Ul(e,t,n,r,i,a,o,s,u){return(e=Dl(n,r,!0,e,0,a,0,s,u)).context=zl(null),n=e.current,(a=Ia(r=tl(),i=nl(n))).callback=void 0!==t&&null!==t?t:null,Na(n,a,i),e.current.lanes=i,gt(e,i,r),il(e,r),e}function Zl(e,t,n,r){var i=t.current,a=tl(),o=nl(i);return n=zl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ia(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Na(i,t,o))&&(rl(e,i,o,a),Oa(e,i,o)),o}function Wl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ql(e,t){Gl(e,t),(e=e.alternate)&&Gl(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||_i.current)Cs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return Cs=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),ha();break;case 5:ao(t);break;case 1:Ri(t.type)&&ji(t);break;case 4:ro(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Li(ga,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Li(so,1&so.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Vs(e,t,n):(Li(so,1&so.current),null!==(e=Ws(e,t,n))?e.sibling:null);Li(so,1&so.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Us(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Li(so,so.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return Ws(e,t,n)}(e,t,n);Cs=0!==(131072&e.flags)}else Cs=!1,ia&&0!==(1048576&t.flags)&&$i(t,Gi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zs(e,t),e=t.pendingProps;var i=Ti(t,Ai.current);Ea(t,n),i=Eo(null,t,r,e,i,n);var o=So();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ri(r)?(o=!0,ji(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Ta(t),i.updater=Da,t.stateNode=i,i._reactInternals=t,Wa(t,r,e,n),t=_s(null,t,r,!0,o,n)):(t.tag=0,ia&&o&&ea(t),xs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zs(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return Il(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===A)return 11;if(e===T)return 14}return 2}(r),e=ma(r,e),i){case 0:t=Ms(null,t,r,e,n);break e;case 1:t=As(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=ks(null,t,r,ma(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ms(e,t,r,i=t.elementType===r?i:ma(r,i),n);case 1:return r=t.type,i=t.pendingProps,As(e,t,r,i=t.elementType===r?i:ma(r,i),n);case 3:e:{if(Ps(t),null===e)throw Error(a(387));r=t.pendingProps,i=(o=t.memoizedState).element,Ra(e,t),Fa(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ts(e,t,r,n,i=cs(Error(a(423)),t));break e}if(r!==i){t=Ts(e,t,r,n,i=cs(Error(a(424)),t));break e}for(ra=li(t.stateNode.containerInfo.firstChild),na=t,ia=!0,aa=null,n=Ja(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===i){t=Ws(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return ao(t),null===e&&la(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==o&&ni(r,o)&&(t.flags|=32),Ls(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&la(t),null;case 13:return Vs(e,t,n);case 4:return ro(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ya(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ws(e,t,r,i=t.elementType===r?i:ma(r,i),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Li(ga,r._currentValue),r._currentValue=s,null!==o)if(sr(o.value,s)){if(o.children===i.children&&!_i.current){t=Ws(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var u=o.dependencies;if(null!==u){s=o.child;for(var l=u.firstContext;null!==l;){if(l.context===r){if(1===o.tag){(l=Ia(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),ka(o.return,n,t),u.lanes|=n;break}l=l.next}}else if(10===o.tag)s=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(s=o.return))throw Error(a(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),ka(s,n,t),s=o.sibling}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===t){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}xs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ea(t,n),r=r(i=Sa(i)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return i=ma(r=t.type,t.pendingProps),ks(e,t,r,i=ma(r.type,i),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ma(r,i),Zs(e,t),t.tag=1,Ri(r)?(e=!0,ji(t)):e=!1,Ea(t,n),Ua(t,r,i),Wa(t,r,i,n),_s(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return Ss(e,t,n)}throw Error(a(156,t.tag))};var Kl="function"===typeof reportError?reportError:function(e){console.error(e)};function Ql(e){this._internalRoot=e}function Yl(e){this._internalRoot=e}function Jl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $l(){}function ec(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if("function"===typeof i){var s=i;i=function(){var e=Wl(o);s.call(e)}}Zl(t,o,e,i)}else o=function(e,t,n,r,i){if(i){if("function"===typeof r){var a=r;r=function(){var e=Wl(o);a.call(e)}}var o=Ul(t,r,e,0,null,!1,0,"",$l);return e._reactRootContainer=o,e[pi]=o.current,zr(8===e.nodeType?e.parentNode:e),fl(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var s=r;r=function(){var e=Wl(u);s.call(e)}}var u=Dl(e,0,!1,null,0,!1,0,"",$l);return e._reactRootContainer=u,e[pi]=u.current,zr(8===e.nodeType?e.parentNode:e),fl((function(){Zl(t,u,n,r)})),u}(n,t,e,i,r);return Wl(o)}Yl.prototype.render=Ql.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Zl(e,t,null,null)},Yl.prototype.unmount=Ql.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fl((function(){Zl(null,e,null,null)})),t[pi]=null}},Yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&0!==t&&t<It[n].priority;n++);It.splice(n,0,e),0===n&&Ft(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(yt(t,1|n),il(t,Je()),0===(6&_u)&&(Uu=Je()+500,zi()))}break;case 13:fl((function(){var t=_a(e,1);if(null!==t){var n=tl();rl(t,e,1,n)}})),ql(e,1)}},wt=function(e){if(13===e.tag){var t=_a(e,134217728);if(null!==t)rl(t,e,134217728,tl());ql(e,134217728)}},kt=function(e){if(13===e.tag){var t=nl(e),n=_a(e,t);if(null!==n)rl(n,e,t,tl());ql(e,t)}},Et=function(){return bt},St=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},we=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=xi(r);if(!i)throw Error(a(90));q(r),X(r,i)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ae=cl,_e=fl;var tc={usingClientEntryPoint:!1,Events:[bi,Ci,xi,Le,Me,cl]},nc={findFiberByHostInstance:yi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{it=ic.inject(rc),at=ic}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Jl(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Jl(e))throw Error(a(299));var n=!1,r="",i=Kl;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Dl(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,zr(8===e.nodeType?e.parentNode:e),new Ql(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return fl(e)},t.hydrate=function(e,t,n){if(!Xl(t))throw Error(a(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Jl(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,i=!1,o="",s=Kl;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Ul(t,null,e,1,null!=n?n:null,i,0,o,s),e[pi]=t.current,zr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Yl(t)},t.render=function(e,t,n){if(!Xl(t))throw Error(a(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xl(e))throw Error(a(40));return!!e._reactRootContainer&&(fl((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[pi]=null}))})),!0)},t.unstable_batchedUpdates=cl,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xl(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},4093:function(e,t,n){"use strict";var r=n(7410);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},7410:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(9838)},2926:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case a:case s:case o:case d:case h:return e;default:switch(e=e&&e.$$typeof){case c:case l:case f:case v:case p:case u:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=p,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=d,t.SuspenseList=h,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return g(e)===l},t.isContextProvider=function(e){return g(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return g(e)===f},t.isFragment=function(e){return g(e)===a},t.isLazy=function(e){return g(e)===v},t.isMemo=function(e){return g(e)===p},t.isPortal=function(e){return g(e)===i},t.isProfiler=function(e){return g(e)===s},t.isStrictMode=function(e){return g(e)===o},t.isSuspense=function(e){return g(e)===d},t.isSuspenseList=function(e){return g(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===s||e===o||e===d||e===h||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===p||e.$$typeof===u||e.$$typeof===l||e.$$typeof===f||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=g},1469:function(e,t,n){"use strict";e.exports=n(2926)},5401:function(e,t,n){"use strict";var r=n(5535),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,a={},l=null,c=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!u.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:l,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=l,t.jsxs=l},21:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var C=b.prototype=new y;C.constructor=b,v(C,g.prototype),C.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,k={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)w.call(t,i)&&!E.hasOwnProperty(i)&&(a[i]=t[i]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];a.children=l}if(e&&e.defaultProps)for(i in u=e.defaultProps)void 0===a[i]&&(a[i]=u[i]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:k.current}}function L(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var M=/\/+/g;function A(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return o=o(u=e),e=""===a?"."+A(u,0):a,x(o)?(i="",null!=e&&(i=e.replace(M,"$&/")+"/"),_(o,t,i,"",(function(e){return e}))):null!=o&&(L(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||u&&u.key===o.key?"":(""+o.key).replace(M,"$&/")+"/")+e)),t.push(o)),1;if(u=0,a=""===a?".":a+":",x(e))for(var l=0;l<e.length;l++){var c=a+A(s=e[l],l);u+=_(s,t,i,c,o)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),l=0;!(s=e.next()).done;)u+=_(s=s.value,t,i,c=a+A(s,l++),o);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function P(e,t,n){if(null==e)return e;var r=[],i=0;return _(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},I={transition:null},N={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:I,ReactCurrentOwner:k};t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!L(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=i,t.Profiler=o,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=v({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=k.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)w.call(t,l)&&!E.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=L,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,n){return R.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,n){return R.current.useReducer(e,t,n)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return R.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return R.current.useTransition()},t.version="18.2.0"},5535:function(e,t,n){"use strict";e.exports=n(21)},256:function(e,t,n){"use strict";e.exports=n(5401)},1347:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,u=e[s],l=s+1,c=e[l];if(0>a(u,n))l<i&&0>a(c,u)?(e[r]=c,e[l]=n,r=l):(e[r]=u,e[s]=n,r=s);else{if(!(l<i&&0>a(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var l=[],c=[],f=1,d=null,h=3,p=!1,v=!1,m=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function C(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function x(e){if(m=!1,C(e),!v)if(null!==r(l))v=!0,I(w);else{var t=r(c);null!==t&&N(x,t.startTime-e)}}function w(e,n){v=!1,m&&(m=!1,y(L),L=-1),p=!0;var a=h;try{for(C(n),d=r(l);null!==d&&(!(d.expirationTime>n)||e&&!_());){var o=d.callback;if("function"===typeof o){d.callback=null,h=d.priorityLevel;var s=o(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?d.callback=s:d===r(l)&&i(l),C(n)}else i(l);d=r(l)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&N(x,f.startTime-n),u=!1}return u}finally{d=null,h=a,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,E=!1,S=null,L=-1,M=5,A=-1;function _(){return!(t.unstable_now()-A<M)}function P(){if(null!==S){var e=t.unstable_now();A=e;var n=!0;try{n=S(!0,e)}finally{n?k():(E=!1,S=null)}}else E=!1}if("function"===typeof b)k=function(){b(P)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,R=T.port2;T.port1.onmessage=P,k=function(){R.postMessage(null)}}else k=function(){g(P,0)};function I(e){S=e,E||(E=!0,k())}function N(e,n){L=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||p||(v=!0,I(w))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(e.sortIndex=a,n(c,e),null===r(l)&&e===r(c)&&(m?(y(L),L=-1):m=!0,N(x,a-o))):(e.sortIndex=s,n(l,e),v||p||(v=!0,I(w))),e},t.unstable_shouldYield=_,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},9793:function(e,t,n){"use strict";e.exports=n(1347)},7444:function(){},2053:function(){},9714:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},6900:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},7684:function(e,t,n){var r=n(9714);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6121:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},2638:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},3994:function(e,t,n){var r=n(3494),i=n(1543);function a(t,n,o){return i()?(e.exports=a=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=a=function(e,t,n){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports),a.apply(null,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},1023:function(e,t,n){var r=n(6174);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},4759:function(e,t,n){var r=n(9563);e.exports=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}},e.exports.__esModule=!0,e.exports.default=e.exports},2077:function(e,t,n){var r=n(4692),i=n(1543),a=n(3310);e.exports=function(e){var t=i();return function(){var n,i=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return a(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},3213:function(e,t,n){var r=n(6174);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},6480:function(e,t,n){var r=n(7843);function i(){return"undefined"!==typeof Reflect&&Reflect.get?(e.exports=i=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var i=r(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(this,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},4692:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},126:function(e,t,n){var r=n(3494);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},2298:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},1543:function(e){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},4159:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6313:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],u=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(c){l=!0,i=c}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},8738:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},3784:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},8688:function(e){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure "+e)},e.exports.__esModule=!0,e.exports.default=e.exports},1587:function(e,t,n){var r=n(3213);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},356:function(e,t,n){var r=n(6820);e.exports=function(e,t){if(null==e)return{};var n,i,a=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.__esModule=!0,e.exports.default=e.exports},6820:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},3310:function(e,t,n){var r=n(8114).default,i=n(6121);e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},9649:function(e,t,n){var r=n(8114).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(T){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:E(e,n,s)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(T){return{type:"throw",arg:T}}}t.wrap=d;var p={};function v(){}function m(){}function g(){}var y={};f(y,u,(function(){return this}));var b=Object.getPrototypeOf,C=b&&b(b(_([])));C&&C!==n&&a.call(C,u)&&(y=C);var x=g.prototype=v.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,o,s,u){var l=h(e[i],e,o);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}})}function E(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=S(o,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=h(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var i=h(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,p;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function _(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(a.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:P}}function P(){return{value:void 0,done:!0}}return m.prototype=g,o(x,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:m,configurable:!0}),m.displayName=f(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,f(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},w(k.prototype),f(k.prototype,l,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new k(d(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},w(x),f(x,c,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=_,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},3494:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8371:function(e,t,n){var r=n(6900),i=n(6313),a=n(9563),o=n(8738);e.exports=function(e,t){return r(e)||i(e,t)||a(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},7843:function(e,t,n){var r=n(4692);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},695:function(e){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},6764:function(e,t,n){var r=n(6900),i=n(4159),a=n(9563),o=n(8738);e.exports=function(e){return r(e)||i(e)||a(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},299:function(e,t,n){var r=n(7684),i=n(4159),a=n(9563),o=n(3784);e.exports=function(e){return r(e)||i(e)||a(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},7662:function(e,t,n){var r=n(8114).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6174:function(e,t,n){var r=n(8114).default,i=n(7662);e.exports=function(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},8114:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9563:function(e,t,n){var r=n(9714);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},7164:function(e,t,n){var r=n(4692),i=n(3494),a=n(2298),o=n(3994);function s(t){var n="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!a(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return o(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},3681:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if("object"===typeof e&&null!==e){if("function"===typeof Object.getPrototypeOf){var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}return"[object Object]"===Object.prototype.toString.call(e)}return!1},r=function e(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return r.reduce((function(t,r){if(Array.isArray(r))throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");return Object.keys(r).forEach((function(i){["__proto__","constructor","prototype"].includes(i)||(Array.isArray(t[i])&&Array.isArray(r[i])?t[i]=e.options.mergeArrays?Array.from(new Set(t[i].concat(r[i]))):r[i]:n(t[i])&&n(r[i])?t[i]=e(t[i],r[i]):t[i]=r[i])})),t}),{})},i={mergeArrays:!0};r.options=i,r.withOptions=function(e){r.options=Object.assign({mergeArrays:!0},e);for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=r.apply(void 0,n);return r.options=i,o},t.default=r}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"===typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"===typeof r.then)return r}var a=Object.create(null);n.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return r[e]}}));return o.default=function(){return r},n.d(a,o),a}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/",function(){"use strict";var e={};n.r(e),n.d(e,{decode:function(){return ze},encode:function(){return Be}});var t={};n.r(t),n.d(t,{decode:function(){return gn},encode:function(){return yn}});var r={};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function u(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){var t=d();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}(this,n)}}function v(e,t,n){return v=d()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&l(i,n.prototype),i},v.apply(null,arguments)}function m(e){var t="function"===typeof Map?new Map:void 0;return m=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return v(e,arguments,f(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,e)},m(e)}n.r(r),n.d(r,{AbiCoder:function(){return on},ConstructorFragment:function(){return Kt},ErrorFragment:function(){return Jt},EventFragment:function(){return Zt},FormatTypes:function(){return Bt},Fragment:function(){return Ut},FunctionFragment:function(){return Qt},HDNode:function(){return Ki},Indexed:function(){return hn},Interface:function(){return mn},LogDescription:function(){return cn},Logger:function(){return N},ParamType:function(){return Dt},RLP:function(){return e},SigningKey:function(){return di},SupportedAlgorithm:function(){return mr},TransactionDescription:function(){return fn},TransactionTypes:function(){return vi},UnicodeNormalizationForm:function(){return ct},Utf8ErrorFuncs:function(){return kt},Utf8ErrorReason:function(){return ft},_TypedDataEncoder:function(){return gr},_fetchData:function(){return ro},_toEscapedUtf8String:function(){return Mt},accessListify:function(){return Si},arrayify:function(){return D},base58:function(){return Cn},base64:function(){return t},checkProperties:function(){return se},checkResultErrors:function(){return Ae},commify:function(){return Za},computeAddress:function(){return xi},computeHmac:function(){return Er},computePublicKey:function(){return pi},concat:function(){return z},deepCopy:function(){return de},defaultAbiCoder:function(){return sn},defaultPath:function(){return qi},defineReadOnly:function(){return ie},dnsEncode:function(){return Xn},entropyToMnemonic:function(){return Ji},fetchJson:function(){return io},formatBytes32String:function(){return Ma},formatEther:function(){return qa},formatUnits:function(){return Wa},getAccountPath:function(){return $i},getAddress:function(){return Je},getContractAddress:function(){return et},getCreate2Address:function(){return tt},getIcapAddress:function(){return $e},getJsonWalletAddress:function(){return ea},getStatic:function(){return ae},hashMessage:function(){return er},hexConcat:function(){return Y},hexDataLength:function(){return K},hexDataSlice:function(){return Q},hexStripZeros:function(){return X},hexValue:function(){return J},hexZeroPad:function(){return $},hexlify:function(){return q},id:function(){return un},isAddress:function(){return Xe},isBytes:function(){return H},isBytesLike:function(){return V},isHexString:function(){return W},isValidMnemonic:function(){return Xi},isValidName:function(){return Yn},joinSignature:function(){return te},keccak256:function(){return Ne},mnemonicToEntropy:function(){return Yi},mnemonicToSeed:function(){return Qi},namehash:function(){return Jn},nameprep:function(){return Sa},parseBytes32String:function(){return Aa},parseEther:function(){return Ka},parseTransaction:function(){return Ti},parseUnits:function(){return Ga},poll:function(){return ao},randomBytes:function(){return ha},recoverAddress:function(){return wi},recoverPublicKey:function(){return hi},resolveProperties:function(){return oe},ripemd160:function(){return xr},serializeTransaction:function(){return _i},sha256:function(){return wr},sha512:function(){return kr},shallowCopy:function(){return ue},shuffled:function(){return pa},solidityKeccak256:function(){return ua},solidityPack:function(){return sa},soliditySha256:function(){return la},splitSignature:function(){return ee},stripZeros:function(){return U},toUtf8Bytes:function(){return St},toUtf8CodePoints:function(){return Pt},toUtf8String:function(){return _t},verifyMessage:function(){return Qa},verifyTypedData:function(){return Ya},zeroPad:function(){return Z}});var g=n(5535);function y(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function b(){b=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(P){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var a=t&&t.prototype instanceof h?t:h,o=Object.create(a.prototype),s=new M(i||[]);return r(o,"_invoke",{value:k(e,n,s)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=c;var d={};function h(){}function p(){}function v(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(A([])));y&&y!==t&&n.call(y,o)&&(m=y);var C=v.prototype=h.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function i(r,o,s,u){var l=f(e[r],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==a(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,u)}),(function(e){i("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,u)}))}u(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function k(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return _()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=E(o,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=v,r(C,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:p,configurable:!0}),p.displayName=l(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,u,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},x(w.prototype),l(w.prototype,s,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new w(c(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},x(C),l(C,u,"Generator"),l(C,o,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;L(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function C(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,i)}function E(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){k(a,r,i,o,s,"next",e)}function s(e){k(a,r,i,o,s,"throw",e)}o(void 0)}))}}var S=!1,L=!1,M={debug:1,default:2,info:2,warning:3,error:4,off:5},A=M.default,_=null;var P,T,R=function(){try{var e=[];if(["NFD","NFC","NFKD","NFKC"].forEach((function(t){try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(n){e.push(t)}})),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(t){return t.message}return null}();!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(P||(P={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(T||(T={}));var I="0123456789abcdef",N=function(){function e(t){i(this,e),Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}return u(e,[{key:"_log",value:function(e,t){var n=e.toLowerCase();null==M[n]&&this.throwArgumentError("invalid log level name","logLevel",e),A>M[n]||console.log.apply(console,t)}},{key:"debug",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this._log(e.levels.DEBUG,n)}},{key:"info",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this._log(e.levels.INFO,n)}},{key:"warn",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this._log(e.levels.WARNING,n)}},{key:"makeError",value:function(t,n,r){if(L)return this.makeError("censored error",n,{});n||(n=e.errors.UNKNOWN_ERROR),r||(r={});var i=[];Object.keys(r).forEach((function(e){var t=r[e];try{if(t instanceof Uint8Array){for(var n="",a=0;a<t.length;a++)n+=I[t[a]>>4],n+=I[15&t[a]];i.push(e+"=Uint8Array(0x"+n+")")}else i.push(e+"="+JSON.stringify(t))}catch(u){i.push(e+"="+JSON.stringify(r[e].toString()))}})),i.push("code=".concat(n)),i.push("version=".concat(this.version));var a=t,o="";switch(n){case T.NUMERIC_FAULT:o="NUMERIC_FAULT";var s=t;switch(s){case"overflow":case"underflow":case"division-by-zero":o+="-"+s;break;case"negative-power":case"negative-width":o+="-unsupported";break;case"unbound-bitwise-result":o+="-unbound-result"}break;case T.CALL_EXCEPTION:case T.INSUFFICIENT_FUNDS:case T.MISSING_NEW:case T.NONCE_EXPIRED:case T.REPLACEMENT_UNDERPRICED:case T.TRANSACTION_REPLACED:case T.UNPREDICTABLE_GAS_LIMIT:o=n}o&&(t+=" [ See: https://links.ethers.org/v5-errors-"+o+" ]"),i.length&&(t+=" ("+i.join(", ")+")");var u=new Error(t);return u.reason=a,u.code=n,Object.keys(r).forEach((function(e){u[e]=r[e]})),u}},{key:"throwError",value:function(e,t,n){throw this.makeError(e,t,n)}},{key:"throwArgumentError",value:function(t,n,r){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:n,value:r})}},{key:"assert",value:function(e,t,n,r){e||this.throwError(t,n,r)}},{key:"assertArgument",value:function(e,t,n,r){e||this.throwArgumentError(t,n,r)}},{key:"checkNormalize",value:function(t){null==t&&(t="platform missing String.prototype.normalize"),R&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:R})}},{key:"checkSafeUint53",value:function(t,n){"number"===typeof t&&(null==n&&(n="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(n,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(n,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}},{key:"checkArgumentCount",value:function(t,n,r){r=r?": "+r:"",t<n&&this.throwError("missing argument"+r,e.errors.MISSING_ARGUMENT,{count:t,expectedCount:n}),t>n&&this.throwError("too many arguments"+r,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:n})}},{key:"checkNew",value:function(t,n){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:n.name})}},{key:"checkAbstract",value:function(t,n){t===n?this.throwError("cannot instantiate abstract class "+JSON.stringify(n.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:n.name})}}],[{key:"globalLogger",value:function(){return _||(_=new e("logger/5.7.0")),_}},{key:"setCensorship",value:function(t,n){if(!t&&n&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),S){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}L=!!t,S=!!n}},{key:"setLogLevel",value:function(t){var n=M[t.toLowerCase()];null!=n?A=n:e.globalLogger().warn("invalid log level - "+t)}},{key:"from",value:function(t){return new e(t)}}]),e}();N.errors=T,N.levels=P;var O=new N("bytes/5.7.0");function j(e){return!!e.toHexString}function F(e){return e.slice||(e.slice=function(){var t=Array.prototype.slice.call(arguments);return F(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function V(e){return W(e)&&!(e.length%2)||H(e)}function B(e){return"number"===typeof e&&e==e&&e%1===0}function H(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"===typeof e)return!1;if(!B(e.length)||e.length<0)return!1;for(var t=0;t<e.length;t++){var n=e[t];if(!B(n)||n<0||n>=256)return!1}return!0}function D(e,t){if(t||(t={}),"number"===typeof e){O.checkSafeUint53(e,"invalid arrayify value");for(var n=[];e;)n.unshift(255&e),e=parseInt(String(e/256));return 0===n.length&&n.push(0),F(new Uint8Array(n))}if(t.allowMissingPrefix&&"string"===typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),j(e)&&(e=e.toHexString()),W(e)){var r=e.substring(2);r.length%2&&("left"===t.hexPad?r="0"+r:"right"===t.hexPad?r+="0":O.throwArgumentError("hex data is odd-length","value",e));for(var i=[],a=0;a<r.length;a+=2)i.push(parseInt(r.substring(a,a+2),16));return F(new Uint8Array(i))}return H(e)?F(new Uint8Array(e)):O.throwArgumentError("invalid arrayify value","value",e)}function z(e){var t=e.map((function(e){return D(e)})),n=t.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(n);return t.reduce((function(e,t){return r.set(t,e),e+t.length}),0),F(r)}function U(e){var t=D(e);if(0===t.length)return t;for(var n=0;n<t.length&&0===t[n];)n++;return n&&(t=t.slice(n)),t}function Z(e,t){(e=D(e)).length>t&&O.throwArgumentError("value out of range","value",arguments[0]);var n=new Uint8Array(t);return n.set(e,t-e.length),F(n)}function W(e,t){return!("string"!==typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}var G="0123456789abcdef";function q(e,t){if(t||(t={}),"number"===typeof e){O.checkSafeUint53(e,"invalid hexlify value");for(var n="";e;)n=G[15&e]+n,e=Math.floor(e/16);return n.length?(n.length%2&&(n="0"+n),"0x"+n):"0x00"}if("bigint"===typeof e)return(e=e.toString(16)).length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&"string"===typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),j(e))return e.toHexString();if(W(e))return e.length%2&&("left"===t.hexPad?e="0x0"+e.substring(2):"right"===t.hexPad?e+="0":O.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(H(e)){for(var r="0x",i=0;i<e.length;i++){var a=e[i];r+=G[(240&a)>>4]+G[15&a]}return r}return O.throwArgumentError("invalid hexlify value","value",e)}function K(e){if("string"!==typeof e)e=q(e);else if(!W(e)||e.length%2)return null;return(e.length-2)/2}function Q(e,t,n){return"string"!==typeof e?e=q(e):(!W(e)||e.length%2)&&O.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=n?"0x"+e.substring(t,2+2*n):"0x"+e.substring(t)}function Y(e){var t="0x";return e.forEach((function(e){t+=q(e).substring(2)})),t}function J(e){var t=X(q(e,{hexPad:"left"}));return"0x"===t?"0x0":t}function X(e){"string"!==typeof e&&(e=q(e)),W(e)||O.throwArgumentError("invalid hex string","value",e),e=e.substring(2);for(var t=0;t<e.length&&"0"===e[t];)t++;return"0x"+e.substring(t)}function $(e,t){for("string"!==typeof e?e=q(e):W(e)||O.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&O.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function ee(e){var t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(V(e)){var n=D(e);64===n.length?(t.v=27+(n[32]>>7),n[32]&=127,t.r=q(n.slice(0,32)),t.s=q(n.slice(32,64))):65===n.length?(t.r=q(n.slice(0,32)),t.s=q(n.slice(32,64)),t.v=n[64]):O.throwArgumentError("invalid signature string","signature",e),t.v<27&&(0===t.v||1===t.v?t.v+=27:O.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(n[32]|=128),t._vs=q(n.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){var r=Z(D(t._vs),32);t._vs=q(r);var i=r[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=i:t.recoveryParam!==i&&O.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),r[0]&=127;var a=q(r);null==t.s?t.s=a:t.s!==a&&O.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==t.recoveryParam)null==t.v?O.throwArgumentError("signature missing v and recoveryParam","signature",e):0===t.v||1===t.v?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(null==t.v)t.v=27+t.recoveryParam;else{var o=0===t.v||1===t.v?t.v:1-t.v%2;t.recoveryParam!==o&&O.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=t.r&&W(t.r)?t.r=$(t.r,32):O.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&W(t.s)?t.s=$(t.s,32):O.throwArgumentError("signature missing or invalid s","signature",e);var s=D(t.s);s[0]>=128&&O.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(s[0]|=128);var u=q(s);t._vs&&(W(t._vs)||O.throwArgumentError("signature invalid _vs","signature",e),t._vs=$(t._vs,32)),null==t._vs?t._vs=u:t._vs!==u&&O.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}function te(e){return q(z([(e=ee(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}var ne=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},re=new N("properties/5.7.0");function ie(e,t,n){Object.defineProperty(e,t,{enumerable:!0,value:n,writable:!1})}function ae(e,t){for(var n=0;n<32;n++){if(e[t])return e[t];if(!e.prototype||"object"!==typeof e.prototype)break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function oe(e){return ne(this,void 0,void 0,b().mark((function t(){var n,r;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object.keys(e).map((function(t){var n=e[t];return Promise.resolve(n).then((function(e){return{key:t,value:e}}))})),t.next=3,Promise.all(n);case 3:return r=t.sent,t.abrupt("return",r.reduce((function(e,t){return e[t.key]=t.value,e}),{}));case 5:case"end":return t.stop()}}),t)})))}function se(e,t){e&&"object"===typeof e||re.throwArgumentError("invalid object","object",e),Object.keys(e).forEach((function(n){t[n]||re.throwArgumentError("invalid object key - "+n,"transaction:"+n,e)}))}function ue(e){var t={};for(var n in e)t[n]=e[n];return t}var le={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function ce(e){if(void 0===e||null===e||le[typeof e])return!0;if(Array.isArray(e)||"object"===typeof e){if(!Object.isFrozen(e))return!1;for(var t=Object.keys(e),n=0;n<t.length;n++){var r=null;try{r=e[t[n]]}catch(i){continue}if(!ce(r))return!1}return!0}return re.throwArgumentError("Cannot deepCopy ".concat(typeof e),"object",e)}function fe(e){if(ce(e))return e;if(Array.isArray(e))return Object.freeze(e.map((function(e){return de(e)})));if("object"===typeof e){var t={};for(var n in e){var r=e[n];void 0!==r&&ie(t,n,de(r))}return t}return re.throwArgumentError("Cannot deepCopy ".concat(typeof e),"object",e)}function de(e){return fe(e)}var he=u((function e(t){for(var n in i(this,e),t)this[n]=de(t[n])})),pe="abi/5.7.0",ve=n(2612),me="bignumber/5.7.0",ge=n.n(ve)().BN,ye=new N(me),be={},Ce=9007199254740991;var xe=!1,we=function(){function e(t,n){i(this,e),t!==be&&ye.throwError("cannot call constructor directly; use BigNumber.from",N.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}return u(e,[{key:"fromTwos",value:function(e){return Ee(Se(this).fromTwos(e))}},{key:"toTwos",value:function(e){return Ee(Se(this).toTwos(e))}},{key:"abs",value:function(){return"-"===this._hex[0]?e.from(this._hex.substring(1)):this}},{key:"add",value:function(e){return Ee(Se(this).add(Se(e)))}},{key:"sub",value:function(e){return Ee(Se(this).sub(Se(e)))}},{key:"div",value:function(t){return e.from(t).isZero()&&Le("division-by-zero","div"),Ee(Se(this).div(Se(t)))}},{key:"mul",value:function(e){return Ee(Se(this).mul(Se(e)))}},{key:"mod",value:function(e){var t=Se(e);return t.isNeg()&&Le("division-by-zero","mod"),Ee(Se(this).umod(t))}},{key:"pow",value:function(e){var t=Se(e);return t.isNeg()&&Le("negative-power","pow"),Ee(Se(this).pow(t))}},{key:"and",value:function(e){var t=Se(e);return(this.isNegative()||t.isNeg())&&Le("unbound-bitwise-result","and"),Ee(Se(this).and(t))}},{key:"or",value:function(e){var t=Se(e);return(this.isNegative()||t.isNeg())&&Le("unbound-bitwise-result","or"),Ee(Se(this).or(t))}},{key:"xor",value:function(e){var t=Se(e);return(this.isNegative()||t.isNeg())&&Le("unbound-bitwise-result","xor"),Ee(Se(this).xor(t))}},{key:"mask",value:function(e){return(this.isNegative()||e<0)&&Le("negative-width","mask"),Ee(Se(this).maskn(e))}},{key:"shl",value:function(e){return(this.isNegative()||e<0)&&Le("negative-width","shl"),Ee(Se(this).shln(e))}},{key:"shr",value:function(e){return(this.isNegative()||e<0)&&Le("negative-width","shr"),Ee(Se(this).shrn(e))}},{key:"eq",value:function(e){return Se(this).eq(Se(e))}},{key:"lt",value:function(e){return Se(this).lt(Se(e))}},{key:"lte",value:function(e){return Se(this).lte(Se(e))}},{key:"gt",value:function(e){return Se(this).gt(Se(e))}},{key:"gte",value:function(e){return Se(this).gte(Se(e))}},{key:"isNegative",value:function(){return"-"===this._hex[0]}},{key:"isZero",value:function(){return Se(this).isZero()}},{key:"toNumber",value:function(){try{return Se(this).toNumber()}catch(e){Le("overflow","toNumber",this.toString())}return null}},{key:"toBigInt",value:function(){try{return BigInt(this.toString())}catch(e){}return ye.throwError("this platform does not support BigInt",N.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}},{key:"toString",value:function(){return arguments.length>0&&(10===arguments[0]?xe||(xe=!0,ye.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?ye.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",N.errors.UNEXPECTED_ARGUMENT,{}):ye.throwError("BigNumber.toString does not accept parameters",N.errors.UNEXPECTED_ARGUMENT,{})),Se(this).toString(10)}},{key:"toHexString",value:function(){return this._hex}},{key:"toJSON",value:function(e){return{type:"BigNumber",hex:this.toHexString()}}}],[{key:"from",value:function(t){if(t instanceof e)return t;if("string"===typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new e(be,ke(t)):t.match(/^-?[0-9]+$/)?new e(be,ke(new ge(t))):ye.throwArgumentError("invalid BigNumber string","value",t);if("number"===typeof t)return t%1&&Le("underflow","BigNumber.from",t),(t>=Ce||t<=-Ce)&&Le("overflow","BigNumber.from",t),e.from(String(t));var n=t;if("bigint"===typeof n)return e.from(n.toString());if(H(n))return e.from(q(n));if(n)if(n.toHexString){var r=n.toHexString();if("string"===typeof r)return e.from(r)}else{var i=n._hex;if(null==i&&"BigNumber"===n.type&&(i=n.hex),"string"===typeof i&&(W(i)||"-"===i[0]&&W(i.substring(1))))return e.from(i)}return ye.throwArgumentError("invalid BigNumber value","value",t)}},{key:"isBigNumber",value:function(e){return!(!e||!e._isBigNumber)}}]),e}();function ke(e){if("string"!==typeof e)return ke(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&ye.throwArgumentError("invalid hex","value",e),"0x00"===(e=ke(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function Ee(e){return we.from(ke(e))}function Se(e){var t=we.from(e).toHexString();return"-"===t[0]?new ge("-"+t.substring(3),16):new ge(t.substring(2),16)}function Le(e,t,n){var r={fault:e,operation:t};return null!=n&&(r.value=n),ye.throwError(e,N.errors.NUMERIC_FAULT,r)}var Me=new N(pe);function Ae(e){var t=[];return function e(n,r){if(Array.isArray(r))for(var i in r){var a=n.slice();a.push(i);try{e(a,r[i])}catch(o){t.push({path:a,error:o})}}}([],e),t}var _e=function(){function e(t,n,r,a){i(this,e),this.name=t,this.type=n,this.localName=r,this.dynamic=a}return u(e,[{key:"_throwError",value:function(e,t){Me.throwArgumentError(e,this.localName,t)}}]),e}(),Pe=function(){function e(t){i(this,e),ie(this,"wordSize",t||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(t)}return u(e,[{key:"data",get:function(){return Y(this._data)}},{key:"length",get:function(){return this._dataLength}},{key:"_writeData",value:function(e){return this._data.push(e),this._dataLength+=e.length,e.length}},{key:"appendWriter",value:function(e){return this._writeData(z(e._data))}},{key:"writeBytes",value:function(e){var t=D(e),n=t.length%this.wordSize;return n&&(t=z([t,this._padding.slice(n)])),this._writeData(t)}},{key:"_getValue",value:function(e){var t=D(we.from(e));return t.length>this.wordSize&&Me.throwError("value out-of-bounds",N.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=z([this._padding.slice(t.length%this.wordSize),t])),t}},{key:"writeValue",value:function(e){return this._writeData(this._getValue(e))}},{key:"writeUpdatableValue",value:function(){var e=this,t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(n){e._data[t]=e._getValue(n)}}}]),e}(),Te=function(){function e(t,n,r,a){i(this,e),ie(this,"_data",D(t)),ie(this,"wordSize",n||32),ie(this,"_coerceFunc",r),ie(this,"allowLoose",a),this._offset=0}return u(e,[{key:"data",get:function(){return q(this._data)}},{key:"consumed",get:function(){return this._offset}},{key:"coerce",value:function(t,n){return this._coerceFunc?this._coerceFunc(t,n):e.coerce(t,n)}},{key:"_peekBytes",value:function(e,t,n){var r=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&n&&this._offset+t<=this._data.length?r=t:Me.throwError("data out-of-bounds",N.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)}},{key:"subReader",value:function(t){return new e(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)}},{key:"readBytes",value:function(e,t){var n=this._peekBytes(0,e,!!t);return this._offset+=n.length,n.slice(0,e)}},{key:"readValue",value:function(){return we.from(this.readBytes(this.wordSize))}}],[{key:"coerce",value:function(e,t){var n=e.match("^u?int([0-9]+)$");return n&&parseInt(n[1])<=48&&(t=t.toNumber()),t}}]),e}(),Re=n(7594),Ie=n.n(Re);function Ne(e){return"0x"+Ie().keccak_256(D(e))}var Oe=new N("rlp/5.7.0");function je(e){for(var t=[];e;)t.unshift(255&e),e>>=8;return t}function Fe(e,t,n){for(var r=0,i=0;i<n;i++)r=256*r+e[t+i];return r}function Ve(e){if(Array.isArray(e)){var t=[];if(e.forEach((function(e){t=t.concat(Ve(e))})),t.length<=55)return t.unshift(192+t.length),t;var n=je(t.length);return n.unshift(247+n.length),n.concat(t)}V(e)||Oe.throwArgumentError("RLP object must be BytesLike","object",e);var r=Array.prototype.slice.call(D(e));if(1===r.length&&r[0]<=127)return r;if(r.length<=55)return r.unshift(128+r.length),r;var i=je(r.length);return i.unshift(183+i.length),i.concat(r)}function Be(e){return q(Ve(e))}function He(e,t,n,r){for(var i=[];n<t+1+r;){var a=De(e,n);i.push(a.result),(n+=a.consumed)>t+1+r&&Oe.throwError("child data too short",N.errors.BUFFER_OVERRUN,{})}return{consumed:1+r,result:i}}function De(e,t){if(0===e.length&&Oe.throwError("data too short",N.errors.BUFFER_OVERRUN,{}),e[t]>=248){var n=e[t]-247;t+1+n>e.length&&Oe.throwError("data short segment too short",N.errors.BUFFER_OVERRUN,{});var r=Fe(e,t+1,n);return t+1+n+r>e.length&&Oe.throwError("data long segment too short",N.errors.BUFFER_OVERRUN,{}),He(e,t,t+1+n,n+r)}if(e[t]>=192){var i=e[t]-192;return t+1+i>e.length&&Oe.throwError("data array too short",N.errors.BUFFER_OVERRUN,{}),He(e,t,t+1,i)}if(e[t]>=184){var a=e[t]-183;t+1+a>e.length&&Oe.throwError("data array too short",N.errors.BUFFER_OVERRUN,{});var o=Fe(e,t+1,a);return t+1+a+o>e.length&&Oe.throwError("data array too short",N.errors.BUFFER_OVERRUN,{}),{consumed:1+a+o,result:q(e.slice(t+1+a,t+1+a+o))}}if(e[t]>=128){var s=e[t]-128;return t+1+s>e.length&&Oe.throwError("data too short",N.errors.BUFFER_OVERRUN,{}),{consumed:1+s,result:q(e.slice(t+1,t+1+s))}}return{consumed:1,result:q(e[t])}}function ze(e){var t=D(e),n=De(t,0);return n.consumed!==t.length&&Oe.throwArgumentError("invalid rlp data","data",e),n.result}var Ue=new N("address/5.7.0");function Ze(e){W(e,20)||Ue.throwArgumentError("invalid address","address",e);for(var t=(e=e.toLowerCase()).substring(2).split(""),n=new Uint8Array(40),r=0;r<40;r++)n[r]=t[r].charCodeAt(0);for(var i=D(Ne(n)),a=0;a<40;a+=2)i[a>>1]>>4>=8&&(t[a]=t[a].toUpperCase()),(15&i[a>>1])>=8&&(t[a+1]=t[a+1].toUpperCase());return"0x"+t.join("")}for(var We={},Ge=0;Ge<10;Ge++)We[String(Ge)]=String(Ge);for(var qe=0;qe<26;qe++)We[String.fromCharCode(65+qe)]=String(10+qe);var Ke,Qe=Math.floor((Ke=9007199254740991,Math.log10?Math.log10(Ke):Math.log(Ke)/Math.LN10));function Ye(e){for(var t=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((function(e){return We[e]})).join("");t.length>=Qe;){var n=t.substring(0,Qe);t=parseInt(n,10)%97+t.substring(n.length)}for(var r=String(98-parseInt(t,10)%97);r.length<2;)r="0"+r;return r}function Je(e){var t,n=null;if("string"!==typeof e&&Ue.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),n=Ze(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&n!==e&&Ue.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==Ye(e)&&Ue.throwArgumentError("bad icap checksum","address",e),t=e.substring(4),n=new ge(t,36).toString(16);n.length<40;)n="0"+n;n=Ze("0x"+n)}else Ue.throwArgumentError("invalid address","address",e);return n}function Xe(e){try{return Je(e),!0}catch(t){}return!1}function $e(e){for(var t,n=(t=Je(e).substring(2),new ge(t,16).toString(36)).toUpperCase();n.length<30;)n="0"+n;return"XE"+Ye("XE00"+n)+n}function et(e){var t=null;try{t=Je(e.from)}catch(n){Ue.throwArgumentError("missing from address","transaction",e)}return Je(Q(Ne(Be([t,U(D(we.from(e.nonce).toHexString()))])),12))}function tt(e,t,n){return 32!==K(t)&&Ue.throwArgumentError("salt must be 32 bytes","salt",t),32!==K(n)&&Ue.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",n),Je(Q(Ne(z(["0xff",Je(e),t,n])),12))}var nt=function(e){c(n,e);var t=p(n);function n(e){return i(this,n),t.call(this,"address","address",e,!1)}return u(n,[{key:"defaultValue",value:function(){return"0x0000000000000000000000000000000000000000"}},{key:"encode",value:function(e,t){try{t=Je(t)}catch(n){this._throwError(n.message,t)}return e.writeValue(t)}},{key:"decode",value:function(e){return Je($(e.readValue().toHexString(),20))}}]),n}(_e),rt=function(e){c(n,e);var t=p(n);function n(e){var r;return i(this,n),(r=t.call(this,e.name,e.type,void 0,e.dynamic)).coder=e,r}return u(n,[{key:"defaultValue",value:function(){return this.coder.defaultValue()}},{key:"encode",value:function(e,t){return this.coder.encode(e,t)}},{key:"decode",value:function(e){return this.coder.decode(e)}}]),n}(_e),it=new N(pe);function at(e,t,n){var r=null;if(Array.isArray(n))r=n;else if(n&&"object"===typeof n){var i={};r=t.map((function(e){var t=e.localName;return t||it.throwError("cannot encode object for signature with missing names",N.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:n}),i[t]&&it.throwError("cannot encode object for signature with duplicate names",N.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:n}),i[t]=!0,n[t]}))}else it.throwArgumentError("invalid tuple value","tuple",n);t.length!==r.length&&it.throwArgumentError("types/value length mismatch","tuple",n);var a=new Pe(e.wordSize),o=new Pe(e.wordSize),s=[];t.forEach((function(e,t){var n=r[t];if(e.dynamic){var i=o.length;e.encode(o,n);var u=a.writeUpdatableValue();s.push((function(e){u(e+i)}))}else e.encode(a,n)})),s.forEach((function(e){e(a.length)}));var u=e.appendWriter(a);return u+=e.appendWriter(o)}function ot(e,t){var n=[],r=e.subReader(0);t.forEach((function(t){var i=null;if(t.dynamic){var a=e.readValue(),o=r.subReader(a.toNumber());try{i=t.decode(o)}catch(s){if(s.code===N.errors.BUFFER_OVERRUN)throw s;(i=s).baseType=t.name,i.name=t.localName,i.type=t.type}}else try{i=t.decode(e)}catch(s){if(s.code===N.errors.BUFFER_OVERRUN)throw s;(i=s).baseType=t.name,i.name=t.localName,i.type=t.type}void 0!=i&&n.push(i)}));var i=t.reduce((function(e,t){var n=t.localName;return n&&(e[n]||(e[n]=0),e[n]++),e}),{});t.forEach((function(e,t){var r=e.localName;if(r&&1===i[r]&&("length"===r&&(r="_length"),null==n[r])){var a=n[t];a instanceof Error?Object.defineProperty(n,r,{enumerable:!0,get:function(){throw a}}):n[r]=a}}));for(var a=function(){var e=n[o];e instanceof Error&&Object.defineProperty(n,o,{enumerable:!0,get:function(){throw e}})},o=0;o<n.length;o++)a();return Object.freeze(n)}var st=function(e){c(n,e);var t=p(n);function n(e,r,a){var o;i(this,n);var s=e.type+"["+(r>=0?r:"")+"]",u=-1===r||e.dynamic;return(o=t.call(this,"array",s,a,u)).coder=e,o.length=r,o}return u(n,[{key:"defaultValue",value:function(){for(var e=this.coder.defaultValue(),t=[],n=0;n<this.length;n++)t.push(e);return t}},{key:"encode",value:function(e,t){Array.isArray(t)||this._throwError("expected array value",t);var n=this.length;-1===n&&(n=t.length,e.writeValue(t.length)),it.checkArgumentCount(t.length,n,"coder array"+(this.localName?" "+this.localName:""));for(var r=[],i=0;i<t.length;i++)r.push(this.coder);return at(e,r,t)}},{key:"decode",value:function(e){var t=this.length;-1===t&&32*(t=e.readValue().toNumber())>e._data.length&&it.throwError("insufficient data length",N.errors.BUFFER_OVERRUN,{length:e._data.length,count:t});for(var n=[],r=0;r<t;r++)n.push(new rt(this.coder));return e.coerce(this.name,ot(e,n))}}]),n}(_e),ut=function(e){c(n,e);var t=p(n);function n(e){return i(this,n),t.call(this,"bool","bool",e,!1)}return u(n,[{key:"defaultValue",value:function(){return!1}},{key:"encode",value:function(e,t){return e.writeValue(t?1:0)}},{key:"decode",value:function(e){return e.coerce(this.type,!e.readValue().isZero())}}]),n}(_e);function lt(){return lt="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},lt.apply(this,arguments)}var ct,ft,dt=function(e){c(n,e);var t=p(n);function n(e,r){return i(this,n),t.call(this,e,e,r,!0)}return u(n,[{key:"defaultValue",value:function(){return"0x"}},{key:"encode",value:function(e,t){t=D(t);var n=e.writeValue(t.length);return n+=e.writeBytes(t)}},{key:"decode",value:function(e){return e.readBytes(e.readValue().toNumber(),!0)}}]),n}(_e),ht=function(e){c(n,e);var t=p(n);function n(e){return i(this,n),t.call(this,"bytes",e)}return u(n,[{key:"decode",value:function(e){return e.coerce(this.name,q(lt(f(n.prototype),"decode",this).call(this,e)))}}]),n}(dt),pt=function(e){c(n,e);var t=p(n);function n(e,r){var a;i(this,n);var o="bytes"+String(e);return(a=t.call(this,o,o,r,!1)).size=e,a}return u(n,[{key:"defaultValue",value:function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)}},{key:"encode",value:function(e,t){var n=D(t);return n.length!==this.size&&this._throwError("incorrect data length",t),e.writeBytes(n)}},{key:"decode",value:function(e){return e.coerce(this.name,q(e.readBytes(this.size)))}}]),n}(_e),vt=function(e){c(n,e);var t=p(n);function n(e){return i(this,n),t.call(this,"null","",e,!1)}return u(n,[{key:"defaultValue",value:function(){return null}},{key:"encode",value:function(e,t){return null!=t&&this._throwError("not null",t),e.writeBytes([])}},{key:"decode",value:function(e){return e.readBytes(0),e.coerce(this.name,null)}}]),n}(_e),mt=we.from(-1),gt=we.from(0),yt=we.from(1),bt=we.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),Ct=function(e){c(n,e);var t=p(n);function n(e,r,a){var o;i(this,n);var s=(r?"int":"uint")+8*e;return(o=t.call(this,s,s,a,!1)).size=e,o.signed=r,o}return u(n,[{key:"defaultValue",value:function(){return 0}},{key:"encode",value:function(e,t){var n=we.from(t),r=bt.mask(8*e.wordSize);if(this.signed){var i=r.mask(8*this.size-1);(n.gt(i)||n.lt(i.add(yt).mul(mt)))&&this._throwError("value out-of-bounds",t)}else(n.lt(gt)||n.gt(r.mask(8*this.size)))&&this._throwError("value out-of-bounds",t);return n=n.toTwos(8*this.size).mask(8*this.size),this.signed&&(n=n.fromTwos(8*this.size).toTwos(8*e.wordSize)),e.writeValue(n)}},{key:"decode",value:function(e){var t=e.readValue().mask(8*this.size);return this.signed&&(t=t.fromTwos(8*this.size)),e.coerce(this.name,t)}}]),n}(_e),xt=new N("strings/5.7.0");function wt(e,t,n,r,i){if(e===ft.BAD_PREFIX||e===ft.UNEXPECTED_CONTINUE){for(var a=0,o=t+1;o<n.length&&n[o]>>6===2;o++)a++;return a}return e===ft.OVERRUN?n.length-t-1:0}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(ct||(ct={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(ft||(ft={}));var kt=Object.freeze({error:function(e,t,n,r,i){return xt.throwArgumentError("invalid codepoint at offset ".concat(t,"; ").concat(e),"bytes",n)},ignore:wt,replace:function(e,t,n,r,i){return e===ft.OVERLONG?(r.push(i),0):(r.push(65533),wt(e,t,n))}});function Et(e,t){null==t&&(t=kt.error),e=D(e);for(var n=[],r=0;r<e.length;){var i=e[r++];if(i>>7!==0){var a=null,o=null;if(192===(224&i))a=1,o=127;else if(224===(240&i))a=2,o=2047;else{if(240!==(248&i)){r+=t(128===(192&i)?ft.UNEXPECTED_CONTINUE:ft.BAD_PREFIX,r-1,e,n);continue}a=3,o=65535}if(r-1+a>=e.length)r+=t(ft.OVERRUN,r-1,e,n);else{for(var s=i&(1<<8-a-1)-1,u=0;u<a;u++){var l=e[r];if(128!=(192&l)){r+=t(ft.MISSING_CONTINUE,r,e,n),s=null;break}s=s<<6|63&l,r++}null!==s&&(s>1114111?r+=t(ft.OUT_OF_RANGE,r-1-a,e,n,s):s>=55296&&s<=57343?r+=t(ft.UTF16_SURROGATE,r-1-a,e,n,s):s<=o?r+=t(ft.OVERLONG,r-1-a,e,n,s):n.push(s))}}else n.push(i)}return n}function St(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ct.current;t!=ct.current&&(xt.checkNormalize(),e=e.normalize(t));for(var n=[],r=0;r<e.length;r++){var i=e.charCodeAt(r);if(i<128)n.push(i);else if(i<2048)n.push(i>>6|192),n.push(63&i|128);else if(55296==(64512&i)){r++;var a=e.charCodeAt(r);if(r>=e.length||56320!==(64512&a))throw new Error("invalid utf-8 string");var o=65536+((1023&i)<<10)+(1023&a);n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(63&o|128)}else n.push(i>>12|224),n.push(i>>6&63|128),n.push(63&i|128)}return D(n)}function Lt(e){var t="0000"+e.toString(16);return"\\u"+t.substring(t.length-4)}function Mt(e,t){return'"'+Et(e,t).map((function(e){if(e<256){switch(e){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(e>=32&&e<127)return String.fromCharCode(e)}return e<=65535?Lt(e):Lt(55296+((e-=65536)>>10&1023))+Lt(56320+(1023&e))})).join("")+'"'}function At(e){return e.map((function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))})).join("")}function _t(e,t){return At(Et(e,t))}function Pt(e){return Et(St(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ct.current))}var Tt=function(e){c(n,e);var t=p(n);function n(e){return i(this,n),t.call(this,"string",e)}return u(n,[{key:"defaultValue",value:function(){return""}},{key:"encode",value:function(e,t){return lt(f(n.prototype),"encode",this).call(this,e,St(t))}},{key:"decode",value:function(e){return _t(lt(f(n.prototype),"decode",this).call(this,e))}}]),n}(dt),Rt=function(e){c(n,e);var t=p(n);function n(e,r){var a;i(this,n);var o=!1,s=[];e.forEach((function(e){e.dynamic&&(o=!0),s.push(e.type)}));var u="tuple("+s.join(",")+")";return(a=t.call(this,"tuple",u,r,o)).coders=e,a}return u(n,[{key:"defaultValue",value:function(){var e=[];this.coders.forEach((function(t){e.push(t.defaultValue())}));var t=this.coders.reduce((function(e,t){var n=t.localName;return n&&(e[n]||(e[n]=0),e[n]++),e}),{});return this.coders.forEach((function(n,r){var i=n.localName;i&&1===t[i]&&("length"===i&&(i="_length"),null==e[i]&&(e[i]=e[r]))})),Object.freeze(e)}},{key:"encode",value:function(e,t){return at(e,this.coders,t)}},{key:"decode",value:function(e){return e.coerce(this.name,ot(e,this.coders))}}]),n}(_e),It=new N(pe),Nt={},Ot={calldata:!0,memory:!0,storage:!0},jt={calldata:!0,memory:!0};function Ft(e,t){if("bytes"===e||"string"===e){if(Ot[t])return!0}else if("address"===e){if("payable"===t)return!0}else if((e.indexOf("[")>=0||"tuple"===e)&&jt[t])return!0;return(Ot[t]||"payable"===t)&&It.throwArgumentError("invalid modifier","name",t),!1}function Vt(e,t){for(var n in t)ie(e,n,t[n])}var Bt=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),Ht=new RegExp(/^(.*)\[([0-9]*)\]$/),Dt=function(){function e(t,n){i(this,e),t!==Nt&&It.throwError("use fromString",N.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),Vt(this,n);var r=this.type.match(Ht);Vt(this,r?{arrayLength:parseInt(r[2]||"-1"),arrayChildren:e.fromObject({type:r[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}return u(e,[{key:"format",value:function(e){if(e||(e=Bt.sighash),Bt[e]||It.throwArgumentError("invalid format type","format",e),e===Bt.json){var t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"===typeof this.indexed&&(t.indexed=this.indexed),this.components&&(t.components=this.components.map((function(t){return JSON.parse(t.format(e))}))),JSON.stringify(t)}var n="";return"array"===this.baseType?(n+=this.arrayChildren.format(e),n+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(e!==Bt.sighash&&(n+=this.type),n+="("+this.components.map((function(t){return t.format(e)})).join(e===Bt.full?", ":",")+")"):n+=this.type,e!==Bt.sighash&&(!0===this.indexed&&(n+=" indexed"),e===Bt.full&&this.name&&(n+=" "+this.name)),n}}],[{key:"from",value:function(t,n){return"string"===typeof t?e.fromString(t,n):e.fromObject(t)}},{key:"fromObject",value:function(t){return e.isParamType(t)?t:new e(Nt,{name:t.name||null,type:Xt(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(e.fromObject):null})}},{key:"fromString",value:function(t,n){return r=function(e,t){var n=e;function r(t){It.throwArgumentError("unexpected character at position ".concat(t),"param",e)}function i(e){var n={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(n.indexed=!1),n}e=e.replace(/\s/g," ");for(var a={type:"",name:"",state:{allowType:!0}},o=a,s=0;s<e.length;s++){var u=e[s];switch(u){case"(":o.state.allowType&&""===o.type?o.type="tuple":o.state.allowParams||r(s),o.state.allowType=!1,o.type=Xt(o.type),o.components=[i(o)],o=o.components[0];break;case")":delete o.state,"indexed"===o.name&&(t||r(s),o.indexed=!0,o.name=""),Ft(o.type,o.name)&&(o.name=""),o.type=Xt(o.type);var l=o;(o=o.parent)||r(s),delete l.parent,o.state.allowParams=!1,o.state.allowName=!0,o.state.allowArray=!0;break;case",":delete o.state,"indexed"===o.name&&(t||r(s),o.indexed=!0,o.name=""),Ft(o.type,o.name)&&(o.name=""),o.type=Xt(o.type);var c=i(o.parent);o.parent.components.push(c),delete o.parent,o=c;break;case" ":o.state.allowType&&""!==o.type&&(o.type=Xt(o.type),delete o.state.allowType,o.state.allowName=!0,o.state.allowParams=!0),o.state.allowName&&""!==o.name&&("indexed"===o.name?(t||r(s),o.indexed&&r(s),o.indexed=!0,o.name=""):Ft(o.type,o.name)?o.name="":o.state.allowName=!1);break;case"[":o.state.allowArray||r(s),o.type+=u,o.state.allowArray=!1,o.state.allowName=!1,o.state.readArray=!0;break;case"]":o.state.readArray||r(s),o.type+=u,o.state.readArray=!1,o.state.allowArray=!0,o.state.allowName=!0;break;default:o.state.allowType?(o.type+=u,o.state.allowParams=!0,o.state.allowArray=!0):o.state.allowName?(o.name+=u,delete o.state.allowArray):o.state.readArray?o.type+=u:r(s)}}return o.parent&&It.throwArgumentError("unexpected eof","param",e),delete a.state,"indexed"===o.name?(t||r(n.length-7),o.indexed&&r(n.length-7),o.indexed=!0,o.name=""):Ft(o.type,o.name)&&(o.name=""),a.type=Xt(a.type),a}(t,!!n),e.fromObject({name:r.name,type:r.type,indexed:r.indexed,components:r.components});var r}},{key:"isParamType",value:function(e){return!(null==e||!e._isParamType)}}]),e}();function zt(e,t){return function(e){e=e.trim();for(var t=[],n="",r=0,i=0;i<e.length;i++){var a=e[i];","===a&&0===r?(t.push(n),n=""):(n+=a,"("===a?r++:")"===a&&-1===--r&&It.throwArgumentError("unbalanced parenthesis","value",e))}n&&t.push(n);return t}(e).map((function(e){return Dt.fromString(e,t)}))}var Ut=function(){function e(t,n){i(this,e),t!==Nt&&It.throwError("use a static from method",N.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),Vt(this,n),this._isFragment=!0,Object.freeze(this)}return u(e,null,[{key:"from",value:function(t){return e.isFragment(t)?t:"string"===typeof t?e.fromString(t):e.fromObject(t)}},{key:"fromObject",value:function(t){if(e.isFragment(t))return t;switch(t.type){case"function":return Qt.fromObject(t);case"event":return Zt.fromObject(t);case"constructor":return Kt.fromObject(t);case"error":return Jt.fromObject(t);case"fallback":case"receive":return null}return It.throwArgumentError("invalid fragment object","value",t)}},{key:"fromString",value:function(e){return"event"===(e=(e=(e=e.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?Zt.fromString(e.substring(5).trim()):"function"===e.split(" ")[0]?Qt.fromString(e.substring(8).trim()):"constructor"===e.split("(")[0].trim()?Kt.fromString(e.trim()):"error"===e.split(" ")[0]?Jt.fromString(e.substring(5).trim()):It.throwArgumentError("unsupported fragment","value",e)}},{key:"isFragment",value:function(e){return!(!e||!e._isFragment)}}]),e}(),Zt=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n,[{key:"format",value:function(e){if(e||(e=Bt.sighash),Bt[e]||It.throwArgumentError("invalid format type","format",e),e===Bt.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==Bt.sighash&&(t+="event "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===Bt.full?", ":",")+") ",e!==Bt.sighash&&this.anonymous&&(t+="anonymous "),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?n.fromString(e):n.fromObject(e)}},{key:"fromObject",value:function(e){if(n.isEventFragment(e))return e;"event"!==e.type&&It.throwArgumentError("invalid event object","value",e);var t={name:en(e.name),anonymous:e.anonymous,inputs:e.inputs?e.inputs.map(Dt.fromObject):[],type:"event"};return new n(Nt,t)}},{key:"fromString",value:function(e){var t=e.match(tn);t||It.throwArgumentError("invalid event string","value",e);var r=!1;return t[3].split(" ").forEach((function(e){switch(e.trim()){case"anonymous":r=!0;break;case"":break;default:It.warn("unknown modifier: "+e)}})),n.fromObject({name:t[1].trim(),anonymous:r,inputs:zt(t[2],!0),type:"event"})}},{key:"isEventFragment",value:function(e){return e&&e._isFragment&&"event"===e.type}}]),n}(Ut);function Wt(e,t){t.gas=null;var n=e.split("@");return 1!==n.length?(n.length>2&&It.throwArgumentError("invalid human-readable ABI signature","value",e),n[1].match(/^[0-9]+$/)||It.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=we.from(n[1]),n[0]):e}function Gt(e,t){t.constant=!1,t.payable=!1,t.stateMutability="nonpayable",e.split(" ").forEach((function(e){switch(e.trim()){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"nonpayable":t.payable=!1,t.stateMutability="nonpayable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+e)}}))}function qt(e){var t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&It.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&It.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||It.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&It.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&It.throwArgumentError("unable to determine stateMutability","value",e),t}var Kt=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n,[{key:"format",value:function(e){if(e||(e=Bt.sighash),Bt[e]||It.throwArgumentError("invalid format type","format",e),e===Bt.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});e===Bt.sighash&&It.throwError("cannot format a constructor for sighash",N.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var t="constructor("+this.inputs.map((function(t){return t.format(e)})).join(e===Bt.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?n.fromString(e):n.fromObject(e)}},{key:"fromObject",value:function(e){if(n.isConstructorFragment(e))return e;"constructor"!==e.type&&It.throwArgumentError("invalid constructor object","value",e);var t=qt(e);t.constant&&It.throwArgumentError("constructor cannot be constant","value",e);var r={name:null,type:e.type,inputs:e.inputs?e.inputs.map(Dt.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?we.from(e.gas):null};return new n(Nt,r)}},{key:"fromString",value:function(e){var t={type:"constructor"},r=(e=Wt(e,t)).match(tn);return r&&"constructor"===r[1].trim()||It.throwArgumentError("invalid constructor string","value",e),t.inputs=zt(r[2].trim(),!1),Gt(r[3].trim(),t),n.fromObject(t)}},{key:"isConstructorFragment",value:function(e){return e&&e._isFragment&&"constructor"===e.type}}]),n}(Ut),Qt=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n,[{key:"format",value:function(e){if(e||(e=Bt.sighash),Bt[e]||It.throwArgumentError("invalid format type","format",e),e===Bt.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))})),outputs:this.outputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==Bt.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===Bt.full?", ":",")+") ",e!==Bt.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((function(t){return t.format(e)})).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?n.fromString(e):n.fromObject(e)}},{key:"fromObject",value:function(e){if(n.isFunctionFragment(e))return e;"function"!==e.type&&It.throwArgumentError("invalid function object","value",e);var t=qt(e),r={type:e.type,name:en(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(Dt.fromObject):[],outputs:e.outputs?e.outputs.map(Dt.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?we.from(e.gas):null};return new n(Nt,r)}},{key:"fromString",value:function(e){var t={type:"function"},r=(e=Wt(e,t)).split(" returns ");r.length>2&&It.throwArgumentError("invalid function string","value",e);var i=r[0].match(tn);if(i||It.throwArgumentError("invalid function signature","value",e),t.name=i[1].trim(),t.name&&en(t.name),t.inputs=zt(i[2],!1),Gt(i[3].trim(),t),r.length>1){var a=r[1].match(tn);""==a[1].trim()&&""==a[3].trim()||It.throwArgumentError("unexpected tokens","value",e),t.outputs=zt(a[2],!1)}else t.outputs=[];return n.fromObject(t)}},{key:"isFunctionFragment",value:function(e){return e&&e._isFragment&&"function"===e.type}}]),n}(Kt);function Yt(e){var t=e.format();return"Error(string)"!==t&&"Panic(uint256)"!==t||It.throwArgumentError("cannot specify user defined ".concat(t," error"),"fragment",e),e}var Jt=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n,[{key:"format",value:function(e){if(e||(e=Bt.sighash),Bt[e]||It.throwArgumentError("invalid format type","format",e),e===Bt.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==Bt.sighash&&(t+="error "),(t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===Bt.full?", ":",")+") ").trim()}}],[{key:"from",value:function(e){return"string"===typeof e?n.fromString(e):n.fromObject(e)}},{key:"fromObject",value:function(e){if(n.isErrorFragment(e))return e;"error"!==e.type&&It.throwArgumentError("invalid error object","value",e);var t={type:e.type,name:en(e.name),inputs:e.inputs?e.inputs.map(Dt.fromObject):[]};return Yt(new n(Nt,t))}},{key:"fromString",value:function(e){var t={type:"error"},r=e.match(tn);return r||It.throwArgumentError("invalid error signature","value",e),t.name=r[1].trim(),t.name&&en(t.name),t.inputs=zt(r[2],!1),Yt(n.fromObject(t))}},{key:"isErrorFragment",value:function(e){return e&&e._isFragment&&"error"===e.type}}]),n}(Ut);function Xt(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}var $t=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function en(e){return e&&e.match($t)||It.throwArgumentError('invalid identifier "'.concat(e,'"'),"value",e),e}var tn=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");var nn=new N(pe),rn=new RegExp(/^bytes([0-9]*)$/),an=new RegExp(/^(u?int)([0-9]*)$/),on=function(){function e(t){i(this,e),ie(this,"coerceFunc",t||null)}return u(e,[{key:"_getCoder",value:function(e){var t=this;switch(e.baseType){case"address":return new nt(e.name);case"bool":return new ut(e.name);case"string":return new Tt(e.name);case"bytes":return new ht(e.name);case"array":return new st(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new Rt((e.components||[]).map((function(e){return t._getCoder(e)})),e.name);case"":return new vt(e.name)}var n=e.type.match(an);if(n){var r=parseInt(n[2]||"256");return(0===r||r>256||r%8!==0)&&nn.throwArgumentError("invalid "+n[1]+" bit length","param",e),new Ct(r/8,"int"===n[1],e.name)}if(n=e.type.match(rn)){var i=parseInt(n[1]);return(0===i||i>32)&&nn.throwArgumentError("invalid bytes length","param",e),new pt(i,e.name)}return nn.throwArgumentError("invalid type","type",e.type)}},{key:"_getWordSize",value:function(){return 32}},{key:"_getReader",value:function(e,t){return new Te(e,this._getWordSize(),this.coerceFunc,t)}},{key:"_getWriter",value:function(){return new Pe(this._getWordSize())}},{key:"getDefaultValue",value:function(e){var t=this,n=e.map((function(e){return t._getCoder(Dt.from(e))}));return new Rt(n,"_").defaultValue()}},{key:"encode",value:function(e,t){var n=this;e.length!==t.length&&nn.throwError("types/values length mismatch",N.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});var r=e.map((function(e){return n._getCoder(Dt.from(e))})),i=new Rt(r,"_"),a=this._getWriter();return i.encode(a,t),a.data}},{key:"decode",value:function(e,t,n){var r=this,i=e.map((function(e){return r._getCoder(Dt.from(e))}));return new Rt(i,"_").decode(this._getReader(D(t),n))}}]),e}(),sn=new on;function un(e){return Ne(St(e))}var ln=new N(pe),cn=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n)}(he),fn=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n)}(he),dn=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n)}(he),hn=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n,null,[{key:"isIndexed",value:function(e){return!(!e||!e._isIndexed)}}]),n}(he),pn={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function vn(e,t){var n=new Error("deferred error during ABI decoding triggered accessing ".concat(e));return n.error=t,n}var mn=function(){function e(t){var n=this;i(this,e);ie(this,"fragments",("string"===typeof t?JSON.parse(t):t).map((function(e){return Ut.from(e)})).filter((function(e){return null!=e}))),ie(this,"_abiCoder",ae(this instanceof e?this.constructor:void 0,"getAbiCoder")()),ie(this,"functions",{}),ie(this,"errors",{}),ie(this,"events",{}),ie(this,"structs",{}),this.fragments.forEach((function(e){var t=null;switch(e.type){case"constructor":return n.deploy?void ln.warn("duplicate definition - constructor"):void ie(n,"deploy",e);case"function":t=n.functions;break;case"event":t=n.events;break;case"error":t=n.errors;break;default:return}var r=e.format();t[r]?ln.warn("duplicate definition - "+r):t[r]=e})),this.deploy||ie(this,"deploy",Kt.from({payable:!1,type:"constructor"})),ie(this,"_isInterface",!0)}return u(e,[{key:"format",value:function(e){e||(e=Bt.full),e===Bt.sighash&&ln.throwArgumentError("interface does not support formatting sighash","format",e);var t=this.fragments.map((function(t){return t.format(e)}));return e===Bt.json?JSON.stringify(t.map((function(e){return JSON.parse(e)}))):t}},{key:"getFunction",value:function(e){if(W(e)){for(var t in this.functions)if(e===this.getSighash(t))return this.functions[t];ln.throwArgumentError("no matching function","sighash",e)}if(-1===e.indexOf("(")){var n=e.trim(),r=Object.keys(this.functions).filter((function(e){return e.split("(")[0]===n}));return 0===r.length?ln.throwArgumentError("no matching function","name",n):r.length>1&&ln.throwArgumentError("multiple matching functions","name",n),this.functions[r[0]]}var i=this.functions[Qt.fromString(e).format()];return i||ln.throwArgumentError("no matching function","signature",e),i}},{key:"getEvent",value:function(e){if(W(e)){var t=e.toLowerCase();for(var n in this.events)if(t===this.getEventTopic(n))return this.events[n];ln.throwArgumentError("no matching event","topichash",t)}if(-1===e.indexOf("(")){var r=e.trim(),i=Object.keys(this.events).filter((function(e){return e.split("(")[0]===r}));return 0===i.length?ln.throwArgumentError("no matching event","name",r):i.length>1&&ln.throwArgumentError("multiple matching events","name",r),this.events[i[0]]}var a=this.events[Zt.fromString(e).format()];return a||ln.throwArgumentError("no matching event","signature",e),a}},{key:"getError",value:function(e){if(W(e)){var t=ae(this.constructor,"getSighash");for(var n in this.errors){if(e===t(this.errors[n]))return this.errors[n]}ln.throwArgumentError("no matching error","sighash",e)}if(-1===e.indexOf("(")){var r=e.trim(),i=Object.keys(this.errors).filter((function(e){return e.split("(")[0]===r}));return 0===i.length?ln.throwArgumentError("no matching error","name",r):i.length>1&&ln.throwArgumentError("multiple matching errors","name",r),this.errors[i[0]]}var a=this.errors[Qt.fromString(e).format()];return a||ln.throwArgumentError("no matching error","signature",e),a}},{key:"getSighash",value:function(e){if("string"===typeof e)try{e=this.getFunction(e)}catch(t){try{e=this.getError(e)}catch(n){throw t}}return ae(this.constructor,"getSighash")(e)}},{key:"getEventTopic",value:function(e){return"string"===typeof e&&(e=this.getEvent(e)),ae(this.constructor,"getEventTopic")(e)}},{key:"_decodeParams",value:function(e,t){return this._abiCoder.decode(e,t)}},{key:"_encodeParams",value:function(e,t){return this._abiCoder.encode(e,t)}},{key:"encodeDeploy",value:function(e){return this._encodeParams(this.deploy.inputs,e||[])}},{key:"decodeErrorResult",value:function(e,t){"string"===typeof e&&(e=this.getError(e));var n=D(t);return q(n.slice(0,4))!==this.getSighash(e)&&ln.throwArgumentError("data signature does not match error ".concat(e.name,"."),"data",q(n)),this._decodeParams(e.inputs,n.slice(4))}},{key:"encodeErrorResult",value:function(e,t){return"string"===typeof e&&(e=this.getError(e)),q(z([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))}},{key:"decodeFunctionData",value:function(e,t){"string"===typeof e&&(e=this.getFunction(e));var n=D(t);return q(n.slice(0,4))!==this.getSighash(e)&&ln.throwArgumentError("data signature does not match function ".concat(e.name,"."),"data",q(n)),this._decodeParams(e.inputs,n.slice(4))}},{key:"encodeFunctionData",value:function(e,t){return"string"===typeof e&&(e=this.getFunction(e)),q(z([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))}},{key:"decodeFunctionResult",value:function(e,t){"string"===typeof e&&(e=this.getFunction(e));var n=D(t),r=null,i="",a=null,o=null,s=null;switch(n.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,n)}catch(c){}break;case 4:var u=q(n.slice(0,4)),l=pn[u];if(l)a=this._abiCoder.decode(l.inputs,n.slice(4)),o=l.name,s=l.signature,l.reason&&(r=a[0]),"Error"===o?i="; VM Exception while processing transaction: reverted with reason string ".concat(JSON.stringify(a[0])):"Panic"===o&&(i="; VM Exception while processing transaction: reverted with panic code ".concat(a[0]));else try{var c=this.getError(u);a=this._abiCoder.decode(c.inputs,n.slice(4)),o=c.name,s=c.format()}catch(c){}}return ln.throwError("call revert exception"+i,N.errors.CALL_EXCEPTION,{method:e.format(),data:q(t),errorArgs:a,errorName:o,errorSignature:s,reason:r})}},{key:"encodeFunctionResult",value:function(e,t){return"string"===typeof e&&(e=this.getFunction(e)),q(this._abiCoder.encode(e.outputs,t||[]))}},{key:"encodeFilterTopics",value:function(e,t){var n=this;"string"===typeof e&&(e=this.getEvent(e)),t.length>e.inputs.length&&ln.throwError("too many arguments for "+e.format(),N.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});var r=[];e.anonymous||r.push(this.getEventTopic(e));var i=function(e,t){return"string"===e.type?un(t):"bytes"===e.type?Ne(q(t)):("bool"===e.type&&"boolean"===typeof t&&(t=t?"0x01":"0x00"),e.type.match(/^u?int/)&&(t=we.from(t).toHexString()),"address"===e.type&&n._abiCoder.encode(["address"],[t]),$(q(t),32))};for(t.forEach((function(t,n){var a=e.inputs[n];a.indexed?null==t?r.push(null):"array"===a.baseType||"tuple"===a.baseType?ln.throwArgumentError("filtering with tuples or arrays not supported","contract."+a.name,t):Array.isArray(t)?r.push(t.map((function(e){return i(a,e)}))):r.push(i(a,t)):null!=t&&ln.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+a.name,t)}));r.length&&null===r[r.length-1];)r.pop();return r}},{key:"encodeEventLog",value:function(e,t){var n=this;"string"===typeof e&&(e=this.getEvent(e));var r=[],i=[],a=[];return e.anonymous||r.push(this.getEventTopic(e)),t.length!==e.inputs.length&&ln.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach((function(e,o){var s=t[o];if(e.indexed)if("string"===e.type)r.push(un(s));else if("bytes"===e.type)r.push(Ne(s));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");r.push(n._abiCoder.encode([e.type],[s]))}else i.push(e),a.push(s)})),{data:this._abiCoder.encode(i,a),topics:r}}},{key:"decodeEventLog",value:function(e,t,n){if("string"===typeof e&&(e=this.getEvent(e)),null!=n&&!e.anonymous){var r=this.getEventTopic(e);W(n[0],32)&&n[0].toLowerCase()===r||ln.throwError("fragment/topic mismatch",N.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:r,value:n[0]}),n=n.slice(1)}var i=[],a=[],o=[];e.inputs.forEach((function(e,t){e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(i.push(Dt.fromObject({type:"bytes32",name:e.name})),o.push(!0)):(i.push(e),o.push(!1)):(a.push(e),o.push(!1))}));var s=null!=n?this._abiCoder.decode(i,z(n)):null,u=this._abiCoder.decode(a,t,!0),l=[],c=0,f=0;e.inputs.forEach((function(e,t){if(e.indexed)if(null==s)l[t]=new hn({_isIndexed:!0,hash:null});else if(o[t])l[t]=new hn({_isIndexed:!0,hash:s[f++]});else try{l[t]=s[f++]}catch(r){l[t]=r}else try{l[t]=u[c++]}catch(r){l[t]=r}if(e.name&&null==l[e.name]){var n=l[t];n instanceof Error?Object.defineProperty(l,e.name,{enumerable:!0,get:function(){throw vn("property ".concat(JSON.stringify(e.name)),n)}}):l[e.name]=n}}));for(var d=function(e){var t=l[e];t instanceof Error&&Object.defineProperty(l,e,{enumerable:!0,get:function(){throw vn("index ".concat(e),t)}})},h=0;h<l.length;h++)d(h);return Object.freeze(l)}},{key:"parseTransaction",value:function(e){var t=this.getFunction(e.data.substring(0,10).toLowerCase());return t?new fn({args:this._abiCoder.decode(t.inputs,"0x"+e.data.substring(10)),functionFragment:t,name:t.name,signature:t.format(),sighash:this.getSighash(t),value:we.from(e.value||"0")}):null}},{key:"parseLog",value:function(e){var t=this.getEvent(e.topics[0]);return!t||t.anonymous?null:new cn({eventFragment:t,name:t.name,signature:t.format(),topic:this.getEventTopic(t),args:this.decodeEventLog(t,e.data,e.topics)})}},{key:"parseError",value:function(e){var t=q(e),n=this.getError(t.substring(0,10).toLowerCase());return n?new dn({args:this._abiCoder.decode(n.inputs,"0x"+t.substring(10)),errorFragment:n,name:n.name,signature:n.format(),sighash:this.getSighash(n)}):null}}],[{key:"getAbiCoder",value:function(){return sn}},{key:"getAddress",value:function(e){return Je(e)}},{key:"getSighash",value:function(e){return Q(un(e.format()),0,4)}},{key:"getEventTopic",value:function(e){return un(e.format())}},{key:"isInterface",value:function(e){return!(!e||!e._isInterface)}}]),e}();function gn(e){e=atob(e);for(var t=[],n=0;n<e.length;n++)t.push(e.charCodeAt(n));return D(t)}function yn(e){e=D(e);for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}var bn=function(){function e(t){i(this,e),ie(this,"alphabet",t),ie(this,"base",t.length),ie(this,"_alphabetMap",{}),ie(this,"_leader",t.charAt(0));for(var n=0;n<t.length;n++)this._alphabetMap[t.charAt(n)]=n}return u(e,[{key:"encode",value:function(e){var t=D(e);if(0===t.length)return"";for(var n=[0],r=0;r<t.length;++r){for(var i=t[r],a=0;a<n.length;++a)i+=n[a]<<8,n[a]=i%this.base,i=i/this.base|0;for(;i>0;)n.push(i%this.base),i=i/this.base|0}for(var o="",s=0;0===t[s]&&s<t.length-1;++s)o+=this._leader;for(var u=n.length-1;u>=0;--u)o+=this.alphabet[n[u]];return o}},{key:"decode",value:function(e){if("string"!==typeof e)throw new TypeError("Expected String");var t=[];if(0===e.length)return new Uint8Array(t);t.push(0);for(var n=0;n<e.length;n++){var r=this._alphabetMap[e[n]];if(void 0===r)throw new Error("Non-base"+this.base+" character");for(var i=r,a=0;a<t.length;++a)i+=t[a]*this.base,t[a]=255&i,i>>=8;for(;i>0;)t.push(255&i),i>>=8}for(var o=0;e[o]===this._leader&&o<e.length-1;++o)t.push(0);return D(new Uint8Array(t.reverse()))}}]),e}(),Cn=(new bn("abcdefghijklmnopqrstuvwxyz234567"),new bn("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")),xn="hash/5.7.0";function wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kn(e,t){if(e){if("string"===typeof e)return wn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wn(e,t):void 0}}function En(e){return function(e){if(Array.isArray(e))return wn(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||kn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sn(e,t){null==t&&(t=1);var n=[],r=n.forEach;return function e(t,i){r.call(t,(function(t){i>0&&Array.isArray(t)?e(t,i-1):n.push(t)}))}(e,t),n}function Ln(e){return function(e){var t=0;return function(){return e[t++]}}(function(e){var t=0;function n(){return e[t++]<<8|e[t++]}for(var r=n(),i=1,a=[0,1],o=1;o<r;o++)a.push(i+=n());var s=n(),u=t;t+=s;var l=0,c=0;function f(){return 0==l&&(c=c<<8|e[t++],l=8),c>>--l&1}for(var d=Math.pow(2,31),h=d>>>1,p=h>>1,v=d-1,m=0,g=0;g<31;g++)m=m<<1|f();for(var y=[],b=0,C=d;;){for(var x=Math.floor(((m-b+1)*i-1)/C),w=0,k=r;k-w>1;){var E=w+k>>>1;x<a[E]?k=E:w=E}if(0==w)break;y.push(w);for(var S=b+Math.floor(C*a[w]/i),L=b+Math.floor(C*a[w+1]/i)-1;0==((S^L)&h);)m=m<<1&v|f(),S=S<<1&v,L=L<<1&v|1;for(;S&~L&p;)m=m&h|m<<1&v>>>1|f(),S=S<<1^h,L=(L^h)<<1|h|1;b=S,C=1+L-S}var M=r-4;return y.map((function(t){switch(t-M){case 3:return M+65792+(e[u++]<<16|e[u++]<<8|e[u++]);case 2:return M+256+(e[u++]<<8|e[u++]);case 1:return M+e[u++];default:return t-1}}))}(e))}function Mn(e){return 1&e?~e>>1:e>>1}function An(e,t){for(var n=Array(e),r=0,i=-1;r<e;r++)n[r]=i+=1+t();return n}function _n(e,t){for(var n=Array(e),r=0,i=0;r<e;r++)n[r]=i+=Mn(t());return n}function Pn(e,t){for(var n=An(e(),e),r=e(),i=An(r,e),a=function(e,t){for(var n=Array(e),r=0;r<e;r++)n[r]=1+t();return n}(r,e),o=0;o<r;o++)for(var s=0;s<a[o];s++)n.push(i[o]+s);return t?n.map((function(e){return t[e]})):n}function Tn(e,t,n){for(var r=Array(e).fill(void 0).map((function(){return[]})),i=0;i<t;i++)_n(e,n).forEach((function(e,t){return r[t].push(e)}));return r}function Rn(e,t){var n=1+t(),r=t(),i=function(e){for(var t=[];;){var n=e();if(0==n)break;t.push(n)}return t}(t);return Sn(Tn(i.length,1+e,t).map((function(e,t){var a=e[0],o=e.slice(1);return Array(i[t]).fill(void 0).map((function(e,t){var i=t*r;return[a+t*n,o.map((function(e){return e+i}))]}))})))}function In(e,t){return Tn(1+t(),1+e,t).map((function(e){return[e[0],e.slice(1)]}))}var Nn=Ln(gn("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA==")),On=new Set(Pn(Nn)),jn=new Set(Pn(Nn)),Fn=function(e){for(var t=[];;){var n=e();if(0==n)break;t.push(Rn(n,e))}for(;;){var r=e()-1;if(r<0)break;t.push(In(r,e))}return function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];t[r[0]]=r[1]}return t}(Sn(t))}(Nn),Vn=function(e){var t=Pn(e).sort((function(e,t){return e-t}));return function n(){var r=[];for(;;){var i=Pn(e,t);if(0==i.length)break;r.push({set:new Set(i),node:n()})}r.sort((function(e,t){return t.set.size-e.set.size}));var a=e();return{branches:r,valid:a%3,fe0f:!!(1&(a=a/3|0)),save:1==(a>>=1),check:2==a}}()}(Nn),Bn=45,Hn=95;function Dn(e){return Pt(e)}function zn(e){return e.filter((function(e){return 65039!=e}))}function Un(e){var t,n=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=kn(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}(e.split("."));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=Dn(r);try{for(var a=i.lastIndexOf(Hn)-1;a>=0;a--)if(i[a]!==Hn)throw new Error("underscore only allowed at start");if(i.length>=4&&i.every((function(e){return e<128}))&&i[2]===Bn&&i[3]===Bn)throw new Error("invalid label extension")}catch(o){throw new Error('Invalid label "'.concat(r,'": ').concat(o.message))}}}catch(o){n.e(o)}finally{n.f()}return e}function Zn(e){return Un(function(e,t){var n=Dn(e).reverse(),r=[];for(;n.length;){var i=Wn(n);if(i)r.push.apply(r,En(t(i)));else{var a=n.pop();if(On.has(a))r.push(a);else if(!jn.has(a)){var o=Fn[a];if(!o)throw new Error("Disallowed codepoint: 0x".concat(a.toString(16).toUpperCase()));r.push.apply(r,En(o))}}}return Un((s=String.fromCodePoint.apply(String,r),s.normalize("NFC")));var s}(e,zn))}function Wn(e,t){var n,r,i,a=Vn,o=[],s=e.length;t&&(t.length=0);for(var u=function(){var u=e[--s];if(a=null===(n=a.branches.find((function(e){return e.set.has(u)})))||void 0===n?void 0:n.node,!a)return"break";if(a.save)i=u;else if(a.check&&u===i)return"break";o.push(u),a.fe0f&&(o.push(65039),s>0&&65039==e[s-1]&&s--),a.valid&&(r=o.slice(),2==a.valid&&r.splice(1,1),t&&t.push.apply(t,En(e.slice(s).reverse())),e.length=s)};s;){if("break"===u())break}return r}var Gn=new N(xn),qn=new Uint8Array(32);function Kn(e){if(0===e.length)throw new Error("invalid ENS name; empty component");return e}function Qn(e){var t=St(Zn(e)),n=[];if(0===e.length)return n;for(var r=0,i=0;i<t.length;i++){46===t[i]&&(n.push(Kn(t.slice(r,i))),r=i+1)}if(r>=t.length)throw new Error("invalid ENS name; empty component");return n.push(Kn(t.slice(r))),n}function Yn(e){try{return 0!==Qn(e).length}catch(t){}return!1}function Jn(e){"string"!==typeof e&&Gn.throwArgumentError("invalid ENS name; not a string","name",e);for(var t=qn,n=Qn(e);n.length;)t=Ne(z([t,Ne(n.pop())]));return q(t)}function Xn(e){return q(z(Qn(e).map((function(e){if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var t=new Uint8Array(e.length+1);return t.set(e,1),t[0]=t.length-1,t}))))+"00"}qn.fill(0);var $n="\x19Ethereum Signed Message:\n";function er(e){return"string"===typeof e&&(e=St(e)),Ne(z([St($n),St(String(e.length)),e]))}var tr=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},nr=new N(xn),rr=new Uint8Array(32);rr.fill(0);var ir=we.from(-1),ar=we.from(0),or=we.from(1),sr=we.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");var ur=$(or.toHexString(),32),lr=$(ar.toHexString(),32),cr={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},fr=["name","version","chainId","verifyingContract","salt"];function dr(e){return function(t){return"string"!==typeof t&&nr.throwArgumentError("invalid domain value for ".concat(JSON.stringify(e)),"domain.".concat(e),t),t}}var hr={name:dr("name"),version:dr("version"),chainId:function(e){try{return we.from(e).toString()}catch(t){}return nr.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",e)},verifyingContract:function(e){try{return Je(e).toLowerCase()}catch(t){}return nr.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){try{var t=D(e);if(32!==t.length)throw new Error("bad length");return q(t)}catch(n){}return nr.throwArgumentError('invalid domain value "salt"',"domain.salt",e)}};function pr(e){var t=e.match(/^(u?)int(\d*)$/);if(t){var n=""===t[1],r=parseInt(t[2]||"256");(r%8!==0||r>256||t[2]&&t[2]!==String(r))&&nr.throwArgumentError("invalid numeric width","type",e);var i=sr.mask(n?r-1:r),a=n?i.add(or).mul(ir):ar;return function(t){var n=we.from(t);return(n.lt(a)||n.gt(i))&&nr.throwArgumentError("value out-of-bounds for ".concat(e),"value",t),$(n.toTwos(256).toHexString(),32)}}var o=e.match(/^bytes(\d+)$/);if(o){var s=parseInt(o[1]);return(0===s||s>32||o[1]!==String(s))&&nr.throwArgumentError("invalid bytes width","type",e),function(t){return D(t).length!==s&&nr.throwArgumentError("invalid length for ".concat(e),"value",t),function(e){var t=D(e),n=t.length%32;return n?Y([t,rr.slice(n)]):q(t)}(t)}}switch(e){case"address":return function(e){return $(Je(e),32)};case"bool":return function(e){return e?ur:lr};case"bytes":return function(e){return Ne(e)};case"string":return function(e){return un(e)}}return null}function vr(e,t){return"".concat(e,"(").concat(t.map((function(e){var t=e.name;return e.type+" "+t})).join(","),")")}var mr,gr=function(){function e(t){i(this,e),ie(this,"types",Object.freeze(de(t))),ie(this,"_encoderCache",{}),ie(this,"_types",{});var n={},r={},a={};Object.keys(t).forEach((function(e){n[e]={},r[e]=[],a[e]={}}));var o=function(e){var i={};t[e].forEach((function(a){i[a.name]&&nr.throwArgumentError("duplicate variable name ".concat(JSON.stringify(a.name)," in ").concat(JSON.stringify(e)),"types",t),i[a.name]=!0;var o=a.type.match(/^([^\x5b]*)(\x5b|$)/)[1];o===e&&nr.throwArgumentError("circular type reference to ".concat(JSON.stringify(o)),"types",t),pr(o)||(r[o]||nr.throwArgumentError("unknown type ".concat(JSON.stringify(o)),"types",t),r[o].push(e),n[e][o]=!0)}))};for(var s in t)o(s);var u=Object.keys(r).filter((function(e){return 0===r[e].length}));for(var l in 0===u.length?nr.throwArgumentError("missing primary type","types",t):u.length>1&&nr.throwArgumentError("ambiguous primary types or unused types: ".concat(u.map((function(e){return JSON.stringify(e)})).join(", ")),"types",t),ie(this,"primaryType",u[0]),function e(i,o){o[i]&&nr.throwArgumentError("circular type reference to ".concat(JSON.stringify(i)),"types",t),o[i]=!0,Object.keys(n[i]).forEach((function(t){r[t]&&(e(t,o),Object.keys(o).forEach((function(e){a[e][t]=!0})))})),delete o[i]}(this.primaryType,{}),a){var c=Object.keys(a[l]);c.sort(),this._types[l]=vr(l,t[l])+c.map((function(e){return vr(e,t[e])})).join("")}}return u(e,[{key:"getEncoder",value:function(e){var t=this._encoderCache[e];return t||(t=this._encoderCache[e]=this._getEncoder(e)),t}},{key:"_getEncoder",value:function(e){var t=this,n=pr(e);if(n)return n;var r=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){var i=r[1],a=this.getEncoder(i),o=parseInt(r[3]);return function(e){o>=0&&e.length!==o&&nr.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);var n=e.map(a);return t._types[i]&&(n=n.map(Ne)),Ne(Y(n))}}var s=this.types[e];if(s){var u=un(this._types[e]);return function(e){var n=s.map((function(n){var r=n.name,i=n.type,a=t.getEncoder(i)(e[r]);return t._types[i]?Ne(a):a}));return n.unshift(u),Y(n)}}return nr.throwArgumentError("unknown type: ".concat(e),"type",e)}},{key:"encodeType",value:function(e){var t=this._types[e];return t||nr.throwArgumentError("unknown type: ".concat(JSON.stringify(e)),"name",e),t}},{key:"encodeData",value:function(e,t){return this.getEncoder(e)(t)}},{key:"hashStruct",value:function(e,t){return Ne(this.encodeData(e,t))}},{key:"encode",value:function(e){return this.encodeData(this.primaryType,e)}},{key:"hash",value:function(e){return this.hashStruct(this.primaryType,e)}},{key:"_visit",value:function(e,t,n){var r=this;if(pr(e))return n(e,t);var i=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(i){var a=i[1],o=parseInt(i[3]);return o>=0&&t.length!==o&&nr.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t),t.map((function(e){return r._visit(a,e,n)}))}var s=this.types[e];return s?s.reduce((function(e,i){var a=i.name,o=i.type;return e[a]=r._visit(o,t[a],n),e}),{}):nr.throwArgumentError("unknown type: ".concat(e),"type",e)}},{key:"visit",value:function(e,t){return this._visit(this.primaryType,e,t)}}],[{key:"from",value:function(t){return new e(t)}},{key:"getPrimaryType",value:function(t){return e.from(t).primaryType}},{key:"hashStruct",value:function(t,n,r){return e.from(n).hashStruct(t,r)}},{key:"hashDomain",value:function(t){var n=[];for(var r in t){var i=cr[r];i||nr.throwArgumentError("invalid typed-data domain key: ".concat(JSON.stringify(r)),"domain",t),n.push({name:r,type:i})}return n.sort((function(e,t){return fr.indexOf(e.name)-fr.indexOf(t.name)})),e.hashStruct("EIP712Domain",{EIP712Domain:n},t)}},{key:"encode",value:function(t,n,r){return Y(["0x1901",e.hashDomain(t),e.from(n).hash(r)])}},{key:"hash",value:function(t,n,r){return Ne(e.encode(t,n,r))}},{key:"resolveNames",value:function(t,n,r,i){return tr(this,void 0,void 0,b().mark((function a(){var o,s,u;return b().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:t=ue(t),o={},t.verifyingContract&&!W(t.verifyingContract,20)&&(o[t.verifyingContract]="0x"),(s=e.from(n)).visit(r,(function(e,t){return"address"!==e||W(t,20)||(o[t]="0x"),t})),a.t0=b().keys(o);case 6:if((a.t1=a.t0()).done){a.next=13;break}return u=a.t1.value,a.next=10,i(u);case 10:o[u]=a.sent,a.next=6;break;case 13:return t.verifyingContract&&o[t.verifyingContract]&&(t.verifyingContract=o[t.verifyingContract]),r=s.visit(r,(function(e,t){return"address"===e&&o[t]?o[t]:t})),a.abrupt("return",{domain:t,value:r});case 16:case"end":return a.stop()}}),a)})))}},{key:"getPayload",value:function(t,n,r){e.hashDomain(t);var i={},a=[];fr.forEach((function(e){var n=t[e];null!=n&&(i[e]=hr[e](n),a.push({name:e,type:cr[e]}))}));var o=e.from(n),s=ue(n);return s.EIP712Domain?nr.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",n):s.EIP712Domain=a,o.encode(r),{types:s,domain:i,primaryType:o.primaryType,message:o.visit(r,(function(e,t){if(e.match(/^bytes(\d*)/))return q(D(t));if(e.match(/^u?int/))return we.from(t).toString();switch(e){case"address":return t.toLowerCase();case"bool":return!!t;case"string":return"string"!==typeof t&&nr.throwArgumentError("invalid string","value",t),t}return nr.throwArgumentError("unsupported type","type",e)}))}}}]),e}(),yr=n(2303),br=n.n(yr);!function(e){e.sha256="sha256",e.sha512="sha512"}(mr||(mr={}));var Cr=new N("sha2/5.7.0");function xr(e){return"0x"+br().ripemd160().update(D(e)).digest("hex")}function wr(e){return"0x"+br().sha256().update(D(e)).digest("hex")}function kr(e){return"0x"+br().sha512().update(D(e)).digest("hex")}function Er(e,t,n){return mr[e]||Cr.throwError("unsupported algorithm "+e,N.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:e}),"0x"+br().hmac(br()[e],D(t)).update(D(n)).digest("hex")}var Sr=n(5091),Lr=n.n(Sr);"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self&&self;function Mr(e,t,n){return n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}((void 0===t||null===t)&&n.path)}},e(n,n.exports),n.exports}var Ar=_r;function _r(e,t){if(!e)throw new Error(t||"Assertion failed")}_r.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)};var Pr=Mr((function(e,t){var n=t;function r(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",n=0;n<e.length;n++)t+=r(e[n].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!==typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e);for(r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),a=i>>8,o=255&i;a?n.push(a,o):n.push(o)}return n},n.zero2=r,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}})),Tr=Mr((function(e,t){var n=t;n.assert=Ar,n.toArray=Pr.toArray,n.zero2=Pr.zero2,n.toHex=Pr.toHex,n.encode=Pr.encode,n.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<<t+1,a=e.clone(),o=0;o<r.length;o++){var s,u=a.andln(i-1);a.isOdd()?(s=u>(i>>1)-1?(i>>1)-u:u,a.isubn(s)):s=0,r[o]=s,a.iushrn(1)}return r},n.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r,i=0,a=0;e.cmpn(-i)>0||t.cmpn(-a)>0;){var o,s,u=e.andln(3)+i&3,l=t.andln(3)+a&3;3===u&&(u=-1),3===l&&(l=-1),o=0===(1&u)?0:3!==(r=e.andln(7)+i&7)&&5!==r||2!==l?u:-u,n[0].push(o),s=0===(1&l)?0:3!==(r=t.andln(7)+a&7)&&5!==r||2!==u?l:-l,n[1].push(s),2*i===o+1&&(i=1-i),2*a===s+1&&(a=1-a),e.iushrn(1),t.iushrn(1)}return n},n.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},n.parseBytes=function(e){return"string"===typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new(Lr())(e,"hex","le")}})),Rr=Tr.getNAF,Ir=Tr.getJSF,Nr=Tr.assert;function Or(e,t){this.type=e,this.p=new(Lr())(t.p,16),this.red=t.prime?Lr().red(t.prime):Lr().mont(this.p),this.zero=new(Lr())(0).toRed(this.red),this.one=new(Lr())(1).toRed(this.red),this.two=new(Lr())(2).toRed(this.red),this.n=t.n&&new(Lr())(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.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 n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var jr=Or;function Fr(e,t){this.curve=e,this.type=t,this.precomputed=null}Or.prototype.point=function(){throw new Error("Not implemented")},Or.prototype.validate=function(){throw new Error("Not implemented")},Or.prototype._fixedNafMul=function(e,t){Nr(e.precomputed);var n=e._getDoubles(),r=Rr(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2===0?2:1);i/=3;var a,o,s=[];for(a=0;a<r.length;a+=n.step){o=0;for(var u=a+n.step-1;u>=a;u--)o=(o<<1)+r[u];s.push(o)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),f=i;f>0;f--){for(a=0;a<s.length;a++)(o=s[a])===f?c=c.mixedAdd(n.points[a]):o===-f&&(c=c.mixedAdd(n.points[a].neg()));l=l.add(c)}return l.toP()},Or.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,a=Rr(t,n,this._bitLength),o=this.jpoint(null,null,null),s=a.length-1;s>=0;s--){for(var u=0;s>=0&&0===a[s];s--)u++;if(s>=0&&u++,o=o.dblp(u),s<0)break;var l=a[s];Nr(0!==l),o="affine"===e.type?l>0?o.mixedAdd(i[l-1>>1]):o.mixedAdd(i[-l-1>>1].neg()):l>0?o.add(i[l-1>>1]):o.add(i[-l-1>>1].neg())}return"affine"===e.type?o.toP():o},Or.prototype._wnafMulAdd=function(e,t,n,r,i){var a,o,s,u=this._wnafT1,l=this._wnafT2,c=this._wnafT3,f=0;for(a=0;a<r;a++){var d=(s=t[a])._getNAFPoints(e);u[a]=d.wnd,l[a]=d.points}for(a=r-1;a>=1;a-=2){var h=a-1,p=a;if(1===u[h]&&1===u[p]){var v=[t[h],null,null,t[p]];0===t[h].y.cmp(t[p].y)?(v[1]=t[h].add(t[p]),v[2]=t[h].toJ().mixedAdd(t[p].neg())):0===t[h].y.cmp(t[p].y.redNeg())?(v[1]=t[h].toJ().mixedAdd(t[p]),v[2]=t[h].add(t[p].neg())):(v[1]=t[h].toJ().mixedAdd(t[p]),v[2]=t[h].toJ().mixedAdd(t[p].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],g=Ir(n[h],n[p]);for(f=Math.max(g[0].length,f),c[h]=new Array(f),c[p]=new Array(f),o=0;o<f;o++){var y=0|g[0][o],b=0|g[1][o];c[h][o]=m[3*(y+1)+(b+1)],c[p][o]=0,l[h]=v}}else c[h]=Rr(n[h],u[h],this._bitLength),c[p]=Rr(n[p],u[p],this._bitLength),f=Math.max(c[h].length,f),f=Math.max(c[p].length,f)}var C=this.jpoint(null,null,null),x=this._wnafT4;for(a=f;a>=0;a--){for(var w=0;a>=0;){var k=!0;for(o=0;o<r;o++)x[o]=0|c[o][a],0!==x[o]&&(k=!1);if(!k)break;w++,a--}if(a>=0&&w++,C=C.dblp(w),a<0)break;for(o=0;o<r;o++){var E=x[o];0!==E&&(E>0?s=l[o][E-1>>1]:E<0&&(s=l[o][-E-1>>1].neg()),C="affine"===s.type?C.mixedAdd(s):C.add(s))}}for(a=0;a<r;a++)l[a]=null;return i?C:C.toP()},Or.BasePoint=Fr,Fr.prototype.eq=function(){throw new Error("Not implemented")},Fr.prototype.validate=function(){return this.curve.validate(this)},Or.prototype.decodePoint=function(e,t){e=Tr.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1===2*n)return 6===e[0]?Nr(e[e.length-1]%2===0):7===e[0]&&Nr(e[e.length-1]%2===1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw new Error("Unknown point format")},Fr.prototype.encodeCompressed=function(e){return this.encode(e,!0)},Fr.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},Fr.prototype.encode=function(e,t){return Tr.encode(this._encode(t),e)},Fr.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},Fr.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},Fr.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<t;i+=e){for(var a=0;a<e;a++)r=r.dbl();n.push(r)}return{step:e,points:n}},Fr.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},Fr.prototype._getBeta=function(){return null},Fr.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t};var Vr=Mr((function(e){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),Br=Tr.assert;function Hr(e){jr.call(this,"short",e),this.a=new(Lr())(e.a,16).toRed(this.red),this.b=new(Lr())(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}Vr(Hr,jr);var Dr=Hr;function zr(e,t,n,r){jr.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new(Lr())(t,16),this.y=new(Lr())(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function Ur(e,t,n,r){jr.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new(Lr())(0)):(this.x=new(Lr())(t,16),this.y=new(Lr())(n,16),this.z=new(Lr())(r,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}Hr.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new(Lr())(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new(Lr())(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?n=i[0]:(n=i[1],Br(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new(Lr())(e.a,16),b:new(Lr())(e.b,16)}})):this._getEndoBasis(n)}}},Hr.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:Lr().mont(e),n=new(Lr())(2).toRed(t).redInvm(),r=n.redNeg(),i=new(Lr())(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(i).fromRed(),r.redSub(i).fromRed()]},Hr.prototype._getEndoBasis=function(e){for(var t,n,r,i,a,o,s,u,l,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),h=new(Lr())(1),p=new(Lr())(0),v=new(Lr())(0),m=new(Lr())(1),g=0;0!==f.cmpn(0);){var y=d.div(f);u=d.sub(y.mul(f)),l=v.sub(y.mul(h));var b=m.sub(y.mul(p));if(!r&&u.cmp(c)<0)t=s.neg(),n=h,r=u.neg(),i=l;else if(r&&2===++g)break;s=u,d=f,f=u,v=h,h=l,m=p,p=b}a=u.neg(),o=l;var C=r.sqr().add(i.sqr());return a.sqr().add(o.sqr()).cmp(C)>=0&&(a=t,o=n),r.negative&&(r=r.neg(),i=i.neg()),a.negative&&(a=a.neg(),o=o.neg()),[{a:r,b:i},{a:a,b:o}]},Hr.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),a=n.b.neg().mul(e).divRound(this.n),o=i.mul(n.a),s=a.mul(r.a),u=i.mul(n.b),l=a.mul(r.b);return{k1:e.sub(o).sub(s),k2:u.add(l).neg()}},Hr.prototype.pointFromX=function(e,t){(e=new(Lr())(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var i=r.fromRed().isOdd();return(t&&!i||!t&&i)&&(r=r.redNeg()),this.point(e,r)},Hr.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},Hr.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,a=0;a<e.length;a++){var o=this._endoSplit(t[a]),s=e[a],u=s._getBeta();o.k1.negative&&(o.k1.ineg(),s=s.neg(!0)),o.k2.negative&&(o.k2.ineg(),u=u.neg(!0)),r[2*a]=s,r[2*a+1]=u,i[2*a]=o.k1,i[2*a+1]=o.k2}for(var l=this._wnafMulAdd(1,r,i,2*a,n),c=0;c<2*a;c++)r[c]=null,i[c]=null;return l},Vr(zr,jr.BasePoint),Hr.prototype.point=function(e,t,n){return new zr(this,e,t,n)},Hr.prototype.pointFromJSON=function(e,t){return zr.fromJSON(this,e,t)},zr.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},zr.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},zr.fromJSON=function(e,t,n){"string"===typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var a=t[2];return r.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[r].concat(a.doubles.points.map(i))},naf:a.naf&&{wnd:a.naf.wnd,points:[r].concat(a.naf.points.map(i))}},r},zr.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},zr.prototype.isInfinity=function(){return this.inf},zr.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(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},zr.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},zr.prototype.getX=function(){return this.x.fromRed()},zr.prototype.getY=function(){return this.y.fromRed()},zr.prototype.mul=function(e){return e=new(Lr())(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)},zr.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},zr.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},zr.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},zr.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},zr.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},Vr(Ur,jr.BasePoint),Hr.prototype.jpoint=function(e,t,n){return new Ur(this,e,t,n)},Ur.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},Ur.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},Ur.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),u=a.redSub(o);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),c=l.redMul(s),f=r.redMul(l),d=u.redSqr().redIAdd(c).redISub(f).redISub(f),h=u.redMul(f.redISub(d)).redISub(a.redMul(c)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,h,p)},Ur.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=n.redSub(r),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=o.redSqr(),l=u.redMul(o),c=n.redMul(u),f=s.redSqr().redIAdd(l).redISub(c).redISub(c),d=s.redMul(c.redISub(f)).redISub(i.redMul(l)),h=this.z.redMul(o);return this.curve.jpoint(f,d,h)},Ur.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t<e;t++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,a=this.x,o=this.y,s=this.z,u=s.redSqr().redSqr(),l=o.redAdd(o);for(t=0;t<e;t++){var c=a.redSqr(),f=l.redSqr(),d=f.redSqr(),h=c.redAdd(c).redIAdd(c).redIAdd(r.redMul(u)),p=a.redMul(f),v=h.redSqr().redISub(p.redAdd(p)),m=p.redISub(v),g=h.redMul(m);g=g.redIAdd(g).redISub(d);var y=l.redMul(s);t+1<e&&(u=u.redMul(d)),a=v,s=y,l=g}return this.curve.jpoint(a,l.redMul(i),s)},Ur.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},Ur.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(r).redISub(a);o=o.redIAdd(o);var s=r.redAdd(r).redIAdd(r),u=s.redSqr().redISub(o).redISub(o),l=a.redIAdd(a);l=(l=l.redIAdd(l)).redIAdd(l),e=u,t=s.redMul(o.redISub(u)).redISub(l),n=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),f=this.y.redSqr(),d=f.redSqr(),h=this.x.redAdd(f).redSqr().redISub(c).redISub(d);h=h.redIAdd(h);var p=c.redAdd(c).redIAdd(c),v=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),e=v.redISub(h).redISub(h),t=p.redMul(h.redISub(e)).redISub(m),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},Ur.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(r).redISub(a);o=o.redIAdd(o);var s=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),u=s.redSqr().redISub(o).redISub(o);e=u;var l=a.redIAdd(a);l=(l=l.redIAdd(l)).redIAdd(l),t=s.redMul(o.redISub(u)).redISub(l),n=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),f=this.y.redSqr(),d=this.x.redMul(f),h=this.x.redSub(c).redMul(this.x.redAdd(c));h=h.redAdd(h).redIAdd(h);var p=d.redIAdd(d),v=(p=p.redIAdd(p)).redAdd(p);e=h.redSqr().redISub(v),n=this.y.redAdd(this.z).redSqr().redISub(f).redISub(c);var m=f.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=h.redMul(p.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,n)},Ur.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),a=t.redSqr(),o=n.redSqr(),s=a.redAdd(a).redIAdd(a).redIAdd(e.redMul(i)),u=t.redAdd(t),l=(u=u.redIAdd(u)).redMul(o),c=s.redSqr().redISub(l.redAdd(l)),f=l.redISub(c),d=o.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=s.redMul(f).redISub(d),p=n.redAdd(n).redMul(r);return this.curve.jpoint(c,h,p)},Ur.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),a=i.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(r),s=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(a)).redSqr(),u=r.redIAdd(r);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var l=i.redIAdd(o).redSqr().redISub(a).redISub(s).redISub(u),c=t.redMul(l);c=(c=c.redIAdd(c)).redIAdd(c);var f=this.x.redMul(s).redISub(c);f=(f=f.redIAdd(f)).redIAdd(f);var d=this.y.redMul(l.redMul(u.redISub(l)).redISub(o.redMul(s)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=this.z.redAdd(o).redSqr().redISub(n).redISub(s);return this.curve.jpoint(f,d,h)},Ur.prototype.mul=function(e,t){return e=new(Lr())(e,t),this.curve._wnafMul(this,e)},Ur.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},Ur.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},Ur.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},Ur.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var Zr=Mr((function(e,t){var n=t;n.base=jr,n.short=Dr,n.mont=null,n.edwards=null})),Wr=Mr((function(e,t){var n,r=t,i=Tr.assert;function a(e){"short"===e.type?this.curve=new Zr.short(e):"edwards"===e.type?this.curve=new Zr.edwards(e):this.curve=new Zr.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function o(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var n=new a(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=a,o("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:br().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),o("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:br().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),o("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:br().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),o("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:br().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"]}),o("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:br().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"]}),o("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:br().sha256,gRed:!1,g:["9"]}),o("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:br().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=null.crash()}catch(s){n=void 0}o("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:br().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})}));function Gr(e){if(!(this instanceof Gr))return new Gr(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=Pr.toArray(e.entropy,e.entropyEnc||"hex"),n=Pr.toArray(e.nonce,e.nonceEnc||"hex"),r=Pr.toArray(e.pers,e.persEnc||"hex");Ar(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}var qr=Gr;Gr.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},Gr.prototype._hmac=function(){return new(br().hmac)(this.hash,this.K)},Gr.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},Gr.prototype.reseed=function(e,t,n,r){"string"!==typeof t&&(r=n,n=t,t=null),e=Pr.toArray(e,t),n=Pr.toArray(n,r),Ar(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},Gr.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(r=n,n=t,t=null),n&&(n=Pr.toArray(n,r||"hex"),this._update(n));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var a=i.slice(0,e);return this._update(n),this._reseed++,Pr.encode(a,t)};var Kr=Tr.assert;function Qr(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}var Yr=Qr;Qr.fromPublic=function(e,t,n){return t instanceof Qr?t:new Qr(e,{pub:t,pubEnc:n})},Qr.fromPrivate=function(e,t,n){return t instanceof Qr?t:new Qr(e,{priv:t,privEnc:n})},Qr.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},Qr.prototype.getPublic=function(e,t){return"string"===typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},Qr.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},Qr.prototype._importPrivate=function(e,t){this.priv=new(Lr())(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},Qr.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?Kr(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||Kr(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},Qr.prototype.derive=function(e){return e.validate()||Kr(e.validate(),"public point not validated"),e.mul(this.priv).getX()},Qr.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},Qr.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},Qr.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var Jr=Tr.assert;function Xr(e,t){if(e instanceof Xr)return e;this._importDER(e,t)||(Jr(e.r&&e.s,"Signature without r or s"),this.r=new(Lr())(e.r,16),this.s=new(Lr())(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var $r=Xr;function ei(){this.place=0}function ti(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,a=0,o=t.place;a<r;a++,o++)i<<=8,i|=e[o],i>>>=0;return!(i<=127)&&(t.place=o,i)}function ni(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function ri(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}Xr.prototype._importDER=function(e,t){e=Tr.toArray(e,t);var n=new ei;if(48!==e[n.place++])return!1;var r=ti(e,n);if(!1===r)return!1;if(r+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var i=ti(e,n);if(!1===i)return!1;var a=e.slice(n.place,i+n.place);if(n.place+=i,2!==e[n.place++])return!1;var o=ti(e,n);if(!1===o)return!1;if(e.length!==o+n.place)return!1;var s=e.slice(n.place,o+n.place);if(0===a[0]){if(!(128&a[1]))return!1;a=a.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new(Lr())(a),this.s=new(Lr())(s),this.recoveryParam=null,!0},Xr.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=ni(t),n=ni(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var r=[2];ri(r,t.length),(r=r.concat(t)).push(2),ri(r,n.length);var i=r.concat(n),a=[48];return ri(a,i.length),a=a.concat(i),Tr.encode(a,e)};var ii=function(){throw new Error("unsupported")},ai=Tr.assert;function oi(e){if(!(this instanceof oi))return new oi(e);"string"===typeof e&&(ai(Object.prototype.hasOwnProperty.call(Wr,e),"Unknown curve "+e),e=Wr[e]),e instanceof Wr.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var si=oi;oi.prototype.keyPair=function(e){return new Yr(this,e)},oi.prototype.keyFromPrivate=function(e,t){return Yr.fromPrivate(this,e,t)},oi.prototype.keyFromPublic=function(e,t){return Yr.fromPublic(this,e,t)},oi.prototype.genKeyPair=function(e){e||(e={});for(var t=new qr({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||ii(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),r=this.n.sub(new(Lr())(2));;){var i=new(Lr())(t.generate(n));if(!(i.cmp(r)>0))return i.iaddn(1),this.keyFromPrivate(i)}},oi.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},oi.prototype.sign=function(e,t,n,r){"object"===typeof n&&(r=n,n=null),r||(r={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new(Lr())(e,16));for(var i=this.n.byteLength(),a=t.getPrivate().toArray("be",i),o=e.toArray("be",i),s=new qr({hash:this.hash,entropy:a,nonce:o,pers:r.pers,persEnc:r.persEnc||"utf8"}),u=this.n.sub(new(Lr())(1)),l=0;;l++){var c=r.k?r.k(l):new(Lr())(s.generate(this.n.byteLength()));if(!((c=this._truncateToN(c,!0)).cmpn(1)<=0||c.cmp(u)>=0)){var f=this.g.mul(c);if(!f.isInfinity()){var d=f.getX(),h=d.umod(this.n);if(0!==h.cmpn(0)){var p=c.invm(this.n).mul(h.mul(t.getPrivate()).iadd(e));if(0!==(p=p.umod(this.n)).cmpn(0)){var v=(f.getY().isOdd()?1:0)|(0!==d.cmp(h)?2:0);return r.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),v^=1),new $r({r:h,s:p,recoveryParam:v})}}}}}},oi.prototype.verify=function(e,t,n,r){e=this._truncateToN(new(Lr())(e,16)),n=this.keyFromPublic(n,r);var i=(t=new $r(t,"hex")).r,a=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var o,s=a.invm(this.n),u=s.mul(e).umod(this.n),l=s.mul(i).umod(this.n);return this.curve._maxwellTrick?!(o=this.g.jmulAdd(u,n.getPublic(),l)).isInfinity()&&o.eqXToP(i):!(o=this.g.mulAdd(u,n.getPublic(),l)).isInfinity()&&0===o.getX().umod(this.n).cmp(i)},oi.prototype.recoverPubKey=function(e,t,n,r){ai((3&n)===n,"The recovery param is more than two bits"),t=new $r(t,r);var i=this.n,a=new(Lr())(e),o=t.r,s=t.s,u=1&n,l=n>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");o=l?this.curve.pointFromX(o.add(this.curve.n),u):this.curve.pointFromX(o,u);var c=t.r.invm(i),f=i.sub(a).mul(c).umod(i),d=s.mul(c).umod(i);return this.g.mulAdd(f,o,d)},oi.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new $r(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(n))return i}throw new Error("Unable to find valid recovery factor")};var ui=Mr((function(e,t){var n=t;n.version="6.5.4",n.utils=Tr,n.rand=function(){throw new Error("unsupported")},n.curve=Zr,n.curves=Wr,n.ec=si,n.eddsa=null})).ec,li=new N("signing-key/5.7.0"),ci=null;function fi(){return ci||(ci=new ui("secp256k1")),ci}var di=function(){function e(t){i(this,e),ie(this,"curve","secp256k1"),ie(this,"privateKey",q(t)),32!==K(this.privateKey)&&li.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var n=fi().keyFromPrivate(D(this.privateKey));ie(this,"publicKey","0x"+n.getPublic(!1,"hex")),ie(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),ie(this,"_isSigningKey",!0)}return u(e,[{key:"_addPoint",value:function(e){var t=fi().keyFromPublic(D(this.publicKey)),n=fi().keyFromPublic(D(e));return"0x"+t.pub.add(n.pub).encodeCompressed("hex")}},{key:"signDigest",value:function(e){var t=fi().keyFromPrivate(D(this.privateKey)),n=D(e);32!==n.length&&li.throwArgumentError("bad digest length","digest",e);var r=t.sign(n,{canonical:!0});return ee({recoveryParam:r.recoveryParam,r:$("0x"+r.r.toString(16),32),s:$("0x"+r.s.toString(16),32)})}},{key:"computeSharedSecret",value:function(e){var t=fi().keyFromPrivate(D(this.privateKey)),n=fi().keyFromPublic(D(pi(e)));return $("0x"+t.derive(n.getPublic()).toString(16),32)}}],[{key:"isSigningKey",value:function(e){return!(!e||!e._isSigningKey)}}]),e}();function hi(e,t){var n=ee(t),r={r:D(n.r),s:D(n.s)};return"0x"+fi().recoverPubKey(D(e),r,n.recoveryParam).encode("hex",!1)}function pi(e,t){var n=D(e);if(32===n.length){var r=new di(n);return t?"0x"+fi().keyFromPrivate(n).getPublic(!0,"hex"):r.publicKey}return 33===n.length?t?q(n):"0x"+fi().keyFromPublic(n).getPublic(!1,"hex"):65===n.length?t?"0x"+fi().keyFromPublic(n).getPublic(!0,"hex"):q(n):li.throwArgumentError("invalid public or private key","key","[REDACTED]")}var vi,mi=new N("transactions/5.7.0");function gi(e){return"0x"===e?null:Je(e)}function yi(e){return"0x"===e?gt:we.from(e)}!function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"}(vi||(vi={}));var bi=[{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"}],Ci={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function xi(e){return Je(Q(Ne(Q(pi(e),1)),12))}function wi(e,t){return xi(hi(D(e),t))}function ki(e,t){var n=U(we.from(e).toHexString());return n.length>32&&mi.throwArgumentError("invalid length for "+t,"transaction:"+t,e),n}function Ei(e,t){return{address:Je(e),storageKeys:(t||[]).map((function(t,n){return 32!==K(t)&&mi.throwArgumentError("invalid access list storageKey","accessList[".concat(e,":").concat(n,"]"),t),t.toLowerCase()}))}}function Si(e){if(Array.isArray(e))return e.map((function(e,t){return Array.isArray(e)?(e.length>2&&mi.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value[".concat(t,"]"),e),Ei(e[0],e[1])):Ei(e.address,e.storageKeys)}));var t=Object.keys(e).map((function(t){var n=e[t].reduce((function(e,t){return e[t]=!0,e}),{});return Ei(t,Object.keys(n).sort())}));return t.sort((function(e,t){return e.address.localeCompare(t.address)})),t}function Li(e){return Si(e).map((function(e){return[e.address,e.storageKeys]}))}function Mi(e,t){if(null!=e.gasPrice){var n=we.from(e.gasPrice),r=we.from(e.maxFeePerGas||0);n.eq(r)||mi.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:n,maxFeePerGas:r})}var i=[ki(e.chainId||0,"chainId"),ki(e.nonce||0,"nonce"),ki(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),ki(e.maxFeePerGas||0,"maxFeePerGas"),ki(e.gasLimit||0,"gasLimit"),null!=e.to?Je(e.to):"0x",ki(e.value||0,"value"),e.data||"0x",Li(e.accessList||[])];if(t){var a=ee(t);i.push(ki(a.recoveryParam,"recoveryParam")),i.push(U(a.r)),i.push(U(a.s))}return Y(["0x02",Be(i)])}function Ai(e,t){var n=[ki(e.chainId||0,"chainId"),ki(e.nonce||0,"nonce"),ki(e.gasPrice||0,"gasPrice"),ki(e.gasLimit||0,"gasLimit"),null!=e.to?Je(e.to):"0x",ki(e.value||0,"value"),e.data||"0x",Li(e.accessList||[])];if(t){var r=ee(t);n.push(ki(r.recoveryParam,"recoveryParam")),n.push(U(r.r)),n.push(U(r.s))}return Y(["0x01",Be(n)])}function _i(e,t){if(null==e.type||0===e.type)return null!=e.accessList&&mi.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),function(e,t){se(e,Ci);var n=[];bi.forEach((function(t){var r=e[t.name]||[],i={};t.numeric&&(i.hexPad="left"),r=D(q(r,i)),t.length&&r.length!==t.length&&r.length>0&&mi.throwArgumentError("invalid length for "+t.name,"transaction:"+t.name,r),t.maxLength&&(r=U(r)).length>t.maxLength&&mi.throwArgumentError("invalid length for "+t.name,"transaction:"+t.name,r),n.push(q(r))}));var r=0;if(null!=e.chainId?"number"!==typeof(r=e.chainId)&&mi.throwArgumentError("invalid transaction.chainId","transaction",e):t&&!V(t)&&t.v>28&&(r=Math.floor((t.v-35)/2)),0!==r&&(n.push(q(r)),n.push("0x"),n.push("0x")),!t)return Be(n);var i=ee(t),a=27+i.recoveryParam;return 0!==r?(n.pop(),n.pop(),n.pop(),a+=2*r+8,i.v>28&&i.v!==a&&mi.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t)):i.v!==a&&mi.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t),n.push(q(a)),n.push(U(D(i.r))),n.push(U(D(i.s))),Be(n)}(e,t);switch(e.type){case 1:return Ai(e,t);case 2:return Mi(e,t)}return mi.throwError("unsupported transaction type: ".concat(e.type),N.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})}function Pi(e,t,n){try{var r=yi(t[0]).toNumber();if(0!==r&&1!==r)throw new Error("bad recid");e.v=r}catch(a){mi.throwArgumentError("invalid v for transaction type: 1","v",t[0])}e.r=$(t[1],32),e.s=$(t[2],32);try{var i=Ne(n(e));e.from=wi(i,{r:e.r,s:e.s,recoveryParam:e.v})}catch(a){}}function Ti(e){var t=D(e);if(t[0]>127)return function(e){var t=ze(e);9!==t.length&&6!==t.length&&mi.throwArgumentError("invalid raw transaction","rawTransaction",e);var n={nonce:yi(t[0]).toNumber(),gasPrice:yi(t[1]),gasLimit:yi(t[2]),to:gi(t[3]),value:yi(t[4]),data:t[5],chainId:0};if(6===t.length)return n;try{n.v=we.from(t[6]).toNumber()}catch(o){return n}if(n.r=$(t[7],32),n.s=$(t[8],32),we.from(n.r).isZero()&&we.from(n.s).isZero())n.chainId=n.v,n.v=0;else{n.chainId=Math.floor((n.v-35)/2),n.chainId<0&&(n.chainId=0);var r=n.v-27,i=t.slice(0,6);0!==n.chainId&&(i.push(q(n.chainId)),i.push("0x"),i.push("0x"),r-=2*n.chainId+8);var a=Ne(Be(i));try{n.from=wi(a,{r:q(n.r),s:q(n.s),recoveryParam:r})}catch(o){}n.hash=Ne(e)}return n.type=null,n}(t);switch(t[0]){case 1:return function(e){var t=ze(e.slice(1));8!==t.length&&11!==t.length&&mi.throwArgumentError("invalid component count for transaction type: 1","payload",q(e));var n={type:1,chainId:yi(t[0]).toNumber(),nonce:yi(t[1]).toNumber(),gasPrice:yi(t[2]),gasLimit:yi(t[3]),to:gi(t[4]),value:yi(t[5]),data:t[6],accessList:Si(t[7])};return 8===t.length||(n.hash=Ne(e),Pi(n,t.slice(8),Ai)),n}(t);case 2:return function(e){var t=ze(e.slice(1));9!==t.length&&12!==t.length&&mi.throwArgumentError("invalid component count for transaction type: 2","payload",q(e));var n=yi(t[2]),r=yi(t[3]),i={type:2,chainId:yi(t[0]).toNumber(),nonce:yi(t[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:r,gasPrice:null,gasLimit:yi(t[4]),to:gi(t[5]),value:yi(t[6]),data:t[7],accessList:Si(t[8])};return 9===t.length||(i.hash=Ne(e),Pi(i,t.slice(9),Mi)),i}(t)}return mi.throwError("unsupported transaction type: ".concat(t[0]),N.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:t[0]})}var Ri=new N("wordlists/5.7.0"),Ii=function(){function e(t){i(this,e),Ri.checkAbstract(this instanceof e?this.constructor:void 0,e),ie(this,"locale",t)}return u(e,[{key:"split",value:function(e){return e.toLowerCase().split(/ +/g)}},{key:"join",value:function(e){return e.join(" ")}}],[{key:"check",value:function(e){for(var t=[],n=0;n<2048;n++){var r=e.getWord(n);if(n!==e.getWordIndex(r))return"0x";t.push(r)}return un(t.join("\n")+"\n")}},{key:"register",value:function(e,t){t||(t=e.locale)}}]),e}(),Ni=null;function Oi(e){if(null==Ni&&(Ni="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==Ii.check(e)))throw Ni=null,new Error("BIP39 Wordlist for en (English) FAILED")}var ji=new(function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.call(this,"en")}return u(n,[{key:"getWord",value:function(e){return Oi(this),Ni[e]}},{key:"getWordIndex",value:function(e){return Oi(this),Ni.indexOf(e)}}]),n}(Ii));Ii.register(ji);var Fi={en:ji},Vi=new N("hdnode/5.7.0"),Bi=we.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Hi=St("Bitcoin seed"),Di=2147483648;function zi(e){return(1<<e)-1<<8-e}function Ui(e){return $(q(e),32)}function Zi(e){return Cn.encode(z([e,Q(wr(wr(e)),0,4)]))}function Wi(e){if(null==e)return Fi.en;if("string"===typeof e){var t=Fi[e];return null==t&&Vi.throwArgumentError("unknown locale","wordlist",e),t}return e}var Gi={},qi="m/44'/60'/0'/0/0",Ki=function(){function e(t,n,r,a,o,s,u,l){if(i(this,e),t!==Gi)throw new Error("HDNode constructor cannot be called directly");if(n){var c=new di(n);ie(this,"privateKey",c.privateKey),ie(this,"publicKey",c.compressedPublicKey)}else ie(this,"privateKey",null),ie(this,"publicKey",q(r));ie(this,"parentFingerprint",a),ie(this,"fingerprint",Q(xr(wr(this.publicKey)),0,4)),ie(this,"address",xi(this.publicKey)),ie(this,"chainCode",o),ie(this,"index",s),ie(this,"depth",u),null==l?(ie(this,"mnemonic",null),ie(this,"path",null)):"string"===typeof l?(ie(this,"mnemonic",null),ie(this,"path",l)):(ie(this,"mnemonic",l),ie(this,"path",l.path))}return u(e,[{key:"extendedKey",get:function(){if(this.depth>=256)throw new Error("Depth too large!");return Zi(z([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",q(this.depth),this.parentFingerprint,$(q(this.index),4),this.chainCode,null!=this.privateKey?z(["0x00",this.privateKey]):this.publicKey]))}},{key:"neuter",value:function(){return new e(Gi,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}},{key:"_derive",value:function(t){if(t>4294967295)throw new Error("invalid index - "+String(t));var n=this.path;n&&(n+="/"+(t&~Di));var r=new Uint8Array(37);if(t&Di){if(!this.privateKey)throw new Error("cannot derive child of neutered node");r.set(D(this.privateKey),1),n&&(n+="'")}else r.set(D(this.publicKey));for(var i=24;i>=0;i-=8)r[33+(i>>3)]=t>>24-i&255;var a=D(Er(mr.sha512,this.chainCode,r)),o=a.slice(0,32),s=a.slice(32),u=null,l=null;this.privateKey?u=Ui(we.from(o).add(this.privateKey).mod(Bi)):l=new di(q(o))._addPoint(this.publicKey);var c=n,f=this.mnemonic;return f&&(c=Object.freeze({phrase:f.phrase,path:n,locale:f.locale||"en"})),new e(Gi,u,l,this.fingerprint,Ui(s),t,this.depth+1,c)}},{key:"derivePath",value:function(e){var t=e.split("/");if(0===t.length||"m"===t[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===t[0]&&t.shift();for(var n=this,r=0;r<t.length;r++){var i=t[r];if(i.match(/^[0-9]+'$/)){var a=parseInt(i.substring(0,i.length-1));if(a>=Di)throw new Error("invalid path index - "+i);n=n._derive(Di+a)}else{if(!i.match(/^[0-9]+$/))throw new Error("invalid path component - "+i);var o=parseInt(i);if(o>=Di)throw new Error("invalid path index - "+i);n=n._derive(o)}}return n}}],[{key:"_fromSeed",value:function(t,n){var r=D(t);if(r.length<16||r.length>64)throw new Error("invalid seed");var i=D(Er(mr.sha512,Hi,r));return new e(Gi,Ui(i.slice(0,32)),null,"0x00000000",Ui(i.slice(32)),0,0,n)}},{key:"fromMnemonic",value:function(t,n,r){return t=Ji(Yi(t,r=Wi(r)),r),e._fromSeed(Qi(t,n),{phrase:t,path:"m",locale:r.locale})}},{key:"fromSeed",value:function(t){return e._fromSeed(t,null)}},{key:"fromExtendedKey",value:function(t){var n=Cn.decode(t);82===n.length&&Zi(n.slice(0,78))===t||Vi.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");var r=n[4],i=q(n.slice(5,9)),a=parseInt(q(n.slice(9,13)).substring(2),16),o=q(n.slice(13,45)),s=n.slice(45,78);switch(q(n.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new e(Gi,null,q(s),i,o,a,r,null);case"0x0488ade4":case"0x04358394 ":if(0!==s[0])break;return new e(Gi,q(s.slice(1)),null,i,o,a,r,null)}return Vi.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}]),e}();function Qi(e,t){t||(t="");var n=St("mnemonic"+t,ct.NFKD);return function(e,t,n,r,i){var a;e=D(e),t=D(t);var o,s,u=1,l=new Uint8Array(r),c=new Uint8Array(t.length+4);c.set(t);for(var f=1;f<=u;f++){c[t.length]=f>>24&255,c[t.length+1]=f>>16&255,c[t.length+2]=f>>8&255,c[t.length+3]=255&f;var d=D(Er(i,e,c));a||(a=d.length,s=new Uint8Array(a),o=r-((u=Math.ceil(r/a))-1)*a),s.set(d);for(var h=1;h<n;h++){d=D(Er(i,e,d));for(var p=0;p<a;p++)s[p]^=d[p]}var v=(f-1)*a,m=f===u?o:a;l.set(D(s).slice(0,m),v)}return q(l)}(St(e,ct.NFKD),n,2048,64,"sha512")}function Yi(e,t){t=Wi(t),Vi.checkNormalize();var n=t.split(e);if(n.length%3!==0)throw new Error("invalid mnemonic");for(var r=D(new Uint8Array(Math.ceil(11*n.length/8))),i=0,a=0;a<n.length;a++){var o=t.getWordIndex(n[a].normalize("NFKD"));if(-1===o)throw new Error("invalid mnemonic");for(var s=0;s<11;s++)o&1<<10-s&&(r[i>>3]|=1<<7-i%8),i++}var u=32*n.length/3,l=zi(n.length/3);if((D(wr(r.slice(0,u/8)))[0]&l)!==(r[r.length-1]&l))throw new Error("invalid checksum");return q(r.slice(0,u/8))}function Ji(e,t){if(t=Wi(t),(e=D(e)).length%4!==0||e.length<16||e.length>32)throw new Error("invalid entropy");for(var n=[0],r=11,i=0;i<e.length;i++)r>8?(n[n.length-1]<<=8,n[n.length-1]|=e[i],r-=8):(n[n.length-1]<<=r,n[n.length-1]|=e[i]>>8-r,n.push(e[i]&(1<<8-r)-1),r+=3);var a=e.length/4,o=D(wr(e))[0]&zi(a);return n[n.length-1]<<=a,n[n.length-1]|=o>>8-a,t.join(n.map((function(e){return t.getWord(e)})))}function Xi(e,t){try{return Yi(e,t),!0}catch(n){}return!1}function $i(e){return("number"!==typeof e||e<0||e>=Di||e%1)&&Vi.throwArgumentError("invalid account index","index",e),"m/44'/60'/".concat(e,"'/0/0")}function ea(e){if(function(e){var t=null;try{t=JSON.parse(e)}catch(n){return!1}return t.encseed&&t.ethaddr}(e))try{return Je(JSON.parse(e).ethaddr)}catch(t){return null}if(function(e){var n=null;try{n=JSON.parse(e)}catch(t){return!1}return!(!n.version||parseInt(n.version)!==n.version||3!==parseInt(n.version))}(e))try{return Je(JSON.parse(e).address)}catch(t){return null}return null}var ta=new RegExp("^bytes([0-9]+)$"),na=new RegExp("^(u?int)([0-9]*)$"),ra=new RegExp("^(.*)\\[([0-9]*)\\]$"),ia="0000000000000000000000000000000000000000000000000000000000000000",aa=new N("solidity/5.7.0");function oa(e,t,n){switch(e){case"address":return n?Z(t,32):D(t);case"string":return St(t);case"bytes":return D(t);case"bool":return t=t?"0x01":"0x00",n?Z(t,32):D(t)}var r=e.match(na);if(r){var i=parseInt(r[2]||"256");return(r[2]&&String(i)!==r[2]||i%8!==0||0===i||i>256)&&aa.throwArgumentError("invalid number type","type",e),n&&(i=256),Z(t=we.from(t).toTwos(i),i/8)}if(r=e.match(ta)){var a=parseInt(r[1]);return(String(a)!==r[1]||0===a||a>32)&&aa.throwArgumentError("invalid bytes type","type",e),D(t).byteLength!==a&&aa.throwArgumentError("invalid value for ".concat(e),"value",t),n?D((t+ia).substring(0,66)):t}if((r=e.match(ra))&&Array.isArray(t)){var o=r[1];parseInt(r[2]||String(t.length))!=t.length&&aa.throwArgumentError("invalid array length for ".concat(e),"value",t);var s=[];return t.forEach((function(e){s.push(oa(o,e,!0))})),z(s)}return aa.throwArgumentError("invalid type","type",e)}function sa(e,t){e.length!=t.length&&aa.throwArgumentError("wrong number of values; expected ${ types.length }","values",t);var n=[];return e.forEach((function(e,r){n.push(oa(e,t[r]))})),q(z(n))}function ua(e,t){return Ne(sa(e,t))}function la(e,t){return wr(sa(e,t))}var ca=new N("random/5.7.0");var fa=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof n.g)return n.g;throw new Error("unable to locate global object")}(),da=fa.crypto||fa.msCrypto;function ha(e){(e<=0||e>1024||e%1||e!=e)&&ca.throwArgumentError("invalid length","length",e);var t=new Uint8Array(e);return da.getRandomValues(t),D(t)}function pa(e){for(var t=(e=e.slice()).length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function va(e,t){t||(t=function(e){return[parseInt(e,16)]});var n=0,r={};return e.split(",").forEach((function(e){var i=e.split(":");n+=parseInt(i[0],16),r[n]=t(i[1])})),r}function ma(e){var t=0;return e.split(",").map((function(e){var n=e.split("-");return 1===n.length?n[1]="0":""===n[1]&&(n[1]="1"),{l:t+parseInt(n[0],16),h:t=parseInt(n[1],16)}}))}function ga(e,t){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(e>=(n+=i.l)&&e<=n+i.h&&(e-n)%(i.d||1)===0){if(i.e&&-1!==i.e.indexOf(e-n))continue;return i}}return null}da&&da.getRandomValues||(ca.warn("WARNING: Missing strong random number source"),da={getRandomValues:function(e){return ca.throwError("no secure random source avaialble",N.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});var ya=ma("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),ba="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((function(e){return parseInt(e,16)})),Ca=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],xa=va("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),wa=va("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),ka=va("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(e){if(e.length%4!==0)throw new Error("bad data");for(var t=[],n=0;n<e.length;n+=4)t.push(parseInt(e.substring(n,n+4),16));return t})),Ea=ma("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function Sa(e){if(e.match(/^[a-z0-9-]*$/i)&&e.length<=59)return e.toLowerCase();var t,n=Pt(e);t=n.map((function(e){if(ba.indexOf(e)>=0)return[];if(e>=65024&&e<=65039)return[];var t=function(e){var t=ga(e,Ca);if(t)return[e+t.s];var n=xa[e];if(n)return n;var r=wa[e];return r?[e+r[0]]:ka[e]||null}(e);return t||[e]})),n=t.reduce((function(e,t){return t.forEach((function(t){e.push(t)})),e}),[]),(n=Pt(At(n),ct.NFKC)).forEach((function(e){if(ga(e,Ea))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),n.forEach((function(e){if(ga(e,ya))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));var r=At(n);if("-"===r.substring(0,1)||"--"===r.substring(2,4)||"-"===r.substring(r.length-1))throw new Error("invalid hyphen");return r}var La="0x0000000000000000000000000000000000000000000000000000000000000000";function Ma(e){var t=St(e);if(t.length>31)throw new Error("bytes32 string must be less than 32 bytes");return q(z([t,La]).slice(0,32))}function Aa(e){var t=D(e);if(32!==t.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==t[31])throw new Error("invalid bytes32 string - no null terminator");for(var n=31;0===t[n-1];)n--;return _t(t.slice(0,n))}var _a=new N(me),Pa={},Ta=we.from(0),Ra=we.from(-1);function Ia(e,t,n,r){var i={fault:t,operation:n};return void 0!==r&&(i.value=r),_a.throwError(e,N.errors.NUMERIC_FAULT,i)}for(var Na="0";Na.length<256;)Na+=Na;function Oa(e){if("number"!==typeof e)try{e=we.from(e).toNumber()}catch(t){}return"number"===typeof e&&e>=0&&e<=256&&!(e%1)?"1"+Na.substring(0,e):_a.throwArgumentError("invalid decimal size","decimals",e)}function ja(e,t){null==t&&(t=0);var n=Oa(t),r=(e=we.from(e)).lt(Ta);r&&(e=e.mul(Ra));for(var i=e.mod(n).toString();i.length<n.length-1;)i="0"+i;i=i.match(/^([0-9]*[1-9]|0)(0*)/)[1];var a=e.div(n).toString();return e=1===n.length?a:a+"."+i,r&&(e="-"+e),e}function Fa(e,t){null==t&&(t=0);var n=Oa(t);"string"===typeof e&&e.match(/^-?[0-9.]+$/)||_a.throwArgumentError("invalid decimal value","value",e);var r="-"===e.substring(0,1);r&&(e=e.substring(1)),"."===e&&_a.throwArgumentError("missing value","value",e);var i=e.split(".");i.length>2&&_a.throwArgumentError("too many decimal points","value",e);var a=i[0],o=i[1];for(a||(a="0"),o||(o="0");"0"===o[o.length-1];)o=o.substring(0,o.length-1);for(o.length>n.length-1&&Ia("fractional component exceeds decimals","underflow","parseFixed"),""===o&&(o="0");o.length<n.length-1;)o+="0";var s=we.from(a),u=we.from(o),l=s.mul(n).add(u);return r&&(l=l.mul(Ra)),l}var Va=function(){function e(t,n,r,a){i(this,e),t!==Pa&&_a.throwError("cannot use FixedFormat constructor; use FixedFormat.from",N.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=n,this.width=r,this.decimals=a,this.name=(n?"":"u")+"fixed"+String(r)+"x"+String(a),this._multiplier=Oa(a),Object.freeze(this)}return u(e,null,[{key:"from",value:function(t){if(t instanceof e)return t;"number"===typeof t&&(t="fixed128x".concat(t));var n=!0,r=128,i=18;if("string"===typeof t)if("fixed"===t);else if("ufixed"===t)n=!1;else{var a=t.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);a||_a.throwArgumentError("invalid fixed format","format",t),n="u"!==a[1],r=parseInt(a[2]),i=parseInt(a[3])}else if(t){var o=function(e,n,r){return null==t[e]?r:(typeof t[e]!==n&&_a.throwArgumentError("invalid fixed format ("+e+" not "+n+")","format."+e,t[e]),t[e])};n=o("signed","boolean",n),r=o("width","number",r),i=o("decimals","number",i)}return r%8&&_a.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",r),i>80&&_a.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",i),new e(Pa,n,r,i)}}]),e}(),Ba=function(){function e(t,n,r,a){i(this,e),t!==Pa&&_a.throwError("cannot use FixedNumber constructor; use FixedNumber.from",N.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=a,this._hex=n,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}return u(e,[{key:"_checkFormat",value:function(e){this.format.name!==e.format.name&&_a.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}},{key:"addUnsafe",value:function(t){this._checkFormat(t);var n=Fa(this._value,this.format.decimals),r=Fa(t._value,t.format.decimals);return e.fromValue(n.add(r),this.format.decimals,this.format)}},{key:"subUnsafe",value:function(t){this._checkFormat(t);var n=Fa(this._value,this.format.decimals),r=Fa(t._value,t.format.decimals);return e.fromValue(n.sub(r),this.format.decimals,this.format)}},{key:"mulUnsafe",value:function(t){this._checkFormat(t);var n=Fa(this._value,this.format.decimals),r=Fa(t._value,t.format.decimals);return e.fromValue(n.mul(r).div(this.format._multiplier),this.format.decimals,this.format)}},{key:"divUnsafe",value:function(t){this._checkFormat(t);var n=Fa(this._value,this.format.decimals),r=Fa(t._value,t.format.decimals);return e.fromValue(n.mul(this.format._multiplier).div(r),this.format.decimals,this.format)}},{key:"floor",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var n=e.from(t[0],this.format),r=!t[1].match(/^(0*)$/);return this.isNegative()&&r&&(n=n.subUnsafe(Ha.toFormat(n.format))),n}},{key:"ceiling",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var n=e.from(t[0],this.format),r=!t[1].match(/^(0*)$/);return!this.isNegative()&&r&&(n=n.addUnsafe(Ha.toFormat(n.format))),n}},{key:"round",value:function(t){null==t&&(t=0);var n=this.toString().split(".");if(1===n.length&&n.push("0"),(t<0||t>80||t%1)&&_a.throwArgumentError("invalid decimal count","decimals",t),n[1].length<=t)return this;var r=e.from("1"+Na.substring(0,t),this.format),i=Da.toFormat(this.format);return this.mulUnsafe(r).addUnsafe(i).floor().divUnsafe(r)}},{key:"isZero",value:function(){return"0.0"===this._value||"0"===this._value}},{key:"isNegative",value:function(){return"-"===this._value[0]}},{key:"toString",value:function(){return this._value}},{key:"toHexString",value:function(e){return null==e?this._hex:(e%8&&_a.throwArgumentError("invalid byte width","width",e),$(we.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString(),e/8))}},{key:"toUnsafeFloat",value:function(){return parseFloat(this.toString())}},{key:"toFormat",value:function(t){return e.fromString(this._value,t)}}],[{key:"fromValue",value:function(t,n,r){return null!=r||null==n||function(e){return null!=e&&(we.isBigNumber(e)||"number"===typeof e&&e%1===0||"string"===typeof e&&!!e.match(/^-?[0-9]+$/)||W(e)||"bigint"===typeof e||H(e))}(n)||(r=n,n=null),null==n&&(n=0),null==r&&(r="fixed"),e.fromString(ja(t,n),Va.from(r))}},{key:"fromString",value:function(t,n){null==n&&(n="fixed");var r=Va.from(n),i=Fa(t,r.decimals);!r.signed&&i.lt(Ta)&&Ia("unsigned value cannot be negative","overflow","value",t);var a=null;a=r.signed?i.toTwos(r.width).toHexString():$(a=i.toHexString(),r.width/8);var o=ja(i,r.decimals);return new e(Pa,a,o,r)}},{key:"fromBytes",value:function(t,n){null==n&&(n="fixed");var r=Va.from(n);if(D(t).length>r.width/8)throw new Error("overflow");var i=we.from(t);r.signed&&(i=i.fromTwos(r.width));var a=i.toTwos((r.signed?0:1)+r.width).toHexString(),o=ja(i,r.decimals);return new e(Pa,a,o,r)}},{key:"from",value:function(t,n){if("string"===typeof t)return e.fromString(t,n);if(H(t))return e.fromBytes(t,n);try{return e.fromValue(t,0,n)}catch(r){if(r.code!==N.errors.INVALID_ARGUMENT)throw r}return _a.throwArgumentError("invalid FixedNumber value","value",t)}},{key:"isFixedNumber",value:function(e){return!(!e||!e._isFixedNumber)}}]),e}(),Ha=Ba.from(1),Da=Ba.from("0.5"),za=new N("units/5.7.0"),Ua=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Za(e){var t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&za.throwArgumentError("invalid value","value",e);var n=t[0],r="";for("-"===n.substring(0,1)&&(r="-",n=n.substring(1));"0"===n.substring(0,1);)n=n.substring(1);""===n&&(n="0");var i="";for(2===t.length&&(i="."+(t[1]||"0"));i.length>2&&"0"===i[i.length-1];)i=i.substring(0,i.length-1);for(var a=[];n.length;){if(n.length<=3){a.unshift(n);break}var o=n.length-3;a.unshift(n.substring(o)),n=n.substring(0,o)}return r+a.join(",")+i}function Wa(e,t){if("string"===typeof t){var n=Ua.indexOf(t);-1!==n&&(t=3*n)}return ja(e,null!=t?t:18)}function Ga(e,t){if("string"!==typeof e&&za.throwArgumentError("value must be a string","value",e),"string"===typeof t){var n=Ua.indexOf(t);-1!==n&&(t=3*n)}return Fa(e,null!=t?t:18)}function qa(e){return Wa(e,18)}function Ka(e){return Ga(e,18)}new N("wallet/5.7.0");function Qa(e,t){return wi(er(e),t)}function Ya(e,t,n,r){return wi(gr.hash(e,t,n),r)}var Ja=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))};function Xa(e,t){return Ja(this,void 0,void 0,b().mark((function n(){var r,i,a,o,s;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return null==t&&(t={}),r={method:t.method||"GET",headers:t.headers||{},body:t.body||void 0},!0!==t.skipFetchSetup&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client"),null!=t.fetchOptions&&((i=t.fetchOptions).mode&&(r.mode=i.mode),i.cache&&(r.cache=i.cache),i.credentials&&(r.credentials=i.credentials),i.redirect&&(r.redirect=i.redirect),i.referrer&&(r.referrer=i.referrer)),n.next=7,fetch(e,r);case 7:return a=n.sent,n.next=10,a.arrayBuffer();case 10:return o=n.sent,s={},a.headers.forEach?a.headers.forEach((function(e,t){s[t.toLowerCase()]=e})):a.headers.keys().forEach((function(e){s[e.toLowerCase()]=a.headers.get(e)})),n.abrupt("return",{headers:s,statusCode:a.status,statusMessage:a.statusText,body:D(new Uint8Array(o))});case 14:case"end":return n.stop()}}),n)})))}var $a=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},eo=new N("web/5.7.1");function to(e){return new Promise((function(t){setTimeout(t,e)}))}function no(e,t){if(null==e)return null;if("string"===typeof e)return e;if(V(e)){if(t&&("text"===t.split("/")[0]||"application/json"===t.split(";")[0].trim()))try{return _t(e)}catch(n){}return q(e)}return e}function ro(e,t,n){var r="object"===typeof e&&null!=e.throttleLimit?e.throttleLimit:12;eo.assertArgument(r>0&&r%1===0,"invalid connection throttle limit","connection.throttleLimit",r);var i="object"===typeof e?e.throttleCallback:null,a="object"===typeof e&&"number"===typeof e.throttleSlotInterval?e.throttleSlotInterval:100;eo.assertArgument(a>0&&a%1===0,"invalid connection throttle slot interval","connection.throttleSlotInterval",a);var o="object"===typeof e&&!!e.errorPassThrough,s={},u=null,l={method:"GET"},c=!1,f=12e4;if("string"===typeof e)u=e;else if("object"===typeof e){if(null!=e&&null!=e.url||eo.throwArgumentError("missing URL","connection.url",e),u=e.url,"number"===typeof e.timeout&&e.timeout>0&&(f=e.timeout),e.headers)for(var d in e.headers)s[d.toLowerCase()]={key:d,value:String(e.headers[d])},["if-none-match","if-modified-since"].indexOf(d.toLowerCase())>=0&&(c=!0);if(l.allowGzip=!!e.allowGzip,null!=e.user&&null!=e.password){"https:"!==u.substring(0,6)&&!0!==e.allowInsecureAuthentication&&eo.throwError("basic authentication requires a secure https url",N.errors.INVALID_ARGUMENT,{argument:"url",url:u,user:e.user,password:"[REDACTED]"});var h=e.user+":"+e.password;s.authorization={key:"Authorization",value:"Basic "+yn(St(h))}}null!=e.skipFetchSetup&&(l.skipFetchSetup=!!e.skipFetchSetup),null!=e.fetchOptions&&(l.fetchOptions=ue(e.fetchOptions))}var p,v=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),m=u?u.match(v):null;if(m)try{var g={statusCode:200,statusMessage:"OK",headers:{"content-type":m[1]||"text/plain"},body:m[2]?gn(m[3]):(p=m[3],St(p.replace(/%([0-9a-f][0-9a-f])/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))}))))},y=g.body;return n&&(y=n(g.body,g)),Promise.resolve(y)}catch(k){eo.throwError("processing response error",N.errors.SERVER_ERROR,{body:no(m[1],m[2]),error:k,requestBody:null,requestMethod:"GET",url:u})}t&&(l.method="POST",l.body=t,null==s["content-type"]&&(s["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==s["content-length"]&&(s["content-length"]={key:"Content-Length",value:String(t.length)}));var C={};Object.keys(s).forEach((function(e){var t=s[e];C[t.key]=t.value})),l.headers=C;var x=function(){var e=null;return{promise:new Promise((function(t,n){f&&(e=setTimeout((function(){null!=e&&(e=null,n(eo.makeError("timeout",N.errors.TIMEOUT,{requestBody:no(l.body,C["content-type"]),requestMethod:l.method,timeout:f,url:u})))}),f))})),cancel:function(){null!=e&&(clearTimeout(e),e=null)}}}(),w=function(){return $a(this,void 0,void 0,b().mark((function e(){var t,s,f,d,h,p,v,m,g,y;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=0;case 1:if(!(t<r)){e.next=65;break}return s=null,e.prev=3,e.next=6,Xa(u,l);case 6:if(s=e.sent,!(t<r)){e.next=28;break}if(301!==s.statusCode&&302!==s.statusCode){e.next=15;break}if(f=s.headers.location||"","GET"!==l.method||!f.match(/^https:/)){e.next=13;break}return u=s.headers.location,e.abrupt("continue",62);case 13:e.next=28;break;case 15:if(429!==s.statusCode){e.next=28;break}if(d=!0,!i){e.next=21;break}return e.next=20,i(t,u);case 20:d=e.sent;case 21:if(!d){e.next=28;break}return h=0,p=s.headers["retry-after"],h="string"===typeof p&&p.match(/^[1-9][0-9]*$/)?1e3*parseInt(p):a*parseInt(String(Math.random()*Math.pow(2,t))),e.next=27,to(h);case 27:return e.abrupt("continue",62);case 28:e.next=34;break;case 30:e.prev=30,e.t0=e.catch(3),null==(s=e.t0.response)&&(x.cancel(),eo.throwError("missing response",N.errors.SERVER_ERROR,{requestBody:no(l.body,C["content-type"]),requestMethod:l.method,serverError:e.t0,url:u}));case 34:if(v=s.body,c&&304===s.statusCode?v=null:!o&&(s.statusCode<200||s.statusCode>=300)&&(x.cancel(),eo.throwError("bad response",N.errors.SERVER_ERROR,{status:s.statusCode,headers:s.headers,body:no(v,s.headers?s.headers["content-type"]:null),requestBody:no(l.body,C["content-type"]),requestMethod:l.method,url:u})),!n){e.next=60;break}return e.prev=37,e.next=40,n(v,s);case 40:return m=e.sent,x.cancel(),e.abrupt("return",m);case 45:if(e.prev=45,e.t1=e.catch(37),!(e.t1.throttleRetry&&t<r)){e.next=58;break}if(g=!0,!i){e.next=53;break}return e.next=52,i(t,u);case 52:g=e.sent;case 53:if(!g){e.next=58;break}return y=a*parseInt(String(Math.random()*Math.pow(2,t))),e.next=57,to(y);case 57:return e.abrupt("continue",62);case 58:x.cancel(),eo.throwError("processing response error",N.errors.SERVER_ERROR,{body:no(v,s.headers?s.headers["content-type"]:null),error:e.t1,requestBody:no(l.body,C["content-type"]),requestMethod:l.method,url:u});case 60:return x.cancel(),e.abrupt("return",v);case 62:t++,e.next=1;break;case 65:return e.abrupt("return",eo.throwError("failed response",N.errors.SERVER_ERROR,{requestBody:no(l.body,C["content-type"]),requestMethod:l.method,url:u}));case 66:case"end":return e.stop()}}),e,null,[[3,30],[37,45]])})))}();return Promise.race([x.promise,w])}function io(e,t,n){var r=null;if(null!=t){r=St(t);var i="string"===typeof e?{url:e}:ue(e);if(i.headers)0!==Object.keys(i.headers).filter((function(e){return"content-type"===e.toLowerCase()})).length||(i.headers=ue(i.headers),i.headers["content-type"]="application/json");else i.headers={"content-type":"application/json"};e=i}return ro(e,r,(function(e,t){var r=null;if(null!=e)try{r=JSON.parse(_t(e))}catch(i){eo.throwError("invalid JSON",N.errors.SERVER_ERROR,{body:e,error:i})}return n&&(r=n(r,t)),r}))}function ao(e,t){return t||(t={}),null==(t=ue(t)).floor&&(t.floor=0),null==t.ceiling&&(t.ceiling=1e4),null==t.interval&&(t.interval=250),new Promise((function(n,r){var i=null,a=!1,o=function(){return!a&&(a=!0,i&&clearTimeout(i),!0)};t.timeout&&(i=setTimeout((function(){o()&&r(new Error("timeout"))}),t.timeout));var s=t.retryLimit,u=0;!function i(){return e().then((function(e){if(void 0!==e)o()&&n(e);else if(t.oncePoll)t.oncePoll.once("poll",i);else if(t.onceBlock)t.onceBlock.once("block",i);else if(!a){if(++u>s)return void(o()&&r(new Error("retry limit reached")));var l=t.interval*parseInt(String(Math.random()*Math.pow(2,u)));l<t.floor&&(l=t.floor),l>t.ceiling&&(l=t.ceiling),setTimeout(i,l)}return null}),(function(e){o()&&r(e)}))}()}))}var oo=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},so=new N("abstract-provider/5.7.0"),uo=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n,null,[{key:"isForkEvent",value:function(e){return!(!e||!e._isForkEvent)}}]),n}(he),lo=function(){function e(){i(this,e),so.checkAbstract(this instanceof e?this.constructor:void 0,e),ie(this,"_isProvider",!0)}return u(e,[{key:"getFeeData",value:function(){return oo(this,void 0,void 0,b().mark((function e(){var t,n,r,i,a,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,oe({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((function(e){return null}))});case 2:return t=e.sent,n=t.block,r=t.gasPrice,i=null,a=null,o=null,n&&n.baseFeePerGas&&(i=n.baseFeePerGas,o=we.from("1500000000"),a=n.baseFeePerGas.mul(2).add(o)),e.abrupt("return",{lastBaseFeePerGas:i,maxFeePerGas:a,maxPriorityFeePerGas:o,gasPrice:r});case 8:case"end":return e.stop()}}),e,this)})))}},{key:"addListener",value:function(e,t){return this.on(e,t)}},{key:"removeListener",value:function(e,t){return this.off(e,t)}}],[{key:"isProvider",value:function(e){return!(!e||!e._isProvider)}}]),e}(),co=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},fo=new N("abstract-signer/5.7.0"),ho=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],po=[N.errors.INSUFFICIENT_FUNDS,N.errors.NONCE_EXPIRED,N.errors.REPLACEMENT_UNDERPRICED],vo=function(){function e(){i(this,e),fo.checkAbstract(this instanceof e?this.constructor:void 0,e),ie(this,"_isSigner",!0)}return u(e,[{key:"getBalance",value:function(e){return co(this,void 0,void 0,b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._checkProvider("getBalance"),t.next=3,this.provider.getBalance(this.getAddress(),e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"getTransactionCount",value:function(e){return co(this,void 0,void 0,b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._checkProvider("getTransactionCount"),t.next=3,this.provider.getTransactionCount(this.getAddress(),e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"estimateGas",value:function(e){return co(this,void 0,void 0,b().mark((function t(){var n;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._checkProvider("estimateGas"),t.next=3,oe(this.checkTransaction(e));case 3:return n=t.sent,t.next=6,this.provider.estimateGas(n);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t,this)})))}},{key:"call",value:function(e,t){return co(this,void 0,void 0,b().mark((function n(){var r;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return this._checkProvider("call"),n.next=3,oe(this.checkTransaction(e));case 3:return r=n.sent,n.next=6,this.provider.call(r,t);case 6:return n.abrupt("return",n.sent);case 7:case"end":return n.stop()}}),n,this)})))}},{key:"sendTransaction",value:function(e){return co(this,void 0,void 0,b().mark((function t(){var n,r;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._checkProvider("sendTransaction"),t.next=3,this.populateTransaction(e);case 3:return n=t.sent,t.next=6,this.signTransaction(n);case 6:return r=t.sent,t.next=9,this.provider.sendTransaction(r);case 9:return t.abrupt("return",t.sent);case 10:case"end":return t.stop()}}),t,this)})))}},{key:"getChainId",value:function(){return co(this,void 0,void 0,b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkProvider("getChainId"),e.next=3,this.provider.getNetwork();case 3:return t=e.sent,e.abrupt("return",t.chainId);case 5:case"end":return e.stop()}}),e,this)})))}},{key:"getGasPrice",value:function(){return co(this,void 0,void 0,b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkProvider("getGasPrice"),e.next=3,this.provider.getGasPrice();case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})))}},{key:"getFeeData",value:function(){return co(this,void 0,void 0,b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._checkProvider("getFeeData"),e.next=3,this.provider.getFeeData();case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})))}},{key:"resolveName",value:function(e){return co(this,void 0,void 0,b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._checkProvider("resolveName"),t.next=3,this.provider.resolveName(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"checkTransaction",value:function(e){for(var t in e)-1===ho.indexOf(t)&&fo.throwArgumentError("invalid transaction key: "+t,"transaction",e);var n=ue(e);return null==n.from?n.from=this.getAddress():n.from=Promise.all([Promise.resolve(n.from),this.getAddress()]).then((function(t){return t[0].toLowerCase()!==t[1].toLowerCase()&&fo.throwArgumentError("from address mismatch","transaction",e),t[0]})),n}},{key:"populateTransaction",value:function(e){return co(this,void 0,void 0,b().mark((function t(){var n,r,i,a,o=this;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe(this.checkTransaction(e));case 2:if(null!=(n=t.sent).to&&(n.to=Promise.resolve(n.to).then((function(e){return co(o,void 0,void 0,b().mark((function t(){var n;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=e){t.next=2;break}return t.abrupt("return",null);case 2:return t.next=4,this.resolveName(e);case 4:return null==(n=t.sent)&&fo.throwArgumentError("provided ENS name resolves to null","tx.to",e),t.abrupt("return",n);case 7:case"end":return t.stop()}}),t,this)})))})),n.to.catch((function(e){}))),r=null!=n.maxFeePerGas||null!=n.maxPriorityFeePerGas,null==n.gasPrice||2!==n.type&&!r?0!==n.type&&1!==n.type||!r||fo.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e):fo.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e),2!==n.type&&null!=n.type||null==n.maxFeePerGas||null==n.maxPriorityFeePerGas){t.next=10;break}n.type=2,t.next=18;break;case 10:if(0!==n.type&&1!==n.type){t.next=14;break}null==n.gasPrice&&(n.gasPrice=this.getGasPrice()),t.next=18;break;case 14:return t.next=16,this.getFeeData();case 16:i=t.sent,null==n.type?null!=i.maxFeePerGas&&null!=i.maxPriorityFeePerGas?(n.type=2,null!=n.gasPrice?(a=n.gasPrice,delete n.gasPrice,n.maxFeePerGas=a,n.maxPriorityFeePerGas=a):(null==n.maxFeePerGas&&(n.maxFeePerGas=i.maxFeePerGas),null==n.maxPriorityFeePerGas&&(n.maxPriorityFeePerGas=i.maxPriorityFeePerGas))):null!=i.gasPrice?(r&&fo.throwError("network does not support EIP-1559",N.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==n.gasPrice&&(n.gasPrice=i.gasPrice),n.type=0):fo.throwError("failed to get consistent fee data",N.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"}):2===n.type&&(null==n.maxFeePerGas&&(n.maxFeePerGas=i.maxFeePerGas),null==n.maxPriorityFeePerGas&&(n.maxPriorityFeePerGas=i.maxPriorityFeePerGas));case 18:return null==n.nonce&&(n.nonce=this.getTransactionCount("pending")),null==n.gasLimit&&(n.gasLimit=this.estimateGas(n).catch((function(e){if(po.indexOf(e.code)>=0)throw e;return fo.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",N.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,tx:n})}))),null==n.chainId?n.chainId=this.getChainId():n.chainId=Promise.all([Promise.resolve(n.chainId),this.getChainId()]).then((function(t){return 0!==t[1]&&t[0]!==t[1]&&fo.throwArgumentError("chainId address mismatch","transaction",e),t[0]})),t.next=23,oe(n);case 23:return t.abrupt("return",t.sent);case 24:case"end":return t.stop()}}),t,this)})))}},{key:"_checkProvider",value:function(e){this.provider||fo.throwError("missing provider",N.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}}],[{key:"isSigner",value:function(e){return!(!e||!e._isSigner)}}]),e}(),mo=function(e){c(n,e);var t=p(n);function n(e,r){var a;return i(this,n),ie(h(a=t.call(this)),"address",e),ie(h(a),"provider",r||null),a}return u(n,[{key:"getAddress",value:function(){return Promise.resolve(this.address)}},{key:"_fail",value:function(e,t){return Promise.resolve().then((function(){fo.throwError(e,N.errors.UNSUPPORTED_OPERATION,{operation:t})}))}},{key:"signMessage",value:function(e){return this._fail("VoidSigner cannot sign messages","signMessage")}},{key:"signTransaction",value:function(e){return this._fail("VoidSigner cannot sign transactions","signTransaction")}},{key:"_signTypedData",value:function(e,t,n){return this._fail("VoidSigner cannot sign typed data","signTypedData")}},{key:"connect",value:function(e){return new n(this.address,e)}}]),n}(vo),go=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},yo=new N("contracts/5.7.0");function bo(e,t){return go(this,void 0,void 0,b().mark((function n(){var r,i;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t;case 2:return"string"!==typeof(r=n.sent)&&yo.throwArgumentError("invalid address or ENS name","name",r),n.prev=4,n.abrupt("return",Je(r));case 8:n.prev=8,n.t0=n.catch(4);case 10:return e||yo.throwError("a provider or signer is needed to resolve ENS names",N.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"}),n.next=13,e.resolveName(r);case 13:return null==(i=n.sent)&&yo.throwArgumentError("resolver or addr is not configured for ENS name","name",r),n.abrupt("return",i);case 16:case"end":return n.stop()}}),n,null,[[4,8]])})))}function Co(e,t,n){return go(this,void 0,void 0,b().mark((function r(){return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!Array.isArray(n)){r.next=4;break}return r.next=3,Promise.all(n.map((function(n,r){return Co(e,Array.isArray(t)?t[r]:t[n.name],n)})));case 3:case 7:case 11:case 17:return r.abrupt("return",r.sent);case 4:if("address"!==n.type){r.next=8;break}return r.next=7,bo(e,t);case 8:if("tuple"!==n.type){r.next=12;break}return r.next=11,Co(e,t,n.components);case 12:if("array"!==n.baseType){r.next=18;break}if(Array.isArray(t)){r.next=15;break}return r.abrupt("return",Promise.reject(yo.makeError("invalid value for array",N.errors.INVALID_ARGUMENT,{argument:"value",value:t})));case 15:return r.next=17,Promise.all(t.map((function(t){return Co(e,t,n.arrayChildren)})));case 18:return r.abrupt("return",t);case 19:case"end":return r.stop()}}),r)})))}function xo(e,t,n){return go(this,void 0,void 0,b().mark((function r(){var i,a,o,s,u,l,c,f,d,h,p=this;return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i={},n.length===t.inputs.length+1&&"object"===typeof n[n.length-1]&&(i=ue(n.pop())),yo.checkArgumentCount(n.length,t.inputs.length,"passed to contract"),e.signer?i.from?i.from=oe({override:bo(e.signer,i.from),signer:e.signer.getAddress()}).then((function(e){return go(p,void 0,void 0,b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Je(e.signer)!==e.override&&yo.throwError("Contract with a Signer cannot override from",N.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),t.abrupt("return",e.override);case 2:case"end":return t.stop()}}),t)})))})):i.from=e.signer.getAddress():i.from&&(i.from=bo(e.provider,i.from)),r.next=6,oe({args:Co(e.signer||e.provider,n,t.inputs),address:e.resolvedAddress,overrides:oe(i)||{}});case 6:if(a=r.sent,o=e.interface.encodeFunctionData(t,a.args),s={data:o,to:a.address},null!=(u=a.overrides).nonce&&(s.nonce=we.from(u.nonce).toNumber()),null!=u.gasLimit&&(s.gasLimit=we.from(u.gasLimit)),null!=u.gasPrice&&(s.gasPrice=we.from(u.gasPrice)),null!=u.maxFeePerGas&&(s.maxFeePerGas=we.from(u.maxFeePerGas)),null!=u.maxPriorityFeePerGas&&(s.maxPriorityFeePerGas=we.from(u.maxPriorityFeePerGas)),null!=u.from&&(s.from=u.from),null!=u.type&&(s.type=u.type),null!=u.accessList&&(s.accessList=Si(u.accessList)),null==s.gasLimit&&null!=t.gas){for(l=21e3,c=D(o),f=0;f<c.length;f++)l+=4,c[f]&&(l+=64);s.gasLimit=we.from(t.gas).add(l)}return u.value&&((d=we.from(u.value)).isZero()||t.payable||yo.throwError("non-payable method cannot override value",N.errors.UNSUPPORTED_OPERATION,{operation:"overrides.value",value:i.value}),s.value=d),u.customData&&(s.customData=ue(u.customData)),u.ccipReadEnabled&&(s.ccipReadEnabled=!!u.ccipReadEnabled),delete i.nonce,delete i.gasLimit,delete i.gasPrice,delete i.from,delete i.value,delete i.type,delete i.accessList,delete i.maxFeePerGas,delete i.maxPriorityFeePerGas,delete i.customData,delete i.ccipReadEnabled,h=Object.keys(i).filter((function(e){return null!=i[e]})),h.length&&yo.throwError("cannot override ".concat(h.map((function(e){return JSON.stringify(e)})).join(",")),N.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:h}),r.abrupt("return",s);case 36:case"end":return r.stop()}}),r)})))}function wo(e,t){var n=t.wait.bind(t);t.wait=function(t){return n(t).then((function(t){return t.events=t.logs.map((function(n){var r=de(n),i=null;try{i=e.interface.parseLog(n)}catch(a){}return i&&(r.args=i.args,r.decode=function(t,n){return e.interface.decodeEventLog(i.eventFragment,t,n)},r.event=i.name,r.eventSignature=i.signature),r.removeListener=function(){return e.provider},r.getBlock=function(){return e.provider.getBlock(t.blockHash)},r.getTransaction=function(){return e.provider.getTransaction(t.transactionHash)},r.getTransactionReceipt=function(){return Promise.resolve(t)},r})),t}))}}function ko(e,t,n){var r=e.signer||e.provider;return function(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return go(this,void 0,void 0,b().mark((function i(){var o,s,u,l,c;return b().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(o=void 0,a.length!==t.inputs.length+1||"object"!==typeof a[a.length-1]){i.next=9;break}if(null==(s=ue(a.pop())).blockTag){i.next=7;break}return i.next=6,s.blockTag;case 6:o=i.sent;case 7:delete s.blockTag,a.push(s);case 9:if(null==e.deployTransaction){i.next=12;break}return i.next=12,e._deployed(o);case 12:return i.next=14,xo(e,t,a);case 14:return u=i.sent,i.next=17,r.call(u,o);case 17:return l=i.sent,i.prev=18,c=e.interface.decodeFunctionResult(t,l),n&&1===t.outputs.length&&(c=c[0]),i.abrupt("return",c);case 24:throw i.prev=24,i.t0=i.catch(18),i.t0.code===N.errors.CALL_EXCEPTION&&(i.t0.address=e.address,i.t0.args=a,i.t0.transaction=u),i.t0;case 28:case"end":return i.stop()}}),i,null,[[18,24]])})))}}function Eo(e,t,n){return t.constant?ko(e,t,n):function(e,t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return go(this,void 0,void 0,b().mark((function n(){var i,a;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.signer||yo.throwError("sending a transaction requires a signer",N.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),null==e.deployTransaction){n.next=4;break}return n.next=4,e._deployed();case 4:return n.next=6,xo(e,t,r);case 6:return i=n.sent,n.next=9,e.signer.sendTransaction(i);case 9:return a=n.sent,wo(e,a),n.abrupt("return",a);case 12:case"end":return n.stop()}}),n)})))}}(e,t)}function So(e){return!e.address||null!=e.topics&&0!==e.topics.length?(e.address||"*")+"@"+(e.topics?e.topics.map((function(e){return Array.isArray(e)?e.join("|"):e})).join(":"):""):"*"}var Lo=function(){function e(t,n){i(this,e),ie(this,"tag",t),ie(this,"filter",n),this._listeners=[]}return u(e,[{key:"addListener",value:function(e,t){this._listeners.push({listener:e,once:t})}},{key:"removeListener",value:function(e){var t=!1;this._listeners=this._listeners.filter((function(n){return!(!t&&n.listener===e)||(t=!0,!1)}))}},{key:"removeAllListeners",value:function(){this._listeners=[]}},{key:"listeners",value:function(){return this._listeners.map((function(e){return e.listener}))}},{key:"listenerCount",value:function(){return this._listeners.length}},{key:"run",value:function(e){var t=this,n=this.listenerCount();return this._listeners=this._listeners.filter((function(n){var r=e.slice();return setTimeout((function(){n.listener.apply(t,r)}),0),!n.once})),n}},{key:"prepareEvent",value:function(e){}},{key:"getEmit",value:function(e){return[e]}}]),e}(),Mo=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.call(this,"error",null)}return u(n)}(Lo),Ao=function(e){c(n,e);var t=p(n);function n(e,r,a,o){var s;i(this,n);var u={address:e},l=r.getEventTopic(a);return o?(l!==o[0]&&yo.throwArgumentError("topic mismatch","topics",o),u.topics=o.slice()):u.topics=[l],ie(h(s=t.call(this,So(u),u)),"address",e),ie(h(s),"interface",r),ie(h(s),"fragment",a),s}return u(n,[{key:"prepareEvent",value:function(e){var t=this;lt(f(n.prototype),"prepareEvent",this).call(this,e),e.event=this.fragment.name,e.eventSignature=this.fragment.format(),e.decode=function(e,n){return t.interface.decodeEventLog(t.fragment,e,n)};try{e.args=this.interface.decodeEventLog(this.fragment,e.data,e.topics)}catch(r){e.args=null,e.decodeError=r}}},{key:"getEmit",value:function(e){var t=Ae(e.args);if(t.length)throw t[0].error;var n=(e.args||[]).slice();return n.push(e),n}}]),n}(Lo),_o=function(e){c(n,e);var t=p(n);function n(e,r){var a;return i(this,n),ie(h(a=t.call(this,"*",{address:e})),"address",e),ie(h(a),"interface",r),a}return u(n,[{key:"prepareEvent",value:function(e){var t=this;lt(f(n.prototype),"prepareEvent",this).call(this,e);try{var r=this.interface.parseLog(e);e.event=r.name,e.eventSignature=r.signature,e.decode=function(e,n){return t.interface.decodeEventLog(r.eventFragment,e,n)},e.args=r.args}catch(i){}}}]),n}(Lo),Po=function(){function e(t,n,r){var a=this;i(this,e),ie(this,"interface",ae(this instanceof e?this.constructor:void 0,"getInterface")(n)),null==r?(ie(this,"provider",null),ie(this,"signer",null)):vo.isSigner(r)?(ie(this,"provider",r.provider||null),ie(this,"signer",r)):lo.isProvider(r)?(ie(this,"provider",r),ie(this,"signer",null)):yo.throwArgumentError("invalid signer or provider","signerOrProvider",r),ie(this,"callStatic",{}),ie(this,"estimateGas",{}),ie(this,"functions",{}),ie(this,"populateTransaction",{}),ie(this,"filters",{});var o={};if(Object.keys(this.interface.events).forEach((function(e){var t=a.interface.events[e];ie(a.filters,e,(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return{address:a.address,topics:a.interface.encodeFilterTopics(t,n)}})),o[t.name]||(o[t.name]=[]),o[t.name].push(e)})),Object.keys(o).forEach((function(e){var t=o[e];1===t.length?ie(a.filters,e,a.filters[t[0]]):yo.warn("Duplicate definition of ".concat(e," (").concat(t.join(", "),")"))})),ie(this,"_runningEvents",{}),ie(this,"_wrappedEmits",{}),null==t&&yo.throwArgumentError("invalid contract address or ENS name","addressOrName",t),ie(this,"address",t),this.provider)ie(this,"resolvedAddress",bo(this.provider,t));else try{ie(this,"resolvedAddress",Promise.resolve(Je(t)))}catch(l){yo.throwError("provider is required to use ENS name as contract address",N.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}this.resolvedAddress.catch((function(e){}));var s={},u={};Object.keys(this.interface.functions).forEach((function(e){var t=a.interface.functions[e];if(u[e])yo.warn("Duplicate ABI entry for ".concat(JSON.stringify(e)));else{u[e]=!0;var n=t.name;s["%".concat(n)]||(s["%".concat(n)]=[]),s["%".concat(n)].push(e),null==a[e]&&ie(a,e,Eo(a,t,!0)),null==a.functions[e]&&ie(a.functions,e,Eo(a,t,!1)),null==a.callStatic[e]&&ie(a.callStatic,e,ko(a,t,!0)),null==a.populateTransaction[e]&&ie(a.populateTransaction,e,function(e,t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return xo(e,t,r)}}(a,t)),null==a.estimateGas[e]&&ie(a.estimateGas,e,function(e,t){var n=e.signer||e.provider;return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return go(this,void 0,void 0,b().mark((function r(){var a;return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n||yo.throwError("estimate require a provider or signer",N.errors.UNSUPPORTED_OPERATION,{operation:"estimateGas"}),r.next=3,xo(e,t,i);case 3:return a=r.sent,r.next=6,n.estimateGas(a);case 6:return r.abrupt("return",r.sent);case 7:case"end":return r.stop()}}),r)})))}}(a,t))}})),Object.keys(s).forEach((function(e){var t=s[e];if(!(t.length>1)){e=e.substring(1);var n=t[0];try{null==a[e]&&ie(a,e,a[n])}catch(r){}null==a.functions[e]&&ie(a.functions,e,a.functions[n]),null==a.callStatic[e]&&ie(a.callStatic,e,a.callStatic[n]),null==a.populateTransaction[e]&&ie(a.populateTransaction,e,a.populateTransaction[n]),null==a.estimateGas[e]&&ie(a.estimateGas,e,a.estimateGas[n])}}))}return u(e,[{key:"deployed",value:function(){return this._deployed()}},{key:"_deployed",value:function(e){var t=this;return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((function(){return t})):this._deployedPromise=this.provider.getCode(this.address,e).then((function(e){return"0x"===e&&yo.throwError("contract not deployed",N.errors.UNSUPPORTED_OPERATION,{contractAddress:t.address,operation:"getDeployed"}),t}))),this._deployedPromise}},{key:"fallback",value:function(e){var t=this;this.signer||yo.throwError("sending a transactions require a signer",N.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});var n=ue(e||{});return["from","to"].forEach((function(e){null!=n[e]&&yo.throwError("cannot override "+e,N.errors.UNSUPPORTED_OPERATION,{operation:e})})),n.to=this.resolvedAddress,this.deployed().then((function(){return t.signer.sendTransaction(n)}))}},{key:"connect",value:function(e){"string"===typeof e&&(e=new mo(e,this.provider));var t=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&ie(t,"deployTransaction",this.deployTransaction),t}},{key:"attach",value:function(e){return new this.constructor(e,this.interface,this.signer||this.provider)}},{key:"_normalizeRunningEvent",value:function(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e}},{key:"_getRunningEvent",value:function(e){if("string"===typeof e){if("error"===e)return this._normalizeRunningEvent(new Mo);if("event"===e)return this._normalizeRunningEvent(new Lo("event",null));if("*"===e)return this._normalizeRunningEvent(new _o(this.address,this.interface));var t=this.interface.getEvent(e);return this._normalizeRunningEvent(new Ao(this.address,this.interface,t))}if(e.topics&&e.topics.length>0){try{var n=e.topics[0];if("string"!==typeof n)throw new Error("invalid topic");var r=this.interface.getEvent(n);return this._normalizeRunningEvent(new Ao(this.address,this.interface,r,e.topics))}catch(a){}var i={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new Lo(So(i),i))}return this._normalizeRunningEvent(new _o(this.address,this.interface))}},{key:"_checkRunningEvents",value:function(e){if(0===e.listenerCount()){delete this._runningEvents[e.tag];var t=this._wrappedEmits[e.tag];t&&e.filter&&(this.provider.off(e.filter,t),delete this._wrappedEmits[e.tag])}}},{key:"_wrapEvent",value:function(e,t,n){var r=this,i=de(t);return i.removeListener=function(){n&&(e.removeListener(n),r._checkRunningEvents(e))},i.getBlock=function(){return r.provider.getBlock(t.blockHash)},i.getTransaction=function(){return r.provider.getTransaction(t.transactionHash)},i.getTransactionReceipt=function(){return r.provider.getTransactionReceipt(t.transactionHash)},e.prepareEvent(i),i}},{key:"_addEventListener",value:function(e,t,n){var r=this;if(this.provider||yo.throwError("events require a provider or a signer with a provider",N.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(t,n),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){var i=function(n){var i=r._wrapEvent(e,n,t);if(null==i.decodeError)try{var a=e.getEmit(i);r.emit.apply(r,[e.filter].concat(En(a)))}catch(o){i.decodeError=o.error}null!=e.filter&&r.emit("event",i),null!=i.decodeError&&r.emit("error",i.decodeError,i)};this._wrappedEmits[e.tag]=i,null!=e.filter&&this.provider.on(e.filter,i)}}},{key:"queryFilter",value:function(e,t,n){var r=this,i=this._getRunningEvent(e),a=ue(i.filter);return"string"===typeof t&&W(t,32)?(null!=n&&yo.throwArgumentError("cannot specify toBlock with blockhash","toBlock",n),a.blockHash=t):(a.fromBlock=null!=t?t:0,a.toBlock=null!=n?n:"latest"),this.provider.getLogs(a).then((function(e){return e.map((function(e){return r._wrapEvent(i,e,null)}))}))}},{key:"on",value:function(e,t){return this._addEventListener(this._getRunningEvent(e),t,!1),this}},{key:"once",value:function(e,t){return this._addEventListener(this._getRunningEvent(e),t,!0),this}},{key:"emit",value:function(e){if(!this.provider)return!1;for(var t=this._getRunningEvent(e),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=t.run(r)>0;return this._checkRunningEvents(t),a}},{key:"listenerCount",value:function(e){var t=this;return this.provider?null==e?Object.keys(this._runningEvents).reduce((function(e,n){return e+t._runningEvents[n].listenerCount()}),0):this._getRunningEvent(e).listenerCount():0}},{key:"listeners",value:function(e){if(!this.provider)return[];if(null==e){var t=[];for(var n in this._runningEvents)this._runningEvents[n].listeners().forEach((function(e){t.push(e)}));return t}return this._getRunningEvent(e).listeners()}},{key:"removeAllListeners",value:function(e){if(!this.provider)return this;if(null==e){for(var t in this._runningEvents){var n=this._runningEvents[t];n.removeAllListeners(),this._checkRunningEvents(n)}return this}var r=this._getRunningEvent(e);return r.removeAllListeners(),this._checkRunningEvents(r),this}},{key:"off",value:function(e,t){if(!this.provider)return this;var n=this._getRunningEvent(e);return n.removeListener(t),this._checkRunningEvents(n),this}},{key:"removeListener",value:function(e,t){return this.off(e,t)}}],[{key:"getContractAddress",value:function(e){return et(e)}},{key:"getInterface",value:function(e){return mn.isInterface(e)?e:new mn(e)}},{key:"isIndexed",value:function(e){return hn.isIndexed(e)}}]),e}(),To=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n)}(Po),Ro=n(1201),Io=n.n(Ro),No="providers/5.7.2",Oo=new N("networks/5.7.1");function jo(e){var t=function(t,n){null==n&&(n={});var r=[];if(t.InfuraProvider&&"-"!==n.infura)try{r.push(new t.InfuraProvider(e,n.infura))}catch(s){}if(t.EtherscanProvider&&"-"!==n.etherscan)try{r.push(new t.EtherscanProvider(e,n.etherscan))}catch(s){}if(t.AlchemyProvider&&"-"!==n.alchemy)try{r.push(new t.AlchemyProvider(e,n.alchemy))}catch(s){}if(t.PocketProvider&&"-"!==n.pocket){try{var i=new t.PocketProvider(e,n.pocket);i.network&&-1===["goerli","ropsten","rinkeby","sepolia"].indexOf(i.network.name)&&r.push(i)}catch(s){}}if(t.CloudflareProvider&&"-"!==n.cloudflare)try{r.push(new t.CloudflareProvider(e))}catch(s){}if(t.AnkrProvider&&"-"!==n.ankr)try{var a=new t.AnkrProvider(e,n.ankr);a.network&&-1===["ropsten"].indexOf(a.network.name)&&r.push(a)}catch(s){}if(0===r.length)return null;if(t.FallbackProvider){var o=1;return null!=n.quorum?o=n.quorum:"homestead"===e&&(o=2),new t.FallbackProvider(r,o)}return r[0]};return t.renetwork=function(e){return jo(e)},t}function Fo(e,t){var n=function(n,r){return n.JsonRpcProvider?new n.JsonRpcProvider(e,t):null};return n.renetwork=function(t){return Fo(e,t)},n}var Vo={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:jo("homestead")},Bo={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:jo("ropsten")},Ho={chainId:63,name:"classicMordor",_defaultProvider:Fo("https://www.ethercluster.com/mordor","classicMordor")},Do={unspecified:{chainId:0,name:"unspecified"},homestead:Vo,mainnet:Vo,morden:{chainId:2,name:"morden"},ropsten:Bo,testnet:Bo,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:jo("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:jo("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:jo("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:jo("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:Fo("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:Ho,classicTestnet:Ho,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:Fo("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:jo("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:jo("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};var zo=n(2914),Uo=n.n(zo),Zo=new N(No),Wo=function(){function e(){i(this,e),this.formats=this.getDefaultFormats()}return u(e,[{key:"getDefaultFormats",value:function(){var t=this,n={},r=this.address.bind(this),i=this.bigNumber.bind(this),a=this.blockTag.bind(this),o=this.data.bind(this),s=this.hash.bind(this),u=this.hex.bind(this),l=this.number.bind(this),c=this.type.bind(this);return n.transaction={hash:s,type:c,accessList:e.allowNull(this.accessList.bind(this),null),blockHash:e.allowNull(s,null),blockNumber:e.allowNull(l,null),transactionIndex:e.allowNull(l,null),confirmations:e.allowNull(l,null),from:r,gasPrice:e.allowNull(i),maxPriorityFeePerGas:e.allowNull(i),maxFeePerGas:e.allowNull(i),gasLimit:i,to:e.allowNull(r,null),value:i,nonce:l,data:o,r:e.allowNull(this.uint256),s:e.allowNull(this.uint256),v:e.allowNull(l),creates:e.allowNull(r,null),raw:e.allowNull(o)},n.transactionRequest={from:e.allowNull(r),nonce:e.allowNull(l),gasLimit:e.allowNull(i),gasPrice:e.allowNull(i),maxPriorityFeePerGas:e.allowNull(i),maxFeePerGas:e.allowNull(i),to:e.allowNull(r),value:e.allowNull(i),data:e.allowNull((function(e){return t.data(e,!0)})),type:e.allowNull(l),accessList:e.allowNull(this.accessList.bind(this),null)},n.receiptLog={transactionIndex:l,blockNumber:l,transactionHash:s,address:r,topics:e.arrayOf(s),data:o,logIndex:l,blockHash:s},n.receipt={to:e.allowNull(this.address,null),from:e.allowNull(this.address,null),contractAddress:e.allowNull(r,null),transactionIndex:l,root:e.allowNull(u),gasUsed:i,logsBloom:e.allowNull(o),blockHash:s,transactionHash:s,logs:e.arrayOf(this.receiptLog.bind(this)),blockNumber:l,confirmations:e.allowNull(l,null),cumulativeGasUsed:i,effectiveGasPrice:e.allowNull(i),status:e.allowNull(l),type:c},n.block={hash:e.allowNull(s),parentHash:s,number:l,timestamp:l,nonce:e.allowNull(u),difficulty:this.difficulty.bind(this),gasLimit:i,gasUsed:i,miner:e.allowNull(r),extraData:o,transactions:e.allowNull(e.arrayOf(s)),baseFeePerGas:e.allowNull(i)},n.blockWithTransactions=ue(n.block),n.blockWithTransactions.transactions=e.allowNull(e.arrayOf(this.transactionResponse.bind(this))),n.filter={fromBlock:e.allowNull(a,void 0),toBlock:e.allowNull(a,void 0),blockHash:e.allowNull(s,void 0),address:e.allowNull(r,void 0),topics:e.allowNull(this.topics.bind(this),void 0)},n.filterLog={blockNumber:e.allowNull(l),blockHash:e.allowNull(s),transactionIndex:l,removed:e.allowNull(this.boolean.bind(this)),address:r,data:e.allowFalsish(o,"0x"),topics:e.arrayOf(s),transactionHash:s,logIndex:l},n}},{key:"accessList",value:function(e){return Si(e||[])}},{key:"number",value:function(e){return"0x"===e?0:we.from(e).toNumber()}},{key:"type",value:function(e){return"0x"===e||null==e?0:we.from(e).toNumber()}},{key:"bigNumber",value:function(e){return we.from(e)}},{key:"boolean",value:function(e){if("boolean"===typeof e)return e;if("string"===typeof e){if("true"===(e=e.toLowerCase()))return!0;if("false"===e)return!1}throw new Error("invalid boolean - "+e)}},{key:"hex",value:function(e,t){return"string"===typeof e&&(t||"0x"===e.substring(0,2)||(e="0x"+e),W(e))?e.toLowerCase():Zo.throwArgumentError("invalid hash","value",e)}},{key:"data",value:function(e,t){var n=this.hex(e,t);if(n.length%2!==0)throw new Error("invalid data; odd-length - "+e);return n}},{key:"address",value:function(e){return Je(e)}},{key:"callAddress",value:function(e){if(!W(e,32))return null;var t=Je(Q(e,12));return"0x0000000000000000000000000000000000000000"===t?null:t}},{key:"contractAddress",value:function(e){return et(e)}},{key:"blockTag",value:function(e){if(null==e)return"latest";if("earliest"===e)return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if("number"===typeof e||W(e))return J(e);throw new Error("invalid blockTag")}},{key:"hash",value:function(e,t){var n=this.hex(e,t);return 32!==K(n)?Zo.throwArgumentError("invalid hash","value",e):n}},{key:"difficulty",value:function(e){if(null==e)return null;var t=we.from(e);try{return t.toNumber()}catch(n){}return null}},{key:"uint256",value:function(e){if(!W(e))throw new Error("invalid uint256");return $(e,32)}},{key:"_block",value:function(t,n){null!=t.author&&null==t.miner&&(t.miner=t.author);var r=null!=t._difficulty?t._difficulty:t.difficulty,i=e.check(n,t);return i._difficulty=null==r?null:we.from(r),i}},{key:"block",value:function(e){return this._block(e,this.formats.block)}},{key:"blockWithTransactions",value:function(e){return this._block(e,this.formats.blockWithTransactions)}},{key:"transactionRequest",value:function(t){return e.check(this.formats.transactionRequest,t)}},{key:"transactionResponse",value:function(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&we.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);var n=e.check(this.formats.transaction,t);if(null!=t.chainId){var r=t.chainId;W(r)&&(r=we.from(r).toNumber()),n.chainId=r}else{var i=t.networkId;null==i&&null==n.v&&(i=t.chainId),W(i)&&(i=we.from(i).toNumber()),"number"!==typeof i&&null!=n.v&&((i=(n.v-35)/2)<0&&(i=0),i=parseInt(i)),"number"!==typeof i&&(i=0),n.chainId=i}return n.blockHash&&"x"===n.blockHash.replace(/0/g,"")&&(n.blockHash=null),n}},{key:"transaction",value:function(e){return Ti(e)}},{key:"receiptLog",value:function(t){return e.check(this.formats.receiptLog,t)}},{key:"receipt",value:function(t){var n=e.check(this.formats.receipt,t);if(null!=n.root)if(n.root.length<=4){var r=we.from(n.root).toNumber();0===r||1===r?(null!=n.status&&n.status!==r&&Zo.throwArgumentError("alt-root-status/status mismatch","value",{root:n.root,status:n.status}),n.status=r,delete n.root):Zo.throwArgumentError("invalid alt-root-status","value.root",n.root)}else 66!==n.root.length&&Zo.throwArgumentError("invalid root hash","value.root",n.root);return null!=n.status&&(n.byzantium=!0),n}},{key:"topics",value:function(e){var t=this;return Array.isArray(e)?e.map((function(e){return t.topics(e)})):null!=e?this.hash(e,!0):null}},{key:"filter",value:function(t){return e.check(this.formats.filter,t)}},{key:"filterLog",value:function(t){return e.check(this.formats.filterLog,t)}}],[{key:"check",value:function(e,t){var n={};for(var r in e)try{var i=e[r](t[r]);void 0!==i&&(n[r]=i)}catch(a){throw a.checkKey=r,a.checkValue=t[r],a}return n}},{key:"allowNull",value:function(e,t){return function(n){return null==n?t:e(n)}}},{key:"allowFalsish",value:function(e,t){return function(n){return n?e(n):t}}},{key:"arrayOf",value:function(e){return function(t){if(!Array.isArray(t))throw new Error("not an array");var n=[];return t.forEach((function(t){n.push(e(t))})),n}}}]),e}();var Go=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},qo=new N(No);function Ko(e){return null==e?"null":(32!==K(e)&&qo.throwArgumentError("invalid topic","topic",e),e.toLowerCase())}function Qo(e){for(e=e.slice();e.length>0&&null==e[e.length-1];)e.pop();return e.map((function(e){if(Array.isArray(e)){var t={};e.forEach((function(e){t[Ko(e)]=!0}));var n=Object.keys(t);return n.sort(),n.join("|")}return Ko(e)})).join("&")}function Yo(e){if("string"===typeof e){if(32===K(e=e.toLowerCase()))return"tx:"+e;if(-1===e.indexOf(":"))return e}else{if(Array.isArray(e))return"filter:*:"+Qo(e);if(uo.isForkEvent(e))throw qo.warn("not implemented"),new Error("not implemented");if(e&&"object"===typeof e)return"filter:"+(e.address||"*")+":"+Qo(e.topics||[])}throw new Error("invalid event - "+e)}function Jo(){return(new Date).getTime()}function Xo(e){return new Promise((function(t){setTimeout(t,e)}))}var $o=["block","network","pending","poll"],es=function(){function e(t,n,r){i(this,e),ie(this,"tag",t),ie(this,"listener",n),ie(this,"once",r),this._lastBlockNumber=-2,this._inflight=!1}return u(e,[{key:"event",get:function(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}},{key:"type",get:function(){return this.tag.split(":")[0]}},{key:"hash",get:function(){var e=this.tag.split(":");return"tx"!==e[0]?null:e[1]}},{key:"filter",get:function(){var e=this.tag.split(":");if("filter"!==e[0])return null;var t,n=e[1],r=""===(t=e[2])?[]:t.split(/&/g).map((function(e){if(""===e)return[];var t=e.split("|").map((function(e){return"null"===e?null:e}));return 1===t.length?t[0]:t})),i={};return r.length>0&&(i.topics=r),n&&"*"!==n&&(i.address=n),i}},{key:"pollable",value:function(){return this.tag.indexOf(":")>=0||$o.indexOf(this.tag)>=0}}]),e}(),ts={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function ns(e){return $(we.from(e).toHexString(),32)}function rs(e){return Cn.encode(z([e,Q(wr(wr(e)),0,4)]))}var is=new RegExp("^(ipfs)://(.*)$","i"),as=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),is,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function os(e,t){try{return _t(ss(e,t))}catch(n){}return null}function ss(e,t){if("0x"===e)return null;var n=we.from(Q(e,t,t+32)).toNumber(),r=we.from(Q(e,n,n+32)).toNumber();return Q(e,n+32,n+32+r)}function us(e){return e.match(/^ipfs:\/\/ipfs\//i)?e=e.substring(12):e.match(/^ipfs:\/\//i)?e=e.substring(7):qo.throwArgumentError("unsupported IPFS format","link",e),"https://gateway.ipfs.io/ipfs/".concat(e)}function ls(e){var t=D(e);if(t.length>32)throw new Error("internal; should not happen");var n=new Uint8Array(32);return n.set(t,32-t.length),n}function cs(e){if(e.length%32===0)return e;var t=new Uint8Array(32*Math.ceil(e.length/32));return t.set(e),t}function fs(e){for(var t=[],n=0,r=0;r<e.length;r++)t.push(null),n+=32;for(var i=0;i<e.length;i++){var a=D(e[i]);t[i]=ls(n),t.push(ls(a.length)),t.push(cs(a)),n+=32+32*Math.ceil(a.length/32)}return Y(t)}var ds=function(){function e(t,n,r,a){i(this,e),ie(this,"provider",t),ie(this,"name",r),ie(this,"address",t.formatter.address(n)),ie(this,"_resolvedAddress",a)}return u(e,[{key:"supportsWildcard",value:function(){var e=this;return this._supportsEip2544||(this._supportsEip2544=this.provider.call({to:this.address,data:"0x01ffc9a79061b92300000000000000000000000000000000000000000000000000000000"}).then((function(e){return we.from(e).eq(1)})).catch((function(t){if(t.code===N.errors.CALL_EXCEPTION)return!1;throw e._supportsEip2544=null,t}))),this._supportsEip2544}},{key:"_fetch",value:function(e,t){return Go(this,void 0,void 0,b().mark((function n(){var r,i,a;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r={to:this.address,ccipReadEnabled:!0,data:Y([e,Jn(this.name),t||"0x"])},i=!1,n.next=4,this.supportsWildcard();case 4:if(!n.sent){n.next=7;break}i=!0,r.data=Y(["0x9061b923",fs([Xn(this.name),r.data])]);case 7:return n.prev=7,n.next=10,this.provider.call(r);case 10:return D(a=n.sent).length%32===4&&qo.throwError("resolver threw error",N.errors.CALL_EXCEPTION,{transaction:r,data:a}),i&&(a=ss(a,0)),n.abrupt("return",a);case 16:if(n.prev=16,n.t0=n.catch(7),n.t0.code!==N.errors.CALL_EXCEPTION){n.next=20;break}return n.abrupt("return",null);case 20:throw n.t0;case 21:case"end":return n.stop()}}),n,this,[[7,16]])})))}},{key:"_fetchBytes",value:function(e,t){return Go(this,void 0,void 0,b().mark((function n(){var r;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._fetch(e,t);case 2:if(null==(r=n.sent)){n.next=5;break}return n.abrupt("return",ss(r,0));case 5:return n.abrupt("return",null);case 6:case"end":return n.stop()}}),n,this)})))}},{key:"_getAddress",value:function(e,t){var n=ts[String(e)];if(null==n&&qo.throwError("unsupported coin type: ".concat(e),N.errors.UNSUPPORTED_OPERATION,{operation:"getAddress(".concat(e,")")}),"eth"===n.ilk)return this.provider.formatter.address(t);var r=D(t);if(null!=n.p2pkh){var i=t.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(i){var a=parseInt(i[1],16);if(i[2].length===2*a&&a>=1&&a<=75)return rs(z([[n.p2pkh],"0x"+i[2]]))}}if(null!=n.p2sh){var o=t.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(o){var s=parseInt(o[1],16);if(o[2].length===2*s&&s>=1&&s<=75)return rs(z([[n.p2sh],"0x"+o[2]]))}}if(null!=n.prefix){var u=r[1],l=r[0];if(0===l?20!==u&&32!==u&&(l=-1):l=-1,l>=0&&r.length===2+u&&u>=1&&u<=75){var c=Uo().toWords(r.slice(2));return c.unshift(l),Uo().encode(n.prefix,c)}}return null}},{key:"getAddress",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r,i;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==e&&(e=60),60!==e){t.next=16;break}return t.prev=2,t.next=5,this._fetch("0x3b3b57de");case 5:if("0x"!==(n=t.sent)&&n!==La){t.next=8;break}return t.abrupt("return",null);case 8:return t.abrupt("return",this.provider.formatter.callAddress(n));case 11:if(t.prev=11,t.t0=t.catch(2),t.t0.code!==N.errors.CALL_EXCEPTION){t.next=15;break}return t.abrupt("return",null);case 15:throw t.t0;case 16:return t.next=18,this._fetchBytes("0xf1cb7e06",ns(e));case 18:if(null!=(r=t.sent)&&"0x"!==r){t.next=21;break}return t.abrupt("return",null);case 21:return null==(i=this._getAddress(e,r))&&qo.throwError("invalid or unsupported coin data",N.errors.UNSUPPORTED_OPERATION,{operation:"getAddress(".concat(e,")"),coinType:e,data:r}),t.abrupt("return",i);case 24:case"end":return t.stop()}}),t,this,[[2,11]])})))}},{key:"getAvatar",value:function(){return Go(this,void 0,void 0,b().mark((function e(){var t,n,r,i,a,o,s,u,l,c,f,d,h,p,v,m;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[{type:"name",content:this.name}],e.prev=1,e.next=4,this.getText("avatar");case 4:if(null!=(n=e.sent)){e.next=7;break}return e.abrupt("return",null);case 7:r=0;case 8:if(!(r<as.length)){e.next=91;break}if(null!=(i=n.match(as[r]))){e.next=12;break}return e.abrupt("continue",88);case 12:a=i[1].toLowerCase(),e.t0=a,e.next="https"===e.t0?16:"data"===e.t0?18:"ipfs"===e.t0?20:"erc721"===e.t0||"erc1155"===e.t0?22:88;break;case 16:return t.push({type:"url",content:n}),e.abrupt("return",{linkage:t,url:n});case 18:return t.push({type:"data",content:n}),e.abrupt("return",{linkage:t,url:n});case 20:return t.push({type:"ipfs",content:n}),e.abrupt("return",{linkage:t,url:us(n)});case 22:if(o="erc721"===a?"0xc87b56dd":"0x0e89341c",t.push({type:a,content:n}),e.t1=this._resolvedAddress,e.t1){e.next=29;break}return e.next=28,this.getAddress();case 28:e.t1=e.sent;case 29:if(s=e.t1,2===(u=(i[2]||"").split("/")).length){e.next=33;break}return e.abrupt("return",null);case 33:return e.next=35,this.provider.formatter.address(u[0]);case 35:if(l=e.sent,c=$(we.from(u[1]).toHexString(),32),"erc721"!==a){e.next=48;break}return e.t2=this.provider.formatter,e.next=41,this.provider.call({to:l,data:Y(["0x6352211e",c])});case 41:if(e.t3=e.sent,f=e.t2.callAddress.call(e.t2,e.t3),s===f){e.next=45;break}return e.abrupt("return",null);case 45:t.push({type:"owner",content:f}),e.next=57;break;case 48:if("erc1155"!==a){e.next=57;break}return e.t4=we,e.next=52,this.provider.call({to:l,data:Y(["0x00fdd58e",$(s,32),c])});case 52:if(e.t5=e.sent,!(d=e.t4.from.call(e.t4,e.t5)).isZero()){e.next=56;break}return e.abrupt("return",null);case 56:t.push({type:"balance",content:d.toString()});case 57:return h={to:this.provider.formatter.address(u[0]),data:Y([o,c])},e.t6=os,e.next=61,this.provider.call(h);case 61:if(e.t7=e.sent,null!=(p=(0,e.t6)(e.t7,0))){e.next=65;break}return e.abrupt("return",null);case 65:return t.push({type:"metadata-url-base",content:p}),"erc1155"===a&&(p=p.replace("{id}",c.substring(2)),t.push({type:"metadata-url-expanded",content:p})),p.match(/^ipfs:/i)&&(p=us(p)),t.push({type:"metadata-url",content:p}),e.next=71,io(p);case 71:if(v=e.sent){e.next=74;break}return e.abrupt("return",null);case 74:if(t.push({type:"metadata",content:JSON.stringify(v)}),"string"===typeof(m=v.image)){e.next=78;break}return e.abrupt("return",null);case 78:if(!m.match(/^(https:\/\/|data:)/i)){e.next=81;break}e.next=86;break;case 81:if(null!=m.match(is)){e.next=84;break}return e.abrupt("return",null);case 84:t.push({type:"url-ipfs",content:m}),m=us(m);case 86:return t.push({type:"url",content:m}),e.abrupt("return",{linkage:t,url:m});case 88:r++,e.next=8;break;case 91:e.next=95;break;case 93:e.prev=93,e.t8=e.catch(1);case 95:return e.abrupt("return",null);case 96:case"end":return e.stop()}}),e,this,[[1,93]])})))}},{key:"getContentHash",value:function(){return Go(this,void 0,void 0,b().mark((function e(){var t,n,r,i,a,o,s,u,l;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._fetchBytes("0xbc1c58d1");case 2:if(null!=(t=e.sent)&&"0x"!==t){e.next=5;break}return e.abrupt("return",null);case 5:if(!(n=t.match(/^0xe3010170(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/))){e.next=10;break}if(r=parseInt(n[3],16),n[4].length!==2*r){e.next=10;break}return e.abrupt("return","ipfs://"+Cn.encode("0x"+n[1]));case 10:if(!(i=t.match(/^0xe5010172(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/))){e.next=15;break}if(a=parseInt(i[3],16),i[4].length!==2*a){e.next=15;break}return e.abrupt("return","ipns://"+Cn.encode("0x"+i[1]));case 15:if(!(o=t.match(/^0xe40101fa011b20([0-9a-f]*)$/))){e.next=19;break}if(64!==o[1].length){e.next=19;break}return e.abrupt("return","bzz://"+o[1]);case 19:if(!(s=t.match(/^0x90b2c605([0-9a-f]*)$/))){e.next=25;break}if(68!==s[1].length){e.next=25;break}return u={"=":"","+":"-","/":"_"},l=yn("0x"+s[1]).replace(/[=+\/]/g,(function(e){return u[e]})),e.abrupt("return","sia://"+l);case 25:return e.abrupt("return",qo.throwError("invalid or unsupported content hash data",N.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:t}));case 26:case"end":return e.stop()}}),e,this)})))}},{key:"getText",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=St(e),(n=z([ns(64),ns(n.length),n])).length%32!==0&&(n=z([n,$("0x",32-e.length%32)])),t.next=5,this._fetchBytes("0x59d1d43c",q(n));case 5:if(null!=(r=t.sent)&&"0x"!==r){t.next=8;break}return t.abrupt("return",null);case 8:return t.abrupt("return",_t(r));case 9:case"end":return t.stop()}}),t,this)})))}}]),e}(),hs=null,ps=1,vs=function(e){c(n,e);var t=p(n);function n(e){var r;if(i(this,n),(r=t.call(this))._events=[],r._emitted={block:-2},r.disableCcipRead=!1,r.formatter=(this instanceof n?this.constructor:void 0).getFormatter(),ie(h(r),"anyNetwork","any"===e),r.anyNetwork&&(e=r.detectNetwork()),e instanceof Promise)r._networkPromise=e,e.catch((function(e){})),r._ready().catch((function(e){}));else{var a=ae(this instanceof n?this.constructor:void 0,"getNetwork")(e);a?(ie(h(r),"_network",a),r.emit("network",a,null)):qo.throwArgumentError("invalid network","network",e)}return r._maxInternalBlockNumber=-1024,r._lastBlockNumber=-2,r._maxFilterBlockRange=10,r._pollingInterval=4e3,r._fastQueryDate=0,r}return u(n,[{key:"_ready",value:function(){return Go(this,void 0,void 0,b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=this._network){e.next=17;break}if(t=null,!this._networkPromise){e.next=11;break}return e.prev=3,e.next=6,this._networkPromise;case 6:t=e.sent,e.next=11;break;case 9:e.prev=9,e.t0=e.catch(3);case 11:if(null!=t){e.next=15;break}return e.next=14,this.detectNetwork();case 14:t=e.sent;case 15:t||qo.throwError("no network detected",N.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=t:ie(this,"_network",t),this.emit("network",t,null));case 17:return e.abrupt("return",this._network);case 18:case"end":return e.stop()}}),e,this,[[3,9]])})))}},{key:"ready",get:function(){var e=this;return ao((function(){return e._ready().then((function(e){return e}),(function(e){if(e.code!==N.errors.NETWORK_ERROR||"noNetwork"!==e.event)throw e}))}))}},{key:"ccipReadFetch",value:function(e,t,n){return Go(this,void 0,void 0,b().mark((function r(){var i,a,o,s,u,l,c,f,d;return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.disableCcipRead&&0!==n.length){r.next=2;break}return r.abrupt("return",null);case 2:i=e.to.toLowerCase(),a=t.toLowerCase(),o=[],s=0;case 6:if(!(s<n.length)){r.next=22;break}return u=n[s],l=u.replace("{sender}",i).replace("{data}",a),c=u.indexOf("{data}")>=0?null:JSON.stringify({data:a,sender:i}),r.next=12,io({url:l,errorPassThrough:!0},c,(function(e,t){return e.status=t.statusCode,e}));case 12:if(!(f=r.sent).data){r.next=15;break}return r.abrupt("return",f.data);case 15:if(d=f.message||"unknown error",!(f.status>=400&&f.status<500)){r.next=18;break}return r.abrupt("return",qo.throwError("response not found during CCIP fetch: ".concat(d),N.errors.SERVER_ERROR,{url:u,errorMessage:d}));case 18:o.push(d);case 19:s++,r.next=6;break;case 22:return r.abrupt("return",qo.throwError("error encountered during CCIP fetch: ".concat(o.map((function(e){return JSON.stringify(e)})).join(", ")),N.errors.SERVER_ERROR,{urls:n,errorMessages:o}));case 23:case"end":return r.stop()}}),r,this)})))}},{key:"_getInternalBlockNumber",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r,i,a,o=this;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._ready();case 2:if(!(e>0)){t.next=20;break}case 3:if(!this._internalBlockNumber){t.next=20;break}return n=this._internalBlockNumber,t.prev=5,t.next=8,n;case 8:if(r=t.sent,!(Jo()-r.respTime<=e)){t.next=11;break}return t.abrupt("return",r.blockNumber);case 11:return t.abrupt("break",20);case 14:if(t.prev=14,t.t0=t.catch(5),this._internalBlockNumber!==n){t.next=18;break}return t.abrupt("break",20);case 18:t.next=3;break;case 20:return i=Jo(),a=oe({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((function(e){return null}),(function(e){return e}))}).then((function(e){var t=e.blockNumber,n=e.networkError;if(n)throw o._internalBlockNumber===a&&(o._internalBlockNumber=null),n;var r=Jo();return(t=we.from(t).toNumber())<o._maxInternalBlockNumber&&(t=o._maxInternalBlockNumber),o._maxInternalBlockNumber=t,o._setFastBlockNumber(t),{blockNumber:t,reqTime:i,respTime:r}})),this._internalBlockNumber=a,a.catch((function(e){o._internalBlockNumber===a&&(o._internalBlockNumber=null)})),t.next=26,a;case 26:return t.abrupt("return",t.sent.blockNumber);case 27:case"end":return t.stop()}}),t,this,[[5,14]])})))}},{key:"poll",value:function(){return Go(this,void 0,void 0,b().mark((function e(){var t,n,r,i,a=this;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=ps++,n=[],r=null,e.prev=3,e.next=6,this._getInternalBlockNumber(100+this.pollingInterval/2);case 6:r=e.sent,e.next=13;break;case 9:return e.prev=9,e.t0=e.catch(3),this.emit("error",e.t0),e.abrupt("return");case 13:if(this._setFastBlockNumber(r),this.emit("poll",t,r),r!==this._lastBlockNumber){e.next=18;break}return this.emit("didPoll",t),e.abrupt("return");case 18:if(-2===this._emitted.block&&(this._emitted.block=r-1),Math.abs(this._emitted.block-r)>1e3)qo.warn("network block skew detected; skipping block events (emitted=".concat(this._emitted.block," blockNumber").concat(r,")")),this.emit("error",qo.makeError("network block skew detected",N.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(i=this._emitted.block+1;i<=r;i++)this.emit("block",i);return this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach((function(e){if("block"!==e){var t=a._emitted[e];"pending"!==t&&r-t>12&&delete a._emitted[e]}}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach((function(e){switch(e.type){case"tx":var t=e.hash,i=a.getTransactionReceipt(t).then((function(e){return e&&null!=e.blockNumber?(a._emitted["t:"+t]=e.blockNumber,a.emit(t,e),null):null})).catch((function(e){a.emit("error",e)}));n.push(i);break;case"filter":if(!e._inflight){e._inflight=!0,-2===e._lastBlockNumber&&(e._lastBlockNumber=r-1);var o=e.filter;o.fromBlock=e._lastBlockNumber+1,o.toBlock=r;var s=o.toBlock-a._maxFilterBlockRange;s>o.fromBlock&&(o.fromBlock=s),o.fromBlock<0&&(o.fromBlock=0);var u=a.getLogs(o).then((function(t){e._inflight=!1,0!==t.length&&t.forEach((function(t){t.blockNumber>e._lastBlockNumber&&(e._lastBlockNumber=t.blockNumber),a._emitted["b:"+t.blockHash]=t.blockNumber,a._emitted["t:"+t.transactionHash]=t.blockNumber,a.emit(o,t)}))})).catch((function(t){a.emit("error",t),e._inflight=!1}));n.push(u)}}})),this._lastBlockNumber=r,Promise.all(n).then((function(){a.emit("didPoll",t)})).catch((function(e){a.emit("error",e)})),e.abrupt("return");case 26:case"end":return e.stop()}}),e,this,[[3,9]])})))}},{key:"resetEventsBlock",value:function(e){this._lastBlockNumber=e-1,this.polling&&this.poll()}},{key:"network",get:function(){return this._network}},{key:"detectNetwork",value:function(){return Go(this,void 0,void 0,b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",qo.throwError("provider does not support network detection",N.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"}));case 1:case"end":return e.stop()}}),e)})))}},{key:"getNetwork",value:function(){return Go(this,void 0,void 0,b().mark((function e(){var t,n,r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready();case 2:return t=e.sent,e.next=5,this.detectNetwork();case 5:if(n=e.sent,t.chainId===n.chainId){e.next=23;break}if(!this.anyNetwork){e.next=20;break}return this._network=n,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",n,t),e.next=19,Xo(0);case 19:return e.abrupt("return",this._network);case 20:throw r=qo.makeError("underlying network changed",N.errors.NETWORK_ERROR,{event:"changed",network:t,detectedNetwork:n}),this.emit("error",r),r;case 23:return e.abrupt("return",t);case 24:case"end":return e.stop()}}),e,this)})))}},{key:"blockNumber",get:function(){var e=this;return this._getInternalBlockNumber(100+this.pollingInterval/2).then((function(t){e._setFastBlockNumber(t)}),(function(e){})),null!=this._fastBlockNumber?this._fastBlockNumber:-1}},{key:"polling",get:function(){return null!=this._poller},set:function(e){var t=this;e&&!this._poller?(this._poller=setInterval((function(){t.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((function(){t.poll(),t._bootstrapPoll=setTimeout((function(){t._poller||t.poll(),t._bootstrapPoll=null}),t.pollingInterval)}),0))):!e&&this._poller&&(clearInterval(this._poller),this._poller=null)}},{key:"pollingInterval",get:function(){return this._pollingInterval},set:function(e){var t=this;if("number"!==typeof e||e<=0||parseInt(String(e))!=e)throw new Error("invalid polling interval");this._pollingInterval=e,this._poller&&(clearInterval(this._poller),this._poller=setInterval((function(){t.poll()}),this._pollingInterval))}},{key:"_getFastBlockNumber",value:function(){var e=this,t=Jo();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((function(t){return(null==e._fastBlockNumber||t>e._fastBlockNumber)&&(e._fastBlockNumber=t),e._fastBlockNumber}))),this._fastBlockNumberPromise}},{key:"_setFastBlockNumber",value:function(e){null!=this._fastBlockNumber&&e<this._fastBlockNumber||(this._fastQueryDate=Jo(),(null==this._fastBlockNumber||e>this._fastBlockNumber)&&(this._fastBlockNumber=e,this._fastBlockNumberPromise=Promise.resolve(e)))}},{key:"waitForTransaction",value:function(e,t,n){return Go(this,void 0,void 0,b().mark((function r(){return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this._waitForTransaction(e,null==t?1:t,n||0,null));case 1:case"end":return r.stop()}}),r,this)})))}},{key:"_waitForTransaction",value:function(e,t,n,r){return Go(this,void 0,void 0,b().mark((function i(){var a,o=this;return b().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,this.getTransactionReceipt(e);case 2:if(!(((a=i.sent)?a.confirmations:0)>=t)){i.next=5;break}return i.abrupt("return",a);case 5:return i.abrupt("return",new Promise((function(i,a){var s=[],u=!1,l=function(){return!!u||(u=!0,s.forEach((function(e){e()})),!1)},c=function(e){e.confirmations<t||l()||i(e)};if(o.on(e,c),s.push((function(){o.removeListener(e,c)})),r){var f=r.startBlock,d=null,h=function n(i){return Go(o,void 0,void 0,b().mark((function o(){var s=this;return b().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!u){o.next=2;break}return o.abrupt("return");case 2:return o.next=4,Xo(1e3);case 4:this.getTransactionCount(r.from).then((function(o){return Go(s,void 0,void 0,b().mark((function s(){var c,h,p,v,m,g;return b().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(!u){s.next=2;break}return s.abrupt("return");case 2:if(!(o<=r.nonce)){s.next=6;break}f=i,s.next=41;break;case 6:return s.next=8,this.getTransaction(e);case 8:if(!(c=s.sent)||null==c.blockNumber){s.next=11;break}return s.abrupt("return");case 11:null==d&&(d=f-3)<r.startBlock&&(d=r.startBlock);case 12:if(!(d<=i)){s.next=41;break}if(!u){s.next=15;break}return s.abrupt("return");case 15:return s.next=17,this.getBlockWithTransactions(d);case 17:h=s.sent,p=0;case 19:if(!(p<h.transactions.length)){s.next=38;break}if((v=h.transactions[p]).hash!==e){s.next=23;break}return s.abrupt("return");case 23:if(v.from!==r.from||v.nonce!==r.nonce){s.next=35;break}if(!u){s.next=26;break}return s.abrupt("return");case 26:return s.next=28,this.waitForTransaction(v.hash,t);case 28:if(m=s.sent,!l()){s.next=31;break}return s.abrupt("return");case 31:return g="replaced",v.data===r.data&&v.to===r.to&&v.value.eq(r.value)?g="repriced":"0x"===v.data&&v.from===v.to&&v.value.isZero()&&(g="cancelled"),a(qo.makeError("transaction was replaced",N.errors.TRANSACTION_REPLACED,{cancelled:"replaced"===g||"cancelled"===g,reason:g,replacement:this._wrapTransaction(v),hash:e,receipt:m})),s.abrupt("return");case 35:p++,s.next=19;break;case 38:d++,s.next=12;break;case 41:if(!u){s.next=43;break}return s.abrupt("return");case 43:this.once("block",n);case 44:case"end":return s.stop()}}),s,this)})))}),(function(e){u||s.once("block",n)}));case 5:case"end":return o.stop()}}),o,this)})))};if(u)return;o.once("block",h),s.push((function(){o.removeListener("block",h)}))}if("number"===typeof n&&n>0){var p=setTimeout((function(){l()||a(qo.makeError("timeout exceeded",N.errors.TIMEOUT,{timeout:n}))}),n);p.unref&&p.unref(),s.push((function(){clearTimeout(p)}))}})));case 6:case"end":return i.stop()}}),i,this)})))}},{key:"getBlockNumber",value:function(){return Go(this,void 0,void 0,b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._getInternalBlockNumber(0));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"getGasPrice",value:function(){return Go(this,void 0,void 0,b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getNetwork();case 2:return e.next=4,this.perform("getGasPrice",{});case 4:return t=e.sent,e.prev=5,e.abrupt("return",we.from(t));case 9:return e.prev=9,e.t0=e.catch(5),e.abrupt("return",qo.throwError("bad result from backend",N.errors.SERVER_ERROR,{method:"getGasPrice",result:t,error:e.t0}));case 12:case"end":return e.stop()}}),e,this,[[5,9]])})))}},{key:"getBalance",value:function(e,t){return Go(this,void 0,void 0,b().mark((function n(){var r,i;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.getNetwork();case 2:return n.next=4,oe({address:this._getAddress(e),blockTag:this._getBlockTag(t)});case 4:return r=n.sent,n.next=7,this.perform("getBalance",r);case 7:return i=n.sent,n.prev=8,n.abrupt("return",we.from(i));case 12:return n.prev=12,n.t0=n.catch(8),n.abrupt("return",qo.throwError("bad result from backend",N.errors.SERVER_ERROR,{method:"getBalance",params:r,result:i,error:n.t0}));case 15:case"end":return n.stop()}}),n,this,[[8,12]])})))}},{key:"getTransactionCount",value:function(e,t){return Go(this,void 0,void 0,b().mark((function n(){var r,i;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.getNetwork();case 2:return n.next=4,oe({address:this._getAddress(e),blockTag:this._getBlockTag(t)});case 4:return r=n.sent,n.next=7,this.perform("getTransactionCount",r);case 7:return i=n.sent,n.prev=8,n.abrupt("return",we.from(i).toNumber());case 12:return n.prev=12,n.t0=n.catch(8),n.abrupt("return",qo.throwError("bad result from backend",N.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:i,error:n.t0}));case 15:case"end":return n.stop()}}),n,this,[[8,12]])})))}},{key:"getCode",value:function(e,t){return Go(this,void 0,void 0,b().mark((function n(){var r,i;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.getNetwork();case 2:return n.next=4,oe({address:this._getAddress(e),blockTag:this._getBlockTag(t)});case 4:return r=n.sent,n.next=7,this.perform("getCode",r);case 7:return i=n.sent,n.prev=8,n.abrupt("return",q(i));case 12:return n.prev=12,n.t0=n.catch(8),n.abrupt("return",qo.throwError("bad result from backend",N.errors.SERVER_ERROR,{method:"getCode",params:r,result:i,error:n.t0}));case 15:case"end":return n.stop()}}),n,this,[[8,12]])})))}},{key:"getStorageAt",value:function(e,t,n){return Go(this,void 0,void 0,b().mark((function r(){var i,a;return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.getNetwork();case 2:return r.next=4,oe({address:this._getAddress(e),blockTag:this._getBlockTag(n),position:Promise.resolve(t).then((function(e){return J(e)}))});case 4:return i=r.sent,r.next=7,this.perform("getStorageAt",i);case 7:return a=r.sent,r.prev=8,r.abrupt("return",q(a));case 12:return r.prev=12,r.t0=r.catch(8),r.abrupt("return",qo.throwError("bad result from backend",N.errors.SERVER_ERROR,{method:"getStorageAt",params:i,result:a,error:r.t0}));case 15:case"end":return r.stop()}}),r,this,[[8,12]])})))}},{key:"_wrapTransaction",value:function(e,t,n){var r=this;if(null!=t&&32!==K(t))throw new Error("invalid response - sendTransaction");var i=e;return null!=t&&e.hash!==t&&qo.throwError("Transaction hash mismatch from Provider.sendTransaction.",N.errors.UNKNOWN_ERROR,{expectedHash:e.hash,returnedHash:t}),i.wait=function(t,i){return Go(r,void 0,void 0,b().mark((function r(){var a,o;return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return null==t&&(t=1),null==i&&(i=0),a=void 0,0!==t&&null!=n&&(a={data:e.data,from:e.from,nonce:e.nonce,to:e.to,value:e.value,startBlock:n}),r.next=6,this._waitForTransaction(e.hash,t,i,a);case 6:if(null!=(o=r.sent)||0!==t){r.next=9;break}return r.abrupt("return",null);case 9:return this._emitted["t:"+e.hash]=o.blockNumber,0===o.status&&qo.throwError("transaction failed",N.errors.CALL_EXCEPTION,{transactionHash:e.hash,transaction:e,receipt:o}),r.abrupt("return",o);case 12:case"end":return r.stop()}}),r,this)})))},i}},{key:"sendTransaction",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r,i,a;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getNetwork();case 2:return t.next=4,Promise.resolve(e).then((function(e){return q(e)}));case 4:return n=t.sent,null==(r=this.formatter.transaction(e)).confirmations&&(r.confirmations=0),t.next=9,this._getInternalBlockNumber(100+2*this.pollingInterval);case 9:return i=t.sent,t.prev=10,t.next=13,this.perform("sendTransaction",{signedTransaction:n});case 13:return a=t.sent,t.abrupt("return",this._wrapTransaction(r,a,i));case 17:throw t.prev=17,t.t0=t.catch(10),t.t0.transaction=r,t.t0.transactionHash=r.hash,t.t0;case 22:case"end":return t.stop()}}),t,this,[[10,17]])})))}},{key:"_getTransactionRequest",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r,i=this;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:return n=t.sent,r={},["from","to"].forEach((function(e){null!=n[e]&&(r[e]=Promise.resolve(n[e]).then((function(e){return e?i._getAddress(e):null})))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((function(e){null!=n[e]&&(r[e]=Promise.resolve(n[e]).then((function(e){return e?we.from(e):null})))})),["type"].forEach((function(e){null!=n[e]&&(r[e]=Promise.resolve(n[e]).then((function(e){return null!=e?e:null})))})),n.accessList&&(r.accessList=this.formatter.accessList(n.accessList)),["data"].forEach((function(e){null!=n[e]&&(r[e]=Promise.resolve(n[e]).then((function(e){return e?q(e):null})))})),t.t0=this.formatter,t.next=12,oe(r);case 12:return t.t1=t.sent,t.abrupt("return",t.t0.transactionRequest.call(t.t0,t.t1));case 14:case"end":return t.stop()}}),t,this)})))}},{key:"_getFilter",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r=this;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:return e=t.sent,n={},null!=e.address&&(n.address=this._getAddress(e.address)),["blockHash","topics"].forEach((function(t){null!=e[t]&&(n[t]=e[t])})),["fromBlock","toBlock"].forEach((function(t){null!=e[t]&&(n[t]=r._getBlockTag(e[t]))})),t.t0=this.formatter,t.next=10,oe(n);case 10:return t.t1=t.sent,t.abrupt("return",t.t0.filter.call(t.t0,t.t1));case 12:case"end":return t.stop()}}),t,this)})))}},{key:"_call",value:function(e,t,n){return Go(this,void 0,void 0,b().mark((function r(){var i,a,o,s,u,l,c,f,d,h,p,v,m,g,y;return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n>=10&&qo.throwError("CCIP read exceeded maximum redirections",N.errors.SERVER_ERROR,{redirects:n,transaction:e}),i=e.to,r.next=4,this.perform("call",{transaction:e,blockTag:t});case 4:if(a=r.sent,!(n>=0&&"latest"===t&&null!=i&&"0x556f1830"===a.substring(0,10)&&K(a)%32===4)){r.next=31;break}for(r.prev=6,o=Q(a,4),s=Q(o,0,32),we.from(s).eq(i)||qo.throwError("CCIP Read sender did not match",N.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:a}),u=[],l=we.from(Q(o,32,64)).toNumber(),c=we.from(Q(o,l,l+32)).toNumber(),f=Q(o,l+32),d=0;d<c;d++)null==(h=os(f,32*d))&&qo.throwError("CCIP Read contained corrupt URL string",N.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:a}),u.push(h);return p=ss(o,64),we.from(Q(o,100,128)).isZero()||qo.throwError("CCIP Read callback selector included junk",N.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:a}),v=Q(o,96,100),m=ss(o,128),r.next=21,this.ccipReadFetch(e,p,u);case 21:return null==(g=r.sent)&&qo.throwError("CCIP Read disabled or provided no URLs",N.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:a}),y={to:i,data:Y([v,fs([g,m])])},r.abrupt("return",this._call(y,t,n+1));case 27:if(r.prev=27,r.t0=r.catch(6),r.t0.code!==N.errors.SERVER_ERROR){r.next=31;break}throw r.t0;case 31:return r.prev=31,r.abrupt("return",q(a));case 35:return r.prev=35,r.t1=r.catch(31),r.abrupt("return",qo.throwError("bad result from backend",N.errors.SERVER_ERROR,{method:"call",params:{transaction:e,blockTag:t},result:a,error:r.t1}));case 38:case"end":return r.stop()}}),r,this,[[6,27],[31,35]])})))}},{key:"call",value:function(e,t){return Go(this,void 0,void 0,b().mark((function n(){var r;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.getNetwork();case 2:return n.next=4,oe({transaction:this._getTransactionRequest(e),blockTag:this._getBlockTag(t),ccipReadEnabled:Promise.resolve(e.ccipReadEnabled)});case 4:return r=n.sent,n.abrupt("return",this._call(r.transaction,r.blockTag,r.ccipReadEnabled?0:-1));case 6:case"end":return n.stop()}}),n,this)})))}},{key:"estimateGas",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getNetwork();case 2:return t.next=4,oe({transaction:this._getTransactionRequest(e)});case 4:return n=t.sent,t.next=7,this.perform("estimateGas",n);case 7:return r=t.sent,t.prev=8,t.abrupt("return",we.from(r));case 12:return t.prev=12,t.t0=t.catch(8),t.abrupt("return",qo.throwError("bad result from backend",N.errors.SERVER_ERROR,{method:"estimateGas",params:n,result:r,error:t.t0}));case 15:case"end":return t.stop()}}),t,this,[[8,12]])})))}},{key:"_getAddress",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:return"string"!==typeof(e=t.sent)&&qo.throwArgumentError("invalid address or ENS name","name",e),t.next=6,this.resolveName(e);case 6:return null==(n=t.sent)&&qo.throwError("ENS name not configured",N.errors.UNSUPPORTED_OPERATION,{operation:"resolveName(".concat(JSON.stringify(e),")")}),t.abrupt("return",n);case 9:case"end":return t.stop()}}),t,this)})))}},{key:"_getBlock",value:function(e,t){return Go(this,void 0,void 0,b().mark((function n(){var r,i,a=this;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.getNetwork();case 2:return n.next=4,e;case 4:if(e=n.sent,r=-128,i={includeTransactions:!!t},!W(e,32)){n.next=11;break}i.blockHash=e,n.next=21;break;case 11:return n.prev=11,n.next=14,this._getBlockTag(e);case 14:i.blockTag=n.sent,W(i.blockTag)&&(r=parseInt(i.blockTag.substring(2),16)),n.next=21;break;case 18:n.prev=18,n.t0=n.catch(11),qo.throwArgumentError("invalid block hash or block tag","blockHashOrBlockTag",e);case 21:return n.abrupt("return",ao((function(){return Go(a,void 0,void 0,b().mark((function e(){var n,a,o,s,u,l,c=this;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.perform("getBlock",i);case 2:if(null!=(n=e.sent)){e.next=11;break}if(null==i.blockHash){e.next=7;break}if(null!=this._emitted["b:"+i.blockHash]){e.next=7;break}return e.abrupt("return",null);case 7:if(null==i.blockTag){e.next=10;break}if(!(r>this._emitted.block)){e.next=10;break}return e.abrupt("return",null);case 10:return e.abrupt("return",void 0);case 11:if(!t){e.next=34;break}a=null,o=0;case 14:if(!(o<n.transactions.length)){e.next=31;break}if(null!=(s=n.transactions[o]).blockNumber){e.next=20;break}s.confirmations=0,e.next=28;break;case 20:if(null!=s.confirmations){e.next=28;break}if(null!=a){e.next=25;break}return e.next=24,this._getInternalBlockNumber(100+2*this.pollingInterval);case 24:a=e.sent;case 25:(u=a-s.blockNumber+1)<=0&&(u=1),s.confirmations=u;case 28:o++,e.next=14;break;case 31:return(l=this.formatter.blockWithTransactions(n)).transactions=l.transactions.map((function(e){return c._wrapTransaction(e)})),e.abrupt("return",l);case 34:return e.abrupt("return",this.formatter.block(n));case 35:case"end":return e.stop()}}),e,this)})))}),{oncePoll:this}));case 22:case"end":return n.stop()}}),n,this,[[11,18]])})))}},{key:"getBlock",value:function(e){return this._getBlock(e,!1)}},{key:"getBlockWithTransactions",value:function(e){return this._getBlock(e,!0)}},{key:"getTransaction",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r=this;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getNetwork();case 2:return t.next=4,e;case 4:return e=t.sent,n={transactionHash:this.formatter.hash(e,!0)},t.abrupt("return",ao((function(){return Go(r,void 0,void 0,b().mark((function t(){var r,i,a,o;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.perform("getTransaction",n);case 2:if(null!=(r=t.sent)){t.next=7;break}if(null!=this._emitted["t:"+e]){t.next=6;break}return t.abrupt("return",null);case 6:return t.abrupt("return",void 0);case 7:if(null!=(i=this.formatter.transactionResponse(r)).blockNumber){t.next=12;break}i.confirmations=0,t.next=19;break;case 12:if(null!=i.confirmations){t.next=19;break}return t.next=15,this._getInternalBlockNumber(100+2*this.pollingInterval);case 15:a=t.sent,(o=a-i.blockNumber+1)<=0&&(o=1),i.confirmations=o;case 19:return t.abrupt("return",this._wrapTransaction(i));case 20:case"end":return t.stop()}}),t,this)})))}),{oncePoll:this}));case 7:case"end":return t.stop()}}),t,this)})))}},{key:"getTransactionReceipt",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r=this;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getNetwork();case 2:return t.next=4,e;case 4:return e=t.sent,n={transactionHash:this.formatter.hash(e,!0)},t.abrupt("return",ao((function(){return Go(r,void 0,void 0,b().mark((function t(){var r,i,a,o;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.perform("getTransactionReceipt",n);case 2:if(null!=(r=t.sent)){t.next=7;break}if(null!=this._emitted["t:"+e]){t.next=6;break}return t.abrupt("return",null);case 6:return t.abrupt("return",void 0);case 7:if(null!=r.blockHash){t.next=9;break}return t.abrupt("return",void 0);case 9:if(null!=(i=this.formatter.receipt(r)).blockNumber){t.next=14;break}i.confirmations=0,t.next=21;break;case 14:if(null!=i.confirmations){t.next=21;break}return t.next=17,this._getInternalBlockNumber(100+2*this.pollingInterval);case 17:a=t.sent,(o=a-i.blockNumber+1)<=0&&(o=1),i.confirmations=o;case 21:return t.abrupt("return",i);case 22:case"end":return t.stop()}}),t,this)})))}),{oncePoll:this}));case 7:case"end":return t.stop()}}),t,this)})))}},{key:"getLogs",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getNetwork();case 2:return t.next=4,oe({filter:this._getFilter(e)});case 4:return n=t.sent,t.next=7,this.perform("getLogs",n);case 7:return(r=t.sent).forEach((function(e){null==e.removed&&(e.removed=!1)})),t.abrupt("return",Wo.arrayOf(this.formatter.filterLog.bind(this.formatter))(r));case 10:case"end":return t.stop()}}),t,this)})))}},{key:"getEtherPrice",value:function(){return Go(this,void 0,void 0,b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getNetwork();case 2:return e.abrupt("return",this.perform("getEtherPrice",{}));case 3:case"end":return e.stop()}}),e,this)})))}},{key:"_getBlockTag",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:if(!("number"===typeof(e=t.sent)&&e<0)){t.next=11;break}return e%1&&qo.throwArgumentError("invalid BlockTag","blockTag",e),t.next=7,this._getInternalBlockNumber(100+2*this.pollingInterval);case 7:return n=t.sent,(n+=e)<0&&(n=0),t.abrupt("return",this.formatter.blockTag(n));case 11:return t.abrupt("return",this.formatter.blockTag(e));case 12:case"end":return t.stop()}}),t,this)})))}},{key:"getResolver",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r,i;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e;case 1:if(""!==n&&"."!==n){t.next=4;break}return t.abrupt("return",null);case 4:if("eth"===e||"eth"!==n){t.next=6;break}return t.abrupt("return",null);case 6:return t.next=8,this._getResolver(n,"getResolver");case 8:if(null==(r=t.sent)){t.next=19;break}if(i=new ds(this,r,e),t.t0=n!==e,!t.t0){t.next=16;break}return t.next=15,i.supportsWildcard();case 15:t.t0=!t.sent;case 16:if(!t.t0){t.next=18;break}return t.abrupt("return",null);case 18:return t.abrupt("return",i);case 19:n=n.split(".").slice(1).join("."),t.next=1;break;case 22:case"end":return t.stop()}}),t,this)})))}},{key:"_getResolver",value:function(e,t){return Go(this,void 0,void 0,b().mark((function n(){var r,i;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return null==t&&(t="ENS"),n.next=3,this.getNetwork();case 3:return(r=n.sent).ensAddress||qo.throwError("network does not support ENS",N.errors.UNSUPPORTED_OPERATION,{operation:t,network:r.name}),n.prev=5,n.next=8,this.call({to:r.ensAddress,data:"0x0178b8bf"+Jn(e).substring(2)});case 8:return i=n.sent,n.abrupt("return",this.formatter.callAddress(i));case 12:n.prev=12,n.t0=n.catch(5);case 14:return n.abrupt("return",null);case 15:case"end":return n.stop()}}),n,this,[[5,12]])})))}},{key:"resolveName",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:return e=t.sent,t.prev=3,t.abrupt("return",Promise.resolve(this.formatter.address(e)));case 7:if(t.prev=7,t.t0=t.catch(3),!W(e)){t.next=11;break}throw t.t0;case 11:return"string"!==typeof e&&qo.throwArgumentError("invalid ENS name","name",e),t.next=14,this.getResolver(e);case 14:if(n=t.sent){t.next=17;break}return t.abrupt("return",null);case 17:return t.next=19,n.getAddress();case 19:return t.abrupt("return",t.sent);case 20:case"end":return t.stop()}}),t,this,[[3,7]])})))}},{key:"lookupAddress",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r,i;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:return e=t.sent,e=this.formatter.address(e),n=e.substring(2).toLowerCase()+".addr.reverse",t.next=7,this._getResolver(n,"lookupAddress");case 7:if(null!=(r=t.sent)){t.next=10;break}return t.abrupt("return",null);case 10:return t.t0=os,t.next=13,this.call({to:r,data:"0x691f3431"+Jn(n).substring(2)});case 13:return t.t1=t.sent,i=(0,t.t0)(t.t1,0),t.next=17,this.resolveName(i);case 17:if(t.sent==e){t.next=20;break}return t.abrupt("return",null);case 20:return t.abrupt("return",i);case 21:case"end":return t.stop()}}),t,this)})))}},{key:"getAvatar",value:function(e){return Go(this,void 0,void 0,b().mark((function t(){var n,r,i,a,o,s,u;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=null,!W(e)){t.next=40;break}return r=this.formatter.address(e),i=r.substring(2).toLowerCase()+".addr.reverse",t.next=6,this._getResolver(i,"getAvatar");case 6:if(a=t.sent){t.next=9;break}return t.abrupt("return",null);case 9:return n=new ds(this,a,i),t.prev=10,t.next=13,n.getAvatar();case 13:if(!(o=t.sent)){t.next=16;break}return t.abrupt("return",o.url);case 16:t.next=22;break;case 18:if(t.prev=18,t.t0=t.catch(10),t.t0.code===N.errors.CALL_EXCEPTION){t.next=22;break}throw t.t0;case 22:return t.prev=22,t.t1=os,t.next=26,this.call({to:a,data:"0x691f3431"+Jn(i).substring(2)});case 26:return t.t2=t.sent,s=(0,t.t1)(t.t2,0),t.next=30,this.getResolver(s);case 30:n=t.sent,t.next=38;break;case 33:if(t.prev=33,t.t3=t.catch(22),t.t3.code===N.errors.CALL_EXCEPTION){t.next=37;break}throw t.t3;case 37:return t.abrupt("return",null);case 38:t.next=45;break;case 40:return t.next=42,this.getResolver(e);case 42:if(n=t.sent){t.next=45;break}return t.abrupt("return",null);case 45:return t.next=47,n.getAvatar();case 47:if(null!=(u=t.sent)){t.next=50;break}return t.abrupt("return",null);case 50:return t.abrupt("return",u.url);case 51:case"end":return t.stop()}}),t,this,[[10,18],[22,33]])})))}},{key:"perform",value:function(e,t){return qo.throwError(e+" not implemented",N.errors.NOT_IMPLEMENTED,{operation:e})}},{key:"_startEvent",value:function(e){this.polling=this._events.filter((function(e){return e.pollable()})).length>0}},{key:"_stopEvent",value:function(e){this.polling=this._events.filter((function(e){return e.pollable()})).length>0}},{key:"_addEventListener",value:function(e,t,n){var r=new es(Yo(e),t,n);return this._events.push(r),this._startEvent(r),this}},{key:"on",value:function(e,t){return this._addEventListener(e,t,!1)}},{key:"once",value:function(e,t){return this._addEventListener(e,t,!0)}},{key:"emit",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=!1,o=[],s=Yo(e);return this._events=this._events.filter((function(e){return e.tag!==s||(setTimeout((function(){e.listener.apply(t,r)}),0),a=!0,!e.once||(o.push(e),!1))})),o.forEach((function(e){t._stopEvent(e)})),a}},{key:"listenerCount",value:function(e){if(!e)return this._events.length;var t=Yo(e);return this._events.filter((function(e){return e.tag===t})).length}},{key:"listeners",value:function(e){if(null==e)return this._events.map((function(e){return e.listener}));var t=Yo(e);return this._events.filter((function(e){return e.tag===t})).map((function(e){return e.listener}))}},{key:"off",value:function(e,t){var n=this;if(null==t)return this.removeAllListeners(e);var r=[],i=!1,a=Yo(e);return this._events=this._events.filter((function(e){return e.tag!==a||e.listener!=t||(!!i||(i=!0,r.push(e),!1))})),r.forEach((function(e){n._stopEvent(e)})),this}},{key:"removeAllListeners",value:function(e){var t=this,n=[];if(null==e)n=this._events,this._events=[];else{var r=Yo(e);this._events=this._events.filter((function(e){return e.tag!==r||(n.push(e),!1)}))}return n.forEach((function(e){t._stopEvent(e)})),this}}],[{key:"getFormatter",value:function(){return null==hs&&(hs=new Wo),hs}},{key:"getNetwork",value:function(e){return function(e){if(null==e)return null;if("number"===typeof e){for(var t in Do){var n=Do[t];if(n.chainId===e)return{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress||null,_defaultProvider:n._defaultProvider||null}}return{chainId:e,name:"unknown"}}if("string"===typeof e){var r=Do[e];return null==r?null:{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress,_defaultProvider:r._defaultProvider||null}}var i=Do[e.name];if(!i)return"number"!==typeof e.chainId&&Oo.throwArgumentError("invalid network chainId","network",e),e;0!==e.chainId&&e.chainId!==i.chainId&&Oo.throwArgumentError("network chainId mismatch","network",e);var a,o=e._defaultProvider||null;return null==o&&i._defaultProvider&&(o=(a=i._defaultProvider)&&"function"===typeof a.renetwork?i._defaultProvider.renetwork(e):i._defaultProvider),{name:e.name,chainId:i.chainId,ensAddress:e.ensAddress||i.ensAddress||null,_defaultProvider:o}}(null==e?"homestead":e)}}]),n}(lo),ms=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},gs=new N(No),ys=["call","estimateGas"];function bs(e,t){if(null==e)return null;if("string"===typeof e.message&&e.message.match("reverted")){var n=W(e.data)?e.data:null;if(!t||n)return{message:e.message,data:n}}if("object"===typeof e){for(var r in e){var i=bs(e[r],t);if(i)return i}return null}if("string"===typeof e)try{return bs(JSON.parse(e),t)}catch(a){}return null}function Cs(e,t,n){var r=n.transaction||n.signedTransaction;if("call"===e){var i=bs(t,!0);if(i)return i.data;gs.throwError("missing revert data in call exception; Transaction reverted without a reason string",N.errors.CALL_EXCEPTION,{data:"0x",transaction:r,error:t})}if("estimateGas"===e){var a=bs(t.body,!1);null==a&&(a=bs(t,!1)),a&&gs.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",N.errors.UNPREDICTABLE_GAS_LIMIT,{reason:a.message,method:e,transaction:r,error:t})}var o=t.message;throw t.code===N.errors.SERVER_ERROR&&t.error&&"string"===typeof t.error.message?o=t.error.message:"string"===typeof t.body?o=t.body:"string"===typeof t.responseText&&(o=t.responseText),(o=(o||"").toLowerCase()).match(/insufficient funds|base fee exceeds gas limit|InsufficientFunds/i)&&gs.throwError("insufficient funds for intrinsic transaction cost",N.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:r}),o.match(/nonce (is )?too low/i)&&gs.throwError("nonce has already been used",N.errors.NONCE_EXPIRED,{error:t,method:e,transaction:r}),o.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&gs.throwError("replacement fee too low",N.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:r}),o.match(/only replay-protected/i)&&gs.throwError("legacy pre-eip-155 transactions not supported",N.errors.UNSUPPORTED_OPERATION,{error:t,method:e,transaction:r}),ys.indexOf(e)>=0&&o.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&gs.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",N.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:r}),t}function xs(e){return new Promise((function(t){setTimeout(t,e)}))}function ws(e){if(e.error){var t=new Error(e.error.message);throw t.code=e.error.code,t.data=e.error.data,t}return e.result}function ks(e){return e?e.toLowerCase():e}var Es={},Ss=function(e){c(n,e);var t=p(n);function n(e,r,a){var o;if(i(this,n),o=t.call(this),e!==Es)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return ie(h(o),"provider",r),null==a&&(a=0),"string"===typeof a?(ie(h(o),"_address",o.provider.formatter.address(a)),ie(h(o),"_index",null)):"number"===typeof a?(ie(h(o),"_index",a),ie(h(o),"_address",null)):gs.throwArgumentError("invalid address or index","addressOrIndex",a),o}return u(n,[{key:"connect",value:function(e){return gs.throwError("cannot alter JSON-RPC Signer connection",N.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}},{key:"connectUnchecked",value:function(){return new Ls(Es,this.provider,this._address||this._index)}},{key:"getAddress",value:function(){var e=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((function(t){return t.length<=e._index&&gs.throwError("unknown account #"+e._index,N.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),e.provider.formatter.address(t[e._index])}))}},{key:"sendUncheckedTransaction",value:function(e){var t=this;e=ue(e);var n=this.getAddress().then((function(e){return e&&(e=e.toLowerCase()),e}));if(null==e.gasLimit){var r=ue(e);r.from=n,e.gasLimit=this.provider.estimateGas(r)}return null!=e.to&&(e.to=Promise.resolve(e.to).then((function(e){return ms(t,void 0,void 0,b().mark((function t(){var n;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=e){t.next=2;break}return t.abrupt("return",null);case 2:return t.next=4,this.provider.resolveName(e);case 4:return null==(n=t.sent)&&gs.throwArgumentError("provided ENS name resolves to null","tx.to",e),t.abrupt("return",n);case 7:case"end":return t.stop()}}),t,this)})))}))),oe({tx:oe(e),sender:n}).then((function(n){var r=n.tx,i=n.sender;null!=r.from?r.from.toLowerCase()!==i&&gs.throwArgumentError("from address mismatch","transaction",e):r.from=i;var a=t.provider.constructor.hexlifyTransaction(r,{from:!0});return t.provider.send("eth_sendTransaction",[a]).then((function(e){return e}),(function(e){return"string"===typeof e.message&&e.message.match(/user denied/i)&&gs.throwError("user rejected transaction",N.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:r}),Cs("sendTransaction",e,a)}))}))}},{key:"signTransaction",value:function(e){return gs.throwError("signing transactions is unsupported",N.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}},{key:"sendTransaction",value:function(e){return ms(this,void 0,void 0,b().mark((function t(){var n,r,i=this;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval);case 2:return n=t.sent,t.next=5,this.sendUncheckedTransaction(e);case 5:return r=t.sent,t.prev=6,t.next=9,ao((function(){return ms(i,void 0,void 0,b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.provider.getTransaction(r);case 2:if(null!==(t=e.sent)){e.next=5;break}return e.abrupt("return",void 0);case 5:return e.abrupt("return",this.provider._wrapTransaction(t,r,n));case 6:case"end":return e.stop()}}),e,this)})))}),{oncePoll:this.provider});case 9:return t.abrupt("return",t.sent);case 12:throw t.prev=12,t.t0=t.catch(6),t.t0.transactionHash=r,t.t0;case 16:case"end":return t.stop()}}),t,this,[[6,12]])})))}},{key:"signMessage",value:function(e){return ms(this,void 0,void 0,b().mark((function t(){var n,r;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="string"===typeof e?St(e):e,t.next=3,this.getAddress();case 3:return r=t.sent,t.prev=4,t.next=7,this.provider.send("personal_sign",[q(n),r.toLowerCase()]);case 7:return t.abrupt("return",t.sent);case 10:throw t.prev=10,t.t0=t.catch(4),"string"===typeof t.t0.message&&t.t0.message.match(/user denied/i)&&gs.throwError("user rejected signing",N.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:e}),t.t0;case 14:case"end":return t.stop()}}),t,this,[[4,10]])})))}},{key:"_legacySignMessage",value:function(e){return ms(this,void 0,void 0,b().mark((function t(){var n,r;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="string"===typeof e?St(e):e,t.next=3,this.getAddress();case 3:return r=t.sent,t.prev=4,t.next=7,this.provider.send("eth_sign",[r.toLowerCase(),q(n)]);case 7:return t.abrupt("return",t.sent);case 10:throw t.prev=10,t.t0=t.catch(4),"string"===typeof t.t0.message&&t.t0.message.match(/user denied/i)&&gs.throwError("user rejected signing",N.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:e}),t.t0;case 14:case"end":return t.stop()}}),t,this,[[4,10]])})))}},{key:"_signTypedData",value:function(e,t,n){return ms(this,void 0,void 0,b().mark((function r(){var i,a,o=this;return b().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,gr.resolveNames(e,t,n,(function(e){return o.provider.resolveName(e)}));case 2:return i=r.sent,r.next=5,this.getAddress();case 5:return a=r.sent,r.prev=6,r.next=9,this.provider.send("eth_signTypedData_v4",[a.toLowerCase(),JSON.stringify(gr.getPayload(i.domain,t,i.value))]);case 9:return r.abrupt("return",r.sent);case 12:throw r.prev=12,r.t0=r.catch(6),"string"===typeof r.t0.message&&r.t0.message.match(/user denied/i)&&gs.throwError("user rejected signing",N.errors.ACTION_REJECTED,{action:"_signTypedData",from:a,messageData:{domain:i.domain,types:t,value:i.value}}),r.t0;case 16:case"end":return r.stop()}}),r,this,[[6,12]])})))}},{key:"unlock",value:function(e){return ms(this,void 0,void 0,b().mark((function t(){var n,r;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.provider,t.next=3,this.getAddress();case 3:return r=t.sent,t.abrupt("return",n.send("personal_unlockAccount",[r.toLowerCase(),e,null]));case 5:case"end":return t.stop()}}),t,this)})))}}]),n}(vo),Ls=function(e){c(n,e);var t=p(n);function n(){return i(this,n),t.apply(this,arguments)}return u(n,[{key:"sendTransaction",value:function(e){var t=this;return this.sendUncheckedTransaction(e).then((function(e){return{hash:e,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:function(n){return t.provider.waitForTransaction(e,n)}}}))}}]),n}(Ss),Ms={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},As=function(e){c(n,e);var t=p(n);function n(e,r){var a;i(this,n);var o=r;return null==o&&(o=new Promise((function(e,t){setTimeout((function(){a.detectNetwork().then((function(t){e(t)}),(function(e){t(e)}))}),0)}))),a=t.call(this,o),e||(e=ae(a.constructor,"defaultUrl")()),ie(h(a),"connection","string"===typeof e?Object.freeze({url:e}):Object.freeze(ue(e))),a._nextId=42,a}return u(n,[{key:"_cache",get:function(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}},{key:"detectNetwork",value:function(){var e=this;return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((function(){e._cache.detectNetwork=null}),0)),this._cache.detectNetwork}},{key:"_uncachedDetectNetwork",value:function(){return ms(this,void 0,void 0,b().mark((function e(){var t,n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs(0);case 2:return t=null,e.prev=3,e.next=6,this.send("eth_chainId",[]);case 6:t=e.sent,e.next=19;break;case 9:return e.prev=9,e.t0=e.catch(3),e.prev=11,e.next=14,this.send("net_version",[]);case 14:t=e.sent,e.next=19;break;case 17:e.prev=17,e.t1=e.catch(11);case 19:if(null==t){e.next=28;break}return n=ae(this.constructor,"getNetwork"),e.prev=21,e.abrupt("return",n(we.from(t).toNumber()));case 25:return e.prev=25,e.t2=e.catch(21),e.abrupt("return",gs.throwError("could not detect network",N.errors.NETWORK_ERROR,{chainId:t,event:"invalidNetwork",serverError:e.t2}));case 28:return e.abrupt("return",gs.throwError("could not detect network",N.errors.NETWORK_ERROR,{event:"noNetwork"}));case 29:case"end":return e.stop()}}),e,this,[[3,9],[11,17],[21,25]])})))}},{key:"getSigner",value:function(e){return new Ss(Es,this,e)}},{key:"getUncheckedSigner",value:function(e){return this.getSigner(e).connectUnchecked()}},{key:"listAccounts",value:function(){var e=this;return this.send("eth_accounts",[]).then((function(t){return t.map((function(t){return e.formatter.address(t)}))}))}},{key:"send",value:function(e,t){var n=this,r={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:de(r),provider:this});var i=["eth_chainId","eth_blockNumber"].indexOf(e)>=0;if(i&&this._cache[e])return this._cache[e];var a=io(this.connection,JSON.stringify(r),ws).then((function(e){return n.emit("debug",{action:"response",request:r,response:e,provider:n}),e}),(function(e){throw n.emit("debug",{action:"response",error:e,request:r,provider:n}),e}));return i&&(this._cache[e]=a,setTimeout((function(){n._cache[e]=null}),0)),a}},{key:"prepareRequest",value:function(e,t){switch(e){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[ks(t.address),t.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[ks(t.address),t.blockTag]];case"getCode":return["eth_getCode",[ks(t.address),t.blockTag]];case"getStorageAt":return["eth_getStorageAt",[ks(t.address),$(t.position,32),t.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[t.signedTransaction]];case"getBlock":return t.blockTag?["eth_getBlockByNumber",[t.blockTag,!!t.includeTransactions]]:t.blockHash?["eth_getBlockByHash",[t.blockHash,!!t.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[t.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[t.transactionHash]];case"call":return["eth_call",[ae(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0}),t.blockTag]];case"estimateGas":return["eth_estimateGas",[ae(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0})]];case"getLogs":return t.filter&&null!=t.filter.address&&(t.filter.address=ks(t.filter.address)),["eth_getLogs",[t.filter]]}return null}},{key:"perform",value:function(e,t){return ms(this,void 0,void 0,b().mark((function n(){var r,i,a;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("call"!==e&&"estimateGas"!==e){n.next=8;break}if(!(r=t.transaction)||null==r.type||!we.from(r.type).isZero()){n.next=8;break}if(null!=r.maxFeePerGas||null!=r.maxPriorityFeePerGas){n.next=8;break}return n.next=6,this.getFeeData();case 6:null==(i=n.sent).maxFeePerGas&&null==i.maxPriorityFeePerGas&&((t=ue(t)).transaction=ue(r),delete t.transaction.type);case 8:return null==(a=this.prepareRequest(e,t))&&gs.throwError(e+" not implemented",N.errors.NOT_IMPLEMENTED,{operation:e}),n.prev=10,n.next=13,this.send(a[0],a[1]);case 13:return n.abrupt("return",n.sent);case 16:return n.prev=16,n.t0=n.catch(10),n.abrupt("return",Cs(e,n.t0,t));case 19:case"end":return n.stop()}}),n,this,[[10,16]])})))}},{key:"_startEvent",value:function(e){"pending"===e.tag&&this._startPending(),lt(f(n.prototype),"_startEvent",this).call(this,e)}},{key:"_startPending",value:function(){if(null==this._pendingFilter){var e=this,t=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=t,t.then((function(n){return function r(){e.send("eth_getFilterChanges",[n]).then((function(n){if(e._pendingFilter!=t)return null;var r=Promise.resolve();return n.forEach((function(t){e._emitted["t:"+t.toLowerCase()]="pending",r=r.then((function(){return e.getTransaction(t).then((function(t){return e.emit("pending",t),null}))}))})),r.then((function(){return xs(1e3)}))})).then((function(){if(e._pendingFilter==t)return setTimeout((function(){r()}),0),null;e.send("eth_uninstallFilter",[n])})).catch((function(e){}))}(),n})).catch((function(e){}))}}},{key:"_stopEvent",value:function(e){"pending"===e.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),lt(f(n.prototype),"_stopEvent",this).call(this,e)}}],[{key:"defaultUrl",value:function(){return"http://localhost:8545"}},{key:"hexlifyTransaction",value:function(e,t){var n=ue(Ms);if(t)for(var r in t)t[r]&&(n[r]=!0);se(e,n);var i={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(t){if(null!=e[t]){var n=J(we.from(e[t]));"gasLimit"===t&&(t="gas"),i[t]=n}})),["from","to","data"].forEach((function(t){null!=e[t]&&(i[t]=q(e[t]))})),e.accessList&&(i.accessList=Si(e.accessList)),i}}]),n}(vs),_s=new N(No),Ps=1;function Ts(e,t){var n="Web3LegacyFetcher";return function(e,r){var i=this,a={method:e,params:r,id:Ps++,jsonrpc:"2.0"};return new Promise((function(e,r){i.emit("debug",{action:"request",fetcher:n,request:de(a),provider:i}),t(a,(function(t,o){if(t)return i.emit("debug",{action:"response",fetcher:n,error:t,request:a,provider:i}),r(t);if(i.emit("debug",{action:"response",fetcher:n,request:a,response:o,provider:i}),o.error){var s=new Error(o.error.message);return s.code=o.error.code,s.data=o.error.data,r(s)}e(o.result)}))}))}}var Rs,Is=function(e){c(n,e);var t=p(n);function n(e,r){var a;i(this,n),null==e&&_s.throwArgumentError("missing provider","provider",e);var o=null,s=null,u=null;return"function"===typeof e?(o="unknown:",s=e):(!(o=e.host||e.path||"")&&e.isMetaMask&&(o="metamask"),u=e,e.request?(""===o&&(o="eip-1193:"),s=function(e){return function(t,n){var r=this;null==n&&(n=[]);var i={method:t,params:n};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:de(i),provider:this}),e.request(i).then((function(e){return r.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:i,response:e,provider:r}),e}),(function(e){throw r.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:i,error:e,provider:r}),e}))}}(e)):e.sendAsync?s=Ts(0,e.sendAsync.bind(e)):e.send?s=Ts(0,e.send.bind(e)):_s.throwArgumentError("unsupported provider","provider",e),o||(o="unknown:")),ie(h(a=t.call(this,o,r)),"jsonRpcFetchFunc",s),ie(h(a),"provider",u),a}return u(n,[{key:"send",value:function(e,t){return this.jsonRpcFetchFunc(e,t)}}]),n}(As),Ns=["chainId","tokenFeatures"],Os=["platform"];function js(e){return e&&e.__esModule?e.default:e}var Fs,Vs,Bs,Hs=[{constant:!0,inputs:[],name:"name",outputs:[{name:"",type:"string"}],payable:!1,type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{name:"",type:"uint8"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"balance",type:"uint256"}],payable:!1,type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,type:"function"}];(Fs||(Fs={})).METAMASK="metamask",(Bs=Vs||(Vs={}))[Bs.ETHEREUM=1]="ETHEREUM",Bs[Bs.GOERLI=5]="GOERLI",Bs[Bs.POLYGON=137]="POLYGON";var Ds,zs,Us,Zs=(C(Rs={},Vs.ETHEREUM,{chainIdHex:"0x1",chainName:"Ethereum",rpcUrls:["https://mainnet.infura.io/v3/"],nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},blockExplorerUrls:["https://etherscan.io/"]}),C(Rs,Vs.GOERLI,{chainIdHex:"0x5",chainName:"Goerli",rpcUrls:["https://goerli.infura.io/v3/"],nativeCurrency:{name:"Goerli Eth",symbol:"ETH",decimals:18},blockExplorerUrls:["https://goerli.etherscan.io/"]}),C(Rs,Vs.POLYGON,{chainIdHex:"0x89",chainName:"Polygon",rpcUrls:["https://polygon-rpc.com"],nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},blockExplorerUrls:["https://polygonscan.com/"]}),Rs);(Ds||(Ds={})).ALL="all",(Us=zs||(zs={})).SWAP="swap",Us.BRIDGE="bridge",Us.ALL="all";var Ws,Gs,qs,Ks,Qs={CHECK_CONNECTION:"eth_accounts",CONNECT:"eth_requestAccounts",ADD_NETWORK:"wallet_addEthereumChain",SWITCH_NETWORK:"wallet_switchEthereumChain"};(Gs=Ws||(Ws={})).ALL="all",Gs.DESKTOP="desktop",Gs.MOBILE="mobile",(Ks=qs||(qs={})).PROVIDER_PREFERENCE_ERROR="PROVIDER_PREFERENCE_ERROR",Ks.CONNECT_PROVIDER_ERROR="CONNECT_PROVIDER_ERROR",Ks.GET_BALANCE_ERROR="GET_BALANCE_ERROR",Ks.GET_ERC20_BALANCE_ERROR="GET_ERC20_BALANCE_ERROR",Ks.GET_NETWORK_INFO_ERROR="GET_NETWORK_INFO_ERROR",Ks.METAMASK_PROVIDER_ERROR="METAMASK_PROVIDER_ERROR",Ks.CHAIN_NOT_SUPPORTED_ERROR="CHAIN_NOT_SUPPORTED_ERROR",Ks.PROVIDER_REQUEST_MISSING_ERROR="PROVIDER_REQUEST_MISSING_ERROR",Ks.PROVIDER_REQUEST_FAILED_ERROR="PROVIDER_REQUEST_FAILED_ERROR",Ks.USER_REJECTED_REQUEST_ERROR="USER_REJECTED_REQUEST_ERROR",Ks.TRANSACTION_ERROR="TRANSACTION_ERROR";var Ys,Js=function(e){c(n,e);var t=p(n);function n(e,r,a){var o;return i(this,n),(o=t.call(this,e)).message=e,o.type=r,o.data=a,o}return u(n)}(m(Error));(Ys||(Ys={})).REJECTED_SWITCH_AFTER_ADDING_NETWORK="REJECTED_SWITCH_AFTER_ADDING_NETWORK";var Xs=function(e){c(n,e);var t=p(n);function n(e){var r;return i(this,n),(r=t.call(this,"Checkout internal error")).type=e,r}return u(n)}(m(Error)),$s=function(){var e=E(b().mark((function e(t,n){var r,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t();case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),r="".concat(e.t0.message)||"UnknownError",i=n.message?"[".concat(n.type,"]:").concat(n.message,". Cause:").concat(r):"[".concat(n.type,"] Cause:").concat(r),!(e.t0 instanceof Js)){e.next=12;break}throw new Js(i,n.type,w(w({},n.data),{},{innerErrorType:e.t0.type},e.t0.data));case 12:throw new Js(i,n.type,w({},n.data));case 13:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,n){return e.apply(this,arguments)}}(),eu={};eu=JSON.parse('[{"chainId":1},{"chainId":5},{"chainId":137}]');var tu=4902;function nu(e){return ru.apply(this,arguments)}function ru(){return(ru=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",$s(E(b().mark((function e(){var n,r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getNetwork();case 2:if(n=e.sent,Object.values(Vs).includes(n.chainId)){e.next=5;break}return e.abrupt("return",{chainId:n.chainId,name:n.name,isSupported:!1});case 5:return r=Zs[n.chainId],e.abrupt("return",{name:r.chainName,chainId:parseInt(r.chainIdHex,16),nativeCurrency:r.nativeCurrency,isSupported:!0});case 7:case"end":return e.stop()}}),e)}))),{type:qs.GET_NETWORK_INFO_ERROR}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function iu(e,t){return au.apply(this,arguments)}function au(){return(au=E(b().mark((function e(t,n){var r,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object.values(Vs).includes(n)){e.next=2;break}throw new Js("Chain:".concat(n," is not a supported chain"),qs.CHAIN_NOT_SUPPORTED_ERROR);case 2:if(t&&null!==(r=t.provider)&&void 0!==r&&r.request){e.next=4;break}throw new Js("Incompatible provider",qs.PROVIDER_REQUEST_MISSING_ERROR,{details:"Unsupported provider"});case 4:return e.prev=4,e.next=7,uu(t,n);case 7:case 28:e.next=31;break;case 9:if(e.prev=9,e.t0=e.catch(4),e.t0.code!==tu){e.next=30;break}return e.prev=12,e.next=15,cu(t,n);case 15:return e.next=17,t.getNetwork();case 17:if(e.t1=e.sent.chainId,e.t2=n,e.t1===e.t2){e.next=21;break}throw new Xs(Ys.REJECTED_SWITCH_AFTER_ADDING_NETWORK);case 21:e.next=28;break;case 23:if(e.prev=23,e.t3=e.catch(12),(null===e.t3||void 0===e.t3?void 0:e.t3.type)!==Ys.REJECTED_SWITCH_AFTER_ADDING_NETWORK){e.next=27;break}throw new Js("User cancelled switch network request",qs.USER_REJECTED_REQUEST_ERROR);case 27:throw new Js("User cancelled add network request",qs.USER_REJECTED_REQUEST_ERROR);case 30:throw new Js("User cancelled switch network request",qs.USER_REJECTED_REQUEST_ERROR);case 31:return i=Zs[n],e.abrupt("return",{network:{name:i.chainName,chainId:parseInt(i.chainIdHex,16),nativeCurrency:i.nativeCurrency}});case 33:case"end":return e.stop()}}),e,null,[[4,9],[12,23]])})))).apply(this,arguments)}function ou(e){return su.apply(this,arguments)}function su(){return(su=E(b().mark((function e(t){var n,r,i,a,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,r=void 0===n?Ds.ALL:n,i=t.exclude,a=js(eu).filter((function(e){var t=r===Ds.ALL,n=!(i||[]).map((function(e){return e.chainId})).includes(e.chainId);return t&&n})),o=[],a.forEach((function(e){var t=Zs[e.chainId];o.push({name:t.chainName,chainId:parseInt(t.chainIdHex,16),nativeCurrency:t.nativeCurrency,isSupported:!0})})),e.abrupt("return",{networks:o});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function uu(e,t){return lu.apply(this,arguments)}function lu(){return(lu=E(b().mark((function e(t,n){var r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(r=t.provider)||void 0===r||!r.request){e.next=4;break}return e.next=3,t.provider.request({method:Qs.SWITCH_NETWORK,params:[{chainId:Zs[n].chainIdHex}]});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function cu(e,t){return fu.apply(this,arguments)}function fu(){return(fu=E(b().mark((function e(t,n){var r,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(r=t.provider)||void 0===r||!r.request){e.next=5;break}return i={chainId:Zs[n].chainIdHex,chainName:Zs[n].chainName,rpcUrls:Zs[n].rpcUrls,nativeCurrency:Zs[n].nativeCurrency,blockExplorerUrls:Zs[n].blockExplorerUrls},e.next=4,t.provider.request({method:Qs.ADD_NETWORK,params:[i]});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var du;du=JSON.parse("[{\"address\":\"0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0\",\"chainId\":137,\"name\":\"Matic\",\"symbol\":\"MATIC\",\"decimals\":18,\"icon\":\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 38.4 33.5' style='enable-background:new 0 0 38.4 33.5;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%238247E5;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M29,10.2c-0.7-0.4-1.6-0.4-2.4,0L21,13.5l-3.8,2.1l-5.5,3.3c-0.7,0.4-1.6,0.4-2.4,0L5,16.3 c-0.7-0.4-1.2-1.2-1.2-2.1v-5c0-0.8,0.4-1.6,1.2-2.1l4.3-2.5c0.7-0.4,1.6-0.4,2.4,0L16,7.2c0.7,0.4,1.2,1.2,1.2,2.1v3.3l3.8-2.2V7 c0-0.8-0.4-1.6-1.2-2.1l-8-4.7c-0.7-0.4-1.6-0.4-2.4,0L1.2,5C0.4,5.4,0,6.2,0,7v9.4c0,0.8,0.4,1.6,1.2,2.1l8.1,4.7 c0.7,0.4,1.6,0.4,2.4,0l5.5-3.2l3.8-2.2l5.5-3.2c0.7-0.4,1.6-0.4,2.4,0l4.3,2.5c0.7,0.4,1.2,1.2,1.2,2.1v5c0,0.8-0.4,1.6-1.2,2.1 L29,28.8c-0.7,0.4-1.6,0.4-2.4,0l-4.3-2.5c-0.7-0.4-1.2-1.2-1.2-2.1V21l-3.8,2.2v3.3c0,0.8,0.4,1.6,1.2,2.1l8.1,4.7 c0.7,0.4,1.6,0.4,2.4,0l8.1-4.7c0.7-0.4,1.2-1.2,1.2-2.1V17c0-0.8-0.4-1.6-1.2-2.1L29,10.2z'/%3E%3C/g%3E%3C/svg%3E%0A\",\"tokenFeatures\":[\"swap\",\"bridge\"]},{\"name\":\"Ethereum\",\"symbol\":\"ETH\",\"decimals\":18,\"icon\":\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='100%25' height='100%25' version='1.1' shape-rendering='geometricPrecision' text-rendering='geometricPrecision' image-rendering='optimizeQuality' fill-rule='evenodd' clip-rule='evenodd'%0AviewBox='0 0 784.37 1277.39' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:xodm='http://www.corel.com/coreldraw/odm/2003'%3E%3Cg id='Layer_x0020_1'%3E%3Cmetadata id='CorelCorpID_0Corel-Layer'/%3E%3Cg id='_1421394342400'%3E%3Cg%3E%3Cpolygon fill='%23343434' fill-rule='nonzero' points='392.07,0 383.5,29.11 383.5,873.74 392.07,882.29 784.13,650.54 '/%3E%3Cpolygon fill='%238C8C8C' fill-rule='nonzero' points='392.07,0 -0,650.54 392.07,882.29 392.07,472.33 '/%3E%3Cpolygon fill='%233C3C3B' fill-rule='nonzero' points='392.07,956.52 387.24,962.41 387.24,1263.28 392.07,1277.38 784.37,724.89 '/%3E%3Cpolygon fill='%238C8C8C' fill-rule='nonzero' points='392.07,1277.38 392.07,956.52 -0,724.89 '/%3E%3Cpolygon fill='%23141414' fill-rule='nonzero' points='392.07,882.29 784.13,650.54 392.07,472.33 '/%3E%3Cpolygon fill='%23393939' fill-rule='nonzero' points='0,650.54 392.07,882.29 392.07,472.33 '/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A\",\"chainId\":1,\"tokenFeatures\":[\"swap\",\"bridge\"]},{\"address\":\"0xF57e7e7C23978C3cAEC3C3548E3D615c346e79fF\",\"chainId\":1,\"name\":\"Immutable X\",\"symbol\":\"IMX\",\"decimals\":18,\"icon\":\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 139 113' style='enable-background:new 0 0 139 113;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bclip-path:url(%23SVGID_00000053504646934646330740000009134454895836103350_);%7D .st1%7Bfill:%2317B5CB;%7D%0A%3C/style%3E%3Cg%3E%3Cdefs%3E%3Crect id='SVGID_1_' width='139' height='113'/%3E%3C/defs%3E%3CclipPath id='SVGID_00000035518931339590433170000002358037249938198420_'%3E%3Cuse xlink:href='%23SVGID_1_' style='overflow:visible;'/%3E%3C/clipPath%3E%3Cg style='clip-path:url(%23SVGID_00000035518931339590433170000002358037249938198420_);'%3E%3Cpath class='st1' d='M124.1,0h14.6L79.5,67.6c-1.5,1.7-1.6,4.3-0.1,6.1l34.1,39.7H98.3L66.8,76.6l-1.6-2c-1.5-1.7-1.4-4.4,0.1-6.1 L124.1,0z'/%3E%3Cpath class='st1' d='M91.2,73.7c-1-1.1-1.3-2.7-1-4.1c0.3-0.8,0.8-1.6,1.4-2.2l3.9-4.3l43.5,50.3h-13.8 C125.2,113.4,99.7,83.6,91.2,73.7z'/%3E%3Cpath class='st1' d='M15.2,113.4H0l46.6-53.9c1.5-1.7,1.5-4.3,0-6L0.4,0H15l46.5,53.9c1.2,1.6,1.4,3.9,0.1,5.4 C49.4,73.4,15.2,113.4,15.2,113.4z'/%3E%3Cpath class='st1' d='M40.6,0h-14l43.1,49.9c0,0,0.1-0.1,4.9-5.8c1.3-1.5,1.6-3.4,0.1-4.9C65.7,30,40.6,0,40.6,0z'/%3E%3Cpath class='st1' d='M82.6,34.8L112.5,0H98.3L82.7,18.2l-4.5,5.3c-1.5,1.7-1.6,4.3-0.1,6.1C79.2,30.9,82.6,34.8,82.6,34.8z'/%3E%3Cpath class='st1' d='M56.6,78.6l-29.9,34.8h14.1l15.6-18.2l4.5-5.3c1.5-1.7,1.6-4.3,0.1-6.1C59.9,82.5,56.6,78.6,56.6,78.6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A\",\"tokenFeatures\":[\"swap\",\"bridge\"]},{\"address\":\"0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0\",\"chainId\":1,\"name\":\"Matic\",\"symbol\":\"MATIC\",\"decimals\":18,\"icon\":\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 38.4 33.5' style='enable-background:new 0 0 38.4 33.5;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%238247E5;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M29,10.2c-0.7-0.4-1.6-0.4-2.4,0L21,13.5l-3.8,2.1l-5.5,3.3c-0.7,0.4-1.6,0.4-2.4,0L5,16.3 c-0.7-0.4-1.2-1.2-1.2-2.1v-5c0-0.8,0.4-1.6,1.2-2.1l4.3-2.5c0.7-0.4,1.6-0.4,2.4,0L16,7.2c0.7,0.4,1.2,1.2,1.2,2.1v3.3l3.8-2.2V7 c0-0.8-0.4-1.6-1.2-2.1l-8-4.7c-0.7-0.4-1.6-0.4-2.4,0L1.2,5C0.4,5.4,0,6.2,0,7v9.4c0,0.8,0.4,1.6,1.2,2.1l8.1,4.7 c0.7,0.4,1.6,0.4,2.4,0l5.5-3.2l3.8-2.2l5.5-3.2c0.7-0.4,1.6-0.4,2.4,0l4.3,2.5c0.7,0.4,1.2,1.2,1.2,2.1v5c0,0.8-0.4,1.6-1.2,2.1 L29,28.8c-0.7,0.4-1.6,0.4-2.4,0l-4.3-2.5c-0.7-0.4-1.2-1.2-1.2-2.1V21l-3.8,2.2v3.3c0,0.8,0.4,1.6,1.2,2.1l8.1,4.7 c0.7,0.4,1.6,0.4,2.4,0l8.1-4.7c0.7-0.4,1.2-1.2,1.2-2.1V17c0-0.8-0.4-1.6-1.2-2.1L29,10.2z'/%3E%3C/g%3E%3C/svg%3E%0A\",\"tokenFeatures\":[\"swap\",\"bridge\"]},{\"name\":\"Ethereum\",\"symbol\":\"ETH\",\"decimals\":18,\"icon\":\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='100%25' height='100%25' version='1.1' shape-rendering='geometricPrecision' text-rendering='geometricPrecision' image-rendering='optimizeQuality' fill-rule='evenodd' clip-rule='evenodd'%0AviewBox='0 0 784.37 1277.39' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:xodm='http://www.corel.com/coreldraw/odm/2003'%3E%3Cg id='Layer_x0020_1'%3E%3Cmetadata id='CorelCorpID_0Corel-Layer'/%3E%3Cg id='_1421394342400'%3E%3Cg%3E%3Cpolygon fill='%23343434' fill-rule='nonzero' points='392.07,0 383.5,29.11 383.5,873.74 392.07,882.29 784.13,650.54 '/%3E%3Cpolygon fill='%238C8C8C' fill-rule='nonzero' points='392.07,0 -0,650.54 392.07,882.29 392.07,472.33 '/%3E%3Cpolygon fill='%233C3C3B' fill-rule='nonzero' points='392.07,956.52 387.24,962.41 387.24,1263.28 392.07,1277.38 784.37,724.89 '/%3E%3Cpolygon fill='%238C8C8C' fill-rule='nonzero' points='392.07,1277.38 392.07,956.52 -0,724.89 '/%3E%3Cpolygon fill='%23141414' fill-rule='nonzero' points='392.07,882.29 784.13,650.54 392.07,472.33 '/%3E%3Cpolygon fill='%23393939' fill-rule='nonzero' points='0,650.54 392.07,882.29 392.07,472.33 '/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A\",\"chainId\":5,\"tokenFeatures\":[\"swap\",\"bridge\"]},{\"address\":\"0x1facdd0165489f373255a90304650e15481b2c85\",\"chainId\":5,\"name\":\"Immutable X\",\"symbol\":\"IMX\",\"decimals\":18,\"icon\":\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 139 113' style='enable-background:new 0 0 139 113;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bclip-path:url(%23SVGID_00000053504646934646330740000009134454895836103350_);%7D .st1%7Bfill:%2317B5CB;%7D%0A%3C/style%3E%3Cg%3E%3Cdefs%3E%3Crect id='SVGID_1_' width='139' height='113'/%3E%3C/defs%3E%3CclipPath id='SVGID_00000035518931339590433170000002358037249938198420_'%3E%3Cuse xlink:href='%23SVGID_1_' style='overflow:visible;'/%3E%3C/clipPath%3E%3Cg style='clip-path:url(%23SVGID_00000035518931339590433170000002358037249938198420_);'%3E%3Cpath class='st1' d='M124.1,0h14.6L79.5,67.6c-1.5,1.7-1.6,4.3-0.1,6.1l34.1,39.7H98.3L66.8,76.6l-1.6-2c-1.5-1.7-1.4-4.4,0.1-6.1 L124.1,0z'/%3E%3Cpath class='st1' d='M91.2,73.7c-1-1.1-1.3-2.7-1-4.1c0.3-0.8,0.8-1.6,1.4-2.2l3.9-4.3l43.5,50.3h-13.8 C125.2,113.4,99.7,83.6,91.2,73.7z'/%3E%3Cpath class='st1' d='M15.2,113.4H0l46.6-53.9c1.5-1.7,1.5-4.3,0-6L0.4,0H15l46.5,53.9c1.2,1.6,1.4,3.9,0.1,5.4 C49.4,73.4,15.2,113.4,15.2,113.4z'/%3E%3Cpath class='st1' d='M40.6,0h-14l43.1,49.9c0,0,0.1-0.1,4.9-5.8c1.3-1.5,1.6-3.4,0.1-4.9C65.7,30,40.6,0,40.6,0z'/%3E%3Cpath class='st1' d='M82.6,34.8L112.5,0H98.3L82.7,18.2l-4.5,5.3c-1.5,1.7-1.6,4.3-0.1,6.1C79.2,30.9,82.6,34.8,82.6,34.8z'/%3E%3Cpath class='st1' d='M56.6,78.6l-29.9,34.8h14.1l15.6-18.2l4.5-5.3c1.5-1.7,1.6-4.3,0.1-6.1C59.9,82.5,56.6,78.6,56.6,78.6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A\",\"tokenFeatures\":[\"swap\",\"bridge\"]},{\"address\":\"0x123456789\",\"chainId\":5,\"name\":\"Swap Coin\",\"symbol\":\"SWC\",\"decimals\":18,\"tokenFeatures\":[\"swap\",\"fakeFeature\"]},{\"address\":\"0x123456789\",\"chainId\":5,\"name\":\"Bridge Coin\",\"symbol\":\"BDC\",\"decimals\":18,\"tokenFeatures\":[\"bridge\",\"fakeFeature\"]}]");var hu=function(){var e=E(b().mark((function e(t){var n,r,i,a,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,r=void 0===n?zs.ALL:n,i=t.chainId,a=t.exclude,o=js(du).filter((function(e){var t=e.chainId==i,n=!(null!==a&&void 0!==a&&a.map((function(e){return e.address})).includes(e.address||"")),o=r===zs.ALL,s=e.tokenFeatures.includes(r);return t&&n&&(o||s)})).map((function(e){e.chainId,e.tokenFeatures;return y(e,Ns)})),e.abrupt("return",{tokens:o});case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pu=function(){var e=E(b().mark((function e(t,n){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$s(E(b().mark((function e(){var i,a;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nu(t);case 2:if((i=e.sent).isSupported){e.next=5;break}throw new Js("Chain:".concat(i.chainId," is not a supported chain"),qs.CHAIN_NOT_SUPPORTED_ERROR,{chainName:i.name});case 5:return e.next=7,t.getBalance(n);case 7:return a=e.sent,e.abrupt("return",{balance:a,formattedBalance:r.formatUnits(a,i.nativeCurrency.decimals),token:i.nativeCurrency});case 9:case"end":return e.stop()}}),e)}))),{type:qs.GET_BALANCE_ERROR});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();function vu(e,t,n){return mu.apply(this,arguments)}function mu(){return(mu=E(b().mark((function e(t,n,i){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$s(E(b().mark((function e(){var a,o,s,u,l,c;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=new To(i,JSON.stringify(Hs),t),e.next=3,a.name();case 3:return o=e.sent,e.next=6,a.symbol();case 6:return s=e.sent,e.next=9,a.balanceOf(n);case 9:return u=e.sent,e.next=12,a.decimals();case 12:return l=e.sent,c=r.formatUnits(u,l),e.abrupt("return",{balance:u,formattedBalance:c,token:{name:o,symbol:s,decimals:l,address:i}});case 15:case"end":return e.stop()}}),e)}))),{type:qs.GET_ERC20_BALANCE_ERROR});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var gu=function(){var e=E(b().mark((function e(t,n,r){var i,a,o,s,u;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object.values(Vs).includes(r)){e.next=2;break}throw new Js("ChainId ".concat(r," is not supported"),qs.CHAIN_NOT_SUPPORTED_ERROR);case 2:if(null!==(i=t.provider)&&void 0!==i&&i.request){e.next=4;break}throw new Js("provider object is missing request function",qs.PROVIDER_REQUEST_MISSING_ERROR);case 4:return e.next=6,hu({type:zs.ALL,chainId:r});case 6:return a=e.sent,(o=[]).push(pu(t,n)),a.tokens.filter((function(e){return e.address})).forEach((function(e){var r;return o.push(vu(t,n,null!==(r=e.address)&&void 0!==r?r:""))})),e.next=12,Promise.allSettled(o);case 12:return s=e.sent,u=s.filter((function(e){return"fulfilled"===e.status})).map((function(e){return e.value})),e.abrupt("return",{balances:u});case 15:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function yu(e){return bu.apply(this,arguments)}function bu(){return(bu=E(b().mark((function e(t){var n,r,i,a;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wu(t);case 2:if(i=e.sent,null!==(n=i.provider)&&void 0!==n&&n.request){e.next=5;break}throw new Js("Incompatible provider",qs.PROVIDER_REQUEST_MISSING_ERROR,{details:"Unsupported provider for ".concat(t)});case 5:return a=[],e.prev=6,e.next=9,i.provider.request({method:Qs.CHECK_CONNECTION,params:[]});case 9:a=e.sent,e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(6),new Js("Check wallet connection request failed",qs.PROVIDER_REQUEST_FAILED_ERROR,{rpcMethod:Qs.CHECK_CONNECTION});case 15:return e.abrupt("return",{isConnected:a&&a.length>0,walletAddress:null!==(r=a[0])&&void 0!==r?r:""});case 16:case"end":return e.stop()}}),e,null,[[6,12]])})))).apply(this,arguments)}function Cu(e){return xu.apply(this,arguments)}function xu(){return(xu=E(b().mark((function e(t){var n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wu(t.providerPreference);case 2:return n=e.sent,e.next=5,$s(E(b().mark((function e(){var r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n&&null!==n&&void 0!==n&&null!==(r=n.provider)&&void 0!==r&&r.request){e.next=2;break}throw new Js("Incompatible provider",qs.PROVIDER_REQUEST_MISSING_ERROR,{details:"Unsupported provider for ".concat(t.providerPreference)});case 2:return e.next=4,n.provider.request({method:Qs.CONNECT,params:[]});case 4:case"end":return e.stop()}}),e)}))),{type:qs.USER_REJECTED_REQUEST_ERROR});case 5:return e.abrupt("return",n);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function wu(e){return ku.apply(this,arguments)}function ku(){return(ku=E(b().mark((function e(t){var n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=null,e.t0=t,e.next=e.t0===Fs.METAMASK?4:8;break;case 4:return e.next=6,Eu();case 6:return n=e.sent,e.abrupt("break",9);case 8:throw new Js("Provider preference is not supported",qs.PROVIDER_PREFERENCE_ERROR);case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Eu(){return Su.apply(this,arguments)}function Su(){return(Su=E(b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$s(E(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Io()();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),{type:qs.METAMASK_PROVIDER_ERROR});case 2:if((t=e.sent)&&t.request){e.next=5;break}throw new Js("No MetaMask provider installed.",qs.METAMASK_PROVIDER_ERROR);case 5:return e.abrupt("return",new Is(t));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Lu={};function Mu(e){return Au.apply(this,arguments)}function Au(){return(Au=E(b().mark((function e(t){var n,r,i,a;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,r=void 0===n?Ws.ALL:n,i=t.exclude,a=js(Lu).filter((function(e){var t=!(null!==i&&void 0!==i&&i.map((function(e){return e.connectionProvider})).includes(e.connectionProvider)),n=r===Ws.ALL,a=e.platform.includes(r);return t&&(n||a)})).map((function(e){e.platform;return y(e,Os)})),e.abrupt("return",{wallets:a});case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Lu=JSON.parse('[{"connectionProvider":"metamask","icon":"some-icon-url","name":"MetaMask","description":"complete web3 wallet solution","platform":["mobile","desktop"]},{"connectionProvider":"passport","icon":"pp-icon","name":"Passport","description":"Web3 with your email!","platform":["mobile"]},{"connectionProvider":"gamestop","icon":"gme-icon","name":"GameStop","description":"Never stopping the game!","platform":["desktop"]}]');var _u=function(){var e=E(b().mark((function e(t){var n,r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.provider,r=t.transaction,e.next=3,$s(E(b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.getSigner().sendTransaction(r);case 2:return t=e.sent,e.abrupt("return",{transactionResponse:t});case 4:case"end":return e.stop()}}),e)}))),{type:qs.TRANSACTION_ERROR});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Pu=function(){function e(){i(this,e)}return u(e,[{key:"checkIsWalletConnected",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",yu(t.providerPreference));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"connect",value:function(){var e=E(b().mark((function e(t){var n,r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Cu(t);case 2:return n=e.sent,e.next=5,nu(n);case 5:return r=e.sent,e.abrupt("return",{provider:n,network:r});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"switchNetwork",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,iu(t.provider,t.chainId);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getBalance",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.contractAddress&&""!==t.contractAddress){e.next=4;break}return e.next=3,pu(t.provider,t.walletAddress);case 3:case 6:return e.abrupt("return",e.sent);case 4:return e.next=6,vu(t.provider,t.walletAddress,t.contractAddress);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getAllBalances",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",gu(t.provider,t.walletAddress,t.chainId));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getNetworkAllowList",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ou(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTokenAllowList",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,hu(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getWalletsAllowList",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Mu(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"sendTransaction",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_u(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getNetworkInfo",value:function(){var e=E(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nu(t.provider);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),Tu=n(4093);function Ru(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var Iu;Ru({},"IMTBLWidgetEvents",(function(){return Iu})),function(e){e.IMTBL_CONNECT_WIDGET_EVENT="imtbl-connect-widget",e.IMTBL_WALLET_WIDGET_EVENT="imtbl-wallet-widget",e.IMTBL_SWAP_WIDGET_EVENT="imtbl-swap-widget",e.IMTBL_BRIDGE_WIDGET_EVENT="imtbl-bridge-widget",e.IMTBL_BUY_WIDGET_EVENT="imtbl-buy-widget"}(Iu||(Iu={}));var Nu,Ou;Ru({},"ConnectEventType",(function(){return Nu})),(Ou=Nu||(Nu={})).SUCCESS="success",Ou.FAILURE="failure",Ou.CLOSE_WIDGET="close-widget";var ju,Fu;Ru({},"WalletEventType",(function(){return ju})),(Fu=ju||(ju={})).CLOSE_WIDGET="close-widget",Fu.NETWORK_SWITCH="network-switch";var Vu,Bu;Ru({},"SwapEventType",(function(){return Vu})),(Bu=Vu||(Vu={})).SUCCESS="success",Bu.FAILURE="failure";var Hu;Ru({},"BridgeEventType",(function(){return Hu})),function(e){e.CLOSE_WIDGET="close-widget",e.SUCCESS="success",e.FAILURE="failure"}(Hu||(Hu={}));var Du,zu;Ru({},"BuyEventType",(function(){return Du})),(zu=Du||(Du={})).SUCCESS="success",zu.FAILURE="failure",zu.NOT_CONNECTED="not_connected",zu.CLOSE="close";var Uu,Zu,Wu,Gu,qu={};function Ku(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],u=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(c){l=!0,i=c}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}(e,t)||kn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Ru(qu,"Network",(function(){return Uu})),Ru(qu,"WidgetTheme",(function(){return Wu})),Ru(qu,"ConnectionProviders",(function(){return Fs})),(Zu=Uu||(Uu={})).ETHEREUM="Ethereum",Zu.GOERLI="Goerli",Zu.POLYGON="Polygon",(Gu=Wu||(Wu={})).LIGHT="light",Gu.DARK="dark",Gu.CUSTOM="custom";var Qu=n(6725),Yu="imtbl-checkout";function Ju(e){!function(e,t){localStorage.setItem("".concat(Yu,".").concat(e),t)}("providerPreference",e);var t=new CustomEvent(Iu.IMTBL_CONNECT_WIDGET_EVENT,{detail:{type:Nu.SUCCESS,data:{providerPreference:e}}});void 0!==window&&window.dispatchEvent(t)}var Xu,$u,el,tl={marginBottom:"10px"},nl={checkout:null,provider:null},rl=function(e){return e.SET_CHECKOUT="SET_CHECKOUT",e.SET_PROVIDER="SET_PROVIDER",e}({}),il=(0,g.createContext)({connectState:nl,connectDispatch:function(){}}),al=function(e,t){switch(t.payload.type){case rl.SET_CHECKOUT:return w(w({},e),{},{checkout:t.payload.checkout});case rl.SET_PROVIDER:return w(w({},e),{},{provider:t.payload.provider});default:return e}},ol={view:{type:function(e){return e.LOADING_VIEW="LOADING_VIEW",e}({}).LOADING_VIEW},history:[]},sl=function(e){return e.UPDATE_VIEW="UPDATE_VIEW",e.GO_BACK="GO_BACK",e}({}),ul=(0,g.createContext)({viewState:ol,viewDispatch:function(){}}),ll=function(e,t){switch(t.payload.type){case sl.UPDATE_VIEW:var n=t.payload.view,r=e.history;return 0!==r.length&&r[r.length-1].type===n.type||r.push(n),w(w({},e),{},{view:n,history:r});case sl.GO_BACK:if(e.history.length<=1)return w({},e);var i=e.history.slice(0,-1);return w(w({},e),{},{history:i,view:i[i.length-1]});default:return e}},cl=function(e){return e.CONNECT_WALLET="CONNECT_WALLET",e.PASSPORT="PASSPORT",e.OTHER_WALLETS="OTHER_WALLETS",e.CHOOSE_NETWORKS="CHOOSE_NETWORKS",e.SUCCESS="SUCCESS",e.FAIL="FAIL",e}({}),fl={position:"relative",display:"flex",flexDirection:"column",backgroundColor:"base.color.brand.2",minHeight:"680px",width:"450px"},dl=function(e){return{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",position:e?"absolute":"relative"}},hl={height:"10%",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},pl={flex:1,display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center"},vl={flex:"1 0 0",width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},ml={flex:"1 0 0",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},gl=n(256),yl=function(e){var t=e.header,n=e.footer,r=e.children,i=e.heroImage,a=e.floatHeader,o=void 0!==a&&a;return(0,gl.jsxs)(Qu.Box,{sx:fl,children:[t&&(0,gl.jsx)(Qu.Box,{id:"header",sx:dl(o),children:t}),(0,gl.jsxs)(Qu.Box,{id:"content",sx:pl,children:[i&&(0,gl.jsx)(Qu.Box,{id:"hero-image",sx:vl,children:(0,gl.jsx)("img",{alt:"hero",src:i,style:{height:"100%",objectFit:"contain"}})}),r&&(0,gl.jsx)(Qu.Box,{id:"body",sx:ml,children:r})]}),n&&(0,gl.jsx)(Qu.Box,{id:"footer",sx:hl,children:n})]})},bl=function(e){return{backgroundColor:e?"transparent":""}},Cl=function(e){return{backgroundColor:e?"base.color.neutral.800":""}},xl=function(e){var t=e.title,n=e.showBack,r=void 0!==n&&n,i=e.showClose,a=void 0!==i&&i,o=e.showSettings,s=void 0!==o&&o,u=e.transparent,l=void 0!==u&&u,c=e.onSettingsClick,f=e.onBackButtonClick,d=(0,g.useContext)(ul).viewDispatch,h=function(){var e=E(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d({payload:{type:sl.GO_BACK}});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,gl.jsxs)(Qu.AppHeaderBar,{testId:"header-navigation-container",sx:bl(l),elevated:!1,children:[r&&(0,gl.jsx)(Qu.AppHeaderBar.LeftButtCon,{icon:"ArrowBackward",iconVariant:"bold",onClick:function(){f?f():h()},testId:"back-button"}),(0,gl.jsx)(Qu.AppHeaderBar.Title,{testId:"header-title",size:"medium",sx:{textAlign:"left"},children:t}),(0,gl.jsxs)(Qu.AppHeaderBar.RightHandButtons,{children:[s&&c&&(0,gl.jsx)(Qu.ButtCon,{icon:"SettingsCog",iconVariant:"bold",onClick:c,testId:"settings-button"}),a&&(0,gl.jsx)(Qu.ButtCon,{iconVariant:"bold",sx:Cl(l),icon:"Close",onClick:function(){d({payload:{type:sl.UPDATE_VIEW,view:{type:cl.FAIL,error:new Error("User closed the connect widget")}}})},testId:"close-button"})]})]})},wl={width:"100%",display:"flex",flexDirection:"row",justifyContent:"flex-end",alignItems:"center",padding:"base.spacing.x3"},kl={maxHeight:"base.spacing.x20",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",padding:"base.spacing.x3"},El=["title","titleId"];function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sl.apply(this,arguments)}function Ll(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ml(e,t){var n=e.title,r=e.titleId,i=Ll(e,El);return g.createElement("svg",Sl({width:176,height:25,viewBox:"0 0 176 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?g.createElement("title",{id:r},n):null,Xu||(Xu=g.createElement("g",{clipPath:"url(#clip0_3034_56168)"},g.createElement("g",{clipPath:"url(#clip1_3034_56168)"},g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.043 7.5332H108.09V18.2576H106.043V7.5332ZM116.307 11.7677C116.863 10.8766 117.796 10.4507 118.813 10.4507L118.819 10.4478C119.752 10.4478 120.436 10.7169 120.872 11.2549C121.302 11.8014 121.516 12.5272 121.516 13.4323V18.2579H119.544V13.6649C119.544 12.6477 119.18 12.132 118.371 12.132H118.252C117.338 12.132 116.627 12.9307 116.627 14.0012V18.2579H114.654V13.6649C114.654 12.6477 114.277 12.132 113.468 12.132H113.349C112.437 12.132 111.718 12.9307 111.718 14.0012V18.2579H109.746V10.5992H111.718V11.6837C112.229 10.8542 113.076 10.4507 113.988 10.4507C115.063 10.4507 115.891 10.899 116.307 11.7677ZM131.929 10.4507C130.912 10.4507 129.978 10.8766 129.423 11.7677C129.009 10.899 128.178 10.4507 127.103 10.4507C126.192 10.4507 125.345 10.8542 124.833 11.6837V10.5992H122.861V18.2579H124.833V14.0012C124.833 12.9307 125.553 12.132 126.464 12.132H126.584C127.392 12.132 127.77 12.6477 127.77 13.6649V18.2579H129.742V14.0012C129.742 12.9307 130.454 12.132 131.368 12.132H131.487C132.295 12.132 132.659 12.6477 132.659 13.6649V18.2579H134.632V13.4323C134.632 12.5272 134.418 11.8014 133.987 11.2549C133.551 10.7169 132.868 10.4478 131.934 10.4478L131.929 10.4507ZM146.872 12.2109V15.7334L146.869 15.7306C146.869 16.434 147.011 16.5769 147.708 16.5769H148.797V18.2611H146.869C145.586 18.2611 144.897 17.5661 144.897 16.2714V12.2109H142.658V18.2611H140.685V17.1401C140.219 17.9248 139.41 18.4124 138.468 18.4124C137.616 18.4124 136.971 18.1518 136.549 17.6193C136.118 17.0953 135.904 16.3947 135.904 15.5036V10.6052H137.877V15.2794C137.877 16.2658 138.285 16.8039 139.005 16.8039H139.124C139.982 16.8039 140.688 15.9295 140.688 14.8591V10.6024H144.9V8.11951H146.872V10.6024H148.57V12.2109H146.872ZM155.837 13.2021C155.837 11.4367 154.562 10.4503 152.648 10.4503C150.734 10.4503 149.542 11.5207 149.378 12.9723H151.359C151.403 12.5072 151.87 12.0588 152.581 12.0588H152.706C153.431 12.0588 153.923 12.5884 153.923 13.2778V13.4655L152.009 13.6365C151.192 13.7037 150.525 13.9419 150.006 14.3623C149.486 14.7798 149.228 15.3795 149.228 16.1586C149.206 17.5037 150.356 18.4256 151.72 18.4088C152.692 18.4088 153.492 17.9913 153.967 17.3243C153.981 17.7279 154.012 18.0417 154.056 18.2603H155.909C155.857 17.9016 155.834 17.3411 155.834 16.5761V13.2021H155.837ZM153.923 15.1329C153.923 16.0969 153.129 16.8003 152.231 16.8003H152.112C151.57 16.8003 151.17 16.4948 151.17 16.0213C151.17 15.7298 151.281 15.5112 151.503 15.3543C151.726 15.1974 151.984 15.1077 152.276 15.0853L153.923 14.9143V15.1301V15.1329ZM159.176 11.5938C159.501 11.0333 160.346 10.4504 161.363 10.4504V10.4476C163.491 10.4112 164.758 12.3336 164.735 14.4269C164.758 16.5202 163.491 18.4426 161.363 18.4062C160.349 18.4062 159.501 17.8233 159.176 17.2628V18.2577H157.204V7.5332H159.176V11.5938ZM160.91 16.7976H161.029C162.016 16.7976 162.766 15.8505 162.766 14.4129C162.766 12.9753 162.024 12.0561 161.029 12.0561H160.91C160.004 12.0337 159.16 13.0201 159.174 14.4269C159.16 15.8336 160.004 16.8201 160.91 16.7976ZM167.694 7.5332H165.721V18.2576H167.694V7.5332ZM168.702 14.4299C168.68 12.1405 170.089 10.4198 172.314 10.4507H172.317C174.534 10.4282 175.8 12.104 175.778 14.3403C175.778 14.4888 175.77 14.7298 175.748 15.0577H170.616C170.691 16.0833 171.508 16.8007 172.331 16.8007H172.456C173.167 16.8007 173.647 16.3972 173.789 15.8367H175.748C175.375 17.3612 174.175 18.4092 172.314 18.4092C170.408 18.4401 168.666 16.8764 168.702 14.4299ZM172.183 12.0592C171.353 12.0592 170.664 12.6197 170.619 13.5248H173.867C173.822 12.6197 173.133 12.0592 172.303 12.0592H172.183ZM183.515 18.2611L181.054 14.52L178.548 18.2611H176.256L179.912 12.7965L176.484 7.59826H178.882L181.121 10.9975L183.399 7.59826H185.691L182.263 12.7209L185.919 18.2611H183.515ZM187.988 17.7762C188.11 17.9892 188.274 18.1546 188.486 18.2779C188.694 18.4012 188.919 18.4628 189.166 18.4628C189.413 18.4628 189.641 18.4012 189.85 18.2779C190.058 18.1546 190.225 17.9864 190.347 17.7762C190.466 17.5661 190.527 17.3363 190.527 17.0897C190.527 16.8431 190.466 16.6133 190.347 16.4031C190.222 16.1929 190.058 16.0248 189.85 15.9015C189.638 15.7782 189.411 15.7165 189.166 15.7165C188.922 15.7165 188.694 15.7782 188.486 15.9015C188.274 16.0248 188.11 16.1929 187.988 16.4031C187.866 16.6133 187.805 16.8403 187.805 17.0897C187.805 17.3391 187.866 17.5661 187.988 17.7762ZM190.188 17.6894C190.083 17.8743 189.938 18.0172 189.758 18.1265C189.577 18.2358 189.38 18.2891 189.166 18.2891C188.952 18.2891 188.755 18.2358 188.574 18.1265C188.394 18.0172 188.252 17.8743 188.147 17.6894C188.041 17.5044 187.988 17.3055 187.988 17.0897C187.988 16.8739 188.041 16.6749 188.147 16.49C188.249 16.3078 188.394 16.1649 188.574 16.0556C188.755 15.9463 188.952 15.8931 189.166 15.8931C189.38 15.8931 189.577 15.9463 189.758 16.0556C189.938 16.1621 190.083 16.3078 190.188 16.49C190.294 16.6749 190.347 16.8739 190.347 17.0897C190.347 17.3055 190.294 17.5044 190.188 17.6894ZM189.288 16.4115H188.713L188.708 16.4143V17.737H188.922V17.2186H189.286C189.416 17.2186 189.475 17.2746 189.475 17.3867V17.7342H189.688V17.3895C189.688 17.1793 189.619 17.1093 189.441 17.1065C189.597 17.0869 189.708 16.9608 189.708 16.773C189.708 16.5628 189.552 16.4115 189.288 16.4115ZM189.494 16.8235C189.494 16.9692 189.386 17.0476 189.202 17.0476H188.927V16.5853H189.202C189.397 16.5853 189.494 16.6469 189.494 16.8235Z",fill:""}),g.createElement("path",{d:"M88.428 0C81.8328 0 76.4863 5.33913 76.4863 11.9252C76.4863 18.5113 81.8328 23.8505 88.428 23.8505C95.0232 23.8505 100.37 18.5113 100.37 11.9252C100.37 5.33913 95.0232 0 88.428 0ZM87.9661 4.55448C88.2978 4.39222 88.6473 4.40333 88.9689 4.5856C90.084 5.22021 91.1959 5.86037 92.3021 6.5072C92.6582 6.71614 92.8408 7.05067 92.8419 7.46188C92.8485 8.90336 92.8463 10.3437 92.8419 11.7852C92.8419 11.8385 92.8074 11.9163 92.764 11.9419C92.3355 12.1975 91.9014 12.4431 91.4307 12.7143V12.4876C91.4307 11.005 91.4262 9.52352 91.434 8.04092C91.4351 7.7564 91.3372 7.57302 91.0846 7.42965C89.7902 6.69502 88.5026 5.94706 87.2127 5.20354C87.1571 5.17131 87.1025 5.13685 87.0179 5.08573C87.3496 4.8979 87.6479 4.70897 87.9639 4.55448H87.9661ZM87.7291 19.3015C87.6568 19.2649 87.6033 19.2393 87.551 19.2093C85.8427 18.2257 84.1366 17.2355 82.4227 16.2597C81.9419 15.9863 81.7226 15.5962 81.7282 15.0482C81.7382 13.8835 81.7349 12.7188 81.7293 11.5529C81.7271 11.0272 81.9408 10.646 82.4037 10.3837C83.6068 9.70023 84.8032 9.00672 85.9996 8.3121C86.1031 8.25208 86.1788 8.24208 86.2867 8.30654C86.6996 8.55438 87.1203 8.79111 87.5599 9.04451C87.4765 9.09452 87.413 9.13231 87.3485 9.17009C86.053 9.91695 84.7598 10.666 83.461 11.4084C83.2485 11.5296 83.1494 11.6874 83.1516 11.9341C83.1583 12.8521 83.1594 13.7701 83.1516 14.6882C83.1494 14.9416 83.2507 15.1027 83.4688 15.2272C84.8388 16.0096 86.2033 16.8009 87.5722 17.5856C87.6879 17.6522 87.7369 17.7211 87.7347 17.859C87.7246 18.3291 87.7313 18.8003 87.7313 19.3027L87.7291 19.3015ZM87.7291 16.672C87.61 16.6042 87.5243 16.5564 87.4386 16.5064C86.3524 15.8807 85.2673 15.2527 84.1789 14.6315C84.0609 14.5648 84.0175 14.4925 84.0186 14.3558C84.0264 13.6501 84.0231 12.9444 84.0208 12.2386C84.0208 12.1431 84.0353 12.0775 84.1299 12.0241C84.5305 11.8008 84.9268 11.5674 85.3241 11.3395C85.353 11.3229 85.3842 11.3106 85.4365 11.2851V12.0775C85.4365 12.5065 85.4431 12.9366 85.4342 13.3656C85.4287 13.6101 85.5233 13.7757 85.737 13.8957C86.3524 14.2425 86.9601 14.6026 87.5755 14.9482C87.6968 15.016 87.7335 15.0916 87.7313 15.225C87.7235 15.694 87.728 16.1641 87.728 16.6709L87.7291 16.672ZM86.4748 7.40854C86.2445 7.27295 86.0475 7.27406 85.8171 7.40854C84.5261 8.16206 83.2295 8.90558 81.9341 9.65244C81.8796 9.68467 81.8228 9.71356 81.726 9.7658C81.7605 9.27456 81.6548 8.81111 81.8228 8.36211C81.9141 8.11649 82.0855 7.932 82.3125 7.80086C83.3931 7.17737 84.4727 6.55277 85.5556 5.93261C85.9506 5.70589 86.3535 5.71144 86.7486 5.93928C87.9784 6.64612 89.2071 7.35519 90.4335 8.06648C90.4858 8.09649 90.5515 8.16428 90.5515 8.21541C90.5604 8.71998 90.557 9.22566 90.557 9.76691C90.1108 9.51018 89.699 9.27234 89.2872 9.0345C88.349 8.49326 87.4086 7.95757 86.4748 7.40854ZM95.1167 15.3428C95.0844 15.7395 94.8518 16.0207 94.5079 16.2185C93.1913 16.9743 91.8759 17.7345 90.5604 18.4924C90.1475 18.7303 89.7346 18.9681 89.3206 19.206C89.2705 19.2349 89.2193 19.2593 89.1514 19.2949C89.147 19.226 89.1414 19.176 89.1414 19.1259C89.1414 18.6903 89.1436 18.2557 89.1392 17.8201C89.1392 17.7211 89.1625 17.6611 89.2538 17.6089C91.1725 16.5064 93.0901 15.4006 95.0065 14.2958C95.0354 14.2792 95.0677 14.2658 95.1223 14.2403C95.1223 14.627 95.1445 14.9871 95.1167 15.3428ZM95.1267 12.5998C95.1234 13.0511 94.8796 13.3678 94.4935 13.5901C92.9932 14.4514 91.4941 15.3172 89.995 16.1819C89.7212 16.3397 89.4463 16.4964 89.1525 16.6653C89.1481 16.5909 89.1425 16.542 89.1425 16.4919C89.1425 16.0629 89.147 15.6328 89.1392 15.2038C89.1369 15.0816 89.1781 15.0171 89.2838 14.956C90.6472 14.1747 92.0061 13.3845 93.3716 12.6076C93.6142 12.4698 93.7211 12.2998 93.7189 12.0153C93.7088 10.5327 93.7144 9.05006 93.7144 7.56747V7.30851C94.0705 7.52301 94.4044 7.69972 94.7094 7.91533C94.9876 8.11205 95.1278 8.4099 95.1289 8.75332C95.1334 10.0359 95.1367 11.3184 95.1278 12.601L95.1267 12.5998Z",fill:""})))),$u||($u=g.createElement("path",{d:"M1.13166 8.57212V18.1123H2.47387V14.3357H4.11873C6.44785 14.3357 8.07955 13.8225 8.07955 11.4539C8.07955 9.09847 6.44785 8.57212 4.11873 8.57212H1.13166ZM4.224 9.70378C5.632 9.70378 6.71103 9.90116 6.71103 11.4539C6.71103 13.0198 5.632 13.1646 4.224 13.1646H2.47387V9.70378H4.224ZM9.79483 14.5989C9.79483 12.6645 10.8212 11.9671 11.9134 11.9671C13.0056 11.9671 14.032 12.704 14.032 14.5989C14.032 16.4148 13.0056 17.2307 11.9134 17.2307C10.8212 17.2307 9.79483 16.4938 9.79483 14.5989ZM11.9134 10.9144C10.2686 10.9144 8.51842 12.0329 8.51842 14.5989C8.51842 17.1649 10.2686 18.2834 11.9134 18.2834C13.5583 18.2834 15.3084 17.1649 15.3084 14.5989C15.3084 12.0329 13.5583 10.9144 11.9134 10.9144ZM18.4397 16.2701L17.0843 11.0328H15.7948L17.8344 18.1123H18.9266L20.4399 12.4145L22.0058 18.1123H23.0979L25.1376 11.0328H23.848L22.4926 16.2701L21.0846 11.0328H19.8477L18.4397 16.2701ZM32.3334 14.9673C32.4782 12.7172 31.2018 10.9144 29.0305 10.9144C27.0962 10.9144 25.5961 12.3356 25.5961 14.5857C25.5961 16.678 26.833 18.2834 29.07 18.2834C30.7938 18.2834 31.9255 17.2701 32.2413 16.0595H31.0044C30.7017 16.7569 30.1227 17.2307 29.07 17.2307C28.0305 17.2307 26.9251 16.4938 26.8856 14.9673H32.3334ZM29.0305 11.9408C30.307 11.9408 31.0307 12.9409 31.0702 13.9409H26.8988C27.0041 12.5198 27.9778 11.9408 29.0305 11.9408ZM37.2556 11.0065C37.1108 10.9934 37.0187 10.9934 36.9003 10.9934C35.966 11.0328 35.2554 11.4671 34.9001 12.2698V11.0328H33.729V18.1123H34.9264V14.4015C34.9264 12.8224 35.4791 12.2303 36.5845 12.2303C36.7818 12.2303 37.0055 12.2434 37.2556 12.2829V11.0065ZM44.5285 14.9673C44.6733 12.7172 43.3969 10.9144 41.2256 10.9144C39.2913 10.9144 37.7912 12.3356 37.7912 14.5857C37.7912 16.678 39.0281 18.2834 41.2651 18.2834C42.9889 18.2834 44.1206 17.2701 44.4364 16.0595H43.1995C42.8968 16.7569 42.3178 17.2307 41.2651 17.2307C40.2256 17.2307 39.1202 16.4938 39.0807 14.9673H44.5285ZM41.2256 11.9408C42.502 11.9408 43.2258 12.9409 43.2653 13.9409H39.0939C39.1992 12.5198 40.1729 11.9408 41.2256 11.9408ZM50.844 12.1513C50.4097 11.4013 49.6728 10.9144 48.528 10.9144C46.8963 10.9144 45.5014 12.2829 45.5014 14.5989C45.5014 16.9543 46.8963 18.2834 48.528 18.2834C49.6728 18.2834 50.4097 17.7965 50.844 17.0464V18.1123H52.0414V8.57212H50.844V12.1513ZM50.8966 14.5989C50.8966 16.4674 49.8965 17.257 48.8306 17.257C47.6069 17.257 46.8042 16.3227 46.8042 14.5989C46.8042 12.8751 47.6069 11.9408 48.8306 11.9408C49.8965 11.9408 50.8966 12.7303 50.8966 14.5989ZM58.1974 14.5989C58.1974 12.7303 59.1975 11.9408 60.2633 11.9408C61.4871 11.9408 62.2898 12.8751 62.2898 14.5989C62.2898 16.3227 61.4871 17.257 60.2633 17.257C59.1975 17.257 58.1974 16.4674 58.1974 14.5989ZM57.0526 8.57212V18.1123H58.25V17.0464C58.6843 17.7965 59.4212 18.2834 60.566 18.2834C62.1977 18.2834 63.5925 16.9543 63.5925 14.5989C63.5925 12.2829 62.1977 10.9144 60.566 10.9144C59.4212 10.9144 58.6843 11.4013 58.25 12.1513V8.57212H57.0526ZM68.7616 11.0328L67.0115 16.4938L65.2087 11.0328H63.8797L66.4325 18.1123L66.3799 18.2571C66.064 19.3624 65.6824 19.415 64.8929 19.415H64.406V20.4151H65.0245C66.6167 20.4151 66.9589 19.9414 67.4852 18.415L70.0117 11.0328H68.7616Z",fill:""})),el||(el=g.createElement("defs",null,g.createElement("clipPath",{id:"clip0_3034_56168"},g.createElement("rect",{width:99.514,height:23.8505,fill:"white",transform:"translate(76.4863)"})),g.createElement("clipPath",{id:"clip1_3034_56168"},g.createElement("rect",{width:109.465,height:23.8505,fill:"white",transform:"translate(76.4863)"})))))}var Al=g.forwardRef(Ml),_l=(n.p,function(e){var t=!e.hideLogo,n=(0,Qu.useTheme)().base.color;return(0,gl.jsx)(Qu.Box,{testId:"footer-logo-container",sx:kl,children:t&&(0,gl.jsx)(Al,{fill:n.brand[1]})})});function Pl(){var e=(0,g.useContext)(il),t=e.connectState,n=e.connectDispatch,r=(0,g.useContext)(ul).viewDispatch,i=t.checkout;function a(){return(a=E(b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,i.connect({providerPreference:Fs.METAMASK});case 5:t=e.sent,n({payload:{type:rl.SET_PROVIDER,provider:t.provider}}),e.next=13;break;case 9:return e.prev=9,e.t0=e.catch(0),r({payload:{type:sl.UPDATE_VIEW,view:{type:cl.FAIL,error:e.t0}}}),e.abrupt("return");case 13:o();case 14:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}var o=function(){r({payload:{type:sl.UPDATE_VIEW,view:{type:cl.CHOOSE_NETWORKS}}})};return(0,gl.jsx)(yl,{header:(0,gl.jsx)(xl,{showClose:!0,showBack:!0}),footer:(0,gl.jsx)(_l,{}),children:(0,gl.jsxs)("div",{className:"imtbl-other-wallets",children:[(0,gl.jsx)(Qu.Button,{testId:"other-metamask",sx:tl,onClick:function(){return a.apply(this,arguments)},children:"MetaMask"}),(0,gl.jsx)(Qu.Button,{testId:"other-walletconnect",onClick:function(){return o()},children:"Wallet Connect"})]})})}var Tl=n.p+"static/media/ImmutableNetwork.0a527db527b74c4dadf5e8fe046d0927.svg";function Rl(){var e=(0,g.useContext)(ul).viewDispatch,t=(0,g.useContext)(il).connectState,n=t.checkout,r=t.provider,i=function(t){e({payload:{type:sl.UPDATE_VIEW,view:{type:cl.FAIL,error:t}}})},a=function(){e({payload:{type:sl.UPDATE_VIEW,view:{type:cl.SUCCESS}}})};function o(){return(o=E(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,r){e.next=4;break}return i(new Error("No wallet provider connected")),e.abrupt("return");case 4:if(!n){e.next=8;break}return e.next=7,n.switchNetwork({provider:r,chainId:Vs.POLYGON});case 7:a();case 8:e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(0),i(e.t0),e.abrupt("return");case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}return(0,gl.jsx)(yl,{header:(0,gl.jsx)(xl,{showClose:!0,showBack:!0,transparent:!0}),footer:(0,gl.jsx)(_l,{}),heroImage:Tl,floatHeader:!0,children:(0,gl.jsx)(Qu.Button,{testId:"network-zkevm",onClick:function(){return function(){return o.apply(this,arguments)}()},children:"Connect Polygon"})})}var Il=n(8374),Nl=function(){var e=(0,g.useContext)(ul).viewDispatch,t=function(t){return e({payload:{type:sl.UPDATE_VIEW,view:{type:t}}})};return(0,gl.jsx)(yl,{header:(0,gl.jsx)(xl,{title:"Connect a wallet",showClose:!0}),footer:(0,gl.jsx)(_l,{}),children:(0,gl.jsxs)(Qu.Box,{children:[(0,gl.jsx)(Qu.Button,{testId:"connect-passport",onClick:function(){return t(cl.PASSPORT)},children:"Passport"}),(0,gl.jsx)(Qu.Button,{testId:"connect-other",onClick:function(){return t(cl.OTHER_WALLETS)},children:"Other Wallets"})]})})},Ol=function(){var e=(0,g.useContext)(ul).viewState;return(0,gl.jsxs)(yl,{header:(0,gl.jsx)(xl,{showClose:!0,showBack:!0}),footer:(0,gl.jsx)(_l,{}),children:[e.view.type===cl.SUCCESS&&(0,gl.jsx)(Qu.Body,{testId:"success",children:"User connected"}),e.view.type===cl.FAIL&&(0,gl.jsx)(Qu.Body,{testId:"fail",children:"User did not connect"})]})},jl={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",padding:"24px 16px 24px 12px",width:"270px",borderRadius:"12px",background:"base.color.translucent.standard.100",rowGap:"base.spacing.x4"},Fl={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"base.spacing.x12",width:"base.spacing.x12",borderRadius:"50%",backgroundColor:"base.color.status.success.bright"},Vl=function(e){var t=e.actionText,n=e.onActionClick,r=e.hideActionButton,i=!(void 0!==r&&r);return(0,gl.jsx)(Qu.Box,{testId:"footer-button-container",sx:wl,children:i&&(0,gl.jsx)(Qu.Button,{testId:"footer-button",size:"large",variant:"secondary",onClick:n,children:t})})},Bl=function(e){var t=e.successText,n=e.actionText,r=e.onActionClick,i=e.successEventAction;void 0!==i&&"function"===typeof i&&i();return(0,gl.jsx)(yl,{footer:(0,gl.jsx)(Vl,{actionText:n,onActionClick:function(){void 0!==r&&"function"===typeof r&&r()}}),children:(0,gl.jsxs)(Qu.Box,{sx:jl,testId:"success-box",children:[(0,gl.jsx)(Qu.Box,{sx:Fl,children:(0,gl.jsx)(Qu.Icon,{icon:"Tick",testId:"success-icon",variant:"bold",sx:{width:"base.icon.size.400",fill:"base.color.brand.2"}})}),(0,gl.jsx)(Qu.Body,{size:"medium",weight:"bold",testId:"success-text",children:t})]})})};function Hl(e){var t=e.theme,n=Ku((0,g.useReducer)(al,nl),2),r=n[0],i=n[1],a=Ku((0,g.useReducer)(ll,ol),2),o=a[0],s=a[1],u=t.toLowerCase()===Wu.LIGHT.toLowerCase()?Il.onDarkBase:Il.onLightBase;return(0,g.useEffect)((function(){i({payload:{type:rl.SET_CHECKOUT,checkout:new Pu}}),s({payload:{type:sl.UPDATE_VIEW,view:{type:cl.CONNECT_WALLET}}})}),[]),(0,g.useEffect)((function(){if(o.view.type===cl.FAIL)!function(e){var t=new CustomEvent(Iu.IMTBL_CONNECT_WIDGET_EVENT,{detail:{type:Nu.FAILURE,data:{reason:e}}});void 0!==window&&window.dispatchEvent(t)}(o.view.error.message)}),[o]),(0,gl.jsx)(Qu.BiomeThemeProvider,{theme:{base:u},children:(0,gl.jsx)(ul.Provider,{value:{viewState:o,viewDispatch:s},children:(0,gl.jsx)(il.Provider,{value:{connectState:r,connectDispatch:i},children:(0,gl.jsxs)(gl.Fragment,{children:[o.view.type===cl.CONNECT_WALLET&&(0,gl.jsx)(Nl,{}),o.view.type===cl.OTHER_WALLETS&&(0,gl.jsx)(Pl,{}),o.view.type===cl.CHOOSE_NETWORKS&&(0,gl.jsx)(Rl,{}),o.view.type===cl.SUCCESS&&(0,gl.jsx)(Bl,{successText:"Connection secure",actionText:"Continue",successEventAction:function(){return Ju(Fs.METAMASK)},onActionClick:function(){return function(){var e=new CustomEvent(Iu.IMTBL_CONNECT_WIDGET_EVENT,{detail:{type:Nu.CLOSE_WIDGET,data:{}}});void 0!==window&&window.dispatchEvent(e)}()}}),o.view.type===cl.FAIL&&(0,gl.jsx)(Ol,{})]})})})})}var Dl=function(e){c(n,e);var t=p(n);function n(){var e;i(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).reactRoot=void 0,e.theme=Wu.LIGHT,e.providerPreference=Fs.METAMASK,e}return u(n,[{key:"attributeChangedCallback",value:function(e,t,n){this[e]=n,this.renderWidget()}},{key:"connectedCallback",value:function(){this.theme=this.getAttribute("theme"),this.providerPreference=this.getAttribute("providerPreference"),this.renderWidget()}},{key:"renderWidget",value:function(){var e={providerPreference:this.providerPreference};this.reactRoot||(this.reactRoot=Tu.createRoot(this)),this.reactRoot.render((0,gl.jsx)(g.StrictMode,{children:(0,gl.jsx)(Hl,{params:e,theme:this.theme})}))}}],[{key:"observedAttributes",get:function(){return["theme"]}}]),n}(m(HTMLElement)),zl=function(e,t){return t?e.find((function(e){var n;return(null===(n=e.address)||void 0===n?void 0:n.toLowerCase())===t.toLowerCase()})):e[0]},Ul=function(e){return e.sort((function(e,t){return e.symbol.localeCompare(t.symbol)}))},Zl={maxWidth:"400px",backgroundColor:"#333333",padding:"20px"},Wl={position:"relative",width:"200px"},Gl={backgroundColor:"black",color:"white",padding:"10px",cursor:"pointer"},ql={position:"absolute",width:"100%",backgroundColor:"black",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.3)",zIndex:"9999999"},Kl={padding:"10px",cursor:"pointer",transition:"all 0.2s"},Ql=function(e){var t=e.testId,n=e.onChange,r=e.token,i=(e.connection,e.filter),a=Ku((0,g.useState)(!1),2),o=a[0],s=a[1],u=Ku((0,g.useState)(null===r||void 0===r?void 0:r.symbol),2),l=u[0],c=u[1],f=Ku((0,g.useState)(null===r||void 0===r?void 0:r.icon),2),d=f[0],h=f[1],p=Ku((0,g.useState)([]),2),v=p[0],m=p[1],y=(0,g.useCallback)((function(e){c(null===e||void 0===e?void 0:e.symbol),h(null===e||void 0===e?void 0:e.icon),n(e)}),[c,h,n]);(0,g.useEffect)((function(){r&&y(r)}),[r,y]);var C=(0,g.useCallback)(E(b().mark((function e(){var t,n,r,i,a;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new Pu,e.next=3,r.getTokenAllowList({chainId:1,type:zs.SWAP});case 3:i=e.sent,a=Ul(i.tokens),m(a),c(null===(t=a[0])||void 0===t?void 0:t.symbol),h(null===(n=a[0])||void 0===n?void 0:n.icon);case 8:case"end":return e.stop()}}),e)}))),[]);return(0,g.useEffect)((function(){C()}),[C]),(0,gl.jsxs)(Qu.Box,{sx:Wl,onClick:function(){s(!o)},children:[(0,gl.jsxs)(Qu.Box,{testId:"".concat(t,"__selected-option"),sx:Gl,children:[(0,gl.jsx)("img",{style:{width:"16px",height:"16px"},alt:l,src:d}),(0,gl.jsx)(Qu.Body,{testId:"".concat(t,"__selected-option-text"),size:"small",children:l})]}),o&&(0,gl.jsx)(Qu.Box,{sx:ql,children:v.map((function(e){return!i||i.includes(e.address||"")?(0,gl.jsxs)(Qu.Box,{testId:"".concat(t,"__option-").concat(e.symbol),sx:Kl,onClick:function(){return y(e)},children:[(0,gl.jsx)("img",{style:{width:"16px",height:"16px"},src:e.icon,alt:e.symbol}),(0,gl.jsx)(Qu.Body,{size:"small",children:e.symbol})]},e.symbol):null}))})]})};function Yl(e){var t,n=e.onTokenChange,r=e.onAmountChange,i=e.token,a=e.amount,o=e.connection,s=null===(t=Wa((a||0).toString(),(null===i||void 0===i?void 0:i.decimals)||18))||void 0===t?void 0:t.toString();return(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",flexDirection:"column"},children:[(0,gl.jsx)(Qu.Body,{size:"medium",children:"I want to buy:"}),(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",flexDirection:"row"},children:[(0,gl.jsx)(Qu.TextInput,{testId:"buyField__amount",defaultValue:s,onChange:r,type:"number"}),(0,gl.jsx)(Ql,{testId:"buyField",token:i,onChange:n,connection:o})]})]})}var Jl=function(e){var t=e.fees,n=e.slippage,r=e.tokenSymbol;return(0,gl.jsxs)(Qu.Box,{children:[(0,gl.jsx)(Qu.Heading,{size:"xSmall",children:"Fees:"}),(0,gl.jsxs)(Qu.Body,{children:[t," ",r]}),(0,gl.jsx)(Qu.Heading,{size:"xSmall",children:"Slippage:"}),(0,gl.jsx)(Qu.Body,{children:n})]})},Xl=function(e){var t=e.provider,n=e.transaction,r=e.updateView,i=function(){var e=E(b().mark((function e(){var i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n&&t){e.next=2;break}return e.abrupt("return");case 2:return i=new Pu,e.prev=3,e.next=6,i.sendTransaction({provider:t,transaction:n});case 6:r(ac.SUCCESS),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(3),r(ac.SUCCESS,e.t0);case 12:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(){return e.apply(this,arguments)}}();return(0,gl.jsx)(Qu.Button,{disabled:!t||!n,variant:t&&n?"primary":"tertiary",onClick:i,children:"Swap"})};function $l(e,t,n){return ec.apply(this,arguments)}function ec(){return(ec=E(b().mark((function e(t,n,r){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{status:"ok",trade:{amountIn:we.from(r).mul(10),amountOut:we.from(r),tokenIn:{},tokenOut:{},fees:{amount:{bn:we.from("1000000000000"),formatted:"0.123"},percent:.1,token:{}},slippage:{amount:{bn:we.from("1000000000000"),formatted:"0.123"},percent:.1}}});case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function tc(e){var t,n=e.onTokenChange,r=e.onQuoteChange,i=e.token,a=e.quote,o=e.buyToken,s=e.buyAmount,u=e.connection,l=e.tokenAllowList,c=Ku((0,g.useState)(),2),f=c[0],d=c[1],h=Ku((0,g.useState)(!1),2),p=h[0],v=h[1],m=Ku((0,g.useState)(),2),y=m[0],C=m[1],x=(0,g.useMemo)((function(){return new Pu}),[]),k=null===(t=a&&Wa(a.trade.amountIn.toString(),null===i||void 0===i?void 0:i.decimals)||0)||void 0===t?void 0:t.toString(),S=(0,g.useCallback)(E(b().mark((function e(){var t,r,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.provider.getSigner().getAddress();case 2:return t=e.sent,e.next=5,x.getAllBalances({provider:u.provider,chainId:1,walletAddress:t});case 5:r=e.sent,i=r.balances.filter((function(e){return e.balance.gt(0)})).map((function(e){return w(w({},e),{},{token:zl(l,e.token.address||"")})})),d(i),i.length>0&&n(i[0].token);case 9:case"end":return e.stop()}}),e)}))),[u,x,l,n]),L=function(){var e=E(b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$l((null===i||void 0===i?void 0:i.address)||"",(null===o||void 0===o?void 0:o.address)||"",s);case 2:t=e.sent,r(t),v(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,g.useEffect)((function(){var e,t;o&&s&&i&&(e=L,t=1e3,y&&clearTimeout(y),C(setTimeout((function(){C(null),e()}),t).toString()),v(!0))}),[s,o,i]),(0,g.useEffect)((function(){f||S()}),[f,S]),(0,gl.jsxs)(Qu.Box,{sx:{mt:"20px"},children:[(0,gl.jsx)(Qu.Body,{as:"h4",children:"With"}),(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",flexDirection:"row"},children:[(0,gl.jsx)(Qu.TextInput,{testId:"withField__amount",disabled:!0,hideClearValueButton:!0,value:k}),(0,gl.jsx)(Ql,{testId:"withField",token:i,onChange:n,connection:u,filter:(f||[]).map((function(e){return e.token.address||""}))})]}),p&&(0,gl.jsx)(Qu.Body,{children:"Loading"})]})}function nc(e){var t=e.amount,n=e.fromContractAddress,r=e.toContractAddress,i=e.connection,a=e.allowedTokens,o=e.updateView,s=Ul(a),u=isNaN(Number(t))?we.from(0):we.from(t),l=Ku((0,g.useState)(u||0),2),c=l[0],f=l[1],d=Ku((0,g.useState)(zl(s,r)||s[0]),2),h=d[0],p=d[1],v=Ku((0,g.useState)(),2),m=v[0],y=v[1],b=Ku((0,g.useState)(zl(s,n)),2),C=b[0],x=b[1];return(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",flexDirection:"column"},children:[(0,gl.jsx)(Yl,{onTokenChange:function(e){p(e)},onAmountChange:function(e){var t,n=e.target.value;t=!n||isNaN(n)?we.from(0):Ga(n.toString(),null===h||void 0===h?void 0:h.decimals),f(t)},token:h,amount:c,connection:i}),(0,gl.jsx)(tc,{onTokenChange:function(e){x(e)},onQuoteChange:function(e){y(e)},token:C,quote:m,buyToken:h,buyAmount:c,connection:i,tokenAllowList:s}),m&&(0,gl.jsx)(Jl,{fees:m.trade.fees.amount.formatted,slippage:m.trade.slippage.amount.formatted,tokenSymbol:"imx"}),(0,gl.jsx)(Xl,{provider:i.provider,transaction:{nonce:"0x00",gasPrice:"0x000",gas:"0x000",to:"",from:"",value:"0x00",data:"0x000",chainId:5},updateView:o})]})}var rc=function(){var e=new CustomEvent(Iu.IMTBL_SWAP_WIDGET_EVENT,{detail:{type:Vu.SUCCESS,data:{timestamp:(new Date).getTime()}}});void 0!==window&&window.dispatchEvent(e)},ic=function(e){var t=new CustomEvent(Iu.IMTBL_SWAP_WIDGET_EVENT,{detail:{type:Vu.FAILURE,data:{reason:e,timestamp:(new Date).getTime()}}});void 0!==window&&window.dispatchEvent(t)},ac=function(e){return e.SWAP="SWAP",e.SUCCESS="SUCCESS",e.FAIL="FAIL",e}({});function oc(e){var t=Ku((0,g.useState)(),2),n=t[0],r=t[1],i=Ku((0,g.useState)([]),2),a=i[0],o=i[1],s=Ku((0,g.useState)(ac.SWAP),2),u=s[0],l=s[1],c=e.params,f=e.theme,d=c.amount,h=c.fromContractAddress,p=c.toContractAddress,v=c.providerPreference,m=f.toLowerCase()===Wu.LIGHT.toLowerCase()?Il.onLightBase:Il.onDarkBase,y=(0,g.useMemo)((function(){return new Pu}),[]),C=(0,g.useCallback)(E(b().mark((function e(){var t,n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=v,!e.t0){e.next=5;break}return e.next=4,y.connect({providerPreference:v});case 4:e.t0=e.sent;case 5:if(!(t=e.t0)){e.next=12;break}return r(t),e.next=10,y.getTokenAllowList({chainId:1,type:zs.SWAP});case 10:n=e.sent,o(n.tokens);case 12:case"end":return e.stop()}}),e)}))),[y,v]);(0,g.useEffect)((function(){C()}),[C]);var x=function(){var e=E(b().mark((function e(t,n){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l(t),t!==ac.SUCCESS){e.next=4;break}return rc(),e.abrupt("return");case 4:if(t!==ac.FAIL){e.next=7;break}return ic(n.message),e.abrupt("return");case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return(0,gl.jsx)(Qu.BiomeThemeProvider,{theme:{base:m},children:(0,gl.jsxs)(Qu.Box,{sx:Zl,children:[(0,gl.jsx)(Qu.Heading,{size:"medium",children:"Swap Widget"}),u===ac.SWAP&&function(){if(n)return(0,gl.jsx)(nc,{allowedTokens:a,amount:d,fromContractAddress:h,toContractAddress:p,connection:n,updateView:x})}(),u===ac.SUCCESS&&(0,gl.jsx)(Qu.Body,{children:"Success"}),u===ac.FAIL&&(0,gl.jsx)(Qu.Body,{children:"Failure"})]})})}var sc=function(e){c(n,e);var t=p(n);function n(){var e;i(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).reactRoot=void 0,e.theme=Wu.DARK,e.providerPreference=Fs.METAMASK,e.amount="",e.fromContractAddress="",e.toContractAddress="",e}return u(n,[{key:"attributeChangedCallback",value:function(e,t,n){this[e]=n,this.renderWidget()}},{key:"connectedCallback",value:function(){this.theme=this.getAttribute("theme"),this.providerPreference=this.getAttribute("providerPreference"),this.amount=this.getAttribute("amount"),this.fromContractAddress=this.getAttribute("fromContractAddress"),this.toContractAddress=this.getAttribute("toContractAddress"),this.renderWidget()}},{key:"renderWidget",value:function(){var e={providerPreference:this.providerPreference,amount:this.amount,fromContractAddress:this.fromContractAddress,toContractAddress:this.toContractAddress};this.reactRoot||(this.reactRoot=Tu.createRoot(this)),this.reactRoot.render((0,gl.jsx)(g.StrictMode,{children:(0,gl.jsx)(oc,{params:e,theme:this.theme})}))}}],[{key:"observedAttributes",get:function(){return["theme"]}}]),n}(m(HTMLElement)),uc={maxWidth:"400px",backgroundColor:"#333333",padding:"20px"},lc={width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",marginBottom:"20px",alignItems:"center"},cc={width:"100%",display:"flex",flexDirection:"row",marginBottom:"20px",alignItems:"center",justifyContent:"space-between"},fc={width:"100%",display:"flex",flexDirection:"column",marginBottom:"20px",alignItems:"center",rowGap:"8px"},dc=function(e){var t=e.networkName;return(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",flexGrow:"1",direction:"row",alignItems:"center"},children:[(0,gl.jsx)(Qu.Box,{sx:{paddingRight:"base.spacing.x1"},children:(0,gl.jsx)(Qu.Badge,{variant:""!==t?"success":"alert",isAnimated:""!==t})}),(0,gl.jsxs)(Qu.Body,{children:["Network:"," ",(0,gl.jsx)(Qu.Body,{testId:"network-name",sx:{textTransform:"capitalize"},children:t})]})]})},hc=function(e){var t=e.totalBalance;return(0,gl.jsxs)(Qu.Box,{sx:cc,children:[(0,gl.jsxs)(Qu.Heading,{testId:"heading",size:"medium",children:[" ","Tokens"]}),(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",direction:"row",columnGap:"base.spacing.x1"},children:[(0,gl.jsx)(Qu.Body,{size:"medium",children:"Value:"}),(0,gl.jsxs)(Qu.Body,{testId:"total-token-balance",size:"medium",children:["$",t.toFixed(2)]})]})]})},pc=function(e){var t=e.balanceInfo;return(0,gl.jsxs)(Qu.Box,{testId:"balance-item-".concat(t.symbol),sx:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",flexDirection:"column"},children:[(0,gl.jsx)(Qu.Body,{children:t.symbol}),(0,gl.jsx)(Qu.Body,{size:"small",children:t.description})]}),(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[(0,gl.jsx)(Qu.Body,{testId:"balance-item-".concat(t.symbol,"-balance"),children:t.balance}),(0,gl.jsxs)(Qu.Body,{testId:"balance-item-".concat(t.symbol,"-fiat"),size:"xSmall",children:["AUD $",t.fiatAmount]})]})]})},vc=function(e){var t=e.balanceInfoItems;return(0,gl.jsxs)(gl.Fragment,{children:[0===(null===t||void 0===t?void 0:t.length)&&(0,gl.jsx)(Qu.Body,{children:"No tokens found"}),null===t||void 0===t?void 0:t.map((function(e){return(0,gl.jsx)(pc,{balanceInfo:e},e.id)}))]})};function mc(e){var t=new CustomEvent(Iu.IMTBL_WALLET_WIDGET_EVENT,{detail:{type:ju.NETWORK_SWITCH,data:{network:e.name,chainId:e.chainId}}});console.log("in send success widget event:",t),void 0!==window&&window.dispatchEvent(t)}function gc(e){var t=e.params,n=e.theme.toLowerCase()===Wu.LIGHT.toLowerCase()?Il.onLightBase:Il.onDarkBase,r=Ku((0,g.useState)(),2),i=r[0],a=r[1],o=Ku((0,g.useState)(""),2),s=o[0],u=o[1],l=Ku((0,g.useState)(),2),c=l[0],f=l[1],d=Ku((0,g.useState)(0),2),h=d[0],p=d[1],v=Ku((0,g.useState)(!1),2),m=v[0],y=v[1],C=(0,g.useMemo)((function(){return new Pu}),[]),x=(0,g.useCallback)(function(){var e=E(b().mark((function e(t,n,r,i){var a,o,s,u;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=0,e.next=3,n.getSigner().getAddress();case 3:return o=e.sent,e.next=6,t.getAllBalances({provider:n,walletAddress:o,chainId:i});case 6:s=e.sent,u=[],s.balances.forEach((function(e){u.push({id:r+"-"+e.token.symbol,balance:e.formattedBalance,fiatAmount:"23.50",symbol:e.token.symbol,description:e.token.name})})),f(u),p(a);case 11:case"end":return e.stop()}}),e)})));return function(t,n,r,i){return e.apply(this,arguments)}}(),[]),w=(0,g.useCallback)(E(b().mark((function e(){var n,r,i,o,s;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!C){e.next=11;break}return r=null!==(n=t.providerPreference)&&void 0!==n?n:Fs.METAMASK,e.next=4,C.connect({providerPreference:r});case 4:return i=e.sent,o=i.network.name,s=i.network.chainId,e.next=9,x(C,i.provider,o,s);case 9:u(o),a(i.provider);case 11:case"end":return e.stop()}}),e)}))),[C,t.providerPreference,x]);(0,g.useEffect)((function(){w()}),[w]);var k=function(){var e=E(b().mark((function e(t){var n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),e.prev=1,e.next=4,C.switchNetwork({provider:i,chainId:t});case 4:return n=e.sent,e.next=7,w();case 7:mc(n.network),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(1);case 12:return e.prev=12,y(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,10,12,15]])})));return function(t){return e.apply(this,arguments)}}();return(0,gl.jsx)(Qu.BiomeThemeProvider,{theme:{base:n},children:(0,gl.jsxs)(Qu.Box,{sx:uc,children:[(0,gl.jsxs)(Qu.Box,{sx:lc,children:[(0,gl.jsx)(dc,{networkName:s}),(0,gl.jsx)(Qu.Button,{size:"small",sx:{alignSelf:"flex-end"},testId:"close-button",onClick:function(){return function(){console.log(ju.CLOSE_WIDGET);var e=new CustomEvent(Iu.IMTBL_WALLET_WIDGET_EVENT,{detail:{type:ju.CLOSE_WIDGET,data:{}}});console.log("in send close widget event:",e),void 0!==window&&window.dispatchEvent(e)}()},children:"x"})]}),(0,gl.jsx)(hc,{totalBalance:h}),(0,gl.jsxs)(Qu.Box,{sx:fc,children:[!m&&(0,gl.jsx)(vc,{balanceInfoItems:c}),m&&(0,gl.jsx)(Qu.Box,{sx:{width:"100%",height:"100px"},children:(0,gl.jsx)(Qu.Body,{children:"Loading"})})]}),s&&(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",direction:"row",justifyContent:"space-between"},children:[Uu.GOERLI!==s&&(0,gl.jsxs)(Qu.Button,{size:"small",testId:"goerli-network-button",onClick:function(){return k(Vs.GOERLI)},children:[(0,gl.jsx)(Qu.Badge,{isAnimated:!1}),"Switch to Goerli"]}),Uu.ETHEREUM!==s&&(0,gl.jsxs)(Qu.Button,{size:"small",testId:"eth-network-button",onClick:function(){return k(Vs.ETHEREUM)},children:[(0,gl.jsx)(Qu.Badge,{isAnimated:!1}),"Switch to Ethereum"]}),Uu.POLYGON!==s&&(0,gl.jsxs)(Qu.Button,{size:"small",testId:"polygon-network-button",onClick:function(){return k(Vs.POLYGON)},children:[(0,gl.jsx)(Qu.Badge,{isAnimated:!1}),"Switch to Polygon"]})]})]})})}var yc=function(e){c(n,e);var t=p(n);function n(){var e;i(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).reactRoot=void 0,e.theme=Wu.DARK,e.providerPreference=Fs.METAMASK,e}return u(n,[{key:"attributeChangedCallback",value:function(e,t,n){this[e]=n,this.renderWidget()}},{key:"connectedCallback",value:function(){this.theme=this.getAttribute("theme"),this.providerPreference=this.getAttribute("providerPreference"),this.renderWidget()}},{key:"renderWidget",value:function(){var e={providerPreference:this.providerPreference};this.reactRoot||(this.reactRoot=Tu.createRoot(this)),this.reactRoot.render((0,gl.jsx)(g.StrictMode,{children:(0,gl.jsx)(gc,{params:e,theme:this.theme})}))}}],[{key:"observedAttributes",get:function(){return["theme"]}}]),n}(m(HTMLElement)),bc={maxWidth:"400px",backgroundColor:"#333333",padding:"20px"},Cc=function(e){var t=e.provider,n=e.amount,r=e.balance,i=e.fromNetwork,a=e.updateTransactionResponse,o=e.updateView,s=function(){if(!n||!r||!i||isNaN(Number(n)))return!0;var e=Ga(n,null===r||void 0===r?void 0:r.token.decimals);return!!e.lte(0)||!!e.gt(r.balance)},u=function(){var e=E(b().mark((function e(){var n,r,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return n={nonce:"0x00",gasPrice:"0x000",gas:"0x000",to:"",from:"",value:"0x00",data:"0x000",chainId:5},r=new Pu,e.prev=4,e.next=7,r.sendTransaction({provider:t,transaction:n});case 7:i=e.sent,a(i.transactionResponse),o(Ac.SUCCESS),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),o(Ac.FAIL,e.t0);case 15:case"end":return e.stop()}}),e,null,[[4,12]])})));return function(){return e.apply(this,arguments)}}();return(0,gl.jsx)(Qu.Button,{testId:"bridge-button",disabled:s(),variant:s()?"tertiary":"primary",onClick:u,children:"Bridge"})},xc=function(e){var t=e.provider,n=e.balances,r=e.chainId,i=e.selectedNetwork,a=e.onSelectedNetworkChange,o=e.toNetwork,s=e.updateTransactionResponse,u=e.updateView,l=e.nativeCurrencySymbol,c=e.defaultAmount,f=e.defaultTokenAddress,d=Ku((0,g.useState)(c||"0"),2),h=d[0],p=d[1],v=Ku((0,g.useState)(),2),m=v[0],y=v[1];return(0,g.useEffect)((function(){var e,t;f&&(t=n.find((function(e){return e.token.address===f}))),t||(t=n.find((function(e){return e.token.symbol===l}))),y(null===(e=t)||void 0===e?void 0:e.token.symbol)}),[n,i,f,l]),(0,gl.jsxs)(Qu.Box,{sx:{paddingTop:"base.spacing.x4"},children:[(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",columnGap:"base.spacing.x4"},children:[(0,gl.jsx)(Qu.Body,{size:"small",children:"From:"}),(0,gl.jsxs)(Qu.Select,{testId:"select-network",selectedOption:i,onSelectChange:a,children:[(0,gl.jsx)(Qu.Option,{testId:"select-network-".concat(Uu.ETHEREUM),optionKey:Vs.ETHEREUM,children:(0,gl.jsx)(Qu.Option.Label,{children:Uu.ETHEREUM})},Uu.ETHEREUM),(0,gl.jsx)(Qu.Option,{testId:"select-network-".concat(Uu.POLYGON),optionKey:Vs.POLYGON,children:(0,gl.jsx)(Qu.Option.Label,{children:Uu.POLYGON})},Uu.POLYGON)]})]}),(0,gl.jsxs)(Qu.Box,{sx:{paddingTop:"base.spacing.x4",display:"flex",justifyContent:"space-between",alignItems:"center",columnGap:"base.spacing.x4"},children:[(0,gl.jsx)(Qu.TextInput,{testId:"amount",sx:{minWidth:"base.spacing.x20",width:"base.spacing.x40"},value:h,onChange:function(e){var t=e.target.value;p(t)},type:"number"}),(0,gl.jsx)(Qu.Select,{testId:"select-token",sx:{minWidth:"base.spacing.x20",width:"base.spacing.x40"},selectedOption:m,onSelectChange:function(e){y(e)},children:n.map((function(e){return(0,gl.jsx)(Qu.Option,{testId:"select-token-".concat(e.token.symbol),optionKey:e.token.symbol,children:(0,gl.jsx)(Qu.Option.Label,{children:e.token.symbol})},"".concat(r,"-").concat(e.token.symbol))}))})]}),(0,gl.jsx)(Qu.Box,{sx:{paddingTop:"base.spacing.x1",display:"flex",justifyContent:"flex-start"},children:!m&&(0,gl.jsx)(Qu.Body,{size:"xSmall",children:"You have no balances on this network"})}),(0,gl.jsxs)(Qu.Box,{sx:{paddingTop:"base.spacing.x4",display:"flex",flexDirection:"column"},children:[(0,gl.jsxs)(Qu.Body,{testId:"bridge-to-network",children:["To: ",o]}),(0,gl.jsxs)(Qu.Body,{testId:"receive-text",children:["You will receive:"," ",h&&m?"".concat(h," ").concat(m.toString()):""]})]}),(0,gl.jsx)(Cc,{provider:t,amount:h,balance:n.find((function(e){return e.token.symbol===m})),fromNetwork:i,updateTransactionResponse:s,updateView:u})]})};function wc(e,t){return kc.apply(this,arguments)}function kc(){return(kc=E(b().mark((function e(t,n){var r,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.getSigner().getAddress();case 2:return r=e.sent,e.next=5,n.getNetwork();case 5:return i=e.sent,e.next=8,t.getAllBalances({provider:n,walletAddress:r,chainId:i.chainId});case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ec=function(){var e=new CustomEvent(Iu.IMTBL_BRIDGE_WIDGET_EVENT,{detail:{type:Hu.SUCCESS,data:{timestamp:(new Date).getTime()}}});void 0!==window&&window.dispatchEvent(e)},Sc=function(e){var t=new CustomEvent(Iu.IMTBL_BRIDGE_WIDGET_EVENT,{detail:{type:Hu.FAILURE,data:{reason:e,timestamp:(new Date).getTime()}}});void 0!==window&&window.dispatchEvent(t)};var Lc,Mc=function(e){var t=e.hash;return(0,gl.jsx)(Qu.Link,{testId:"etherscan-link",href:"https://etherscan.io/tx/".concat(t),target:"_blank",children:"View your transaction on Etherscan"})},Ac=function(e){return e.BRIDGE="BRIDGE",e.SUCCESS="SUCCESS",e.FAIL="FAIL",e}({}),_c=Object.values(Uu).filter((function(e){return e.toString()!==Uu.GOERLI})),Pc=(C(Lc={},Uu.ETHEREUM,Vs.ETHEREUM),C(Lc,Uu.POLYGON,Vs.POLYGON),C(Lc,Uu.GOERLI,Vs.GOERLI),Lc);function Tc(e){var t=e.params,n=e.theme,r=t.providerPreference,i=t.fromContractAddress,a=t.amount,o=t.fromNetwork,s=n.toLowerCase()===Wu.LIGHT.toLowerCase()?Il.onLightBase:Il.onDarkBase,u=(0,g.useMemo)((function(){return o&&_c.includes(o)?Pc[o]:Vs.ETHEREUM}),[o]),l=(0,g.useRef)(!0),c=(0,g.useMemo)((function(){return new Pu}),[]),f=Ku((0,g.useState)(),2),d=f[0],h=f[1],p=Ku((0,g.useState)([]),2),v=p[0],m=p[1],y=Ku((0,g.useState)(),2),C=y[0],x=y[1],w=Ku((0,g.useState)(),2),k=w[0],S=w[1],L=Ku((0,g.useState)(""),2),M=L[0],A=L[1],_=Ku((0,g.useState)(""),2),P=_[0],T=_[1],R=Ku((0,g.useState)(Ac.BRIDGE),2),I=R[0],N=R[1],O=Ku((0,g.useState)(),2),j=O[0],F=O[1];(0,g.useEffect)((function(){var e=function(){var e=E(b().mark((function e(){var t,n,i,a,o,s,l;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.connect({providerPreference:r});case 2:if(t=e.sent,i=t.network.chainId,n=t.provider,a=!_c.includes(t.network.name),o=u!==t.network.chainId,!a&&!o){e.next=16;break}return e.next=10,c.switchNetwork({provider:t.provider,chainId:u});case 10:return s=e.sent,i=s.network.chainId,e.next=14,c.connect({providerPreference:r});case 14:t=e.sent,n=t.provider;case 16:h(n),x(i),S(i),l=_c.filter((function(e){return e.toString()!==t.network.name.toString()})),T(l[0]),A(t.network.nativeCurrency.symbol);case 22:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();l.current&&(l.current=!1,e())}),[c,r,u,l]),(0,g.useEffect)((function(){var e=function(){var e=E(b().mark((function e(){var t,n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!c||!d){e.next=6;break}return e.next=3,wc(c,d);case 3:t=e.sent,n=t.balances.filter((function(e){return e.balance.gt(0)})).sort((function(e,t){return t.token.symbol.localeCompare(e.token.symbol)})),m(n);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[c,d,k]);var V=(0,g.useCallback)(function(){var e=E(b().mark((function e(t){var n,i,a;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,c.switchNetwork({provider:d,chainId:t});case 4:return n=e.sent,e.next=7,c.connect({providerPreference:r});case 7:i=e.sent,h(i.provider),S(n.network.chainId),a=_c.filter((function(e){return e.toString()!==n.network.name.toString()})),T(a[0]),A(i.network.nativeCurrency.symbol);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[c,d,r]);var B=function(){var e=E(b().mark((function e(t,n){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(N(t),t!==Ac.SUCCESS){e.next=4;break}return Ec(),e.abrupt("return");case 4:if(t!==Ac.FAIL){e.next=7;break}return Sc(n.message),e.abrupt("return");case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),H=function(e){F(e)},D=function(){return(0,gl.jsxs)(gl.Fragment,{children:[(0,gl.jsx)(Qu.Body,{testId:"bridge-success",children:"Success"}),(0,gl.jsx)(Mc,{hash:(null===j||void 0===j?void 0:j.hash)||""})]})},z=function(){return(0,gl.jsx)(Qu.Body,{testId:"bridge-failure",children:"Failure"})};return(0,gl.jsx)(Qu.BiomeCombinedProviders,{theme:{base:s},children:(0,gl.jsx)(Qu.Box,{sx:bc,children:(0,gl.jsxs)(gl.Fragment,{children:[(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,gl.jsx)(Qu.Heading,{testId:"heading",children:"Bridge Widget"}),(0,gl.jsx)(Qu.Button,{size:"small",sx:{alignSelf:"flex-end"},testId:"close-button",onClick:function(){console.log("add close event to fire here")},children:"x"})]}),d&&c&&function(){switch(I){case Ac.BRIDGE:return(0,gl.jsx)(gl.Fragment,{children:c&&d&&(0,gl.jsx)(xc,{provider:d,balances:v,nativeCurrencySymbol:M,defaultAmount:a,defaultTokenAddress:i,chainId:C,selectedNetwork:k,toNetwork:P,onSelectedNetworkChange:V,updateTransactionResponse:H,updateView:B})});case Ac.SUCCESS:return D();case Ac.FAIL:return z()}}(),(!d||!c)&&(0,gl.jsx)(Qu.Body,{size:"small",children:"Loading..."})]})})})}var Rc=function(e){c(n,e);var t=p(n);function n(){var e;i(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).reactRoot=void 0,e.theme=Wu.LIGHT,e.fromNetwork=Uu.ETHEREUM,e.fromContract="",e.amount="",e.providerPreference=Fs.METAMASK,e}return u(n,[{key:"setTheme",value:function(e){this.theme=e,this.connectedCallback()}},{key:"attributeChangedCallback",value:function(e,t,n){this[e]=n,this.renderWidget()}},{key:"connectedCallback",value:function(){this.theme=this.getAttribute("theme"),this.fromContract=this.getAttribute("fromContractAddress"),this.fromNetwork=this.getAttribute("fromNetwork"),this.amount=this.getAttribute("amount"),this.providerPreference=this.getAttribute("providerPreference"),this.renderWidget()}},{key:"renderWidget",value:function(){var e={providerPreference:this.providerPreference,fromContractAddress:this.fromContract,fromNetwork:this.fromNetwork,amount:this.amount};this.reactRoot||(this.reactRoot=Tu.createRoot(this)),this.reactRoot.render((0,gl.jsx)(g.StrictMode,{children:(0,gl.jsx)(Tc,{params:e,theme:this.theme})}))}}],[{key:"observedAttributes",get:function(){return["theme"]}}]),n}(m(HTMLElement)),Ic={maxWidth:"400px",backgroundColor:"#333333",padding:"20px"};function Nc(e){var t=e.params,n=e.theme,r=t.provider,i=Ku((0,g.useState)(0),2),a=i[0],o=i[1],s=n.toLowerCase()===Wu.LIGHT.toLowerCase()?Il.onLightBase:Il.onDarkBase;return(0,gl.jsx)(Qu.BiomeThemeProvider,{theme:{base:s},children:(0,gl.jsxs)(Qu.Box,{sx:Ic,children:[(0,gl.jsx)(Qu.Heading,{children:"Example Widget"}),(0,gl.jsx)("br",{}),(0,gl.jsx)(Qu.Button,{onClick:function(){console.log("provider",r),o(a+1)},children:"Log Provider"}),(0,gl.jsx)("br",{}),(0,gl.jsxs)(Qu.Body,{children:["Logged: ",a]})]})})}var Oc=function(e){c(n,e);var t=p(n);function n(){var e;i(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).reactRoot=void 0,e.theme=Wu.LIGHT,e.fromNetwork=Uu.ETHEREUM,e.fromContract="",e.amount="",e.providerPreference=Fs.METAMASK,e.provider=void 0,e}return u(n,[{key:"setProvider",value:function(e){this.provider=e,this.renderWidget()}},{key:"attributeChangedCallback",value:function(e,t,n){this[e]=n,this.renderWidget()}},{key:"connectedCallback",value:function(){this.theme=this.getAttribute("theme"),this.fromContract=this.getAttribute("fromContractAddress"),this.fromNetwork=this.getAttribute("fromNetwork"),this.amount=this.getAttribute("amount"),this.providerPreference=this.getAttribute("providerPreference"),this.renderWidget()}},{key:"renderWidget",value:function(){var e={providerPreference:this.providerPreference,fromContractAddress:this.fromContract,fromNetwork:this.fromNetwork,amount:this.amount,provider:this.provider};this.reactRoot||(this.reactRoot=Tu.createRoot(this)),this.reactRoot.render((0,gl.jsx)(g.StrictMode,{children:(0,gl.jsx)(Nc,{params:e,theme:this.theme})}))}}],[{key:"observedAttributes",get:function(){return["theme"]}}]),n}(m(HTMLElement)),jc={maxWidth:"400px",backgroundColor:"#333333",padding:"20px"};function Fc(e){var t=e.fees;return(0,gl.jsxs)(Qu.Box,{children:[(0,gl.jsx)(Qu.Body,{testId:"fees_heading",size:"small",children:"Fees"}),t.map((function(e,t){return(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",mt:"base.spacing.x1",alignItems:"center"},children:[(0,gl.jsx)(Qu.Body,{testId:"fee_description_".concat(t),size:"xSmall",sx:{mr:"base.spacing.x2"},children:"Royalty to ".concat(e.recipient,":")}),(0,gl.jsx)("img",{src:e.token.icon,alt:"icon",height:"8px"}),(0,gl.jsx)(Qu.Body,{testId:"fee_amount_".concat(t),size:"xSmall",sx:{ml:"base.spacing.x1"},children:e.amount.formatted})]})}))]})}function Vc(e){var t=e.order,n=e.asset;return(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",mt:"base.spacing.x5"},children:[(0,gl.jsx)("img",{src:n.image,alt:"Asset",height:"200px"}),(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",flexDirection:"column"},children:[(0,gl.jsx)(Qu.Body,{testId:"collection_name",size:"small",children:n.collection.name}),(0,gl.jsx)(Qu.Heading,{testId:"asset_name",size:"small",children:n.name}),(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",mt:"base.spacing.x1",alignItems:"center"},children:[(0,gl.jsx)("img",{src:t.buy.token.icon,alt:"icon",height:"12px"}),(0,gl.jsx)(Qu.Heading,{testId:"buy_amount",size:"xSmall",sx:{ml:"base.spacing.x2"},children:t.buy.amount.formatted})]}),(0,gl.jsx)(Fc,{fees:t.buyFees})]})]})}var Bc=function(){var e=new CustomEvent(Iu.IMTBL_BUY_WIDGET_EVENT,{detail:{type:Du.SUCCESS,data:{timestamp:(new Date).getTime()}}});void 0!==window&&window.dispatchEvent(e)},Hc=function(e){var t=new CustomEvent(Iu.IMTBL_BUY_WIDGET_EVENT,{detail:{type:Du.FAILURE,data:{reason:e,timestamp:(new Date).getTime()}}});void 0!==window&&window.dispatchEvent(t)},Dc=function(){var e=new CustomEvent(Iu.IMTBL_BUY_WIDGET_EVENT,{detail:{type:Du.CLOSE,data:{}}});void 0!==window&&window.dispatchEvent(e)},zc=function(e){var t=new CustomEvent(Iu.IMTBL_BUY_WIDGET_EVENT,{detail:{type:Du.NOT_CONNECTED,data:{providerPreference:e}}});void 0!==window&&window.dispatchEvent(t)};function Uc(e){var t=e.order,n=e.provider,r=e.checkout,i=e.orderbook,a=e.chainId,o=e.updateView,s=function(){var e=E(b().mark((function e(){var s;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,i.createOrder(a,t.id);case 5:return s=e.sent,e.next=8,r.sendTransaction({provider:n,transaction:s});case 8:Bc(),o(Zc.SUCCESS),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(2),Hc(e.t0),o(Zc.FAIL,e.t0);case 16:case"end":return e.stop()}}),e,null,[[2,12]])})));return function(){return e.apply(this,arguments)}}();return(0,gl.jsx)(Qu.Button,{testId:"buy_asset_button",variant:"primary",onClick:E(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s();case 2:case"end":return e.stop()}}),e)}))),sx:{width:"100%",mt:"base.spacing.x2"},children:"Buy Asset"})}var Zc=function(e){return e.BUY="BUY",e.SUCCESS="SUCCESS",e.FAIL="FAIL",e}({}),Wc=function(){function e(){i(this,e)}return u(e,null,[{key:"getAsset",value:function(){var e=E(b().mark((function e(t,n){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{image:"https://card.godsunchained.com/?id=1659&q=4",name:"Furious Felid",collection:{address:"0xacb3c6a43d15b907e8433077b6d38ae40936fe2c",name:"Gods Unchained Cards"}});case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()}]),e}(),Gc=function(){function e(t){i(this,e),this.provider=void 0,this.provider=t}return u(e,[{key:"createOrder",value:function(){var e=E(b().mark((function e(t,n){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{nonce:"0x00",gasPrice:"0x000",gas:"0x000",to:"",from:"",value:"0x00",data:"0x000",chainId:5});case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"getOrder",value:function(){var e=E(b().mark((function e(t,n){var r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={address:"",name:"Immutable X",symbol:"IMX",decimal:18,icon:"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 139 113' style='enable-background:new 0 0 139 113;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bclip-path:url(%23SVGID_00000053504646934646330740000009134454895836103350_);%7D .st1%7Bfill:%2317B5CB;%7D%0A%3C/style%3E%3Cg%3E%3Cdefs%3E%3Crect id='SVGID_1_' width='139' height='113'/%3E%3C/defs%3E%3CclipPath id='SVGID_00000035518931339590433170000002358037249938198420_'%3E%3Cuse xlink:href='%23SVGID_1_' style='overflow:visible;'/%3E%3C/clipPath%3E%3Cg style='clip-path:url(%23SVGID_00000035518931339590433170000002358037249938198420_);'%3E%3Cpath class='st1' d='M124.1,0h14.6L79.5,67.6c-1.5,1.7-1.6,4.3-0.1,6.1l34.1,39.7H98.3L66.8,76.6l-1.6-2c-1.5-1.7-1.4-4.4,0.1-6.1 L124.1,0z'/%3E%3Cpath class='st1' d='M91.2,73.7c-1-1.1-1.3-2.7-1-4.1c0.3-0.8,0.8-1.6,1.4-2.2l3.9-4.3l43.5,50.3h-13.8 C125.2,113.4,99.7,83.6,91.2,73.7z'/%3E%3Cpath class='st1' d='M15.2,113.4H0l46.6-53.9c1.5-1.7,1.5-4.3,0-6L0.4,0H15l46.5,53.9c1.2,1.6,1.4,3.9,0.1,5.4 C49.4,73.4,15.2,113.4,15.2,113.4z'/%3E%3Cpath class='st1' d='M40.6,0h-14l43.1,49.9c0,0,0.1-0.1,4.9-5.8c1.3-1.5,1.6-3.4,0.1-4.9C65.7,30,40.6,0,40.6,0z'/%3E%3Cpath class='st1' d='M82.6,34.8L112.5,0H98.3L82.7,18.2l-4.5,5.3c-1.5,1.7-1.6,4.3-0.1,6.1C79.2,30.9,82.6,34.8,82.6,34.8z'/%3E%3Cpath class='st1' d='M56.6,78.6l-29.9,34.8h14.1l15.6-18.2l4.5-5.3c1.5-1.7,1.6-4.3,0.1-6.1C59.9,82.5,56.6,78.6,56.6,78.6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A"},e.abrupt("return",{accountAddress:"0x96654086969DCaa88933E753Aa52d46EAB269Ff7",buy:{itemType:"IMX",token:r,amount:{bn:we.from("10000000000000000000"),formatted:"10.0"}},sell:{token:"0x20c",tokenIdentifier:"12345"},buyFees:[{amount:{bn:we.from("10000000000000000"),formatted:"0.01"},token:r,type:"ROYALTY",recipient:"0x1bc"},{amount:{bn:we.from("20000000000000000"),formatted:"0.02"},token:r,type:"ROYALTY",recipient:"0x2de"}],chainId:"1",createTime:(new Date).getTime().toString(),endTime:new Date((new Date).getTime()+36e5).toString(),id:"1",status:"ACTIVE"});case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()}]),e}();function qc(e){var t=e.params,n=t.providerPreference,r=t.orderId,i=e.theme,a=(0,g.useMemo)((function(){return new Pu}),[]),o=Ku((0,g.useState)(),2),s=o[0],u=o[1],l=Ku((0,g.useState)(),2),c=l[0],f=l[1],d=Ku((0,g.useState)(),2),h=d[0],p=d[1],v=Ku((0,g.useState)(),2),m=v[0],y=v[1],C=Ku((0,g.useState)(),2),x=C[0],w=C[1],k=Ku((0,g.useState)(Zc.BUY),2),S=k[0],L=k[1],M=i.toLowerCase()===Wu.LIGHT.toLowerCase()?Il.onLightBase:Il.onDarkBase;(0,g.useEffect)((function(){var e=function(){var e=E(b().mark((function e(){var t,i,o,s,l,c;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.checkIsWalletConnected({providerPreference:n});case 2:if(!e.sent.isConnected){e.next=22;break}return e.next=5,a.connect({providerPreference:n});case 5:return t=e.sent,i=t.network.chainId,o=t.provider,s=new Gc(o),e.next=11,s.getOrder(i,r);case 11:return l=e.sent,e.next=14,Wc.getAsset(l.sell.token,l.sell.tokenIdentifier);case 14:c=e.sent,u(o),p(i),f(s),y(l),w(c),e.next=23;break;case 22:zc(n);case 23:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[a,n,r]);return(0,gl.jsx)(Qu.BiomeThemeProvider,{theme:{base:M},children:(0,gl.jsxs)(Qu.Box,{sx:jc,children:[(0,gl.jsxs)(Qu.Box,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,gl.jsx)(Qu.Heading,{testId:"heading",children:"Buy Widget"}),(0,gl.jsx)(Qu.Button,{size:"small",sx:{alignSelf:"flex-end"},testId:"close-button",onClick:Dc,children:"x"})]}),S===Zc.BUY&&m&&x&&s&&(0,gl.jsxs)(gl.Fragment,{children:[(0,gl.jsx)(Vc,{order:m,asset:x}),(0,gl.jsx)(Uc,{order:m,checkout:a,provider:s,chainId:h,orderbook:c,updateView:L})]}),S===Zc.SUCCESS&&(0,gl.jsx)(Qu.Body,{children:"Success"}),S===Zc.FAIL&&(0,gl.jsx)(Qu.Body,{children:"Failure"})]})})}var Kc=function(e){c(n,e);var t=p(n);function n(){var e;i(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).reactRoot=void 0,e.theme=Wu.LIGHT,e.orderId="",e.providerPreference=Fs.METAMASK,e}return u(n,[{key:"attributeChangedCallback",value:function(e,t,n){this[e]=n,this.renderWidget()}},{key:"connectedCallback",value:function(){this.theme=this.getAttribute("theme"),this.providerPreference=this.getAttribute("providerPreference"),this.orderId=this.getAttribute("orderId"),this.renderWidget()}},{key:"renderWidget",value:function(){var e={providerPreference:this.providerPreference,orderId:this.orderId};this.reactRoot||(this.reactRoot=Tu.createRoot(this)),this.reactRoot.render((0,gl.jsx)(g.StrictMode,{children:(0,gl.jsx)(qc,{params:e,theme:this.theme})}))}}],[{key:"observedAttributes",get:function(){return["theme"]}}]),n}(m(HTMLElement)),Qc=function(e){return e.VIEW_ONE="VIEW_ONE",e.VIEW_TWO="VIEW_TWO",e.VIEW_THREE="VIEW_THREE",e}({}),Yc=function(){var e=(0,g.useContext)(ul).viewDispatch;return(0,gl.jsxs)(yl,{header:(0,gl.jsx)(xl,{title:"Transition Example",showClose:!0}),footer:(0,gl.jsx)(_l,{}),children:[(0,gl.jsx)(Qu.Heading,{children:"View One"}),(0,gl.jsx)(Qu.Button,{onClick:function(){e({payload:{type:sl.UPDATE_VIEW,view:{type:Qc.VIEW_TWO}}})},children:"Go To View Two"})]})};var Jc=n.p+"static/media/PurpleDownGradient.8d8c72dc73fafbf612de3ec0fd6a2c46.svg",Xc=function(){var e=(0,g.useContext)(ul).viewDispatch,t=Ku((0,g.useState)("Next"),2),n=t[0],r=t[1],i=Ku((0,g.useState)($c),2),a=i[0],o=i[1],s=Ku((0,g.useState)(Jc),2),u=s[0],l=s[1],c=Ku((0,g.useState)((function(){return h})),2),f=c[0],d=c[1];function h(){r("Previous"),o(ef),d((function(){return p})),l(Tl)}function p(){r("Next"),o($c),d((function(){return h})),l(Jc)}return(0,gl.jsxs)(yl,{header:(0,gl.jsx)(xl,{showClose:!0,showBack:!0,transparent:!0}),footer:(0,gl.jsx)(Vl,{actionText:n,onActionClick:function(){return f()}}),heroImage:u,floatHeader:!0,children:[a,(0,gl.jsx)(Qu.Button,{onClick:function(){e({payload:{type:sl.UPDATE_VIEW,view:{type:Qc.VIEW_THREE}}})},children:"Go To View Three"})]})},$c=function(){return(0,gl.jsxs)(gl.Fragment,{children:[(0,gl.jsx)(Qu.Heading,{children:"View Two"}),(0,gl.jsx)(Qu.Body,{children:"Some content here"})]})},ef=function(){return(0,gl.jsxs)(gl.Fragment,{children:[(0,gl.jsx)(Qu.Heading,{children:"View Two More"}),(0,gl.jsx)(Qu.Body,{children:"More content"})]})},tf=function(e){return e.CONTENT_ONE="CONTENT_ONE",e.CONTENT_TWO="CONTENT_TWO",e}(tf||{}),nf=function(){var e=Ku((0,g.useState)(tf.CONTENT_ONE),2),t=e[0],n=e[1],r=(0,g.useCallback)((function(e){switch(e){case tf.CONTENT_ONE:n(tf.CONTENT_TWO);break;case tf.CONTENT_TWO:default:n(tf.CONTENT_ONE)}}),[]);return(0,gl.jsxs)(yl,{header:(0,gl.jsx)(xl,{showClose:!0,showBack:!0,onBackButtonClick:t===tf.CONTENT_TWO?function(){return r(t)}:void 0}),footer:t===tf.CONTENT_ONE?(0,gl.jsx)(Vl,{actionText:"Next",onActionClick:function(){return r(t)}}):(0,gl.jsx)(_l,{}),children:[t===tf.CONTENT_ONE&&(0,gl.jsx)(rf,{}),t===tf.CONTENT_TWO&&(0,gl.jsx)(af,{})]})},rf=function(){return(0,gl.jsxs)(gl.Fragment,{children:[(0,gl.jsx)(Qu.Heading,{children:"View Three"}),(0,gl.jsx)(Qu.Body,{children:"Some content here"})]})},af=function(){return(0,gl.jsxs)(gl.Fragment,{children:[(0,gl.jsx)(Qu.Heading,{children:"View Three More"}),(0,gl.jsx)(Qu.Body,{children:"More content"})]})};function of(e){var t=e.theme,n=Ku((0,g.useReducer)(ll,ol),2),r=n[0],i=n[1],a=t.toLowerCase()===Wu.LIGHT.toLowerCase()?Il.onLightBase:Il.onDarkBase;return(0,g.useEffect)((function(){i({payload:{type:sl.UPDATE_VIEW,view:{type:Qc.VIEW_ONE}}})}),[]),(0,gl.jsx)(Qu.BiomeThemeProvider,{theme:{base:a},children:(0,gl.jsxs)(ul.Provider,{value:{viewState:r,viewDispatch:i},children:[r.view.type===Qc.VIEW_ONE&&(0,gl.jsx)(Yc,{}),r.view.type===Qc.VIEW_TWO&&(0,gl.jsx)(Xc,{}),r.view.type===Qc.VIEW_THREE&&(0,gl.jsx)(nf,{})]})})}var sf=function(e){c(n,e);var t=p(n);function n(){var e;i(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).reactRoot=void 0,e.theme=Wu.LIGHT,e}return u(n,[{key:"attributeChangedCallback",value:function(e,t,n){this[e]=n,this.renderWidget()}},{key:"connectedCallback",value:function(){this.theme=this.getAttribute("theme"),this.renderWidget()}},{key:"renderWidget",value:function(){this.reactRoot||(this.reactRoot=Tu.createRoot(this)),this.reactRoot.render((0,gl.jsx)(g.StrictMode,{children:(0,gl.jsx)(of,{params:{},theme:this.theme})}))}}],[{key:"observedAttributes",get:function(){return["theme"]}}]),n}(m(HTMLElement));customElements.define("imtbl-connect",Dl),customElements.define("imtbl-wallet",yc),customElements.define("imtbl-swap",sc),customElements.define("imtbl-bridge",Rc),customElements.define("imtbl-example",Oc),customElements.define("imtbl-buy",Kc),customElements.define("imtbl-transition-example",sf)}()}();