From de808cdcc69d66f04870de157992d0c8ec54c88c Mon Sep 17 00:00:00 2001 From: xecdev Date: Thu, 27 Feb 2025 21:11:35 +0430 Subject: [PATCH 1/2] Bundle PayButton Core JS file within the plugin --- assets/js/paybutton.js | 50 +++++++++++++++++++++++++++++ includes/class-paybutton-public.php | 2 +- 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 assets/js/paybutton.js diff --git a/assets/js/paybutton.js b/assets/js/paybutton.js new file mode 100644 index 0000000..1758e12 --- /dev/null +++ b/assets/js/paybutton.js @@ -0,0 +1,50 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).PayButton=t()}(this,(function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},e=Array.isArray(e)?e.map((e=>e.trim())).filter((e=>e.length)).join("-"):e.trim(),0===e.length)return"";const n=!1===t.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t.locale),r=!1===t.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t.locale);if(1===e.length)return t.pascalCase?r(e):n(e);return e!==n(e)&&(e=((e,t,n)=>{let r=!1,o=!1,s=!1;for(let u=0;u(s.lastIndex=0,e.replace(s,(e=>t(e)))))(e,n):n(e),t.pascalCase&&(e=r(e.charAt(0))+e.slice(1)),((e,t)=>(f.lastIndex=0,d.lastIndex=0,e.replace(f,((e,n)=>t(n))).replace(d,(e=>t(e)))))(e,r)};o.exports=h,o.exports.default=h;var p=n(o.exports),m={black:"#000",white:"#fff"},g={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},y={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},v={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},b={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},w={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},A={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?E({},e):e;return x(e)&&x(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(x(t[o])&&o in e?r[o]=R(e[o],t[o],n):r[o]=t[o])})),r}function k(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:String(t)}function C(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function T(e){if(e.type)return e;if("#"===e.charAt(0))return T(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(B(3,e));var r=e.substring(t+1,e.length-1).split(",");return r=r.map((function(e){return parseFloat(e)})),{type:n,values:r}}function L(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function M(e){var t="hsl"===(e=T(e)).type?T(function(e){var t=(e=T(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",u.push(t[3])),L({type:s,values:u})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function P(e,t){return e=T(e),t=O(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,L(e)}function D(e,t){if(e=T(e),t=O(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return L(e)}function N(e,t){if(e=T(e),t=O(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return L(e)}function I(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function U(e,t){if(null==e)return{};var n,r,o=I(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var j=["xs","sm","md","lg","xl"];function F(e,t,n){var r;return E({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),E({paddingLeft:t(2),paddingRight:t(2)},n,C({},e.up("sm"),E({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},C(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),C(r,e.up("sm"),{minHeight:64}),r)},n)}var z={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:m.white,default:_[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},q={text:{primary:m.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:_[800],default:"#303030"},action:{active:m.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function W(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=N(e.main,o):"dark"===t&&(e.dark=D(e.main,i)))}function H(e){var t=e.primary,n=void 0===t?{light:v[300],main:v[500],dark:v[700]}:t,r=e.secondary,o=void 0===r?{light:y.A200,main:y.A400,dark:y.A700}:r,i=e.error,a=void 0===i?{light:g[300],main:g[500],dark:g[700]}:i,s=e.warning,u=void 0===s?{light:A[300],main:A[500],dark:A[700]}:s,l=e.info,c=void 0===l?{light:b[300],main:b[500],dark:b[700]}:l,f=e.success,d=void 0===f?{light:w[300],main:w[500],dark:w[700]}:f,h=e.type,p=void 0===h?"light":h,S=e.contrastThreshold,x=void 0===S?3:S,k=e.tonalOffset,C=void 0===k?.2:k,O=U(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function T(e){var t=function(e,t){var n=M(e),r=M(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,q.text.primary)>=x?q.text.primary:z.text.primary;return t}var L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=E({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(B(4,t));if("string"!=typeof e.main)throw new Error(B(5,JSON.stringify(e.main)));return W(e,"light",n,C),W(e,"dark",r,C),e.contrastText||(e.contrastText=T(e.main)),e},P={dark:q,light:z};return R(E({common:m,type:p,primary:L(n),secondary:L(o,"A400","A200","A700"),error:L(a),warning:L(u),info:L(c),success:L(d),grey:_,contrastThreshold:x,getContrastText:T,augmentColor:L,tonalOffset:C},P[p]),O)}function V(e){return Math.round(1e5*e)/1e5}function Z(e){return V(e)}var K={textTransform:"uppercase"},G='"Roboto", "Helvetica", "Arial", sans-serif';function X(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?G:r,i=n.fontSize,a=void 0===i?14:i,s=n.fontWeightLight,u=void 0===s?300:s,l=n.fontWeightRegular,c=void 0===l?400:l,f=n.fontWeightMedium,d=void 0===f?500:f,h=n.fontWeightBold,p=void 0===h?700:h,m=n.htmlFontSize,g=void 0===m?16:m,y=n.allVariants,v=n.pxToRem,b=U(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),w=a/14,A=v||function(e){return"".concat(e/g*w,"rem")},_=function(e,t,n,r,i){return E({fontFamily:o,fontWeight:e,fontSize:A(t),lineHeight:n},o===G?{letterSpacing:"".concat(V(r/t),"em")}:{},i,y)},S={h1:_(u,96,1.167,-1.5),h2:_(u,60,1.2,-.5),h3:_(c,48,1.167,0),h4:_(c,34,1.235,.25),h5:_(c,24,1.334,0),h6:_(d,20,1.6,.15),subtitle1:_(c,16,1.75,.15),subtitle2:_(d,14,1.57,.1),body1:_(c,16,1.5,.15),body2:_(c,14,1.43,.15),button:_(d,14,1.75,.4,K),caption:_(c,12,1.66,.4),overline:_(c,12,2.66,1,K)};return R(E({htmlFontSize:g,pxToRem:A,round:Z,fontFamily:o,fontSize:a,fontWeightLight:u,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:p},S),b,{clone:!1})}function Y(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var J=["none",Y(0,2,1,-1,0,1,1,0,0,1,3,0),Y(0,3,1,-2,0,2,2,0,0,1,5,0),Y(0,3,3,-2,0,3,4,0,0,1,8,0),Y(0,2,4,-1,0,4,5,0,0,1,10,0),Y(0,3,5,-1,0,5,8,0,0,1,14,0),Y(0,3,5,-1,0,6,10,0,0,1,18,0),Y(0,4,5,-2,0,7,10,1,0,2,16,1),Y(0,5,5,-3,0,8,10,1,0,3,14,2),Y(0,5,6,-3,0,9,12,1,0,3,16,2),Y(0,6,6,-3,0,10,14,1,0,4,18,3),Y(0,6,7,-4,0,11,15,1,0,4,20,3),Y(0,7,8,-4,0,12,17,2,0,5,22,4),Y(0,7,8,-4,0,13,19,2,0,5,24,4),Y(0,7,9,-4,0,14,21,2,0,5,26,4),Y(0,8,9,-5,0,15,22,2,0,6,28,5),Y(0,8,10,-5,0,16,24,2,0,6,30,5),Y(0,8,11,-5,0,17,26,2,0,6,32,5),Y(0,9,11,-5,0,18,28,2,0,7,34,6),Y(0,9,12,-6,0,19,29,2,0,7,36,6),Y(0,10,13,-6,0,20,31,3,0,8,38,7),Y(0,10,13,-6,0,21,33,3,0,8,40,7),Y(0,10,14,-6,0,22,35,3,0,8,42,7),Y(0,11,14,-7,0,23,36,3,0,9,44,8),Y(0,11,15,-7,0,24,38,3,0,9,46,8)],Q={borderRadius:4};function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2){if(!Oe[e])return[e];e=Oe[e]}var t=ke(e.split(""),2),n=t[0],r=t[1],o=Ce[n],i=Be[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Le=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Me(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function Pe(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function De(e){var t=Me(e.theme);return Object.keys(e).map((function(n){if(-1===Le.indexOf(n))return null;var r=Pe(Te(n),t),o=e[n];return ie(e,o,r)})).reduce(ne,{})}De.propTypes={},De.filterProps=Le;var Ne=ue(se({prop:"fontFamily",themeKey:"typography"}),se({prop:"fontSize",themeKey:"typography"}),se({prop:"fontStyle",themeKey:"typography"}),se({prop:"fontWeight",themeKey:"typography"}),se({prop:"letterSpacing"}),se({prop:"lineHeight"}),se({prop:"textAlign"}));var Ie={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ue={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function je(e){return"".concat(Math.round(e),"ms")}var Fe={easing:Ie,duration:Ue,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?Ue.standard:n,o=t.easing,i=void 0===o?Ie.easeInOut:o,a=t.delay,s=void 0===a?0:a;return U(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:je(r)," ").concat(i," ").concat("string"==typeof s?s:je(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},ze={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var qe="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",We=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function He(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}var Ve="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},Ze="object"===("undefined"==typeof window?"undefined":Ve(window))&&"object"===("undefined"==typeof document?"undefined":Ve(document))&&9===document.nodeType;function Ke(e,t){for(var n=0;n<+~=|^:(),"'`\s])/g,st="undefined"!=typeof CSS&&CSS.escape,ut=function(e){return st?st(e):e.replace(at,"\\$1")},lt=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var u=this.options.sheet;return u&&u.attached,this},e}(),ct=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,u=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=u(Je(Je(o)),s),o.selectorText="."+ut(o.id)),o}Ye(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=nt(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?E({},e,{allowEmpty:!0}):e;return it(this.selectorText,this.style,n)},Ge(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(lt),ft={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new ct(e,t,n)}},dt={indent:1,children:!0},ht=/@([\w-]+)/,pt=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(ht);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Ut(E({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=dt);var t=rt(e).linebreak;if(null==e.indent&&(e.indent=dt.indent),null==e.children&&(e.children=dt.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),mt=/@container|@media|@supports\s+/,gt={onCreateRule:function(e,t,n){return mt.test(e)?new pt(e,t,n):null}},yt={indent:1,children:!0},vt=/@keyframes\s+([\w-]+)/,bt=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(vt);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var s in this.id=!1===o?this.name:ut(a(this,i)),this.rules=new Ut(E({},n,{parent:this})),t)this.rules.add(s,t[s],E({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=yt);var t=rt(e).linebreak;if(null==e.indent&&(e.indent=yt.indent),null==e.children&&(e.children=yt.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),wt=/@keyframes\s+/,At=/\$([\w-]+)/g,_t=function(e,t){return"string"==typeof e?e.replace(At,(function(e,n){return n in t?t[n]:e})):e},Et=function(e,t,n){var r=e[t],o=_t(r,n);o!==r&&(e[t]=o)},St={onCreateRule:function(e,t,n){return"string"==typeof e&&wt.test(e)?new bt(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Et(e,"animation-name",n.keyframes),"animation"in e&&Et(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return _t(e,r.keyframes);default:return e}}},xt=function(e){function t(){return e.apply(this,arguments)||this}return Ye(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?E({},e,{allowEmpty:!0}):e;return it(this.key,this.style,n)},t}(lt),Rt={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new xt(e,t,n):null}},kt=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=rt(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=I(t,["attached"]),o=rt(r).linebreak,i="",a=0;a-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},Yt=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Jt=function(e,t){return e.selectorText=t,e.selectorText===t},Qt=Kt((function(){return document.querySelector("head")}));function $t(e){var t=qt.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Qt(),n=0;nn?n:t},rn=function(){function e(e){this.getPropertyValue=Gt,this.setProperty=Xt,this.removeProperty=Yt,this.setSelector=Jt,this.hasInsertedRules=!1,this.cssRules=[],e&&qt.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=en();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=$t(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Qt().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n-1){var o=pr[e];if(!Array.isArray(o))return Zn.js+Qn(o)in t&&Zn.css+o;if(!r)return!1;for(var i=0;i2&&(a.children=arguments.length>3?Lr.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return Xr(e,a,r,o,null)}function Xr(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++Pr:o,__i:-1,__u:0};return null==o&&null!=Mr.vnode&&Mr.vnode(i),i}function Yr(e){return e.children}function Jr(e,t){this.props=e,this.context=t}function Qr(e,t){if(null==t)return e.__?Qr(e.__,e.__i+1):null;for(var n;tt&&Nr.sort(jr));to.__r=0}function no(e,t,n,r,o,i,a,s,u,l,c){var f,d,h,p,m,g=r&&r.__k||Wr,y=t.length;for(n.__d=u,function(e,t,n){var r,o,i,a,s,u=t.length,l=n.length,c=l,f=0;for(e.__k=[],r=0;r0?Xr(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=io(o,n,a=r+f,c),o.__i=s,i=null,-1!==s&&(c--,(i=n[s])&&(i.__u|=131072)),null==i||null===i.__v?(-1==s&&f--,"function"!=typeof o.type&&(o.__u|=65536)):s!==a&&(s===a+1?f++:s>a?c>u-a?f+=s-a:f--:f=s(null!=u&&0==(131072&u.__u)?1:0))for(;a>=0||s=0){if((u=t[a])&&0==(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s2&&(s.children=arguments.length>3?Lr.call(arguments,2):n),Xr(e.type,s,r||e.key,o||e.ref,null)},createContext:function(e,t){var n={__c:t="__cC"+Fr++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,eo(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createElement:Gr,createRef:function(){return{current:null}},h:Gr,hydrate:function e(t,n){go(t,n,e)},get isValidElement(){return Dr},get options(){return Mr},render:go,toChildArray:oo}),_o=r(Ao),Eo=0,So=[],xo=[],Ro=Mr.__b,ko=Mr.__r,Co=Mr.diffed,Bo=Mr.__c,Oo=Mr.unmount;function To(e,t){Mr.__h&&Mr.__h(vo,e,Eo||t),Eo=0;var n=vo.__H||(vo.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:xo}),n.__[e]}function Lo(e){return Eo=1,Mo(qo,e)}function Mo(e,t,n){var r=To(yo++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):qo(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=vo,!vo.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};vo.u=!0;var i=vo.shouldComponentUpdate,a=vo.componentWillUpdate;vo.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},vo.shouldComponentUpdate=o}return r.__N||r.__}function Po(e,t){var n=To(yo++,4);!Mr.__s&&zo(n.__H,t)&&(n.__=e,n.i=t,vo.__h.push(n))}function Do(e,t){var n=To(yo++,7);return zo(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function No(){for(var e;e=So.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(jo),e.__H.__h.forEach(Fo),e.__H.__h=[]}catch(t){e.__H.__h=[],Mr.__e(t,e.__v)}}Mr.__b=function(e){vo=null,Ro&&Ro(e)},Mr.__r=function(e){ko&&ko(e),yo=0;var t=(vo=e.__c).__H;t&&(bo===vo?(t.__h=[],vo.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=xo,e.__N=e.i=void 0}))):(t.__h.forEach(jo),t.__h.forEach(Fo),t.__h=[],yo=0)),bo=vo},Mr.diffed=function(e){Co&&Co(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==So.push(t)&&wo===Mr.requestAnimationFrame||((wo=Mr.requestAnimationFrame)||Uo)(No)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==xo&&(e.__=e.__V),e.i=void 0,e.__V=xo}))),bo=vo=null},Mr.__c=function(e,t){t.some((function(e){try{e.__h.forEach(jo),e.__h=e.__h.filter((function(e){return!e.__||Fo(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Mr.__e(n,e.__v)}})),Bo&&Bo(e,t)},Mr.unmount=function(e){Oo&&Oo(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{jo(e)}catch(e){t=e}})),n.__H=void 0,t&&Mr.__e(t,n.__v))};var Io="function"==typeof requestAnimationFrame;function Uo(e){var t,n=function(){clearTimeout(r),Io&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Io&&(t=requestAnimationFrame(n))}function jo(e){var t=vo,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),vo=t}function Fo(e){var t=vo;e.__c=e.__(),vo=t}function zo(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function qo(e,t){return"function"==typeof t?t(e):t}var Wo=Object.freeze({__proto__:null,useCallback:function(e,t){return Eo=8,Do((function(){return e}),t)},useContext:function(e){var t=vo.context[e.__c],n=To(yo++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(vo)),t.props.value):e.__},useDebugValue:function(e,t){Mr.useDebugValue&&Mr.useDebugValue(t?t(e):e)},useEffect:function(e,t){var n=To(yo++,3);!Mr.__s&&zo(n.__H,t)&&(n.__=e,n.i=t,vo.__H.__h.push(n))},useErrorBoundary:function(e){var t=To(yo++,10),n=Lo();return t.__=e,vo.componentDidCatch||(vo.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:function(){var e=To(yo++,11);if(!e.__){for(var t=vo.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useImperativeHandle:function(e,t,n){Eo=6,Po((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useLayoutEffect:Po,useMemo:Do,useReducer:Mo,useRef:function(e){return Eo=5,Do((function(){return{current:e}}),[])},useState:Lo}),Ho=r(Wo);!function(e){var t=_o,n=Ho;function r(e,t){for(var n in t)e[n]=t[n];return e}function o(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function i(e){this.props=e}function a(e,n){function r(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:o(this.props,e)}function i(n){return this.shouldComponentUpdate=r,t.createElement(e,n)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i}(i.prototype=new t.Component).isPureReactComponent=!0,i.prototype.shouldComponentUpdate=function(e,t){return o(this.props,e)||o(this.state,t)};var s=t.options.__b;t.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),s&&s(e)};var u="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function l(e){function t(t){var n=r({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=u,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var c=function(e,n){return null==e?null:t.toChildArray(t.toChildArray(e).map(n))},f={map:c,forEach:c,count:function(e){return e?t.toChildArray(e).length:0},only:function(e){var n=t.toChildArray(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:t.toChildArray},d=t.options.__e;t.options.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);d(e,t,n,r)};var h=t.options.unmount;function p(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=r({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return p(e,t,n)}))),e}function m(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return m(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function g(){this.__u=0,this.t=null,this.__b=null}function y(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function v(e){var n,r,o;function i(i){if(n||(n=e()).then((function(e){r=e.default||e}),(function(e){o=e})),o)throw o;if(!r)throw n;return t.createElement(r,i)}return i.displayName="Lazy",i.__f=!0,i}function b(){this.u=null,this.o=null}t.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),h&&h(e)},(g.prototype=new t.Component).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=y(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=m(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},g.prototype.componentWillUnmount=function(){this.t=[]},g.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=p(this.__b,r,o.__O=o.__P)}this.__b=null}var i=n.__a&&t.createElement(t.Fragment,null,e.fallback);return i&&(i.__u&=-33),[t.createElement(t.Fragment,null,n.__a?null:e.children),i]};var w=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),n.i.removeChild(e)}}),t.render(t.createElement(A,{context:n.context},e.__v),n.l)}function E(e,n){var r=t.createElement(_,{__v:e,i:n});return r.containerInfo=n,r}(b.prototype=new t.Component).__a=function(e){var t=this,n=y(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),w(t,e,r)):o()};n?n(i):i()}},b.prototype.render=function(e){this.u=null,this.o=new Map;var n=t.toChildArray(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var r=n.length;r--;)this.o.set(n[r],this.u=[1,0,this.u]);return e.children},b.prototype.componentDidUpdate=b.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){w(e,n,t)}))};var S="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,x=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,R=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,k=/[A-Z0-9]/g,C="undefined"!=typeof document,B=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function O(e,n,r){return null==n.__k&&(n.textContent=""),t.render(e,n),"function"==typeof r&&r(),e?e.__c:null}function T(e,n,r){return t.hydrate(e,n),"function"==typeof r&&r(),e?e.__c:null}t.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(t.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var L=t.options.event;function M(){}function P(){return this.cancelBubble}function D(){return this.defaultPrevented}t.options.event=function(e){return L&&(e=L(e)),e.persist=M,e.isPropagationStopped=P,e.isDefaultPrevented=D,e.nativeEvent=e};var N,I={enumerable:!1,configurable:!0,get:function(){return this.class}},U=t.options.vnode;t.options.vnode=function(e){"string"==typeof e.type&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!("value"===i&&"defaultValue"in n&&null==a||C&&"children"===i&&"noscript"===r||"class"===i||"className"===i)){var s=i.toLowerCase();"defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":"ondoubleclick"===s?i="ondblclick":"onchange"!==s||"input"!==r&&"textarea"!==r||B(n.type)?"onfocus"===s?i="onfocusin":"onblur"===s?i="onfocusout":R.test(i)?i=s:-1===r.indexOf("-")&&x.test(i)?i=i.replace(k,"-$&").toLowerCase():null===a&&(a=void 0):s=i="oninput","oninput"===s&&o[i=s]&&(i="oninputCapture"),o[i]=a}}"select"==r&&o.multiple&&Array.isArray(o.value)&&(o.value=t.toChildArray(n.children).forEach((function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)}))),"select"==r&&null!=o.defaultValue&&(o.value=t.toChildArray(n.children).forEach((function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",I)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(e),e.$$typeof=S,U&&U(e)};var j=t.options.__r;t.options.__r=function(e){j&&j(e),N=e.__c};var F=t.options.diffed;t.options.diffed=function(e){F&&F(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),N=null};var z={ReactCurrentDispatcher:{current:{readContext:function(e){return N.__n[e.__c].props.value}}}};function q(e){return t.createElement.bind(null,e)}function W(e){return!!e&&e.$$typeof===S}function H(e){return W(e)&&e.type===t.Fragment}function V(e){return W(e)?t.cloneElement.apply(null,arguments):e}function Z(e){return!!e.__k&&(t.render(null,e),!0)}function K(e){return e&&(e.base||1===e.nodeType&&e)||null}var G=function(e,t){return e(t)},X=function(e,t){return e(t)},Y=t.Fragment;function J(e){e()}function Q(e){return e}function $(){return[!1,J]}var ee=n.useLayoutEffect,te=W;function ne(e,t){var r=t(),o=n.useState({p:{__:r,h:t}}),i=o[0].p,a=o[1];return n.useLayoutEffect((function(){i.__=r,i.h=t,re(i)&&a({p:i})}),[e,r,t]),n.useEffect((function(){return re(i)&&a({p:i}),e((function(){re(i)&&a({p:i})}))}),[e]),r}function re(e){var t,n,r=e.h,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var oe={useState:n.useState,useId:n.useId,useReducer:n.useReducer,useEffect:n.useEffect,useLayoutEffect:n.useLayoutEffect,useInsertionEffect:ee,useTransition:$,useDeferredValue:Q,useSyncExternalStore:ne,startTransition:J,useRef:n.useRef,useImperativeHandle:n.useImperativeHandle,useMemo:n.useMemo,useCallback:n.useCallback,useContext:n.useContext,useDebugValue:n.useDebugValue,version:"17.0.2",Children:f,render:O,hydrate:T,unmountComponentAtNode:Z,createPortal:E,createElement:t.createElement,createContext:t.createContext,createFactory:q,cloneElement:V,createRef:t.createRef,Fragment:t.Fragment,isValidElement:W,isElement:te,isFragment:H,findDOMNode:K,Component:t.Component,PureComponent:i,memo:a,forwardRef:l,flushSync:X,unstable_batchedUpdates:G,StrictMode:Y,Suspense:g,SuspenseList:b,lazy:v,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:z};Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return t.Component}}),Object.defineProperty(e,"Fragment",{enumerable:!0,get:function(){return t.Fragment}}),Object.defineProperty(e,"createContext",{enumerable:!0,get:function(){return t.createContext}}),Object.defineProperty(e,"createElement",{enumerable:!0,get:function(){return t.createElement}}),Object.defineProperty(e,"createRef",{enumerable:!0,get:function(){return t.createRef}}),e.Children=f,e.PureComponent=i,e.StrictMode=Y,e.Suspense=g,e.SuspenseList=b,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,e.cloneElement=V,e.createFactory=q,e.createPortal=E,e.default=oe,e.findDOMNode=K,e.flushSync=X,e.forwardRef=l,e.hydrate=T,e.isElement=te,e.isFragment=H,e.isValidElement=W,e.lazy=v,e.memo=a,e.render=O,e.startTransition=J,e.unmountComponentAtNode=Z,e.unstable_batchedUpdates=G,e.useDeferredValue=Q,e.useInsertionEffect=ee,e.useSyncExternalStore=ne,e.useTransition=$,e.version="17.0.2",Object.keys(n).forEach((function(t){"default"===t||e.hasOwnProperty(t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})}))}(zr);var Vo=n(zr);function Zo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(e.Component,!n)return t;var r=E({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}var Ko={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Go=Ko,Xo=Vo.createContext(null);function Yo(){return Vo.useContext(Xo)}var Jo,Qo=sn({plugins:[hn(),wn(),Sn(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;tt?1:-1:e.length-t.length},{onProcessStyle:function(e,t){if("style"!==t.type)return e;for(var n={},r=Object.keys(e).sort(Jo),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),u=0,l=function(){return u+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==We.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[qe]&&""===a?"".concat(i,"-").concat(l()):i}return"".concat(s).concat(o).concat(l())}}(),ei={disableGeneration:!1,generateClassName:$o,jss:Qo,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},ti=Vo.createContext(ei),ni=-1e9;var ri={};function oi(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=Go.get(o.sheetsManager,i,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Go.set(o.sheetsManager,i,r,s));var u=E({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});u.generateId=u.serverGenerateClassName||u.generateClassName;var l=o.sheetsRegistry;if(0===s.refs){var c;o.sheetsCache&&(c=Go.get(o.sheetsCache,i,r));var f=i.create(r,a);c||((c=o.jss.createStyleSheet(f,E({link:!1},u))).attach(),o.sheetsCache&&Go.set(o.sheetsCache,i,r,c)),l&&l.add(c),s.staticSheet=c,s.dynamicStyles=ln(f)}if(s.dynamicStyles){var d=o.jss.createStyleSheet(s.dynamicStyles,E({link:!0},u));d.update(t),d.attach(),n.dynamicSheet=d,n.classes=Zo({baseClasses:s.staticSheet.classes,newClasses:d.classes}),l&&l.add(d)}else n.classes=s.staticSheet.classes;s.refs+=1}}function ii(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?ri:i,s=U(t,["name","classNamePrefix","Component","defaultTheme"]),u=function(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var i=n.overrides[r],a=E({},o);return Object.keys(i).forEach((function(e){a[e]=R(a[e],i[e])})),a},options:{}}}(e),l=n||r||"makeStyles";u.options={index:ni+=1,name:n,meta:l,classNamePrefix:l};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Yo()||a,r=E({},Vo.useContext(ti),s),i=Vo.useRef(),l=Vo.useRef();!function(e,t){var n,r=Vo.useRef([]),o=Vo.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),Vo.useEffect((function(){return function(){n&&n()}}),[o])}((function(){var o={name:n,state:{},stylesCreator:u,stylesOptions:r,theme:t};return oi(o,e),l.current=!1,i.current=o,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=Go.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(Go.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,u]),Vo.useEffect((function(){l.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(i.current,e),l.current=!0}));var c=function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=Zo({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(i.current,e.classes,o);return c}}function ai(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,i=U(r,["name"]),a=o,s=ii("function"==typeof t?function(e){return{root:function(n){return t(E({theme:e},n))}}}:{root:t},E({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var u=Vo.forwardRef((function(t,r){var o,i,a,u=t.children,l=t.className,c=t.clone,f=t.component,d=U(t,["children","className","clone","component"]),h=si(s(t).root,l),p=d;if(n&&(o=p,i=n,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),p=a),c)return Vo.cloneElement(u,E({className:si(u.props.className,h)},p));if("function"==typeof u)return u(E({className:h},p));var m=f||e;return Vo.createElement(m,E({ref:r,className:h},p),u)}));return Hi(u,e),u}}var Zi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,s=U(t,["defaultTheme","withTheme","name"]),u=a,l=ii(e,E({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:u},s)),c=Vo.forwardRef((function(e,t){e.classes;var o,s=e.innerRef,u=U(e,["classes","innerRef"]),c=l(E({},n.defaultProps,e)),f=u;return("string"==typeof a||i)&&(o=Yo()||r,a&&(f=He({theme:o,name:a,props:u})),i&&!f.theme&&(f.theme=o)),Vo.createElement(n,E({ref:s||t,classes:c},f))}));return Hi(c,n),c}};var Ki=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,s=e.spacing,u=e.typography,l=void 0===u?{}:u,c=U(e,["breakpoints","mixins","palette","spacing","typography"]),f=H(a),d=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,s=U(e,["values","unit","step"]);function u(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function l(e,t){var r=j.indexOf(t);return r===j.length-1?u(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[j[r+1]]?n[j[r+1]]:t)-a/100).concat(o,")")}return E({keys:j,values:n,up:u,down:function(e){var t=j.indexOf(e)+1,r=n[j[t]];return t===j.length?u("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:l,only:function(e){return l(e,e)},width:function(e){return n[e]}},s)}(n),h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Me({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r1?m-1:0),y=1;y1&&void 0!==arguments[1]?arguments[1]:{}))}var Yi=function(e){var t=Vi(e);return function(e,n){return t(e,E({defaultTheme:Gi},n))}};function Ji(){return Yo()||Gi}function Qi(e,t){return Zi(e,E({defaultTheme:Gi},t))}function $i(e){if("string"!=typeof e)throw new Error(B(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ea(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=t.pulsate,i=void 0!==o&&o,a=t.center,s=void 0===a?r||t.pulsate:a,u=t.fakeElement,l=void 0!==u&&u;if("mousedown"===e.type&&d.current)d.current=!1;else{"touchstart"===e.type&&(d.current=!0);var c,f,y,v=l?null:m.current,b=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),f=Math.round(b.height/2);else{var w=e.touches?e.touches[0]:e,A=w.clientX,_=w.clientY;c=Math.round(A-b.left),f=Math.round(_-b.top)}if(s)(y=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(y+=1);else{var E=2*Math.max(Math.abs((v?v.clientWidth:0)-c),c)+2,S=2*Math.max(Math.abs((v?v.clientHeight:0)-f),f)+2;y=Math.sqrt(Math.pow(E,2)+Math.pow(S,2))}e.touches?null===p.current&&(p.current=function(){g({pulsate:i,rippleX:c,rippleY:f,rippleSize:y,cb:n})},h.current=setTimeout((function(){p.current&&(p.current(),p.current=null)}),80)):g({pulsate:i,rippleX:c,rippleY:f,rippleSize:y,cb:n})}}),[r,g]),v=zr.useCallback((function(){y({},{pulsate:!0})}),[y]),b=zr.useCallback((function(e,t){if(clearTimeout(h.current),"touchend"===e.type&&p.current)return e.persist(),p.current(),p.current=null,void(h.current=setTimeout((function(){b(e,t)})));p.current=null,l((function(e){return e.length>0?e.slice(1):e})),f.current=t}),[]);return zr.useImperativeHandle(t,(function(){return{pulsate:v,start:y,stop:b}}),[v,y,b]),zr.createElement("span",E({className:si(o.root,i),ref:m},a),zr.createElement(ds,{component:null,exit:!0},u))})),_s=Qi((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(zr.memo(As)),Es=zr.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,o=e.centerRipple,i=void 0!==o&&o,a=e.children,s=e.classes,u=e.className,l=e.component,c=void 0===l?"button":l,f=e.disabled,d=void 0!==f&&f,h=e.disableRipple,p=void 0!==h&&h,m=e.disableTouchRipple,g=void 0!==m&&m,y=e.focusRipple,v=void 0!==y&&y,b=e.focusVisibleClassName,w=e.onBlur,A=e.onClick,_=e.onFocus,S=e.onFocusVisible,x=e.onKeyDown,R=e.onKeyUp,k=e.onMouseDown,C=e.onMouseLeave,B=e.onMouseUp,O=e.onTouchEnd,T=e.onTouchMove,L=e.onTouchStart,M=e.onDragLeave,P=e.tabIndex,D=void 0===P?0:P,N=e.TouchRippleProps,I=e.type,j=void 0===I?"button":I,F=U(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),z=zr.useRef(null);var q=zr.useRef(null),W=zr.useState(!1),H=W[0],V=W[1];d&&H&&V(!1);var Z=wa(),K=Z.isFocusVisible,G=Z.onBlurVisible,X=Z.ref;function Y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;return la((function(r){return t&&t(r),!n&&q.current&&q.current[e](r),!0}))}zr.useImperativeHandle(n,(function(){return{focusVisible:function(){V(!0),z.current.focus()}}}),[]),zr.useEffect((function(){H&&v&&!p&&q.current.pulsate()}),[p,v,H]);var J=Y("start",k),Q=Y("stop",M),$=Y("stop",B),ee=Y("stop",(function(e){H&&e.preventDefault(),C&&C(e)})),te=Y("start",L),ne=Y("stop",O),re=Y("stop",T),oe=Y("stop",(function(e){H&&(G(e),V(!1)),w&&w(e)}),!1),ie=la((function(e){z.current||(z.current=e.currentTarget),K(e)&&(V(!0),S&&S(e)),_&&_(e)})),ae=function(){var e=zr.findDOMNode(z.current);return c&&"button"!==c&&!("A"===e.tagName&&e.href)},se=zr.useRef(!1),ue=la((function(e){v&&!se.current&&H&&q.current&&" "===e.key&&(se.current=!0,e.persist(),q.current.stop(e,(function(){q.current.start(e)}))),e.target===e.currentTarget&&ae()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ae()&&"Enter"===e.key&&!d&&(e.preventDefault(),A&&A(e))})),le=la((function(e){v&&" "===e.key&&q.current&&H&&!e.defaultPrevented&&(se.current=!1,e.persist(),q.current.stop(e,(function(){q.current.pulsate(e)}))),R&&R(e),A&&e.target===e.currentTarget&&ae()&&" "===e.key&&!e.defaultPrevented&&A(e)})),ce=c;"button"===ce&&F.href&&(ce="a");var fe={};"button"===ce?(fe.type=j,fe.disabled=d):("a"===ce&&F.href||(fe.role="button"),fe["aria-disabled"]=d);var de=ca(r,t),he=ca(X,z),pe=ca(de,he),me=zr.useState(!1),ge=me[0],ye=me[1];zr.useEffect((function(){ye(!0)}),[]);var ve=ge&&!p&&!d;return zr.createElement(ce,E({className:si(s.root,u,H&&[s.focusVisible,b],d&&s.disabled),onBlur:oe,onClick:A,onFocus:ie,onKeyDown:ue,onKeyUp:le,onMouseDown:J,onMouseLeave:ee,onMouseUp:$,onDragLeave:Q,onTouchEnd:ne,onTouchMove:re,onTouchStart:te,ref:pe,tabIndex:d?-1:D},fe,F),a,ve?zr.createElement(_s,E({ref:q,center:i},N)):null)})),Ss=Qi({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(Es),xs={entering:{opacity:1},entered:{opacity:1}},Rs={enter:Ue.enteringScreen,exit:Ue.leavingScreen},ks=zr.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,o=void 0!==r&&r,i=e.in,a=e.onEnter,s=e.onEntered,u=e.onEntering,l=e.onExit,c=e.onExited,f=e.onExiting,d=e.style,h=e.TransitionComponent,p=void 0===h?as:h,m=e.timeout,g=void 0===m?Rs:m,y=U(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),v=Ji(),b=v.unstable_strictMode&&!o,w=zr.useRef(null),A=ca(n.ref,t),_=ca(b?w:void 0,A),S=function(e){return function(t,n){if(e){var r=ke(b?[w.current,t]:[t,n],2),o=r[0],i=r[1];void 0===i?e(o):e(o,i)}}},x=S(u),R=S((function(e,t){hs(e);var n=ps({style:d,timeout:g},{mode:"enter"});e.style.webkitTransition=v.transitions.create("opacity",n),e.style.transition=v.transitions.create("opacity",n),a&&a(e,t)})),k=S(s),C=S(f),B=S((function(e){var t=ps({style:d,timeout:g},{mode:"exit"});e.style.webkitTransition=v.transitions.create("opacity",t),e.style.transition=v.transitions.create("opacity",t),l&&l(e)})),O=S(c);return zr.createElement(p,E({appear:!0,in:i,nodeRef:b?w:void 0,onEnter:R,onEntered:k,onEntering:x,onExit:B,onExited:O,onExiting:C,timeout:g},y),(function(e,t){return zr.cloneElement(n,E({style:E({opacity:0,visibility:"exited"!==e||i?void 0:"hidden"},xs[e],d,n.props.style),ref:_},t))}))})),Cs=ks,Bs=zr.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.invisible,a=void 0!==i&&i,s=e.open,u=e.transitionDuration,l=e.TransitionComponent,c=void 0===l?Cs:l,f=U(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return zr.createElement(c,E({in:s,timeout:u},f),zr.createElement("div",{className:si(r.root,o,a&&r.invisible),"aria-hidden":!0,ref:t},n))})),Os=Qi({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(Bs),Ts=function(e){var t=function(t){var n=e(t);return t.css?E({},ne(n,e(E({theme:t.theme},t.css))),fe(t.css,[e.filterProps])):t.sx?E({},ne(n,e(E({theme:t.theme},t.sx))),fe(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(te(e.filterProps)),t}(ue(ce,he,pe,me,ye,ge,ve,Re,De,Ne)),Ls=Yi("div")(Ts,{name:"MuiBox"}),Ms={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Ps=zr.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,o=e.classes,i=e.className,a=e.color,s=void 0===a?"initial":a,u=e.component,l=e.display,c=void 0===l?"initial":l,f=e.gutterBottom,d=void 0!==f&&f,h=e.noWrap,p=void 0!==h&&h,m=e.paragraph,g=void 0!==m&&m,y=e.variant,v=void 0===y?"body1":y,b=e.variantMapping,w=void 0===b?Ms:b,A=U(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),_=u||(g?"p":w[v]||Ms[v])||"span";return zr.createElement(_,E({className:si(o.root,i,"inherit"!==v&&o[v],"initial"!==s&&o["color".concat($i(s))],p&&o.noWrap,d&&o.gutterBottom,g&&o.paragraph,"inherit"!==r&&o["align".concat($i(r))],"initial"!==c&&o["display".concat($i(c))]),ref:t},A))})),Ds=Qi((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(Ps),Ns=zr.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.color,a=void 0===i?"default":i,s=e.component,u=void 0===s?"button":s,l=e.disabled,c=void 0!==l&&l,f=e.disableElevation,d=void 0!==f&&f,h=e.disableFocusRipple,p=void 0!==h&&h,m=e.endIcon,g=e.focusVisibleClassName,y=e.fullWidth,v=void 0!==y&&y,b=e.size,w=void 0===b?"medium":b,A=e.startIcon,_=e.type,S=void 0===_?"button":_,x=e.variant,R=void 0===x?"text":x,k=U(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),C=A&&zr.createElement("span",{className:si(r.startIcon,r["iconSize".concat($i(w))])},A),B=m&&zr.createElement("span",{className:si(r.endIcon,r["iconSize".concat($i(w))])},m);return zr.createElement(Ss,E({className:si(r.root,r[R],o,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(R).concat($i(a))],"medium"!==w&&[r["".concat(R,"Size").concat($i(w))],r["size".concat($i(w))]],d&&r.disableElevation,c&&r.disabled,v&&r.fullWidth),component:u,disabled:c,focusRipple:!p,focusVisibleClassName:si(r.focusVisible,g),ref:t,type:S},k),zr.createElement("span",{className:r.label},C,n,B))})),Is=Qi((function(e){return{root:E({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:P(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:P(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:P(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(P(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:P(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(P(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:P(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(Ns),Us=zr.createContext();var js=Us;function Fs(){return zr.useContext(js)}var zs=44,qs=zr.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.color,i=void 0===o?"primary":o,a=e.disableShrink,s=void 0!==a&&a,u=e.size,l=void 0===u?40:u,c=e.style,f=e.thickness,d=void 0===f?3.6:f,h=e.value,p=void 0===h?0:h,m=e.variant,g=void 0===m?"indeterminate":m,y=U(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),v={},b={},w={};if("determinate"===g||"static"===g){var A=2*Math.PI*((zs-d)/2);v.strokeDasharray=A.toFixed(3),w["aria-valuenow"]=Math.round(p),v.strokeDashoffset="".concat(((100-p)/100*A).toFixed(3),"px"),b.transform="rotate(-90deg)"}return zr.createElement("div",E({className:si(n.root,r,"inherit"!==i&&n["color".concat($i(i))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[g]),style:E({width:l,height:l},b,c),ref:t,role:"progressbar"},w,y),zr.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(zs," ").concat(zs)},zr.createElement("circle",{className:si(n.circle,s&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[g]),style:v,cx:zs,cy:zs,r:(zs-d)/2,fill:"none",strokeWidth:d})))})),Ws=Qi((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(qs);function Hs(e){return e.substring(2).toLowerCase()}function Vs(e){var t=e.children,n=e.disableReactTree,r=void 0!==n&&n,o=e.mouseEvent,i=void 0===o?"onClick":o,a=e.onClickAway,s=e.touchEvent,u=void 0===s?"onTouchEnd":s,l=zr.useRef(!1),c=zr.useRef(null),f=zr.useRef(!1),d=zr.useRef(!1);zr.useEffect((function(){return setTimeout((function(){f.current=!0}),0),function(){f.current=!1}}),[]);var h=zr.useCallback((function(e){c.current=zr.findDOMNode(e)}),[]),p=ca(t.ref,h),m=la((function(e){var t=d.current;if(d.current=!1,f.current&&c.current&&!function(e){return document.documentElement.clientWidth-1;else n=!ia(c.current).documentElement.contains(e.target)||c.current.contains(e.target);n||!r&&t||a(e)}})),g=function(e){return function(n){d.current=!0;var r=t.props[e];r&&r(n)}},y={ref:p};return!1!==u&&(y[u]=g(u)),zr.useEffect((function(){if(!1!==u){var e=Hs(u),t=ia(c.current),n=function(){l.current=!0};return t.addEventListener(e,m),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,m),t.removeEventListener("touchmove",n)}}}),[m,u]),!1!==i&&(y[i]=g(i)),zr.useEffect((function(){if(!1!==i){var e=Hs(i),t=ia(c.current);return t.addEventListener(e,m),function(){t.removeEventListener(e,m)}}}),[m,i]),zr.createElement(zr.Fragment,null,zr.cloneElement(t,y))}var Zs="undefined"!=typeof window?zr.useLayoutEffect:zr.useEffect,Ks=zr.forwardRef((function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=void 0!==o&&o,a=e.onRendered,s=zr.useState(null),u=s[0],l=s[1],c=ca(zr.isValidElement(n)?n.ref:null,t);return Zs((function(){i||l(function(e){return e="function"==typeof e?e():e,zr.findDOMNode(e)}(r)||document.body)}),[r,i]),Zs((function(){if(u&&!i)return sa(t,u),function(){sa(t,null)}}),[t,u,i]),Zs((function(){a&&(u||i)&&a()}),[a,u,i]),i?zr.isValidElement(n)?zr.cloneElement(n,{ref:c}):n:u?zr.createPortal(n,u):u}));function Gs(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function Xs(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ys(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Js(e,t,n){var r=arguments.length>4?arguments[4]:void 0,o=[t,n].concat(te(arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])),i=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===i.indexOf(e.tagName)&&Xs(e,r)}))}function Qs(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function $s(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=ia(e);return t.body===e?aa(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=Gs();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Ys(i)+a,"px"),n=ia(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Ys(e)+a,"px")}))}var s=i.parentElement,u="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:i;r.push({value:u.style.overflow,key:"overflow",el:u}),u.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var eu=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}return Ge(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Xs(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Js(t,e.mountNode,e.modalRef,r,!0);var o=Qs(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=Qs(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=$s(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=Qs(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Xs(e.modalRef,!0),Js(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&Xs(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();function tu(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,i=void 0!==o&&o,a=e.disableRestoreFocus,s=void 0!==a&&a,u=e.getDoc,l=e.isEnabled,c=e.open,f=zr.useRef(),d=zr.useRef(null),h=zr.useRef(null),p=zr.useRef(),m=zr.useRef(null),g=zr.useCallback((function(e){m.current=zr.findDOMNode(e)}),[]),y=ca(t.ref,g),v=zr.useRef();return zr.useEffect((function(){v.current=c}),[c]),!v.current&&c&&"undefined"!=typeof window&&(p.current=u().activeElement),zr.useEffect((function(){if(c){var e=ia(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){null!==m.current&&(e.hasFocus()&&!i&&l()&&!f.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():f.current=!1)},n=function(t){!i&&l()&&9===t.keyCode&&e.activeElement===m.current&&(f.current=!0,t.shiftKey?h.current.focus():d.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval((function(){t()}),50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),s||(p.current&&p.current.focus&&p.current.focus(),p.current=null)}}}),[r,i,s,l,c]),zr.createElement(zr.Fragment,null,zr.createElement("div",{tabIndex:0,ref:d,"data-test":"sentinelStart"}),zr.cloneElement(t,{ref:y}),zr.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelEnd"}))}var nu={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},ru=zr.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,o=e.open,i=U(e,["invisible","open"]);return o?zr.createElement("div",E({"aria-hidden":!0,ref:t},i,{style:E({},nu.root,r?nu.invisible:{},i.style)})):null}));var ou=new eu,iu=zr.forwardRef((function(e,t){var n=Yo(),r=He({name:"MuiModal",props:E({},e),theme:n}),o=r.BackdropComponent,i=void 0===o?ru:o,a=r.BackdropProps,s=r.children,u=r.closeAfterTransition,l=void 0!==u&&u,c=r.container,f=r.disableAutoFocus,d=void 0!==f&&f,h=r.disableBackdropClick,p=void 0!==h&&h,m=r.disableEnforceFocus,g=void 0!==m&&m,y=r.disableEscapeKeyDown,v=void 0!==y&&y,b=r.disablePortal,w=void 0!==b&&b,A=r.disableRestoreFocus,_=void 0!==A&&A,S=r.disableScrollLock,x=void 0!==S&&S,R=r.hideBackdrop,k=void 0!==R&&R,C=r.keepMounted,B=void 0!==C&&C,O=r.manager,T=void 0===O?ou:O,L=r.onBackdropClick,M=r.onClose,P=r.onEscapeKeyDown,D=r.onRendered,N=r.open,I=U(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),j=zr.useState(!0),F=j[0],z=j[1],q=zr.useRef({}),W=zr.useRef(null),H=zr.useRef(null),V=ca(H,t),Z=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),K=function(){return ia(W.current)},G=function(){return q.current.modalRef=H.current,q.current.mountNode=W.current,q.current},X=function(){T.mount(G(),{disableScrollLock:x}),H.current.scrollTop=0},Y=la((function(){var e=function(e){return e="function"==typeof e?e():e,zr.findDOMNode(e)}(c)||K().body;T.add(G(),e),H.current&&X()})),J=zr.useCallback((function(){return T.isTopModal(G())}),[T]),Q=la((function(e){W.current=e,e&&(D&&D(),N&&J()?X():Xs(H.current,!0))})),$=zr.useCallback((function(){T.remove(G())}),[T]);if(zr.useEffect((function(){return function(){$()}}),[$]),zr.useEffect((function(){N?Y():Z&&l||$()}),[N,$,Z,l,Y]),!B&&!N&&(!Z||F))return null;var ee=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:ze}),te={};return void 0===s.props.tabIndex&&(te.tabIndex=s.props.tabIndex||"-1"),Z&&(te.onEnter=ea((function(){z(!1)}),s.props.onEnter),te.onExited=ea((function(){z(!0),l&&$()}),s.props.onExited)),zr.createElement(Ks,{ref:Q,container:c,disablePortal:w},zr.createElement("div",E({ref:V,onKeyDown:function(e){"Escape"===e.key&&J()&&(P&&P(e),v||(e.stopPropagation(),M&&M(e,"escapeKeyDown")))},role:"presentation"},I,{style:E({},ee.root,!N&&F?ee.hidden:{},I.style)}),k?null:zr.createElement(i,E({open:N,onClick:function(e){e.target===e.currentTarget&&(L&&L(e),!p&&M&&M(e,"backdropClick"))}},a)),zr.createElement(tu,{disableEnforceFocus:g,disableAutoFocus:d,disableRestoreFocus:_,getDoc:K,isEnabled:J,open:N},zr.cloneElement(s,te))))})),au={enter:Ue.enteringScreen,exit:Ue.leavingScreen},su=zr.forwardRef((function(e,t){var n=e.BackdropProps,r=e.children,o=e.classes,i=e.className,a=e.disableBackdropClick,s=void 0!==a&&a,u=e.disableEscapeKeyDown,l=void 0!==u&&u,c=e.fullScreen,f=void 0!==c&&c,d=e.fullWidth,h=void 0!==d&&d,p=e.maxWidth,m=void 0===p?"sm":p,g=e.onBackdropClick,y=e.onClose,v=e.onEnter,b=e.onEntered,w=e.onEntering,A=e.onEscapeKeyDown,_=e.onExit,S=e.onExited,x=e.onExiting,R=e.open,k=e.PaperComponent,C=void 0===k?vs:k,B=e.PaperProps,O=void 0===B?{}:B,T=e.scroll,L=void 0===T?"paper":T,M=e.TransitionComponent,P=void 0===M?Cs:M,D=e.transitionDuration,N=void 0===D?au:D,I=e.TransitionProps,j=e["aria-describedby"],F=e["aria-labelledby"],z=U(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),q=zr.useRef();return zr.createElement(iu,E({className:si(o.root,i),BackdropComponent:Os,BackdropProps:E({transitionDuration:N},n),closeAfterTransition:!0},s?{disableBackdropClick:s}:{},{disableEscapeKeyDown:l,onEscapeKeyDown:A,onClose:y,open:R,ref:t},z),zr.createElement(P,E({appear:!0,in:R,timeout:N,onEnter:v,onEntering:w,onEntered:b,onExit:_,onExiting:x,onExited:S,role:"none presentation"},I),zr.createElement("div",{className:si(o.container,o["scroll".concat($i(L))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===q.current&&(q.current=null,g&&g(e),!s&&y&&y(e,"backdropClick"))},onMouseDown:function(e){q.current=e.target}},zr.createElement(C,E({elevation:24,role:"dialog","aria-describedby":j,"aria-labelledby":F},O,{className:si(o.paper,o["paperScroll".concat($i(L))],o["paperWidth".concat($i(String(m)))],O.className,f&&o.paperFullScreen,h&&o.paperFullWidth)}),r))))})),uu=Qi((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":C({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":C({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":C({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":C({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":C({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(su);function lu(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"==typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(i-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var cu={enter:Ue.enteringScreen,exit:Ue.leavingScreen},fu=zr.forwardRef((function(e,t){var n=e.children,r=e.direction,o=void 0===r?"down":r,i=e.in,a=e.onEnter,s=e.onEntered,u=e.onEntering,l=e.onExit,c=e.onExited,f=e.onExiting,d=e.style,h=e.timeout,p=void 0===h?cu:h,m=e.TransitionComponent,g=void 0===m?as:m,y=U(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=Ji(),b=zr.useRef(null),w=zr.useCallback((function(e){b.current=zr.findDOMNode(e)}),[]),A=ca(n.ref,w),_=ca(A,t),S=function(e){return function(t){e&&(void 0===t?e(b.current):e(b.current,t))}},x=S((function(e,t){lu(o,e),hs(e),a&&a(e,t)})),R=S((function(e,t){var n=ps({timeout:p,style:d},{mode:"enter"});e.style.webkitTransition=v.transitions.create("-webkit-transform",E({},n,{easing:v.transitions.easing.easeOut})),e.style.transition=v.transitions.create("transform",E({},n,{easing:v.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",u&&u(e,t)})),k=S(s),C=S(f),B=S((function(e){var t=ps({timeout:p,style:d},{mode:"exit"});e.style.webkitTransition=v.transitions.create("-webkit-transform",E({},t,{easing:v.transitions.easing.sharp})),e.style.transition=v.transitions.create("transform",E({},t,{easing:v.transitions.easing.sharp})),lu(o,e),l&&l(e)})),O=S((function(e){e.style.webkitTransition="",e.style.transition="",c&&c(e)})),T=zr.useCallback((function(){b.current&&lu(o,b.current)}),[o]);return zr.useEffect((function(){if(!i&&"down"!==o&&"right"!==o){var e=ra((function(){b.current&&lu(o,b.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[o,i]),zr.useEffect((function(){i||T()}),[i,T]),zr.createElement(g,E({nodeRef:b,onEnter:x,onEntered:k,onEntering:R,onExit:B,onExited:O,onExiting:C,appear:!0,in:i,timeout:p},y),(function(e,t){return zr.cloneElement(n,E({ref:_,style:E({visibility:"exited"!==e||i?void 0:"hidden"},d,n.props.style)},t))}))})),du=fu;function hu(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}function pu(e,t){return parseInt(e[t],10)||0}var mu="undefined"!=typeof window?zr.useLayoutEffect:zr.useEffect,gu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},yu=zr.forwardRef((function(e,t){var n=e.onChange,r=e.rows,o=e.rowsMax,i=e.rowsMin,a=e.maxRows,s=e.minRows,u=void 0===s?1:s,l=e.style,c=e.value,f=U(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),d=a||o,h=r||i||u,p=zr.useRef(null!=c).current,m=zr.useRef(null),g=ca(t,m),y=zr.useRef(null),v=zr.useRef(0),b=zr.useState({}),w=b[0],A=b[1],_=zr.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=y.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],i=pu(n,"padding-bottom")+pu(n,"padding-top"),a=pu(n,"border-bottom-width")+pu(n,"border-top-width"),s=r.scrollHeight-i;r.value="x";var u=r.scrollHeight-i,l=s;h&&(l=Math.max(Number(h)*u,l)),d&&(l=Math.min(Number(d)*u,l));var c=(l=Math.max(l,u))+("border-box"===o?i+a:0),f=Math.abs(l-s)<=1;A((function(e){return v.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==f)?(v.current+=1,{overflow:f,outerHeightStyle:c}):e}))}),[d,h,e.placeholder]);zr.useEffect((function(){var e=ra((function(){v.current=0,_()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[_]),mu((function(){_()})),zr.useEffect((function(){v.current=0}),[c]);return zr.createElement(zr.Fragment,null,zr.createElement("textarea",E({value:c,onChange:function(e){v.current=0,p||_(),n&&n(e)},ref:g,rows:h,style:E({height:w.outerHeightStyle,overflow:w.overflow?"hidden":null},l)},f)),zr.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:y,tabIndex:-1,style:E({},gu,l)}))})),vu=yu;function bu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function wu(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(bu(e.value)&&""!==e.value||t&&bu(e.defaultValue)&&""!==e.defaultValue)}var Au="undefined"==typeof window?zr.useEffect:zr.useLayoutEffect,_u=zr.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,o=e.autoFocus,i=e.classes,a=e.className;e.color;var s=e.defaultValue,u=e.disabled,l=e.endAdornment;e.error;var c=e.fullWidth,f=void 0!==c&&c,d=e.id,h=e.inputComponent,p=void 0===h?"input":h,m=e.inputProps,g=void 0===m?{}:m,y=e.inputRef;e.margin;var v=e.multiline,b=void 0!==v&&v,w=e.name,A=e.onBlur,_=e.onChange,S=e.onClick,x=e.onFocus,R=e.onKeyDown,k=e.onKeyUp,C=e.placeholder,O=e.readOnly,T=e.renderSuffix,L=e.rows,M=e.rowsMax,P=e.rowsMin,D=e.maxRows,N=e.minRows,I=e.startAdornment,j=e.type,F=void 0===j?"text":j,z=e.value,q=U(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),W=null!=g.value?g.value:z,H=zr.useRef(null!=W).current,V=zr.useRef(),Z=zr.useCallback((function(e){}),[]),K=ca(g.ref,Z),G=ca(y,K),X=ca(V,G),Y=zr.useState(!1),J=Y[0],Q=Y[1],$=zr.useContext(Us),ee=hu({props:e,muiFormControl:$,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});ee.focused=$?$.focused:J,zr.useEffect((function(){!$&&u&&J&&(Q(!1),A&&A())}),[$,u,J,A]);var te=$&&$.onFilled,ne=$&&$.onEmpty,re=zr.useCallback((function(e){wu(e)?te&&te():ne&&ne()}),[te,ne]);Au((function(){H&&re({value:W})}),[W,re,H]);zr.useEffect((function(){re(V.current)}),[]);var oe=p,ie=E({},g,{ref:X});"string"!=typeof oe?ie=E({inputRef:X,type:F},ie,{ref:null}):b?!L||D||N||M||P?(ie=E({minRows:L||N,rowsMax:M,maxRows:D},ie),oe=vu):oe="textarea":ie=E({type:F},ie);return zr.useEffect((function(){$&&$.setAdornedStart(Boolean(I))}),[$,I]),zr.createElement("div",E({className:si(i.root,i["color".concat($i(ee.color||"primary"))],a,ee.disabled&&i.disabled,ee.error&&i.error,f&&i.fullWidth,ee.focused&&i.focused,$&&i.formControl,b&&i.multiline,I&&i.adornedStart,l&&i.adornedEnd,"dense"===ee.margin&&i.marginDense),onClick:function(e){V.current&&e.currentTarget===e.target&&V.current.focus(),S&&S(e)},ref:t},q),I,zr.createElement(js.Provider,{value:null},zr.createElement(oe,E({"aria-invalid":ee.error,"aria-describedby":n,autoComplete:r,autoFocus:o,defaultValue:s,disabled:ee.disabled,id:d,onAnimationStart:function(e){re("mui-auto-fill-cancel"===e.animationName?V.current:{value:"x"})},name:w,placeholder:C,readOnly:O,required:ee.required,rows:L,value:W,onKeyDown:R,onKeyUp:k},ie,{className:si(i.input,g.className,ee.disabled&&i.disabled,b&&i.inputMultiline,ee.hiddenLabel&&i.inputHiddenLabel,I&&i.inputAdornedStart,l&&i.inputAdornedEnd,"search"===F&&i.inputTypeSearch,"dense"===ee.margin&&i.inputMarginDense),onBlur:function(e){A&&A(e),g.onBlur&&g.onBlur(e),$&&$.onBlur?$.onBlur(e):Q(!1)},onChange:function(e){if(!H){var t=e.target||V.current;if(null==t)throw new Error(B(1));re({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var Du=zr.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,o=e.alignItems,i=void 0===o?"stretch":o,a=e.classes,s=e.className,u=e.component,l=void 0===u?"div":u,c=e.container,f=void 0!==c&&c,d=e.direction,h=void 0===d?"row":d,p=e.item,m=void 0!==p&&p,g=e.justify,y=e.justifyContent,v=void 0===y?"flex-start":y,b=e.lg,w=void 0!==b&&b,A=e.md,_=void 0!==A&&A,S=e.sm,x=void 0!==S&&S,R=e.spacing,k=void 0===R?0:R,C=e.wrap,B=void 0===C?"wrap":C,O=e.xl,T=void 0!==O&&O,L=e.xs,M=void 0!==L&&L,P=e.zeroMinWidth,D=void 0!==P&&P,N=U(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),I=si(a.root,s,f&&[a.container,0!==k&&a["spacing-xs-".concat(String(k))]],m&&a.item,D&&a.zeroMinWidth,"row"!==h&&a["direction-xs-".concat(String(h))],"wrap"!==B&&a["wrap-xs-".concat(String(B))],"stretch"!==i&&a["align-items-xs-".concat(String(i))],"stretch"!==r&&a["align-content-xs-".concat(String(r))],"flex-start"!==(g||v)&&a["justify-content-xs-".concat(String(g||v))],!1!==M&&a["grid-xs-".concat(String(M))],!1!==x&&a["grid-sm-".concat(String(x))],!1!==_&&a["grid-md-".concat(String(_))],!1!==w&&a["grid-lg-".concat(String(w))],!1!==T&&a["grid-xl-".concat(String(T))]);return zr.createElement(l,E({className:I,ref:t},N))})),Nu=Qi((function(e){return E({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return Lu.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(Pu(o,2)),width:"calc(100% + ".concat(Pu(o),")"),"& > $item":{padding:Pu(o,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};Mu.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var o="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:o,flexGrow:0,maxWidth:o}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?E(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(Du),Iu=Nu;function Uu(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var ju={entering:{opacity:1,transform:Uu(1)},entered:{opacity:1,transform:"none"}},Fu=zr.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,o=void 0!==r&&r,i=e.in,a=e.onEnter,s=e.onEntered,u=e.onEntering,l=e.onExit,c=e.onExited,f=e.onExiting,d=e.style,h=e.timeout,p=void 0===h?"auto":h,m=e.TransitionComponent,g=void 0===m?as:m,y=U(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=zr.useRef(),b=zr.useRef(),w=Ji(),A=w.unstable_strictMode&&!o,_=zr.useRef(null),S=ca(n.ref,t),x=ca(A?_:void 0,S),R=function(e){return function(t,n){if(e){var r=ke(A?[_.current,t]:[t,n],2),o=r[0],i=r[1];void 0===i?e(o):e(o,i)}}},k=R(u),C=R((function(e,t){hs(e);var n,r=ps({style:d,timeout:p},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===p?(n=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=o,e.style.transition=[w.transitions.create("opacity",{duration:n,delay:i}),w.transitions.create("transform",{duration:.666*n,delay:i})].join(","),a&&a(e,t)})),B=R(s),O=R(f),T=R((function(e){var t,n=ps({style:d,timeout:p},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===p?(t=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[w.transitions.create("opacity",{duration:t,delay:o}),w.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=Uu(.75),l&&l(e)})),L=R(c);return zr.useEffect((function(){return function(){clearTimeout(v.current)}}),[]),zr.createElement(g,E({appear:!0,in:i,nodeRef:A?_:void 0,onEnter:C,onEntered:B,onEntering:k,onExit:T,onExited:L,onExiting:O,addEndListener:function(e,t){var n=A?e:t;"auto"===p&&(v.current=setTimeout(n,b.current||0))},timeout:"auto"===p?null:p},y),(function(e,t){return zr.cloneElement(n,E({style:E({opacity:0,transform:Uu(.75),visibility:"exited"!==e||i?void 0:"hidden"},ju[e],d,n.props.style),ref:x},t))}))}));Fu.muiSupportAuto=!0;var zu=Fu,qu=zr.forwardRef((function(e,t){var n=e.disableUnderline,r=e.classes,o=e.fullWidth,i=void 0!==o&&o,a=e.inputComponent,s=void 0===a?"input":a,u=e.multiline,l=void 0!==u&&u,c=e.type,f=void 0===c?"text":c,d=U(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return zr.createElement(Eu,E({classes:E({},r,{root:si(r.root,!n&&r.underline),underline:null}),fullWidth:i,inputComponent:s,multiline:l,ref:t,type:f},d))}));qu.muiName="Input";var Wu=Qi((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(qu),Hu=zr.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.disableAnimation,i=void 0!==o&&o;e.margin;var a=e.shrink;e.variant;var s=U(e,["classes","className","disableAnimation","margin","shrink","variant"]),u=Fs(),l=a;void 0===l&&u&&(l=u.filled||u.focused||u.adornedStart);var c=hu({props:e,muiFormControl:u,states:["margin","variant"]});return zr.createElement(Tu,E({"data-shrink":l,className:si(n.root,r,u&&n.formControl,!i&&n.animated,l&&n.shrink,"dense"===c.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[c.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},s))})),Vu=Qi((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(Hu),Zu=zr.createContext({}),Ku=zr.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"ul":i,s=e.dense,u=void 0!==s&&s,l=e.disablePadding,c=void 0!==l&&l,f=e.subheader,d=U(e,["children","classes","className","component","dense","disablePadding","subheader"]),h=zr.useMemo((function(){return{dense:u}}),[u]);return zr.createElement(Zu.Provider,{value:h},zr.createElement(a,E({className:si(r.root,o,u&&r.dense,!c&&r.padding,f&&r.subheader),ref:t},d),f,n))})),Gu=Qi({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Ku),Xu="undefined"==typeof window?zr.useEffect:zr.useLayoutEffect,Yu=zr.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,o=e.autoFocus,i=void 0!==o&&o,a=e.button,s=void 0!==a&&a,u=e.children,l=e.classes,c=e.className,f=e.component,d=e.ContainerComponent,h=void 0===d?"li":d,p=e.ContainerProps,m=(p=void 0===p?{}:p).className,g=U(p,["className"]),y=e.dense,v=void 0!==y&&y,b=e.disabled,w=void 0!==b&&b,A=e.disableGutters,_=void 0!==A&&A,S=e.divider,x=void 0!==S&&S,R=e.focusVisibleClassName,k=e.selected,C=void 0!==k&&k,B=U(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),O=zr.useContext(Zu),T={dense:v||O.dense||!1,alignItems:r},L=zr.useRef(null);Xu((function(){i&&L.current&&L.current.focus()}),[i]);var M=zr.Children.toArray(u),P=M.length&&oa(M[M.length-1],["ListItemSecondaryAction"]),D=ca(zr.useCallback((function(e){L.current=zr.findDOMNode(e)}),[]),t),N=E({className:si(l.root,c,T.dense&&l.dense,!_&&l.gutters,x&&l.divider,w&&l.disabled,s&&l.button,"center"!==r&&l.alignItemsFlexStart,P&&l.secondaryAction,C&&l.selected),disabled:w},B),I=f||"li";return s&&(N.component=f||"div",N.focusVisibleClassName=si(l.focusVisible,R),I=Ss),P?(I=N.component||f?I:"div","li"===h&&("li"===I?I="div":"li"===N.component&&(N.component="div")),zr.createElement(Zu.Provider,{value:T},zr.createElement(h,E({className:si(l.container,m),ref:D},g),zr.createElement(I,N,M),M.pop()))):zr.createElement(Zu.Provider,{value:T},zr.createElement(I,E({ref:D},N),M))})),Ju=Qi((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(Yu);function Qu(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function $u(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function el(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function tl(e){return"function"==typeof e?e():e}var nl=zr.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,o=e.anchorOrigin,i=void 0===o?{vertical:"top",horizontal:"left"}:o,a=e.anchorPosition,s=e.anchorReference,u=void 0===s?"anchorEl":s,l=e.children,c=e.classes,f=e.className,d=e.container,h=e.elevation,p=void 0===h?8:h,m=e.getContentAnchorEl,g=e.marginThreshold,y=void 0===g?16:g,v=e.onEnter,b=e.onEntered,w=e.onEntering,A=e.onExit,_=e.onExited,S=e.onExiting,x=e.open,R=e.PaperProps,k=void 0===R?{}:R,C=e.transformOrigin,B=void 0===C?{vertical:"top",horizontal:"left"}:C,O=e.TransitionComponent,T=void 0===O?zu:O,L=e.transitionDuration,M=void 0===L?"auto":L,P=e.TransitionProps,D=void 0===P?{}:P,N=U(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),I=zr.useRef(),j=zr.useCallback((function(e){if("anchorPosition"===u)return a;var t=tl(r),n=(t&&1===t.nodeType?t:ia(I.current).body).getBoundingClientRect(),o=0===e?i.vertical:"center";return{top:n.top+Qu(n,o),left:n.left+$u(n,i.horizontal)}}),[r,i.horizontal,i.vertical,a,u]),F=zr.useCallback((function(e){var t=0;if(m&&"anchorEl"===u){var n=m(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}}return t}),[i.vertical,u,m]),z=zr.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Qu(e,B.vertical)+t,horizontal:$u(e,B.horizontal)}}),[B.horizontal,B.vertical]),q=zr.useCallback((function(e){var t=F(e),n={width:e.offsetWidth,height:e.offsetHeight},o=z(n,t);if("none"===u)return{top:null,left:null,transformOrigin:el(o)};var i=j(t),a=i.top-o.vertical,s=i.left-o.horizontal,l=a+n.height,c=s+n.width,f=aa(tl(r)),d=f.innerHeight-y,h=f.innerWidth-y;if(ad){var m=l-d;a-=m,o.vertical+=m}if(sh){var v=c-h;s-=v,o.horizontal+=v}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:el(o)}}),[r,u,j,F,z,y]),W=zr.useCallback((function(){var e=I.current;if(e){var t=q(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[q]),H=zr.useCallback((function(e){I.current=zr.findDOMNode(e)}),[]);zr.useEffect((function(){x&&W()})),zr.useImperativeHandle(n,(function(){return x?{updatePosition:function(){W()}}:null}),[x,W]),zr.useEffect((function(){if(x){var e=ra((function(){W()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[x,W]);var V=M;"auto"!==M||T.muiSupportAuto||(V=void 0);var Z=d||(r?ia(tl(r)).body:void 0);return zr.createElement(iu,E({container:Z,open:x,ref:t,BackdropProps:{invisible:!0},className:si(c.root,f)},N),zr.createElement(T,E({appear:!0,in:x,onEnter:v,onEntered:b,onExit:A,onExited:_,onExiting:S,timeout:V},D,{onEntering:ea((function(e,t){w&&w(e,t),W()}),D.onEntering)}),zr.createElement(vs,E({elevation:p,ref:H},k,{className:si(c.paper,k.className)}),l)))})),rl=Qi({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(nl);function ol(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function il(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function al(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function sl(e,t,n,r,o,i){for(var a=!1,s=o(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return;a=!0}var u=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&al(s,i)&&!u)return void s.focus();s=o(e,s,n)}}var ul,ll,cl="undefined"==typeof window?zr.useEffect:zr.useLayoutEffect,fl=zr.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,o=void 0!==r&&r,i=e.autoFocusItem,a=void 0!==i&&i,s=e.children,u=e.className,l=e.disabledItemsFocusable,c=void 0!==l&&l,f=e.disableListWrap,d=void 0!==f&&f,h=e.onKeyDown,p=e.variant,m=void 0===p?"selectedMenu":p,g=U(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),y=zr.useRef(null),v=zr.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});cl((function(){o&&y.current.focus()}),[o]),zr.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!y.current.style.width;if(e.clientHeight0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var s=r&&!o.repeating&&al(r,o);o.previousKeyMatched&&(s||sl(t,r,!1,c,ol,o))?e.preventDefault():o.previousKeyMatched=!1}h&&h(e)},tabIndex:o?0:-1},g),A)})),dl=fl,hl={vertical:"top",horizontal:"right"},pl={vertical:"top",horizontal:"left"},ml=zr.forwardRef((function(e,t){var n=e.autoFocus,r=void 0===n||n,o=e.children,i=e.classes,a=e.disableAutoFocusItem,s=void 0!==a&&a,u=e.MenuListProps,l=void 0===u?{}:u,c=e.onClose,f=e.onEntering,d=e.open,h=e.PaperProps,p=void 0===h?{}:h,m=e.PopoverClasses,g=e.transitionDuration,y=void 0===g?"auto":g,v=e.TransitionProps,b=(v=void 0===v?{}:v).onEntering,w=U(v,["onEntering"]),A=e.variant,_=void 0===A?"selectedMenu":A,S=U(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),x=Ji(),R=r&&!s&&d,k=zr.useRef(null),C=zr.useRef(null),B=-1;zr.Children.map(o,(function(e,t){zr.isValidElement(e)&&(e.props.disabled||("menu"!==_&&e.props.selected||-1===B)&&(B=t))}));var O=zr.Children.map(o,(function(e,t){return t===B?zr.cloneElement(e,{ref:function(t){C.current=zr.findDOMNode(t),sa(e.ref,t)}}):e}));return zr.createElement(rl,E({getContentAnchorEl:function(){return C.current},classes:m,onClose:c,TransitionProps:E({onEntering:function(e,t){k.current&&k.current.adjustStyleForScrollbar(e,x),f&&f(e,t),b&&b(e,t)}},w),anchorOrigin:"rtl"===x.direction?hl:pl,transformOrigin:"rtl"===x.direction?hl:pl,PaperProps:E({},p,{classes:E({},p.classes,{root:i.paper})}),open:d,ref:t,transitionDuration:y},S),zr.createElement(dl,E({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:k,autoFocus:r&&(-1===B||s),autoFocusItem:R,variant:_},l,{className:si(i.list,l.className)}),O))})),gl=Qi({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(ml),yl=zr.forwardRef((function(e,t){var n,r=e.classes,o=e.className,i=e.component,a=void 0===i?"li":i,s=e.disableGutters,u=void 0!==s&&s,l=e.ListItemClasses,c=e.role,f=void 0===c?"menuitem":c,d=e.selected,h=e.tabIndex,p=U(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==h?h:-1),zr.createElement(Ju,E({button:!0,role:f,tabIndex:n,component:a,selected:d,disableGutters:u,classes:E({dense:r.dense},l),className:si(r.root,o,d&&r.selected,!u&&r.gutters),ref:t},p))})),vl=Qi((function(e){return{root:E({},e.typography.body1,C({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:E({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(yl),bl=zr.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.disabled,i=e.IconComponent,a=e.inputRef,s=e.variant,u=void 0===s?"standard":s,l=U(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return zr.createElement(zr.Fragment,null,zr.createElement("select",E({className:si(n.root,n.select,n[u],r,o&&n.disabled),disabled:o,ref:a||t},l)),e.multiple?null:zr.createElement(i,{className:si(n.icon,n["icon".concat($i(u))],o&&n.disabled)}))})),wl=(ul=zr.createElement("path",{d:"M7 10l5 5 5-5z"}),(ll=function(e,t){return Vo.createElement(na,E({ref:t},e),ul)}).muiName=na.muiName,Vo.memo(Vo.forwardRef(ll))),Al=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},_l=zr.createElement(Wu,null),El=zr.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.IconComponent,i=void 0===o?wl:o,a=e.input,s=void 0===a?_l:a,u=e.inputProps;e.variant;var l=U(e,["children","classes","IconComponent","input","inputProps","variant"]),c=hu({props:e,muiFormControl:Fs(),states:["variant"]});return zr.cloneElement(s,E({inputComponent:bl,inputProps:E({children:n,classes:r,IconComponent:i,variant:c.variant,type:void 0},u,s?s.props.inputProps:{}),ref:t},l))}));El.muiName="Select",Qi(Al,{name:"MuiNativeSelect"})(El);var Sl=zr.forwardRef((function(e,t){e.children;var n=e.classes,r=e.className,o=e.label,i=e.labelWidth,a=e.notched,s=e.style,u=U(e,["children","classes","className","label","labelWidth","notched","style"]),l="rtl"===Ji().direction?"right":"left";if(void 0!==o)return zr.createElement("fieldset",E({"aria-hidden":!0,className:si(n.root,r),ref:t,style:s},u),zr.createElement("legend",{className:si(n.legendLabelled,a&&n.legendNotched)},o?zr.createElement("span",null,o):zr.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var c=i>0?.75*i+8:.01;return zr.createElement("fieldset",E({"aria-hidden":!0,style:E(C({},"padding".concat($i(l)),8),s),className:si(n.root,r),ref:t},u),zr.createElement("legend",{className:n.legend,style:{width:a?c:.01}},zr.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),xl=Qi((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(Sl),Rl=zr.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,o=void 0!==r&&r,i=e.inputComponent,a=void 0===i?"input":i,s=e.label,u=e.labelWidth,l=void 0===u?0:u,c=e.multiline,f=void 0!==c&&c,d=e.notched,h=e.type,p=void 0===h?"text":h,m=U(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return zr.createElement(Eu,E({renderSuffix:function(e){return zr.createElement(xl,{className:n.notchedOutline,label:s,labelWidth:l,notched:void 0!==d?d:Boolean(e.startAdornment||e.filled||e.focused)})},classes:E({},n,{root:si(n.root,n.underline),notchedOutline:null}),fullWidth:o,inputComponent:a,multiline:f,ref:t,type:p},m))}));Rl.muiName="Input";var kl=Qi((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(Rl);function Cl(e,t){return"object"===S(t)&&null!==t?e===t:String(e)===String(t)}var Bl=zr.forwardRef((function(e,t){var n=e["aria-label"],r=e.autoFocus,o=e.autoWidth,i=e.children,a=e.classes,s=e.className,u=e.defaultValue,l=e.disabled,c=e.displayEmpty,f=e.IconComponent,d=e.inputRef,h=e.labelId,p=e.MenuProps,m=void 0===p?{}:p,g=e.multiple,y=e.name,v=e.onBlur,b=e.onChange,w=e.onClose,A=e.onFocus,_=e.onOpen,S=e.open,x=e.readOnly,R=e.renderValue,k=e.SelectDisplayProps,C=void 0===k?{}:k,O=e.tabIndex;e.type;var T=e.value,L=e.variant,M=void 0===L?"standard":L,P=U(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),D=function(e){var t=e.controlled,n=e.default;e.name,e.state;var r=zr.useRef(void 0!==t).current,o=zr.useState(n),i=o[0],a=o[1];return[r?t:i,zr.useCallback((function(e){r||a(e)}),[])]}({controlled:T,default:u,name:"Select"}),N=ke(D,2),I=N[0],j=N[1],F=zr.useRef(null),z=zr.useState(null),q=z[0],W=z[1],H=zr.useRef(null!=S).current,V=zr.useState(),Z=V[0],K=V[1],G=zr.useState(!1),X=G[0],Y=G[1],J=ca(t,d);zr.useImperativeHandle(J,(function(){return{focus:function(){q.focus()},node:F.current,value:I}}),[q,I]),zr.useEffect((function(){r&&q&&q.focus()}),[r,q]),zr.useEffect((function(){if(q){var e=ia(q).getElementById(h);if(e){var t=function(){getSelection().isCollapsed&&q.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[h,q]);var Q,$,ee=function(e,t){e?_&&_(t):w&&w(t),H||(K(o?null:q.clientWidth),Y(e))},te=zr.Children.toArray(i),ne=function(e){return function(t){var n;if(g||ee(!1,t),g){n=Array.isArray(I)?I.slice():[];var r=I.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),I!==n&&(j(n),b&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:y}}),b(t,e)))}},re=null!==q&&(H?S:X);delete P["aria-invalid"];var oe=[],ie=!1;(wu({value:I})||c)&&(R?Q=R(I):ie=!0);var ae=te.map((function(e){if(!zr.isValidElement(e))return null;var t;if(g){if(!Array.isArray(I))throw new Error(B(2));t=I.some((function(t){return Cl(t,e.props.value)})),t&&ie&&oe.push(e.props.children)}else(t=Cl(I,e.props.value))&&ie&&($=e.props.children);return zr.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:ne(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));ie&&(Q=g?oe.join(", "):$);var se,ue=Z;!o&&H&&q&&(ue=q.clientWidth),se=void 0!==O?O:l?null:0;var le=C.id||(y?"mui-component-select-".concat(y):void 0);return zr.createElement(zr.Fragment,null,zr.createElement("div",E({className:si(a.root,a.select,a.selectMenu,a[M],s,l&&a.disabled),ref:W,tabIndex:se,role:"button","aria-disabled":l?"true":void 0,"aria-expanded":re?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[h,le].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!x){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ee(!0,e))}},onMouseDown:l||x?null:function(e){0===e.button&&(e.preventDefault(),q.focus(),ee(!0,e))},onBlur:function(e){!re&&v&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:I,name:y}}),v(e))},onFocus:A},C,{id:le}),function(e){return null==e||"string"==typeof e&&!e.trim()}(Q)?zr.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):Q),zr.createElement("input",E({value:Array.isArray(I)?I.join(","):I,name:y,ref:F,"aria-hidden":!0,onChange:function(e){var t=te.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=te[t];j(n.props.value),b&&b(e,n)}},tabIndex:-1,className:a.nativeInput,autoFocus:r},P)),zr.createElement(f,{className:si(a.icon,a["icon".concat($i(M))],re&&a.iconOpen,l&&a.disabled)}),zr.createElement(gl,E({id:"menu-".concat(y||""),anchorEl:q,open:re,onClose:function(e){ee(!1,e)}},m,{MenuListProps:E({"aria-labelledby":h,role:"listbox",disableListWrap:!0},m.MenuListProps),PaperProps:E({},m.PaperProps,{style:E({minWidth:ue},null!=m.PaperProps?m.PaperProps.style:null)})}),ae))})),Ol=Bl,Tl=Al,Ll=zr.createElement(Wu,null),Ml=zr.createElement(xu,null),Pl=zr.forwardRef((function e(t,n){var r=t.autoWidth,o=void 0!==r&&r,i=t.children,a=t.classes,s=t.displayEmpty,u=void 0!==s&&s,l=t.IconComponent,c=void 0===l?wl:l,f=t.id,d=t.input,h=t.inputProps,p=t.label,m=t.labelId,g=t.labelWidth,y=void 0===g?0:g,v=t.MenuProps,b=t.multiple,w=void 0!==b&&b,A=t.native,_=void 0!==A&&A,S=t.onClose,x=t.onOpen,R=t.open,k=t.renderValue,C=t.SelectDisplayProps,B=t.variant,O=void 0===B?"standard":B,T=U(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),L=_?bl:Ol,M=hu({props:t,muiFormControl:Fs(),states:["variant"]}).variant||O,P=d||{standard:Ll,outlined:zr.createElement(kl,{label:p,labelWidth:y}),filled:Ml}[M];return zr.cloneElement(P,E({inputComponent:L,inputProps:E({children:i,IconComponent:c,variant:M,type:void 0,multiple:w},_?{id:f}:{autoWidth:o,displayEmpty:u,labelId:m,MenuProps:v,onClose:S,onOpen:x,open:R,renderValue:k,SelectDisplayProps:E({id:f},C)},h,{classes:h?Zo({baseClasses:a,newClasses:h.classes,Component:e}):a},d?d.props.inputProps:{}),ref:n},T))}));Pl.muiName="Select";var Dl=Qi(Tl,{name:"MuiSelect"})(Pl),Nl={standard:Wu,filled:xu,outlined:kl},Il=zr.forwardRef((function(e,t){var n=e.autoComplete,r=e.autoFocus,o=void 0!==r&&r,i=e.children,a=e.classes,s=e.className,u=e.color,l=void 0===u?"primary":u,c=e.defaultValue,f=e.disabled,d=void 0!==f&&f,h=e.error,p=void 0!==h&&h,m=e.FormHelperTextProps,g=e.fullWidth,y=void 0!==g&&g,v=e.helperText,b=e.hiddenLabel,w=e.id,A=e.InputLabelProps,_=e.inputProps,S=e.InputProps,x=e.inputRef,R=e.label,k=e.multiline,C=void 0!==k&&k,B=e.name,O=e.onBlur,T=e.onChange,L=e.onFocus,M=e.placeholder,P=e.required,D=void 0!==P&&P,N=e.rows,I=e.rowsMax,j=e.maxRows,F=e.minRows,z=e.select,q=void 0!==z&&z,W=e.SelectProps,H=e.type,V=e.value,Z=e.variant,K=void 0===Z?"standard":Z,G=U(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]),X={};if("outlined"===K&&(A&&void 0!==A.shrink&&(X.notched=A.shrink),R)){var Y,J=null!==(Y=null==A?void 0:A.required)&&void 0!==Y?Y:D;X.label=zr.createElement(zr.Fragment,null,R,J&&" *")}q&&(W&&W.native||(X.id=void 0),X["aria-describedby"]=void 0);var Q=v&&w?"".concat(w,"-helper-text"):void 0,$=R&&w?"".concat(w,"-label"):void 0,ee=Nl[K],te=zr.createElement(ee,E({"aria-describedby":Q,autoComplete:n,autoFocus:o,defaultValue:c,fullWidth:y,multiline:C,name:B,rows:N,rowsMax:I,maxRows:j,minRows:F,type:H,value:V,id:w,inputRef:x,onBlur:O,onChange:T,onFocus:L,placeholder:M,inputProps:_},X,S));return zr.createElement(ku,E({className:si(a.root,s),disabled:d,error:p,fullWidth:y,hiddenLabel:b,ref:t,required:D,color:l,variant:K},G),R&&zr.createElement(Vu,E({htmlFor:w,id:$},A),R),q?zr.createElement(Dl,E({"aria-describedby":Q,id:w,labelId:$,value:V,input:te},W),i):te,v&&zr.createElement(Bu,E({id:Q},m),v))})),Ul=Qi({root:{}},{name:"MuiTextField"})(Il),jl={entering:{transform:"none"},entered:{transform:"none"}},Fl={enter:Ue.enteringScreen,exit:Ue.leavingScreen},zl=zr.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,o=void 0!==r&&r,i=e.in,a=e.onEnter,s=e.onEntered,u=e.onEntering,l=e.onExit,c=e.onExited,f=e.onExiting,d=e.style,h=e.timeout,p=void 0===h?Fl:h,m=e.TransitionComponent,g=void 0===m?as:m,y=U(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=Ji(),b=v.unstable_strictMode&&!o,w=zr.useRef(null),A=ca(n.ref,t),_=ca(b?w:void 0,A),S=function(e){return function(t,n){if(e){var r=ke(b?[w.current,t]:[t,n],2),o=r[0],i=r[1];void 0===i?e(o):e(o,i)}}},x=S(u),R=S((function(e,t){hs(e);var n=ps({style:d,timeout:p},{mode:"enter"});e.style.webkitTransition=v.transitions.create("transform",n),e.style.transition=v.transitions.create("transform",n),a&&a(e,t)})),k=S(s),C=S(f),B=S((function(e){var t=ps({style:d,timeout:p},{mode:"exit"});e.style.webkitTransition=v.transitions.create("transform",t),e.style.transition=v.transitions.create("transform",t),l&&l(e)})),O=S(c);return zr.createElement(g,E({appear:!0,in:i,nodeRef:b?w:void 0,onEnter:R,onEntered:k,onEntering:x,onExit:B,onExited:O,onExiting:C,timeout:p},y),(function(e,t){return zr.cloneElement(n,E({style:E({transform:"scale(0)",visibility:"exited"!==e||i?void 0:"hidden"},jl[e],d,n.props.style),ref:_},t))}))})),ql=zl,Wl={exports:{}};"function"==typeof Object.create?Wl.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Wl.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}};var Hl=Wl.exports,Vl={exports:{}},Zl="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},Kl=[],Gl=[],Xl="undefined"!=typeof Uint8Array?Uint8Array:Array,Yl=!1;function Jl(){Yl=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Kl[t]=e[t],Gl[e.charCodeAt(t)]=t;Gl["-".charCodeAt(0)]=62,Gl["_".charCodeAt(0)]=63}function Ql(e,t,n){for(var r,o,i=[],a=t;a>18&63]+Kl[o>>12&63]+Kl[o>>6&63]+Kl[63&o]);return i.join("")}function $l(e){var t;Yl||Jl();for(var n=e.length,r=n%3,o="",i=[],a=16383,s=0,u=n-r;su?u:s+a));return 1===r?(t=e[n-1],o+=Kl[t>>2],o+=Kl[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=Kl[t>>10],o+=Kl[t>>4&63],o+=Kl[t<<2&63],o+="="),i.push(o),i.join("")}function ec(e,t,n,r,o){var i,a,s=8*o-r-1,u=(1<>1,c=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-c)-1,h>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)}function tc(e,t,n,r,o,i){var a,s,u,l=8*i-o-1,c=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}var nc={}.toString,rc=Array.isArray||function(e){return"[object Array]"==nc.call(e)};sc.TYPED_ARRAY_SUPPORT=void 0===Zl.TYPED_ARRAY_SUPPORT||Zl.TYPED_ARRAY_SUPPORT;var oc=ic();function ic(){return sc.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ac(e,t){if(ic()=ic())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ic().toString(16)+" bytes");return 0|e}function hc(e){return!(null==e||!e._isBuffer)}function pc(e,t){if(hc(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return zc(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return qc(e).length;default:if(r)return zc(e).length;t=(""+t).toLowerCase(),r=!0}}function mc(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Oc(this,t,n);case"utf8":case"utf-8":return Rc(this,t,n);case"ascii":return Cc(this,t,n);case"latin1":case"binary":return Bc(this,t,n);case"base64":return xc(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tc(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function gc(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function yc(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=sc.from(t,r)),hc(t))return 0===t.length?-1:vc(e,t,n,r,o);if("number"==typeof t)return t&=255,sc.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):vc(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function vc(e,t,n,r,o){var i,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=n;is&&(n=s-u),i=n;i>=0;i--){for(var f=!0,d=0;do&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function xc(e,t,n){return 0===t&&n===e.length?$l(e):$l(e.slice(t,n))}function Rc(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:l>223?3:l>191?2:1;if(o+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&l)<<6|63&i)>127&&(c=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&l)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),o+=f}return function(e){var t=e.length;if(t<=kc)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},sc.prototype.compare=function(e,t,n,r,o){if(!hc(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(r,o),l=e.slice(t,n),c=0;co)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return bc(this,e,t,n);case"utf8":case"utf-8":return wc(this,e,t,n);case"ascii":return Ac(this,e,t,n);case"latin1":case"binary":return _c(this,e,t,n);case"base64":return Ec(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sc(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},sc.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var kc=4096;function Cc(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;or)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function Mc(e,t,n,r,o,i){if(!hc(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function Pc(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function Dc(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function Nc(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ic(e,t,n,r,o){return o||Nc(e,0,n,4),tc(e,t,n,r,23,4),n+4}function Uc(e,t,n,r,o){return o||Nc(e,0,n,8),tc(e,t,n,r,52,8),n+8}sc.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},sc.prototype.readUInt8=function(e,t){return t||Lc(e,1,this.length),this[e]},sc.prototype.readUInt16LE=function(e,t){return t||Lc(e,2,this.length),this[e]|this[e+1]<<8},sc.prototype.readUInt16BE=function(e,t){return t||Lc(e,2,this.length),this[e]<<8|this[e+1]},sc.prototype.readUInt32LE=function(e,t){return t||Lc(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},sc.prototype.readUInt32BE=function(e,t){return t||Lc(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},sc.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Lc(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},sc.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Lc(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},sc.prototype.readInt8=function(e,t){return t||Lc(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},sc.prototype.readInt16LE=function(e,t){t||Lc(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},sc.prototype.readInt16BE=function(e,t){t||Lc(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},sc.prototype.readInt32LE=function(e,t){return t||Lc(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},sc.prototype.readInt32BE=function(e,t){return t||Lc(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},sc.prototype.readFloatLE=function(e,t){return t||Lc(e,4,this.length),ec(this,e,!0,23,4)},sc.prototype.readFloatBE=function(e,t){return t||Lc(e,4,this.length),ec(this,e,!1,23,4)},sc.prototype.readDoubleLE=function(e,t){return t||Lc(e,8,this.length),ec(this,e,!0,52,8)},sc.prototype.readDoubleBE=function(e,t){return t||Lc(e,8,this.length),ec(this,e,!1,52,8)},sc.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Mc(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},sc.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,1,255,0),sc.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},sc.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,2,65535,0),sc.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Pc(this,e,t,!0),t+2},sc.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,2,65535,0),sc.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Pc(this,e,t,!1),t+2},sc.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,4,4294967295,0),sc.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Dc(this,e,t,!0),t+4},sc.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,4,4294967295,0),sc.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Dc(this,e,t,!1),t+4},sc.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Mc(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},sc.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Mc(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},sc.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,1,127,-128),sc.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},sc.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,2,32767,-32768),sc.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Pc(this,e,t,!0),t+2},sc.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,2,32767,-32768),sc.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Pc(this,e,t,!1),t+2},sc.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,4,2147483647,-2147483648),sc.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Dc(this,e,t,!0),t+4},sc.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Mc(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),sc.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Dc(this,e,t,!1),t+4},sc.prototype.writeFloatLE=function(e,t,n){return Ic(this,e,t,!0,n)},sc.prototype.writeFloatBE=function(e,t,n){return Ic(this,e,t,!1,n)},sc.prototype.writeDoubleLE=function(e,t,n){return Uc(this,e,t,!0,n)},sc.prototype.writeDoubleBE=function(e,t,n){return Uc(this,e,t,!1,n)},sc.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!sc.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function qc(e){return function(e){var t,n,r,o,i,a;Yl||Jl();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,a=new Xl(3*s/4-i),r=i>0?s-4:s;var u=0;for(t=0,n=0;t>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Gl[e.charCodeAt(t)]<<2|Gl[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=Gl[e.charCodeAt(t)]<<10|Gl[e.charCodeAt(t+1)]<<4|Gl[e.charCodeAt(t+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(jc,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Wc(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Hc(e){return null!=e&&(!!e._isBuffer||Vc(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Vc(e.slice(0,0))}(e))}function Vc(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Zc=Object.freeze({__proto__:null,Buffer:sc,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),sc.alloc(+e)},isBuffer:Hc,kMaxLength:oc}),Kc=r(Zc);!function(e,t){var n=Kc,r=n.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=i),i.prototype=Object.create(r.prototype),o(r,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var o=r(e);return void 0!==t?"string"==typeof n?o.fill(t,n):o.fill(t):o.fill(0),o},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}(Vl,Vl.exports);var Gc=Vl.exports,Xc={exports:{}};function Yc(){}function Jc(){Jc.init.call(this)}function Qc(e){return void 0===e._maxListeners?Jc.defaultMaxListeners:e._maxListeners}function $c(e,t,n,r){var o,i,a;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((i=e._events)?(i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]):(i=e._events=new Yc,e._eventsCount=0),a){if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),!a.warned&&(o=Qc(e))&&o>0&&a.length>o){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,function(e){"function"==typeof console.warn?console.warn(e):console.log(e)}(s)}}else a=i[t]=n,++e._eventsCount;return e}function ef(e,t,n){var r=!1;function o(){e.removeListener(t,o),r||(r=!0,n.apply(e,arguments))}return o.listener=n,o}function tf(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function nf(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}Yc.prototype=Object.create(null),Jc.EventEmitter=Jc,Jc.usingDomains=!1,Jc.prototype.domain=void 0,Jc.prototype._events=void 0,Jc.prototype._maxListeners=void 0,Jc.defaultMaxListeners=10,Jc.init=function(){this.domain=null,Jc.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Yc,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Jc.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},Jc.prototype.getMaxListeners=function(){return Qc(this)},Jc.prototype.emit=function(e){var t,n,r,o,i,a,s,u="error"===e;if(a=this._events)u=u&&null==a.error;else if(!u)return!1;if(s=this.domain,u){if(t=arguments[1],!s){if(t instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var c="function"==typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,o=nf(e,r),i=0;i0;)if(n[i]===t||n[i].listener&&n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new Yc,this;delete r[e]}else!function(e,t){for(var n=t,r=n+1,o=e.length;r0?Reflect.ownKeys(this._events):[]};var rf=r(Object.freeze({__proto__:null,default:Jc,EventEmitter:Jc})),of=rf.EventEmitter;function af(){throw new Error("setTimeout has not been defined")}function sf(){throw new Error("clearTimeout has not been defined")}var uf=af,lf=sf;function cf(e){if(uf===setTimeout)return setTimeout(e,0);if((uf===af||!uf)&&setTimeout)return uf=setTimeout,setTimeout(e,0);try{return uf(e,0)}catch(t){try{return uf.call(null,e,0)}catch(t){return uf.call(this,e,0)}}}"function"==typeof Zl.setTimeout&&(uf=setTimeout),"function"==typeof Zl.clearTimeout&&(lf=clearTimeout);var ff,df=[],hf=!1,pf=-1;function mf(){hf&&ff&&(hf=!1,ff.length?df=ff.concat(df):pf=-1,df.length&&gf())}function gf(){if(!hf){var e=cf(mf);hf=!0;for(var t=df.length;t;){for(ff=df,df=[];++pf1)for(var n=1;n=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Vf(t)?n.showHidden=t:t&&ld(n,t),Jf(n.showHidden)&&(n.showHidden=!1),Jf(n.depth)&&(n.depth=2),Jf(n.colors)&&(n.colors=!1),Jf(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=jf),zf(n,e,n.depth)}function jf(e,t){var n=Uf.styles[t];return n?"["+Uf.colors[n][0]+"m"+e+"["+Uf.colors[n][1]+"m":e}function Ff(e,t){return e}function zf(e,t,n){if(e.customInspect&&t&&nd(t.inspect)&&t.inspect!==Uf&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Xf(r)||(r=zf(e,r,n)),r}var o=function(e,t){if(Jf(t))return e.stylize("undefined","undefined");if(Xf(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(Gf(t))return e.stylize(""+t,"number");if(Vf(t))return e.stylize(""+t,"boolean");if(Zf(t))return e.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),td(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return qf(t);if(0===i.length){if(nd(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Qf(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(ed(t))return e.stylize(Date.prototype.toString.call(t),"date");if(td(t))return qf(t)}var u,l="",c=!1,f=["{","}"];(Hf(t)&&(c=!0,f=["[","]"]),nd(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return Qf(t)&&(l=" "+RegExp.prototype.toString.call(t)),ed(t)&&(l=" "+Date.prototype.toUTCString.call(t)),td(t)&&(l=" "+qf(t)),0!==i.length||c&&0!=t.length?n<0?Qf(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=c?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,l,f)):f[0]+l+f[1]}function qf(e){return"["+Error.prototype.toString.call(e)+"]"}function Wf(e,t,n,r,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),cd(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=Zf(n)?zf(e,u.value,null):zf(e,u.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Jf(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Hf(e){return Array.isArray(e)}function Vf(e){return"boolean"==typeof e}function Zf(e){return null===e}function Kf(e){return null==e}function Gf(e){return"number"==typeof e}function Xf(e){return"string"==typeof e}function Yf(e){return"symbol"==typeof e}function Jf(e){return void 0===e}function Qf(e){return $f(e)&&"[object RegExp]"===id(e)}function $f(e){return"object"==typeof e&&null!==e}function ed(e){return $f(e)&&"[object Date]"===id(e)}function td(e){return $f(e)&&("[object Error]"===id(e)||e instanceof Error)}function nd(e){return"function"==typeof e}function rd(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function od(e){return sc.isBuffer(e)}function id(e){return Object.prototype.toString.call(e)}function ad(e){return e<10?"0"+e.toString(10):e.toString(10)}Uf.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Uf.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var sd=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ud(){console.log("%s - %s",function(){var e=new Date,t=[ad(e.getHours()),ad(e.getMinutes()),ad(e.getSeconds())].join(":");return[e.getDate(),sd[e.getMonth()],t].join(" ")}(),Mf.apply(null,arguments))}function ld(e,t){if(!t||!$f(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function cd(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var fd,dd,hd={inherits:Tf,_extend:ld,log:ud,isBuffer:od,isPrimitive:rd,isFunction:nd,isError:td,isDate:ed,isObject:$f,isRegExp:Qf,isUndefined:Jf,isSymbol:Yf,isString:Xf,isNumber:Gf,isNullOrUndefined:Kf,isNull:Zf,isBoolean:Vf,isArray:Hf,inspect:Uf,deprecate:Pf,format:Mf,debuglog:If},pd=r(Object.freeze({__proto__:null,format:Mf,deprecate:Pf,debuglog:If,inspect:Uf,isArray:Hf,isBoolean:Vf,isNull:Zf,isNullOrUndefined:Kf,isNumber:Gf,isString:Xf,isSymbol:Yf,isUndefined:Jf,isRegExp:Qf,isObject:$f,isDate:ed,isError:td,isFunction:nd,isPrimitive:rd,isBuffer:od,log:ud,inherits:Tf,_extend:ld,default:hd}));function md(){if(dd)return fd;function e(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 t(t){for(var r=1;r0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return i.alloc(0);for(var t=i.allocUnsafe(e>>>0),n=this.head,r=0;n;)u(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return eo.length?o.length:e;if(i===o.length?r+=o:r+=o.slice(0,e),0==(e-=i)){i===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=i.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,a),0==(e-=a)){a===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++r}return this.length-=r,t}},{key:s,value:function(e,n){return a(this,t(t({},n),{},{depth:0,customInspect:!1}))}}],o&&r(n.prototype,o),l&&r(n,l),Object.defineProperty(n,"prototype",{writable:!1}),e}(),fd}function gd(e,t){vd(e,t),yd(e)}function yd(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function vd(e,t){e.emit("error",t)}var bd={destroy:function(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return r||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(vd,this,e)):process.nextTick(vd,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?process.nextTick(yd,n):(n._writableState.errorEmitted=!0,process.nextTick(gd,n,e)):process.nextTick(gd,n,e):t?(process.nextTick(yd,n),t(e)):process.nextTick(yd,n)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}},wd={};var Ad={};function _d(e,t,n){n||(n=Error);var r=function(e){var n,r;function o(n,r,o){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,o))||this}return r=e,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,o}(n);r.prototype.name=n.name,r.prototype.code=e,Ad[e]=r}function Ed(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}_d("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),_d("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,o,i,a;if("string"==typeof t&&(o="not ",t.substr(!i||i<0?0:+i,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(Ed(t,"type"));else{var s=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(s," ").concat(r," ").concat(Ed(t,"type"))}return a+=". Received type ".concat(typeof n)}),TypeError),_d("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),_d("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),_d("ERR_STREAM_PREMATURE_CLOSE","Premature close"),_d("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),_d("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),_d("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),_d("ERR_STREAM_WRITE_AFTER_END","write after end"),_d("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),_d("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),_d("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),wd.codes=Ad;var Sd=wd.codes.ERR_INVALID_OPT_VALUE;var xd,Rd,kd,Cd,Bd={getHighWaterMark:function(e,t,n,r){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,r,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new Sd(r?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}},Od=function(e,t){if(Td("noDeprecation"))return e;var n=!1;return function(){if(!n){if(Td("throwDeprecation"))throw new Error(t);Td("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function Td(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}function Ld(){if(Rd)return xd;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var n;Rd=1,xd=_,_.WritableState=A;var r={deprecate:Od},o=of,i=Kc.Buffer,a=(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var s,u=bd,l=Bd.getHighWaterMark,c=wd.codes,f=c.ERR_INVALID_ARG_TYPE,d=c.ERR_METHOD_NOT_IMPLEMENTED,h=c.ERR_MULTIPLE_CALLBACK,p=c.ERR_STREAM_CANNOT_PIPE,m=c.ERR_STREAM_DESTROYED,g=c.ERR_STREAM_NULL_VALUES,y=c.ERR_STREAM_WRITE_AFTER_END,v=c.ERR_UNKNOWN_ENCODING,b=u.errorOrDestroy;function w(){}function A(t,r,o){n=n||Md(),t=t||{},"boolean"!=typeof o&&(o=r instanceof n),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=l(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if("function"!=typeof o)throw new h;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(process.nextTick(o,r),process.nextTick(C,e,t),e._writableState.errorEmitted=!0,b(e,r)):(o(r),e._writableState.errorEmitted=!0,b(e,r),C(e,t))}(e,n,r,t,o);else{var i=R(n)||e.destroyed;i||n.corked||n.bufferProcessing||!n.bufferedRequest||x(e,n),r?process.nextTick(S,e,n,i,o):S(e,n,i,o)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function _(e){var t=this instanceof(n=n||Md());if(!t&&!s.call(_,this))return new _(e);this._writableState=new A(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function E(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new m("write")):n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function S(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),C(e,t)}function x(t,n){n.bufferProcessing=!0;var r=n.bufferedRequest;if(t._writev&&r&&r.next){var o=n.bufferedRequestCount,i=new Array(o),a=n.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,E(t,n,!0,n.length,i,"",a.finish),n.pendingcb++,n.lastBufferedRequest=null,a.next?(n.corkedRequestsFree=a.next,a.next=null):n.corkedRequestsFree=new e(n),n.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,f=r.callback;if(E(t,n,!1,n.objectMode?1:l.length,l,c,f),r=r.next,n.bufferedRequestCount--,n.writing)break}null===r&&(n.lastBufferedRequest=null)}n.bufferedRequest=r,n.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(n){t.pendingcb--,n&&b(e,n),t.prefinished=!0,e.emit("prefinish"),C(e,t)}))}function C(e,t){var n=R(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(k,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}return Hl(_,o),A.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(A.prototype,"buffer",{get:r.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===_&&(e&&e._writableState instanceof A)}})):s=function(e){return e instanceof this},_.prototype.pipe=function(){b(this,new p)},_.prototype.write=function(e,t,n){var r,o=this._writableState,s=!1,u=!o.objectMode&&(r=e,i.isBuffer(r)||r instanceof a);return u&&!i.isBuffer(e)&&(e=function(e){return i.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=w),o.ending?function(e,t){var n=new y;b(e,n),process.nextTick(t,n)}(this,n):(u||function(e,t,n,r){var o;return null===n?o=new g:"string"==typeof n||t.objectMode||(o=new f("chunk",["string","Buffer"],n)),!o||(b(e,o),process.nextTick(r,o),!1)}(this,o,e,n))&&(o.pendingcb++,s=function(e,t,n,r,o,a){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,n));return t}(t,r,o);r!==s&&(n=!0,o="buffer",r=s)}var u=t.objectMode?1:r.length;t.length+=u;var l=t.length-1))throw new v(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(_.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,n){n(new d("_write()"))},_.prototype._writev=null,_.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,C(e,t),n&&(t.finished?process.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(_.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=u.destroy,_.prototype._undestroy=u.undestroy,_.prototype._destroy=function(e,t){t(e)},xd}function Md(){if(Cd)return kd;Cd=1;var e=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};kd=a;var t=Kd(),n=Ld();Hl(a,t);for(var r=e(n.prototype),o=0;o>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function i(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function s(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}return Dd.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--o=0)return i>0&&(e.lastNeed=i-2),i;if(--o=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var o=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,o),e.toString("utf8",t,o)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Dd}var Id=wd.codes.ERR_STREAM_PREMATURE_CLOSE;function Ud(){}var jd,Fd,zd,qd,Wd,Hd,Vd=function e(t,n,r){if("function"==typeof n)return e(t,null,n);n||(n={}),r=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),r)l.endEmitted?b(e,new v):S(e,l,t,!0);else if(l.ended)b(e,new g);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?S(e,l,t,!1):B(e,l)):S(e,l,t,!1)}else r||(l.reading=!1,B(e,l));return!l.ended&&(l.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(C,e))}function C(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,P(e)}function B(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(O,e,t))}function O(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){a("readable nexttick read 0"),e.read(0)}function M(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),P(e),t.flowing&&!t.reading&&e.read(0)}function P(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function N(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(I,t,e))}function I(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function U(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return a("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):k(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,o=t.needReadable;return a("need readable",o),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit("data",r),r},_.prototype._read=function(e){b(this,new y("_read()"))},_.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,a("pipe count=%d opts=%j",o.pipesCount,t);var i=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?u:m;function s(t,n){a("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,a("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",l),e.removeListener("error",d),e.removeListener("unpipe",s),r.removeListener("end",u),r.removeListener("end",m),r.removeListener("data",f),c=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function u(){a("onend"),e.end()}o.endEmitted?process.nextTick(i):r.once("end",i),e.on("unpipe",s);var l=function(e){return function(){var t=e._readableState;a("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&n(e,"data")&&(t.flowing=!0,P(e))}}(r);e.on("drain",l);var c=!1;function f(t){a("ondata");var n=e.write(t);a("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==U(o.pipes,e))&&!c&&(a("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function d(t){a("onerror",t),m(),e.removeListener("error",d),0===n(e,"error")&&b(e,t)}function h(){e.removeListener("finish",p),m()}function p(){a("onfinish"),e.removeListener("close",h),m()}function m(){a("unpipe"),r.unpipe(e)}return r.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",r),o.flowing||(a("pipe resume"),r.resume()),e},_.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,a("on readable",o.length,o.reading),o.length?k(this):o.reading||process.nextTick(L,this))),n},_.prototype.addListener=_.prototype.on,_.prototype.removeListener=function(e,t){var n=r.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(T,this),n},_.prototype.removeAllListeners=function(e){var t=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(T,this),t},_.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(M,e,t))}(this,e)),e.paused=!1,this},_.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},_.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",(function(){if(a("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(a("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o)||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i0,(function(e){r||(r=e),e&&i.forEach(hh),a||(i.forEach(hh),o(r))}))}));return t.reduce(ph)};!function(e,t){(t=e.exports=Kd()).Stream=t,t.Readable=t,t.Writable=Ld(),t.Duplex=Md(),t.Transform=Gd,t.PassThrough=ah,t.finished=Vd,t.pipeline=mh}(Xc,Xc.exports);var gh=Xc.exports,yh=Gc.Buffer,vh=gh.Transform;function bh(e){vh.call(this),this._block=yh.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}Hl(bh,vh),bh.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},bh.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},bh.prototype.update=function(e,t){if(function(e,t){if(!yh.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");yh.isBuffer(e)||(e=yh.from(e,t));for(var n=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var o=this._blockOffset;o0;++i)this._length[i]+=a,(a=this._length[i]/4294967296|0)>0&&(this._length[i]-=4294967296*a);return this},bh.prototype._update=function(){throw new Error("_update is not implemented")},bh.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},bh.prototype._digest=function(){throw new Error("_digest is not implemented")};var wh=bh,Ah=Hl,_h=wh,Eh=Gc.Buffer,Sh=new Array(16);function xh(){_h.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function Rh(e,t){return e<>>32-t}function kh(e,t,n,r,o,i,a){return Rh(e+(t&n|~t&r)+o+i|0,a)+t|0}function Ch(e,t,n,r,o,i,a){return Rh(e+(t&r|n&~r)+o+i|0,a)+t|0}function Bh(e,t,n,r,o,i,a){return Rh(e+(t^n^r)+o+i|0,a)+t|0}function Oh(e,t,n,r,o,i,a){return Rh(e+(n^(t|~r))+o+i|0,a)+t|0}Ah(xh,_h),xh.prototype._update=function(){for(var e=Sh,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,o=this._c,i=this._d;n=kh(n,r,o,i,e[0],3614090360,7),i=kh(i,n,r,o,e[1],3905402710,12),o=kh(o,i,n,r,e[2],606105819,17),r=kh(r,o,i,n,e[3],3250441966,22),n=kh(n,r,o,i,e[4],4118548399,7),i=kh(i,n,r,o,e[5],1200080426,12),o=kh(o,i,n,r,e[6],2821735955,17),r=kh(r,o,i,n,e[7],4249261313,22),n=kh(n,r,o,i,e[8],1770035416,7),i=kh(i,n,r,o,e[9],2336552879,12),o=kh(o,i,n,r,e[10],4294925233,17),r=kh(r,o,i,n,e[11],2304563134,22),n=kh(n,r,o,i,e[12],1804603682,7),i=kh(i,n,r,o,e[13],4254626195,12),o=kh(o,i,n,r,e[14],2792965006,17),n=Ch(n,r=kh(r,o,i,n,e[15],1236535329,22),o,i,e[1],4129170786,5),i=Ch(i,n,r,o,e[6],3225465664,9),o=Ch(o,i,n,r,e[11],643717713,14),r=Ch(r,o,i,n,e[0],3921069994,20),n=Ch(n,r,o,i,e[5],3593408605,5),i=Ch(i,n,r,o,e[10],38016083,9),o=Ch(o,i,n,r,e[15],3634488961,14),r=Ch(r,o,i,n,e[4],3889429448,20),n=Ch(n,r,o,i,e[9],568446438,5),i=Ch(i,n,r,o,e[14],3275163606,9),o=Ch(o,i,n,r,e[3],4107603335,14),r=Ch(r,o,i,n,e[8],1163531501,20),n=Ch(n,r,o,i,e[13],2850285829,5),i=Ch(i,n,r,o,e[2],4243563512,9),o=Ch(o,i,n,r,e[7],1735328473,14),n=Bh(n,r=Ch(r,o,i,n,e[12],2368359562,20),o,i,e[5],4294588738,4),i=Bh(i,n,r,o,e[8],2272392833,11),o=Bh(o,i,n,r,e[11],1839030562,16),r=Bh(r,o,i,n,e[14],4259657740,23),n=Bh(n,r,o,i,e[1],2763975236,4),i=Bh(i,n,r,o,e[4],1272893353,11),o=Bh(o,i,n,r,e[7],4139469664,16),r=Bh(r,o,i,n,e[10],3200236656,23),n=Bh(n,r,o,i,e[13],681279174,4),i=Bh(i,n,r,o,e[0],3936430074,11),o=Bh(o,i,n,r,e[3],3572445317,16),r=Bh(r,o,i,n,e[6],76029189,23),n=Bh(n,r,o,i,e[9],3654602809,4),i=Bh(i,n,r,o,e[12],3873151461,11),o=Bh(o,i,n,r,e[15],530742520,16),n=Oh(n,r=Bh(r,o,i,n,e[2],3299628645,23),o,i,e[0],4096336452,6),i=Oh(i,n,r,o,e[7],1126891415,10),o=Oh(o,i,n,r,e[14],2878612391,15),r=Oh(r,o,i,n,e[5],4237533241,21),n=Oh(n,r,o,i,e[12],1700485571,6),i=Oh(i,n,r,o,e[3],2399980690,10),o=Oh(o,i,n,r,e[10],4293915773,15),r=Oh(r,o,i,n,e[1],2240044497,21),n=Oh(n,r,o,i,e[8],1873313359,6),i=Oh(i,n,r,o,e[15],4264355552,10),o=Oh(o,i,n,r,e[6],2734768916,15),r=Oh(r,o,i,n,e[13],1309151649,21),n=Oh(n,r,o,i,e[4],4149444226,6),i=Oh(i,n,r,o,e[11],3174756917,10),o=Oh(o,i,n,r,e[2],718787259,15),r=Oh(r,o,i,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+o|0,this._d=this._d+i|0},xh.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=Eh.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e};var Th=xh,Lh=Kc.Buffer,Mh=Hl,Ph=wh,Dh=new Array(16),Nh=[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],Ih=[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],Uh=[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],jh=[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],Fh=[0,1518500249,1859775393,2400959708,2840853838],zh=[1352829926,1548603684,1836072691,2053994217,0];function qh(){Ph.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function Wh(e,t){return e<>>32-t}function Hh(e,t,n,r,o,i,a,s){return Wh(e+(t^n^r)+i+a|0,s)+o|0}function Vh(e,t,n,r,o,i,a,s){return Wh(e+(t&n|~t&r)+i+a|0,s)+o|0}function Zh(e,t,n,r,o,i,a,s){return Wh(e+((t|~n)^r)+i+a|0,s)+o|0}function Kh(e,t,n,r,o,i,a,s){return Wh(e+(t&r|n&~r)+i+a|0,s)+o|0}function Gh(e,t,n,r,o,i,a,s){return Wh(e+(t^(n|~r))+i+a|0,s)+o|0}Mh(qh,Ph),qh.prototype._update=function(){for(var e=Dh,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,o=0|this._c,i=0|this._d,a=0|this._e,s=0|this._a,u=0|this._b,l=0|this._c,c=0|this._d,f=0|this._e,d=0;d<80;d+=1){var h,p;d<16?(h=Hh(n,r,o,i,a,e[Nh[d]],Fh[0],Uh[d]),p=Gh(s,u,l,c,f,e[Ih[d]],zh[0],jh[d])):d<32?(h=Vh(n,r,o,i,a,e[Nh[d]],Fh[1],Uh[d]),p=Kh(s,u,l,c,f,e[Ih[d]],zh[1],jh[d])):d<48?(h=Zh(n,r,o,i,a,e[Nh[d]],Fh[2],Uh[d]),p=Zh(s,u,l,c,f,e[Ih[d]],zh[2],jh[d])):d<64?(h=Kh(n,r,o,i,a,e[Nh[d]],Fh[3],Uh[d]),p=Vh(s,u,l,c,f,e[Ih[d]],zh[3],jh[d])):(h=Gh(n,r,o,i,a,e[Nh[d]],Fh[4],Uh[d]),p=Hh(s,u,l,c,f,e[Ih[d]],zh[4],jh[d])),n=a,a=i,i=Wh(o,10),o=r,r=h,s=f,f=c,c=Wh(l,10),l=u,u=p}var m=this._b+o+c|0;this._b=this._c+i+f|0,this._c=this._d+a+s|0,this._d=this._e+n+u|0,this._e=this._a+r+l|0,this._a=m},qh.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=Lh.alloc?Lh.alloc(20):new Lh(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e};var Xh=qh,Yh={exports:{}},Jh=Gc.Buffer;function Qh(e,t){this._block=Jh.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}Qh.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=Jh.from(e,t));for(var n=this._block,r=this._blockSize,o=e.length,i=this._len,a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,o=(n-r)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},Qh.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var $h=Qh,ep=Hl,tp=$h,np=Gc.Buffer,rp=[1518500249,1859775393,-1894007588,-899497514],op=new Array(80);function ip(){this.init(),this._w=op,tp.call(this,64,56)}function ap(e){return e<<30|e>>>2}function sp(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}ep(ip,tp),ip.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},ip.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,u=0;u<16;++u)n[u]=e.readInt32BE(4*u);for(;u<80;++u)n[u]=n[u-3]^n[u-8]^n[u-14]^n[u-16];for(var l=0;l<80;++l){var c=~~(l/20),f=0|((t=r)<<5|t>>>27)+sp(c,o,i,a)+s+n[l]+rp[c];s=a,a=i,i=ap(o),o=r,r=f}this._a=r+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},ip.prototype._hash=function(){var e=np.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e};var up=ip,lp=Hl,cp=$h,fp=Gc.Buffer,dp=[1518500249,1859775393,-1894007588,-899497514],hp=new Array(80);function pp(){this.init(),this._w=hp,cp.call(this,64,56)}function mp(e){return e<<5|e>>>27}function gp(e){return e<<30|e>>>2}function yp(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}lp(pp,cp),pp.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},pp.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,u=0;u<16;++u)n[u]=e.readInt32BE(4*u);for(;u<80;++u)n[u]=(t=n[u-3]^n[u-8]^n[u-14]^n[u-16])<<1|t>>>31;for(var l=0;l<80;++l){var c=~~(l/20),f=mp(r)+yp(c,o,i,a)+s+n[l]+dp[c]|0;s=a,a=i,i=gp(o),o=r,r=f}this._a=r+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},pp.prototype._hash=function(){var e=fp.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e};var vp=pp,bp=Hl,wp=$h,Ap=Gc.Buffer,_p=[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],Ep=new Array(64);function Sp(){this.init(),this._w=Ep,wp.call(this,64,56)}function xp(e,t,n){return n^e&(t^n)}function Rp(e,t,n){return e&t|n&(e|t)}function kp(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function Cp(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function Bp(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function Op(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}bp(Sp,wp),Sp.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},Sp.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,o=0|this._c,i=0|this._d,a=0|this._e,s=0|this._f,u=0|this._g,l=0|this._h,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<64;++c)t[c]=Op(t[c-2])+t[c-7]+Bp(t[c-15])+t[c-16]|0;for(var f=0;f<64;++f){var d=l+Cp(a)+xp(a,s,u)+_p[f]+t[f]|0,h=kp(n)+Rp(n,r,o)|0;l=u,u=s,s=a,a=i+d|0,i=o,o=r,r=n,n=d+h|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=a+this._e|0,this._f=s+this._f|0,this._g=u+this._g|0,this._h=l+this._h|0},Sp.prototype._hash=function(){var e=Ap.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e};var Tp=Sp,Lp=Hl,Mp=Tp,Pp=$h,Dp=Gc.Buffer,Np=new Array(64);function Ip(){this.init(),this._w=Np,Pp.call(this,64,56)}Lp(Ip,Mp),Ip.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},Ip.prototype._hash=function(){var e=Dp.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e};var Up=Ip,jp=Hl,Fp=$h,zp=Gc.Buffer,qp=[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],Wp=new Array(160);function Hp(){this.init(),this._w=Wp,Fp.call(this,128,112)}function Vp(e,t,n){return n^e&(t^n)}function Zp(e,t,n){return e&t|n&(e|t)}function Kp(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function Gp(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function Xp(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function Yp(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function Jp(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function Qp(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function $p(e,t){return e>>>0>>0?1:0}jp(Hp,Fp),Hp.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},Hp.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,o=0|this._ch,i=0|this._dh,a=0|this._eh,s=0|this._fh,u=0|this._gh,l=0|this._hh,c=0|this._al,f=0|this._bl,d=0|this._cl,h=0|this._dl,p=0|this._el,m=0|this._fl,g=0|this._gl,y=0|this._hl,v=0;v<32;v+=2)t[v]=e.readInt32BE(4*v),t[v+1]=e.readInt32BE(4*v+4);for(;v<160;v+=2){var b=t[v-30],w=t[v-30+1],A=Xp(b,w),_=Yp(w,b),E=Jp(b=t[v-4],w=t[v-4+1]),S=Qp(w,b),x=t[v-14],R=t[v-14+1],k=t[v-32],C=t[v-32+1],B=_+R|0,O=A+x+$p(B,_)|0;O=(O=O+E+$p(B=B+S|0,S)|0)+k+$p(B=B+C|0,C)|0,t[v]=O,t[v+1]=B}for(var T=0;T<160;T+=2){O=t[T],B=t[T+1];var L=Zp(n,r,o),M=Zp(c,f,d),P=Kp(n,c),D=Kp(c,n),N=Gp(a,p),I=Gp(p,a),U=qp[T],j=qp[T+1],F=Vp(a,s,u),z=Vp(p,m,g),q=y+I|0,W=l+N+$p(q,y)|0;W=(W=(W=W+F+$p(q=q+z|0,z)|0)+U+$p(q=q+j|0,j)|0)+O+$p(q=q+B|0,B)|0;var H=D+M|0,V=P+L+$p(H,D)|0;l=u,y=g,u=s,g=m,s=a,m=p,a=i+W+$p(p=h+q|0,h)|0,i=o,h=d,o=r,d=f,r=n,f=c,n=W+V+$p(c=q+H|0,q)|0}this._al=this._al+c|0,this._bl=this._bl+f|0,this._cl=this._cl+d|0,this._dl=this._dl+h|0,this._el=this._el+p|0,this._fl=this._fl+m|0,this._gl=this._gl+g|0,this._hl=this._hl+y|0,this._ah=this._ah+n+$p(this._al,c)|0,this._bh=this._bh+r+$p(this._bl,f)|0,this._ch=this._ch+o+$p(this._cl,d)|0,this._dh=this._dh+i+$p(this._dl,h)|0,this._eh=this._eh+a+$p(this._el,p)|0,this._fh=this._fh+s+$p(this._fl,m)|0,this._gh=this._gh+u+$p(this._gl,g)|0,this._hh=this._hh+l+$p(this._hl,y)|0},Hp.prototype._hash=function(){var e=zp.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e};var em=Hp,tm=Hl,nm=em,rm=$h,om=Gc.Buffer,im=new Array(160);function am(){this.init(),this._w=im,rm.call(this,128,112)}tm(am,nm),am.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},am.prototype._hash=function(){var e=om.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e};var sm=am,um=Yh.exports=function(e){e=e.toLowerCase();var t=um[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};um.sha=up,um.sha1=vp,um.sha224=Up,um.sha256=Tp,um.sha384=sm,um.sha512=em;var lm=Yh.exports;function cm(){this.head=null,this.tail=null,this.length=0}cm.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},cm.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},cm.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},cm.prototype.clear=function(){this.head=this.tail=null,this.length=0},cm.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},cm.prototype.concat=function(e){if(0===this.length)return sc.alloc(0);if(1===this.length)return this.head.data;for(var t=sc.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var fm=sc.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function dm(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!fm(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=pm;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=mm;break;default:return void(this.write=hm)}this.charBuffer=new sc(6),this.charReceived=0,this.charLength=0}function hm(e){return e.toString(this.encoding)}function pm(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function mm(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}dm.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&o<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var o;r=(t+=e.toString(this.encoding,0,r)).length-1;if((o=t.charCodeAt(r))>=55296&&o<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),e.copy(this.charBuffer,0,0,i),t.substring(0,r)}return t},dm.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},dm.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;t+=r.slice(0,n).toString(o)}return t};var gm=Object.freeze({__proto__:null,StringDecoder:dm});bm.ReadableState=vm;var ym=If("stream");function vm(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Km&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new cm,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new dm(e.encoding),this.encoding=e.encoding)}function bm(e){if(!(this instanceof bm))return new bm(e);this._readableState=new vm(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),Jc.call(this)}function wm(e,t,n,r,o){var i=function(e,t){var n=null;sc.isBuffer(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));return n}(t,n);if(i)e.emit("error",i);else if(null===n)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,Em(e)}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var u;!t.decoder||o||r||(n=t.decoder.write(n),u=!t.objectMode&&0===n.length),o||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Em(e))),function(e,t){t.readingMore||(t.readingMore=!0,yf(xm,e,t))}(e,t)}else o||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=Am?e=Am:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function Em(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(ym("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?yf(Sm,e):Sm(e))}function Sm(e){ym("emit readable"),e.emit("readable"),Cm(e)}function xm(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;ei.length?i.length:e;if(a===i.length?o+=i:o+=i.slice(0,e),0===(e-=a)){a===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++r}return t.length-=r,o}(e,t):function(e,t){var n=sc.allocUnsafe(e),r=t.head,o=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,a),0===(e-=a)){a===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++o}return t.length-=o,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function Om(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,yf(Tm,t,e))}function Tm(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Lm(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return ym("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Om(this):Em(this),null;if(0===(e=_m(e,t))&&t.ended)return 0===t.length&&Om(this),null;var r,o=t.needReadable;return ym("need readable",o),(0===t.length||t.length-e0?Bm(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Om(this)),null!==r&&this.emit("data",r),r},bm.prototype._read=function(e){this.emit("error",new Error("not implemented"))},bm.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,ym("pipe count=%d opts=%j",r.pipesCount,t);var o=!t||!1!==t.end?a:l;function i(e){ym("onunpipe"),e===n&&l()}function a(){ym("onend"),e.end()}r.endEmitted?yf(o):n.once("end",o),e.on("unpipe",i);var s=function(e){return function(){var t=e._readableState;ym("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,Cm(e))}}(n);e.on("drain",s);var u=!1;function l(){ym("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",i),n.removeListener("end",a),n.removeListener("end",l),n.removeListener("data",f),u=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var c=!1;function f(t){ym("ondata"),c=!1,!1!==e.write(t)||c||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==Lm(r.pipes,e))&&!u&&(ym("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,c=!0),n.pause())}function d(t){var n;ym("onerror",t),m(),e.removeListener("error",d),0===(n="error",e.listeners(n).length)&&e.emit("error",t)}function h(){e.removeListener("finish",p),m()}function p(){ym("onfinish"),e.removeListener("close",h),m()}function m(){ym("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(ym("pipe resume"),n.resume()),e},bm.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Nm.prototype._write=function(e,t,n){n(new Error("not implemented"))},Nm.prototype._writev=null,Nm.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,qm(e,t),n&&(t.finished?yf(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Tf(Km,bm);for(var Hm=Object.keys(Nm.prototype),Vm=0;Vm=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),n=0;n>>0,l=new Uint8Array(i);e[n];){var c=t[e.charCodeAt(n)];if(255===c)return;for(var f=0,d=i-1;(0!==c||f>>0,l[d]=c%256>>>0,c=c/256>>>0;if(0!==c)throw new Error("Non-zero carry");o=f,n++}for(var h=i-o;h!==i&&0===l[h];)h++;var p=dg.allocUnsafe(r+(i-h));p.fill(0,0,r);for(var m=r;h!==i;)p[m++]=l[h++];return p}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=dg.from(t)),!dg.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var n=0,r=0,o=0,i=t.length;o!==i&&0===t[o];)o++,n++;for(var u=(i-o)*l+1>>>0,c=new Uint8Array(u);o!==i;){for(var f=t[o],d=0,h=u-1;(0!==f||d>>0,c[h]=f%a>>>0,f=f/a>>>0;if(0!==f)throw new Error("Non-zero carry");r=d,o++}for(var p=u-r;p!==u&&0===c[p];)p++;for(var m=s.repeat(n);p(()=>{var e={320:(e,t)=>{function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function r(e){if("boolean"!=typeof e)throw new Error(`Expected boolean, not ${e}`)}function o(e,...t){if(!(e instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new TypeError(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function i(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function s(e,t){o(e);const n=t.outputLen;if(e.length{Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2=void 0;const r=n(320),o=n(89);class i extends o.Hash{constructor(e,t,n,r){super(),this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,o.createView)(this.buffer)}update(e){r.default.exists(this);const{view:t,buffer:n,blockLen:i}=this,a=(e=(0,o.toBytes)(e)).length;for(let r=0;ri-s&&(this.process(n,0),s=0);for(let e=s;e>o&i),s=Number(n&i),u=r?4:0,l=r?0:4;e.setUint32(t+u,a,r),e.setUint32(t+l,s,r)}(n,i-8,BigInt(8*this.length),a),this.process(n,0);const u=(0,o.createView)(e),l=this.outputLen;if(l%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const c=l/4,f=this.get();if(c>f.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},61:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;const r=n(505),o=n(89),i=(e,t,n)=>e&t^e&n^t&n,a=new Uint32Array([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]),s=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),u=new Uint32Array(64);class l extends r.SHA2{constructor(){super(64,32,8,!1),this.A=0|s[0],this.B=0|s[1],this.C=0|s[2],this.D=0|s[3],this.E=0|s[4],this.F=0|s[5],this.G=0|s[6],this.H=0|s[7]}get(){const{A:e,B:t,C:n,D:r,E:o,F:i,G:a,H:s}=this;return[e,t,n,r,o,i,a,s]}set(e,t,n,r,o,i,a,s){this.A=0|e,this.B=0|t,this.C=0|n,this.D=0|r,this.E=0|o,this.F=0|i,this.G=0|a,this.H=0|s}process(e,t){for(let n=0;n<16;n++,t+=4)u[n]=e.getUint32(t,!1);for(let e=16;e<64;e++){const t=u[e-15],n=u[e-2],r=(0,o.rotr)(t,7)^(0,o.rotr)(t,18)^t>>>3,i=(0,o.rotr)(n,17)^(0,o.rotr)(n,19)^n>>>10;u[e]=i+u[e-7]+r+u[e-16]|0}let{A:n,B:r,C:s,D:l,E:c,F:f,G:d,H:h}=this;for(let e=0;e<64;e++){const t=h+((0,o.rotr)(c,6)^(0,o.rotr)(c,11)^(0,o.rotr)(c,25))+((p=c)&f^~p&d)+a[e]+u[e]|0,m=((0,o.rotr)(n,2)^(0,o.rotr)(n,13)^(0,o.rotr)(n,22))+i(n,r,s)|0;h=d,d=f,f=c,c=l+t|0,l=s,s=r,r=n,n=t+m|0}var p;n=n+this.A|0,r=r+this.B|0,s=s+this.C|0,l=l+this.D|0,c=c+this.E|0,f=f+this.F|0,d=d+this.G|0,h=h+this.H|0,this.set(n,r,s,l,c,f,d,h)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class c extends l{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,o.wrapConstructor)((()=>new l)),t.sha224=(0,o.wrapConstructor)((()=>new c))},89:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;const r=n(945);if(t.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),t.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),t.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw new Error("Non little-endian hardware is not supported");const o=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function i(e){if("string"!=typeof e)throw new TypeError("utf8ToBytes expected string, got "+typeof e);return(new TextEncoder).encode(e)}function a(e){if("string"==typeof e&&(e=i(e)),!(e instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof e})`);return e}t.bytesToHex=function(e){if(!(e instanceof Uint8Array))throw new Error("Uint8Array expected");let t="";for(let n=0;n{},t.asyncLoop=async function(e,n,r){let o=Date.now();for(let i=0;i=0&&ee instanceof Uint8Array)))throw new Error("Uint8Array list expected");if(1===e.length)return e[0];const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);for(let t=0,r=0;te().update(a(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){const t=(t,n)=>e(n).update(a(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(r.crypto&&"function"==typeof r.crypto.getRandomValues)return r.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}},60:(e,t,n)=>{var r=n(744).validate,o={q:0,p:1,z:2,r:3,y:4,9:5,x:6,8:7,g:8,f:9,2:10,t:11,v:12,d:13,w:14,0:15,s:16,3:17,j:18,n:19,5:20,4:21,k:22,h:23,c:24,e:25,6:26,m:27,u:28,a:29,7:30,l:31};e.exports={encode:function(e){r(e instanceof Uint8Array,"Invalid data: "+e+".");for(var t="",n=0;n{var r=n(764).lW,o=n(60),i=n(736),a=n(334),s=n(574),u=n(744),l=u.validate;function c(e,t,n){l("string"==typeof e&&function(e){return b(e)&&-1!==h.indexOf(e.toLowerCase())}(e),"Invalid prefix: "+e+"."),l("string"==typeof t,"Invalid type: "+t+"."),l(n instanceof Uint8Array||"string"==typeof n,"Invalid hash: "+n+". Must be string or Uint8Array."),"string"==typeof n&&(n=function(e){const t=r.from(e,"hex"),n=new ArrayBuffer(t.length),o=new Uint8Array(n);for(let e=0;e1&&void 0!==arguments[1]&&arguments[1];l("string"==typeof e&&b(e),"Invalid address: "+e+".");var n=e.toLowerCase().split(":");let r,i;if(1===n.length){let t=!1;for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:"ecash";const{type:n,hash:r}=A(e);return c(t,n,r)},getTypeAndHashFromOutputScript:A,toLegacy:function(e){const{prefix:t,type:n,hash:o}=f(e),i=p.includes(t);let s;switch(n){case"P2PKH":s=i?0:111;break;case"P2SH":s=i?5:196;break;default:throw new d("Unsupported address type: "+n)}var u=r.alloc(1+o.length);return u[0]=s,u.set(o,1),a.encode(u)},isValidCashAddress:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{const{prefix:n}=f(e);return!t||n===t}catch(e){return!1}},getOutputScriptFromAddress:function(e){const{type:t,hash:n}=f(e,!0);let r;return r="p2pkh"===t?`76a914${n}88ac`:`a914${n}87`,r},ValidationError:d}},574:(e,t,n)=>{var r=n(744).validate;e.exports=function(e,t,n,o){for(var i=o?Math.floor(e.length*t/n):Math.ceil(e.length*t/n),a=(1<>t==0,"Invalid value: "+d+"."),l=l<=n;)c-=n,s[u]=l>>c&a,++u}return o?r(c0&&(s[u]=l<{function t(e){var t=new Error;this.name=t.name="ValidationError",this.message=t.message=e,this.stack=t.stack}t.prototype=Object.create(Error.prototype),e.exports={ValidationError:t,validate:function(e,n){if(!e)throw new t(n)}}},162:e=>{e.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),n=0;n>>0,l=new Uint8Array(i);e[n];){var c=t[e.charCodeAt(n)];if(255===c)return;for(var f=0,d=i-1;(0!==c||f>>0,l[d]=c%256>>>0,c=c/256>>>0;if(0!==c)throw new Error("Non-zero carry");o=f,n++}for(var h=i-o;h!==i&&0===l[h];)h++;for(var p=new Uint8Array(r+(i-h)),m=r;h!==i;)p[m++]=l[h++];return p}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var n=0,r=0,o=0,i=t.length;o!==i&&0===t[o];)o++,n++;for(var u=(i-o)*l+1>>>0,c=new Uint8Array(u);o!==i;){for(var f=t[o],d=0,h=u-1;(0!==f||d>>0,c[h]=f%a>>>0,f=f/a>>>0;if(0!==f)throw new Error("Non-zero carry");r=d,o++}for(var p=u-r;p!==u&&0===c[p];)p++;for(var m=s.repeat(n);p{t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=s(e),a=i[0],u=i[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),c=0,f=u>0?a-4:a;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,l=r-o;sl?l:s+a));return 1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var o,i,a=[],s=t;s>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},736:(e,t,n)=>{var r;e=n.nmd(e);var o=function(e){var t=1e7,n=7,r=9007199254740992,i=f(r),a=Math.log(r);function s(e,t){return void 0===e?s[0]:void 0!==t?10==+t?Y(e):H(e,t):Y(e)}function u(e,t){this.value=e,this.sign=t,this.isSmall=!1}function l(e){this.value=e,this.sign=e<0,this.isSmall=!0}function c(e){return-r0?Math.floor(e):Math.ceil(e)}function g(e,n){var r,o,i=e.length,a=n.length,s=new Array(i),u=0,l=t;for(o=0;o=l?1:0,s[o]=r-u*l;for(;o0&&s.push(u),s}function y(e,t){return e.length>=t.length?g(e,t):g(t,e)}function v(e,n){var r,o,i=e.length,a=new Array(i),s=t;for(o=0;o0;)a[o++]=n%s,n=Math.floor(n/s);return a}function b(e,n){var r,o,i=e.length,a=n.length,s=new Array(i),u=0,l=t;for(r=0;r0;)a[o++]=u%s,u=Math.floor(u/s);return a}function E(e,t){for(var n=[];t-- >0;)n.push(0);return n.concat(e)}function S(e,t){var n=Math.max(e.length,t.length);if(n<=30)return A(e,t);n=Math.ceil(n/2);var r=e.slice(n),o=e.slice(0,n),i=t.slice(n),a=t.slice(0,n),s=S(o,a),u=S(r,i),l=S(y(o,r),y(a,i)),c=y(y(s,E(b(b(l,s),u),n)),E(u,2*n));return h(c),c}function x(e,n,r){return new u(e=0;--r)i=(a=i*l+e[r])-(o=m(a/n))*n,u[r]=0|o;return[u,0|i]}function C(e,n){var r,o,i=Y(n),a=e.value,c=i.value;if(0===c)throw new Error("Cannot divide by zero");if(e.isSmall)return i.isSmall?[new l(m(a/c)),new l(a%c)]:[s[0],e];if(i.isSmall){if(1===c)return[e,s[0]];if(-1==c)return[e.negate(),s[0]];var g=Math.abs(c);if(g=0;o--){for(r=h-1,v[o+f]!==g&&(r=Math.floor((v[o+f]*h+v[o+f-1])/g)),i=0,a=0,u=b.length,s=0;sl&&(i=(i+1)*p),r=Math.ceil(i/a);do{if(B(s=_(n,r),f)<=0)break;r--}while(r);c.push(r),f=b(f,s)}return c.reverse(),[d(c),d(f)]}(a,c),o=r[0];var w=e.sign!==i.sign,A=r[1],E=e.sign;return"number"==typeof o?(w&&(o=-o),o=new l(o)):o=new u(o,w),"number"==typeof A?(E&&(A=-A),A=new l(A)):A=new u(A,E),[o,A]}function B(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e[n]>t[n]?1:-1;return 0}function O(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function T(e,t){for(var n,r,i,a=e.prev(),u=a,l=0;u.isEven();)u=u.divide(2),l++;e:for(r=0;r=0?r=b(e,t):(r=b(t,e),n=!n),"number"==typeof(r=d(r))?(n&&(r=-r),new l(r)):new u(r,n)}(n,r,this.sign)},u.prototype.minus=u.prototype.subtract,l.prototype.subtract=function(e){var t=Y(e),n=this.value;if(n<0!==t.sign)return this.add(t.negate());var r=t.value;return t.isSmall?new l(n-r):w(r,Math.abs(n),n>=0)},l.prototype.minus=l.prototype.subtract,u.prototype.negate=function(){return new u(this.value,!this.sign)},l.prototype.negate=function(){var e=this.sign,t=new l(-this.value);return t.sign=!e,t},u.prototype.abs=function(){return new u(this.value,!1)},l.prototype.abs=function(){return new l(Math.abs(this.value))},u.prototype.multiply=function(e){var n,r,o,i=Y(e),a=this.value,l=i.value,c=this.sign!==i.sign;if(i.isSmall){if(0===l)return s[0];if(1===l)return this;if(-1===l)return this.negate();if((n=Math.abs(l))0?S(a,l):A(a,l),c)},u.prototype.times=u.prototype.multiply,l.prototype._multiplyBySmall=function(e){return c(e.value*this.value)?new l(e.value*this.value):x(Math.abs(e.value),f(Math.abs(this.value)),this.sign!==e.sign)},u.prototype._multiplyBySmall=function(e){return 0===e.value?s[0]:1===e.value?this:-1===e.value?this.negate():x(Math.abs(e.value),this.value,this.sign!==e.sign)},l.prototype.multiply=function(e){return Y(e)._multiplyBySmall(this)},l.prototype.times=l.prototype.multiply,u.prototype.square=function(){return new u(R(this.value),!1)},l.prototype.square=function(){var e=this.value*this.value;return c(e)?new l(e):new u(R(f(Math.abs(this.value))),!1)},u.prototype.divmod=function(e){var t=C(this,e);return{quotient:t[0],remainder:t[1]}},l.prototype.divmod=u.prototype.divmod,u.prototype.divide=function(e){return C(this,e)[0]},l.prototype.over=l.prototype.divide=u.prototype.over=u.prototype.divide,u.prototype.mod=function(e){return C(this,e)[1]},l.prototype.remainder=l.prototype.mod=u.prototype.remainder=u.prototype.mod,u.prototype.pow=function(e){var t,n,r,o=Y(e),i=this.value,a=o.value;if(0===a)return s[1];if(0===i)return s[0];if(1===i)return s[1];if(-1===i)return o.isEven()?s[1]:s[-1];if(o.sign)return s[0];if(!o.isSmall)throw new Error("The exponent "+o.toString()+" is too large.");if(this.isSmall&&c(t=Math.pow(i,a)))return new l(m(t));for(n=this,r=s[1];!0&a&&(r=r.times(n),--a),0!==a;)a/=2,n=n.square();return r},l.prototype.pow=u.prototype.pow,u.prototype.modPow=function(e,t){if(e=Y(e),(t=Y(t)).isZero())throw new Error("Cannot take modPow with modulus 0");for(var n=s[1],r=this.mod(t);e.isPositive();){if(r.isZero())return s[0];e.isOdd()&&(n=n.multiply(r).mod(t)),e=e.divide(2),r=r.square().mod(t)}return n},l.prototype.modPow=u.prototype.modPow,u.prototype.compareAbs=function(e){var t=Y(e),n=this.value,r=t.value;return t.isSmall?1:B(n,r)},l.prototype.compareAbs=function(e){var t=Y(e),n=Math.abs(this.value),r=t.value;return t.isSmall?n===(r=Math.abs(r))?0:n>r?1:-1:-1},u.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=Y(e),n=this.value,r=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:B(n,r)*(this.sign?-1:1)},u.prototype.compareTo=u.prototype.compare,l.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=Y(e),n=this.value,r=t.value;return t.isSmall?n==r?0:n>r?1:-1:n<0!==t.sign?n<0?-1:1:n<0?1:-1},l.prototype.compareTo=l.prototype.compare,u.prototype.equals=function(e){return 0===this.compare(e)},l.prototype.eq=l.prototype.equals=u.prototype.eq=u.prototype.equals,u.prototype.notEquals=function(e){return 0!==this.compare(e)},l.prototype.neq=l.prototype.notEquals=u.prototype.neq=u.prototype.notEquals,u.prototype.greater=function(e){return this.compare(e)>0},l.prototype.gt=l.prototype.greater=u.prototype.gt=u.prototype.greater,u.prototype.lesser=function(e){return this.compare(e)<0},l.prototype.lt=l.prototype.lesser=u.prototype.lt=u.prototype.lesser,u.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},l.prototype.geq=l.prototype.greaterOrEquals=u.prototype.geq=u.prototype.greaterOrEquals,u.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},l.prototype.leq=l.prototype.lesserOrEquals=u.prototype.leq=u.prototype.lesserOrEquals,u.prototype.isEven=function(){return 0==(1&this.value[0])},l.prototype.isEven=function(){return 0==(1&this.value)},u.prototype.isOdd=function(){return 1==(1&this.value[0])},l.prototype.isOdd=function(){return 1==(1&this.value)},u.prototype.isPositive=function(){return!this.sign},l.prototype.isPositive=function(){return this.value>0},u.prototype.isNegative=function(){return this.sign},l.prototype.isNegative=function(){return this.value<0},u.prototype.isUnit=function(){return!1},l.prototype.isUnit=function(){return 1===Math.abs(this.value)},u.prototype.isZero=function(){return!1},l.prototype.isZero=function(){return 0===this.value},u.prototype.isDivisibleBy=function(e){var t=Y(e),n=t.value;return 0!==n&&(1===n||(2===n?this.isEven():this.mod(t).equals(s[0])))},l.prototype.isDivisibleBy=u.prototype.isDivisibleBy,u.prototype.isPrime=function(t){var n=O(this);if(n!==e)return n;var r=this.abs(),i=r.bitLength();if(i<=64)return T(r,[2,325,9375,28178,450775,9780504,1795265022]);for(var a=Math.log(2)*i,s=Math.ceil(!0===t?2*Math.pow(a,2):a),u=[],l=0;l-r?new l(e-1):new u(i,!0)};for(var L=[1];2*L[L.length-1]<=t;)L.push(2*L[L.length-1]);var M=L.length,P=L[M-1];function D(e){return("number"==typeof e||"string"==typeof e)&&+Math.abs(e)<=t||e instanceof u&&e.value.length<=1}function N(e,t,n){t=Y(t);for(var r=e.isNegative(),i=t.isNegative(),a=r?e.not():e,s=i?t.not():t,u=0,l=0,c=null,f=null,d=[];!a.isZero()||!s.isZero();)u=(c=C(a,P))[1].toJSNumber(),r&&(u=P-1-u),l=(f=C(s,P))[1].toJSNumber(),i&&(l=P-1-l),a=c[0],s=f[0],d.push(n(u,l));for(var h=0!==n(r?1:0,i?1:0)?o(-1):o(0),p=d.length-1;p>=0;p-=1)h=h.multiply(P).add(o(d[p]));return h}u.prototype.shiftLeft=function(e){if(!D(e))throw new Error(String(e)+" is too large for shifting.");if((e=+e)<0)return this.shiftRight(-e);var t=this;if(t.isZero())return t;for(;e>=M;)t=t.multiply(P),e-=M-1;return t.multiply(L[e])},l.prototype.shiftLeft=u.prototype.shiftLeft,u.prototype.shiftRight=function(e){var t;if(!D(e))throw new Error(String(e)+" is too large for shifting.");if((e=+e)<0)return this.shiftLeft(-e);for(var n=this;e>=M;){if(n.isZero()||n.isNegative()&&n.isUnit())return n;n=(t=C(n,P))[1].isNegative()?t[0].prev():t[0],e-=M-1}return(t=C(n,L[e]))[1].isNegative()?t[0].prev():t[0]},l.prototype.shiftRight=u.prototype.shiftRight,u.prototype.not=function(){return this.negate().prev()},l.prototype.not=u.prototype.not,u.prototype.and=function(e){return N(this,e,(function(e,t){return e&t}))},l.prototype.and=u.prototype.and,u.prototype.or=function(e){return N(this,e,(function(e,t){return e|t}))},l.prototype.or=u.prototype.or,u.prototype.xor=function(e){return N(this,e,(function(e,t){return e^t}))},l.prototype.xor=u.prototype.xor;var I=1<<30,U=(t&-t)*(t&-t)|I;function j(e){var n=e.value,r="number"==typeof n?n|I:n[0]+n[1]*t|U;return r&-r}function F(e,t){if(t.compareTo(e)<=0){var n=F(e,t.square(t)),r=n.p,i=n.e,a=r.multiply(t);return a.compareTo(e)<=0?{p:a,e:2*i+1}:{p:r,e:2*i}}return{p:o(1),e:0}}function z(e,t){return e=Y(e),t=Y(t),e.greater(t)?e:t}function q(e,t){return e=Y(e),t=Y(t),e.lesser(t)?e:t}function W(e,t){if(e=Y(e).abs(),t=Y(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var n,r,o=s[1];e.isEven()&&t.isEven();)n=Math.min(j(e),j(t)),e=e.divide(n),t=t.divide(n),o=o.multiply(n);for(;e.isEven();)e=e.divide(j(e));do{for(;t.isEven();)t=t.divide(j(t));e.greater(t)&&(r=t,t=e,e=r),t=t.subtract(e)}while(!t.isZero());return o.isUnit()?e:e.multiply(o)}u.prototype.bitLength=function(){var e=this;return e.compareTo(o(0))<0&&(e=e.negate().subtract(o(1))),0===e.compareTo(o(0))?o(0):o(F(e,o(2)).e).add(o(1))},l.prototype.bitLength=u.prototype.bitLength;var H=function(e,t){for(var n=e.length,r=Math.abs(t),o=0;o=r){if("1"===c&&1===r)continue;throw new Error(c+" is not a valid digit in base "+t+".")}if(c.charCodeAt(0)-87>=r)throw new Error(c+" is not a valid digit in base "+t+".")}if(2<=t&&t<=36&&n<=a/Math.log(t)){var i=parseInt(e,t);if(isNaN(i))throw new Error(c+" is not a valid digit in base "+t+".");return new l(parseInt(e,t))}t=Y(t);var s=[],u="-"===e[0];for(o=u?1:0;o"!==e[o]);s.push(Y(e.slice(d+1,o)))}}return V(s,t,u)};function V(e,t,n){var r,o=s[0],i=s[1];for(r=e.length-1;r>=0;r--)o=o.add(e[r].times(i)),i=i.times(t);return n?o.negate():o}function Z(e){return e<=35?"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e):"<"+e+">"}function K(e,t){if((t=o(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e)).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var n=Array.apply(null,Array(+e-1)).map(Array.prototype.valueOf,[0,1]);return n.unshift([1]),{value:[].concat.apply([],n),isNegative:!1}}var r=!1;if(e.isNegative()&&t.isPositive()&&(r=!0,e=e.abs()),t.equals(1))return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(+e)).map(Number.prototype.valueOf,1),isNegative:r};for(var i,a=[],s=e;s.isNegative()||s.compareAbs(t)>=0;){i=s.divmod(t),s=i.quotient;var u=i.remainder;u.isNegative()&&(u=t.minus(u).abs(),s=s.next()),a.push(u.toJSNumber())}return a.push(s.toJSNumber()),{value:a.reverse(),isNegative:r}}function G(e,t){var n=K(e,t);return(n.isNegative?"-":"")+n.value.map(Z).join("")}function X(e){if(c(+e)){var t=+e;if(t===m(t))return new l(t);throw new Error("Invalid integer: "+e)}var r="-"===e[0];r&&(e=e.slice(1));var o=e.split(/e/i);if(o.length>2)throw new Error("Invalid integer: "+o.join("e"));if(2===o.length){var i=o[1];if("+"===i[0]&&(i=i.slice(1)),(i=+i)!==m(i)||!c(i))throw new Error("Invalid integer: "+i+" is not a valid exponent.");var a=o[0],s=a.indexOf(".");if(s>=0&&(i-=a.length-s-1,a=a.slice(0,s)+a.slice(s+1)),i<0)throw new Error("Cannot include negative exponent part for integers");e=a+=new Array(i+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);for(var f=[],d=e.length,p=n,g=d-p;d>0;)f.push(+e.slice(g,d)),(g-=p)<0&&(g=0),d-=p;return h(f),new u(f,r)}function Y(e){return"number"==typeof e?function(e){if(c(e)){if(e!==m(e))throw new Error(e+" is not an integer.");return new l(e)}return X(e.toString())}(e):"string"==typeof e?X(e):e}u.prototype.toArray=function(e){return K(this,e)},l.prototype.toArray=function(e){return K(this,e)},u.prototype.toString=function(t){if(t===e&&(t=10),10!==t)return G(this,t);for(var n,r=this.value,o=r.length,i=String(r[--o]);--o>=0;)n=String(r[o]),i+="0000000".slice(n.length)+n;return(this.sign?"-":"")+i},l.prototype.toString=function(t){return t===e&&(t=10),10!=t?G(this,t):String(this.value)},u.prototype.toJSON=l.prototype.toJSON=function(){return this.toString()},u.prototype.valueOf=function(){return parseInt(this.toString(),10)},u.prototype.toJSNumber=u.prototype.valueOf,l.prototype.valueOf=function(){return this.value},l.prototype.toJSNumber=l.prototype.valueOf;for(var J=0;J<1e3;J++)s[J]=new l(J),J>0&&(s[-J]=new l(-J));return s.one=s[1],s.zero=s[0],s.minusOne=s[-1],s.max=z,s.min=q,s.gcd=W,s.lcm=function(e,t){return e=Y(e).abs(),t=Y(t).abs(),e.divide(W(e,t)).multiply(t)},s.isInstance=function(e){return e instanceof u||e instanceof l},s.randBetween=function(e,n){var r=q(e=Y(e),n=Y(n)),o=z(e,n).subtract(r).add(1);if(o.isSmall)return r.add(Math.floor(Math.random()*o));for(var i=[],a=!0,s=o.value.length-1;s>=0;s--){var c=a?o.value[s]:t,f=m(Math.random()*c);i.unshift(f),f{const r=n(162);e.exports=r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},310:(e,t,n)=>{var r=n(191);e.exports=function(e){function t(t){var n=t.slice(0,-4),r=t.slice(-4),o=e(n);if(!(r[0]^o[0]|r[1]^o[1]|r[2]^o[2]|r[3]^o[3]))return n}return{encode:function(t){var n=Uint8Array.from(t),o=e(n),i=n.length+4,a=new Uint8Array(i);return a.set(n,0),a.set(o.subarray(0,4),n.length),r.encode(a,i)},decode:function(e){var n=t(r.decode(e));if(!n)throw new Error("Invalid checksum");return n},decodeUnsafe:function(e){var n=r.decodeUnsafe(e);if(n)return t(n)}}}},334:(e,t,n)=>{var{sha256:r}=n(61),o=n(310);e.exports=o((function(e){return r(r(e))}))},764:(e,t,n)=>{const r=n(742),o=n(645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=u,t.h2=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=s(n);const o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const o=function(e){if(u.isBuffer(e)){const t=0|p(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||Y(e.length)?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return c(e),s(e<0?0:0|p(e))}function d(e){const t=e.length<0?0:0|p(e.length),n=s(t);for(let r=0;r=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(o)return r?-1:Z(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return R(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return B(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Y(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){let i,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;is&&(n=s-u),i=n;i>=0;i--){let n=!0;for(let r=0;ro&&(r=o):r=o;const i=t.length;let a;for(r>i/2&&(r=i/2),a=0;a>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function R(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128==(192&n)&&(u=(31&t)<<6|63&n,u>127&&(i=u));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(i=u));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(i=u))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){const t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rr.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,o){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(i,a),l=this.slice(r,o),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return A(this,e,t,n);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const k=4096;function C(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;or)&&(n=r);let o="";for(let r=t;rn)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function P(e,t,n,r,o){q(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function D(e,t,n,r,o){q(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function N(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,r,i){return t=+t,n>>>=0,i||N(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function U(e,t,n,r,i){return t=+t,n>>>=0,i||N(e,0,n,8),o.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e],o=1,i=0;for(;++i>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Q((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e],o=1,i=0;for(;++i=o&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||L(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||L(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Q((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||L(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||L(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||L(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||L(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||M(this,e,t,n,Math.pow(2,8*n)-1,0);let o=1,i=0;for(this[t]=255&e;++i>>=0,n>>>=0,r||M(this,e,t,n,Math.pow(2,8*n)-1,0);let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Q((function(e,t=0){return P(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Q((function(e,t=0){return D(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);M(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);M(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Q((function(e,t=0){return P(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Q((function(e,t=0){return D(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function q(e,t,n,r,o,i){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new j.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){W(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||H(t,e.length-(n+1))}(r,o,i)}function W(e,t){if("number"!=typeof e)throw new j.ERR_INVALID_ARG_TYPE(t,"number",e)}function H(e,t,n){if(Math.floor(e)!==e)throw W(e,n),new j.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new j.ERR_BUFFER_OUT_OF_BOUNDS;throw new j.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),F("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=z(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=z(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const V=/[^+/0-9A-Za-z-_]/g;function Z(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let a=0;a55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function K(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(V,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function G(e,t,n,r){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}const J=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function Q(e){return"undefined"==typeof BigInt?$:e}function $(){throw new Error("BigInt not supported")}},645:(e,t)=>{t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,u=(1<>1,c=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-c)-1,h>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,u,l=8*i-o-1,c=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}return n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n(146)})()))}(bg);for(var wg=bg.exports,Ag={},_g={byteLength:function(e){var t=Cg(e),n=t[0],r=t[1];return 3*(n+r)/4-r},toByteArray:function(e){var t,n,r=Cg(e),o=r[0],i=r[1],a=new xg(function(e,t,n){return 3*(t+n)/4-n}(0,o,i)),s=0,u=i>0?o-4:o;for(n=0;n>16&255,a[s++]=t>>8&255,a[s++]=255&t;2===i&&(t=Sg[e.charCodeAt(n)]<<2|Sg[e.charCodeAt(n+1)]>>4,a[s++]=255&t);1===i&&(t=Sg[e.charCodeAt(n)]<<10|Sg[e.charCodeAt(n+1)]<<4|Sg[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t);return a},fromByteArray:function(e){for(var t,n=e.length,r=n%3,o=[],i=16383,a=0,s=n-r;as?s:a+i));1===r?(t=e[n-1],o.push(Eg[t>>2]+Eg[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(Eg[t>>10]+Eg[t>>4&63]+Eg[t<<2&63]+"="));return o.join("")}},Eg=[],Sg=[],xg="undefined"!=typeof Uint8Array?Uint8Array:Array,Rg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",kg=0;kg<64;++kg)Eg[kg]=Rg[kg],Sg[Rg.charCodeAt(kg)]=kg;function Cg(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function Bg(e,t,n){for(var r,o,i=[],a=t;a>18&63]+Eg[o>>12&63]+Eg[o>>6&63]+Eg[63&o]);return i.join("")}Sg["-".charCodeAt(0)]=62,Sg["_".charCodeAt(0)]=63;var Og={ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ +read:function(e,t,n,r,o){var i,a,s=8*o-r-1,u=(1<>1,c=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-c)-1,h>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)},write:function(e,t,n,r,o,i){var a,s,u,l=8*i-o-1,c=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}}; +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ +!function(e){const t=_g,n=Og,r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=function(e){+e!=e&&(e=0);return a.alloc(+e)},e.INSPECT_MAX_BYTES=50;const o=2147483647;function i(e){if(e>o)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return s(e,t,n)}function s(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|h(e,t);let r=i(n);const o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(K(e,Uint8Array)){const t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer))return f(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return a.from(r,t,n);const o=function(e){if(a.isBuffer(e)){const t=0|d(e.length),n=i(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||G(e.length)?i(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),i(e<0?0:0|d(e))}function c(e){const t=e.length<0?0:0|d(e.length),n=i(t);for(let r=0;r=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function h(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(o)return r?-1:H(e).length;t=(""+t).toLowerCase(),o=!0}}function p(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return k(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),G(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,o){let i,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;is&&(n=s-u),i=n;i>=0;i--){let n=!0;for(let r=0;ro&&(r=o):r=o;const i=t.length;let a;for(r>i/2&&(r=i/2),a=0;a>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,n,r){return 0===n&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function S(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128==(192&n)&&(u=(31&t)<<6|63&n,u>127&&(i=u));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(i=u));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(i=u))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){const t=e.length;if(t<=x)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rr.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!a.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},a.byteLength=h,a.prototype._isBuffer=!0,a.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(t+=" ... "),""},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(e,t,n,r,o){if(K(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0);const u=Math.min(i,s),l=this.slice(r,o),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":case"latin1":case"binary":return w(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const x=4096;function R(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;or)&&(n=r);let o="";for(let r=t;rn)throw new RangeError("Trying to access beyond buffer length")}function T(e,t,n,r,o,i){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function L(e,t,n,r,o){F(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function M(e,t,n,r,o){F(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function P(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,r,o,i){return t=+t,r>>>=0,i||P(e,0,r,4),n.write(e,t,r,o,23,4),r+4}function N(e,t,r,o,i){return t=+t,r>>>=0,i||P(e,0,r,8),n.write(e,t,r,o,52,8),r+8}a.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e],o=1,i=0;for(;++i>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=Y((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e],o=1,i=0;for(;++i=o&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=Y((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||O(e,4,this.length),n.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),n.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),n.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),n.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){T(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=1,i=0;for(this[t]=255&e;++i>>=0,n>>>=0,!r){T(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigUInt64LE=Y((function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),a.prototype.writeBigUInt64BE=Y((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);T(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);T(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=Y((function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),a.prototype.writeBigInt64BE=Y((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),a.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function F(e,t,n,r,o,i){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new I.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){z(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||q(t,e.length-(n+1))}(r,o,i)}function z(e,t){if("number"!=typeof e)throw new I.ERR_INVALID_ARG_TYPE(t,"number",e)}function q(e,t,n){if(Math.floor(e)!==e)throw z(e,n),new I.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new I.ERR_BUFFER_OUT_OF_BOUNDS;throw new I.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}U("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),U("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),U("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=j(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=j(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function H(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let a=0;a55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Z(e,t,n,r){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function K(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function G(e){return e!=e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function Y(e){return"undefined"==typeof BigInt?J:e}function J(){throw new Error("BigInt not supported")}}(Ag); +/*** + * @license + * https://github.com/ealmansi/bchaddrjs + * Copyright (c) 2018-2020 Emilio Almansi + * Distributed under the MIT software license, see the accompanying + * file LICENSE or http://www.opensource.org/licenses/mit-license.php. + */ +const Tg=vg,Lg=wg,Mg=Ag.Buffer,Pg={Legacy:"legacy",Bitpay:"bitpay",Cashaddr:"cashaddr",Xecaddr:"xecaddr"},Dg={Mainnet:"mainnet",Testnet:"testnet"},Ng={};function Ig(e){return zg(e).format}function Ug(e){return zg(e).network}function jg(e){return zg(e).type}Ng.P2PKH="p2pkh",Ng.P2SH="p2sh";const Fg={};function zg(e){try{return function(e){try{const t=Tg.decode(e);if(t.length!==qg)throw new Vg;const n=t[0],r=Array.prototype.slice.call(t,1);switch(n){case Fg[Pg.Legacy][Dg.Mainnet][Ng.P2PKH]:return{hash:r,format:Pg.Legacy,network:Dg.Mainnet,type:Ng.P2PKH};case Fg[Pg.Legacy][Dg.Mainnet][Ng.P2SH]:return{hash:r,format:Pg.Legacy,network:Dg.Mainnet,type:Ng.P2SH};case Fg[Pg.Legacy][Dg.Testnet][Ng.P2PKH]:return{hash:r,format:Pg.Legacy,network:Dg.Testnet,type:Ng.P2PKH};case Fg[Pg.Legacy][Dg.Testnet][Ng.P2SH]:return{hash:r,format:Pg.Legacy,network:Dg.Testnet,type:Ng.P2SH};case Fg[Pg.Bitpay][Dg.Mainnet][Ng.P2PKH]:return{hash:r,format:Pg.Bitpay,network:Dg.Mainnet,type:Ng.P2PKH};case Fg[Pg.Bitpay][Dg.Mainnet][Ng.P2SH]:return{hash:r,format:Pg.Bitpay,network:Dg.Mainnet,type:Ng.P2SH}}}catch(e){}throw new Vg}(e)}catch(e){}try{return function(e){if(-1!==e.indexOf(":"))try{return Hg(e)}catch(e){}else{const t=["ecash","ectest"];for(let n=0;nt=>{const n=Gg.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Jg=e=>(e=e.toLowerCase(),t=>Yg(t)===e),Qg=e=>t=>typeof t===e,{isArray:$g}=Array,ey=Qg("undefined");const ty=Jg("ArrayBuffer");const ny=Qg("string"),ry=Qg("function"),oy=Qg("number"),iy=e=>null!==e&&"object"==typeof e,ay=e=>{if("object"!==Yg(e))return!1;const t=Xg(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},sy=Jg("Date"),uy=Jg("File"),ly=Jg("Blob"),cy=Jg("FileList"),fy=Jg("URLSearchParams");function dy(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),$g(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const py="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,my=e=>!ey(e)&&e!==py;const gy=(yy="undefined"!=typeof Uint8Array&&Xg(Uint8Array),e=>yy&&e instanceof yy);var yy;const vy=Jg("HTMLFormElement"),by=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wy=Jg("RegExp"),Ay=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};dy(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},_y="abcdefghijklmnopqrstuvwxyz",Ey="0123456789",Sy={DIGIT:Ey,ALPHA:_y,ALPHA_DIGIT:_y+_y.toUpperCase()+Ey};const xy=Jg("AsyncFunction");var Ry={isArray:$g,isArrayBuffer:ty,isBuffer:function(e){return null!==e&&!ey(e)&&null!==e.constructor&&!ey(e.constructor)&&ry(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||ry(e.append)&&("formdata"===(t=Yg(e))||"object"===t&&ry(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ty(e.buffer),t},isString:ny,isNumber:oy,isBoolean:e=>!0===e||!1===e,isObject:iy,isPlainObject:ay,isUndefined:ey,isDate:sy,isFile:uy,isBlob:ly,isRegExp:wy,isFunction:ry,isStream:e=>iy(e)&&ry(e.pipe),isURLSearchParams:fy,isTypedArray:gy,isFileList:cy,forEach:dy,merge:function e(){const{caseless:t}=my(this)&&this||{},n={},r=(r,o)=>{const i=t&&hy(n,o)||o;ay(n[i])&&ay(r)?n[i]=e(n[i],r):ay(r)?n[i]=e({},r):$g(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e(dy(t,((t,r)=>{n&&ry(t)?e[r]=Kg(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&Xg(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Yg,kindOfTest:Jg,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if($g(e))return e;let t=e.length;if(!oy(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:vy,hasOwnProperty:by,hasOwnProp:by,reduceDescriptors:Ay,freezeMethods:e=>{Ay(e,((t,n)=>{if(ry(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];ry(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return $g(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:hy,global:py,isContextDefined:my,ALPHABET:Sy,generateString:(e=16,t=Sy.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&ry(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(iy(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=$g(e)?[]:{};return dy(e,((e,t)=>{const i=n(e,r+1);!ey(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:xy,isThenable:e=>e&&(iy(e)||ry(e))&&ry(e.then)&&ry(e.catch)};function ky(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Ry.inherits(ky,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ry.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Cy=ky.prototype,By={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{By[e]={value:e}})),Object.defineProperties(ky,By),Object.defineProperty(Cy,"isAxiosError",{value:!0}),ky.from=(e,t,n,r,o,i)=>{const a=Object.create(Cy);return Ry.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ky.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function Oy(e){return Ry.isPlainObject(e)||Ry.isArray(e)}function Ty(e){return Ry.endsWith(e,"[]")?e.slice(0,-2):e}function Ly(e,t,n){return e?e.concat(t).map((function(e,t){return e=Ty(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const My=Ry.toFlatObject(Ry,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Py(e,t,n){if(!Ry.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Ry.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Ry.isUndefined(t[e])}))).metaTokens,o=n.visitor||l,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Ry.isSpecCompliantForm(t);if(!Ry.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Ry.isDate(e))return e.toISOString();if(!s&&Ry.isBlob(e))throw new ky("Blob is not supported. Use a Buffer instead.");return Ry.isArrayBuffer(e)||Ry.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(Ry.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ry.isArray(e)&&function(e){return Ry.isArray(e)&&!e.some(Oy)}(e)||(Ry.isFileList(e)||Ry.endsWith(n,"[]"))&&(s=Ry.toArray(e)))return n=Ty(n),s.forEach((function(e,r){!Ry.isUndefined(e)&&null!==e&&t.append(!0===a?Ly([n],r,i):null===a?n:n+"[]",u(e))})),!1;return!!Oy(e)||(t.append(Ly(o,n,i),u(e)),!1)}const c=[],f=Object.assign(My,{defaultVisitor:l,convertValue:u,isVisitable:Oy});if(!Ry.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Ry.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),Ry.forEach(n,(function(n,i){!0===(!(Ry.isUndefined(n)||null===n)&&o.call(t,n,Ry.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t}function Dy(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Ny(e,t){this._pairs=[],e&&Py(e,this,t)}const Iy=Ny.prototype;function Uy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jy(e,t,n){if(!t)return e;const r=n&&n.encode||Uy,o=n&&n.serialize;let i;if(i=o?o(t,n):Ry.isURLSearchParams(t)?t.toString():new Ny(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Iy.append=function(e,t){this._pairs.push([e,t])},Iy.toString=function(e){const t=e?function(t){return e.call(this,t,Dy)}:Dy;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Fy=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ry.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},zy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qy={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ny,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Wy="undefined"!=typeof window&&"undefined"!=typeof document,Hy=(Vy="undefined"!=typeof navigator&&navigator.product,Wy&&["ReactNative","NativeScript","NS"].indexOf(Vy)<0);var Vy;const Zy="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var Ky={...Object.freeze({__proto__:null,hasBrowserEnv:Wy,hasStandardBrowserWebWorkerEnv:Zy,hasStandardBrowserEnv:Hy}),...qy};function Gy(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&Ry.isArray(r)?r.length:i,s)return Ry.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&Ry.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Ry.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r{t(function(e){return Ry.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const Xy={transitional:zy,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Ry.isObject(e);o&&Ry.isHTMLForm(e)&&(e=new FormData(e));if(Ry.isFormData(e))return r&&r?JSON.stringify(Gy(e)):e;if(Ry.isArrayBuffer(e)||Ry.isBuffer(e)||Ry.isStream(e)||Ry.isFile(e)||Ry.isBlob(e))return e;if(Ry.isArrayBufferView(e))return e.buffer;if(Ry.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Py(e,new Ky.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Ky.isNode&&Ry.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Ry.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Py(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Ry.isString(e))try{return(t||JSON.parse)(e),Ry.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Xy.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&Ry.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw ky.from(e,ky.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ky.classes.FormData,Blob:Ky.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ry.forEach(["delete","get","head","post","put","patch"],(e=>{Xy.headers[e]={}}));var Yy=Xy;const Jy=Ry.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Qy=Symbol("internals");function $y(e){return e&&String(e).trim().toLowerCase()}function ev(e){return!1===e||null==e?e:Ry.isArray(e)?e.map(ev):String(e)}function tv(e,t,n,r,o){return Ry.isFunction(r)?r.call(this,t,n):(o&&(t=n),Ry.isString(t)?Ry.isString(r)?-1!==t.indexOf(r):Ry.isRegExp(r)?r.test(t):void 0:void 0)}class nv{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=$y(t);if(!o)throw new Error("header name must be a non-empty string");const i=Ry.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ev(e))}const i=(e,t)=>Ry.forEach(e,((e,n)=>o(e,n,t)));return Ry.isPlainObject(e)||e instanceof this.constructor?i(e,t):Ry.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Jy[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=$y(e)){const n=Ry.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Ry.isFunction(t))return t.call(this,e,n);if(Ry.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=$y(e)){const n=Ry.findKey(this,e);return!(!n||void 0===this[n]||t&&!tv(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=$y(e)){const o=Ry.findKey(n,e);!o||t&&!tv(0,n[o],o,t)||(delete n[o],r=!0)}}return Ry.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!tv(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Ry.forEach(this,((r,o)=>{const i=Ry.findKey(n,o);if(i)return t[i]=ev(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=ev(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ry.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Ry.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Qy]=this[Qy]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=$y(e);t[r]||(!function(e,t){const n=Ry.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Ry.isArray(e)?e.forEach(r):r(e),this}}nv.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ry.reduceDescriptors(nv.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Ry.freezeMethods(nv);var rv=nv;function ov(e,t){const n=this||Yy,r=t||n,o=rv.from(r.headers);let i=r.data;return Ry.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function iv(e){return!(!e||!e.__CANCEL__)}function av(e,t,n){ky.call(this,null==e?"canceled":e,ky.ERR_CANCELED,t,n),this.name="CanceledError"}Ry.inherits(av,ky,{__CANCEL__:!0});var sv=Ky.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Ry.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ry.isString(r)&&a.push("path="+r),Ry.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function uv(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var lv=Ky.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Ry.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function cv(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),l=r[a];o||(o=u),n[i]=s,r[i]=u;let c=a,f=0;for(;c!==i;)f+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,u=r(s);n=i;const l={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};l[t?"download":"upload"]=!0,e(l)}}var fv="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=rv.from(e.headers).normalize();let i,a,{responseType:s,withXSRFToken:u}=e;function l(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}if(Ry.isFormData(r))if(Ky.hasStandardBrowserEnv||Ky.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const f=uv(e.baseURL,e.url);function d(){if(!c)return;const r=rv.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ky("Request failed with status code "+n.status,[ky.ERR_BAD_REQUEST,ky.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),jy(f,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(n(new ky("Request aborted",ky.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new ky("Network Error",ky.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||zy;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new ky(t,r.clarifyTimeoutError?ky.ETIMEDOUT:ky.ECONNABORTED,e,c)),c=null},Ky.hasStandardBrowserEnv&&(u&&Ry.isFunction(u)&&(u=u(e)),u||!1!==u&&lv(f))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&sv.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in c&&Ry.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),Ry.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&"json"!==s&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",cv(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",cv(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{c&&(n(!t||t.type?new av(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const h=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);h&&-1===Ky.protocols.indexOf(h)?n(new ky("Unsupported protocol "+h+":",ky.ERR_BAD_REQUEST,e)):c.send(r||null)}))};const dv={http:null,xhr:fv};Ry.forEach(dv,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const hv=e=>`- ${e}`,pv=e=>Ry.isFunction(e)||null===e||!1===e;var mv=e=>{e=Ry.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new ky("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(hv).join("\n"):" "+hv(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function gv(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new av(null,e)}function yv(e){gv(e),e.headers=rv.from(e.headers),e.data=ov.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return mv(e.adapter||Yy.adapter)(e).then((function(t){return gv(e),t.data=ov.call(e,e.transformResponse,t),t.headers=rv.from(t.headers),t}),(function(t){return iv(t)||(gv(e),t&&t.response&&(t.response.data=ov.call(e,e.transformResponse,t.response),t.response.headers=rv.from(t.response.headers))),Promise.reject(t)}))}const vv=e=>e instanceof rv?e.toJSON():e;function bv(e,t){t=t||{};const n={};function r(e,t,n){return Ry.isPlainObject(e)&&Ry.isPlainObject(t)?Ry.merge.call({caseless:n},e,t):Ry.isPlainObject(t)?Ry.merge({},t):Ry.isArray(t)?t.slice():t}function o(e,t,n){return Ry.isUndefined(t)?Ry.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Ry.isUndefined(t))return r(void 0,t)}function a(e,t){return Ry.isUndefined(t)?Ry.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(vv(e),vv(t),!0)};return Ry.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=u[r]||o,a=i(e[r],t[r],r);Ry.isUndefined(a)&&i!==s||(n[r]=a)})),n}const wv="1.6.5",Av={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Av[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const _v={};Av.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.5] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new ky(r(o," has been removed"+(t?" in "+t:"")),ky.ERR_DEPRECATED);return t&&!_v[o]&&(_v[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var Ev={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ky("options must be an object",ky.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new ky("option "+i+" must be "+n,ky.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ky("Unknown option "+i,ky.ERR_BAD_OPTION)}},validators:Av};const Sv=Ev.validators;class xv{constructor(e){this.defaults=e,this.interceptors={request:new Fy,response:new Fy}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=bv(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ev.assertOptions(n,{silentJSONParsing:Sv.transitional(Sv.boolean),forcedJSONParsing:Sv.transitional(Sv.boolean),clarifyTimeoutError:Sv.transitional(Sv.boolean)},!1),null!=r&&(Ry.isFunction(r)?t.paramsSerializer={serialize:r}:Ev.assertOptions(r,{encode:Sv.function,serialize:Sv.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Ry.merge(o.common,o[t.method]);o&&Ry.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=rv.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let l;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let c,f=0;if(!s){const e=[yv.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),c=e.length,l=Promise.resolve(t);f{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new av(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new kv((function(t){e=t}));return{token:t,cancel:e}}}var Cv=kv;const Bv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bv).forEach((([e,t])=>{Bv[t]=e}));var Ov=Bv;const Tv=function e(t){const n=new Rv(t),r=Kg(Rv.prototype.request,n);return Ry.extend(r,Rv.prototype,n,{allOwnKeys:!0}),Ry.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(bv(t,n))},r}(Yy);Tv.Axios=Rv,Tv.CanceledError=av,Tv.CancelToken=Cv,Tv.isCancel=iv,Tv.VERSION=wv,Tv.toFormData=Py,Tv.AxiosError=ky,Tv.Cancel=Tv.CanceledError,Tv.all=function(e){return Promise.all(e)},Tv.spread=function(e){return function(t){return e.apply(null,t)}},Tv.isAxiosError=function(e){return Ry.isObject(e)&&!0===e.isAxiosError},Tv.mergeConfig=bv,Tv.AxiosHeaders=rv,Tv.formToJSON=e=>Gy(Ry.isHTMLForm(e)?new FormData(e):e),Tv.getAdapter=mv,Tv.HttpStatusCode=Ov,Tv.default=Tv;var Lv=Tv,Mv={exports:{}};!function(e,n){(function(){var r,o="Expected a function",i="__lodash_hash_undefined__",a="__lodash_placeholder__",s=16,u=32,l=64,c=128,f=256,d=1/0,h=9007199254740991,p=NaN,m=4294967295,g=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",s],["flip",512],["partial",u],["partialRight",l],["rearg",f]],y="[object Arguments]",v="[object Array]",b="[object Boolean]",w="[object Date]",A="[object Error]",_="[object Function]",E="[object GeneratorFunction]",S="[object Map]",x="[object Number]",R="[object Object]",k="[object Promise]",C="[object RegExp]",B="[object Set]",O="[object String]",T="[object Symbol]",L="[object WeakMap]",M="[object ArrayBuffer]",P="[object DataView]",D="[object Float32Array]",N="[object Float64Array]",I="[object Int8Array]",U="[object Int16Array]",j="[object Int32Array]",F="[object Uint8Array]",z="[object Uint8ClampedArray]",q="[object Uint16Array]",W="[object Uint32Array]",H=/\b__p \+= '';/g,V=/\b(__p \+=) '' \+/g,Z=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,X=RegExp(K.source),Y=RegExp(G.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,$=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,re=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(re.source),ie=/^\s+/,ae=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fe=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ae=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Re="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\ufe0e\\ufe0f",Be="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="['’]",Te="["+Ee+"]",Le="["+Be+"]",Me="["+Se+"]",Pe="\\d+",De="["+xe+"]",Ne="["+Re+"]",Ie="[^"+Ee+Be+Pe+xe+Re+ke+"]",Ue="\\ud83c[\\udffb-\\udfff]",je="[^"+Ee+"]",Fe="(?:\\ud83c[\\udde6-\\uddff]){2}",ze="[\\ud800-\\udbff][\\udc00-\\udfff]",qe="["+ke+"]",We="\\u200d",He="(?:"+Ne+"|"+Ie+")",Ve="(?:"+qe+"|"+Ie+")",Ze="(?:['’](?:d|ll|m|re|s|t|ve))?",Ke="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Me+"|"+Ue+")"+"?",Xe="["+Ce+"]?",Ye=Xe+Ge+("(?:"+We+"(?:"+[je,Fe,ze].join("|")+")"+Xe+Ge+")*"),Je="(?:"+[De,Fe,ze].join("|")+")"+Ye,Qe="(?:"+[je+Me+"?",Me,Fe,ze,Te].join("|")+")",$e=RegExp(Oe,"g"),et=RegExp(Me,"g"),tt=RegExp(Ue+"(?="+Ue+")|"+Qe+Ye,"g"),nt=RegExp([qe+"?"+Ne+"+"+Ze+"(?="+[Le,qe,"$"].join("|")+")",Ve+"+"+Ke+"(?="+[Le,qe+He,"$"].join("|")+")",qe+"?"+He+"+"+Ze,qe+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pe,Je].join("|"),"g"),rt=RegExp("["+We+Ee+Se+Ce+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,st={};st[D]=st[N]=st[I]=st[U]=st[j]=st[F]=st[z]=st[q]=st[W]=!0,st[y]=st[v]=st[M]=st[b]=st[P]=st[w]=st[A]=st[_]=st[S]=st[x]=st[R]=st[C]=st[B]=st[O]=st[L]=!1;var ut={};ut[y]=ut[v]=ut[M]=ut[P]=ut[b]=ut[w]=ut[D]=ut[N]=ut[I]=ut[U]=ut[j]=ut[S]=ut[x]=ut[R]=ut[C]=ut[B]=ut[O]=ut[T]=ut[F]=ut[z]=ut[q]=ut[W]=!0,ut[A]=ut[_]=ut[L]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,ft=parseInt,dt="object"==typeof t&&t&&t.Object===Object&&t,ht="object"==typeof self&&self&&self.Object===Object&&self,pt=dt||ht||Function("return this")(),mt=n&&!n.nodeType&&n,gt=mt&&e&&!e.nodeType&&e,yt=gt&>.exports===mt,vt=yt&&dt.process,bt=function(){try{var e=gt&>.require&>.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),wt=bt&&bt.isArrayBuffer,At=bt&&bt.isDate,_t=bt&&bt.isMap,Et=bt&&bt.isRegExp,St=bt&&bt.isSet,xt=bt&&bt.isTypedArray;function Rt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function kt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Mt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function nn(e,t){for(var n=e.length;n--&&qt(t,e[n],0)>-1;);return n}var rn=Kt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),on=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function sn(e){return rt.test(e)}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var yn=function e(t){var n,ae=(t=null==t?pt:yn.defaults(pt.Object(),t,yn.pick(pt,it))).Array,Ee=t.Date,Se=t.Error,xe=t.Function,Re=t.Math,ke=t.Object,Ce=t.RegExp,Be=t.String,Oe=t.TypeError,Te=ae.prototype,Le=xe.prototype,Me=ke.prototype,Pe=t["__core-js_shared__"],De=Le.toString,Ne=Me.hasOwnProperty,Ie=0,Ue=(n=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",je=Me.toString,Fe=De.call(ke),ze=pt._,qe=Ce("^"+De.call(Ne).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),We=yt?t.Buffer:r,He=t.Symbol,Ve=t.Uint8Array,Ze=We?We.allocUnsafe:r,Ke=ln(ke.getPrototypeOf,ke),Ge=ke.create,Xe=Me.propertyIsEnumerable,Ye=Te.splice,Je=He?He.isConcatSpreadable:r,Qe=He?He.iterator:r,tt=He?He.toStringTag:r,rt=function(){try{var e=hi(ke,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,dt=Ee&&Ee.now!==pt.Date.now&&Ee.now,ht=t.setTimeout!==pt.setTimeout&&t.setTimeout,mt=Re.ceil,gt=Re.floor,vt=ke.getOwnPropertySymbols,bt=We?We.isBuffer:r,jt=t.isFinite,Kt=Te.join,vn=ln(ke.keys,ke),bn=Re.max,wn=Re.min,An=Ee.now,_n=t.parseInt,En=Re.random,Sn=Te.reverse,xn=hi(t,"DataView"),Rn=hi(t,"Map"),kn=hi(t,"Promise"),Cn=hi(t,"Set"),Bn=hi(t,"WeakMap"),On=hi(ke,"create"),Tn=Bn&&new Bn,Ln={},Mn=ji(xn),Pn=ji(Rn),Dn=ji(kn),Nn=ji(Cn),In=ji(Bn),Un=He?He.prototype:r,jn=Un?Un.valueOf:r,Fn=Un?Un.toString:r;function zn(e){if(ns(e)&&!Va(e)&&!(e instanceof Vn)){if(e instanceof Hn)return e;if(Ne.call(e,"__wrapped__"))return Fi(e)}return new Hn(e)}var qn=function(){function e(){}return function(t){if(!ts(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Wn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Zn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function lr(e,t,n,o,i,a){var s,u=1&t,l=2&t,c=4&t;if(n&&(s=i?n(e,o,i,a):n(e)),s!==r)return s;if(!ts(e))return e;var f=Va(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ne.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return To(e,s)}else{var d=gi(e),h=d==_||d==E;if(Xa(e))return xo(e,u);if(d==R||d==y||h&&!i){if(s=l||h?{}:vi(e),!u)return l?function(e,t){return Lo(e,mi(e),t)}(e,function(e,t){return e&&Lo(t,Ms(t),e)}(s,e)):function(e,t){return Lo(e,pi(e),t)}(e,ir(s,e))}else{if(!ut[d])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case M:return Ro(e);case b:case w:return new r(+e);case P:return function(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case D:case N:case I:case U:case j:case F:case z:case q:case W:return ko(e,n);case S:return new r;case x:case O:return new r(e);case C:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case B:return new r;case T:return o=e,jn?ke(jn.call(o)):{}}var o}(e,d,u)}}a||(a=new Yn);var p=a.get(e);if(p)return p;a.set(e,s),ss(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,a))})):rs(e)&&e.forEach((function(r,o){s.set(o,lr(r,t,n,o,e,a))}));var m=f?r:(c?l?ai:ii:l?Ms:Ls)(e);return Ct(m||e,(function(r,o){m&&(r=e[o=r]),nr(s,o,lr(r,t,n,o,e,a))})),s}function cr(e,t,n){var o=n.length;if(null==e)return!o;for(e=ke(e);o--;){var i=n[o],a=t[i],s=e[i];if(s===r&&!(i in e)||!a(s))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Oe(o);return Li((function(){e.apply(r,n)}),t)}function dr(e,t,n,r){var o=-1,i=Lt,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=Pt(t,Qt(n))),r?(i=Mt,a=!1):t.length>=200&&(i=en,a=!1,t=new Xn(t));e:for(;++o-1},Kn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Zn,map:new(Rn||Kn),string:new Zn}},Gn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return fi(this,e).get(e)},Gn.prototype.has=function(e){return fi(this,e).has(e)},Gn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,i),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new Kn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kn){var r=n.__data__;if(!Rn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(e,t),this.size=n.size,this};var hr=Do(Ar),pr=Do(_r,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var o=-1,i=e.length;++o0&&n(s)?t>1?vr(s,t-1,n,r,o):Dt(o,s):r||(o[o.length]=s)}return o}var br=No(),wr=No(!0);function Ar(e,t){return e&&br(e,t,Ls)}function _r(e,t){return e&&wr(e,t,Ls)}function Er(e,t){return Tt(t,(function(t){return Qa(e[t])}))}function Sr(e,t){for(var n=0,o=(t=Ao(t,e)).length;null!=e&&nt}function Cr(e,t){return null!=e&&Ne.call(e,t)}function Br(e,t){return null!=e&&t in ke(e)}function Or(e,t,n){for(var o=n?Mt:Lt,i=e[0].length,a=e.length,s=a,u=ae(a),l=1/0,c=[];s--;){var f=e[s];s&&t&&(f=Pt(f,Qt(t))),l=wn(f.length,l),u[s]=!n&&(t||i>=120&&f.length>=120)?new Xn(s&&f):r}f=e[0];var d=-1,h=u[0];e:for(;++d=s?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Zr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&Ye.call(s,u,1),Ye.call(e,u,1);return e}function Gr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;wi(o)?Ye.call(e,o,1):ho(e,o)}}return e}function Xr(e,t){return e+gt(En()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return Mi(Ci(e,t,ou),e+"")}function Qr(e){return Qn(zs(e))}function $r(e,t){var n=zs(e);return Ni(n,ur(t,0,n.length))}function eo(e,t,n,o){if(!ts(e))return e;for(var i=-1,a=(t=Ao(t,e)).length,s=a-1,u=e;null!=u&&++io?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ae(o);++r>>1,a=e[i];null!==a&&!ls(a)&&(n?a<=t:a=200){var l=t?null:Jo(e);if(l)return fn(l);a=!1,o=en,u=new Xn}else u=t?[]:s;e:for(;++r=o?e:oo(e,t,n)}var So=lt||function(e){return pt.clearTimeout(e)};function xo(e,t){if(t)return e.slice();var n=e.length,r=Ze?Ze(n):new e.constructor(n);return e.copy(r),r}function Ro(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function ko(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Co(e,t){if(e!==t){var n=e!==r,o=null===e,i=e==e,a=ls(e),s=t!==r,u=null===t,l=t==t,c=ls(t);if(!u&&!c&&!a&&e>t||a&&s&&l&&!u&&!c||o&&s&&l||!n&&l||!i)return 1;if(!o&&!a&&!c&&e1?n[i-1]:r,s=i>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(i--,a):r,s&&Ai(n[0],n[1],s)&&(a=i<3?r:a,i=1),t=ke(t);++o-1?i[a?t[s]:s]:r}}function zo(e){return oi((function(t){var n=t.length,i=n,a=Hn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Oe(o);if(a&&!u&&"wrapper"==ui(s))var u=new Hn([],!0)}for(i=u?i:n;++i1&&b.reverse(),d&&lu))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=2&n?new Xn:r;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ct(g,(function(n){var r="_."+n[0];t&n[1]&&!Lt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(le):[]}(r),n)))}function Di(e){var t=0,n=0;return function(){var o=An(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Ni(e,t){var n=-1,o=e.length,i=o-1;for(t=t===r?o:t;++n1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,aa(e,n)}));function ha(e){var t=zn(e);return t.__chain__=!0,t}function pa(e,t){return t(e)}var ma=oi((function(e){var t=e.length,n=t?e[0]:0,o=this.__wrapped__,i=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Vn&&wi(n)?((o=o.slice(n,+n+(t?1:0))).__actions__.push({func:pa,args:[i],thisArg:r}),new Hn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(i)}));var ga=Mo((function(e,t,n){Ne.call(e,n)?++e[n]:ar(e,n,1)}));var ya=Fo(Hi),va=Fo(Vi);function ba(e,t){return(Va(e)?Ct:hr)(e,ci(t,3))}function wa(e,t){return(Va(e)?Bt:pr)(e,ci(t,3))}var Aa=Mo((function(e,t,n){Ne.call(e,n)?e[n].push(t):ar(e,n,[t])}));var _a=Jr((function(e,t,n){var r=-1,o="function"==typeof t,i=Ka(e)?ae(e.length):[];return hr(e,(function(e){i[++r]=o?Rt(t,e,n):Tr(e,t,n)})),i})),Ea=Mo((function(e,t,n){ar(e,n,t)}));function Sa(e,t){return(Va(e)?Pt:Fr)(e,ci(t,3))}var xa=Mo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ra=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ai(e,t[0],t[1])?t=[]:n>2&&Ai(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,vr(t,1),[])})),ka=dt||function(){return pt.Date.now()};function Ca(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,$o(e,c,r,r,r,r,t)}function Ba(e,t){var n;if("function"!=typeof t)throw new Oe(o);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Oa=Jr((function(e,t,n){var r=1;if(n.length){var o=cn(n,li(Oa));r|=u}return $o(e,r,t,n,o)})),Ta=Jr((function(e,t,n){var r=3;if(n.length){var o=cn(n,li(Ta));r|=u}return $o(t,r,e,n,o)}));function La(e,t,n){var i,a,s,u,l,c,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new Oe(o);function m(t){var n=i,o=a;return i=a=r,f=t,u=e.apply(o,n)}function g(e){var n=e-c;return c===r||n>=t||n<0||h&&e-f>=s}function y(){var e=ka();if(g(e))return v(e);l=Li(y,function(e){var n=t-(e-c);return h?wn(n,s-(e-f)):n}(e))}function v(e){return l=r,p&&i?m(e):(i=a=r,u)}function b(){var e=ka(),n=g(e);if(i=arguments,a=this,c=e,n){if(l===r)return function(e){return f=e,l=Li(y,t),d?m(e):u}(c);if(h)return So(l),l=Li(y,t),m(c)}return l===r&&(l=Li(y,t)),u}return t=ys(t)||0,ts(n)&&(d=!!n.leading,s=(h="maxWait"in n)?bn(ys(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){l!==r&&So(l),f=0,i=c=a=l=r},b.flush=function(){return l===r?u:v(ka())},b}var Ma=Jr((function(e,t){return fr(e,1,t)})),Pa=Jr((function(e,t,n){return fr(e,ys(t)||0,n)}));function Da(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Oe(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Da.Cache||Gn),n}function Na(e){if("function"!=typeof e)throw new Oe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Da.Cache=Gn;var Ia=_o((function(e,t){var n=(t=1==t.length&&Va(t[0])?Pt(t[0],Qt(ci())):Pt(vr(t,1),Qt(ci()))).length;return Jr((function(r){for(var o=-1,i=wn(r.length,n);++o=t})),Ha=Lr(function(){return arguments}())?Lr:function(e){return ns(e)&&Ne.call(e,"callee")&&!Xe.call(e,"callee")},Va=ae.isArray,Za=wt?Qt(wt):function(e){return ns(e)&&Rr(e)==M};function Ka(e){return null!=e&&es(e.length)&&!Qa(e)}function Ga(e){return ns(e)&&Ka(e)}var Xa=bt||yu,Ya=At?Qt(At):function(e){return ns(e)&&Rr(e)==w};function Ja(e){if(!ns(e))return!1;var t=Rr(e);return t==A||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Qa(e){if(!ts(e))return!1;var t=Rr(e);return t==_||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function $a(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var rs=_t?Qt(_t):function(e){return ns(e)&&gi(e)==S};function os(e){return"number"==typeof e||ns(e)&&Rr(e)==x}function is(e){if(!ns(e)||Rr(e)!=R)return!1;var t=Ke(e);if(null===t)return!0;var n=Ne.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&De.call(n)==Fe}var as=Et?Qt(Et):function(e){return ns(e)&&Rr(e)==C};var ss=St?Qt(St):function(e){return ns(e)&&gi(e)==B};function us(e){return"string"==typeof e||!Va(e)&&ns(e)&&Rr(e)==O}function ls(e){return"symbol"==typeof e||ns(e)&&Rr(e)==T}var cs=xt?Qt(xt):function(e){return ns(e)&&es(e.length)&&!!st[Rr(e)]};var fs=Go(jr),ds=Go((function(e,t){return e<=t}));function hs(e){if(!e)return[];if(Ka(e))return us(e)?pn(e):To(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=gi(e);return(t==S?un:t==B?fn:zs)(e)}function ps(e){return e?(e=ys(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=ps(e),n=t%1;return t==t?n?t-n:t:0}function gs(e){return e?ur(ms(e),0,m):0}function ys(e){if("number"==typeof e)return e;if(ls(e))return p;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jt(e);var n=ge.test(e);return n||ve.test(e)?ft(e.slice(2),n?2:8):me.test(e)?p:+e}function vs(e){return Lo(e,Ms(e))}function bs(e){return null==e?"":co(e)}var ws=Po((function(e,t){if(xi(t)||Ka(t))Lo(t,Ls(t),e);else for(var n in t)Ne.call(t,n)&&nr(e,n,t[n])})),As=Po((function(e,t){Lo(t,Ms(t),e)})),_s=Po((function(e,t,n,r){Lo(t,Ms(t),e,r)})),Es=Po((function(e,t,n,r){Lo(t,Ls(t),e,r)})),Ss=oi(sr);var xs=Jr((function(e,t){e=ke(e);var n=-1,o=t.length,i=o>2?t[2]:r;for(i&&Ai(t[0],t[1],i)&&(o=1);++n1),t})),Lo(e,ai(e),n),r&&(n=lr(n,7,ni));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Is=oi((function(e,t){return null==e?{}:function(e,t){return Zr(e,t,(function(t,n){return Cs(e,n)}))}(e,t)}));function Us(e,t){if(null==e)return{};var n=Pt(ai(e),(function(e){return[e]}));return t=ci(t),Zr(e,n,(function(e,n){return t(e,n[0])}))}var js=Qo(Ls),Fs=Qo(Ms);function zs(e){return null==e?[]:$t(e,Ls(e))}var qs=Uo((function(e,t,n){return t=t.toLowerCase(),e+(n?Ws(t):t)}));function Ws(e){return Js(bs(e).toLowerCase())}function Hs(e){return(e=bs(e))&&e.replace(we,rn).replace(et,"")}var Vs=Uo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Zs=Uo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ks=Io("toLowerCase");var Gs=Uo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Uo((function(e,t,n){return e+(n?" ":"")+Js(t)}));var Ys=Uo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Js=Io("toUpperCase");function Qs(e,t,n){return e=bs(e),(t=n?r:t)===r?function(e){return ot.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(ce)||[]}(e):e.match(t)||[]}var $s=Jr((function(e,t){try{return Rt(e,r,t)}catch(e){return Ja(e)?e:new Se(e)}})),eu=oi((function(e,t){return Ct(t,(function(t){t=Ui(t),ar(e,t,Oa(e[t],e))})),e}));function tu(e){return function(){return e}}var nu=zo(),ru=zo(!0);function ou(e){return e}function iu(e){return Nr("function"==typeof e?e:lr(e,1))}var au=Jr((function(e,t){return function(n){return Tr(n,e,t)}})),su=Jr((function(e,t){return function(n){return Tr(e,n,t)}}));function uu(e,t,n){var r=Ls(t),o=Er(t,r);null!=n||ts(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Er(t,Ls(t)));var i=!(ts(n)&&"chain"in n&&!n.chain),a=Qa(e);return Ct(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=To(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Dt([this.value()],arguments))})})),e}function lu(){}var cu=Vo(Pt),fu=Vo(Ot),du=Vo(Ut);function hu(e){return _i(e)?Zt(Ui(e)):function(e){return function(t){return Sr(t,e)}}(e)}var pu=Ko(),mu=Ko(!0);function gu(){return[]}function yu(){return!1}var vu=Ho((function(e,t){return e+t}),0),bu=Yo("ceil"),wu=Ho((function(e,t){return e/t}),1),Au=Yo("floor");var _u,Eu=Ho((function(e,t){return e*t}),1),Su=Yo("round"),xu=Ho((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Oe(o);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Ca,zn.assign=ws,zn.assignIn=As,zn.assignInWith=_s,zn.assignWith=Es,zn.at=Ss,zn.before=Ba,zn.bind=Oa,zn.bindAll=eu,zn.bindKey=Ta,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Va(e)?e:[e]},zn.chain=ha,zn.chunk=function(e,t,n){t=(n?Ai(e,t,n):t===r)?1:bn(ms(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=ae(mt(o/t));ii?0:i+n),(o=o===r||o>i?i:ms(o))<0&&(o+=i),o=n>o?0:gs(o);n>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=co(t))&&sn(e)?Eo(pn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Oe(o);return t=null==t?0:bn(ms(t),0),Jr((function(n){var r=n[t],o=Eo(n,0,t);return r&&Dt(o,r),Rt(e,this,o)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===r?1:ms(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,(t=o-(t=n||t===r?1:ms(t)))<0?0:t,o):[]},zn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?mo(e,ci(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Oe(o);return ts(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),La(e,t,{leading:r,maxWait:t,trailing:i})},zn.thru=pa,zn.toArray=hs,zn.toPairs=js,zn.toPairsIn=Fs,zn.toPath=function(e){return Va(e)?Pt(e,Ui):ls(e)?[e]:To(Ii(bs(e)))},zn.toPlainObject=vs,zn.transform=function(e,t,n){var r=Va(e),o=r||Xa(e)||cs(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ts(e)&&Qa(i)?qn(Ke(e)):{}}return(o?Ct:Ar)(e,(function(e,r,o){return t(n,e,r,o)})),n},zn.unary=function(e){return Ca(e,1)},zn.union=na,zn.unionBy=ra,zn.unionWith=oa,zn.uniq=function(e){return e&&e.length?fo(e):[]},zn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?fo(e,r,t):[]},zn.unset=function(e,t){return null==e||ho(e,t)},zn.unzip=ia,zn.unzipWith=aa,zn.update=function(e,t,n){return null==e?e:po(e,t,wo(n))},zn.updateWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:po(e,t,wo(n),o)},zn.values=zs,zn.valuesIn=function(e){return null==e?[]:$t(e,Ms(e))},zn.without=sa,zn.words=Qs,zn.wrap=function(e,t){return Ua(wo(t),e)},zn.xor=ua,zn.xorBy=la,zn.xorWith=ca,zn.zip=fa,zn.zipObject=function(e,t){return vo(e||[],t||[],nr)},zn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},zn.zipWith=da,zn.entries=js,zn.entriesIn=Fs,zn.extend=As,zn.extendWith=_s,uu(zn,zn),zn.add=vu,zn.attempt=$s,zn.camelCase=qs,zn.capitalize=Ws,zn.ceil=bu,zn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=ys(n))==n?n:0),t!==r&&(t=(t=ys(t))==t?t:0),ur(ys(e),t,n)},zn.clone=function(e){return lr(e,4)},zn.cloneDeep=function(e){return lr(e,5)},zn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:r)},zn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:r)},zn.conformsTo=function(e,t){return null==t||cr(e,t,Ls(t))},zn.deburr=Hs,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=wu,zn.endsWith=function(e,t,n){e=bs(e),t=co(t);var o=e.length,i=n=n===r?o:ur(ms(n),0,o);return(n-=t.length)>=0&&e.slice(n,i)==t},zn.eq=za,zn.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(G,on):e},zn.escapeRegExp=function(e){return(e=bs(e))&&oe.test(e)?e.replace(re,"\\$&"):e},zn.every=function(e,t,n){var o=Va(e)?Ot:mr;return n&&Ai(e,t,n)&&(t=r),o(e,ci(t,3))},zn.find=ya,zn.findIndex=Hi,zn.findKey=function(e,t){return Ft(e,ci(t,3),Ar)},zn.findLast=va,zn.findLastIndex=Vi,zn.findLastKey=function(e,t){return Ft(e,ci(t,3),_r)},zn.floor=Au,zn.forEach=ba,zn.forEachRight=wa,zn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Ms)},zn.forInRight=function(e,t){return null==e?e:wr(e,ci(t,3),Ms)},zn.forOwn=function(e,t){return e&&Ar(e,ci(t,3))},zn.forOwnRight=function(e,t){return e&&_r(e,ci(t,3))},zn.get=ks,zn.gt=qa,zn.gte=Wa,zn.has=function(e,t){return null!=e&&yi(e,t,Cr)},zn.hasIn=Cs,zn.head=Ki,zn.identity=ou,zn.includes=function(e,t,n,r){e=Ka(e)?e:zs(e),n=n&&!r?ms(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),us(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&qt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ms(n);return o<0&&(o=bn(r+o,0)),qt(e,t,o)},zn.inRange=function(e,t,n){return t=ps(t),n===r?(n=t,t=0):n=ps(n),function(e,t,n){return e>=wn(t,n)&&e=-9007199254740991&&e<=h},zn.isSet=ss,zn.isString=us,zn.isSymbol=ls,zn.isTypedArray=cs,zn.isUndefined=function(e){return e===r},zn.isWeakMap=function(e){return ns(e)&&gi(e)==L},zn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Rr(e)},zn.join=function(e,t){return null==e?"":Kt.call(e,t)},zn.kebabCase=Vs,zn.last=Ji,zn.lastIndexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=ms(n))<0?bn(o+i,0):wn(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):zt(e,Ht,i,!0)},zn.lowerCase=Zs,zn.lowerFirst=Ks,zn.lt=fs,zn.lte=ds,zn.max=function(e){return e&&e.length?gr(e,ou,kr):r},zn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),kr):r},zn.mean=function(e){return Vt(e,ou)},zn.meanBy=function(e,t){return Vt(e,ci(t,2))},zn.min=function(e){return e&&e.length?gr(e,ou,jr):r},zn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),jr):r},zn.stubArray=gu,zn.stubFalse=yu,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=Eu,zn.nth=function(e,t){return e&&e.length?Hr(e,ms(t)):r},zn.noConflict=function(){return pt._===this&&(pt._=ze),this},zn.noop=lu,zn.now=ka,zn.pad=function(e,t,n){e=bs(e);var r=(t=ms(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Zo(gt(o),n)+e+Zo(mt(o),n)},zn.padEnd=function(e,t,n){e=bs(e);var r=(t=ms(t))?hn(e):0;return t&&rt){var o=e;e=t,t=o}if(n||e%1||t%1){var i=En();return wn(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return Xr(e,t)},zn.reduce=function(e,t,n){var r=Va(e)?Nt:Gt,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},zn.reduceRight=function(e,t,n){var r=Va(e)?It:Gt,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},zn.repeat=function(e,t,n){return t=(n?Ai(e,t,n):t===r)?1:ms(t),Yr(bs(e),t)},zn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var o=-1,i=(t=Ao(t,e)).length;for(i||(i=1,e=r);++oh)return[];var n=m,r=wn(e,m);t=ci(t),e-=m;for(var o=Yt(r,t);++n=a)return e;var u=n-hn(o);if(u<1)return o;var l=s?Eo(s,0,u).join(""):e.slice(0,u);if(i===r)return l+o;if(s&&(u+=l.length-u),as(i)){if(e.slice(u).search(i)){var c,f=l;for(i.global||(i=Ce(i.source,bs(pe.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;l=l.slice(0,d===r?u:d)}}else if(e.indexOf(co(i),u)!=u){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+o},zn.unescape=function(e){return(e=bs(e))&&X.test(e)?e.replace(K,gn):e},zn.uniqueId=function(e){var t=++Ie;return bs(e)+t},zn.upperCase=Ys,zn.upperFirst=Js,zn.each=ba,zn.eachRight=wa,zn.first=Ki,uu(zn,(_u={},Ar(zn,(function(e,t){Ne.call(zn.prototype,t)||(_u[t]=e)})),_u),{chain:!1}),zn.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Ct(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===r?1:bn(ms(n),0);var o=this.__filtered__&&!t?new Vn(this):this.clone();return o.__filtered__?o.__takeCount__=wn(n,o.__takeCount__):o.__views__.push({size:wn(n,m),type:e+(o.__dir__<0?"Right":"")}),o},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(ou)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Tr(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(Na(ci(e)))},Vn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(m)},Ar(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=zn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(zn.prototype[t]=function(){var t=this.__wrapped__,s=o?[1]:arguments,u=t instanceof Vn,l=s[0],c=u||Va(t),f=function(e){var t=i.apply(zn,Dt([e],s));return o&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,m=u&&!h;if(!a&&c){t=m?t:new Vn(this);var g=e.apply(t,s);return g.__actions__.push({func:pa,args:[f],thisArg:r}),new Hn(g,d)}return p&&m?e.apply(this,s):(g=this.thru(f),p?o?g.value()[0]:g.value():g)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Va(o)?o:[],e)}return this[n]((function(n){return t.apply(Va(n)?n:[],e)}))}})),Ar(Vn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Ne.call(Ln,r)||(Ln[r]=[]),Ln[r].push({name:t,func:n})}})),Ln[qo(r,2).name]=[{name:"wrapper",func:r}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=To(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=To(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=To(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Va(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof Wn;){var o=Fi(n);o.__index__=0,o.__values__=r,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:pa,args:[ta],thisArg:r}),new Hn(t,this.__chain__)}return this.thru(ta)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Qe&&(zn.prototype[Qe]=function(){return this}),zn}();gt?((gt.exports=yn)._=yn,mt._=yn):pt._=yn}).call(t)}(Mv,Mv.exports);var Pv=n(Mv.exports),Dv={exports:{}};var Nv,Iv={exports:{}},Uv=r(Object.freeze({__proto__:null,default:{}}));function jv(){return Nv||(Nv=1,function(e,n){var r;e.exports=(r=r||function(e,n){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==t&&t.crypto&&(r=t.crypto),!r)try{r=Uv}catch(e){}var o=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},s=a.lib={},u=s.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=s.WordArray=u.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=n?t:4*e.length},toString:function(e){return(e||f).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var s=0;s>>2]=n[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},d=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},h=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=s.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*u,i);if(u){for(var f=0;f>>2]|=e[o]<<24-o%4*8;t.call(this,r,n)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)}(Hv)),Hv.exports}var Zv,Kv={exports:{}};function Gv(){return Zv||(Zv=1,function(e,t){var n;e.exports=(n=jv(),function(){var e=n,t=e.lib.WordArray,r=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var n=e.length,r=[],o=0;o>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(r,2*n)}},r.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var n=e.length,r=[],i=0;i>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(r,2*n)}}}(),n.enc.Utf16)}(Kv)),Kv.exports}var Xv,Yv={exports:{}};function Jv(){return Xv||(Xv=1,function(e,t){var n;e.exports=(n=jv(),function(){var e=n,t=e.lib.WordArray;function r(e,n,r){for(var o=[],i=0,a=0;a>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;o.length%4;)o.push(u);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a>>2]>>>24-a%4*8&255)<<16|(n[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|n[a+2>>>2]>>>24-(a+2)%4*8&255,u=0;u<4&&a+.75*u>>6*(3-u)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],u=e[t+1],h=e[t+2],p=e[t+3],m=e[t+4],g=e[t+5],y=e[t+6],v=e[t+7],b=e[t+8],w=e[t+9],A=e[t+10],_=e[t+11],E=e[t+12],S=e[t+13],x=e[t+14],R=e[t+15],k=i[0],C=i[1],B=i[2],O=i[3];k=l(k,C,B,O,a,7,s[0]),O=l(O,k,C,B,u,12,s[1]),B=l(B,O,k,C,h,17,s[2]),C=l(C,B,O,k,p,22,s[3]),k=l(k,C,B,O,m,7,s[4]),O=l(O,k,C,B,g,12,s[5]),B=l(B,O,k,C,y,17,s[6]),C=l(C,B,O,k,v,22,s[7]),k=l(k,C,B,O,b,7,s[8]),O=l(O,k,C,B,w,12,s[9]),B=l(B,O,k,C,A,17,s[10]),C=l(C,B,O,k,_,22,s[11]),k=l(k,C,B,O,E,7,s[12]),O=l(O,k,C,B,S,12,s[13]),B=l(B,O,k,C,x,17,s[14]),k=c(k,C=l(C,B,O,k,R,22,s[15]),B,O,u,5,s[16]),O=c(O,k,C,B,y,9,s[17]),B=c(B,O,k,C,_,14,s[18]),C=c(C,B,O,k,a,20,s[19]),k=c(k,C,B,O,g,5,s[20]),O=c(O,k,C,B,A,9,s[21]),B=c(B,O,k,C,R,14,s[22]),C=c(C,B,O,k,m,20,s[23]),k=c(k,C,B,O,w,5,s[24]),O=c(O,k,C,B,x,9,s[25]),B=c(B,O,k,C,p,14,s[26]),C=c(C,B,O,k,b,20,s[27]),k=c(k,C,B,O,S,5,s[28]),O=c(O,k,C,B,h,9,s[29]),B=c(B,O,k,C,v,14,s[30]),k=f(k,C=c(C,B,O,k,E,20,s[31]),B,O,g,4,s[32]),O=f(O,k,C,B,b,11,s[33]),B=f(B,O,k,C,_,16,s[34]),C=f(C,B,O,k,x,23,s[35]),k=f(k,C,B,O,u,4,s[36]),O=f(O,k,C,B,m,11,s[37]),B=f(B,O,k,C,v,16,s[38]),C=f(C,B,O,k,A,23,s[39]),k=f(k,C,B,O,S,4,s[40]),O=f(O,k,C,B,a,11,s[41]),B=f(B,O,k,C,p,16,s[42]),C=f(C,B,O,k,y,23,s[43]),k=f(k,C,B,O,w,4,s[44]),O=f(O,k,C,B,E,11,s[45]),B=f(B,O,k,C,R,16,s[46]),k=d(k,C=f(C,B,O,k,h,23,s[47]),B,O,a,6,s[48]),O=d(O,k,C,B,v,10,s[49]),B=d(B,O,k,C,x,15,s[50]),C=d(C,B,O,k,g,21,s[51]),k=d(k,C,B,O,E,6,s[52]),O=d(O,k,C,B,p,10,s[53]),B=d(B,O,k,C,A,15,s[54]),C=d(C,B,O,k,u,21,s[55]),k=d(k,C,B,O,b,6,s[56]),O=d(O,k,C,B,R,10,s[57]),B=d(B,O,k,C,y,15,s[58]),C=d(C,B,O,k,S,21,s[59]),k=d(k,C,B,O,m,6,s[60]),O=d(O,k,C,B,_,10,s[61]),B=d(B,O,k,C,h,15,s[62]),C=d(C,B,O,k,w,21,s[63]),i[0]=i[0]+k|0,i[1]=i[1]+C|0,i[2]=i[2]+B|0,i[3]=i[3]+O|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,u=s.words,l=0;l<4;l++){var c=u[l];u[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+o+a;return(s<>>32-i)+t}function c(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+o+a;return(s<>>32-i)+t}function f(e,t,n,r,o,i,a){var s=e+(t^n^r)+o+a;return(s<>>32-i)+t}function d(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+o+a;return(s<>>32-i)+t}t.MD5=i._createHelper(u),t.HmacMD5=i._createHmacHelper(u)}(Math),n.MD5)}(nb,nb.exports)),nb.exports}nb.exports;var ob,ib={exports:{}};function ab(){return ob||(ob=1,function(e,t){var n;e.exports=(n=jv(),function(){var e=n,t=e.lib,r=t.WordArray,o=t.Hasher,i=e.algo,a=[],s=i.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],u=n[4],l=0;l<80;l++){if(l<16)a[l]=0|e[t+l];else{var c=a[l-3]^a[l-8]^a[l-14]^a[l-16];a[l]=c<<1|c>>>31}var f=(r<<5|r>>>27)+u+a[l];f+=l<20?1518500249+(o&i|~o&s):l<40?1859775393+(o^i^s):l<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,u=s,s=i,i=o<<30|o>>>2,o=r,r=f}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=o._createHelper(s),e.HmacSHA1=o._createHmacHelper(s)}(),n.SHA1)}(ib,ib.exports)),ib.exports}ib.exports;var sb,ub={exports:{}};function lb(){return sb||(sb=1,function(e,t){var n;e.exports=(n=jv(),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.algo,s=[],u=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(s[o]=n(e.pow(r,.5))),u[o]=n(e.pow(r,1/3)),o++),r++}();var l=[],c=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],c=n[5],f=n[6],d=n[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var p=l[h-15],m=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=l[h-2],y=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[h]=m+l[h-7]+y+l[h-16]}var v=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&c^~s&f)+u[h]+l[h];d=f,f=c,c=s,s=a+w|0,a=i,i=o,o=r,r=w+(b+v)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+f|0,n[7]=n[7]+d|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(c),t.HmacSHA256=i._createHmacHelper(c)}(Math),n.SHA256)}(ub,ub.exports)),ub.exports}ub.exports;var cb,fb={exports:{}};var db,hb={exports:{}};function pb(){return db||(db=1,function(e,t){var n;e.exports=(n=jv(),qv(),function(){var e=n,t=e.lib.Hasher,r=e.x64,o=r.Word,i=r.WordArray,a=e.algo;function s(){return o.create.apply(o,arguments)}var u=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var c=a.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],c=n[5],f=n[6],d=n[7],h=r.high,p=r.low,m=o.high,g=o.low,y=i.high,v=i.low,b=a.high,w=a.low,A=s.high,_=s.low,E=c.high,S=c.low,x=f.high,R=f.low,k=d.high,C=d.low,B=h,O=p,T=m,L=g,M=y,P=v,D=b,N=w,I=A,U=_,j=E,F=S,z=x,q=R,W=k,H=C,V=0;V<80;V++){var Z,K,G=l[V];if(V<16)K=G.high=0|e[t+2*V],Z=G.low=0|e[t+2*V+1];else{var X=l[V-15],Y=X.high,J=X.low,Q=(Y>>>1|J<<31)^(Y>>>8|J<<24)^Y>>>7,$=(J>>>1|Y<<31)^(J>>>8|Y<<24)^(J>>>7|Y<<25),ee=l[V-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=l[V-7],ae=ie.high,se=ie.low,ue=l[V-16],le=ue.high,ce=ue.low;K=(K=(K=Q+ae+((Z=$+se)>>>0<$>>>0?1:0))+re+((Z+=oe)>>>0>>0?1:0))+le+((Z+=ce)>>>0>>0?1:0),G.high=K,G.low=Z}var fe,de=I&j^~I&z,he=U&F^~U&q,pe=B&T^B&M^T&M,me=O&L^O&P^L&P,ge=(B>>>28|O<<4)^(B<<30|O>>>2)^(B<<25|O>>>7),ye=(O>>>28|B<<4)^(O<<30|B>>>2)^(O<<25|B>>>7),ve=(I>>>14|U<<18)^(I>>>18|U<<14)^(I<<23|U>>>9),be=(U>>>14|I<<18)^(U>>>18|I<<14)^(U<<23|I>>>9),we=u[V],Ae=we.high,_e=we.low,Ee=W+ve+((fe=H+be)>>>0>>0?1:0),Se=ye+me;W=z,H=q,z=j,q=F,j=I,F=U,I=D+(Ee=(Ee=(Ee=Ee+de+((fe+=he)>>>0>>0?1:0))+Ae+((fe+=_e)>>>0<_e>>>0?1:0))+K+((fe+=Z)>>>0>>0?1:0))+((U=N+fe|0)>>>0>>0?1:0)|0,D=M,N=P,M=T,P=L,T=B,L=O,B=Ee+(ge+pe+(Se>>>0>>0?1:0))+((O=fe+Se|0)>>>0>>0?1:0)|0}p=r.low=p+O,r.high=h+B+(p>>>0>>0?1:0),g=o.low=g+L,o.high=m+T+(g>>>0>>0?1:0),v=i.low=v+P,i.high=y+M+(v>>>0

>>0?1:0),w=a.low=w+N,a.high=b+D+(w>>>0>>0?1:0),_=s.low=_+U,s.high=A+I+(_>>>0>>0?1:0),S=c.low=S+F,c.high=E+j+(S>>>0>>0?1:0),R=f.low=R+q,f.high=x+z+(R>>>0>>0?1:0),C=d.low=C+H,d.high=k+W+(C>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(c),e.HmacSHA512=t._createHmacHelper(c)}(),n.SHA512)}(hb,hb.exports)),hb.exports}hb.exports;var mb,gb={exports:{}};var yb,vb={exports:{}};function bb(){return yb||(yb=1,function(e,t){var n;e.exports=(n=jv(),qv(),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.x64.Word,s=t.algo,u=[],l=[],c=[];!function(){for(var e=1,t=0,n=0;n<24;n++){u[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,f=0,d=0;d<7;d++){if(1&o){var h=(1<>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(C=n[o]).high^=a,C.low^=i}for(var s=0;s<24;s++){for(var d=0;d<5;d++){for(var h=0,p=0,m=0;m<5;m++)h^=(C=n[d+5*m]).high,p^=C.low;var g=f[d];g.high=h,g.low=p}for(d=0;d<5;d++){var y=f[(d+4)%5],v=f[(d+1)%5],b=v.high,w=v.low;for(h=y.high^(b<<1|w>>>31),p=y.low^(w<<1|b>>>31),m=0;m<5;m++)(C=n[d+5*m]).high^=h,C.low^=p}for(var A=1;A<25;A++){var _=(C=n[A]).high,E=C.low,S=u[A];S<32?(h=_<>>32-S,p=E<>>32-S):(h=E<>>64-S,p=_<>>64-S);var x=f[l[A]];x.high=h,x.low=p}var R=f[0],k=n[0];for(R.high=k.high,R.low=k.low,d=0;d<5;d++)for(m=0;m<5;m++){var C=n[A=d+5*m],B=f[A],O=f[(d+1)%5+5*m],T=f[(d+2)%5+5*m];C.high=B.high^~O.high&T.high,C.low=B.low^~O.low&T.low}C=n[0];var L=c[s];C.high^=L.high,C.low^=L.low}},_doFinalize:function(){var t=this._data,n=t.words;this._nDataBytes;var r=8*t.sigBytes,i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(e.ceil((r+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,u=s/8,l=[],c=0;c>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),l.push(h),l.push(d)}return new o.init(l,s)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=i._createHelper(d),t.HmacSHA3=i._createHmacHelper(d)}(Math),n.SHA3)}(vb)),vb.exports}var wb,Ab={exports:{}};var _b,Eb={exports:{}};function Sb(){return _b||(_b=1,function(e,t){var n;e.exports=(n=jv(),void function(){var e=n,t=e.lib.Base,r=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,u=a.words,l=0;l>>2];e.sigBytes-=t}};r.BlockCipher=c.extend({cfg:c.cfg.extend({mode:h,padding:p}),reset:function(){var e;c.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var m=r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?i.create([1398893684,1701076831]).concat(n).concat(t):t).toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),m.create({ciphertext:n,salt:t})}},y=r.SerializableCipher=o.extend({cfg:o.extend({format:g}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),a=o.cfg;return m.create({ciphertext:i,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(t.kdf={}).OpenSSL={execute:function(e,t,n,r,o){if(r||(r=i.random(8)),o)a=l.create({keySize:t+n,hasher:o}).compute(e,r);else var a=l.create({keySize:t+n}).compute(e,r);var s=i.create(a.words.slice(t),4*n);return a.sigBytes=4*t,m.create({key:a,iv:s,salt:r})}},b=r.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:v}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=o.iv;var i=y.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=o.iv,y.decrypt.call(this,e,t,o.key,r)}})}()))}(Tb,Tb.exports)),Tb.exports}Tb.exports;var Mb,Pb={exports:{}};function Db(){return Mb||(Mb=1,function(e,t){var n;e.exports=(n=jv(),Lb(),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,n,r){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,r.encryptBlock(o,0);for(var a=0;a>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function r(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var o=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),r(a);var s=a.slice(0);n.encryptBlock(s,0);for(var u=0;u>>5]>>>31-r%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var l=o[i]=[],c=u[i];for(n=0;n<24;n++)l[n/6|0]|=t[(s[n]-1+c)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(s[n+24]-1+c)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var f=this._invSubKeys=[];for(n=0;n<16;n++)f[n]=o[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,a=this._rBlock,s=0,u=0;u<8;u++)s|=l[u][((a^o[u])&c[u])>>>0];this._lBlock=a,this._rBlock=i^s}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=f.createEncryptor(r.create(t)),this._des2=f.createEncryptor(r.create(n)),this._des3=f.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=o._createHelper(p)}(),n.TripleDES)}(uw)),uw.exports}var cw,fw={exports:{}};var dw,hw={exports:{}};var pw,mw={exports:{}};var gw,yw={exports:{}};function vw(){return gw||(gw=1,function(e,t){var n;e.exports=(n=jv(),Jv(),rb(),Bb(),Lb(),function(){var e=n,t=e.lib.BlockCipher,r=e.algo;const o=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function u(e,t){let n=t>>24&255,r=t>>16&255,o=t>>8&255,i=255&t,a=e.sbox[0][n]+e.sbox[1][r];return a^=e.sbox[2][o],a+=e.sbox[3][i],a}function l(e,t,n){let r,i=t,a=n;for(let t=0;t1;--t)i^=e.pbox[t],a=u(e,i)^a,r=i,i=a,a=r;return r=i,i=a,a=r,a^=e.pbox[1],i^=e.pbox[0],{left:i,right:a}}function f(e,t,n){for(let t=0;t<4;t++){e.sbox[t]=[];for(let n=0;n<256;n++)e.sbox[t][n]=a[t][n]}let r=0;for(let a=0;a=n&&(r=0);let s=0,u=0,c=0;for(let t=0;t>>24)|4278255360&(o<<24|o>>>8)}var i,a,h,w,A,_,E,S,x,R,k,C=this._hash.words,B=f.words,O=d.words,T=s.words,L=u.words,M=l.words,P=c.words;for(_=i=C[0],E=a=C[1],S=h=C[2],x=w=C[3],R=A=C[4],n=0;n<80;n+=1)k=i+e[t+T[n]]|0,k+=n<16?p(a,h,w)+B[0]:n<32?m(a,h,w)+B[1]:n<48?g(a,h,w)+B[2]:n<64?y(a,h,w)+B[3]:v(a,h,w)+B[4],k=(k=b(k|=0,M[n]))+A|0,i=A,A=w,w=b(h,10),h=a,a=k,k=_+e[t+L[n]]|0,k+=n<16?v(E,S,x)+O[0]:n<32?y(E,S,x)+O[1]:n<48?g(E,S,x)+O[2]:n<64?m(E,S,x)+O[3]:p(E,S,x)+O[4],k=(k=b(k|=0,P[n]))+R|0,_=R,R=x,x=b(S,10),S=E,E=k;k=C[1]+h+x|0,C[1]=C[2]+w+R|0,C[2]=C[3]+A+_|0,C[3]=C[4]+i+E|0,C[4]=C[0]+a+S|0,C[0]=k},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function y(e,t,n){return e&n|t&~n}function v(e,t,n){return e^(t|~n)}function b(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(),n.RIPEMD160)}(Ab)),Sb(),xb||(xb=1,function(e,t){var n;e.exports=(n=jv(),lb(),Sb(),function(){var e=n,t=e.lib,r=t.Base,o=t.WordArray,i=e.algo,a=i.SHA256,s=i.HMAC,u=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=s.create(n.hasher,e),i=o.create(),a=o.create([1]),u=i.words,l=a.words,c=n.keySize,f=n.iterations;u.length>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)}(Gb)),Xb||(Xb=1,function(e,t){var n;e.exports=(n=jv(),Lb(),n.pad.Iso10126={pad:function(e,t){var r=4*t,o=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)}(Yb)),Jb||(Jb=1,function(e,t){var n;e.exports=(n=jv(),Lb(),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)}(Qb)),$b||($b=1,function(e,t){var n;e.exports=(n=jv(),Lb(),n.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},n.pad.ZeroPadding)}(ew)),tw||(tw=1,function(e,t){var n;e.exports=(n=jv(),Lb(),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)}(nw)),rw||(rw=1,function(e,t){var n;e.exports=(n=jv(),Lb(),function(e){var t=n,r=t.lib.CipherParams,o=t.enc.Hex;t.format.Hex={stringify:function(e){return e.ciphertext.toString(o)},parse:function(e){var t=o.parse(e);return r.create({ciphertext:t})}}}(),n.format.Hex)}(ow)),iw||(iw=1,function(e,t){var n;e.exports=(n=jv(),Jv(),rb(),Bb(),Lb(),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],a=[],s=[],u=[],l=[],c=[],f=[],d=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var p=r^r<<1^r<<2^r<<3^r<<4;p=p>>>8^255&p^99,o[n]=p,i[p]=n;var m=e[n],g=e[m],y=e[g],v=257*e[p]^16843008*p;a[n]=v<<24|v>>>8,s[n]=v<<16|v>>>16,u[n]=v<<8|v>>>24,l[n]=v,v=16843009*y^65537*g^257*m^16843008*n,c[p]=v<<24|v>>>8,f[p]=v<<16|v>>>16,d[p]=v<<8|v>>>24,h[p]=v,n?(n=m^e[e[e[y^m]]],r^=e[e[r]]):n=r=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],m=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],a=0;a6&&a%n==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=o[(l=l<<8|l>>>24)>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=p[a/n|0]<<24),i[a]=i[a-n]^l);for(var s=this._invKeySchedule=[],u=0;u>>24]]^f[o[l>>>16&255]]^d[o[l>>>8&255]]^h[o[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,u,l,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,c,f,d,h,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,a,s){for(var u=this._nRounds,l=e[t]^n[0],c=e[t+1]^n[1],f=e[t+2]^n[2],d=e[t+3]^n[3],h=4,p=1;p>>24]^o[c>>>16&255]^i[f>>>8&255]^a[255&d]^n[h++],g=r[c>>>24]^o[f>>>16&255]^i[d>>>8&255]^a[255&l]^n[h++],y=r[f>>>24]^o[d>>>16&255]^i[l>>>8&255]^a[255&c]^n[h++],v=r[d>>>24]^o[l>>>16&255]^i[c>>>8&255]^a[255&f]^n[h++];l=m,c=g,f=y,d=v}m=(s[l>>>24]<<24|s[c>>>16&255]<<16|s[f>>>8&255]<<8|s[255&d])^n[h++],g=(s[c>>>24]<<24|s[f>>>16&255]<<16|s[d>>>8&255]<<8|s[255&l])^n[h++],y=(s[f>>>24]<<24|s[d>>>16&255]<<16|s[l>>>8&255]<<8|s[255&c])^n[h++],v=(s[d>>>24]<<24|s[l>>>16&255]<<16|s[c>>>8&255]<<8|s[255&f])^n[h++],e[t]=m,e[t+1]=g,e[t+2]=y,e[t+3]=v},keySize:8});e.AES=t._createHelper(m)}(),n.AES)}(aw)),lw(),cw||(cw=1,function(e,t){var n;e.exports=(n=jv(),Jv(),rb(),Bb(),Lb(),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var a=o%n,s=t[a>>>2]>>>24-a%4*8&255;i=(i+r[o]+s)%256;var u=r[o];r[o]=r[i],r[i]=u}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}e.RC4=t._createHelper(o);var a=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(a)}(),n.RC4)}(fw)),dw||(dw=1,function(e,t){var n;e.exports=(n=jv(),Jv(),rb(),Bb(),Lb(),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],a=[],s=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)u.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,a=i[0],s=i[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=l>>>16|4294901760&c,d=c<<16|65535&l;for(o[0]^=l,o[1]^=f,o[2]^=c,o[3]^=d,o[4]^=l,o[5]^=f,o[6]^=c,o[7]^=d,n=0;n<4;n++)u.call(this)}},_doProcessBlock:function(e,t){var n=this._X;u.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,s=r>>>16,u=((o*o>>>17)+o*s>>>15)+s*s,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),n.Rabbit)}(hw)),pw||(pw=1,function(e,t){var n;e.exports=(n=jv(),Jv(),rb(),Bb(),Lb(),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],a=[],s=r.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)u.call(this);for(o=0;o<8;o++)r[o]^=n[o+4&7];if(t){var i=t.words,a=i[0],s=i[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=l>>>16|4294901760&c,d=c<<16|65535&l;for(r[0]^=l,r[1]^=f,r[2]^=c,r[3]^=d,r[4]^=l,r[5]^=f,r[6]^=c,r[7]^=d,o=0;o<4;o++)u.call(this)}},_doProcessBlock:function(e,t){var n=this._X;u.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,s=r>>>16,u=((o*o>>>17)+o*s>>>15)+s*s,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),n.RabbitLegacy)}(mw)),vw(),n)}(Dv);var bw=Dv.exports,ww={exports:{}};!function(e){!function(t){var n,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,o=Math.ceil,i=Math.floor,a="[BigNumber Error] ",s=a+"Number primitive has more than 15 significant digits: ",u=1e14,l=14,c=9007199254740991,f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,h=1e9;function p(e){var t=0|e;return e>0||e===t?t:t-1}function m(e){for(var t,n,r=1,o=e.length,i=e[0]+"";rl^n?1:-1;for(s=(u=o.length)<(l=i.length)?u:l,a=0;ai[a]^n?1:-1;return u==l?0:u>l^n?1:-1}function y(e,t,n,r){if(en||e!==i(e))throw Error(a+(r||"Argument")+("number"==typeof e?en?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function v(e){var t=e.c.length-1;return p(e.e/l)==t&&e.c[t]%2!=0}function b(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function w(e,t,n){var r,o;if(t<0){for(o=n+".";++t;o+=n);e=o+e}else if(++t>(r=e.length)){for(o=n,t-=r;--t;o+=n);e+=o}else tI?m.c=m.e=null:e.e=10;f/=10,u++);return void(u>I?m.c=m.e=null:(m.e=u,m.c=[e]))}p=String(e)}else{if(!r.test(p=String(e)))return _(m,p,d);m.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(u=p.indexOf("."))>-1&&(p=p.replace(".","")),(f=p.search(/e/i))>0?(u<0&&(u=f),u+=+p.slice(f+1),p=p.substring(0,f)):u<0&&(u=p.length)}else{if(y(t,2,q.length,"Base"),10==t&&W)return G(m=new H(e),L+m.e+1,M);if(p=String(e),d="number"==typeof e){if(0*e!=0)return _(m,p,d,t);if(m.s=1/e<0?(p=p.slice(1),-1):1,H.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(s+e)}else m.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=q.slice(0,t),u=f=0,h=p.length;fu){u=h;continue}}else if(!a&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){a=!0,f=-1,u=0;continue}return _(m,String(e),d,t)}d=!1,(u=(p=A(p,t,10,m.s)).indexOf("."))>-1?p=p.replace(".",""):u=p.length}for(f=0;48===p.charCodeAt(f);f++);for(h=p.length;48===p.charCodeAt(--h););if(p=p.slice(f,++h)){if(h-=f,d&&H.DEBUG&&h>15&&(e>c||e!==i(e)))throw Error(s+m.s*e);if((u=u-f-1)>I)m.c=m.e=null;else if(u=D)?b(u,a):w(u,a,"0");else if(i=(e=G(new H(e),t,n)).e,s=(u=m(e.c)).length,1==r||2==r&&(t<=i||i<=P)){for(;ss){if(--t>0)for(u+=".";t--;u+="0");}else if((t+=i-s)>0)for(i+1==s&&(u+=".");t--;u+="0");return e.s<0&&o?"-"+u:u}function Z(e,t){for(var n,r=1,o=new H(e[0]);r=10;o/=10,r++);return(n=r+n*l-1)>I?e.c=e.e=null:n=10;d/=10,a++);if((s=t-a)<0)s+=l,c=t,m=(h=g[p=0])/y[a-c-1]%10|0;else if((p=o((s+1)/l))>=g.length){if(!r)break e;for(;g.length<=p;g.push(0));h=m=0,a=1,c=(s%=l)-l+1}else{for(h=d=g[p],a=1;d>=10;d/=10,a++);m=(c=(s%=l)-l+a)<0?0:h/y[a-c-1]%10|0}if(r=r||t<0||null!=g[p+1]||(c<0?h:h%y[a-c-1]),r=n<4?(m||r)&&(0==n||n==(e.s<0?3:2)):m>5||5==m&&(4==n||r||6==n&&(s>0?c>0?h/y[a-c]:0:g[p-1])%10&1||n==(e.s<0?8:7)),t<1||!g[0])return g.length=0,r?(t-=e.e+1,g[0]=y[(l-t%l)%l],e.e=-t||0):g[0]=e.e=0,e;if(0==s?(g.length=p,d=1,p--):(g.length=p+1,d=y[l-s],g[p]=c>0?i(h/y[a-c]%y[c])*d:0),r)for(;;){if(0==p){for(s=1,c=g[0];c>=10;c/=10,s++);for(c=g[0]+=d,d=1;c>=10;c/=10,d++);s!=d&&(e.e++,g[0]==u&&(g[0]=1));break}if(g[p]+=d,g[p]!=u)break;g[p--]=0,d=1}for(s=g.length;0===g[--s];g.pop());}e.e>I?e.c=e.e=null:e.e=D?b(t,n):w(t,n,"0"),e.s<0?"-"+t:t)}return H.clone=e,H.ROUND_UP=0,H.ROUND_DOWN=1,H.ROUND_CEIL=2,H.ROUND_FLOOR=3,H.ROUND_HALF_UP=4,H.ROUND_HALF_DOWN=5,H.ROUND_HALF_EVEN=6,H.ROUND_HALF_CEIL=7,H.ROUND_HALF_FLOOR=8,H.EUCLID=9,H.config=H.set=function(e){var t,n;if(null!=e){if("object"!=typeof e)throw Error(a+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(y(n=e[t],0,h,t),L=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(y(n=e[t],0,8,t),M=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((n=e[t])&&n.pop?(y(n[0],-h,0,t),y(n[1],0,h,t),P=n[0],D=n[1]):(y(n,-h,h,t),P=-(D=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if((n=e[t])&&n.pop)y(n[0],-h,-1,t),y(n[1],1,h,t),N=n[0],I=n[1];else{if(y(n,-h,h,t),!n)throw Error(a+t+" cannot be zero: "+n);N=-(I=n<0?-n:n)}if(e.hasOwnProperty(t="CRYPTO")){if((n=e[t])!==!!n)throw Error(a+t+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw U=!n,Error(a+"crypto unavailable");U=n}else U=n}if(e.hasOwnProperty(t="MODULO_MODE")&&(y(n=e[t],0,9,t),j=n),e.hasOwnProperty(t="POW_PRECISION")&&(y(n=e[t],0,h,t),F=n),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(n=e[t]))throw Error(a+t+" not an object: "+n);z=n}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(n=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(a+t+" invalid: "+n);W="0123456789"==n.slice(0,10),q=n}}return{DECIMAL_PLACES:L,ROUNDING_MODE:M,EXPONENTIAL_AT:[P,D],RANGE:[N,I],CRYPTO:U,MODULO_MODE:j,POW_PRECISION:F,FORMAT:z,ALPHABET:q}},H.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!H.DEBUG)return!0;var t,n,r=e.c,o=e.e,s=e.s;e:if("[object Array]"=={}.toString.call(r)){if((1===s||-1===s)&&o>=-h&&o<=h&&o===i(o)){if(0===r[0]){if(0===o&&1===r.length)return!0;break e}if((t=(o+1)%l)<1&&(t+=l),String(r[0]).length==t){for(t=0;t=u||n!==i(n))break e;if(0!==n)return!0}}}else if(null===r&&null===o&&(null===s||1===s||-1===s))return!0;throw Error(a+"Invalid BigNumber: "+e)},H.maximum=H.max=function(){return Z(arguments,O.lt)},H.minimum=H.min=function(){return Z(arguments,O.gt)},H.random=(E=9007199254740992,S=Math.random()*E&2097151?function(){return i(Math.random()*E)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,n,r,s,u,c=0,d=[],p=new H(T);if(null==e?e=L:y(e,0,h),s=o(e/l),U)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(s*=2));c>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),t[c]=n[0],t[c+1]=n[1]):(d.push(u%1e14),c+=2);c=s/2}else{if(!crypto.randomBytes)throw U=!1,Error(a+"crypto unavailable");for(t=crypto.randomBytes(s*=7);c=9e15?crypto.randomBytes(7).copy(t,c):(d.push(u%1e14),c+=7);c=s/7}if(!U)for(;c=10;u/=10,c++);cn-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/n|0,a[o]%=n)}return a.reverse()}return function(r,o,i,a,s){var u,l,c,f,d,h,p,g,y=r.indexOf("."),v=L,b=M;for(y>=0&&(f=F,F=0,r=r.replace(".",""),h=(g=new H(o)).pow(r.length-y),F=f,g.c=t(w(m(h.c),h.e,"0"),10,i,e),g.e=g.c.length),c=f=(p=t(r,o,i,s?(u=q,e):(u=e,q))).length;0==p[--f];p.pop());if(!p[0])return u.charAt(0);if(y<0?--c:(h.c=p,h.e=c,h.s=a,p=(h=n(h,g,v,b,i)).c,d=h.r,c=h.e),y=p[l=c+v+1],f=i/2,d=d||l<0||null!=p[l+1],d=b<4?(null!=y||d)&&(0==b||b==(h.s<0?3:2)):y>f||y==f&&(4==b||d||6==b&&1&p[l-1]||b==(h.s<0?8:7)),l<1||!p[0])r=d?w(u.charAt(1),-v,u.charAt(0)):u.charAt(0);else{if(p.length=l,d)for(--i;++p[--l]>i;)p[l]=0,l||(++c,p=[1].concat(p));for(f=p.length;!p[--f];);for(y=0,r="";y<=f;r+=u.charAt(p[y++]));r=w(r,c,u.charAt(0))}return r}}(),n=function(){function e(e,t,n){var r,o,i,a,s=0,u=e.length,l=t%d,c=t/d|0;for(e=e.slice();u--;)s=((o=l*(i=e[u]%d)+(r=c*i+(a=e[u]/d|0)*l)%d*d+s)/n|0)+(r/d|0)+c*a,e[u]=o%n;return s&&(e=[s].concat(e)),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n,r){for(var o=0;n--;)e[n]-=o,o=e[n]1;e.splice(0,1));}return function(r,o,a,s,c){var f,d,h,m,g,y,v,b,w,A,_,E,S,x,R,k,C,B=r.s==o.s?1:-1,O=r.c,T=o.c;if(!(O&&O[0]&&T&&T[0]))return new H(r.s&&o.s&&(O?!T||O[0]!=T[0]:T)?O&&0==O[0]||!T?0*B:B/0:NaN);for(w=(b=new H(B)).c=[],B=a+(d=r.e-o.e)+1,c||(c=u,d=p(r.e/l)-p(o.e/l),B=B/l|0),h=0;T[h]==(O[h]||0);h++);if(T[h]>(O[h]||0)&&d--,B<0)w.push(1),m=!0;else{for(x=O.length,k=T.length,h=0,B+=2,(g=i(c/(T[0]+1)))>1&&(T=e(T,g,c),O=e(O,g,c),k=T.length,x=O.length),S=k,_=(A=O.slice(0,k)).length;_=c/2&&R++;do{if(g=0,(f=t(T,A,k,_))<0){if(E=A[0],k!=_&&(E=E*c+(A[1]||0)),(g=i(E/R))>1)for(g>=c&&(g=c-1),v=(y=e(T,g,c)).length,_=A.length;1==t(y,A,v,_);)g--,n(y,k=10;B/=10,h++);G(b,a+(b.e=h+d*l-1)+1,s,m)}else b.e=d,b.r=+m;return b}}(),x=/^(-?)0([xbo])(?=\w[\w.]*$)/i,R=/^([^.]+)\.$/,k=/^\.([^.]+)$/,C=/^-?(Infinity|NaN)$/,B=/^\s*\+(?=[\w.])|^\s+|\s+$/g,_=function(e,t,n,r){var o,i=n?t:t.replace(B,"");if(C.test(i))e.s=isNaN(i)?null:i<0?-1:1;else{if(!n&&(i=i.replace(x,(function(e,t,n){return o="x"==(n=n.toLowerCase())?16:"b"==n?2:8,r&&r!=o?e:t})),r&&(o=r,i=i.replace(R,"$1").replace(k,"0.$1")),t!=i))return new H(i,o);if(H.DEBUG)throw Error(a+"Not a"+(r?" base "+r:"")+" number: "+t);e.s=null}e.c=e.e=null},O.absoluteValue=O.abs=function(){var e=new H(this);return e.s<0&&(e.s=1),e},O.comparedTo=function(e,t){return g(this,new H(e,t))},O.decimalPlaces=O.dp=function(e,t){var n,r,o,i=this;if(null!=e)return y(e,0,h),null==t?t=M:y(t,0,8),G(new H(i),e+i.e+1,t);if(!(n=i.c))return null;if(r=((o=n.length-1)-p(this.e/l))*l,o=n[o])for(;o%10==0;o/=10,r--);return r<0&&(r=0),r},O.dividedBy=O.div=function(e,t){return n(this,new H(e,t),L,M)},O.dividedToIntegerBy=O.idiv=function(e,t){return n(this,new H(e,t),0,1)},O.exponentiatedBy=O.pow=function(e,t){var n,r,s,u,c,f,d,h,p=this;if((e=new H(e)).c&&!e.isInteger())throw Error(a+"Exponent not an integer: "+X(e));if(null!=t&&(t=new H(t)),c=e.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!e.c||!e.c[0])return h=new H(Math.pow(+X(p),c?2-v(e):+X(e))),t?h.mod(t):h;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new H(NaN);(r=!f&&p.isInteger()&&t.isInteger())&&(p=p.mod(t))}else{if(e.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||c&&p.c[1]>=24e7:p.c[0]<8e13||c&&p.c[0]<=9999975e7)))return u=p.s<0&&v(e)?-0:0,p.e>-1&&(u=1/u),new H(f?1/u:u);F&&(u=o(F/l+2))}for(c?(n=new H(.5),f&&(e.s=1),d=v(e)):d=(s=Math.abs(+X(e)))%2,h=new H(T);;){if(d){if(!(h=h.times(p)).c)break;u?h.c.length>u&&(h.c.length=u):r&&(h=h.mod(t))}if(s){if(0===(s=i(s/2)))break;d=s%2}else if(G(e=e.times(n),e.e+1,1),e.e>14)d=v(e);else{if(0===(s=+X(e)))break;d=s%2}p=p.times(p),u?p.c&&p.c.length>u&&(p.c.length=u):r&&(p=p.mod(t))}return r?h:(f&&(h=T.div(h)),t?h.mod(t):u?G(h,F,M,undefined):h)},O.integerValue=function(e){var t=new H(this);return null==e?e=M:y(e,0,8),G(t,t.e+1,e)},O.isEqualTo=O.eq=function(e,t){return 0===g(this,new H(e,t))},O.isFinite=function(){return!!this.c},O.isGreaterThan=O.gt=function(e,t){return g(this,new H(e,t))>0},O.isGreaterThanOrEqualTo=O.gte=function(e,t){return 1===(t=g(this,new H(e,t)))||0===t},O.isInteger=function(){return!!this.c&&p(this.e/l)>this.c.length-2},O.isLessThan=O.lt=function(e,t){return g(this,new H(e,t))<0},O.isLessThanOrEqualTo=O.lte=function(e,t){return-1===(t=g(this,new H(e,t)))||0===t},O.isNaN=function(){return!this.s},O.isNegative=function(){return this.s<0},O.isPositive=function(){return this.s>0},O.isZero=function(){return!!this.c&&0==this.c[0]},O.minus=function(e,t){var n,r,o,i,a=this,s=a.s;if(t=(e=new H(e,t)).s,!s||!t)return new H(NaN);if(s!=t)return e.s=-t,a.plus(e);var c=a.e/l,f=e.e/l,d=a.c,h=e.c;if(!c||!f){if(!d||!h)return d?(e.s=-t,e):new H(h?a:NaN);if(!d[0]||!h[0])return h[0]?(e.s=-t,e):new H(d[0]?a:3==M?-0:0)}if(c=p(c),f=p(f),d=d.slice(),s=c-f){for((i=s<0)?(s=-s,o=d):(f=c,o=h),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(r=(i=(s=d.length)<(t=h.length))?s:t,s=t=0;t0)for(;t--;d[n++]=0);for(t=u-1;r>s;){if(d[--r]=0;){for(n=0,g=E[o]%w,y=E[o]/w|0,i=o+(a=c);i>o;)n=((f=g*(f=_[--a]%w)+(s=y*f+(h=_[a]/w|0)*g)%w*w+v[i]+n)/b|0)+(s/w|0)+y*h,v[i--]=f%b;v[i]=n}return n?++r:v.splice(0,1),K(e,v,r)},O.negated=function(){var e=new H(this);return e.s=-e.s||null,e},O.plus=function(e,t){var n,r=this,o=r.s;if(t=(e=new H(e,t)).s,!o||!t)return new H(NaN);if(o!=t)return e.s=-t,r.minus(e);var i=r.e/l,a=e.e/l,s=r.c,c=e.c;if(!i||!a){if(!s||!c)return new H(o/0);if(!s[0]||!c[0])return c[0]?e:new H(s[0]?r:0*o)}if(i=p(i),a=p(a),s=s.slice(),o=i-a){for(o>0?(a=i,n=c):(o=-o,n=s),n.reverse();o--;n.push(0));n.reverse()}for((o=s.length)-(t=c.length)<0&&(n=c,c=s,s=n,t=o),o=0;t;)o=(s[--t]=s[t]+c[t]+o)/u|0,s[t]=u===s[t]?0:s[t]%u;return o&&(s=[o].concat(s),++a),K(e,s,a)},O.precision=O.sd=function(e,t){var n,r,o,i=this;if(null!=e&&e!==!!e)return y(e,1,h),null==t?t=M:y(t,0,8),G(new H(i),e,t);if(!(n=i.c))return null;if(r=(o=n.length-1)*l+1,o=n[o]){for(;o%10==0;o/=10,r--);for(o=n[0];o>=10;o/=10,r++);}return e&&i.e+1>r&&(r=i.e+1),r},O.shiftedBy=function(e){return y(e,-9007199254740991,c),this.times("1e"+e)},O.squareRoot=O.sqrt=function(){var e,t,r,o,i,a=this,s=a.c,u=a.s,l=a.e,c=L+4,f=new H("0.5");if(1!==u||!s||!s[0])return new H(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(u=Math.sqrt(+X(a)))||u==1/0?(((t=m(s)).length+l)%2==0&&(t+="0"),u=Math.sqrt(+t),l=p((l+1)/2)-(l<0||l%2),r=new H(t=u==1/0?"5e"+l:(t=u.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new H(u+""),r.c[0])for((u=(l=r.e)+c)<3&&(u=0);;)if(i=r,r=f.times(i.plus(n(a,i,c,1))),m(i.c).slice(0,u)===(t=m(r.c)).slice(0,u)){if(r.e0&&m>0){for(i=m%u||u,f=p.substr(0,i);i0&&(f+=c+p.slice(i)),h&&(f="-"+f)}r=d?f+(n.decimalSeparator||"")+((l=+n.fractionGroupSize)?d.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):d):f}return(n.prefix||"")+r+(n.suffix||"")},O.toFraction=function(e){var t,r,o,i,s,u,c,d,h,p,g,y,v=this,b=v.c;if(null!=e&&(!(c=new H(e)).isInteger()&&(c.c||1!==c.s)||c.lt(T)))throw Error(a+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+X(c));if(!b)return new H(v);for(t=new H(T),h=r=new H(T),o=d=new H(T),y=m(b),s=t.e=y.length-v.e-1,t.c[0]=f[(u=s%l)<0?l+u:u],e=!e||c.comparedTo(t)>0?s>0?t:h:c,u=I,I=1/0,c=new H(y),d.c[0]=0;p=n(c,t,0,1),1!=(i=r.plus(p.times(o))).comparedTo(e);)r=o,o=i,h=d.plus(p.times(i=h)),d=i,t=c.minus(p.times(i=t)),c=i;return i=n(e.minus(r),o,0,1),d=d.plus(i.times(h)),r=r.plus(i.times(o)),d.s=h.s=v.s,g=n(h,o,s*=2,M).minus(v).abs().comparedTo(n(d,r,s,M).minus(v).abs())<1?[h,o]:[d,r],I=u,g},O.toNumber=function(){return+X(this)},O.toPrecision=function(e,t){return null!=e&&y(e,1,h),V(this,e,t,2)},O.toString=function(e){var t,n=this,r=n.s,o=n.e;return null===o?r?(t="Infinity",r<0&&(t="-"+t)):t="NaN":(null==e?t=o<=P||o>=D?b(m(n.c),o):w(m(n.c),o,"0"):10===e&&W?t=w(m((n=G(new H(n),L+o+1,M)).c),n.e,"0"):(y(e,2,q.length,"Base"),t=A(w(m(n.c),o,"0"),10,e,r,!0)),r<0&&n.c[0]&&(t="-"+t)),t},O.valueOf=O.toJSON=function(){return X(this)},O._isBigNumber=!0,null!=t&&H.set(t),H}(),n.default=n.BigNumber=n,e.exports?e.exports=n:(t||(t="undefined"!=typeof self&&self?self:window),t.BigNumber=n)}(t)}(ww);var Aw=n(ww.exports);function _w(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}var xw=Vo.createContext(),Rw={root:{},anchorOriginTopCenter:{},anchorOriginBottomCenter:{},anchorOriginTopRight:{},anchorOriginBottomRight:{},anchorOriginTopLeft:{},anchorOriginBottomLeft:{}},kw={containerRoot:{},containerAnchorOriginTopCenter:{},containerAnchorOriginBottomCenter:{},containerAnchorOriginTopRight:{},containerAnchorOriginBottomRight:{},containerAnchorOriginTopLeft:{},containerAnchorOriginBottomLeft:{}},Cw={default:20,dense:4},Bw={default:6,dense:2},Ow={maxSnack:3,dense:!1,hideIconVariant:!1,variant:"default",autoHideDuration:5e3,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:du,transitionDuration:{enter:225,exit:195}},Tw=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},Lw=function(e){return Object.keys(e).filter((function(e){return!kw[e]})).reduce((function(t,n){var r;return Ew({},t,((r={})[n]=e[n],r))}),{})},Mw={TIMEOUT:"timeout",CLICKAWAY:"clickaway",MAXSNACK:"maxsnack",INSTRUCTED:"instructed"},Pw=function(e){return"containerAnchorOrigin"+e},Dw=function(e){var t=e.vertical,n=e.horizontal;return"anchorOrigin"+Tw(t)+Tw(n)},Nw=function(e){return"variant"+Tw(e)},Iw=function(e){return!!e||0===e},Uw=function(e){return"number"==typeof e||null===e};function jw(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),Ew({},n,{},t,{},e)}var Fw=function(e){var t;return{root:(t={display:"flex",flexWrap:"wrap",flexGrow:1},t[e.breakpoints.up("sm")]={flexGrow:"initial",minWidth:288},t)}},zw=zr.forwardRef((function(e,t){var n=e.classes,r=e.className,o=Sw(e,["classes","className"]);return Vo.createElement("div",Object.assign({ref:t,className:si(n.root,r)},o))})),qw=Qi(Fw)(zw),Ww={right:"left",left:"right",bottom:"up",top:"down"},Hw=function(e){return"center"!==e.horizontal?Ww[e.horizontal]:Ww[e.vertical]},Vw=function(e){return Vo.createElement(na,Object.assign({},e),Vo.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41\n 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}))},Zw=function(e){return Vo.createElement(na,Object.assign({},e),Vo.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},Kw=function(e){return Vo.createElement(na,Object.assign({},e),Vo.createElement("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,\n 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,\n 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"}))},Gw=function(e){return Vo.createElement(na,Object.assign({},e),Vo.createElement("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,\n 0 22,12A10,10 0 0,0 12,2Z"}))},Xw={fontSize:20,marginInlineEnd:8},Yw={default:void 0,success:Vo.createElement(Vw,{style:Xw}),warning:Vo.createElement(Zw,{style:Xw}),error:Vo.createElement(Kw,{style:Xw}),info:Vo.createElement(Gw,{style:Xw})};function Jw(e,t){return e.reduce((function(e,n){return null==n?e:function(){for(var r=arguments.length,o=new Array(r),i=0;i1&&void 0!==arguments[1]?arguments[1]:.15;return M(e)>.5?D(e,t):N(e,t)}(e.palette.background.default,"light"===t?.8:.98);return Ew({},Rw,{contentRoot:Ew({},e.typography.body2,{backgroundColor:n,color:e.palette.getContrastText(n),alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"}),lessPadding:{paddingLeft:20},variantSuccess:{backgroundColor:"#43a047",color:"#fff"},variantError:{backgroundColor:"#d32f2f",color:"#fff"},variantInfo:{backgroundColor:"#2196f3",color:"#fff"},variantWarning:{backgroundColor:"#ff9800",color:"#fff"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8},wrappedRoot:{position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0}})},nA=function(e){var t=e.classes,n=Sw(e,["classes"]),r=zr.useRef(),o=zr.useState(!0),i=o[0],a=o[1];zr.useEffect((function(){return function(){r.current&&clearTimeout(r.current)}}),[]);var s=Jw([n.snack.onClose,n.onClose],n.snack.key),u=n.style,l=n.ariaAttributes,c=n.className,f=n.hideIconVariant,d=n.iconVariant,h=n.snack,p=n.action,m=n.content,g=n.TransitionComponent,y=n.TransitionProps,v=n.transitionDuration,b=Sw(n,["style","dense","ariaAttributes","className","hideIconVariant","iconVariant","snack","action","content","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),w=h.key,A=h.open,_=h.className,E=h.variant,S=h.content,x=h.action,R=h.ariaAttributes,k=h.anchorOrigin,C=h.message,B=h.TransitionComponent,O=h.TransitionProps,T=h.transitionDuration,L=Sw(h,["persist","key","open","entered","requestClose","className","variant","content","action","ariaAttributes","anchorOrigin","message","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),M=Ew({},Yw,{},d)[E],P=Ew({"aria-describedby":"notistack-snackbar"},jw(R,l)),D=B||g||Ow.TransitionComponent,N=jw(T,v,Ow.transitionDuration),I=Ew({direction:Hw(k)},jw(O,y)),U=x||p;"function"==typeof U&&(U=U(w));var j=S||m;"function"==typeof j&&(j=j(w,h.message));var F=["onEnter","onEntering","onEntered","onExit","onExiting","onExited"].reduce((function(e,t){var r;return Ew({},e,((r={})[t]=Jw([n.snack[t],n[t]],n.snack.key),r))}),{});return Vo.createElement(gs,{unmountOnExit:!0,timeout:175,in:i,onExited:F.onExited},Vo.createElement(eA,Object.assign({},b,L,{open:A,className:si(t.root,t.wrappedRoot,t[Dw(k)]),onClose:s}),Vo.createElement(D,Object.assign({appear:!0,in:A,timeout:N},I,{onExit:F.onExit,onExiting:F.onExiting,onExited:function(){r.current=setTimeout((function(){a(!i)}),125)},onEnter:F.onEnter,onEntering:F.onEntering,onEntered:Jw([F.onEntered,function(){n.snack.requestClose&&s(null,Mw.INSTRCUTED)}])}),j||Vo.createElement(qw,Object.assign({},P,{role:"alert",style:u,className:si(t.contentRoot,t[Nw(E)],c,_,!f&&M&&t.lessPadding)}),Vo.createElement("div",{id:P["aria-describedby"],className:t.message},f?null:M,C),U&&Vo.createElement("div",{className:t.action},U)))))},rA=Qi(tA)(nA),oA="& > .MuiCollapse-container, & > .MuiCollapse-root",iA="& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper",aA=Xi((function(e){var t,n,r,o,i;return{root:(t={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:e.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},t[oA]={pointerEvents:"all"},t[iA]={padding:Bw.default+"px 0px",transition:"padding 300ms ease 0ms"},t.maxWidth="calc(100% - "+2*Cw.default+"px)",t[e.breakpoints.down("xs")]={width:"100%",maxWidth:"calc(100% - 32px)"},t),rootDense:(n={},n[iA]={padding:Bw.dense+"px 0px"},n),top:{top:Cw.default-Bw.default,flexDirection:"column"},bottom:{bottom:Cw.default-Bw.default,flexDirection:"column-reverse"},left:(r={left:Cw.default},r[e.breakpoints.up("sm")]={alignItems:"flex-start"},r[e.breakpoints.down("xs")]={left:"16px"},r),right:(o={right:Cw.default},o[e.breakpoints.up("sm")]={alignItems:"flex-end"},o[e.breakpoints.down("xs")]={right:"16px"},o),center:(i={left:"50%",transform:"translateX(-50%)"},i[e.breakpoints.up("sm")]={alignItems:"center"},i)}})),sA=function(e){var t=aA(),n=e.className,r=e.anchorOrigin,o=e.dense,i=Sw(e,["className","anchorOrigin","dense"]),a=si(t[r.vertical],t[r.horizontal],t.root,n,o&&t.rootDense);return Vo.createElement("div",Object.assign({className:a},i))},uA=Vo.memo(sA),lA=function(e){var t,n,r,o,i;function a(t){var n;return(n=e.call(this,t)||this).enqueueSnackbar=function(e,t){void 0===t&&(t={});var r=t,o=r.key,i=r.preventDuplicate,a=Sw(r,["key","preventDuplicate"]),s=Iw(o),u=s?o:(new Date).getTime()+Math.random(),l=function(e,t,n){return function(r){return"autoHideDuration"===r?Uw(e.autoHideDuration)?e.autoHideDuration:Uw(t.autoHideDuration)?t.autoHideDuration:Ow.autoHideDuration:e[r]||t[r]||n[r]}}(a,n.props,Ow),c=Ew({key:u},a,{message:e,open:!0,entered:!1,requestClose:!1,variant:l("variant"),anchorOrigin:l("anchorOrigin"),autoHideDuration:l("autoHideDuration")});return a.persist&&(c.autoHideDuration=void 0),n.setState((function(t){if(void 0===i&&n.props.preventDuplicate||i){var r=function(t){return s?t.key===o:t.message===e},a=t.queue.findIndex(r)>-1,u=t.snacks.findIndex(r)>-1;if(a||u)return t}return n.handleDisplaySnack(Ew({},t,{queue:[].concat(t.queue,[c])}))})),u},n.handleDisplaySnack=function(e){return e.snacks.length>=n.maxSnack?n.handleDismissOldest(e):n.processQueue(e)},n.processQueue=function(e){var t=e.queue,n=e.snacks;return t.length>0?Ew({},e,{snacks:[].concat(n,[t[0]]),queue:t.slice(1,t.length)}):e},n.handleDismissOldest=function(e){if(e.snacks.some((function(e){return!e.open||e.requestClose})))return e;var t=!1,r=!1;e.snacks.reduce((function(e,t){return e+(t.open&&t.persist?1:0)}),0)===n.maxSnack&&(r=!0);var o=e.snacks.map((function(e){return t||e.persist&&!r?Ew({},e):(t=!0,e.entered?(e.onClose&&e.onClose(null,Mw.MAXSNACK,e.key),n.props.onClose&&n.props.onClose(null,Mw.MAXSNACK,e.key),Ew({},e,{open:!1})):Ew({},e,{requestClose:!0}))}));return Ew({},e,{snacks:o})},n.handleEnteredSnack=function(e,t,r){if(!Iw(r))throw new Error("handleEnteredSnack Cannot be called with undefined key");n.setState((function(e){return{snacks:e.snacks.map((function(e){return e.key===r?Ew({},e,{entered:!0}):Ew({},e)}))}}))},n.handleCloseSnack=function(e,t,r){if(n.props.onClose&&n.props.onClose(e,t,r),t!==Mw.CLICKAWAY){var o=void 0===r;n.setState((function(e){var t=e.snacks,n=e.queue;return{snacks:t.map((function(e){return o||e.key===r?e.entered?Ew({},e,{open:!1}):Ew({},e,{requestClose:!0}):Ew({},e)})),queue:n.filter((function(e){return e.key!==r}))}}))}},n.closeSnackbar=function(e){var t=n.state.snacks.find((function(t){return t.key===e}));Iw(e)&&t&&t.onClose&&t.onClose(null,Mw.INSTRUCTED,e),n.handleCloseSnack(null,Mw.INSTRUCTED,e)},n.handleExitedSnack=function(e,t,r){var o=t||r;if(!Iw(o))throw new Error("handleExitedSnack Cannot be called with undefined key");n.setState((function(e){var t=n.processQueue(Ew({},e,{snacks:e.snacks.filter((function(e){return e.key!==o}))}));return 0===t.queue.length?t:n.handleDismissOldest(t)}))},n.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:n.enqueueSnackbar,closeSnackbar:n.closeSnackbar}},n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=this,t=this.state.contextValue,n=this.props,r=n.iconVariant,o=n.dense,i=void 0===o?Ow.dense:o,a=n.hideIconVariant,s=void 0===a?Ow.hideIconVariant:a,u=n.domRoot,l=n.children,c=n.classes,f=void 0===c?{}:c,d=Sw(n,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),h=this.state.snacks.reduce((function(e,t){var n,r,o=(r=t.anchorOrigin,""+Tw(r.vertical)+Tw(r.horizontal)),i=e[o]||[];return Ew({},e,((n={})[o]=[].concat(i,[t]),n))}),{}),p=Object.keys(h).map((function(t){var n=h[t];return Vo.createElement(uA,{key:t,dense:i,anchorOrigin:n[0].anchorOrigin,className:si(f.containerRoot,f[Pw(t)])},n.map((function(t){return Vo.createElement(rA,Object.assign({},d,{key:t.key,snack:t,dense:i,iconVariant:r,hideIconVariant:s,classes:Lw(f),onClose:e.handleCloseSnack,onExited:Jw([e.handleExitedSnack,e.props.onExited]),onEntered:Jw([e.handleEnteredSnack,e.props.onEntered])}))})))}));return Vo.createElement(xw.Provider,{value:t},l,u?zr.createPortal(p,u):p)},r=a,(o=[{key:"maxSnack",get:function(){return this.props.maxSnack||Ow.maxSnack}}])&&_w(r.prototype,o),i&&_w(r,i),a}(zr.Component),cA=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r>>7-e%8&1)},put:function(e,t){for(var n=0;n>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};for(var EA=_A,SA={glog:function(e){if(e<1)throw new Error("glog("+e+")");return SA.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return SA.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},xA=0;xA<8;xA++)SA.EXP_TABLE[xA]=1<=0;)t^=FA.G15<=0;)t^=FA.G18<>>=1;return t},getPatternPosition:function(e){return FA.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case LA:return(t+n)%2==0;case MA:return t%2==0;case PA:return n%3==0;case DA:return(t+n)%3==0;case NA:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case IA:return t*n%2+t*n%3==0;case UA:return(t*n%2+t*n%3)%2==0;case jA:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new OA([1],0),n=0;n5&&(n+=3+i-5)}for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e_(e,t){for(var n=0;n=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=ZA.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},KA.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},KA.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=HA.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},KA.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var o=0;o>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},KA.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=HA.getBCHTypeInfo(n),o=0;o<15;o++){var i=!e&&1==(r>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(o=0;o<15;o++){i=!e&&1==(r>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i}this.modules[this.moduleCount-8][8]=!e},KA.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,o=7,i=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[r][a-s]){var u=!1;i>>o&1)),HA.getMask(t,r,a-s)&&(u=!u),this.modules[r][a-s]=u,-1==--o&&(i++,o=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},ZA.PAD0=236,ZA.PAD1=17,ZA.createData=function(e,t,n){for(var r=qA.getRSBlocks(e,t),o=new WA,i=0;i8*s)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*s+")");for(o.getLengthInBits()+4<=8*s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*s||(o.put(ZA.PAD0,8),o.getLengthInBits()>=8*s));)o.put(ZA.PAD1,8);return ZA.createBytes(o,r)},ZA.createBytes=function(e,t){for(var n=0,r=0,o=0,i=new Array(t.length),a=new Array(t.length),s=0;s=0?d.get(h):0}}var p=0;for(c=0;c>6),t+=String.fromCharCode(128|63&r)):r<55296||r>=57344?(t+=String.fromCharCode(224|r>>12),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r)):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t+=String.fromCharCode(240|r>>18),t+=String.fromCharCode(128|r>>12&63),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r))}return t}var d_={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function h_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach((function(e,r){var o=null;e.forEach((function(i,a){if(!i&&null!==o)return n.push("M".concat(o+t," ").concat(r+t,"h").concat(a-o,"v1H").concat(o+t,"z")),void(o=null);if(a!==e.length-1)i&&null===o&&(o=a);else{if(!i)return;null===o?n.push("M".concat(a+t,",").concat(r+t," h1v1H").concat(a+t,"z")):n.push("M".concat(o+t,",").concat(r+t," h").concat(a+1-o,"v1H").concat(o+t,"z"))}}))})),n.join("")}function p_(e,t){return e.slice().map((function(e,n){return n=t.y+t.h?e:e.map((function(e,n){return(n=t.x+t.w)&&e}))}))}function m_(e,t){var n=e.imageSettings,r=e.size,o=e.includeMargin;if(null==n)return null;var i=o?4:0,a=t.length+2*i,s=Math.floor(.1*r),u=a/r,l=(n.width||s)*u,c=(n.height||s)*u,f=null==n.x?t.length/2-l/2:n.x*u,d=null==n.y?t.length/2-c/2:n.y*u,h=null;if(n.excavate){var p=Math.floor(f),m=Math.floor(d);h={x:p,y:m,w:Math.ceil(l+f-p),h:Math.ceil(c+d-m)}}return{x:f,y:d,h:c,w:l,excavation:h}}var g_=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),y_=function(e){function t(){var e,n;$A(this,t);for(var r=arguments.length,o=new Array(r),i=0;i{__[A_[e]]=e}));const E_={type:"error",data:"parser error"},S_="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),x_="function"==typeof ArrayBuffer,R_=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,k_=({type:e,data:t},n,r)=>S_&&t instanceof Blob?n?r(t):C_(t,r):x_&&(t instanceof ArrayBuffer||R_(t))?n?r(t):C_(new Blob([t]),r):r(A_[e]+(t||"")),C_=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function B_(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let O_;const T_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",L_="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<64;e++)L_[T_.charCodeAt(e)]=e;const M_="function"==typeof ArrayBuffer,P_=(e,t)=>{if("string"!=typeof e)return{type:"message",data:N_(e,t)};const n=e.charAt(0);if("b"===n)return{type:"message",data:D_(e.substring(1),t)};return __[n]?e.length>1?{type:__[n],data:e.substring(1)}:{type:__[n]}:E_},D_=(e,t)=>{if(M_){const n=(e=>{let t,n,r,o,i,a=.75*e.length,s=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);const l=new ArrayBuffer(a),c=new Uint8Array(l);for(t=0;t>4,c[u++]=(15&r)<<4|o>>2,c[u++]=(3&o)<<6|63&i;return l})(e);return N_(n,t)}return{base64:!0,data:e}},N_=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,I_=String.fromCharCode(30);function U_(){return new TransformStream({transform(e,t){!function(e,t){S_&&e.data instanceof Blob?e.data.arrayBuffer().then(B_).then(t):x_&&(e.data instanceof ArrayBuffer||R_(e.data))?t(B_(e.data)):k_(e,!1,(e=>{O_||(O_=new TextEncoder),t(O_.encode(e))}))}(e,(n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const e=new DataView(o.buffer);e.setUint8(0,126),e.setUint16(1,r)}else{o=new Uint8Array(9);const e=new DataView(o.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(r))}e.data&&"string"!=typeof e.data&&(o[0]|=128),t.enqueue(o),t.enqueue(n)}))}})}let j_;function F_(e){return e.reduce(((e,t)=>e+t.length),0)}function z_(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let o=0;o(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})}const V_=W_.setTimeout,Z_=W_.clearTimeout;function K_(e,t){t.useNativeTimers?(e.setTimeoutFn=V_.bind(W_),e.clearTimeoutFn=Z_.bind(W_)):(e.setTimeoutFn=W_.setTimeout.bind(W_),e.clearTimeoutFn=W_.clearTimeout.bind(W_))}class G_ extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class X_ extends q_{constructor(e){super(),this.writable=!1,K_(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,n){return super.emitReserved("error",new G_(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=P_(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){const t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}const Y_="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),J_=64,Q_={};let $_,eE=0,tE=0;function nE(e){let t="";do{t=Y_[e%J_]+t,e=Math.floor(e/J_)}while(e>0);return t}function rE(){const e=nE(+new Date);return e!==$_?(eE=0,$_=e):e+"."+nE(eE++)}for(;tE{var e;3===n.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(n)),4===n.readyState&&(200===n.status||1223===n.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=lE.requestsCount++,lE.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=sE,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete lE.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(lE.requestsCount=0,lE.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",cE);else if("function"==typeof addEventListener){addEventListener("onpagehide"in W_?"pagehide":"unload",cE,!1)}function cE(){for(let e in lE.requests)lE.requests.hasOwnProperty(e)&&lE.requests[e].abort()}const fE="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),dE=W_.WebSocket||W_.MozWebSocket,hE="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();const pE={websocket:class extends X_{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=hE?{}:H_(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=hE?new dE(e,t,n):t?new dE(e,t):new dE(e)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t{try{this.ws.send(e)}catch(e){}r&&fE((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=rE()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!dE}},webtransport:class extends X_{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=function(e,t){j_||(j_=new TextDecoder);const n=[];let r=0,o=-1,i=!1;return new TransformStream({transform(a,s){for(n.push(a);;){if(0===r){if(F_(n)<1)break;const e=z_(n,1);i=128==(128&e[0]),o=127&e[0],r=o<126?3:126===o?1:2}else if(1===r){if(F_(n)<2)break;const e=z_(n,2);o=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(F_(n)<8)break;const e=z_(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),i=t.getUint32(0);if(i>Math.pow(2,21)-1){s.enqueue(E_);break}o=i*Math.pow(2,32)+t.getUint32(4),r=3}else{if(F_(n)e){s.enqueue(E_);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=U_();r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const o=()=>{n.read().then((({done:e,value:t})=>{e||(this.onPacket(t),o())})).catch((e=>{}))};o();const i={type:"open"};this.query.sid&&(i.data=`{"sid":"${this.query.sid}"}`),this.writer.write(i).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t{r&&fE((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}},polling:class extends X_{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}const t=e&&e.forceBase64;this.supportsBinary=uE&&!t,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const n=e.split(I_),r=[];for(let e=0;e{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const n=e.length,r=new Array(n);let o=0;e.forEach(((e,i)=>{k_(e,!1,(e=>{r[i]=e,++o===n&&t(r.join(I_))}))}))})(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=rE()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new lE(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}},mE=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,gE=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function yE(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let o=mE.exec(e||""),i={},a=14;for(;a--;)i[gE[a]]=o[a]||"";return-1!=n&&-1!=r&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=function(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1);"/"==t.slice(-1)&&r.splice(r.length-1,1);return r}(0,i.path),i.queryKey=function(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,i.query),i}class vE extends q_{constructor(e,t={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],e&&"object"==typeof e&&(t=e,e=null),e?(e=yE(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=yE(t.host).host),K_(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new pE[e](n)}open(){let e;if(this.opts.rememberUpgrade&&vE.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){let t=this.createTransport(e),n=!1;vE.priorWebsocketSuccess=!1;const r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",(e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;vE.priorWebsocketSuccess="websocket"===t.name,this.transport.pause((()=>{n||"closed"!==this.readyState&&(l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}})))};function o(){n||(n=!0,l(),t.close(),t=null)}const i=e=>{const n=new Error("probe error: "+e);n.transport=t.name,o(),this.emitReserved("upgradeError",n)};function a(){i("transport closed")}function s(){i("socket closed")}function u(e){t&&e.name!==t.name&&o()}const l=()=>{t.removeListener("open",r),t.removeListener("error",i),t.removeListener("close",a),this.off("close",s),this.off("upgrading",u)};t.once("open",r),t.once("error",i),t.once("close",a),this.once("close",s),this.once("upgrading",u),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn((()=>{n||t.open()}),200):t.open()}onOpen(){if(this.readyState="open",vE.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let n=0;n=57344?n+=3:(r++,n+=4);return n}(t):Math.ceil(1.33*(t.byteLength||t.size))),n>0&&e>this.maxPayload)return this.writeBuffer.slice(0,n);e+=2}var t;return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const o={type:e,data:t,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(e){vE.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;n"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,AE=Object.prototype.toString,_E="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===AE.call(Blob),EE="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===AE.call(File);function SE(e){return bE&&(e instanceof ArrayBuffer||wE(e))||_E&&e instanceof Blob||EE&&e instanceof File}function xE(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t=0&&e.num{delete this.acks[e];for(let t=0;t{this.io.clearTimeoutFn(o),t.apply(this,[null,...e])}}emitWithAck(e,...t){const n=void 0!==this.flags.timeout||void 0!==this._opts.ackTimeout;return new Promise(((r,o)=>{t.push(((e,t)=>n?e?o(e):r(t):r(e))),this.emit(e,...t)}))}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...r)=>{if(n!==this._queue[0])return;return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:TE.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case TE.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case TE.EVENT:case TE.BINARY_EVENT:this.onevent(e);break;case TE.ACK:case TE.BINARY_ACK:this.onack(e);break;case TE.DISCONNECT:this.ondisconnect();break;case TE.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,t.packet({type:TE.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:TE.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n0&&e.jitter<=1?e.jitter:0,this.attempts=0}jE.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},jE.prototype.reset=function(){this.attempts=0},jE.prototype.setMin=function(e){this.ms=e},jE.prototype.setMax=function(e){this.max=e},jE.prototype.setJitter=function(e){this.jitter=e};class FE extends q_{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,K_(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new jE({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||DE;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new vE(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=NE(t,"open",(function(){n.onopen(),e&&e()})),o=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},i=NE(t,"error",o);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{r(),o(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(r),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(NE(e,"ping",this.onping.bind(this)),NE(e,"data",this.ondata.bind(this)),NE(e,"error",this.onerror.bind(this)),NE(e,"close",this.onclose.bind(this)),NE(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){fE((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new UE(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const e of t){if(this.nsps[e].active)return}this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;ne())),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const zE={};function qE(e,t){"object"==typeof e&&(t=e,e=void 0);const n=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=yE(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),r=n.source,o=n.id,i=n.path,a=zE[o]&&i in zE[o].nsps;let s;return t.forceNew||t["force new connection"]||!1===t.multiplex||a?s=new FE(r,t):(zE[o]||(zE[o]=new FE(r,t)),s=zE[o]),n.query&&!t.query&&(t.query=n.queryKey),s.socket(n.path,t)}function WE(){return(WE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}Object.assign(qE,{Manager:FE,Socket:UE,io:qE,connect:qE});const VE={palette:{primary:"#4bc846",secondary:"#f8fdf8",tertiary:"#374936",logo:"#4bc846"}},ZE={palette:{primary:"#0074C2",secondary:"#f8fdf8",tertiary:"#231F20",logo:"#0074C2"}},KE={orange:{palette:{primary:"#ee8b2b",secondary:"#fefbf8",tertiary:"#504030",logo:"#ee8b2b"}},paybutton:VE,xec:ZE};var GE;!function(e){e.ORANGE="orange",e.PAYBUTTON="paybutton",e.XEC="xec"}(GE||(GE={}));const XE=GE.PAYBUTTON,YE=Vo.createContext(void 0),JE=YE.Provider,QE=e=>e.startsWith("#")?e:"#"+e,$E=(e,t)=>{var n;const r=void 0===e&&!0===t?GE.XEC:"orange"===e||"xec"===e?e:((e,t)=>{const n=new RegExp(/(#(?:[0-9a-f]{2}){2,4}$|(#[0-9a-f]{3}$)|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\)$|black$|silver$|gray$|whitesmoke$|maroon$|red$|purple$|fuchsia$|green$|lime$|olivedrab$|yellow$|navy$|blue$|teal$|aquamarine$|orange$|aliceblue$|antiquewhite$|aqua$|azure$|beige$|bisque$|blanchedalmond$|blueviolet$|brown$|burlywood$|cadetblue$|chartreuse$|chocolate$|coral$|cornflowerblue$|cornsilk$|crimson$|currentcolor$|darkblue$|darkcyan$|darkgoldenrod$|darkgray$|darkgreen$|darkgrey$|darkkhaki$|darkmagenta$|darkolivegreen$|darkorange$|darkorchid$|darkred$|darksalmon$|darkseagreen$|darkslateblue$|darkslategray$|darkslategrey$|darkturquoise$|darkviolet$|deeppink$|deepskyblue$|dimgray$|dimgrey$|dodgerblue$|firebrick$|floralwhite$|forestgreen$|gainsboro$|ghostwhite$|goldenrod$|gold$|greenyellow$|grey$|honeydew$|hotpink$|indianred$|indigo$|ivory$|khaki$|lavenderblush$|lavender$|lawngreen$|lemonchiffon$|lightblue$|lightcoral$|lightcyan$|lightgoldenrodyellow$|lightgray$|lightgreen$|lightgrey$|lightpink$|lightsalmon$|lightseagreen$|lightskyblue$|lightslategray$|lightslategrey$|lightsteelblue$|lightyellow$|limegreen$|linen$|mediumaquamarine$|mediumblue$|mediumorchid$|mediumpurple$|mediumseagreen$|mediumslateblue$|mediumspringgreen$|mediumturquoise$|mediumvioletred$|midnightblue$|mintcream$|mistyrose$|moccasin$|navajowhite$|oldlace$|olive$|orangered$|orchid$|palegoldenrod$|palegreen$|paleturquoise$|palevioletred$|papayawhip$|peachpuff$|peru$|pink$|plum$|powderblue$|rosybrown$|royalblue$|saddlebrown$|salmon$|sandybrown$|seagreen$|seashell$|sienna$|skyblue$|slateblue$|slategray$|slategrey$|snow$|springgreen$|steelblue$|tan$|thistle$|tomato$|transparent$|turquoise$|violet$|wheat$|white$|yellowgreen$|rebeccapurple$)/,"i");if(void 0===e||void 0===e.palette)return KE[XE];{let{primary:r,secondary:o,tertiary:i,logo:a}=e.palette;return r=void 0!==r&&n.test(r)?QE(r):t?ZE.palette.primary:VE.palette.primary,o=void 0!==o&&n.test(o)?QE(o):t?ZE.palette.secondary:VE.palette.secondary,i=void 0!==i&&n.test(i)?QE(i):t?ZE.palette.tertiary:VE.palette.tertiary,a=void 0!==a&&n.test(a)?QE(a):t?ZE.palette.logo:VE.palette.logo,{palette:{primary:r,secondary:o,tertiary:i,logo:a}}}})(e,t);return null!=(n=zr.useContext(YE))?n:"object"==typeof r?r:((e=XE)=>KE[e])(r)},eS=["theme"],tS=Xi({container:{fontSize:"0.8rem !important"},button:e=>{let{theme:t}=e,n=HE(e,eS);return WE({background:t.palette.secondary+" !important",transition:"0.6s !important"},"slide"===n.animation?{background:`linear-gradient(45deg, ${t.palette.primary} 50%, ${t.palette.secondary} 50%) 100% center / 300% !important`,backgroundSize:"300% !important",backgroundPosition:"100% !important",transition:"background-position 0.8s, color 0.15s !important"}:{},{color:t.palette.primary+" !important",minWidth:"14em !important",padding:"0.618em 1.618em !important",margin:"auto !important",boxShadow:"3px 3px 3px rgba(0, 0, 0, 0.08) !important",border:`2px solid ${t.palette.primary} !important`,borderRadius:"10px !important",fontSize:"1em !important",textTransform:"none","&:hover":WE({},"slide"===n.animation?{backgroundPosition:"0 !important",color:t.palette.secondary+" !important"}:{},"invert"===n.animation?{background:t.palette.primary+" !important",color:t.palette.secondary+" !important"}:{},"none"===n.animation?{background:t.palette.secondary+" !important",color:t.palette.primary+" !important"}:{}),"& .MuiTouchRipple-root":{margin:-2,color:"#00000044 !important"},"&:disabled span":{filter:"blur(2px)",color:"rgba(0, 0, 0, 0.5)"}})}}),nS=e=>{const{animation:t,text:n,hoverText:r,disabled:o}=Object.assign({},nS.defaultProps,e),[i,a]=zr.useState(!1),[s,u]=zr.useState(!1),l=zr.useRef(),c=zr.useRef(null),f=$E(e.theme),d=tS({animation:t,theme:f});return zr.useLayoutEffect((()=>{if(null!==c&&n){const{current:e}=c;if(null!==e){const{style:t}=e;t.width=e.clientWidth+"px",t.height=e.clientHeight+4+"px"}}}),[n,c]),Vo.createElement("div",{className:d.container},Vo.createElement(Is,{disabled:o,className:d.button,onClick:e.onClick,onMouseEnter:()=>{a(!0),"none"!==t&&(u(!0),clearTimeout(l.current),l.current=window.setTimeout((()=>u(!1)),150))},onMouseLeave:()=>{a(!1),"none"!==t&&(u(!0),clearTimeout(l.current),l.current=window.setTimeout((()=>u(!1)),150))},ref:c},Vo.createElement("span",null," ",s!==i?r:n&&""!==n.trim()?n:Vo.createElement("div",null," "))))};nS.defaultProps={animation:"slide",text:"Donate",hoverText:"Send Payment",disabled:!1};const rS=e=>{if(!e)return!1;try{return Zg.isCashAddress(e)}catch(e){return!1}},oS=e=>{if(!e)return!1;try{return Zg.isXecAddress(e)}catch(e){return!1}},iS=e=>{if(rS(e))return"BCH";if(oS(e))return"XEC";throw new Error("Invalid currency")},aS=["USD","CAD"],sS=["BCH","XEC"],uS={BCH:8,XEC:2,FIAT:2},lS={bch:"bitcoincash",xec:"ecash"};function cS(e){return aS.includes(e)}function fS(e){return sS.includes(e)}const dS=async(e,t,n)=>{try{return cS(e)&&rS(t)?(await(async(e,t="https://paybutton.org")=>{const{data:n}=await Lv.get(`${t}/price/bitcoincash/${Pv.lowerCase(e)}`);return{price:n}})(e,n)).price:cS(e)&&oS(t)?(await(async(e,t="https://paybutton.org")=>{const{data:n}=await Lv.get(`${t}/price/ecash/${Pv.lowerCase(e)}`);return{price:n}})(e,n)).price:null}catch(e){console.log("err",e)}return null};function hS(e){return e&&e.default||e}var pS,mS=(function(e,t){!function(n,r){var o={version:"0.4.1",settings:{currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}}},i=Array.prototype.map,a=Array.isArray,s=Object.prototype.toString;function u(e){return!!(""===e||e&&e.charCodeAt&&e.substr)}function l(e){return a?a(e):"[object Array]"===s.call(e)}function c(e){return e&&"[object Object]"===s.call(e)}function f(e,t){var n;for(n in e=e||{},t=t||{})t.hasOwnProperty(n)&&null==e[n]&&(e[n]=t[n]);return e}function d(e,t,n){var r,o,a=[];if(!e)return a;if(i&&e.map===i)return e.map(t,n);for(r=0,o=e.length;r3?u.length%3:0;return s+(p?u.substr(0,p)+i.thousand:"")+u.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+i.thousand)+(a?i.decimal+g(Math.abs(e),a).split(".")[1]:"")},v=o.formatMoney=function(e,t,n,r,i,a){if(l(e))return d(e,(function(e){return v(e,t,n,r,i,a)}));e=m(e);var s=f(c(t)?t:{symbol:t,precision:n,thousand:r,decimal:i,format:a},o.settings.currency),u=p(s.format);return(e>0?u.pos:e<0?u.neg:u.zero).replace("%s",s.symbol).replace("%v",y(Math.abs(e),h(s.precision),s.thousand,s.decimal))};o.formatColumn=function(e,t,n,r,i,a){if(!e)return[];var s=f(c(t)?t:{symbol:t,precision:n,thousand:r,decimal:i,format:a},o.settings.currency),g=p(s.format),v=g.pos.indexOf("%s")0?g.pos:e<0?g.neg:g.zero).replace("%s",s.symbol).replace("%v",y(Math.abs(e),h(s.precision),s.thousand,s.decimal));return n.length>b&&(b=n.length),n}));return d(w,(function(e,t){return u(e)&&e.length-1?t.format:l})},unformat:function(e,t){var n=t.code||t.locale&&AS(t.locale),r=Ok[t.locale]||Lk,o=bS({},Tk,Pk(n),r),i=Dk(t.decimal)?o.decimalSeparator:t.decimal;return mS.unformat(e,i)}};const Ik=(e,t,n=uS.FIAT)=>Intl.NumberFormat(void 0,{style:"currency",currency:t,currencyDisplay:"narrowSymbol",minimumFractionDigits:n,maximumFractionDigits:n}).format(e),Uk=e=>{switch(typeof e){case"string":return"true"===e;case"boolean":return e;case"undefined":return!1}};function jk(e){const t=bw.lib.WordArray.random(e);return bw.enc.Hex.stringify(t)}const Fk=(e,t,n)=>{const r=e.toFixed(n).toString().replace(".","").length;if(!0===t)return Math.min(3,r);if(!1===t)throw new Error("Trying to randomize satoshis when not allowed.");return t>4&&(t=4),Math.min(t,r)},zk=new Aw(0),qk=e=>new Aw(e),Wk=(e,t,n)=>{let r="",o=0;if(fS(t)){let i=n?((e,t,n)=>{if(0===e)return 0;let r,o,i,a;switch(t){case"BCH":r=Fk(e,n,8),o=1e-8*Math.floor(Math.random()*10**r),i=Math.max(0,+e.toFixed(r))+o,a=+i.toFixed(8);break;case"XEC":r=Fk(e,n,2),o=.01*Math.floor(Math.random()*10**r);const s=10**(r-2);i=Math.max(0,+Math.floor(e/s)*s)+o,a=+i.toFixed(2);break;default:throw new Error("Invalid currency: "+t)}return a})(e,t,n):e;const a=uS[t],s=qk(""+i);null!==(null==s?void 0:s.c)&&(o=parseFloat(qk(s).toFixed(a)),r=qk(""+s).toFixed(a),"BCH"===t?r=Nk.format(+r,{symbol:"",decimal:".",thousand:",",precision:8,format:"%v"}):"XEC"===t&&(r=Nk.format(+r,{symbol:"",decimal:".",thousand:",",precision:2,format:"%v"})))}else o=e,r=Ik(e,t,uS.FIAT);return{float:o,string:r,currency:t}};class Hk{async getPaymentStatus(e){const t=await fetch(`https://sideshift.ai/api/v2//shifts/${e}?t=${(new Date).getTime()}`);return await t.json()}}const Vk=e=>{const{value:t,color:n,disabled:r}=e,[o,i]=zr.useState(0),a=Uk(r)?{filter:"blur(5px)"}:{},s={left:"0",top:"0",bottom:"0",height:"8px",borderRadius:"20px",backgroundColor:""+n,transition:"width 0.8s ease-out",position:"absolute"};return zr.useEffect((()=>{setTimeout((()=>{i(t>100?100:Math.round(t))}),800)}),[t]),Vo.createElement("div",{style:{width:"100%",marginBottom:"20px"}},Vo.createElement("div",{style:{height:"8px",borderRadius:"20px",backgroundColor:"#dddddd",position:"relative"}},Vo.createElement("div",{style:WE({},s,{width:o+"%"},a)})))};Vk.defaultProps={value:34,color:"#4bc846"};const Zk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABuCAMAAADmp0YAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDQTk0NEI3OThFMzIxMUVGQkNERDhEQjQ1RTlGOTk2OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDQTk0NEI3QThFMzIxMUVGQkNERDhEQjQ1RTlGOTk2OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkNBOTQ0Qjc3OEUzMjExRUZCQ0REOERCNDVFOUY5OTY4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkNBOTQ0Qjc4OEUzMjExRUZCQ0REOERCNDVFOUY5OTY4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+PQtV5wAAAYBQTFRFOTk5Tk5OTExMGhoaLCwsPz8/IiIiJycnBAQEICAgKioqFRUVHBwcCAgICwsLHx8fAQEB4ODgDQ0N8vLyMTExqKiovLy8FhYWMDAwzs7O5OTkHh4e+Pj4MzMz8fHx2dnZLy8v2NjY5+fn4uLiNDQ09/f3qqqqWlpaDg4Ozc3Nl5eXt7e3FxcX3t7ea2tr6urq6+vrZmZm9fX129vblpaWvb29DAwMw8PD7Ozsra2twsLC6enpPT09goKC+vr67u7uv7+/Nzc3WVlZmJiYioqKiYmJaGhosrKy0NDQ1dXVpKSkj4+PSEhI4eHhz8/PExMTo6Ojr6+vdnZ2QkJCnJyccXFxOjo65eXltbW1fn5+RkZGn5+fi4uLjIyM5ubmsLCw8/Pz9PT0NTU16Ojo2traKSkp/f39kJCQ/Pz8xsbGXl5ebm5uxcXFbGxsgYGBoKCgoaGhnZ2dmZmZjY2NJCQkiIiIQEBAW1tbaWlpYGBgYWFhXFxcXV1dV1dXAAAA////NCYxYAAAAIB0Uk5T/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wA4BUtnAAACdElEQVR42uzaZ1PbQBAGYDkY48SWhS2FCFeMTQgtgdA7CYH03hPSe+896P56GMB3irwnsG7lT/t+9Gn2mbM0exrdaQxO+UXENnJG0OSMfefev6oV00CiM+JgRJvxQcYcrByWIT2vHbxUZ2Gky8FMG4h8dnDzA0AexZERZ6Ye+YttOMk65IiDnwde5FoISK8X+SXGRm51KGRe54VsL3KDD40xtdzllb56EZsPLSoi4u4aciSriGR5pZwXsfhQWhFJy2dCSENIgQ/NhodU+dBUCMiTM6vfC1YhxYeij63dxbZae++Vd4GUfuqKDSoysBPyBqMPHjvqi1zF6baxbh9kBKunt+SlyCe8lUNbkCAVzPXpmwQ5jv0CBCBF3KX2FIj0uy/ZfB1qb7Duf9e/AxHxb8XPlrPpjZx/ejrdSCpDlzK8iAUic56X40AZF0/xcwgRvf2gQjccrBXJPIQQsahPKyCxWpGJov9M9isgBp+JSQghhBBCCCGEEEIIIYQQQgghhBBCCCFNRirNQIbDQw7xnybFN3xsZOKmuZWONrETg420Z7bj+la8BxuB0o+E7PUx4mYTZrLMcJB8Qm5EGRLSI0fi97EQlpMZ+hJDQ2Q3vjrK8BD4xusrW6PhIRfvfKmdG8BGUpMXOjfS11dybW26tjZU9k9i9Q3SFU0cTzqJMpMihGgcmQ9uDPEDSIkFCFkXz8KHKTNYBlqAjTM3csL9yGWCxVXiN4iUcDczL4MIm8M0Bl/CyCgmcpvBCLuOZ6RMGcKiaMhbJkWGkc4LJsaZHGHsD/4RiXqETSdVCf1Knu2AsPzHdds4EDDJZ61r3T5d558AAwDxw6DYwVV5JQAAAABJRU5ErkJggg==",Kk=e=>{var t;const{altpaymentSocket:n,setUseAltpayment:r,altpaymentShift:o,setAltpaymentShift:i,shiftCompleted:a,setShiftCompleted:s,altpaymentError:u,setAltpaymentError:l,coins:c,loadingPair:f,loadingShift:d,coinPair:h,setCoinPair:p,altpaymentEditable:m,animation:g,addressType:y,thisAmount:v,updateAmount:b,setLoadingPair:w,setLoadingShift:A,to:_}=Object.assign({},e),[E,S]=zr.useState(void 0),[x,R]=zr.useState(null),[k,C]=zr.useState(null),[B,O]=zr.useState(),[T,L]=zr.useState(void 0),[M,P]=zr.useState(void 0),[D,N]=zr.useState(void 0);zr.useEffect((()=>{D&&h?(C(+D<=+h.max),R(+D>=+h.min)):(C(!0),R(!0))}),[D,h]),zr.useEffect((()=>{1===(null==B?void 0:B.networks.length)&&L(B.networks[0])}),[B]),zr.useEffect((()=>{if(h&&v&&B&&T){const e=qk(+v/+h.rate),t=B.tokenDetails;let n;n=void 0!==t?t[T].decimals:h.min.split(".")[1].length;const r=e.toFixed(n);P(r);const o=D?Math.floor(+D):1,i=1+Math.ceil(Math.log10(o+1));S(i+n)}}),[h,B,v,D,T]);const I=()=>{p(void 0),l(void 0),i(void 0),N(void 0),s(!1)},U=e=>{const t=document.getElementById(e),n=document.createElement("div");n.textContent="Copied!",n.style.position="absolute",n.style.width="calc(100% - 10px)",n.style.height="calc(100% - 20px)",n.style.alignItems="center",n.style.top="0",n.style.left="0",n.style.backgroundColor="#fff",n.style.borderRadius="5px",n.style.padding="10px 0 10px 10px",n.style.zIndex="10",n.style.display="none",t&&(navigator.clipboard.writeText(t.textContent||""),t.appendChild(n),n.style.display="flex",setTimeout((()=>{n.style.display="none",n.parentElement===t&&t.removeChild(n)}),2e3))},j=Xi({select_box:{minWidth:"220px"},option_outer_ctn:{display:"flex",alignItems:"center"},option_ctn:{display:"flex",flexDirection:"column",margin:"5px 0"},list_icon:{width:"28px",height:"28px",marginRight:"10px"},coin:{fontWeight:"bold",lineHeight:"1em"},coin_name:{fontSize:"14px"},spacer:{height:"20px"},sideshift_ctn:{alignItems:"center",display:"flex",flexDirection:"column",height:"calc(100% - 20px)",width:"100%",position:"absolute",zIndex:9,top:"0",left:"0",background:"#f5f5f7",paddingTop:"20px"},header:{marginBottom:"30px",display:"flex",alignItems:"center",flexDirection:"column",color:"rgb(35, 31, 32)",fontSize:"0.9rem","& img":{width:"150px",marginTop:"10px"}},back_link:{fontSize:"14px",marginTop:"20px",cursor:"pointer",border:"1px solid #000",opacity:"0.7",padding:"2px 20px",borderRadius:"3px","&:hover":{opacity:"1"}},shift_ready:{width:"100%",display:"flex",flexDirection:"column","& h4":{margin:"0",fontSize:"20px",borderBottom:"1px solid #000",paddingBottom:"10px",textAlign:"center"}},copy_ctn:{display:"flex",alignItems:"center","& > div":{position:"relative"}},editAmount:{width:"100%",margin:"12px auto 10px",display:"flex",alignItems:"flex-end","& > div":{width:"100%"},"& span":{marginLeft:"4px",fontSize:"16px"}},amount_error:{position:"absolute",bottom:"10px",textAlign:"center",background:"#00000014",padding:"10px",borderRadius:"5px"},error_msg:{textAlign:"center",background:"#ee010119",padding:"10px",borderRadius:"5px",color:"red"},shift_label:{fontSize:"14px",marginLeft:"5px",marginTop:"20px",marginBottom:"2px",fontWeight:600},shift_input:{background:"#ffffff",padding:"10px",borderRadius:"5px",fontSize:"14px",border:"1px solid #b3b3b3",wordBreak:"break-all",flexGrow:1,position:"relative"},copy_btn:{background:"#ffffff",padding:"10px",borderRadius:"5px",border:"1px solid #b3b3b3",marginLeft:"5px",display:"flex",alignItems:"center",cursor:"pointer",alignSelf:"stretch",transition:"all ease-in-out 200ms","&:hover":{background:"#f1f1f1"},"& img":{width:"15px"}},shift_complete:{display:"flex",alignItems:"center",height:"100%",flex:"1",width:"100%",fontSize:"18px"}})(),F=e=>{let t=e.toLowerCase();return t.includes(".")?"btc":"bitcoin"===t?"harrypotterobamasonic10inu":t};return Vo.createElement(Ds,{component:"div",className:j.sideshift_ctn},u?Vo.createElement(Vo.Fragment,null,Vo.createElement("p",{className:j.error_msg},"Error: ",u.errorMessage),Vo.createElement("div",{className:j.back_link,onClick:I},"Back")):Vo.createElement(Vo.Fragment,null,o?a?Vo.createElement("div",{className:j.shift_complete},"Shift Completed!"):Vo.createElement("div",{className:j.shift_ready},Vo.createElement("h4",null,"Shift Ready!"),Vo.createElement("span",{className:j.shift_label},"Send"),Vo.createElement("div",{className:j.copy_ctn},Vo.createElement("div",{className:j.shift_input},Vo.createElement("span",{id:"shift_amount"},o.depositAmount)," ",o.depositCoin),Vo.createElement("div",{className:j.copy_btn,onClick:()=>U("shift_amount")},Vo.createElement("img",{src:Zk,alt:"Copy"}))),Vo.createElement("span",{className:j.shift_label},"To"),Vo.createElement("div",{className:j.copy_ctn},Vo.createElement("div",{id:"to_address",className:j.shift_input},o.depositAddress),Vo.createElement("div",{className:j.copy_btn,onClick:()=>U("to_address")},Vo.createElement("img",{src:Zk,alt:"Copy"}))),Vo.createElement("span",{className:j.shift_label},"Network"),Vo.createElement("div",{className:j.shift_input},T),Vo.createElement("span",{className:j.shift_label},"SideShift ID"),Vo.createElement("div",{className:j.copy_ctn},Vo.createElement("div",{id:"sideshift_id",className:j.shift_input},o.id),Vo.createElement("div",{className:j.copy_btn,onClick:()=>U("sideshift_id")},Vo.createElement("img",{src:Zk,alt:"Copy"})))):d?Vo.createElement("p",null,"Loading Shift..."):h?Vo.createElement(Vo.Fragment,null,Vo.createElement("p",null," ","1 ",null==B?void 0:B.name," ~="," ",qk(h.rate).toFixed(uS[h.settleCoin])," ",h.settleCoin," "),m?Vo.createElement(Iu,{container:!0,spacing:2,alignItems:"center",justifyContent:"center",style:{margin:"6px auto",width:"100%"}},Vo.createElement(Iu,{item:!0},Vo.createElement(Ul,{label:"Amount",value:null!=D?D:0,onChange:e=>{let t=e.target.value;if(""===t&&(t="0"),N(t),void 0!==h){const e=+h.rate*+t;Object.keys(uS).includes(h.settleCoin)&&b(e.toFixed(uS[h.settleCoin]))}},inputProps:{maxLength:E,type:"number",pattern:"[0-9]*",inputMode:"numeric"}}))):null,Vo.createElement("div",null),Vo.createElement("div",{style:f||void 0===T||m&&!D||!x||!k?{opacity:"0.5",cursor:"not-allowed"}:{}},Vo.createElement(nS,{text:"Send "+(null==B?void 0:B.name),hoverText:"Send "+(null==B?void 0:B.name),onClick:()=>{void 0!==n&&void 0!==B&&(A(!0),n.emit("create-altpayment-quote",{depositAmount:M,settleCoin:y,depositCoin:null==B?void 0:B.coin,depositNetwork:T,settleAddress:_}))},disabled:f||void 0===T||m&&!D||!x||!k,animation:g})),!x&&Vo.createElement("p",{className:j.amount_error},"Amount is below minimum."),!k&&Vo.createElement("p",{className:j.amount_error},"Amount is above maximum.")):Vo.createElement(Vo.Fragment,null,0===c.length&&Vo.createElement("div",null,"Loading..."),c.length>0&&Vo.createElement(Vo.Fragment,null,Vo.createElement("div",{className:j.header},"Swap coins with",Vo.createElement("a",{href:"https://sideshift.ai",target:"_blank"},Vo.createElement("img",{src:"data:image/png;base64,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",alt:"SideShift"}))),Vo.createElement(ku,null,Vo.createElement(Vu,{id:"select-coin-label"},"Select a coin"),Vo.createElement(Dl,{labelId:"select-coin-label",className:j.select_box,value:null!=(t=null==B?void 0:B.coin)?t:null,onChange:e=>{(async e=>{const t=e.target.value,n=c.find((e=>e.coin===t));L(null==n?void 0:n.networks[0]),O(n)})(e)}},c.map((e=>Vo.createElement(vl,{key:e.coin,value:e.coin},Vo.createElement("div",{className:j.option_outer_ctn},Vo.createElement("img",{className:j.list_icon,src:`https://sideshift.ai/coin-icons/${F(e.coin)}.svg`}),Vo.createElement("div",{className:j.option_ctn},Vo.createElement("span",{className:j.coin},e.coin),Vo.createElement("span",{className:j.coin_name},e.name)))))))),Vo.createElement("div",{className:j.spacer}),B&&B.networks.length>1&&Vo.createElement(Vo.Fragment,null,Vo.createElement(ku,null,Vo.createElement(Vu,{id:"select-network-label"},"Select a network"),Vo.createElement(Dl,{labelId:"select-network-label",className:j.select_box,value:null!=T?T:null,onChange:e=>{(async e=>{L(e.target.value)})(e)}},B.networks.map((e=>Vo.createElement(vl,{key:e,value:e},Vo.createElement("div",{className:j.option_outer_ctn},Vo.createElement("div",{className:j.option_ctn},Vo.createElement("span",{className:j.coin},e.charAt(0).toUpperCase()+e.slice(1))))))))))),Vo.createElement("div",{className:j.spacer}),f||void 0===B||void 0===T?null:Vo.createElement(nS,{text:"Send with SideShift",hoverText:"Send with SideShift",onClick:()=>{w(!0),(()=>{if(void 0!==B){const e=`${B.coin}-${null==B?void 0:B.networks[0]}`,t="XEC"===y?"ecash-mainnet":"bitcoincash-mainnet";void 0!==n&&n.emit("get-altpayment-rate",{from:e,to:t})}})()},disabled:f||void 0===B||void 0===T,animation:g}),Vo.createElement("div",{className:j.back_link,onClick:()=>{r(!1)}},"Back")),h&&!d&&Vo.createElement("div",{className:j.back_link,onClick:I},"Back")))},Gk=Xi({root:{minWidth:"240px !important",background:"#f5f5f7 !important",position:"relative"},qrCode:({success:e,loading:t,theme:n})=>({background:"#fff !important",border:"1px solid #eee !important",borderRadius:"4px !important",outline:"none !important",lineHeight:"0 !important",maxWidth:"28vh !important",maxHeight:"28vh !important",position:"relative",padding:"1rem !important",cursor:"pointer !important",userSelect:"none","&:active":{borderWidth:"2px !important",margin:"-1px !important"},"& path":{opacity:t?0:e?.35:1,color:n.palette.secondary},"& image":{opacity:t?0:1}}),copyTextContainer:({loading:e})=>({display:e?"none":"block",background:"#ffffffcc !important",padding:"0 0.15rem 0.15rem 0 !important"}),copyText:({theme:e})=>({lineHeight:"1.2em !important",fontSize:"0.7em !important",color:e.palette.tertiary+" !important",textShadow:"#fff -2px 0 1px, #fff 0 -2px 1px, #fff 0 2px 1px, #fff 2px 0 1px !important","&:disabled span":{filter:"blur(2px)",color:"rgba(0, 0, 0, 0.5)"}}),text:({theme:e})=>({fontSize:"0.9rem !important",color:e.palette.tertiary+" !important"}),spinner:({theme:e})=>({color:e.palette.primary+" !important"}),footer:()=>({fontSize:"0.6rem !important",color:"#a8a8a8 !important",fontWeight:"normal",userSelect:"none"}),sideShiftLink:({theme:e})=>({fontSize:"14px",cursor:"pointer",padding:"6px 12px",marginTop:"20px",background:"#e9e9e9",borderRadius:"5px",transition:"all ease-in-out 200ms",opacity:0,"&:hover":{background:""+e.palette.primary,color:""+e.palette.secondary}}),animate_sideshift:({success:e})=>({animation:e?"button-slide-out 0.4s ease-in-out forwards":"button-slide 0.6s ease-in-out forwards",animationDelay:e?"0":"0.5s"}),hide_sideshift:{display:"none"},editAmount:{width:"100%",margin:"12px auto 10px",display:"flex",alignItems:"flex-end","& > div":{width:"100%"},"& span":{marginLeft:"4px",fontSize:"16px"}},error:()=>({fontSize:"0.9rem !important",color:"#EB3B3B !important"}),"@global":{"@keyframes reveal-qr":{from:{clipPath:"circle(0% at 50% 50%)",transform:"rotate(-10deg)"},to:{clipPath:"circle(100% at 50% 50%)",transform:"rotate(0deg)"}},"@keyframes fade-scale":{from:{opacity:0,transform:"scale(0.3)"},"80%":{opacity:1,transform:"scale(1.3)"},to:{opacity:1,transform:"scale(1)"}},"@keyframes button-slide":{from:{opacity:0,transform:"translateY(20px)"},to:{opacity:1,transform:"translateY(0px)"}},"@keyframes button-slide-out":{from:{opacity:1,transform:"translateY(0px)"},to:{opacity:0,transform:"translateY(20px)"}},"@keyframes copy-qr":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(1.1)"},"100%":{transform:"scale(1)"}},"@keyframes copy-svg":{"0%":{opacity:1},"50%":{opacity:0},"100%":{opacity:1}},"@keyframes copy-icon":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.7)"},"100%":{transform:"scale(1)"}},"@keyframes success-qr":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.7)"},"100%":{transform:"scale(1)"}},"@keyframes success-icon":{"0%":{transform:"rotate(0deg)"},"20%":{transform:"rotate(-10deg)"},"60%":{transform:"rotate(370deg)"},"100%":{transform:"rotate(360deg)"}}},qrAnimations:({success:e,loading:t,recentlyCopied:n,copied:r})=>({animation:e?"success-qr 0.4s ease-in-out forwards":n?"copy-qr 0.3s ease-in-out forwards":t||r?"none":"reveal-qr 0.8s ease-in-out forwards","& svg":{animation:n?"copy-svg 0.3s ease-in-out forwards":"none"},"& image":{animation:e?"success-icon 1s ease-in-out forwards":n?"copy-icon 0.3s ease-in-out forwards":t||r?"none":"fade-scale 0.6s ease-in-out forwards",transformOrigin:"center center"}}),button_container:{opacity:0,animation:"button-slide 0.6s ease-in-out forwards",animationDelay:"0.4s"}}),Xk=e=>{var t;const{to:n,foot:r,success:o,paymentId:i,successText:a,disablePaymentId:s,goalAmount:u,ButtonComponent:l=nS,currency:c=iS(n),animation:f,randomSatoshis:d=!1,editable:h,setNewTxs:p,newTxs:m,apiBaseUrl:g,usdPrice:y,wsBaseUrl:v,hoverText:b=nS.defaultProps.hoverText,setAltpaymentShift:w,altpaymentShift:A,useAltpayment:_,setUseAltpayment:E,shiftCompleted:S,setShiftCompleted:x,disableAltpayment:R,contributionOffset:k}=Object.assign({},Xk.defaultProps,e),[C,B]=zr.useState(!0),[O,T]=zr.useState(!1),[L,M]=zr.useState(!1),[P,D]=zr.useState(void 0),[N,I]=zr.useState(!1),[U,j]=zr.useState(""),[F,z]=zr.useState(""),[q,W]=zr.useState(0),[H,V]=zr.useState(void 0),[Z,K]=zr.useState(iS(n)),G=null!=(t=e.price)?t:0,[X,Y]=zr.useState(""),[J,Q]=zr.useState(),[$,ee]=zr.useState("Send any amount of "+Z),[te,ne]=zr.useState("Send Payment"),[re,oe]=zr.useState(),[ie,ae]=zr.useState(void 0),[se,ue]=zr.useState([]),[le,ce]=zr.useState(!1),[fe,de]=zr.useState(),[he,pe]=zr.useState(!1),[me,ge]=zr.useState(void 0),[ye,ve]=zr.useState(!1),[be,we]=zr.useState(null),Ae=$E(e.theme,oS(n)),_e=Gk({success:o,loading:C,theme:Ae,recentlyCopied:L,copied:O}),[Ee,Se]=zr.useState(e.amount),[xe,Re]=zr.useState(void 0!==e.price&&e.price>0),[ke,Ce]=zr.useState(e.currencyObject),Be=Uk(N)?{filter:"blur(5px)"}:{},Oe=zr.useMemo((()=>{var e;const t=null!=(e=Ae.palette.logo)?e:Ae.palette.primary;return`data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 34 34' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(1,1)'%3E%3Ccircle cx='16' cy='16' r='17' fill='%23fff' stroke-width='1.0625'/%3E%3C/g%3E%3Cg transform='translate(1,1)' fill-rule='evenodd'%3E%3Ccircle cx='16' cy='16' r='16' fill='${window.encodeURIComponent(t)}'/%3E%3Cpath d='m21.207 10.534c-0.776-1.972-2.722-2.15-4.988-1.71l-0.807-2.813-1.712 0.491 0.786 2.74c-0.45 0.128-0.908 0.27-1.363 0.41l-0.79-2.758-1.711 0.49 0.805 2.813c-0.368 0.114-0.73 0.226-1.085 0.328l-3e-3 -0.01-2.362 0.677 0.525 1.83s1.258-0.388 1.243-0.358c0.694-0.199 1.035 0.139 1.2 0.468l0.92 3.204c0.047-0.013 0.11-0.029 0.184-0.04l-0.181 0.052 1.287 4.49c0.032 0.227 4e-3 0.612-0.48 0.752 0.027 0.013-1.246 0.356-1.246 0.356l0.247 2.143 2.228-0.64c0.415-0.117 0.825-0.227 1.226-0.34l0.817 2.845 1.71-0.49-0.807-2.815a65.74 65.74 0 0 0 1.372-0.38l0.802 2.803 1.713-0.491-0.814-2.84c2.831-0.991 4.638-2.294 4.113-5.07-0.422-2.234-1.724-2.912-3.471-2.836 0.848-0.79 1.213-1.858 0.642-3.3zm-0.65 6.77c0.61 2.127-3.1 2.929-4.26 3.263l-1.081-3.77c1.16-0.333 4.704-1.71 5.34 0.508zm-2.322-5.09c0.554 1.935-2.547 2.58-3.514 2.857l-0.98-3.419c0.966-0.277 3.915-1.455 4.494 0.563z' fill='%23fff' fill-rule='nonzero'/%3E%3C/g%3E%3C/svg%3E%0A`}),[Ae]),Te=zr.useMemo((()=>{var e;const t=null!=(e=Ae.palette.logo)?e:Ae.palette.primary;return`data:image/svg+xml,%3Csvg version='1.1' viewBox='1.65 1.65 20.65 20.65' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z' fill='${window.encodeURIComponent(t)}' stroke='%23fff' stroke-width='.6'/%3E%3Cpath d='m7.2979 14.697-2.6964-2.6966 0.89292-0.8934c0.49111-0.49137 0.90364-0.88958 0.91675-0.88491 0.013104 0.0047 0.71923 0.69866 1.5692 1.5422 0.84994 0.84354 1.6548 1.6397 1.7886 1.7692l0.24322 0.23547 7.5834-7.5832 1.8033 1.8033-9.4045 9.4045z' fill='%23fff' stroke-width='.033708'/%3E%3C/svg%3E%0A`}),[Ae]);zr.useEffect((()=>{if(!L)return;const e=setTimeout((()=>{M(!1)}),1e3);return()=>clearTimeout(e)}),[L]),zr.useEffect((()=>{Re(void 0!==G&&G>0)}),[G]),zr.useEffect((()=>((async()=>{await(async()=>{(async(e,t="https://paybutton.org")=>{(await fetch(`${t}/address/transactions/${e}`)).json()})(n,g),void 0!==H&&H.disconnect();const e=qE((null!=v?v:"https://socket.paybutton.org")+"/addresses",{forceNew:!0,query:{addresses:[n],dummy:"hehe"}});V(e),((e,t)=>{e.on("incoming-txs",(e=>{const n=e.txs.filter((e=>!1===e.confirmed));"NewTx"===e.messageType&&0!==n.length&&t(n)}))})(e,p)})(),_?await(async()=>{void 0!==ie&&ie.disconnect();const e=qE((null!=v?v:"https://socket.paybutton.org")+"/altpayment",{forceNew:!0});var t;ae(e),(t={addressType:Z,socket:e,setCoins:ue,setCoinPair:de,setLoadingPair:ce,setAltpaymentShift:w,setLoadingShift:pe,setAltpaymentError:ge}).socket.on("send-altpayment-coins-info",(e=>{t.setCoins(e.filter((e=>e.coin!==t.addressType)))})),t.socket.on("shift-creation-error",(e=>{t.setAltpaymentError(e),t.setLoadingShift(!1)})),t.socket.on("quote-creation-error",(e=>{t.setAltpaymentError(e),t.setLoadingShift(!1)})),t.socket.on("shift-created",(e=>{t.setAltpaymentShift(e),t.setLoadingShift(!1)})),t.socket.on("send-altpayment-rate",(e=>{t.setCoinPair(e),t.setLoadingPair(!1)}))})():ie&&ie.disconnect()})(),()=>{void 0!==H&&H.disconnect(),void 0!==ie&&ie.disconnect()})),[n,_]),zr.useEffect((()=>{null!=Ee&&0!==Ee||ve(!0),Uk(h)&&ve(!0)}),[]),zr.useEffect((()=>{(async()=>{const e=await(async(e,t="https://paybutton.org")=>{try{const n=await Lv.get(`${t}/address/balance/${e}`);return isNaN(n.data)?null:n.data}catch(e){return}})(n,g);D(e),B(!1)})()}),[m]),zr.useEffect((()=>{const t=void 0!==Ee&&Ee&&isNaN(+Ee);rS(n)||oS(n)?(I(Uk(e.disabled)),j("")):t?(I(!0),j("Amount should be a number")):(I(!0),j("Invalid Recipient")),y&&Ee&&we(y*+Ee>=10)}),[n,Ee,y]),zr.useEffect((()=>{const t=void 0!==Ee&&Ee&&isNaN(+Ee),r="string"==typeof Ee&&Ee.startsWith("-");let o;if(t?(I(!0),j("Amount should be a number")):r?(I(!0),j("Amount should be positive")):rS(n)||oS(n)?j(""):j("Invalid Recipient"),void 0!==J&&Ee&&Z){const t=Wk(+Ee,c,!1);Ce(t),e.setCurrencyObject&&e.setCurrencyObject(t)}else if(Ee&&Z){o=+Ee;const t=Wk(o,c,d);Ce(t),e.setCurrencyObject&&e.setCurrencyObject(t)}}),[Ee,c,J]),zr.useEffect((()=>{if(void 0===n)return;let e;const t=iS(n);if(K(t),ne(`Send with ${t} wallet`),ke&&xe){const n=ke.float/G,o=G?Wk(n,t,d):null;var r;o&&(ee(`Send ${ke.string} ${ke.currency} = ${o.string} ${t}`),e=Me(t,o.float),Y(null!=(r=e)?r:""))}else{var o;const n=void 0!==(null==ke?void 0:ke.float)&&ke.float>0;if(!cS(c)&&ke&&n){const t=ke.currency;ee(`Send ${ke.string} ${t}`),e=Me(t,null==ke?void 0:ke.float)}else ee("Send any amount of "+t),e=Me(t);Y(null!=(o=e)?o:"")}}),[n,ke,G,Ee,re,xe]),zr.useEffect((()=>{try{oe(function({opReturn:e,disablePaymentId:t,paymentId:n}){var r;void 0===e&&(e="");const o=function(e,t=!1){const n=new Blob([e]).size,r=213-(t?0:8);if(n>r)throw new Error(`Maximum ${r} byte size exceeded for user data: ${n}`);const o=n.toString(16).padStart(2,"0");return n>75?"4c"+o:o}(e,t);(void 0===n||t)&&(n="");const i=function(e){if(e.length%2!=0)throw new Error("Malformed input; paymentId hex should never be of odd length");const t=e.length/2;if(t>75)throw new Error("Maximum 75 byte size exceeded for paymentId: "+t);return`${t.toString(16).padStart(2,"0")}${e}`}(null!=(r=n)?r:"");return"045041590000"+o+function(e){const t=(new TextEncoder).encode(e);return Array.from(t).map((e=>e.toString(16).padStart(2,"0"))).join("")}(e)+i}({opReturn:e.opReturn,paymentId:i,disablePaymentId:null!=s&&s}))}catch(e){console.error(e),j(e.message),I(!0)}}),[e.opReturn,i,s]),zr.useEffect((()=>{Se(e.amount)}),[e.amount]),zr.useEffect((()=>{if(void 0!==P){const e=Wk(P,c,!1),t=Wk(Ne,c,!1);if(cS(c)){if(xe){const e=P*G,t=`${Ik(e,c,uS.FIAT)} / ${Ik(Ne,c,uS.FIAT)}`,n=e/Ne*100;B(!1),W(n),z(t)}}else if(void 0!==t){let n=e.float;void 0!==k&&(n=Number(n)+Number(k)),W(100*n/t.float),z(`${n} / ${Ne}`),B(!1)}Ie&&void 0!==t.float&&t.float<=0&&(I(!0),j("Goal Value must be a number"))}}),[P,c,u,G,xe,k]);const Le=zr.useCallback((()=>{N||void 0===n||X&&hA(X)&&(T(!0),M(!0))}),[N,n,X,hA,T,M]),Me=zr.useCallback(((e,t)=>{if(N||!n)return;const r=lS[e.toLowerCase()];if(!r)return;let o=`${r}:${n.replace(/^.*:/,"")}`;if(t&&(o+="?amount="+t),re){const e=o.includes("?")?"&":"?";o+=`${e}op_return_raw=${re}`}return o}),[N,n,c,re]),Pe={renderAs:"svg",size:300,level:"H",value:X,fgColor:Ae.palette.tertiary,imageSettings:{src:o?Te:rS(n)?Oe:"data:image/svg+xml;charset=UTF-8,%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' width='576px' height='576px' viewBox='0 0 576 576' enable-background='new 0 0 576 576' xml:space='preserve'%3e%3cg transform='translate(1,1)'%3e%3ccircle fill='%23FFFFFF' cx='287' cy='287' r='288'/%3e%3c/g%3e%3cpath fill='%23FFFFFF' d='M325.089,228.325l-67.15,38.668c-1.734,0.995-2.794,2.85-2.773,4.849v32.443 c-0.019,1.954,1.05,3.757,2.773,4.681l28.122,16.22c1.635,1.039,3.723,1.039,5.359,0l116.046-66.833 c19.694-11.393,19.694-44.216,0-55.609l-104.294-60.057c-8.867-5.357-19.975-5.357-28.842,0l-104.294,60.078 c-9.056,5.074-14.637,14.671-14.569,25.052c0,40.235,0.17,80.28,0,120.325c-0.085,10.362,5.461,19.954,14.485,25.052l104.294,60.247 c8.914,5.188,19.928,5.188,28.843,0l104.378-60.247c9.017-5.085,14.521-14.702,14.337-25.052v-52.306l-124.136,71.83 c-5.537,3.283-12.423,3.283-17.959,0l-55.439-32.124c-5.612-3.147-9.056-9.11-8.979-15.545V255.96 c-0.028-6.327,3.322-12.188,8.788-15.374c18.487-10.716,37.122-21.409,55.609-32.125c5.542-3.262,12.416-3.262,17.958,0 l27.53,15.713c1.13,0.727,1.459,2.233,0.732,3.365C325.7,227.862,325.42,228.131,325.089,228.325z'/%3e%3cpath fill='%230074C2' d='M288.878,16.941C139.176,16.941,17.819,138.298,17.819,288c0,149.701,121.357,271.059,271.059,271.059 c149.701,0,271.059-121.357,271.059-271.059C559.937,138.298,438.579,16.941,288.878,16.941z M325.089,224.174l-27.529-15.713 c-5.541-3.262-12.415-3.262-17.957,0c-18.487,10.715-37.122,21.409-55.609,32.125c-5.466,3.186-8.816,9.047-8.788,15.374v64.037 c-0.078,6.435,3.366,12.397,8.979,15.545l55.418,32.124c5.536,3.283,12.422,3.283,17.957,0l124.138-71.83v52.306 c0.204,10.327-5.257,19.938-14.231,25.052L303.193,433.44c-8.915,5.188-19.928,5.188-28.843,0l-104.315-60.247 c-9.056-5.075-14.637-14.671-14.569-25.052c0.17-40.045,0-80.111,0-120.325c-0.085-10.363,5.461-19.956,14.485-25.052 l104.294-60.078c8.868-5.357,19.975-5.357,28.843,0l104.378,60.078c19.694,11.393,19.694,44.217,0,55.609L291.42,325.186 c-1.636,1.039-3.724,1.039-5.359,0l-28.122-16.22c-1.724-0.924-2.792-2.727-2.773-4.681v-32.443 c-0.021-1.999,1.04-3.854,2.773-4.849l67.15-38.668c1.146-0.705,1.506-2.204,0.802-3.35 C325.689,224.649,325.416,224.375,325.089,224.174z'/%3e%3c/svg%3e",excavate:!1,height:112,width:112}},De=Vo.createElement("div",{className:_e.qrAnimations},Vo.createElement(w_,Object.assign({},Pe,{style:WE({flex:1,width:"100%",height:"auto"},Be)})));let Ne;u&&(Ne=+u);const Ie=void 0!==u,Ue=t=>{Se(t),e.setAmount&&e.setAmount(t)};return Vo.createElement(JE,{value:Ae},Vo.createElement(Ls,{className:_e.root,pt:0,display:"flex",flexDirection:"column",alignItems:"center"},Vo.createElement(Ls,{flex:"shrink",alignSelf:"stretch",style:{background:"#fff"},py:1,textAlign:"center"},Vo.createElement(Ds,{className:U?_e.error:_e.text},U||(N?"Not yet ready for payment":C?"Loading...":o?a:$))),Vo.createElement(Ls,{display:"flex",flexDirection:"column",alignItems:"center",px:3,pt:2,position:"relative"},_&&Vo.createElement(Kk,{altpaymentSocket:ie,thisAmount:Ee,updateAmount:Ue,setUseAltpayment:E,altpaymentShift:A,setAltpaymentShift:w,shiftCompleted:S,setShiftCompleted:x,altpaymentError:me,setAltpaymentError:ge,coins:se,loadingPair:le,setLoadingPair:ce,loadingShift:he,setLoadingShift:pe,coinPair:fe,setCoinPair:de,altpaymentEditable:ye,animation:f,addressType:Z,to:n}),Vo.createElement(Vo.Fragment,null,C&&Ie?Vo.createElement(Ds,{className:_e.text,style:{margin:"10px auto 20px"}},Vo.createElement(Ws,{size:15,thickness:4,className:_e.spinner})):Vo.createElement(Vo.Fragment,null,Ie&&Vo.createElement(Vo.Fragment,null,Vo.createElement(Ds,{className:_e.copyText,style:WE({marginBottom:"0.61rem"},Be)},F,Vo.createElement("strong",null," ",c)),Vo.createElement(Vk,{color:Ae.palette.primary,value:Math.round(q),disabled:N}))),Vo.createElement(Ls,{flex:1,position:"relative",className:_e.qrCode,onClick:Le},Vo.createElement(Cs,{in:!C&&""!==X},Vo.createElement(Vo.Fragment,null,De,Vo.createElement(Ls,{position:"absolute",bottom:0,right:0},Vo.createElement(Cs,{appear:!1,in:!O||L,timeout:{enter:0,exit:2e3}},Vo.createElement(Ls,{className:_e.copyTextContainer},!Uk(N)&&Vo.createElement(Ds,{className:_e.copyText},O?"Payment copied!":"Click to copy")))))),C&&Vo.createElement(Ls,{position:"absolute",top:0,bottom:0,left:0,right:0,display:"flex",justifyContent:"center",alignItems:"center"},Vo.createElement(Ws,{size:70,thickness:4,className:_e.spinner}))),Uk(h)&&Vo.createElement("div",{className:_e.editAmount},Vo.createElement(Ul,{label:"Edit amount",value:Ee||0,onChange:e=>{let t=e.target.value;""===t&&(t="0");const n=Wk(+t,c,!1);Q(n),Ue(t)},inputProps:{maxlength:"12"},name:"Amount",placeholder:"Enter Amount",id:"userEditedAmount"}),Vo.createElement(Ds,{component:"span"},c)),o||Vo.createElement(Ls,{pt:2,flex:1,className:_e.button_container},Vo.createElement(l,{text:te,hoverText:b,onClick:()=>{if("XEC"===Z){if((()=>{const e=window;return!(!window||!e.bitcoinAbc||"cashtab"!==e.bitcoinAbc)})())return window.postMessage({type:"FROM_PAGE",text:"Cashtab",txInfo:{bip21:X}},"*");window.open("https://cashtab.com/#/send?bip21="+X,"_blank")}else window.location.href=X},disabled:Uk(N),animation:f})),!Uk(R)&&Vo.createElement(Ds,{component:"div",className:`${_e.sideShiftLink} ${be||ye?_e.animate_sideshift:_e.hide_sideshift}`,onClick:be||ye?()=>{E&&E(!0)}:void 0,style:{cursor:be||ye?"pointer":"default"}},"Don't have any ",Z,"?")),r&&Vo.createElement(Ls,{pt:2,flex:1},r),Vo.createElement(Ls,{py:.8},Vo.createElement(Ds,{className:_e.footer},"Powered by PayButton.org")))))};Xk.defaultProps={success:!1,successText:"Thank you!",editable:!1};const Yk=["to","opReturn","disablePaymentId","paymentId","amount","setAmount","setCurrencyObj","currencyObj","currency","cryptoAmount","price","animation","randomSatoshis","hideToasts","sound","onSuccess","onTransaction","goalAmount","disabled","editable","wsBaseUrl","apiBaseUrl","successText","hoverText","disableAltpayment","contributionOffset"],Jk={variant:"success",autoHideDuration:8e3,anchorOrigin:{vertical:"bottom",horizontal:"center"}},Qk=($k=e=>{let{to:t,opReturn:n,disablePaymentId:r,paymentId:o,amount:i,setAmount:a,setCurrencyObj:s,currencyObj:u,currency:l="",cryptoAmount:c,price:f,animation:d,randomSatoshis:h=!1,hideToasts:p=!1,sound:m=!0,onSuccess:g,onTransaction:y,goalAmount:v,disabled:b,editable:w,wsBaseUrl:A,apiBaseUrl:_,successText:E,hoverText:S,disableAltpayment:x,contributionOffset:R}=e,k=HE(e,Yk);const[C,B]=zr.useState(),[O,T]=zr.useState(0),[L,M]=zr.useState(0);zr.useEffect((()=>{if(void 0!==o&&""!==o||r)B(o);else{const e=jk(8);B(e)}}),[o,r]);const[P,D]=zr.useState(!1),{enqueueSnackbar:N}=zr.useContext(xw),[I,U]=zr.useState(),[j,F]=zr.useState(!1),[z,q]=zr.useState(),[W,H]=zr.useState(!1),V=new Hk,Z=iS(t);var K;(!cS(K=l)&&!fS(K)||fS(l)&&Z!==l)&&(l=Z);const G=zr.useMemo((()=>new Audio("data:audio/mpeg;base64,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Xh5BHbR/jf8wfQketDz1Y0w7PRsd/yoQN/+PC8eMucroeh1zFYz//nJ6/b//b+v7nB//7v/d3eLqcAh4hnUHbZ/Irf7EmjRO//OEZA8M9gVtjjRqxRAUCs8cOA/A1k08el8x1TjG67+tNCoa/+trBOgyD1OrKFFi6xmjMvxj/pbdlI7D7r//nm0KrcCR7flF6Jpv7GvtQmIgowhXq2aav9VtY44znP9v0t/b/Q0Uf/////USws0AV3VlgLeo6IO/849TTB9VuaPGbsc89f+J//5Uujp/K2Nr//5rV/2//6//c5QJEv///2////+3/v////0/miQdkA3N2rcB95VWAZ/qIpRDihQZ//OEZBINWgVfjx2qgg98DsMcKA/gMi80yRQ1VLIh6+zp4KJ+39QxAXClLqhy2H05mZ1ZW62NPV1OkSOaprf+jMc+L2VWm6ORPsnPOT//YG8Tf//9UPMLmmtNt2vfzyX00Jf6OMB6n/////qDohWAOqqqmELCBOO/0Gns0zn3UordrTfW+En//Q6f9jNX+v///+v7//3Chn///XR/////b/on///R7ffx4FwloqAO39vEA3/64ALf/+oZnlGE44Tj//N0ZBQNXgVfjy2qgg5MCrsYOA/ghiUJGrTBOTBpgm7r9VQN33/oBICoWS/NfcjaiXRvO5xrHOhzduia7FDWNIFGpejHPvPLsdV9UWm/880mCSBayLRW6N/mnTbl2bM69vX//+53/////4Ou4BlzLwAAasO/3Hzh405Lzpt/SbX/jX///+ces06qf52///+vr//MCwx///////r/2/6G//////lEoM3b//OEZAMNigVXjzTQKg2sCrsYKA/EupUDL5HQARPvl4EAgXeuTJ5glzcjZK3Lr2VrANn57qvQEpCfSfdakWrZzSrUv9al3pLprdCgh+3tdlLKS0lsm3lk27p6tP/rrPqD8S+lV0Pt6965itBk23qRe7a7P/V/60//////uJWV2ALmamWADYBn/GOZUIzM0qGKepFNX1TQZ//X/6XtRf+is6r///Cwx////////+3/l//////yjXANvXmUAbeR8Ab3//OEZAsNmgVXj0BNxg40BtL8OA/j+YHiDrWiRxDS92VNk7qRTV/QoADJ7Z/6xERQZCk+uaPTOlwMU6VKjr0mmQryI7V//qhGMD+vYKxk3f/96tFQaRFv9vtrUm52zFw2QRNE1Mi9Z9p90FLnLf//q//////Gkb1AIZtuAExC/Dv9Sr3noi0Q5W2MWp//P//2/9f//////0zm//QTB3///9n//+U/0b/lR7/////8eVVgC6iKlQDnUFAGJ/ppFpjF//OEZBANrgdRj0xNxg6sCrMcOA/gndM49R0+T6J5ndTK70U6YHUBu2adddIPQFSLpeOOyr2KUl1S+sxWTiTihJVGZf/0oZy6ohuVStZjeS3/1ORRf//VrRXT6JJGbsmtJfWy6K5lMm///mv/////5KiuzAFhcxIABMgGDv+PL2OHbMiGmdDVM/8RP/5r/+r9P6X1993///X//HA7///////t/Rv+xb/////7HCxwC8yZogFvkOIFb/xEUadJyJzs//OEZBMNxgVTjzTSKg50Cs78aAvG5oVkNJ8Jp2/7OwE9NOv+gK2ElIGfTTc1QSMjVmQQW7v60LKd2QUs23dX+rR01sr991M7fVv9f6ayGjF//RXmiLrpsmkgo1dVS1s66etUzPP+r/1//////qIwb7AEO22AMdAlCt/rJqSk1KQtUs4yLd0U//X//UTqLqfRUr9f/tq2///cM///////1/0b/of/////9RyAC7yZpgHvceACN/0jNaBgTjUuqQoL//N0RBYKfgVZjzWCsBSkCtL+AhRWN2aymul++Caf/6IzgdooZi6sGRxmS//9FXWan/9vpspfo/v//9ZCv/12bTo7q4IGzfTf3g///9//////wQ4AEvH/oW2sVaZgrI6Rc0OJeqNtStXhZr9cU//qJIOiGEGRERARErEB557KyIc/akzV9kpf/5xrbkbarf//X//xT///+dTX//X//+hv/////4jDtWAP//OERAIKvgVPK0inyhVUCqceHBTs/uAVJVAIT/63TMD5iZVIqOOiqca3/RCoHuv7LkgO4yLqNVFdJ15W//83//y6ftR+///e+tnE0TaZ2++aZ6q0XODGZacqTcbMLt+n/qQ/////+oKOABExESoO3yDAf//9SKttjOjCJ2lS26uwEw96T6VGOwFZATPdJ9DjHdP7U2TOMORP/92SqKiObT/ne7//6jILX/+tlXbVzt9udP6///9H/////+wMEypQ//OUZAEPUgVJjzTUKA3MCt8eKAWmCqd4cwGmbGACE/wMkMRDb5MmumEFBKProP61rSRKQGnDq1m1+ucDHg40hpFDImiZdZgVnU5kirZv3dmWZ3ZJ2r/9k0HeglupJm2Vdl+pkv/9xZg9f/rzhq6zpqgbIkYWzdzCpNk1M6Jo6MwWRiS/1f+tP/////8RQ0UAmYeHAAMBHpAz/YUqV0Y16sdjJMv/6f///yPLv//1////wY3//+211Vv/1wX+n/y//////YG9EAeH+xAaqQwAc/8EhLYcCELf2ooFgyY2/s+ymSF2BuGBdSoEiz1Z8xAJ//OEZCoQSgVBfyjUKo/sCrZeUAviGiAJkSxkamqC0jM4Zsiy7P/RmqdJE6v/+1JFlOmg+pFq20nbZL1f1e6BkJcVv/7zhII5xRqXjQvEwVjV2TNGm55Jz60yUTIEWn/V/60v///1q/1oBg4WxaAW4WgCsIKJAl/zmsp5ZfMV2VLIq/8h//qOCoSDFiYw1HZ///////f//84WGP///+7t/zekzf0/+P//////ER6Ab/fwK3WzuCt/13PKScwMGrI6//OURBMN4gddLzQt1Rf0Co8eLNUoNBTHU7I+q2Jf/+4tRFFwxUigpzRBM0qSVUp/E5zSZcjf/zZoARucYvJDwGuSL7o9FFxxDZV/7KY4jQWkhMCWJAnHtMoIopm8xWbLMyqP5q/6v/Wr/////6hNhQcwCXt3gwDulEIf/SiGU4mA9DDAsSE1URiTX9FSoAGaD1G3X3EFRMjU3ay2dRg9WmGN/qxxiohsw+m/6GS1Fns1jjG55dbM/an/+A9//6N2XNZXb/+ZVv//7f/////iUHIgXOOAAaBQAvL/QTPFIzPJHk1qROlQ3sxdY3UV2b1p//OUZB8SWgc1K1RSxg/8Cs7+UAoGqDrgY2TQ+1KL4oqFjhxExF4ACRBOhubrNT9k02UVd6k+bVUYEMMBGmRf/QoBd3CmRVsnO6bvui+1SF1aKYFIDwNZ/7lpNZHF1ZgZJk6VS+Q0qkTc0rW63QcyPlpE6RdQcMvmn3Sb+1Eq////ZfX9RoTYVV1AHeP+AWNa/KHOt6PPMp1IZTIrt/9f/52////p/1///v9Pp////hbf/9HZrpY0cO2bW21DxF/6f/b/////7jB9QF2tzAcsizYJf+9ZQgQKxNKZKQYW0Nk/QqB7V3/rH8OE2NFMzLqZ//OURCcN9gVRLyhtKxlcCo8eLNUgI8p11P9WmtZmiqtTJv/vqME1J2R6kPd7aHX//6nI3/7VD4bpqWeJE6bEiZGp1JCi90zhgkuTBjomg6o/q/9Ru////69X7ibiiYBTvEOgBTanwP/uApCOY5TkFSRMEHsdGdmb3ZJgEEex/peaAXCAuROa7e09lnt/dTbaqlv91yKaYeQMlKmcxyFu/W3/+YEwTP/2yJnPqxx49QhP3r5rbHoQl2/Vv/b/////8SxNIGubgAChIwAMP+RRCCjj7hH+SE76nXjK9almAkYGHUQLjQOF8VBnTLJxljrA//OEZC0RogU1L0DVKhBcBsZeaA/CwAERAMnCmhUymUtJbIHVPr1LRWs3SoOVDZNH/+pKm7oUFrVQS3379X9dTdaQY2C6yHV/OqTFqHtknSOycJggxASaJtZoxouYqdJJRmQFMPYIk7/t/5t/////6mCIFDsqwH+44C1wk6gDB/0VUe66l/oIqRb/o//zI7Hoktd6ZmpP/+3+6rf+v///9QqX//8vmVMPZ0Xfpv7U/////////1KKgG3+zCl1s7gD//OURAkM5gdXLzUNORbsCr8eaFWOB/7pcGnqo6GICaVVolor9WJL//HwRaJ66NetTnHRd2b0J9klqW/etD/1Las5Wj126LIf//+gmQRt+r9kHJw6sqgg7mBuaHz6kEXrVWi6jonkfjz///t/////9YYyC6AERDvCgbvtPG/+mVmi0SebSh0DZAyRSNy4xot/W6scP/8mBvJKou2pSqUR/hI6RsCnv/0hGyCczaZcq34mb/+fDIOf/2Uo7HKbSRFCqfXzNGlP////////9RJWADujpATqYwAeb/11oLdkqnUbIVm6aaKbelXMwOvjdqyp//OERCEMNgU7L0wqxhdcCrZeCZRyqVzwpIbJFy7LyLOugTCZP+KA3GKWbE//10fYUfAjPfn//coLxr//4pNok1C58ier792mjKC+Nf////////6hiTwD//ehzfV+t/+K3NOqhBk3upz9o+dz0n4N3+nYC4OE5io6XrOPVDjkb7sSEyGoynHESuv/nqdMQ5fRm61/3//0Hgo//fKDcw4+bQ7bq+rPM0ly39W/6N/////+I5eAC/bUG3WvqAy//eLH//OURA0MXgVVL0BqSRXcCrpeUM+GYGgMwggRGRzvZ++mBV//UK4LbGMp5zsRHGH0Yx/0dUrbVamr6/mnyGpiarP6KdQ3///i2W//OsMw/aVJXPNF49Hzsce2quk1yQbxf/////////nhiH8A3//oV32nkf/rVjSIujmyhGYyaHNP9KYXv/6gyH5x7MdfdFpxin/2g2j+VUpTP/2Nsw8jWVV/nL/nf/0FwM//fQnd85D3Y1tuccrc6f/////////nhUPqYG220Ck1s8gRv/aK+rlVKsYk9jMz/s+Bd/qmgIANRKep5j7mq7//3ehzI9HT//N0RC0LOgdVLzRqKxa0CrJeEZRy/7My2d1X/S3+3/56mkv/9sXjY8xztiQuXVs3+ikAZsLIf///zP/////sKodagD//0Kb7T1j//tmjNkejYs5nbFvtz57Pg1f/oDYB4866eYr2RT/1NQo6MqmHHFbr/6qyujqatmfRkt3an//qRB9//ygpuaiGmTo9/3R8wrEkv/t///////9h2kP+0B5CAgzP9q0n//OEZAsPZgc0y0jUKw3MCpZegAtmUED8ge7wRhm1IciQj0XZImQPEHG8t0DO84myZcAw54OYX2TU3rVZq/6DsZGSKTIIpVrUz/opunqrTOsur1aRvf1q//1qHNKv/9SQz4gY8gbux5MxNEydTQSSN09jiDsTRAYzhW/////////m4oQPEzAkkkAAEYNTBh/1PfV6t0EV9//Lf/9enr///+3/////+cf//xrV7sk7t/71LCD/////////0EWqQG22//OURAMLLgVRLzRqLRekCqZeG1Um1Bs1s7grf+quISgwpHgxIGivMxrE+n3Dv/6gjAAjYuYRkTI017f+n5FY3T/+9WulLfrTT6//6BTl//6wZIWJDGzjj1J/+pswnEQ4Vi3////////+HgfwDbb7Ay7Z+Qf//+oRYRuE0UMLUCoVTVpbtvUIv/9YdwXSItPfzD2W6In7Ga3VXfZ9m/Y69TDk1Z9GqZd1qiVf/9BXHP/2oQjrIaqn2Zi3f9FoQxg/////////8wEQnWBbrawDLa9GDM/00i4y0i6TRMLNmTJoonloKU5kbq9SS6wJYe/r//N0ZCYOrgVFL0htxw2LJopeaAvG6hBAYR57/xm83pf8QYkOl9adO/TlImXaum0OkCFVcwZAJUly2fv/5mPMs//0BVISJqtFF1oLOam+s1PskRRCJEMMtn9Xf9aX/////0wYikgI5JAAhAFEQGD/pIWozbqY+noKd6v+Q//5SIB9dBtX///r1f//hwG//6in/v//KkJhn////rUAOS2kAuyLhBQh/2oZ//OURA0L/gUzL1AqxBe0CppeE1Ui51IqMzJJFOiijsv63WUgNGPe821KTqKABIAWw3SdHtVC3sHymAAtkf//yKBAvSYbssvr///qIX//oDofTGtj071e5ttD0JkB8l/////////sDxjAFtuYDm2fsH//mtOe5RCMxqlFF9G4Tv/9AJgUHmvf3N9v+llZpQ6vT+mhyGlSimHTVbVFNJnr2p//qIkl//U5AdHXJCViA5bj4+h+pWnU8gQF8UP//+3/////yAHhokBdttAddtfKGr/vZ0zZaSbLYzPpJJuydl+urGE//WLofxhBMUknNy+Z//N0RCkL6gdPLzQqxRYsDp5eEBQOF01Ud3+TLTK2f9H9WMyGU7v2aSX9P/r8Q6//54ehyrejf91WSGjILtgkif///////p/7giExWABdrAJfrPaP6qkwijFWRHt9fAY//UMwER4Yl2s7NX/0RlRnOkzOa5hz/slEV5CxnS/pb///6BVb/9z4Vy6sYY6qfKHdGmnOjszHoDq/0/+3/////yoZBo9CuNyE//OUZAQO1gk7L0ywx49zIm5egA/gASSOqAyX63tU6bptrWamBsks6eTMk1/qlIDLHzbr1pBbAYR7/iM10t5nO8t1UzoliXV2eliI5yFDCLoTSiIA6KflSyfqbeZjJmzf/N0i6KFGIxqanl1m731mZ/1UpgL9Y5A9N////////qVUQAR0FE2XOQBJHoAZoFigZf/1Ka71qdNqk3qb9dYfA3bq7CfyRdVf9v/q7+2v//X1t//qIj//9Bbmen//zVChL////rIqF6jbiACsgoYMJettWkbFJz6VnNW6SRscoL6TpTIa4GgxGZgxmNFGxYPo//N0ZCoOkgUrL1BNxo7rIo5eaAviGorgGXgBaYV1VU+aGO3/le935OzM1zs8s6GSQS20iulixX16f/1jAn//3MnIovKsyNaG9VJ7v3ZSCYRCXt////2/6nf/aTxZgywUAJJKAI7BKmCJ/9VSlqtUi3oPZX/J//8doc8lDdKgpe7t//216q///6//9A43//QV/r//yUhJv///+ojVOzTlzACsizQVj6vn//OEZAwPHgctL0x0Hg5LJnZemAvgS9kp8QmowsBQOFoY+eEdlkoATPLi3UPS2qNEkhqgCwxHpNLUqimutbt/9FaKLa9Fek2rfWk2zpIIspGl6Eq6Dqtdvf/ODPlt//2SMxRUjqTa03W/dvskpMdBsKCE0dkPf/t/qfZ1///+cG6PLQC226gUah5oGY/69611UlrdSWr/X1DU9v6haCXHlkdd2f///6///+//+oeb//jC////0nDP////FgOEnGAB//OEZAUOSgUnK1B0HA6LHm5emFQ87EJBiD/t3UnRaoCFwAcIJ+M9f1VmAz4BPo+geTGI1EfKjpFR3ADZAUPE4f1M7KOJf/o00nbdfstq9k6dmTqXqXXZnovPvQfTfX/+ZjfNv/16I3la0L39SKP7KmSAamNmi+qr/f/qf////nRdlVgR23QAsTPFAzH/PcID5sY5FJj+Y9AZ6v/QQwmmpT9P//////9v/0////UgLf/8oZ///+uI7v///+KKAZvA//OEZAMORgMky1QtxA3DIoJcmA/GL2ICFCj/7JqOqqT0SLFNdGpadfatlimAYsQ47DdM8MXQLBugiJABiE1BY4QcwqSTR1q1KM1HJtT5soyZoOxAO0jKQybtuuiaKqrq2V7fzonBa3/+cEgpZqzl32/600FmJFYGEef///9P////6hBUsASSRkSQH4DPf/WpFTparJPU+pX96xyv/1kqK6QQjUdCitKy60Vf1f7ev/9ixb//p////qwQjNVgCO2M//OEZAQPAgUvL1EN1A2zIm2ckA+CAT7zVhTIv/6K1rWpSDoJKUy3dTpfUmgTYGbWEmhkhziNIdIBKkQaXkdTd0m16q3+Nkra451lYlfip7tbOnKOK9xzvc/gWlsZHX031P1LKgtJHfv/ukVDagt/Xb/u2tRFMQ3AOR5Nut1f3qb1Vr////50fTdAI8ChHnIMz//VX71I6+v/jI/6+4pQVNi8t2T7enbtt/+mx3/9v///3//8cf///+qhALv///+p//OUZAAO5gciflBtxA5LIm5eoA/gBbABx5iDGTf6tdbWTdaJ12TMEkVOhW9a1F8ZQD7axYFpmg001HR/OMTI7wJdQcjGgkg9S1MarzO7VD7CJA9YLUpZer5eci+lKVmqbSvVJa1Va3RZ//0hImyv/spx8IL13f/+3UbHjoEYXmv///+h//6/+swMSOhAILfgBqOF2wYo/9+qqjl1kVM21f/Gl/+oT0LYfTWgjdd1//////++r//0//8oX////OSChn////oVYFF21Ae/18YMTf9FL3QQPMijpOtFJrorZFSCTF8DTjjds06nZZKALmA2//N0ZCoOYgUxL1BtxA47InW+oBQOwooJIdU3BL+3nG+Vettc6bbRG5CsN/bIex1qWyuyJZqs/ddavsnUViMFrb/1upQ0EZlqdT//Qf2UTEw2g4Ft/7/+r////+swNsAxIwHIIpAFPG/5OVZZ1La6ouKP/1CWB0fENduyVX/9/Xt////b/0///yX//0L6///+QQ2CAfT/1IALdbQXttc6FJr/+pa3rSTc//N0ZBENqgNFL1BqxY1TIl2+oA+ovUlqVRU90EbsUmw93/3UiH7h9UkXaz6CmFVm46H8HNkvU2fN2er3+fDaoRGdPMRJyXG7uqz0Tev5y5AARHXTe2ufMDyhctITP0Rss7npPPGVBR////////+hg+XwDljAOAFoAU8//62Wtq0TRFJvrvrfjJ9XWvuIIjbpV/Wk9bMpbq//5QA8t1/+gz//9/2SJ2oB//OEZAEN8gUkz1Sqxg3zIl0emA/gKpAE5DAQoSP+r7ILP7pstdaVupkluiT4GgwMQp6iYZiUzhdKRAwMQCcFgmRBKtt2OmRKaWf7OhlRNrsZx8nQu71Wq5kYjq8CM2VDW9vqm4dOf/6noFQvOWTO+mdrc1kNsVFylA5////p////5xV4BRAKNg6gDLf//9Ezs/+1a15BOv/OBMQtRXOupJBkr//6T/0t663r/pd//9Rs3//jK////nsCpOqCyyEB//OEZAQN5gMs31BKxo5zJnpeoBXi27XlhST/69XZBKhqrV/6Ci6CL4VXzHRRdZiPoElQhYgJgtBkWrMhKqc2aVzbTMdSOmy5Wa/tU3fRQnZ3cwedaJRNbdUMPWVAGP7W75OYDAbkpxeSmHHlW9p7rITEIolSMPv////////5UwbAA5JYC4KFYArJ//XZ9XW9Z1FbLU1rX0//0RQYkpWNN7ftff///9X/1f/8t//6ilWbX/9ubQqwUIRtAEkkrAE3//OEZAYN0gMtL1Bqxg5zInGemA/i1yQUI/61tUp+1nvUykmXpbreZAbcCVulqOIoGRdAGJhvJuhb7NC7z1/z1ZY1heRG5jmvylueiFPzW5f0COGnbZ+/e5uQAESd76881SBzBcFs1THL2MT9pjzllUKMFcPv///9f////MIoAzMDggkSCuf/9dXof+7anfMv/1jKiHutS96N9FS2u/////6/X7f8oA9n/++pd6//tW/nFcZ////6lQAqwATqEBBi//OEZAgN8gMiz1BtxI4LImGcmA/Gp/9fpqeux7pKSZmRbspFIhoH0cDt1EFZnKZgVzonsDKVwRAyIG56ynoH1znyQi/ImWTsLmWyDE2hAy3NenK1de/Na9v/+rcdb//MtQt12RNG39VFBmZE0SQWpAVSD///////+3586hQCMwNwHwDOf/+/p02/pP1IKk6r/1nA1ggkR7T1I3Rdt6lsq/61btU1v/8qAc3v/5Uvv//v/WKAagWUATn4BTS//+nW//OEZAsOhZMgflFPyg5rJlEeoA+A9aZm7Jq22qWtIyRGeA+tsgyKSI4kGRJk2JYnQ9oDMbAGBQ7T5dopvRNCear+a3zUU9VZrVYsVPm9dbPMNz2St+N7uyJ22bR5x5qCSAEf2ZehhzSofno7qq16UZHu57EVKFTF//6v/8FUwhCAAWVQAGLP/+v7K/6/R5Ct/SoJGoXNjZf1/bX77I3//RtPq3auv//8O//8q///0t1VYmL////+MiAesAUWL/9f//OUZAgPKgMaGlRNxg7bIm2+oBXiS1NUpWgrQoNpZqbB1QNHKgcKVxGqEsDWJskxxi2AZhDgULItxVL6CJ958vkpotGbuxgZC5W3FOdyUrmNpRYYqG1vqAWaq07W7VrW5MCcpn9rq61LaRR1Tn3MlK/VrSezLOqc0A/m93/7f+/r////yoqgDAgAcsEjAMRf/9av+7Jof/NP/1jGiczydGuupa+1V37vVXq6636//p//5QG++3/xf2sr/+yXfMnhgO0gF5AFEj/6129HW/WtbWu7TNzESIDKKfIs6jUSZ1l83JwoDoC8QMEKkLCyHEap//NkZC4OYgEcGlQtxI0rHoJeoBWqaB9rGA5znr1CARERqZtiQ2OpPWbkpSdS3fUVs7sgidosr96lVpCLZ//c7kUhbMite6/ug1SdnTYGkb1////1///9/zMMgAEFFBlAFsYMff/+3oU/9mSrd9P/9Q1BkkTi0dvV9TO//+oU3//lWs9//v7URnBgd////2oR//OUZAEOugMhH1BKxo4bImJemBXgIFJAE43AQph9dXbau79vWtvSd1ImQuwMh6MVM4wc1IakWSPEJgNZMAkeIq60lKay0ci+zE+Y6uiH9mGcit0Nl0bOqvufhnI1Ey7PzDJ56ILwFFT38opV0DEmmErlzkrU/0NU5iznKI7A6G/////////7lio9AAQUMF4cbxAzH//t6k//9XJxv6XYYQtjr9v79v//+v//b//ho//+xUcQ133/6vzqno4eEn////VVlWABKNQAKif+tCvVX261LTQb6EwLIvAQdygfmgxXYwKRuXDUVoBsYAIjhB2N//NkZC0NpZMgf1AqxAzrImGeoBWq0FKvSOPzIH9EZz9IZDJ8AGS5+mzvdh6iuq03397LkACJ73/rd2D0WGY9iy0mIfz7uzuxGYFeJIJr1f6mft/BhEAAGCMARoAx5/////60/kX//WJCHzkQKJrYuGzse9fZ37+6MlxcBOj1/V/Ut72///RxKHEdAcoW/62W//OEZAcOTgMaBVStx4wjIoG+mBQera16PrX7WdR0hglYGMVoOeYPECMxbKRESJjLA0AYArFCwJKJpOcReo1RGr5PZzGclVdJJ3Kil6EpuU1TOYi73htGMiudf/UriLZ/+ucSkUgIIqZNSuh07PoNQOFckAZkf3fV//9v///3K3E4AAChS622AKt7bK+n+vQAwFRK69/pXt9F9P62//2/1/+n/79Qam//8slf/9v6OLhQFaJaABSyQAGIm219erZX//OEZA8NuZMjH1Cqxg3jIlm+oBQcq1af+tBMfAGsrk4t0B70yGpGhFRxAaooFD5IE8t558+s3TR/lKpiLe8XdjFRFSumxm5Tou/BHK9SLm/rKvYXgGGq6LduYcUoMQ+MZpS9T6OyzTKK7HMVhUDv/9f/+EcAABQHdtMgFOr5q0riD/zuYA0Bw8qvd7f3b0bX+27vr/9fTq2j62X//6iY///Qcf/zezrb3KUHKhkATnYAxk3/bf36+6k9Wqmx9hjw//OEZBQOEZMeLlBtxg4DInm+oBQeO7mHeYMmNA8suE0fOlsQgA0vABQYS5MJqToZoxg/5YR/5myWIjZ5k4iOfylNsjPsyPb14B5lLkk5t1VLU5gFxTT3q/soxF5WpFTWpoO1nRrSatZ1w+CK////8CGsAABAdRRagDEns9Eyn/6hiFcRRGF2OkijySEfz6s////0/9X/////6coJbul//kA5+n+072qUqWoH9gBjxv/qf36tbK/ZFSuT+HAMLyW8//OEZBYOBgMcClNxko5zIlW+kBSI9PPzL49KZVWTJMfiwG6TRaVWiy1G7LUropIvs1jqbJqU7U1Iu6/Zffbozi6V0GWUmZ6lqUpXbr1aQw0X9frWtlKHlK9L6/Z3ut6FbiKD1b///9Vf///9ZiZTgEAOALD21AGd/+uv+2lgq3/W04BQNmdX/p9Vdv//2PZ6t3+W9erdv/7fXlQajP/+UY5W6/+nzqReOQDQUkATn4BTC31bardDr9TWvd6nYnwP//N0ZBcOQgUfHlAtxA37IlRekBQcu2G2edZBKkxySwWTAaYG6AgovGifPOtTWMGQ+aIL7iAiMio6aAKSzau+BDZSvmt7LV9dfSTZ0VFYchFH3W+07UTBtSXnlL60lspd7KRpKuGhX////r////zh1gMEw2taCu/74UX+d0AHAcG5AedRs3VdFWZX//3O//3/1b2ZLf//mhp/+nKLf0T/tf6Qrjn////U//OEZAAOEZEeL1Ctxg3zIoX+oBQ+CAAyRsAKXH/+r/q1KopL6qk2UVQP4bHg3Woi9aBsbmg+REAMP2DVBD6Kk0ui1utC+0omJKQxq8x1LXdXb3eikGoiXR4MiO7GVZESv2pLuXAdp2iktqXUpbqIhYp2pr69HWiz6SZ1aDhiKDP/2//y4CgAAWA22gBir+b/+oZgFR8kuxAXSX////+c2n/09OqfdVdv9PfUoIO/+yq7ShPOdN/T02PWjpEdqgfh//OEZAIOEgMYClRtxg2THjw8oBocAGE5/9erW9+vX/suyRwrgbFAgqVBEjDZMwF8TJuK8GBQMjn0CRFFLEy63TPs5eeHJ04v/awgOFDVic4LRjaTnG8iyLnl+U2xBVCa25f+tWoRaP/vvIjXXQ6uvt3RoLOJhBCt7/V//17//X//PGSRAQOgAY8/tWoBtdm51S0EgHgOJF2ffQene600r///vr/+3//b///rGU3//U/////Gc/////xWDoVgBSSM//OEZAYOXgMez1BKxo47IlkemBWgEGKn+jX7e/Vrr9t3UdMydAH2DzZRRVOjpLiR0WeBrHIONkEL6DqSfPEVVddFb5RREctuazMz9O3PuqKtnmgbo5lZ57OrehA6sLwDDzLO7vqp5BQKjsc801Prd3drPOi48KwQf///6f///+RHzQQCgfj7ZAGQ///1f/vTUrjm/6XUK8HGGZSZKjoP79avZPb/f269P6t9/+oKPf/5w7Zv+v/mmHxeXgLmAKJV//OEZAUOpgMYClRtxg2zJpJeoBSq//9ejevVX7NagZFwZ4DV4zGKjMSDIUifJMgpBQagABCwC34mUE1JJs8rvJ/yZf5at20sljOLOr0wX/nT7Zbcv6CySySX/3pormAXFPapvUs4qRC1k0Js7uuujfN2d0Z1M4ovBCX9v/////V+32KzFdAAwAwe442tBi5v/7oN+2//6hPBBIlMfT70W7o9v//Tv/9v/////5QX///L///b+sYjv////i0CpQCq//OEZAQO8gMWClNtlI2LIpX+oBo+k2/66PZXsurd/ut10bcTtF5vbWenFw5caNVjT3LFNfNxJhYvIZ7lrl786RS1q+zd3ZJE7UdboqSZqtVrVVNpUXWvfLrJpqfdeu/aigqZBTmqT2+yTO0mEfZmX/XptsqgswQE3BlU73V//1+ur/9f/7mBVCwAAm4//wCqH+3+vuLUVzSg//1qUn3//9tv9fX6uvvr9X/V9SxKv/6nplu+6v16u6d3Ozo6/0of//OEZAEObgMYBVNtlQ3bJpJeoBQeAeJS/+tbWurfWr3e1SOUvEcK0wNzmLrYYYwzJqsMKHmXRIYNzlutnqpj+q61Mv1W7s61MpS1akWZF6fo+1OtdSqd+Unamy11vf7uk9R0SRZ57PvrUuo4N61O6bun61rqZDXdEyQDGKP7fb////1/3+fdFAAAAwf442tClXsjq3f/9AnACCMhQ48gVl53RHO///zdP79//////6iY///Uv///+y0Hf////F4z//OUZAEPYgUWqlVNyg8rIlB+kA/gIGpgBydS2/VWtrd1Nrb33ZdZHChQM8I4ipxFIUWksZcdyymDewGKFMAEIhcpFmd2qRMjr+YZZ6mWR0QxTrI9XMtSrftmIcya8aMtDkntVl8yqrIAET2f/ZyGih11WPG1R3vNqaiERpU4ogB/Frrb+tv/6v7fq//mJ1MB0DX0WwAzP///9X1OqtJS4tv+26Im8NhNyZL1NJ06nr9W/Uz12Xv13//2//ygrv//lXzf6/+tEWFAb/9VAqEActVf+rqrR1uupalKv5xI4R4f4DMqzJp5qI2STMhTiZPG//N0ZCQPZgUUClSwxg4TJo5emBoeInwDNYcBxgHouJLTNT7ualIU2sieqOJlVd7O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")),[]),X=zr.useCallback((async o=>{if(z)"settled"===(await V.getPaymentStatus(z.id)).status&&(m&&G.play().catch((()=>{})),null==g||g(o),H(!0));else{const a=i?qk(i):void 0,s=qk(o.amount);if(await(async(e,t,n,r,o,i,a,s)=>{const{paymentId:u,rawMessage:l,message:c,amount:f,address:d}=e;let h=!0;if(i){const e=iS(d);if(e!==t)if(s){const t=(s.float/n).toFixed(uS[e]);h=qk(t).isEqualTo(f)}else h=!1;else h=i.isEqualTo(f)}const p=""===l||void 0===l?c:l;return h&&(!!r||o===u)&&(a?p===a:""===p||void 0===p)})(o,l,O,r,C,a,n,null!=u?u:Wk(Number(e.amount),l,h))){m&&G.play().catch((()=>{}));const e=iS(t);p||N(`${E?E+" | ":""}Received ${s} ${e}`,Jk),D(!0),null==g||g(o)}else null==y||y(o)}U([])}),[g,y,N,p,m,G,c,E,t,C,z,O,u]),Y=zr.useCallback((async()=>{const e=await dS(l,t,_),n=await dS("USD",t,_);null!==e&&T(e),null!==n&&M(n)}),[l,t,_]);zr.useEffect((()=>{void 0===f||0===f?(async()=>{Y()})():T(f)}),[l,f,L]);const J=zr.useCallback((e=>{var t;!1===e.confirmed&&(t=qk(e.amount),zk.isLessThan(t))&&X(e)}),[X]);return zr.useEffect((()=>{null==I||I.map((e=>{J(e)}))}),[I,J]),Vo.createElement(Vo.Fragment,null,Vo.createElement(Xk,Object.assign({to:t},k,{amount:i,setAmount:a,opReturn:n,paymentId:C,disablePaymentId:r,goalAmount:v,currency:l,animation:d,currencyObject:u,setCurrencyObject:s,randomSatoshis:h,price:O,usdPrice:L,success:P,disabled:b,editable:w,setNewTxs:U,newTxs:I,wsBaseUrl:A,apiBaseUrl:_,successText:E,hoverText:S,altpaymentShift:z,setAltpaymentShift:q,useAltpayment:j,setUseAltpayment:F,shiftCompleted:W,setShiftCompleted:H,disableAltpayment:x,contributionOffset:R})))},e=>Vo.createElement(lA,null,Vo.createElement($k,Object.assign({},e))));var $k;const eC=e=>{const[t,n]=zr.useState(!1),[r,o]=zr.useState(!1),{to:i,amount:a,setAmount:s,opReturn:u,paymentId:l,disablePaymentId:c,currency:f,currencyObj:d,setCurrencyObj:h,cryptoAmount:p,price:m,successText:g,animation:y,randomSatoshis:v,hideToasts:b,onClose:w,onSuccess:A,onTransaction:_,goalAmount:E,disableEnforceFocus:S,editable:x,dialogOpen:R,container:k,wsBaseUrl:C,apiBaseUrl:B,hoverText:O,disableAltpayment:T,contributionOffset:L}=Object.assign({},eC.defaultProps,e),M=()=>{w&&w(t,l),n(!1)};zr.useEffect((()=>{void 0!==i&&(rS(i)||oS(i))?o(Uk(e.disabled)):o(!0)}),[i,a,e.disabled]);const P=e=>Vo.createElement(nS,Object.assign({animation:y},e)),D=$E(e.theme,oS(i));let N;return a&&(N=+a),Vo.createElement(JE,{value:D},Vo.createElement(uu,{container:k,open:R,onClose:M,disableEnforceFocus:S,disableScrollLock:!0,TransitionComponent:ql,transitionDuration:{enter:300,exit:300}},Vo.createElement(Qk,{ButtonComponent:P,active:R,to:i,amount:N,opReturn:u,paymentId:l,disablePaymentId:c,setAmount:s,currencyObj:d,setCurrencyObj:h,cryptoAmount:p,price:m,currency:f,animation:y,randomSatoshis:v,hideToasts:b,onSuccess:e=>{n(!0),null==A||A(e)},onTransaction:_,successText:g,disabled:r,editable:x,goalAmount:E,wsBaseUrl:C,apiBaseUrl:B,hoverText:O,disableAltpayment:T,contributionOffset:L,foot:t&&Vo.createElement(P,{onClick:M,text:"Close",hoverText:"Close",disabled:r})})))};eC.defaultProps={animation:"slide",hideToasts:!1,randomSatoshis:!1,successText:"Thank you!",disableEnforceFocus:!1,disabled:!1,editable:!1,dialogOpen:!0};const tC=e=>{const[t,n]=zr.useState(!1),[r,o]=zr.useState(!1),[i,a]=zr.useState(""),[s,u]=zr.useState(e.amount),[l,c]=zr.useState(),[f,d]=zr.useState(),[h,p]=zr.useState(0),m=zr.useRef(h),g=zr.useRef(f),{to:y,opReturn:v,disablePaymentId:b,currency:w="",text:A,hoverText:_,successText:E,animation:S,randomSatoshis:x,hideToasts:R,onSuccess:k,onTransaction:C,onOpen:B,onClose:O,goalAmount:T,disableEnforceFocus:L,editable:M,wsBaseUrl:P,apiBaseUrl:D,disableAltpayment:N,contributionOffset:I}=Object.assign({},tC.defaultProps,e),[U]=zr.useState(b?void 0:jk(8));zr.useEffect((()=>{m.current=h}),[h]),zr.useEffect((()=>{g.current=f}),[f]);const j=zr.useCallback((async()=>{void 0!==B&&(cS(w)?(e=>{const t=setInterval((()=>{0!==m.current&&(clearInterval(t),B(g.current,y,U))}),300)})():B(s,y,U)),n(!0)}),[f,y,U,h]);zr.useEffect((()=>{u(e.amount)}),[e.amount]),zr.useEffect((()=>{const t=void 0!==e.amount&&isNaN(+e.amount);void 0!==y?(o(Uk(e.disabled)),a("")):t?(o(!0),a("Amount should be a number")):(o(!0),a("Invalid Recipient"))}),[y,e.amount,e.disabled]),zr.useEffect((()=>{y?rS(y)||oS(y)?a(""):a("Invalid Recipient"):a("Enter an address")}),[y]),zr.useEffect((()=>{if(!1===t&&e.amount&&w){const t=Wk(Number(e.amount),w,x);setTimeout((()=>{u(t.float),c(t)}),300)}}),[t,e.amount,w,x]);const F=zr.useCallback((async()=>{const e=await dS(w,y,D);null!==e&&p(e)}),[w,y,D]);zr.useEffect((()=>{(async()=>{cS(w)&&0===h&&await F()})()}),[w,F,y,h]),zr.useEffect((()=>{if(l&&cS(w)&&h){const e=iS(y),t=Wk(l.float/h,e,x);d(t.string)}else cS(w)||d(null==s?void 0:s.toString())}),[h,l,s,w,x,y]);const z=$E(e.theme,oS(null!=y?y:""));return Vo.createElement(JE,{value:z},Vo.createElement((e=>Vo.createElement(nS,Object.assign({animation:S},e))),{onClick:j,text:A,hoverText:_,disabled:r}),Vo.createElement(eC,{disableEnforceFocus:L,disableScrollLock:!0,to:null!=y?y:"",amount:s,opReturn:v,paymentId:U,disablePaymentId:b,setAmount:u,currencyObj:l,setCurrencyObj:c,cryptoAmount:f,price:h,currency:w,animation:S,randomSatoshis:x,hideToasts:R,onTransaction:C,onSuccess:k,successText:E,disabled:r,editable:M,goalAmount:T,dialogOpen:t,onClose:(e,t)=>{void 0!==O&&O(e,t),n(!1)},wsBaseUrl:P,apiBaseUrl:D,hoverText:_,disableAltpayment:N,contributionOffset:I}),i&&Vo.createElement("p",{style:{color:"#EB3B3B",fontSize:"14px",maxWidth:"190px",textAlign:"center"}},i))};tC.defaultProps={to:"",animation:"slide",hideToasts:!1,randomSatoshis:!1,successText:"Thank you!",disableEnforceFocus:!1,disabled:!1,editable:!1};const nC=tC,rC=eC,oC=Qk;function iC(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function aC(e){this.props=e}(aC.prototype=new Jr).isPureReactComponent=!0,aC.prototype.shouldComponentUpdate=function(e,t){return iC(this.props,e)||iC(this.state,t)};var sC=Mr.__b;Mr.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),sC&&sC(e)};var uC=Mr.__e;Mr.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);uC(e,t,n,r)};var lC=Mr.unmount;function cC(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return cC(e,t,n)}))),e}function fC(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return fC(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function dC(){this.__u=0,this.t=null,this.__b=null}function hC(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function pC(){this.u=null,this.o=null}Mr.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),lC&&lC(e)},(dC.prototype=new Jr).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=hC(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=fC(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},dC.prototype.componentWillUnmount=function(){this.t=[]},dC.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=cC(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Gr(Yr,null,e.fallback);return o&&(o.__u&=-33),[Gr(Yr,null,t.__a?null:e.children),o]};var mC=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]1){var i=o[1].split("'");t=!0,e=i[1]}}var a=document.getElementById(e),s=document.getElementsByClassName("paybutton").length>0,u=document.getElementsByClassName("paybutton-widget").length>0,l=document.getElementsByClassName("dialogbutton").length>0;t&&null===a&&console.error("The Paybutton div#".concat(e," is either misspelled or missing.")),s&&NC(s),u&&IC(u),l&&DC(l)}}document.addEventListener("DOMContentLoaded",t),new(null!==(e=window.MutationObserver)&&void 0!==e?e:window.WebKitMutationObserver)(t).observe(document,{subtree:!0,childList:!0,attributes:!0})}();var MC=["amount","animation","currency","displayCurrency","hideToasts","hoverText","onSuccess","onTransaction","onOpen","onClose","randomSatoshis","successText","theme","text","to","opReturn","disablePaymentId","disabled","goalAmount","editable","wsBaseUrl","apiBaseUrl","disableAltpayment","contributionOffset"],PC=["to"];function DC(e){var t=document.getElementById("content");e&&t&&Array.from(document.getElementsByClassName("dialogbutton")).forEach((function(e){t.appendChild(e)}))}function NC(e){e?UC("paybutton",nC,MC,PC):console.error('The "paybutton" class is either misspelled or missing.')}function IC(e){e?UC("paybutton-widget",oC,MC,PC):console.error('The "paybutton-widget" class is either misspelled or missing.')}function UC(t,n,r,o){Array.from(document.getElementsByClassName(t)).forEach((function(t){var i,a=t.getAttributeNames().reduce((function(e,n){var o=p(n);return r.includes(o)&&(e[o]=t.getAttribute(n)),e}),{}),s=Object.assign({},a,{to:a.to});if(null!=a.amount&&(s.amount=+a.amount,isNaN(s.amount)&&console.error("Amount must be a number")),s.hideToasts="true"===a.hideToasts,s.randomSatoshis=null!==(i=LC(s.randomSatoshis))&&void 0!==i?i:TC,a.onSuccess){var u=window.eval;s.onSuccess=u(a.onSuccess)}if(a.onTransaction){u=window.eval;s.onTransaction=u(a.onTransaction)}if(a.onOpen){u=window.eval;s.onOpen=u(a.onOpen)}if(a.onClose){u=window.eval;s.onClose=u(a.onClose)}if(a.theme)try{s.theme=JSON.parse(a.theme)}catch(e){}o.every((function(e){return e in a}))||console.error('The "to" parameter is missing from your PayButton config. Please check it'),_C(Gr(n,e({},s)),t)}))}var jC=function(e){null!==e.amount&&void 0!==e.amount&&(e.amount=+e.amount,isNaN(e.amount)&&console.error("Amount must be a number"))},FC={render:function(t,n){null!==t&&(jC(n),_C(Gr(nC,e({},n)),t))},renderWidget:function(t,n){null!==t&&(jC(n),_C(Gr(oC,e({},n)),t))},openDialog:function(t){return function(t){var n=document.createElement("div");if(document.body.appendChild(n),t.disabled){var r=document.activeElement;r&&"BUTTON"===r.tagName&&(r.textContent="Unavailable"),n.remove()}else _C(Gr(rC,e({container:n,onClose:function(e,r){void 0!==t.onClose&&t.onClose(e,r),n.remove()}},t)),n)}(t)},renderButtons:NC,renderWidgets:IC,renderDialogButton:DC};return FC})); diff --git a/includes/class-paybutton-public.php b/includes/class-paybutton-public.php index ac244f3..6f6ad7c 100644 --- a/includes/class-paybutton-public.php +++ b/includes/class-paybutton-public.php @@ -57,7 +57,7 @@ public function enqueue_public_assets() { // Enqueue the PayButton core script. wp_enqueue_script( 'paybutton-core', - 'https://unpkg.com/@paybutton/paybutton/dist/paybutton.js', + PAYBUTTON_PLUGIN_URL . 'assets/js/paybutton.js', // Local file path array(), '1.0', false From c7c5a0d7bc4dbb52dbc561f54da88cae6be73963 Mon Sep 17 00:00:00 2001 From: xecdev Date: Thu, 27 Feb 2025 21:24:34 +0430 Subject: [PATCH 2/2] Updated readme --- README.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.txt b/README.txt index e35b67e..2c9a851 100644 --- a/README.txt +++ b/README.txt @@ -32,10 +32,6 @@ Monitor unlocked content, payment amounts, and user activity with comprehensive Wrap your content in the `[paywalled_content]` shortcode to protect it, no coding knowledge required. -== EXTERNAL DEPENDENCY NOTICE: == -PayButton relies on its core JavaScript library, which is loaded remotely from [https://unpkg.com/@paybutton/paybutton/dist/paybutton.js](https://unpkg.com/@paybutton/paybutton/dist/paybutton.js). This approach ensures that all users automatically receive the latest features and security updates without having to update the plugin manually. It also helps keep the plugin lightweight while still providing robust payment processing functionality. No additional accounts or configurations are needed. - - == DOCUMENTATION & SUPPORT == * **[Documentation](https://docs.paybutton.org/)** * **[Support](https://t.me/paybutton)**