streamlit-webrtc 0.47.1__py3-none-any.whl → 0.47.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +0,0 @@
1
- /*! For license information please see 2.2a96fe85.chunk.js.LICENSE.txt */
2
- (this.webpackJsonpstreamlit_webrtc=this.webpackJsonpstreamlit_webrtc||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(87)},function(e,t,n){e.exports=n(96)},function(e,t,n){"use strict";e.exports=n(92)},function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(50);var i=n(43);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var o=e.apply(t,n);function u(e){r(o,i,a,u,s,"next",e)}function s(e){r(o,i,a,u,s,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(5),i=n(78),a=n(19);function o(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function u(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||i:o(e,n)||i,t&&(r=t(r,i)),r}t.a=function(e){var t=e.prop,n=e.cssProperty,s=void 0===n?e.prop:n,c=e.themeKey,l=e.transform,f=function(e){if(null==e[t])return null;var n=e[t],f=o(e.theme,c)||{};return Object(a.b)(e,n,(function(e){var n=u(f,l,e);return e===n&&"string"===typeof e&&(n=u(f,l,"".concat(t).concat("default"===e?"":Object(i.a)(e)),e)),!1===s?n:Object(r.a)({},s,n)}))};return f.propTypes={},f.filterProps=[t],f}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(43);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,u=e[Symbol.iterator]();!(r=(o=u.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){i=!0,a=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw a}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(5);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return x}));var r=n(4),i=n(8),a=n(10),o=n(3),u=n(45),s=n(110),c=n(78),l=["variant"];function f(e){return 0===e.length}function d(e){var t=e.variant,n=Object(a.a)(e,l),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?f(r)?e[t]:Object(c.a)(e[t]):"".concat(f(r)?t:Object(c.a)(t)).concat(Object(c.a)(e[t].toString()))})),r}var p=n(133),h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],v=["theme"],y=["theme"];function b(e){return 0===Object.keys(e).length}function m(e){return"string"===typeof e&&e.charCodeAt(0)>96}var g=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},k=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=d(e.props);r[t]=e.style})),r},w=function(e,t,n,r){var i,a,o=e.ownerState,u=void 0===o?{}:o,s=[],c=null==n||null==(i=n.components)||null==(a=i[r])?void 0:a.variants;return c&&c.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){u[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&s.push(t[d(n.props)])})),s};function _(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var S=Object(s.a)();var O=n(32),x=function(e){return _(e)&&"classes"!==e},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?S:t,s=e.rootShouldForwardProp,c=void 0===s?_:s,l=e.slotShouldForwardProp,f=void 0===l?_:l,d=e.styleFunctionSx,O=void 0===d?p.a:d,x=function(e){var t=b(e.theme)?n:e.theme;return O(Object(o.a)({},e,{theme:t}))};return x.__mui_systemSx=!0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(u.b)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var s,l=t.name,d=t.slot,p=t.skipVariantsResolver,S=t.skipSx,O=t.overridesResolver,j=Object(a.a)(t,h),T=void 0!==p?p:d&&"Root"!==d||!1,C=S||!1;var I=_;"Root"===d?I=c:d?I=f:m(e)&&(I=void 0);var E=Object(u.a)(e,Object(o.a)({shouldForwardProp:I,label:s},j)),A=function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),s=1;s<t;s++)u[s-1]=arguments[s];var c=u?u.map((function(e){return"function"===typeof e&&e.__emotion_real!==e?function(t){var r=t.theme,i=Object(a.a)(t,v);return e(Object(o.a)({theme:b(r)?n:r},i))}:e})):[],f=e;l&&O&&c.push((function(e){var t=b(e.theme)?n:e.theme,r=g(l,t);if(r){var a={};return Object.entries(r).forEach((function(n){var r=Object(i.a)(n,2),u=r[0],s=r[1];a[u]="function"===typeof s?s(Object(o.a)({},e,{theme:t})):s})),O(e,a)}return null})),l&&!T&&c.push((function(e){var t=b(e.theme)?n:e.theme;return w(e,k(l,t),t,l)})),C||c.push(x);var d=c.length-u.length;if(Array.isArray(e)&&d>0){var p=new Array(d).fill("");(f=[].concat(Object(r.a)(e),Object(r.a)(p))).raw=[].concat(Object(r.a)(e.raw),Object(r.a)(p))}else"function"===typeof e&&e.__emotion_real!==e&&(f=function(t){var r=t.theme,i=Object(a.a)(t,y);return e(Object(o.a)({theme:b(r)?n:r},i))});var h=E.apply(void 0,[f].concat(Object(r.a)(c)));return h};return E.withConfig&&(A.withConfig=E.withConfig),A}}({defaultTheme:O.a,rootShouldForwardProp:x});t.a=j},function(e,t,n){"use strict";var r=n(78);t.a=r.a},,function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}t.a=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(66),i=n(39);var a=n(32);function o(e){return function(e){var t=e.props,n=e.name,a=e.defaultTheme,o=Object(i.a)(a);return Object(r.a)({theme:o,name:n,props:t})}({props:e.props,name:e.name,defaultTheme:a.a})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(43);function i(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,o=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw o}}}}},,,function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));n(4),n(3);var r=n(58),i=(n(26),{xs:0,sm:600,md:900,lg:1200,xl:1536}),a={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(i[e],"px)")}};function o(e,t,n){var r=e.theme||{};if(Array.isArray(t)){var o=r.breakpoints||a;return t.reduce((function(e,r,i){return e[o.up(o.keys[i])]=n(t[i]),e}),{})}if("object"===typeof t){var u=r.breakpoints||a;return Object.keys(t).reduce((function(e,r){if(-1!==Object.keys(u.values||i).indexOf(r)){e[u.up(r)]=n(t[r],r)}else{var a=r;e[a]=t[a]}return e}),{})}return n(t)}function u(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{});return n||{}}function s(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e){for(var t=u(e),n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];var o=[t].concat(i).reduce((function(e,t){return Object(r.a)(e,t)}),{});return s(Object.keys(t),o)}function l(e){var t,n=e.values,r=e.breakpoints,i=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r<e.length&&(n[t]=!0)})):r.forEach((function(t){null!=e[t]&&(n[t]=!0)})),n}(n,r),a=Object.keys(i);return 0===a.length?n:a.reduce((function(e,r,i){return Array.isArray(n)?(e[r]=null!=n[i]?n[i]:n[t],t=i):"object"===typeof n?(e[r]=null!=n[r]?n[r]:n[t],t=r):e[r]=n,e}),{})}},function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"d",(function(){return y}));var r=n(8),i=n(19),a=n(7),o=n(26);var u={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=Object(r.a)(t,2),i=n[0],a=n[1],o=u[i],l=s[a]||"";return Array.isArray(l)?l.map((function(e){return o+e})):[o+l]})),f=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(f,d);function h(e,t,n,r){var i,o=null!=(i=Object(a.b)(e,t,!1))?i:n;return"number"===typeof o?function(e){return"string"===typeof e?e:o*e}:Array.isArray(o)?function(e){return"string"===typeof e?e:o[e]}:"function"===typeof o?o:function(){}}function v(e){return h(e,"spacing",8)}function y(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)}function b(e,t,n,r){if(-1===t.indexOf(n))return null;var a=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=y(t,n),e}),{})}}(l(n),r),o=e[n];return Object(i.b)(e,o,a)}function m(e,t){var n=v(e.theme);return Object.keys(e).map((function(r){return b(e,t,r,n)})).reduce(o.a,{})}function g(e){return m(e,f)}function k(e){return m(e,d)}function w(e){return m(e,p)}g.propTypes={},g.filterProps=f,k.propTypes={},k.filterProps=d,w.propTypes={},w.filterProps=p;t.c=w},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l}));var r=n(0),i=n(63),a=(n(3),n(48),n(62),n(24)),o=n(29),u=n(28),s={}.hasOwnProperty,c=Object(r.createContext)("undefined"!==typeof HTMLElement?Object(i.a)({key:"css"}):null);c.Provider;var l=function(e){return Object(r.forwardRef)((function(t,n){var i=Object(r.useContext)(c);return e(t,i,n)}))},f=Object(r.createContext)({});var d="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",p=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[d]=e,n},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Object(a.c)(t,n,r);Object(u.a)((function(){return Object(a.b)(t,n,r)}));return null},v=l((function(e,t,n){var i=e.css;"string"===typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var u=e[d],c=[i],l="";"string"===typeof e.className?l=Object(a.a)(t.registered,c,e.className):null!=e.className&&(l=e.className+" ");var p=Object(o.a)(c,void 0,Object(r.useContext)(f));l+=t.key+"-"+p.name;var v={};for(var y in e)s.call(e,y)&&"css"!==y&&y!==d&&(v[y]=e[y]);return v.ref=n,v.className=l,Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h,{cache:t,serialized:p,isStringTag:"string"===typeof u}),Object(r.createElement)(u,v))}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(3),i=n(0),a=n(10),o=n(14),u=n(134),s=n(12),c=n(15),l=n(11),f=n(106),d=n(135);function p(e){return Object(f.a)("MuiSvgIcon",e)}Object(d.a)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(2),v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],y=Object(l.a)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat(Object(s.a)(n.color))],t["fontSize".concat(Object(s.a)(n.fontSize))]]}})((function(e){var t,n,r,i,a,o,u,s,c,l,f,d,p,h,v,y,b,m=e.theme,g=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(t=m.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=m.transitions)||null==(i=r.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=m.typography)||null==(o=a.pxToRem)?void 0:o.call(a,20))||"1.25rem",medium:(null==(u=m.typography)||null==(s=u.pxToRem)?void 0:s.call(u,24))||"1.5rem",large:(null==(c=m.typography)||null==(l=c.pxToRem)?void 0:l.call(c,35))||"2.1875rem"}[g.fontSize],color:null!=(f=null==(d=(m.vars||m).palette)||null==(p=d[g.color])?void 0:p.main)?f:{action:null==(h=(m.vars||m).palette)||null==(v=h.action)?void 0:v.active,disabled:null==(y=(m.vars||m).palette)||null==(b=y.action)?void 0:b.disabled,inherit:void 0}[g.color]}})),b=i.forwardRef((function(e,t){var n=Object(c.a)({props:e,name:"MuiSvgIcon"}),i=n.children,l=n.className,f=n.color,d=void 0===f?"inherit":f,b=n.component,m=void 0===b?"svg":b,g=n.fontSize,k=void 0===g?"medium":g,w=n.htmlColor,_=n.inheritViewBox,S=void 0!==_&&_,O=n.titleAccess,x=n.viewBox,j=void 0===x?"0 0 24 24":x,T=Object(a.a)(n,v),C=Object(r.a)({},n,{color:d,component:m,fontSize:k,instanceFontSize:e.fontSize,inheritViewBox:S,viewBox:j}),I={};S||(I.viewBox=j);var E=function(e){var t=e.color,n=e.fontSize,r=e.classes,i={root:["root","inherit"!==t&&"color".concat(Object(s.a)(t)),"fontSize".concat(Object(s.a)(n))]};return Object(u.a)(i,p,r)}(C);return Object(h.jsxs)(y,Object(r.a)({as:m,className:Object(o.a)(E.root,l),focusable:"false",color:w,"aria-hidden":!O||void 0,role:O?"img":void 0,ref:t},I,T,{ownerState:C,children:[i,O?Object(h.jsx)("title",{children:O}):null]}))}));b.muiName="SvgIcon";var m=b;function g(e,t){function n(n,i){return Object(h.jsx)(m,Object(r.a)({"data-testid":"".concat(t,"Icon"),ref:i},n,{children:e}))}return n.muiName=m.muiName,i.memo(i.forwardRef(n))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i}));function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},a=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"StreamlitComponentBase",(function(){return Dl})),n.d(t,"withStreamlitConnection",(function(){return Bl})),n.d(t,"ArrowTable",(function(){return Al})),n.d(t,"Streamlit",(function(){return Rl}));var r={};n.r(r),n.d(r,"memcpy",(function(){return He})),n.d(r,"joinUint8Arrays",(function(){return $e})),n.d(r,"toArrayBufferView",(function(){return Ye})),n.d(r,"toInt8Array",(function(){return qe})),n.d(r,"toInt16Array",(function(){return Ge})),n.d(r,"toInt32Array",(function(){return Ke})),n.d(r,"toBigInt64Array",(function(){return Qe})),n.d(r,"toUint8Array",(function(){return Xe})),n.d(r,"toUint16Array",(function(){return Je})),n.d(r,"toUint32Array",(function(){return Ze})),n.d(r,"toBigUint64Array",(function(){return et})),n.d(r,"toFloat32Array",(function(){return tt})),n.d(r,"toFloat64Array",(function(){return nt})),n.d(r,"toUint8ClampedArray",(function(){return rt})),n.d(r,"toArrayBufferViewIterator",(function(){return at})),n.d(r,"toInt8ArrayIterator",(function(){return ot})),n.d(r,"toInt16ArrayIterator",(function(){return ut})),n.d(r,"toInt32ArrayIterator",(function(){return st})),n.d(r,"toUint8ArrayIterator",(function(){return ct})),n.d(r,"toUint16ArrayIterator",(function(){return lt})),n.d(r,"toUint32ArrayIterator",(function(){return ft})),n.d(r,"toFloat32ArrayIterator",(function(){return dt})),n.d(r,"toFloat64ArrayIterator",(function(){return pt})),n.d(r,"toUint8ClampedArrayIterator",(function(){return ht})),n.d(r,"toArrayBufferViewAsyncIterator",(function(){return vt})),n.d(r,"toInt8ArrayAsyncIterator",(function(){return bt})),n.d(r,"toInt16ArrayAsyncIterator",(function(){return mt})),n.d(r,"toInt32ArrayAsyncIterator",(function(){return gt})),n.d(r,"toUint8ArrayAsyncIterator",(function(){return kt})),n.d(r,"toUint16ArrayAsyncIterator",(function(){return wt})),n.d(r,"toUint32ArrayAsyncIterator",(function(){return _t})),n.d(r,"toFloat32ArrayAsyncIterator",(function(){return St})),n.d(r,"toFloat64ArrayAsyncIterator",(function(){return Ot})),n.d(r,"toUint8ClampedArrayAsyncIterator",(function(){return xt})),n.d(r,"rebaseValueOffsets",(function(){return jt})),n.d(r,"compareArrayLike",(function(){return Tt}));var i={};n.r(i),n.d(i,"getBool",(function(){return an})),n.d(i,"getBit",(function(){return on})),n.d(i,"setBool",(function(){return un})),n.d(i,"truncateBitmap",(function(){return sn})),n.d(i,"packBools",(function(){return cn})),n.d(i,"iterateBits",(function(){return ln})),n.d(i,"popcnt_bit_range",(function(){return fn})),n.d(i,"popcnt_array",(function(){return dn})),n.d(i,"popcnt_uint32",(function(){return pn}));var a={};n.r(a),n.d(a,"uint16ToFloat64",(function(){return Dr})),n.d(a,"float64ToUint16",(function(){return Br}));var o={};n.r(o),n.d(o,"isArrowBigNumSymbol",(function(){return $r})),n.d(o,"bignumToString",(function(){return Wr})),n.d(o,"bignumToBigInt",(function(){return Hr})),n.d(o,"BN",(function(){return Zr}));var u={};n.r(u),n.d(u,"clampIndex",(function(){return Ni})),n.d(u,"clampRange",(function(){return Fi})),n.d(u,"createElementComparator",(function(){return Vi}));var s={};n.r(s),n.d(s,"BaseInt64",(function(){return so})),n.d(s,"Uint64",(function(){return co})),n.d(s,"Int64",(function(){return lo})),n.d(s,"Int128",(function(){return fo}));var c=n(47),l=n.n(c),f=n(41),d=n.n(f),p=new WeakMap,h=new WeakMap;function v(e){var t=p.get(e);return console.assert(null!=t,"'this' is expected an Event object, but got",e),t}function y(e){null==e.passiveListener?e.event.cancelable&&(e.canceled=!0,"function"===typeof e.event.preventDefault&&e.event.preventDefault()):"undefined"!==typeof console&&"function"===typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",e.passiveListener)}function b(e,t){p.set(this,{eventTarget:e,event:t,eventPhase:2,currentTarget:e,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:t.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});for(var n=Object.keys(t),r=0;r<n.length;++r){var i=n[r];i in this||Object.defineProperty(this,i,m(i))}}function m(e){return{get:function(){return v(this).event[e]},set:function(t){v(this).event[e]=t},configurable:!0,enumerable:!0}}function g(e){return{value:function(){var t=v(this).event;return t[e].apply(t,arguments)},configurable:!0,enumerable:!0}}function k(e){if(null==e||e===Object.prototype)return b;var t=h.get(e);return null==t&&(t=function(e,t){var n=Object.keys(t);if(0===n.length)return e;function r(t,n){e.call(this,t,n)}r.prototype=Object.create(e.prototype,{constructor:{value:r,configurable:!0,writable:!0}});for(var i=0;i<n.length;++i){var a=n[i];if(!(a in e.prototype)){var o="function"===typeof Object.getOwnPropertyDescriptor(t,a).value;Object.defineProperty(r.prototype,a,o?g(a):m(a))}}return r}(k(Object.getPrototypeOf(e)),e),h.set(e,t)),t}function w(e){return v(e).immediateStopped}function _(e,t){v(e).passiveListener=t}b.prototype={get type(){return v(this).event.type},get target(){return v(this).eventTarget},get currentTarget(){return v(this).currentTarget},composedPath:function(){var e=v(this).currentTarget;return null==e?[]:[e]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return v(this).eventPhase},stopPropagation:function(){var e=v(this);e.stopped=!0,"function"===typeof e.event.stopPropagation&&e.event.stopPropagation()},stopImmediatePropagation:function(){var e=v(this);e.stopped=!0,e.immediateStopped=!0,"function"===typeof e.event.stopImmediatePropagation&&e.event.stopImmediatePropagation()},get bubbles(){return Boolean(v(this).event.bubbles)},get cancelable(){return Boolean(v(this).event.cancelable)},preventDefault:function(){y(v(this))},get defaultPrevented(){return v(this).canceled},get composed(){return Boolean(v(this).event.composed)},get timeStamp(){return v(this).timeStamp},get srcElement(){return v(this).eventTarget},get cancelBubble(){return v(this).stopped},set cancelBubble(e){if(e){var t=v(this);t.stopped=!0,"boolean"===typeof t.event.cancelBubble&&(t.event.cancelBubble=!0)}},get returnValue(){return!v(this).canceled},set returnValue(e){e||y(v(this))},initEvent:function(){}},Object.defineProperty(b.prototype,"constructor",{value:b,configurable:!0,writable:!0}),"undefined"!==typeof window&&"undefined"!==typeof window.Event&&(Object.setPrototypeOf(b.prototype,window.Event.prototype),h.set(window.Event.prototype,b));var S=new WeakMap;function O(e){return null!==e&&"object"===typeof e}function x(e){var t=S.get(e);if(null==t)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return t}function j(e,t){Object.defineProperty(e,"on".concat(t),function(e){return{get:function(){for(var t=x(this).get(e);null!=t;){if(3===t.listenerType)return t.listener;t=t.next}return null},set:function(t){"function"===typeof t||O(t)||(t=null);for(var n=x(this),r=null,i=n.get(e);null!=i;)3===i.listenerType?null!==r?r.next=i.next:null!==i.next?n.set(e,i.next):n.delete(e):r=i,i=i.next;if(null!==t){var a={listener:t,listenerType:3,passive:!1,once:!1,next:null};null===r?n.set(e,a):r.next=a}},configurable:!0,enumerable:!0}}(t))}function T(e){function t(){C.call(this)}t.prototype=Object.create(C.prototype,{constructor:{value:t,configurable:!0,writable:!0}});for(var n=0;n<e.length;++n)j(t.prototype,e[n]);return t}function C(){if(!(this instanceof C)){if(1===arguments.length&&Array.isArray(arguments[0]))return T(arguments[0]);if(arguments.length>0){for(var e=new Array(arguments.length),t=0;t<arguments.length;++t)e[t]=arguments[t];return T(e)}throw new TypeError("Cannot call a class as a function")}S.set(this,new Map)}C.prototype={addEventListener:function(e,t,n){if(null!=t){if("function"!==typeof t&&!O(t))throw new TypeError("'listener' should be a function or an object.");var r=x(this),i=O(n),a=(i?Boolean(n.capture):Boolean(n))?1:2,o={listener:t,listenerType:a,passive:i&&Boolean(n.passive),once:i&&Boolean(n.once),next:null},u=r.get(e);if(void 0!==u){for(var s=null;null!=u;){if(u.listener===t&&u.listenerType===a)return;s=u,u=u.next}s.next=o}else r.set(e,o)}},removeEventListener:function(e,t,n){if(null!=t)for(var r=x(this),i=(O(n)?Boolean(n.capture):Boolean(n))?1:2,a=null,o=r.get(e);null!=o;){if(o.listener===t&&o.listenerType===i)return void(null!==a?a.next=o.next:null!==o.next?r.set(e,o.next):r.delete(e));a=o,o=o.next}},dispatchEvent:function(e){if(null==e||"string"!==typeof e.type)throw new TypeError('"event.type" should be a string.');var t=x(this),n=e.type,r=t.get(n);if(null==r)return!0;for(var i=function(e,t){return new(k(Object.getPrototypeOf(t)))(e,t)}(this,e),a=null;null!=r;){if(r.once?null!==a?a.next=r.next:null!==r.next?t.set(n,r.next):t.delete(n):a=r,_(i,r.passive?r.listener:null),"function"===typeof r.listener)try{r.listener.call(this,i)}catch(o){"undefined"!==typeof console&&"function"===typeof console.error&&console.error(o)}else 3!==r.listenerType&&"function"===typeof r.listener.handleEvent&&r.listener.handleEvent(i);if(w(i))break;r=r.next}return _(i,null),function(e,t){v(e).eventPhase=t}(i,0),function(e,t){v(e).currentTarget=t}(i,null),!i.defaultPrevented}},Object.defineProperty(C.prototype,"constructor",{value:C,configurable:!0,writable:!0}),"undefined"!==typeof window&&"undefined"!==typeof window.EventTarget&&Object.setPrototypeOf(C.prototype,window.EventTarget.prototype);var I=n(16),E=n(6);function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t,n){return t&&M(e.prototype,t),n&&M(e,n),e}var P=n(1),L=n(8);function D(e){this.wrapped=e}function B(e){return new D(e)}function N(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,u=o instanceof D;Promise.resolve(u?o.wrapped:o).then((function(e){u?r("return"===t?"return":"next",e):i(a.done?"return":"normal",e)}),(function(e){r("throw",e)}))}catch(s){i("throw",s)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise((function(a,o){var u={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=u:(t=n=u,r(e,i))}))},"function"!==typeof e.return&&(this.return=void 0)}function F(e){return function(){return new N(e.apply(this,arguments))}}function z(e,t){var n={},r=!1;function i(n,i){return r=!0,i=new Promise((function(t){t(e[n](i))})),{done:!1,value:t(i)}}return"function"===typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return this}),n.next=function(e){return r?(r=!1,e):i("next",e)},"function"===typeof e.throw&&(n.throw=function(e){if(r)throw r=!1,e;return i("throw",e)}),"function"===typeof e.return&&(n.return=function(e){return r?(r=!1,e):i("return",e)}),n}"function"===typeof Symbol&&Symbol.asyncIterator&&(N.prototype[Symbol.asyncIterator]=function(){return this}),N.prototype.next=function(e){return this._invoke("next",e)},N.prototype.throw=function(e){return this._invoke("throw",e)},N.prototype.return=function(e){return this._invoke("return",e)};var U={};function V(e,t,n){return t<=e&&e<=n}function W(e){if(void 0===e)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}U.Offset,U.Table,U.SIZEOF_SHORT=2,U.SIZEOF_INT=4,U.FILE_IDENTIFIER_LENGTH=4,U.Encoding={UTF8_BYTES:1,UTF16_STRING:2},U.int32=new Int32Array(2),U.float32=new Float32Array(U.int32.buffer),U.float64=new Float64Array(U.int32.buffer),U.isLittleEndian=1===new Uint16Array(new Uint8Array([1,0]).buffer)[0],U.Long=function(e,t){this.low=0|e,this.high=0|t},U.Long.create=function(e,t){return 0==e&&0==t?U.Long.ZERO:new U.Long(e,t)},U.Long.prototype.toFloat64=function(){return(this.low>>>0)+4294967296*this.high},U.Long.prototype.equals=function(e){return this.low==e.low&&this.high==e.high},U.Long.ZERO=new U.Long(0,0),U.Builder=function(e){if(e)t=e;else var t=1024;this.bb=U.ByteBuffer.allocate(t),this.space=t,this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1},U.Builder.prototype.clear=function(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1},U.Builder.prototype.forceDefaults=function(e){this.force_defaults=e},U.Builder.prototype.dataBuffer=function(){return this.bb},U.Builder.prototype.asUint8Array=function(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())},U.Builder.prototype.prep=function(e,t){e>this.minalign&&(this.minalign=e);for(var n=1+~(this.bb.capacity()-this.space+t)&e-1;this.space<n+e+t;){var r=this.bb.capacity();this.bb=U.Builder.growByteBuffer(this.bb),this.space+=this.bb.capacity()-r}this.pad(n)},U.Builder.prototype.pad=function(e){for(var t=0;t<e;t++)this.bb.writeInt8(--this.space,0)},U.Builder.prototype.writeInt8=function(e){this.bb.writeInt8(this.space-=1,e)},U.Builder.prototype.writeInt16=function(e){this.bb.writeInt16(this.space-=2,e)},U.Builder.prototype.writeInt32=function(e){this.bb.writeInt32(this.space-=4,e)},U.Builder.prototype.writeInt64=function(e){this.bb.writeInt64(this.space-=8,e)},U.Builder.prototype.writeFloat32=function(e){this.bb.writeFloat32(this.space-=4,e)},U.Builder.prototype.writeFloat64=function(e){this.bb.writeFloat64(this.space-=8,e)},U.Builder.prototype.addInt8=function(e){this.prep(1,0),this.writeInt8(e)},U.Builder.prototype.addInt16=function(e){this.prep(2,0),this.writeInt16(e)},U.Builder.prototype.addInt32=function(e){this.prep(4,0),this.writeInt32(e)},U.Builder.prototype.addInt64=function(e){this.prep(8,0),this.writeInt64(e)},U.Builder.prototype.addFloat32=function(e){this.prep(4,0),this.writeFloat32(e)},U.Builder.prototype.addFloat64=function(e){this.prep(8,0),this.writeFloat64(e)},U.Builder.prototype.addFieldInt8=function(e,t,n){(this.force_defaults||t!=n)&&(this.addInt8(t),this.slot(e))},U.Builder.prototype.addFieldInt16=function(e,t,n){(this.force_defaults||t!=n)&&(this.addInt16(t),this.slot(e))},U.Builder.prototype.addFieldInt32=function(e,t,n){(this.force_defaults||t!=n)&&(this.addInt32(t),this.slot(e))},U.Builder.prototype.addFieldInt64=function(e,t,n){!this.force_defaults&&t.equals(n)||(this.addInt64(t),this.slot(e))},U.Builder.prototype.addFieldFloat32=function(e,t,n){(this.force_defaults||t!=n)&&(this.addFloat32(t),this.slot(e))},U.Builder.prototype.addFieldFloat64=function(e,t,n){(this.force_defaults||t!=n)&&(this.addFloat64(t),this.slot(e))},U.Builder.prototype.addFieldOffset=function(e,t,n){(this.force_defaults||t!=n)&&(this.addOffset(t),this.slot(e))},U.Builder.prototype.addFieldStruct=function(e,t,n){t!=n&&(this.nested(t),this.slot(e))},U.Builder.prototype.nested=function(e){if(e!=this.offset())throw new Error("FlatBuffers: struct must be serialized inline.")},U.Builder.prototype.notNested=function(){if(this.isNested)throw new Error("FlatBuffers: object serialization must not be nested.")},U.Builder.prototype.slot=function(e){this.vtable[e]=this.offset()},U.Builder.prototype.offset=function(){return this.bb.capacity()-this.space},U.Builder.growByteBuffer=function(e){var t=e.capacity();if(3221225472&t)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");var n=t<<1,r=U.ByteBuffer.allocate(n);return r.setPosition(n-t),r.bytes().set(e.bytes(),n-t),r},U.Builder.prototype.addOffset=function(e){this.prep(U.SIZEOF_INT,0),this.writeInt32(this.offset()-e+U.SIZEOF_INT)},U.Builder.prototype.startObject=function(e){this.notNested(),null==this.vtable&&(this.vtable=[]),this.vtable_in_use=e;for(var t=0;t<e;t++)this.vtable[t]=0;this.isNested=!0,this.object_start=this.offset()},U.Builder.prototype.endObject=function(){if(null==this.vtable||!this.isNested)throw new Error("FlatBuffers: endObject called without startObject");this.addInt32(0);for(var e=this.offset(),t=this.vtable_in_use-1;t>=0&&0==this.vtable[t];t--);for(var n=t+1;t>=0;t--)this.addInt16(0!=this.vtable[t]?e-this.vtable[t]:0);this.addInt16(e-this.object_start);var r=(n+2)*U.SIZEOF_SHORT;this.addInt16(r);var i=0,a=this.space;e:for(t=0;t<this.vtables.length;t++){var o=this.bb.capacity()-this.vtables[t];if(r==this.bb.readInt16(o)){for(var u=U.SIZEOF_SHORT;u<r;u+=U.SIZEOF_SHORT)if(this.bb.readInt16(a+u)!=this.bb.readInt16(o+u))continue e;i=this.vtables[t];break}}return i?(this.space=this.bb.capacity()-e,this.bb.writeInt32(this.space,i-e)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-e,this.offset()-e)),this.isNested=!1,e},U.Builder.prototype.finish=function(e,t){if(t){var n=t;if(this.prep(this.minalign,U.SIZEOF_INT+U.FILE_IDENTIFIER_LENGTH),n.length!=U.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+U.FILE_IDENTIFIER_LENGTH);for(var r=U.FILE_IDENTIFIER_LENGTH-1;r>=0;r--)this.writeInt8(n.charCodeAt(r))}this.prep(this.minalign,U.SIZEOF_INT),this.addOffset(e),this.bb.setPosition(this.space)},U.Builder.prototype.requiredField=function(e,t){var n=this.bb.capacity()-e,r=n-this.bb.readInt32(n);if(!(0!=this.bb.readInt16(r+t)))throw new Error("FlatBuffers: field "+t+" must be set")},U.Builder.prototype.startVector=function(e,t,n){this.notNested(),this.vector_num_elems=t,this.prep(U.SIZEOF_INT,e*t),this.prep(n,e*t)},U.Builder.prototype.endVector=function(){return this.writeInt32(this.vector_num_elems),this.offset()},U.Builder.prototype.createString=function(e){if(e instanceof Uint8Array)var t=e;else{t=[];for(var n=0;n<e.length;){var r,i=e.charCodeAt(n++);if(i<55296||i>=56320)r=i;else r=(i<<10)+e.charCodeAt(n++)+-56613888;r<128?t.push(r):(r<2048?t.push(r>>6&31|192):(r<65536?t.push(r>>12&15|224):t.push(r>>18&7|240,r>>12&63|128),t.push(r>>6&63|128)),t.push(63&r|128))}}this.addInt8(0),this.startVector(1,t.length,1),this.bb.setPosition(this.space-=t.length);n=0;for(var a=this.space,o=this.bb.bytes();n<t.length;n++)o[a++]=t[n];return this.endVector()},U.Builder.prototype.createLong=function(e,t){return U.Long.create(e,t)},U.ByteBuffer=function(e){this.bytes_=e,this.position_=0},U.ByteBuffer.allocate=function(e){return new U.ByteBuffer(new Uint8Array(e))},U.ByteBuffer.prototype.clear=function(){this.position_=0},U.ByteBuffer.prototype.bytes=function(){return this.bytes_},U.ByteBuffer.prototype.position=function(){return this.position_},U.ByteBuffer.prototype.setPosition=function(e){this.position_=e},U.ByteBuffer.prototype.capacity=function(){return this.bytes_.length},U.ByteBuffer.prototype.readInt8=function(e){return this.readUint8(e)<<24>>24},U.ByteBuffer.prototype.readUint8=function(e){return this.bytes_[e]},U.ByteBuffer.prototype.readInt16=function(e){return this.readUint16(e)<<16>>16},U.ByteBuffer.prototype.readUint16=function(e){return this.bytes_[e]|this.bytes_[e+1]<<8},U.ByteBuffer.prototype.readInt32=function(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24},U.ByteBuffer.prototype.readUint32=function(e){return this.readInt32(e)>>>0},U.ByteBuffer.prototype.readInt64=function(e){return new U.Long(this.readInt32(e),this.readInt32(e+4))},U.ByteBuffer.prototype.readUint64=function(e){return new U.Long(this.readUint32(e),this.readUint32(e+4))},U.ByteBuffer.prototype.readFloat32=function(e){return U.int32[0]=this.readInt32(e),U.float32[0]},U.ByteBuffer.prototype.readFloat64=function(e){return U.int32[U.isLittleEndian?0:1]=this.readInt32(e),U.int32[U.isLittleEndian?1:0]=this.readInt32(e+4),U.float64[0]},U.ByteBuffer.prototype.writeInt8=function(e,t){this.bytes_[e]=t},U.ByteBuffer.prototype.writeUint8=function(e,t){this.bytes_[e]=t},U.ByteBuffer.prototype.writeInt16=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8},U.ByteBuffer.prototype.writeUint16=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8},U.ByteBuffer.prototype.writeInt32=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24},U.ByteBuffer.prototype.writeUint32=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24},U.ByteBuffer.prototype.writeInt64=function(e,t){this.writeInt32(e,t.low),this.writeInt32(e+4,t.high)},U.ByteBuffer.prototype.writeUint64=function(e,t){this.writeUint32(e,t.low),this.writeUint32(e+4,t.high)},U.ByteBuffer.prototype.writeFloat32=function(e,t){U.float32[0]=t,this.writeInt32(e,U.int32[0])},U.ByteBuffer.prototype.writeFloat64=function(e,t){U.float64[0]=t,this.writeInt32(e,U.int32[U.isLittleEndian?0:1]),this.writeInt32(e+4,U.int32[U.isLittleEndian?1:0])},U.ByteBuffer.prototype.getBufferIdentifier=function(){if(this.bytes_.length<this.position_+U.SIZEOF_INT+U.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");for(var e="",t=0;t<U.FILE_IDENTIFIER_LENGTH;t++)e+=String.fromCharCode(this.readInt8(this.position_+U.SIZEOF_INT+t));return e},U.ByteBuffer.prototype.__offset=function(e,t){var n=e-this.readInt32(e);return t<this.readInt16(n)?this.readInt16(n+t):0},U.ByteBuffer.prototype.__union=function(e,t){return e.bb_pos=t+this.readInt32(t),e.bb=this,e},U.ByteBuffer.prototype.__string=function(e,t){e+=this.readInt32(e);var n=this.readInt32(e),r="",i=0;if(e+=U.SIZEOF_INT,t===U.Encoding.UTF8_BYTES)return this.bytes_.subarray(e,e+n);for(;i<n;){var a,o=this.readUint8(e+i++);if(o<192)a=o;else{var u=this.readUint8(e+i++);if(o<224)a=(31&o)<<6|63&u;else{var s=this.readUint8(e+i++);if(o<240)a=(15&o)<<12|(63&u)<<6|63&s;else a=(7&o)<<18|(63&u)<<12|(63&s)<<6|63&this.readUint8(e+i++)}}a<65536?r+=String.fromCharCode(a):(a-=65536,r+=String.fromCharCode(55296+(a>>10),56320+(1023&a)))}return r},U.ByteBuffer.prototype.__indirect=function(e){return e+this.readInt32(e)},U.ByteBuffer.prototype.__vector=function(e){return e+this.readInt32(e)+U.SIZEOF_INT},U.ByteBuffer.prototype.__vector_len=function(e){return this.readInt32(e+this.readInt32(e))},U.ByteBuffer.prototype.__has_identifier=function(e){if(e.length!=U.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+U.FILE_IDENTIFIER_LENGTH);for(var t=0;t<U.FILE_IDENTIFIER_LENGTH;t++)if(e.charCodeAt(t)!=this.readInt8(this.position_+U.SIZEOF_INT+t))return!1;return!0},U.ByteBuffer.prototype.createLong=function(e,t){return U.Long.create(e,t)};function H(e){this.tokens=[].slice.call(e)}H.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():-1},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.pop());else this.tokens.unshift(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.shift());else this.tokens.push(e)}};var $=-1;function Y(e,t){if(e)throw TypeError("Decoder error");return t||65533}var q="utf-8";function G(e,t){if(!(this instanceof G))return new G(e,t);if((e=void 0!==e?String(e).toLowerCase():q)!==q)throw new Error("Encoding not supported. Only utf-8 is supported");t=W(t),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=Boolean(t.fatal),this._ignoreBOM=Boolean(t.ignoreBOM),Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}function K(e,t){if(!(this instanceof K))return new K(e,t);if((e=void 0!==e?String(e).toLowerCase():q)!==q)throw new Error("Encoding not supported. Only utf-8 is supported");t=W(t),this._streaming=!1,this._encoder=null,this._options={fatal:Boolean(t.fatal)},Object.defineProperty(this,"encoding",{value:"utf-8"})}function Q(e){var t=e.fatal,n=0,r=0,i=0,a=128,o=191;this.handler=function(e,u){if(-1===u&&0!==i)return i=0,Y(t);if(-1===u)return $;if(0===i){if(V(u,0,127))return u;if(V(u,194,223))i=1,n=u-192;else if(V(u,224,239))224===u&&(a=160),237===u&&(o=159),i=2,n=u-224;else{if(!V(u,240,244))return Y(t);240===u&&(a=144),244===u&&(o=143),i=3,n=u-240}return n<<=6*i,null}if(!V(u,a,o))return n=i=r=0,a=128,o=191,e.prepend(u),Y(t);if(a=128,o=191,n+=u-128<<6*(i-(r+=1)),r!==i)return null;var s=n;return n=i=r=0,s}}function X(e){e.fatal;this.handler=function(e,t){if(-1===t)return $;if(V(t,0,127))return t;var n,r;V(t,128,2047)?(n=1,r=192):V(t,2048,65535)?(n=2,r=224):V(t,65536,1114111)&&(n=3,r=240);for(var i=[(t>>6*n)+r];n>0;){var a=t>>6*(n-1);i.push(128|63&a),n-=1}return i}}G.prototype={decode:function(e,t){var n;n="object"===typeof e&&e instanceof ArrayBuffer?new Uint8Array(e):"object"===typeof e&&"buffer"in e&&e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(0),t=W(t),this._streaming||(this._decoder=new Q({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(t.stream);for(var r,i=new H(n),a=[];!i.endOfStream()&&(r=this._decoder.handler(i,i.read()))!==$;)null!==r&&(Array.isArray(r)?a.push.apply(a,r):a.push(r));if(!this._streaming){do{if((r=this._decoder.handler(i,i.read()))===$)break;null!==r&&(Array.isArray(r)?a.push.apply(a,r):a.push(r))}while(!i.endOfStream());this._decoder=null}return a.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===a[0]?(this._BOMseen=!0,a.shift()):this._BOMseen=!0)),function(e){for(var t="",n=0;n<e.length;++n){var r=e[n];r<=65535?t+=String.fromCharCode(r):(r-=65536,t+=String.fromCharCode(55296+(r>>10),56320+(1023&r)))}return t}(a)}},K.prototype={encode:function(e,t){e=e?String(e):"",t=W(t),this._streaming||(this._encoder=new X(this._options)),this._streaming=Boolean(t.stream);for(var n,r=[],i=new H(function(e){for(var t=String(e),n=t.length,r=0,i=[];r<n;){var a=t.charCodeAt(r);if(a<55296||a>57343)i.push(a);else if(56320<=a&&a<=57343)i.push(65533);else if(55296<=a&&a<=56319)if(r===n-1)i.push(65533);else{var o=e.charCodeAt(r+1);if(56320<=o&&o<=57343){var u=1023&a,s=1023&o;i.push(65536+(u<<10)+s),r+=1}else i.push(65533)}r+=1}return i}(e));!i.endOfStream()&&(n=this._encoder.handler(i,i.read()))!==$;)Array.isArray(n)?r.push.apply(r,n):r.push(n);if(!this._streaming){for(;(n=this._encoder.handler(i,i.read()))!==$;)Array.isArray(n)?r.push.apply(r,n):r.push(n);this._encoder=null}return new Uint8Array(r)}};var J="function"===typeof Buffer?Buffer:null,Z="function"===typeof TextDecoder&&"function"===typeof TextEncoder,ee=function(e){if(Z||!J){var t=new e("utf-8");return function(e){return t.decode(e)}}return function(e){var t=Xe(e),n=t.buffer,r=t.byteOffset,i=t.length;return J.from(n,r,i).toString()}}("undefined"!==typeof TextDecoder?TextDecoder:G),te=function(e){if(Z||!J){var t=new e;return function(e){return t.encode(e)}}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Xe(J.from(e,"utf8"))}}("undefined"!==typeof TextEncoder?TextEncoder:K);function ne(e,t){return ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ne(e,t)}function re(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ne(e,t)}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ie(e)}function ae(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function oe(e){return oe="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},oe(e)}function ue(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function se(e,t){return!t||"object"!==oe(t)&&"function"!==typeof t?ue(e):t}function ce(e){var t=ae();return function(){var n,r=ie(e);if(t){var i=ie(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return se(this,n)}}var le=Object.freeze({done:!0,value:void 0}),fe=function(){function e(t){A(this,e),this._json=t}return R(e,[{key:"schema",get:function(){return this._json.schema}},{key:"batches",get:function(){return this._json.batches||[]}},{key:"dictionaries",get:function(){return this._json.dictionaries||[]}}]),e}(),de=function(){function e(){A(this,e)}return R(e,[{key:"tee",value:function(){return this._getDOMStream().tee()}},{key:"pipe",value:function(e,t){return this._getNodeStream().pipe(e,t)}},{key:"pipeTo",value:function(e,t){return this._getDOMStream().pipeTo(e,t)}},{key:"pipeThrough",value:function(e,t){return this._getDOMStream().pipeThrough(e,t)}},{key:"_getDOMStream",value:function(){return this._DOMStream||(this._DOMStream=this.toDOMStream())}},{key:"_getNodeStream",value:function(){return this._nodeStream||(this._nodeStream=this.toNodeStream())}}]),e}(),pe=function(e){re(n,e);var t=ce(n);function n(){var e;return A(this,n),(e=t.call(this))._values=[],e.resolvers=[],e._closedPromise=new Promise((function(t){return e._closedPromiseResolve=t})),e}return R(n,[{key:"closed",get:function(){return this._closedPromise}},{key:"cancel",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.return(t);case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"write",value:function(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}},{key:"abort",value:function(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}},{key:"close",value:function(){if(this._closedPromiseResolve){for(var e=this.resolvers;e.length>0;)e.shift().resolve(le);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}},{key:Symbol.asyncIterator,value:function(){return this}},{key:"toDOMStream",value:function(e){return It.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}},{key:"toNodeStream",value:function(e){return It.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}},{key:"throw",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.abort(t);case 2:return e.abrupt("return",le);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"return",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.close();case 2:return e.abrupt("return",le);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"read",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next(t,"read");case 2:return e.abrupt("return",e.sent.value);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"peek",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next(t,"peek");case 2:return e.abrupt("return",e.sent.value);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"next",value:function(){var e=this;return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((function(t,n){e.resolvers.push({resolve:t,reject:n})})):Promise.resolve(le)}},{key:"_ensureOpen",value:function(){if(this._closedPromiseResolve)return!0;throw new Error("".concat(this," is closed"))}}]),n}(de),he=function(){var e=function(){throw new Error("BigInt is not available in this environment")};function t(){throw e()}return t.asIntN=function(){throw e()},t.asUintN=function(){throw e()},"undefined"!==typeof BigInt?[BigInt,!0]:[t,!1]}(),ve=Object(L.a)(he,2),ye=ve[0],be=ve[1],me=function(){var e=function(){throw new Error("BigInt64Array is not available in this environment")};return"undefined"!==typeof BigInt64Array?[BigInt64Array,!0]:[function(){function t(){throw A(this,t),e()}return R(t,null,[{key:"BYTES_PER_ELEMENT",get:function(){return 8}},{key:"of",value:function(){throw e()}},{key:"from",value:function(){throw e()}}]),t}(),!1]}(),ge=Object(L.a)(me,2),ke=ge[0],we=(ge[1],function(){var e=function(){throw new Error("BigUint64Array is not available in this environment")};return"undefined"!==typeof BigUint64Array?[BigUint64Array,!0]:[function(){function t(){throw A(this,t),e()}return R(t,null,[{key:"BYTES_PER_ELEMENT",get:function(){return 8}},{key:"of",value:function(){throw e()}},{key:"from",value:function(){throw e()}}]),t}(),!1]}()),_e=Object(L.a)(we,2),Se=_e[0],Oe=(_e[1],function(e){return"number"===typeof e}),xe=function(e){return"boolean"===typeof e},je=function(e){return"function"===typeof e},Te=function(e){return null!=e&&Object(e)===e},Ce=function(e){return Te(e)&&je(e.then)},Ie=function(e){return Te(e)&&je(e[Symbol.iterator])},Ee=function(e){return Te(e)&&je(e[Symbol.asyncIterator])},Ae=function(e){return Te(e)&&Te(e.schema)},Me=function(e){return Te(e)&&"done"in e&&"value"in e},Re=function(e){return Te(e)&&je(e.stat)&&Oe(e.fd)},Pe=function(e){return Te(e)&&De(e.body)},Le=function(e){return Te(e)&&je(e.abort)&&je(e.getWriter)&&!(e instanceof de)},De=function(e){return Te(e)&&je(e.cancel)&&je(e.getReader)&&!(e instanceof de)},Be=function(e){return Te(e)&&je(e.end)&&je(e.write)&&xe(e.writable)&&!(e instanceof de)},Ne=function(e){return Te(e)&&je(e.read)&&je(e.pipe)&&xe(e.readable)&&!(e instanceof de)},Fe=P.mark(at);function ze(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Ue(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Ue(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Ue=function(e){this.s=e,this.n=e.next},Ue.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new Ue(e)}var Ve=U.ByteBuffer,We="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;function He(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.byteLength,i=e.byteLength,a=new Uint8Array(e.buffer,e.byteOffset,i),o=new Uint8Array(t.buffer,t.byteOffset,Math.min(r,i));return a.set(o,n),e}function $e(e,t){for(var n,r,i,a=function(e){for(var t,n,r,i,a,o,u=e[0]?[e[0]]:[],s=0,c=0,l=e.length;++s<l;)if(a=u[c],o=e[s],!a||!o||a.buffer!==o.buffer||o.byteOffset<a.byteOffset)o&&(u[++c]=o);else{var f=a;t=f.byteOffset,r=f.byteLength;var d=o;n=d.byteOffset,i=d.byteLength,t+r<n||n+i<t?o&&(u[++c]=o):u[c]=new Uint8Array(a.buffer,t,n-t+i)}return u}(e),o=a.reduce((function(e,t){return e+t.byteLength}),0),u=0,s=-1,c=Math.min(t||1/0,o),l=a.length;++s<l;){if(c<=u+(r=(n=a[s]).subarray(0,Math.min(n.length,c-u))).length){r.length<n.length?a[s]=n.subarray(r.length):r.length===n.length&&s++,i?He(i,r,u):i=r;break}He(i||(i=new Uint8Array(c)),r,u),u+=r.length}return[i||new Uint8Array(0),a.slice(s),o-(i?i.byteLength:0)]}function Ye(e,t){var n=Me(t)?t.value:t;return n instanceof e?e===Uint8Array?new e(n.buffer,n.byteOffset,n.byteLength):n:n?("string"===typeof n&&(n=te(n)),n instanceof ArrayBuffer||n instanceof We?new e(n):n instanceof Ve?Ye(e,n.bytes()):ArrayBuffer.isView(n)?n.byteLength<=0?new e(0):new e(n.buffer,n.byteOffset,n.byteLength/e.BYTES_PER_ELEMENT):e.from(n)):new e(0)}var qe=function(e){return Ye(Int8Array,e)},Ge=function(e){return Ye(Int16Array,e)},Ke=function(e){return Ye(Int32Array,e)},Qe=function(e){return Ye(ke,e)},Xe=function(e){return Ye(Uint8Array,e)},Je=function(e){return Ye(Uint16Array,e)},Ze=function(e){return Ye(Uint32Array,e)},et=function(e){return Ye(Se,e)},tt=function(e){return Ye(Float32Array,e)},nt=function(e){return Ye(Float64Array,e)},rt=function(e){return Ye(Uint8ClampedArray,e)},it=function(e){return e.next(),e};function at(e,t){var n,r;return P.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return n=P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:case"end":return e.stop()}}),e)})),r="string"===typeof t||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof We?n(t):Ie(t)?t:n(t),i.delegateYield(it(P.mark((function t(n){var r;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=null;case 1:return t.t0=n,t.next=4,Ye(e,r);case 4:t.t1=t.sent,r=t.t0.next.call(t.t0,t.t1);case 6:if(!r.done){t.next=1;break}case 7:case"end":return t.stop()}}),t)}))(r[Symbol.iterator]())),"t0",3);case 3:case"end":return i.stop()}}),Fe)}var ot=function(e){return at(Int8Array,e)},ut=function(e){return at(Int16Array,e)},st=function(e){return at(Int32Array,e)},ct=function(e){return at(Uint8Array,e)},lt=function(e){return at(Uint16Array,e)},ft=function(e){return at(Uint32Array,e)},dt=function(e){return at(Float32Array,e)},pt=function(e){return at(Float64Array,e)},ht=function(e){return at(Uint8ClampedArray,e)};function vt(e,t){return yt.apply(this,arguments)}function yt(){return yt=F(P.mark((function e(t,n){var r,i,a;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Ce(n)){e.next=13;break}return e.t0=z,e.t1=ze,e.t2=vt,e.t3=t,e.next=7,B(n);case 7:return e.t4=e.sent,e.t5=(0,e.t2)(e.t3,e.t4),e.t6=(0,e.t1)(e.t5),e.t7=B,e.delegateYield((0,e.t0)(e.t6,e.t7),"t8",12);case 12:return e.abrupt("return",e.t8);case 13:return r=function(){var e=F(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),i=function(){var e=F(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(z(ze(it(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=null;case 1:return e.t0=t,e.next=4,n&&n.value;case 4:e.t1=e.sent,n=e.t0.next.call(e.t0,e.t1);case 6:if(!n.done){e.next=1;break}case 7:case"end":return e.stop()}}),e)}))(t[Symbol.iterator]()))),B),"t0",1);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),a="string"===typeof n||ArrayBuffer.isView(n)||n instanceof ArrayBuffer||n instanceof We?r(n):Ie(n)?i(n):Ee(n)?n:r(n),e.delegateYield(z(ze(it(function(){var e=F(P.mark((function e(n){var r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=null;case 1:return e.t0=B,e.t1=n,e.next=5,Ye(t,r);case 5:return e.t2=e.sent,e.t3=e.t1.next.call(e.t1,e.t2),e.next=9,(0,e.t0)(e.t3);case 9:r=e.sent;case 10:if(!r.done){e.next=1;break}case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()(a[Symbol.asyncIterator]()))),B),"t9",17);case 17:case"end":return e.stop()}}),e)}))),yt.apply(this,arguments)}var bt=function(e){return vt(Int8Array,e)},mt=function(e){return vt(Int16Array,e)},gt=function(e){return vt(Int32Array,e)},kt=function(e){return vt(Uint8Array,e)},wt=function(e){return vt(Uint16Array,e)},_t=function(e){return vt(Uint32Array,e)},St=function(e){return vt(Float32Array,e)},Ot=function(e){return vt(Float64Array,e)},xt=function(e){return vt(Uint8ClampedArray,e)};function jt(e,t,n){if(0!==e){n=n.slice(0,t+1);for(var r=-1;++r<=t;)n[r]+=e}return n}function Tt(e,t){var n=0,r=e.length;if(r!==t.length)return!1;if(r>0)do{if(e[n]!==t[n])return!1}while(++n<r);return!0}var Ct=P.mark(At),It={fromIterable:function(e){return Et(At(e))},fromAsyncIterable:function(e){return Et(function(e){return Mt.apply(this,arguments)}(e))},fromDOMStream:function(e){return Et(function(e){return Rt.apply(this,arguments)}(e))},fromNodeStream:function(e){return Et(function(e){return Nt.apply(this,arguments)}(e))},toDOMStream:function(e,t){throw new Error('"toDOMStream" not available in this environment')},toNodeStream:function(e,t){throw new Error('"toNodeStream" not available in this environment')}},Et=function(e){return e.next(),e};function At(e){var t,n,r,i,a,o,u,s,c,l,f,d;return P.wrap((function(p){for(;;)switch(p.prev=p.next){case 0:return s=function(){if("peek"===a)return $e(r,o)[0];var e=$e(r,o),t=Object(L.a)(e,3);return i=t[0],r=t[1],u=t[2],i},n=!1,r=[],u=0,p.next=6,null;case 6:c=p.sent,a=c.cmd,o=c.size,l=ct(e)[Symbol.iterator](),p.prev=10;case 11:if(f=isNaN(o-u)?l.next(void 0):l.next(o-u),t=f.done,i=f.value,!t&&i.byteLength>0&&(r.push(i),u+=i.byteLength),!(t||o<=u)){p.next=22;break}case 16:return p.next=18,s();case 18:d=p.sent,a=d.cmd,o=d.size;case 21:if(o<u){p.next=16;break}case 22:if(!t){p.next=11;break}case 23:p.next=28;break;case 25:p.prev=25,p.t0=p.catch(10),(n=!0)&&"function"===typeof l.throw&&l.throw(p.t0);case 28:return p.prev=28,!1===n&&"function"===typeof l.return&&l.return(),p.finish(28);case 31:case"end":return p.stop()}}),Ct,null,[[10,25,28,31]])}function Mt(){return(Mt=F(P.mark((function e(t){var n,r,i,a,o,u,s,c,l,f,d,p;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=function(){if("peek"===o)return $e(i,u)[0];var e=$e(i,u),t=Object(L.a)(e,3);return a=t[0],i=t[1],s=t[2],a},r=!1,i=[],s=0,e.next=6,null;case 6:l=e.sent,o=l.cmd,u=l.size,f=kt(t)[Symbol.asyncIterator](),e.prev=10;case 11:if(!isNaN(u-s)){e.next=17;break}return e.next=14,B(f.next(void 0));case 14:e.t0=e.sent,e.next=20;break;case 17:return e.next=19,B(f.next(u-s));case 19:e.t0=e.sent;case 20:if(d=e.t0,n=d.done,a=d.value,!n&&a.byteLength>0&&(i.push(a),s+=a.byteLength),!(n||u<=s)){e.next=31;break}case 25:return e.next=27,c();case 27:p=e.sent,o=p.cmd,u=p.size;case 30:if(u<s){e.next=25;break}case 31:if(!n){e.next=11;break}case 32:e.next=40;break;case 34:if(e.prev=34,e.t1=e.catch(10),e.t2=(r=!0)&&"function"===typeof f.throw,!e.t2){e.next=40;break}return e.next=40,B(f.throw(e.t1));case 40:if(e.prev=40,e.t3=!1===r&&"function"===typeof f.return,!e.t3){e.next=45;break}return e.next=45,B(f.return());case 45:return e.finish(40);case 46:case"end":return e.stop()}}),e,null,[[10,34,40,46]])})))).apply(this,arguments)}function Rt(){return(Rt=F(P.mark((function e(t){var n,r,i,a,o,u,s,c,l,f,d,p;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=function(){if("peek"===o)return $e(i,u)[0];var e=$e(i,u),t=Object(L.a)(e,3);return a=t[0],i=t[1],s=t[2],a},n=!1,r=!1,i=[],s=0,e.next=6,null;case 6:l=e.sent,o=l.cmd,u=l.size,f=new Pt(t),e.prev=10;case 11:if(!isNaN(u-s)){e.next=17;break}return e.next=14,B(f.read(void 0));case 14:e.t0=e.sent,e.next=20;break;case 17:return e.next=19,B(f.read(u-s));case 19:e.t0=e.sent;case 20:if(d=e.t0,n=d.done,a=d.value,!n&&a.byteLength>0&&(i.push(Xe(a)),s+=a.byteLength),!(n||u<=s)){e.next=31;break}case 25:return e.next=27,c();case 27:p=e.sent,o=p.cmd,u=p.size;case 30:if(u<s){e.next=25;break}case 31:if(!n){e.next=11;break}case 32:e.next=40;break;case 34:if(e.prev=34,e.t1=e.catch(10),e.t2=r=!0,!e.t2){e.next=40;break}return e.next=40,B(f.cancel(e.t1));case 40:if(e.prev=40,!1!==r){e.next=46;break}return e.next=44,B(f.cancel());case 44:e.next=47;break;case 46:t.locked&&f.releaseLock();case 47:return e.finish(40);case 48:case"end":return e.stop()}}),e,null,[[10,34,40,48]])})))).apply(this,arguments)}var Pt=function(){function e(t){A(this,e),this.source=t,this.byobReader=null,this.defaultReader=null;try{this.supportsBYOB=!!(this.reader=this.getBYOBReader())}catch(n){this.supportsBYOB=!(this.reader=this.getDefaultReader())}}return R(e,[{key:"closed",get:function(){return this.reader?this.reader.closed.catch((function(){})):Promise.resolve()}},{key:"releaseLock",value:function(){this.reader&&this.reader.releaseLock(),this.reader=this.byobReader=this.defaultReader=null}},{key:"cancel",value:function(){var e=Object(E.a)(P.mark((function e(t){var n,r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.reader,r=this.source,e.t0=n,!e.t0){e.next=5;break}return e.next=5,n.cancel(t).catch((function(){}));case 5:r&&r.locked&&this.releaseLock();case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"read",value:function(){var e=Object(E.a)(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t){e.next=2;break}return e.abrupt("return",{done:null==this.reader,value:new Uint8Array(0)});case 2:if(this.supportsBYOB&&"number"===typeof t){e.next=8;break}return e.next=5,this.getDefaultReader().read();case 5:e.t0=e.sent,e.next=11;break;case 8:return e.next=10,this.readFromBYOBReader(t);case 10:e.t0=e.sent;case 11:return!(n=e.t0).done&&(n.value=Xe(n)),e.abrupt("return",n);case 14:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getDefaultReader",value:function(){return this.byobReader&&this.releaseLock(),this.defaultReader||(this.defaultReader=this.source.getReader(),this.defaultReader.closed.catch((function(){}))),this.reader=this.defaultReader}},{key:"getBYOBReader",value:function(){return this.defaultReader&&this.releaseLock(),this.byobReader||(this.byobReader=this.source.getReader({mode:"byob"}),this.byobReader.closed.catch((function(){}))),this.reader=this.byobReader}},{key:"readFromBYOBReader",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Lt(this.getBYOBReader(),new ArrayBuffer(t),0,t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}();function Lt(e,t,n,r){return Dt.apply(this,arguments)}function Dt(){return(Dt=Object(E.a)(P.mark((function e(t,n,r,i){var a,o,u;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r>=i)){e.next=2;break}return e.abrupt("return",{done:!1,value:new Uint8Array(n,0,i)});case 2:return e.next=4,t.read(new Uint8Array(n,r,i-r));case 4:if(a=e.sent,o=a.done,u=a.value,!((r+=u.byteLength)<i)||o){e.next=11;break}return e.next=10,Lt(t,u.buffer,r,i);case 10:return e.abrupt("return",e.sent);case 11:return e.abrupt("return",{done:o,value:new Uint8Array(u.buffer,0,r)});case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Bt=function(e,t){var n,r=function(e){return n([t,e])};return[t,r,new Promise((function(i){return(n=i)&&e.once(t,r)}))]};function Nt(){return Nt=F(P.mark((function e(t){var n,r,i,a,o,u,s,c,l,f,d,p,h,v,y;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y=function(e,n){return l=c=null,new Promise(function(){var r=Object(E.a)(P.mark((function r(i,a){var o,u,s,c,l,f;return P.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:o=Object(I.a)(e);try{for(o.s();!(u=o.n()).done;)s=Object(L.a)(u.value,2),c=s[0],l=s[1],t.off(c,l)}catch(n){o.e(n)}finally{o.f()}try{(f=t.destroy)&&f.call(t,n),n=void 0}catch(d){n=d||n}finally{null!=n?a(n):i()}case 3:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}())},f=function(){if("peek"===o)return $e(c,u)[0];var e=$e(c,u),t=Object(L.a)(e,3);return l=t[0],c=t[1],s=t[2],l},n=[],r="error",i=!1,a=null,s=0,c=[],e.next=9,null;case 9:if(d=e.sent,o=d.cmd,u=d.size,!t.isTTY){e.next=16;break}return e.next=15,new Uint8Array(0);case 15:return e.abrupt("return",e.sent);case 16:e.prev=16,n[0]=Bt(t,"end"),n[1]=Bt(t,"error");case 19:return n[2]=Bt(t,"readable"),e.next=22,B(Promise.race(n.map((function(e){return e[2]}))));case 22:if(p=e.sent,h=Object(L.a)(p,2),r=h[0],a=h[1],"error"!==r){e.next=28;break}return e.abrupt("break",37);case 28:if((i="end"===r)||(isFinite(u-s)?(l=Xe(t.read(u-s))).byteLength<u-s&&(l=Xe(t.read(void 0))):l=Xe(t.read(void 0)),l.byteLength>0&&(c.push(l),s+=l.byteLength)),!(i||u<=s)){e.next=36;break}case 30:return e.next=32,f();case 32:v=e.sent,o=v.cmd,u=v.size;case 35:if(u<s){e.next=30;break}case 36:if(!i){e.next=19;break}case 37:return e.prev=37,e.next=40,B(y(n,"error"===r?a:null));case 40:return e.finish(37);case 41:case"end":return e.stop()}}),e,null,[[16,,37,41]])}))),Nt.apply(this,arguments)}var Ft=n(9);function zt(e,t,n){return zt="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ie(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},zt(e,t,n||e)}var Ut,Vt,Wt,Ht,$t,Yt,qt=function e(){A(this,e)};$t=Ut||(Ut={}),Ht=$t.apache||($t.apache={}),Wt=Ht.arrow||(Ht.arrow={}),function(e){e[e.V1=0]="V1",e[e.V2=1]="V2",e[e.V3=2]="V3",e[e.V4=3]="V4"}((Vt=Wt.flatbuf||(Wt.flatbuf={})).MetadataVersion||(Vt.MetadataVersion={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.Sparse=0]="Sparse",e[e.Dense=1]="Dense"}(e.UnionMode||(e.UnionMode={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.HALF=0]="HALF",e[e.SINGLE=1]="SINGLE",e[e.DOUBLE=2]="DOUBLE"}(e.Precision||(e.Precision={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.DAY=0]="DAY",e[e.MILLISECOND=1]="MILLISECOND"}(e.DateUnit||(e.DateUnit={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.SECOND=0]="SECOND",e[e.MILLISECOND=1]="MILLISECOND",e[e.MICROSECOND=2]="MICROSECOND",e[e.NANOSECOND=3]="NANOSECOND"}(e.TimeUnit||(e.TimeUnit={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.YEAR_MONTH=0]="YEAR_MONTH",e[e.DAY_TIME=1]="DAY_TIME"}(e.IntervalUnit||(e.IntervalUnit={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.NONE=0]="NONE",e[e.Null=1]="Null",e[e.Int=2]="Int",e[e.FloatingPoint=3]="FloatingPoint",e[e.Binary=4]="Binary",e[e.Utf8=5]="Utf8",e[e.Bool=6]="Bool",e[e.Decimal=7]="Decimal",e[e.Date=8]="Date",e[e.Time=9]="Time",e[e.Timestamp=10]="Timestamp",e[e.Interval=11]="Interval",e[e.List=12]="List",e[e.Struct_=13]="Struct_",e[e.Union=14]="Union",e[e.FixedSizeBinary=15]="FixedSizeBinary",e[e.FixedSizeList=16]="FixedSizeList",e[e.Map=17]="Map",e[e.Duration=18]="Duration",e[e.LargeBinary=19]="LargeBinary",e[e.LargeUtf8=20]="LargeUtf8",e[e.LargeList=21]="LargeList"}(e.Type||(e.Type={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"}(e.Endianness||(e.Endianness={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsNull",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startNull",value:function(e){e.startObject(0)}},{key:"endNull",value:function(e){return e.endObject()}},{key:"createNull",value:function(t){return e.startNull(t),e.endNull(t)}}]),e}();e.Null=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsStruct_",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startStruct_",value:function(e){e.startObject(0)}},{key:"endStruct_",value:function(e){return e.endObject()}},{key:"createStruct_",value:function(t){return e.startStruct_(t),e.endStruct_(t)}}]),e}();e.Struct_=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsList",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startList",value:function(e){e.startObject(0)}},{key:"endList",value:function(e){return e.endObject()}},{key:"createList",value:function(t){return e.startList(t),e.endList(t)}}]),e}();e.List=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsLargeList",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startLargeList",value:function(e){e.startObject(0)}},{key:"endLargeList",value:function(e){return e.endObject()}},{key:"createLargeList",value:function(t){return e.startLargeList(t),e.endLargeList(t)}}]),e}();e.LargeList=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"listSize",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}}],[{key:"getRootAsFixedSizeList",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startFixedSizeList",value:function(e){e.startObject(1)}},{key:"addListSize",value:function(e,t){e.addFieldInt32(0,t,0)}},{key:"endFixedSizeList",value:function(e){return e.endObject()}},{key:"createFixedSizeList",value:function(t,n){return e.startFixedSizeList(t),e.addListSize(t,n),e.endFixedSizeList(t)}}]),e}();e.FixedSizeList=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"keysSorted",value:function(){var e=this.bb.__offset(this.bb_pos,4);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}}],[{key:"getRootAsMap",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startMap",value:function(e){e.startObject(1)}},{key:"addKeysSorted",value:function(e,t){e.addFieldInt8(0,+t,0)}},{key:"endMap",value:function(e){return e.endObject()}},{key:"createMap",value:function(t,n){return e.startMap(t),e.addKeysSorted(t,n),e.endMap(t)}}]),e}();e.Map=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"mode",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.UnionMode.Sparse}},{key:"typeIds",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readInt32(this.bb.__vector(this.bb_pos+t)+4*e):0}},{key:"typeIdsLength",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"typeIdsArray",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}}],[{key:"getRootAsUnion",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startUnion",value:function(e){e.startObject(2)}},{key:"addMode",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.UnionMode.Sparse)}},{key:"addTypeIds",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"createTypeIdsVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addInt32(t[n]);return e.endVector()}},{key:"startTypeIdsVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endUnion",value:function(e){return e.endObject()}},{key:"createUnion",value:function(e,n,r){return t.startUnion(e),t.addMode(e,n),t.addTypeIds(e,r),t.endUnion(e)}}]),t}();t.Union=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"bitWidth",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}},{key:"isSigned",value:function(){var e=this.bb.__offset(this.bb_pos,6);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}}],[{key:"getRootAsInt",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startInt",value:function(e){e.startObject(2)}},{key:"addBitWidth",value:function(e,t){e.addFieldInt32(0,t,0)}},{key:"addIsSigned",value:function(e,t){e.addFieldInt8(1,+t,0)}},{key:"endInt",value:function(e){return e.endObject()}},{key:"createInt",value:function(t,n,r){return e.startInt(t),e.addBitWidth(t,n),e.addIsSigned(t,r),e.endInt(t)}}]),e}();e.Int=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"precision",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.Precision.HALF}}],[{key:"getRootAsFloatingPoint",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startFloatingPoint",value:function(e){e.startObject(1)}},{key:"addPrecision",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.Precision.HALF)}},{key:"endFloatingPoint",value:function(e){return e.endObject()}},{key:"createFloatingPoint",value:function(e,n){return t.startFloatingPoint(e),t.addPrecision(e,n),t.endFloatingPoint(e)}}]),t}();t.FloatingPoint=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsUtf8",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startUtf8",value:function(e){e.startObject(0)}},{key:"endUtf8",value:function(e){return e.endObject()}},{key:"createUtf8",value:function(t){return e.startUtf8(t),e.endUtf8(t)}}]),e}();e.Utf8=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsBinary",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startBinary",value:function(e){e.startObject(0)}},{key:"endBinary",value:function(e){return e.endObject()}},{key:"createBinary",value:function(t){return e.startBinary(t),e.endBinary(t)}}]),e}();e.Binary=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsLargeUtf8",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startLargeUtf8",value:function(e){e.startObject(0)}},{key:"endLargeUtf8",value:function(e){return e.endObject()}},{key:"createLargeUtf8",value:function(t){return e.startLargeUtf8(t),e.endLargeUtf8(t)}}]),e}();e.LargeUtf8=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsLargeBinary",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startLargeBinary",value:function(e){e.startObject(0)}},{key:"endLargeBinary",value:function(e){return e.endObject()}},{key:"createLargeBinary",value:function(t){return e.startLargeBinary(t),e.endLargeBinary(t)}}]),e}();e.LargeBinary=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"byteWidth",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}}],[{key:"getRootAsFixedSizeBinary",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startFixedSizeBinary",value:function(e){e.startObject(1)}},{key:"addByteWidth",value:function(e,t){e.addFieldInt32(0,t,0)}},{key:"endFixedSizeBinary",value:function(e){return e.endObject()}},{key:"createFixedSizeBinary",value:function(t,n){return e.startFixedSizeBinary(t),e.addByteWidth(t,n),e.endFixedSizeBinary(t)}}]),e}();e.FixedSizeBinary=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}}],[{key:"getRootAsBool",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startBool",value:function(e){e.startObject(0)}},{key:"endBool",value:function(e){return e.endObject()}},{key:"createBool",value:function(t){return e.startBool(t),e.endBool(t)}}]),e}();e.Bool=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"precision",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}},{key:"scale",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):0}}],[{key:"getRootAsDecimal",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startDecimal",value:function(e){e.startObject(2)}},{key:"addPrecision",value:function(e,t){e.addFieldInt32(0,t,0)}},{key:"addScale",value:function(e,t){e.addFieldInt32(1,t,0)}},{key:"endDecimal",value:function(e){return e.endObject()}},{key:"createDecimal",value:function(t,n,r){return e.startDecimal(t),e.addPrecision(t,n),e.addScale(t,r),e.endDecimal(t)}}]),e}();e.Decimal=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.DateUnit.MILLISECOND}}],[{key:"getRootAsDate",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDate",value:function(e){e.startObject(1)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.DateUnit.MILLISECOND)}},{key:"endDate",value:function(e){return e.endObject()}},{key:"createDate",value:function(e,n){return t.startDate(e),t.addUnit(e,n),t.endDate(e)}}]),t}();t.Date=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.TimeUnit.MILLISECOND}},{key:"bitWidth",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):32}}],[{key:"getRootAsTime",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startTime",value:function(e){e.startObject(2)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}},{key:"addBitWidth",value:function(e,t){e.addFieldInt32(1,t,32)}},{key:"endTime",value:function(e){return e.endObject()}},{key:"createTime",value:function(e,n,r){return t.startTime(e),t.addUnit(e,n),t.addBitWidth(e,r),t.endTime(e)}}]),t}();t.Time=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.TimeUnit.SECOND}},{key:"timezone",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,e):null}}],[{key:"getRootAsTimestamp",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startTimestamp",value:function(e){e.startObject(2)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.TimeUnit.SECOND)}},{key:"addTimezone",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"endTimestamp",value:function(e){return e.endObject()}},{key:"createTimestamp",value:function(e,n,r){return t.startTimestamp(e),t.addUnit(e,n),t.addTimezone(e,r),t.endTimestamp(e)}}]),t}();t.Timestamp=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH}}],[{key:"getRootAsInterval",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startInterval",value:function(e){e.startObject(1)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH)}},{key:"endInterval",value:function(e){return e.endObject()}},{key:"createInterval",value:function(e,n){return t.startInterval(e),t.addUnit(e,n),t.endInterval(e)}}]),t}();t.Interval=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"unit",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.TimeUnit.MILLISECOND}}],[{key:"getRootAsDuration",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDuration",value:function(e){e.startObject(1)}},{key:"addUnit",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}},{key:"endDuration",value:function(e){return e.endObject()}},{key:"createDuration",value:function(e,n){return t.startDuration(e),t.addUnit(e,n),t.endDuration(e)}}]),t}();t.Duration=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"key",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"value",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,e):null}}],[{key:"getRootAsKeyValue",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startKeyValue",value:function(e){e.startObject(2)}},{key:"addKey",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"addValue",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"endKeyValue",value:function(e){return e.endObject()}},{key:"createKeyValue",value:function(t,n,r){return e.startKeyValue(t),e.addKey(t,n),e.addValue(t,r),e.endKeyValue(t)}}]),e}();e.KeyValue=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"id",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}},{key:"indexType",value:function(t){var n=this.bb.__offset(this.bb_pos,6);return n?(t||new e.apache.arrow.flatbuf.Int).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"isOrdered",value:function(){var e=this.bb.__offset(this.bb_pos,8);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}}],[{key:"getRootAsDictionaryEncoding",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDictionaryEncoding",value:function(e){e.startObject(3)}},{key:"addId",value:function(e,t){e.addFieldInt64(0,t,e.createLong(0,0))}},{key:"addIndexType",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"addIsOrdered",value:function(e,t){e.addFieldInt8(2,+t,0)}},{key:"endDictionaryEncoding",value:function(e){return e.endObject()}},{key:"createDictionaryEncoding",value:function(e,n,r,i){return t.startDictionaryEncoding(e),t.addId(e,n),t.addIndexType(e,r),t.addIsOrdered(e,i),t.endDictionaryEncoding(e)}}]),t}();t.DictionaryEncoding=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"name",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"nullable",value:function(){var e=this.bb.__offset(this.bb_pos,6);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}},{key:"typeType",value:function(){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.readUint8(this.bb_pos+t):e.apache.arrow.flatbuf.Type.NONE}},{key:"type",value:function(e){var t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__union(e,this.bb_pos+t):null}},{key:"dictionary",value:function(t){var n=this.bb.__offset(this.bb_pos,12);return n?(t||new e.apache.arrow.flatbuf.DictionaryEncoding).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"children",value:function(t,n){var r=this.bb.__offset(this.bb_pos,14);return r?(n||new e.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*t),this.bb):null}},{key:"childrenLength",value:function(){var e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"customMetadata",value:function(t,n){var r=this.bb.__offset(this.bb_pos,16);return r?(n||new e.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*t),this.bb):null}},{key:"customMetadataLength",value:function(){var e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsField",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startField",value:function(e){e.startObject(7)}},{key:"addName",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"addNullable",value:function(e,t){e.addFieldInt8(1,+t,0)}},{key:"addTypeType",value:function(t,n){t.addFieldInt8(2,n,e.apache.arrow.flatbuf.Type.NONE)}},{key:"addType",value:function(e,t){e.addFieldOffset(3,t,0)}},{key:"addDictionary",value:function(e,t){e.addFieldOffset(4,t,0)}},{key:"addChildren",value:function(e,t){e.addFieldOffset(5,t,0)}},{key:"createChildrenVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startChildrenVector",value:function(e,t){e.startVector(4,t,4)}},{key:"addCustomMetadata",value:function(e,t){e.addFieldOffset(6,t,0)}},{key:"createCustomMetadataVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startCustomMetadataVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endField",value:function(e){return e.endObject()}},{key:"createField",value:function(e,n,r,i,a,o,u,s){return t.startField(e),t.addName(e,n),t.addNullable(e,r),t.addTypeType(e,i),t.addType(e,a),t.addDictionary(e,o),t.addChildren(e,u),t.addCustomMetadata(e,s),t.endField(e)}}]),t}();t.Field=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"offset",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"length",value:function(){return this.bb.readInt64(this.bb_pos+8)}}],[{key:"createBuffer",value:function(e,t,n){return e.prep(8,16),e.writeInt64(n),e.writeInt64(t),e.offset()}}]),e}();e.Buffer=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"endianness",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):e.apache.arrow.flatbuf.Endianness.Little}},{key:"fields",value:function(t,n){var r=this.bb.__offset(this.bb_pos,6);return r?(n||new e.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*t),this.bb):null}},{key:"fieldsLength",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"customMetadata",value:function(t,n){var r=this.bb.__offset(this.bb_pos,8);return r?(n||new e.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*t),this.bb):null}},{key:"customMetadataLength",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsSchema",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startSchema",value:function(e){e.startObject(3)}},{key:"addEndianness",value:function(t,n){t.addFieldInt16(0,n,e.apache.arrow.flatbuf.Endianness.Little)}},{key:"addFields",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"createFieldsVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startFieldsVector",value:function(e,t){e.startVector(4,t,4)}},{key:"addCustomMetadata",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"createCustomMetadataVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startCustomMetadataVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endSchema",value:function(e){return e.endObject()}},{key:"finishSchemaBuffer",value:function(e,t){e.finish(t)}},{key:"createSchema",value:function(e,n,r,i){return t.startSchema(e),t.addEndianness(e,n),t.addFields(e,r),t.addCustomMetadata(e,i),t.endSchema(e)}}]),t}();t.Schema=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Ut||(Ut={})),function(e){!function(e){!function(e){!function(e){e.Schema=Ut.apache.arrow.flatbuf.Schema}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Yt||(Yt={})),function(e){!function(e){!function(e){!function(e){!function(e){e[e.NONE=0]="NONE",e[e.Schema=1]="Schema",e[e.DictionaryBatch=2]="DictionaryBatch",e[e.RecordBatch=3]="RecordBatch",e[e.Tensor=4]="Tensor",e[e.SparseTensor=5]="SparseTensor"}(e.MessageHeader||(e.MessageHeader={}))}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Yt||(Yt={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"length",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"nullCount",value:function(){return this.bb.readInt64(this.bb_pos+8)}}],[{key:"createFieldNode",value:function(e,t,n){return e.prep(8,16),e.writeInt64(n),e.writeInt64(t),e.offset()}}]),e}();e.FieldNode=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Yt||(Yt={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"length",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}},{key:"nodes",value:function(t,n){var r=this.bb.__offset(this.bb_pos,6);return r?(n||new e.apache.arrow.flatbuf.FieldNode).__init(this.bb.__vector(this.bb_pos+r)+16*t,this.bb):null}},{key:"nodesLength",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"buffers",value:function(e,t){var n=this.bb.__offset(this.bb_pos,8);return n?(t||new Ut.apache.arrow.flatbuf.Buffer).__init(this.bb.__vector(this.bb_pos+n)+16*e,this.bb):null}},{key:"buffersLength",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsRecordBatch",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startRecordBatch",value:function(e){e.startObject(3)}},{key:"addLength",value:function(e,t){e.addFieldInt64(0,t,e.createLong(0,0))}},{key:"addNodes",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"startNodesVector",value:function(e,t){e.startVector(16,t,8)}},{key:"addBuffers",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"startBuffersVector",value:function(e,t){e.startVector(16,t,8)}},{key:"endRecordBatch",value:function(e){return e.endObject()}},{key:"createRecordBatch",value:function(e,n,r,i){return t.startRecordBatch(e),t.addLength(e,n),t.addNodes(e,r),t.addBuffers(e,i),t.endRecordBatch(e)}}]),t}();t.RecordBatch=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Yt||(Yt={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"id",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}},{key:"data",value:function(t){var n=this.bb.__offset(this.bb_pos,6);return n?(t||new e.apache.arrow.flatbuf.RecordBatch).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"isDelta",value:function(){var e=this.bb.__offset(this.bb_pos,8);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}}],[{key:"getRootAsDictionaryBatch",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDictionaryBatch",value:function(e){e.startObject(3)}},{key:"addId",value:function(e,t){e.addFieldInt64(0,t,e.createLong(0,0))}},{key:"addData",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"addIsDelta",value:function(e,t){e.addFieldInt8(2,+t,0)}},{key:"endDictionaryBatch",value:function(e){return e.endObject()}},{key:"createDictionaryBatch",value:function(e,n,r,i){return t.startDictionaryBatch(e),t.addId(e,n),t.addData(e,r),t.addIsDelta(e,i),t.endDictionaryBatch(e)}}]),t}();t.DictionaryBatch=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Yt||(Yt={})),function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"version",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Ut.apache.arrow.flatbuf.MetadataVersion.V1}},{key:"headerType",value:function(){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readUint8(this.bb_pos+t):e.apache.arrow.flatbuf.MessageHeader.NONE}},{key:"header",value:function(e){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__union(e,this.bb_pos+t):null}},{key:"bodyLength",value:function(){var e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}},{key:"customMetadata",value:function(e,t){var n=this.bb.__offset(this.bb_pos,12);return n?(t||new Ut.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}},{key:"customMetadataLength",value:function(){var e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsMessage",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startMessage",value:function(e){e.startObject(5)}},{key:"addVersion",value:function(e,t){e.addFieldInt16(0,t,Ut.apache.arrow.flatbuf.MetadataVersion.V1)}},{key:"addHeaderType",value:function(t,n){t.addFieldInt8(1,n,e.apache.arrow.flatbuf.MessageHeader.NONE)}},{key:"addHeader",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"addBodyLength",value:function(e,t){e.addFieldInt64(3,t,e.createLong(0,0))}},{key:"addCustomMetadata",value:function(e,t){e.addFieldOffset(4,t,0)}},{key:"createCustomMetadataVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startCustomMetadataVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endMessage",value:function(e){return e.endObject()}},{key:"finishMessageBuffer",value:function(e,t){e.finish(t)}},{key:"createMessage",value:function(e,n,r,i,a,o){return t.startMessage(e),t.addVersion(e,n),t.addHeaderType(e,r),t.addHeader(e,i),t.addBodyLength(e,a),t.addCustomMetadata(e,o),t.endMessage(e)}}]),t}();t.Message=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Yt||(Yt={}));Ut.apache.arrow.flatbuf.Type;var Gt,Kt,Qt=Ut.apache.arrow.flatbuf.DateUnit,Xt=Ut.apache.arrow.flatbuf.TimeUnit,Jt=Ut.apache.arrow.flatbuf.Precision,Zt=Ut.apache.arrow.flatbuf.UnionMode,en=Ut.apache.arrow.flatbuf.IntervalUnit,tn=Yt.apache.arrow.flatbuf.MessageHeader,nn=Ut.apache.arrow.flatbuf.MetadataVersion;!function(e){e[e.NONE=0]="NONE",e[e.Null=1]="Null",e[e.Int=2]="Int",e[e.Float=3]="Float",e[e.Binary=4]="Binary",e[e.Utf8=5]="Utf8",e[e.Bool=6]="Bool",e[e.Decimal=7]="Decimal",e[e.Date=8]="Date",e[e.Time=9]="Time",e[e.Timestamp=10]="Timestamp",e[e.Interval=11]="Interval",e[e.List=12]="List",e[e.Struct=13]="Struct",e[e.Union=14]="Union",e[e.FixedSizeBinary=15]="FixedSizeBinary",e[e.FixedSizeList=16]="FixedSizeList",e[e.Map=17]="Map",e[e.Dictionary=-1]="Dictionary",e[e.Int8=-2]="Int8",e[e.Int16=-3]="Int16",e[e.Int32=-4]="Int32",e[e.Int64=-5]="Int64",e[e.Uint8=-6]="Uint8",e[e.Uint16=-7]="Uint16",e[e.Uint32=-8]="Uint32",e[e.Uint64=-9]="Uint64",e[e.Float16=-10]="Float16",e[e.Float32=-11]="Float32",e[e.Float64=-12]="Float64",e[e.DateDay=-13]="DateDay",e[e.DateMillisecond=-14]="DateMillisecond",e[e.TimestampSecond=-15]="TimestampSecond",e[e.TimestampMillisecond=-16]="TimestampMillisecond",e[e.TimestampMicrosecond=-17]="TimestampMicrosecond",e[e.TimestampNanosecond=-18]="TimestampNanosecond",e[e.TimeSecond=-19]="TimeSecond",e[e.TimeMillisecond=-20]="TimeMillisecond",e[e.TimeMicrosecond=-21]="TimeMicrosecond",e[e.TimeNanosecond=-22]="TimeNanosecond",e[e.DenseUnion=-23]="DenseUnion",e[e.SparseUnion=-24]="SparseUnion",e[e.IntervalDayTime=-25]="IntervalDayTime",e[e.IntervalYearMonth=-26]="IntervalYearMonth"}(Gt||(Gt={})),function(e){e[e.OFFSET=0]="OFFSET",e[e.DATA=1]="DATA",e[e.VALIDITY=2]="VALIDITY",e[e.TYPE=3]="TYPE"}(Kt||(Kt={}));var rn=P.mark(ln);function an(e,t,n,r){return 0!==(n&1<<r)}function on(e,t,n,r){return(n&1<<r)>>r}function un(e,t,n){return n?!!(e[t>>3]|=1<<t%8)||!0:!(e[t>>3]&=~(1<<t%8))&&!1}function sn(e,t,n){var r=n.byteLength+7&-8;if(e>0||n.byteLength<r){var i=new Uint8Array(r);return i.set(e%8===0?n.subarray(e>>3):cn(ln(n,e,t,null,an)).subarray(0,r)),i}return n}function cn(e){var t,n=[],r=0,i=0,a=0,o=Object(I.a)(e);try{for(o.s();!(t=o.n()).done;){t.value&&(a|=1<<i),8===++i&&(n[r++]=a,a=i=0)}}catch(s){o.e(s)}finally{o.f()}(0===r||i>0)&&(n[r++]=a);var u=new Uint8Array(n.length+7&-8);return u.set(n),u}function ln(e,t,n,r,i){var a,o,u,s,c;return P.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:a=t%8,o=t>>3,u=0,s=n;case 3:if(!(s>0)){l.next=11;break}c=e[o++];case 5:return l.next=7,i(r,u++,c,a);case 7:if(--s>0&&++a<8){l.next=5;break}case 8:a=0,l.next=3;break;case 11:case"end":return l.stop()}}),rn)}function fn(e,t,n){if(n-t<=0)return 0;if(n-t<8){var r,i=0,a=Object(I.a)(ln(e,t,n-t,e,on));try{for(a.s();!(r=a.n()).done;){i+=r.value}}catch(s){a.e(s)}finally{a.f()}return i}var o=n>>3<<3,u=t+(t%8===0?0:8-t%8);return fn(e,t,u)+fn(e,o,n)+dn(e,u>>3,o-u>>3)}function dn(e,t,n){for(var r=0,i=0|t,a=new DataView(e.buffer,e.byteOffset,e.byteLength),o=void 0===n?e.byteLength:i+n;o-i>=4;)r+=pn(a.getUint32(i)),i+=4;for(;o-i>=2;)r+=pn(a.getUint16(i)),i+=2;for(;o-i>=1;)r+=pn(a.getUint8(i)),i+=1;return r}function pn(e){var t=0|e;return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24}var hn=n(4),vn=function(){function e(){A(this,e)}return R(e,[{key:"visitMany",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e.map((function(e,n){return t.visit.apply(t,[e].concat(Object(hn.a)(r.map((function(e){return e[n]})))))}))}},{key:"visit",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.getVisitFn(t[0],!1).apply(this,t)}},{key:"getVisitFn",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return yn(this,e,t)}},{key:"visitNull",value:function(e){return null}},{key:"visitBool",value:function(e){return null}},{key:"visitInt",value:function(e){return null}},{key:"visitFloat",value:function(e){return null}},{key:"visitUtf8",value:function(e){return null}},{key:"visitBinary",value:function(e){return null}},{key:"visitFixedSizeBinary",value:function(e){return null}},{key:"visitDate",value:function(e){return null}},{key:"visitTimestamp",value:function(e){return null}},{key:"visitTime",value:function(e){return null}},{key:"visitDecimal",value:function(e){return null}},{key:"visitList",value:function(e){return null}},{key:"visitStruct",value:function(e){return null}},{key:"visitUnion",value:function(e){return null}},{key:"visitDictionary",value:function(e){return null}},{key:"visitInterval",value:function(e){return null}},{key:"visitFixedSizeList",value:function(e){return null}},{key:"visitMap",value:function(e){return null}}]),e}();function yn(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=null,i=Gt.NONE;switch(t instanceof fr||t instanceof qt?i=bn(t.type):t instanceof En?i=bn(t):"number"!==typeof(i=t)&&(i=Gt[t]),i){case Gt.Null:r=e.visitNull;break;case Gt.Bool:r=e.visitBool;break;case Gt.Int:r=e.visitInt;break;case Gt.Int8:r=e.visitInt8||e.visitInt;break;case Gt.Int16:r=e.visitInt16||e.visitInt;break;case Gt.Int32:r=e.visitInt32||e.visitInt;break;case Gt.Int64:r=e.visitInt64||e.visitInt;break;case Gt.Uint8:r=e.visitUint8||e.visitInt;break;case Gt.Uint16:r=e.visitUint16||e.visitInt;break;case Gt.Uint32:r=e.visitUint32||e.visitInt;break;case Gt.Uint64:r=e.visitUint64||e.visitInt;break;case Gt.Float:r=e.visitFloat;break;case Gt.Float16:r=e.visitFloat16||e.visitFloat;break;case Gt.Float32:r=e.visitFloat32||e.visitFloat;break;case Gt.Float64:r=e.visitFloat64||e.visitFloat;break;case Gt.Utf8:r=e.visitUtf8;break;case Gt.Binary:r=e.visitBinary;break;case Gt.FixedSizeBinary:r=e.visitFixedSizeBinary;break;case Gt.Date:r=e.visitDate;break;case Gt.DateDay:r=e.visitDateDay||e.visitDate;break;case Gt.DateMillisecond:r=e.visitDateMillisecond||e.visitDate;break;case Gt.Timestamp:r=e.visitTimestamp;break;case Gt.TimestampSecond:r=e.visitTimestampSecond||e.visitTimestamp;break;case Gt.TimestampMillisecond:r=e.visitTimestampMillisecond||e.visitTimestamp;break;case Gt.TimestampMicrosecond:r=e.visitTimestampMicrosecond||e.visitTimestamp;break;case Gt.TimestampNanosecond:r=e.visitTimestampNanosecond||e.visitTimestamp;break;case Gt.Time:r=e.visitTime;break;case Gt.TimeSecond:r=e.visitTimeSecond||e.visitTime;break;case Gt.TimeMillisecond:r=e.visitTimeMillisecond||e.visitTime;break;case Gt.TimeMicrosecond:r=e.visitTimeMicrosecond||e.visitTime;break;case Gt.TimeNanosecond:r=e.visitTimeNanosecond||e.visitTime;break;case Gt.Decimal:r=e.visitDecimal;break;case Gt.List:r=e.visitList;break;case Gt.Struct:r=e.visitStruct;break;case Gt.Union:r=e.visitUnion;break;case Gt.DenseUnion:r=e.visitDenseUnion||e.visitUnion;break;case Gt.SparseUnion:r=e.visitSparseUnion||e.visitUnion;break;case Gt.Dictionary:r=e.visitDictionary;break;case Gt.Interval:r=e.visitInterval;break;case Gt.IntervalDayTime:r=e.visitIntervalDayTime||e.visitInterval;break;case Gt.IntervalYearMonth:r=e.visitIntervalYearMonth||e.visitInterval;break;case Gt.FixedSizeList:r=e.visitFixedSizeList;break;case Gt.Map:r=e.visitMap}if("function"===typeof r)return r;if(!n)return function(){return null};throw new Error("Unrecognized type '".concat(Gt[i],"'"))}function bn(e){switch(e.typeId){case Gt.Null:return Gt.Null;case Gt.Int:var t=e.bitWidth,n=e.isSigned;switch(t){case 8:return n?Gt.Int8:Gt.Uint8;case 16:return n?Gt.Int16:Gt.Uint16;case 32:return n?Gt.Int32:Gt.Uint32;case 64:return n?Gt.Int64:Gt.Uint64}return Gt.Int;case Gt.Float:switch(e.precision){case Jt.HALF:return Gt.Float16;case Jt.SINGLE:return Gt.Float32;case Jt.DOUBLE:return Gt.Float64}return Gt.Float;case Gt.Binary:return Gt.Binary;case Gt.Utf8:return Gt.Utf8;case Gt.Bool:return Gt.Bool;case Gt.Decimal:return Gt.Decimal;case Gt.Time:switch(e.unit){case Xt.SECOND:return Gt.TimeSecond;case Xt.MILLISECOND:return Gt.TimeMillisecond;case Xt.MICROSECOND:return Gt.TimeMicrosecond;case Xt.NANOSECOND:return Gt.TimeNanosecond}return Gt.Time;case Gt.Timestamp:switch(e.unit){case Xt.SECOND:return Gt.TimestampSecond;case Xt.MILLISECOND:return Gt.TimestampMillisecond;case Xt.MICROSECOND:return Gt.TimestampMicrosecond;case Xt.NANOSECOND:return Gt.TimestampNanosecond}return Gt.Timestamp;case Gt.Date:switch(e.unit){case Qt.DAY:return Gt.DateDay;case Qt.MILLISECOND:return Gt.DateMillisecond}return Gt.Date;case Gt.Interval:switch(e.unit){case en.DAY_TIME:return Gt.IntervalDayTime;case en.YEAR_MONTH:return Gt.IntervalYearMonth}return Gt.Interval;case Gt.Map:return Gt.Map;case Gt.List:return Gt.List;case Gt.Struct:return Gt.Struct;case Gt.Union:switch(e.mode){case Zt.Dense:return Gt.DenseUnion;case Zt.Sparse:return Gt.SparseUnion}return Gt.Union;case Gt.FixedSizeBinary:return Gt.FixedSizeBinary;case Gt.FixedSizeList:return Gt.FixedSizeList;case Gt.Dictionary:return Gt.Dictionary}throw new Error("Unrecognized type '".concat(Gt[e.typeId],"'"))}vn.prototype.visitInt8=null,vn.prototype.visitInt16=null,vn.prototype.visitInt32=null,vn.prototype.visitInt64=null,vn.prototype.visitUint8=null,vn.prototype.visitUint16=null,vn.prototype.visitUint32=null,vn.prototype.visitUint64=null,vn.prototype.visitFloat16=null,vn.prototype.visitFloat32=null,vn.prototype.visitFloat64=null,vn.prototype.visitDateDay=null,vn.prototype.visitDateMillisecond=null,vn.prototype.visitTimestampSecond=null,vn.prototype.visitTimestampMillisecond=null,vn.prototype.visitTimestampMicrosecond=null,vn.prototype.visitTimestampNanosecond=null,vn.prototype.visitTimeSecond=null,vn.prototype.visitTimeMillisecond=null,vn.prototype.visitTimeMicrosecond=null,vn.prototype.visitTimeNanosecond=null,vn.prototype.visitDenseUnion=null,vn.prototype.visitSparseUnion=null,vn.prototype.visitIntervalDayTime=null,vn.prototype.visitIntervalYearMonth=null;var mn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"compareSchemas",value:function(e,t){return e===t||t instanceof e.constructor&&In.compareFields(e.fields,t.fields)}},{key:"compareFields",value:function(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((function(e,n){return In.compareField(e,t[n])}))}},{key:"compareField",value:function(e,t){return e===t||t instanceof e.constructor&&e.name===t.name&&e.nullable===t.nullable&&In.visit(e.type,t.type)}}]),n}(vn);function gn(e,t){return t instanceof e.constructor}function kn(e,t){return e===t||gn(e,t)}function wn(e,t){return e===t||gn(e,t)&&e.bitWidth===t.bitWidth&&e.isSigned===t.isSigned}function _n(e,t){return e===t||gn(e,t)&&e.precision===t.precision}function Sn(e,t){return e===t||gn(e,t)&&e.unit===t.unit}function On(e,t){return e===t||gn(e,t)&&e.unit===t.unit&&e.timezone===t.timezone}function xn(e,t){return e===t||gn(e,t)&&e.unit===t.unit&&e.bitWidth===t.bitWidth}function jn(e,t){return e===t||gn(e,t)&&e.mode===t.mode&&e.typeIds.every((function(e,n){return e===t.typeIds[n]}))&&In.compareFields(e.children,t.children)}function Tn(e,t){return e===t||gn(e,t)&&e.unit===t.unit}mn.prototype.visitNull=kn,mn.prototype.visitBool=kn,mn.prototype.visitInt=wn,mn.prototype.visitInt8=wn,mn.prototype.visitInt16=wn,mn.prototype.visitInt32=wn,mn.prototype.visitInt64=wn,mn.prototype.visitUint8=wn,mn.prototype.visitUint16=wn,mn.prototype.visitUint32=wn,mn.prototype.visitUint64=wn,mn.prototype.visitFloat=_n,mn.prototype.visitFloat16=_n,mn.prototype.visitFloat32=_n,mn.prototype.visitFloat64=_n,mn.prototype.visitUtf8=kn,mn.prototype.visitBinary=kn,mn.prototype.visitFixedSizeBinary=function(e,t){return e===t||gn(e,t)&&e.byteWidth===t.byteWidth},mn.prototype.visitDate=Sn,mn.prototype.visitDateDay=Sn,mn.prototype.visitDateMillisecond=Sn,mn.prototype.visitTimestamp=On,mn.prototype.visitTimestampSecond=On,mn.prototype.visitTimestampMillisecond=On,mn.prototype.visitTimestampMicrosecond=On,mn.prototype.visitTimestampNanosecond=On,mn.prototype.visitTime=xn,mn.prototype.visitTimeSecond=xn,mn.prototype.visitTimeMillisecond=xn,mn.prototype.visitTimeMicrosecond=xn,mn.prototype.visitTimeNanosecond=xn,mn.prototype.visitDecimal=kn,mn.prototype.visitList=function(e,t){return e===t||gn(e,t)&&e.children.length===t.children.length&&In.compareFields(e.children,t.children)},mn.prototype.visitStruct=function(e,t){return e===t||gn(e,t)&&e.children.length===t.children.length&&In.compareFields(e.children,t.children)},mn.prototype.visitUnion=jn,mn.prototype.visitDenseUnion=jn,mn.prototype.visitSparseUnion=jn,mn.prototype.visitDictionary=function(e,t){return e===t||gn(e,t)&&e.id===t.id&&e.isOrdered===t.isOrdered&&In.visit(e.indices,t.indices)&&In.visit(e.dictionary,t.dictionary)},mn.prototype.visitInterval=Tn,mn.prototype.visitIntervalDayTime=Tn,mn.prototype.visitIntervalYearMonth=Tn,mn.prototype.visitFixedSizeList=function(e,t){return e===t||gn(e,t)&&e.listSize===t.listSize&&e.children.length===t.children.length&&In.compareFields(e.children,t.children)},mn.prototype.visitMap=function(e,t){return e===t||gn(e,t)&&e.keysSorted===t.keysSorted&&e.children.length===t.children.length&&In.compareFields(e.children,t.children)};var Cn,In=new mn,En=function(){function e(){A(this,e)}return R(e,[{key:"typeId",get:function(){return Gt.NONE}},{key:"compareTo",value:function(e){return In.visit(this,e)}}],[{key:"isNull",value:function(e){return e&&e.typeId===Gt.Null}},{key:"isInt",value:function(e){return e&&e.typeId===Gt.Int}},{key:"isFloat",value:function(e){return e&&e.typeId===Gt.Float}},{key:"isBinary",value:function(e){return e&&e.typeId===Gt.Binary}},{key:"isUtf8",value:function(e){return e&&e.typeId===Gt.Utf8}},{key:"isBool",value:function(e){return e&&e.typeId===Gt.Bool}},{key:"isDecimal",value:function(e){return e&&e.typeId===Gt.Decimal}},{key:"isDate",value:function(e){return e&&e.typeId===Gt.Date}},{key:"isTime",value:function(e){return e&&e.typeId===Gt.Time}},{key:"isTimestamp",value:function(e){return e&&e.typeId===Gt.Timestamp}},{key:"isInterval",value:function(e){return e&&e.typeId===Gt.Interval}},{key:"isList",value:function(e){return e&&e.typeId===Gt.List}},{key:"isStruct",value:function(e){return e&&e.typeId===Gt.Struct}},{key:"isUnion",value:function(e){return e&&e.typeId===Gt.Union}},{key:"isFixedSizeBinary",value:function(e){return e&&e.typeId===Gt.FixedSizeBinary}},{key:"isFixedSizeList",value:function(e){return e&&e.typeId===Gt.FixedSizeList}},{key:"isMap",value:function(e){return e&&e.typeId===Gt.Map}},{key:"isDictionary",value:function(e){return e&&e.typeId===Gt.Dictionary}}]),e}();En[Symbol.toStringTag]=((Cn=En.prototype).children=null,Cn.ArrayType=Array,Cn[Symbol.toStringTag]="DataType");var An=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"toString",value:function(){return"Null"}},{key:"typeId",get:function(){return Gt.Null}}]),n}(En);An[Symbol.toStringTag]=function(e){return e[Symbol.toStringTag]="Null"}(An.prototype);var Mn=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this)).isSigned=e,i.bitWidth=r,i}return R(n,[{key:"typeId",get:function(){return Gt.Int}},{key:"ArrayType",get:function(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:case 64:return this.isSigned?Int32Array:Uint32Array}throw new Error("Unrecognized ".concat(this[Symbol.toStringTag]," type"))}},{key:"toString",value:function(){return"".concat(this.isSigned?"I":"Ui","nt").concat(this.bitWidth)}}]),n}(En);Mn[Symbol.toStringTag]=function(e){return e.isSigned=null,e.bitWidth=null,e[Symbol.toStringTag]="Int"}(Mn.prototype);var Rn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,!0,8)}return n}(Mn),Pn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,!0,16)}return n}(Mn),Ln=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,!0,32)}return n}(Mn),Dn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,!0,64)}return n}(Mn),Bn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,!1,8)}return n}(Mn),Nn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,!1,16)}return n}(Mn),Fn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,!1,32)}return n}(Mn),zn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,!1,64)}return n}(Mn);Object.defineProperty(Rn.prototype,"ArrayType",{value:Int8Array}),Object.defineProperty(Pn.prototype,"ArrayType",{value:Int16Array}),Object.defineProperty(Ln.prototype,"ArrayType",{value:Int32Array}),Object.defineProperty(Dn.prototype,"ArrayType",{value:Int32Array}),Object.defineProperty(Bn.prototype,"ArrayType",{value:Uint8Array}),Object.defineProperty(Nn.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(Fn.prototype,"ArrayType",{value:Uint32Array}),Object.defineProperty(zn.prototype,"ArrayType",{value:Uint32Array});var Un=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).precision=e,r}return R(n,[{key:"typeId",get:function(){return Gt.Float}},{key:"ArrayType",get:function(){switch(this.precision){case Jt.HALF:return Uint16Array;case Jt.SINGLE:return Float32Array;case Jt.DOUBLE:return Float64Array}throw new Error("Unrecognized ".concat(this[Symbol.toStringTag]," type"))}},{key:"toString",value:function(){return"Float".concat(this.precision<<5||16)}}]),n}(En);Un[Symbol.toStringTag]=function(e){return e.precision=null,e[Symbol.toStringTag]="Float"}(Un.prototype);var Vn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,Jt.HALF)}return n}(Un),Wn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,Jt.SINGLE)}return n}(Un),Hn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,Jt.DOUBLE)}return n}(Un);Object.defineProperty(Vn.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(Wn.prototype,"ArrayType",{value:Float32Array}),Object.defineProperty(Hn.prototype,"ArrayType",{value:Float64Array});var $n=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this)}return R(n,[{key:"typeId",get:function(){return Gt.Binary}},{key:"toString",value:function(){return"Binary"}}]),n}(En);$n[Symbol.toStringTag]=function(e){return e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Binary"}($n.prototype);var Yn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this)}return R(n,[{key:"typeId",get:function(){return Gt.Utf8}},{key:"toString",value:function(){return"Utf8"}}]),n}(En);Yn[Symbol.toStringTag]=function(e){return e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Utf8"}(Yn.prototype);var qn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this)}return R(n,[{key:"typeId",get:function(){return Gt.Bool}},{key:"toString",value:function(){return"Bool"}}]),n}(En);qn[Symbol.toStringTag]=function(e){return e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Bool"}(qn.prototype);var Gn=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this)).scale=e,i.precision=r,i}return R(n,[{key:"typeId",get:function(){return Gt.Decimal}},{key:"toString",value:function(){return"Decimal[".concat(this.precision,"e").concat(this.scale>0?"+":"").concat(this.scale,"]")}}]),n}(En);Gn[Symbol.toStringTag]=function(e){return e.scale=null,e.precision=null,e.ArrayType=Uint32Array,e[Symbol.toStringTag]="Decimal"}(Gn.prototype);var Kn=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).unit=e,r}return R(n,[{key:"typeId",get:function(){return Gt.Date}},{key:"toString",value:function(){return"Date".concat(32*(this.unit+1),"<").concat(Qt[this.unit],">")}}]),n}(En);Kn[Symbol.toStringTag]=function(e){return e.unit=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Date"}(Kn.prototype);var Qn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,Qt.DAY)}return n}(Kn),Xn=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.call(this,Qt.MILLISECOND)}return n}(Kn),Jn=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this)).unit=e,i.bitWidth=r,i}return R(n,[{key:"typeId",get:function(){return Gt.Time}},{key:"toString",value:function(){return"Time".concat(this.bitWidth,"<").concat(Xt[this.unit],">")}}]),n}(En);Jn[Symbol.toStringTag]=function(e){return e.unit=null,e.bitWidth=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Time"}(Jn.prototype);var Zn=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this)).unit=e,i.timezone=r,i}return R(n,[{key:"typeId",get:function(){return Gt.Timestamp}},{key:"toString",value:function(){return"Timestamp<".concat(Xt[this.unit]).concat(this.timezone?", ".concat(this.timezone):"",">")}}]),n}(En);Zn[Symbol.toStringTag]=function(e){return e.unit=null,e.timezone=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Timestamp"}(Zn.prototype);var er=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).unit=e,r}return R(n,[{key:"typeId",get:function(){return Gt.Interval}},{key:"toString",value:function(){return"Interval<".concat(en[this.unit],">")}}]),n}(En);er[Symbol.toStringTag]=function(e){return e.unit=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Interval"}(er.prototype);var tr=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).children=[e],r}return R(n,[{key:"typeId",get:function(){return Gt.List}},{key:"toString",value:function(){return"List<".concat(this.valueType,">")}},{key:"valueType",get:function(){return this.children[0].type}},{key:"valueField",get:function(){return this.children[0]}},{key:"ArrayType",get:function(){return this.valueType.ArrayType}}]),n}(En);tr[Symbol.toStringTag]=function(e){return e.children=null,e[Symbol.toStringTag]="List"}(tr.prototype);var nr=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).children=e,r}return R(n,[{key:"typeId",get:function(){return Gt.Struct}},{key:"toString",value:function(){return"Struct<{".concat(this.children.map((function(e){return"".concat(e.name,":").concat(e.type)})).join(", "),"}>")}}]),n}(En);nr[Symbol.toStringTag]=function(e){return e.children=null,e[Symbol.toStringTag]="Struct"}(nr.prototype);var rr=function(e){re(n,e);var t=ce(n);function n(e,r,i){var a;return A(this,n),(a=t.call(this)).mode=e,a.children=i,a.typeIds=r=Int32Array.from(r),a.typeIdToChildIndex=r.reduce((function(e,t,n){return(e[t]=n)&&e||e}),Object.create(null)),a}return R(n,[{key:"typeId",get:function(){return Gt.Union}},{key:"toString",value:function(){return"".concat(this[Symbol.toStringTag],"<").concat(this.children.map((function(e){return"".concat(e.type)})).join(" | "),">")}}]),n}(En);rr[Symbol.toStringTag]=function(e){return e.mode=null,e.typeIds=null,e.children=null,e.typeIdToChildIndex=null,e.ArrayType=Int8Array,e[Symbol.toStringTag]="Union"}(rr.prototype);var ir=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).byteWidth=e,r}return R(n,[{key:"typeId",get:function(){return Gt.FixedSizeBinary}},{key:"toString",value:function(){return"FixedSizeBinary[".concat(this.byteWidth,"]")}}]),n}(En);ir[Symbol.toStringTag]=function(e){return e.byteWidth=null,e.ArrayType=Uint8Array,e[Symbol.toStringTag]="FixedSizeBinary"}(ir.prototype);var ar=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this)).listSize=e,i.children=[r],i}return R(n,[{key:"typeId",get:function(){return Gt.FixedSizeList}},{key:"valueType",get:function(){return this.children[0].type}},{key:"valueField",get:function(){return this.children[0]}},{key:"ArrayType",get:function(){return this.valueType.ArrayType}},{key:"toString",value:function(){return"FixedSizeList[".concat(this.listSize,"]<").concat(this.valueType,">")}}]),n}(En);ar[Symbol.toStringTag]=function(e){return e.children=null,e.listSize=null,e[Symbol.toStringTag]="FixedSizeList"}(ar.prototype);var or=function(e){re(n,e);var t=ce(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return A(this,n),(r=t.call(this)).children=[e],r.keysSorted=i,r}return R(n,[{key:"typeId",get:function(){return Gt.Map}},{key:"keyType",get:function(){return this.children[0].type.children[0].type}},{key:"valueType",get:function(){return this.children[0].type.children[1].type}},{key:"toString",value:function(){return"Map<{".concat(this.children[0].type.children.map((function(e){return"".concat(e.name,":").concat(e.type)})).join(", "),"}>")}}]),n}(En);or[Symbol.toStringTag]=function(e){return e.children=null,e.keysSorted=null,e[Symbol.toStringTag]="Map_"}(or.prototype);var ur,sr=(ur=-1,function(){return++ur}),cr=function(e){re(n,e);var t=ce(n);function n(e,r,i,a){var o;return A(this,n),(o=t.call(this)).indices=r,o.dictionary=e,o.isOrdered=a||!1,o.id=null==i?sr():"number"===typeof i?i:i.low,o}return R(n,[{key:"typeId",get:function(){return Gt.Dictionary}},{key:"children",get:function(){return this.dictionary.children}},{key:"valueType",get:function(){return this.dictionary}},{key:"ArrayType",get:function(){return this.dictionary.ArrayType}},{key:"toString",value:function(){return"Dictionary<".concat(this.indices,", ").concat(this.dictionary,">")}}]),n}(En);function lr(e){var t=e;switch(e.typeId){case Gt.Decimal:return 4;case Gt.Timestamp:return 2;case Gt.Date:case Gt.Interval:return 1+t.unit;case Gt.Int:case Gt.Time:return+(t.bitWidth>32)+1;case Gt.FixedSizeList:return t.listSize;case Gt.FixedSizeBinary:return t.byteWidth;default:return 1}}cr[Symbol.toStringTag]=function(e){return e.id=null,e.indices=null,e.isOrdered=null,e.dictionary=null,e[Symbol.toStringTag]="Dictionary"}(cr.prototype);var fr=function(){function e(t,n,r,i,a,o,u){var s;A(this,e),this.type=t,this.dictionary=u,this.offset=Math.floor(Math.max(n||0,0)),this.length=Math.floor(Math.max(r||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1)),this.childData=(o||[]).map((function(t){return t instanceof e?t:t.data})),a instanceof e?(this.stride=a.stride,this.values=a.values,this.typeIds=a.typeIds,this.nullBitmap=a.nullBitmap,this.valueOffsets=a.valueOffsets):(this.stride=lr(t),a&&((s=a[0])&&(this.valueOffsets=s),(s=a[1])&&(this.values=s),(s=a[2])&&(this.nullBitmap=s),(s=a[3])&&(this.typeIds=s)))}return R(e,[{key:"typeId",get:function(){return this.type.typeId}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"buffers",get:function(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}},{key:"byteLength",get:function(){var e=0,t=this.valueOffsets,n=this.values,r=this.nullBitmap,i=this.typeIds;return t&&(e+=t.byteLength),n&&(e+=n.byteLength),r&&(e+=r.byteLength),i&&(e+=i.byteLength),this.childData.reduce((function(e,t){return e+t.byteLength}),e)}},{key:"nullCount",get:function(){var e,t=this._nullCount;return t<=-1&&(e=this.nullBitmap)&&(this._nullCount=t=this.length-fn(e,this.offset,this.offset+this.length)),t}},{key:"clone",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.offset,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.length,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this._nullCount,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:this.childData;return new e(t,n,r,i,a,o,this.dictionary)}},{key:"slice",value:function(e,t){var n=this.stride,r=this.typeId,i=this.childData,a=+(0===this._nullCount)-1,o=16===r?n:1,u=this._sliceBuffers(e,t,n,r);return this.clone(this.type,this.offset+e,t,a,u,!i.length||this.valueOffsets?i:this._sliceChildren(i,o*e,o*t))}},{key:"_changeLengthAndBackfillNullBitmap",value:function(e){if(this.typeId===Gt.Null)return this.clone(this.type,0,e,0);var t=this.length,n=this.nullCount,r=new Uint8Array((e+63&-64)>>3).fill(255,0,t>>3);r[t>>3]=(1<<t-(-8&t))-1,n>0&&r.set(sn(this.offset,t,this.nullBitmap),0);var i=this.buffers;return i[Kt.VALIDITY]=r,this.clone(this.type,0,e,n+(e-t),i)}},{key:"_sliceBuffers",value:function(e,t,n,r){var i,a=this.buffers;return(i=a[Kt.TYPE])&&(a[Kt.TYPE]=i.subarray(e,e+t)),(i=a[Kt.OFFSET])&&(a[Kt.OFFSET]=i.subarray(e,e+t+1))||(i=a[Kt.DATA])&&(a[Kt.DATA]=6===r?i:i.subarray(n*e,n*(e+t))),a}},{key:"_sliceChildren",value:function(e,t,n){return e.map((function(e){return e.slice(t,n)}))}}],[{key:"new",value:function(t,n,r,i,a,o,u){switch(a instanceof e?a=a.buffers:a||(a=[]),t.typeId){case Gt.Null:return e.Null(t,n,r);case Gt.Int:return e.Int(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.Dictionary:return e.Dictionary(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[],u);case Gt.Float:return e.Float(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.Bool:return e.Bool(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.Decimal:return e.Decimal(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.Date:return e.Date(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.Time:return e.Time(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.Timestamp:return e.Timestamp(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.Interval:return e.Interval(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.FixedSizeBinary:return e.FixedSizeBinary(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.DATA]||[]);case Gt.Binary:return e.Binary(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.OFFSET]||[],a[Kt.DATA]||[]);case Gt.Utf8:return e.Utf8(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.OFFSET]||[],a[Kt.DATA]||[]);case Gt.List:return e.List(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.OFFSET]||[],(o||[])[0]);case Gt.FixedSizeList:return e.FixedSizeList(t,n,r,i||0,a[Kt.VALIDITY],(o||[])[0]);case Gt.Struct:return e.Struct(t,n,r,i||0,a[Kt.VALIDITY],o||[]);case Gt.Map:return e.Map(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.OFFSET]||[],(o||[])[0]);case Gt.Union:return e.Union(t,n,r,i||0,a[Kt.VALIDITY],a[Kt.TYPE]||[],a[Kt.OFFSET]||o,o)}throw new Error("Unrecognized typeId ".concat(t.typeId))}},{key:"Null",value:function(t,n,r){return new e(t,n,r,0)}},{key:"Int",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"Dictionary",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[void 0,Ye(t.indices.ArrayType,o),Xe(a)],[],u)}},{key:"Float",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"Bool",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"Decimal",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"Date",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"Time",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"Timestamp",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"Interval",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"FixedSizeBinary",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,Ye(t.ArrayType,o),Xe(a)])}},{key:"Binary",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[Ke(o),Xe(u),Xe(a)])}},{key:"Utf8",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[Ke(o),Xe(u),Xe(a)])}},{key:"List",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[Ke(o),void 0,Xe(a)],[u])}},{key:"FixedSizeList",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,void 0,Xe(a)],[o])}},{key:"Struct",value:function(t,n,r,i,a,o){return new e(t,n,r,i,[void 0,void 0,Xe(a)],o)}},{key:"Map",value:function(t,n,r,i,a,o,u){return new e(t,n,r,i,[Ke(o),void 0,Xe(a)],[u])}},{key:"Union",value:function(t,n,r,i,a,o,u,s){var c=[void 0,void 0,Xe(a),Ye(t.ArrayType,o)];return t.mode===Zt.Sparse?new e(t,n,r,i,c,u):(c[Kt.OFFSET]=Ke(u),new e(t,n,r,i,c,s))}}]),e}();fr.prototype.childData=Object.freeze([]);function dr(e){if(null===e)return"null";if(undefined===e)return"undefined";switch(typeof e){case"number":case"bigint":return"".concat(e);case"string":return'"'.concat(e,'"')}return"function"===typeof e[Symbol.toPrimitive]?e[Symbol.toPrimitive]("string"):ArrayBuffer.isView(e)?"[".concat(e,"]"):JSON.stringify(e)}function pr(e){if(!e||e.length<=0)return function(e){return!0};var t="",n=e.filter((function(e){return e===e}));return n.length>0&&(t="\n switch (x) {".concat(n.map((function(e){return"\n case ".concat(function(e){if("bigint"!==typeof e)return dr(e);if(be)return"".concat(dr(e),"n");return'"'.concat(dr(e),'"')}(e),":")})).join(""),"\n return false;\n }")),e.length!==n.length&&(t="if (x !== x) return false;\n".concat(t)),new Function("x","".concat(t,"\nreturn true;"))}var hr=function(e,t){return(e*t+63&-64||64)/t},vr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.length>=t?e.subarray(0,t):He(new e.constructor(t),e,0)},yr=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;A(this,e),this.buffer=t,this.stride=n,this.BYTES_PER_ELEMENT=t.BYTES_PER_ELEMENT,this.ArrayType=t.constructor,this._resize(this.length=t.length/n|0)}return R(e,[{key:"byteLength",get:function(){return this.length*this.stride*this.BYTES_PER_ELEMENT|0}},{key:"reservedLength",get:function(){return this.buffer.length/this.stride}},{key:"reservedByteLength",get:function(){return this.buffer.byteLength}},{key:"set",value:function(e,t){return this}},{key:"append",value:function(e){return this.set(this.length,e)}},{key:"reserve",value:function(e){if(e>0){this.length+=e;var t=this.stride,n=this.length*t,r=this.buffer.length;n>=r&&this._resize(hr(0===r?1*n:2*n,this.BYTES_PER_ELEMENT))}return this}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length;e=hr(e*this.stride,this.BYTES_PER_ELEMENT);var t=vr(this.buffer,e);return this.clear(),t}},{key:"clear",value:function(){return this.length=0,this._resize(0),this}},{key:"_resize",value:function(e){return this.buffer=He(new this.ArrayType(e),this.buffer)}}]),e}();yr.prototype.offset=0;var br=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"last",value:function(){return this.get(this.length-1)}},{key:"get",value:function(e){return this.buffer[e]}},{key:"set",value:function(e,t){return this.reserve(e-this.length+1),this.buffer[e*this.stride]=t,this}}]),n}(yr),mr=function(e){re(n,e);var t=ce(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array(0);return A(this,n),(e=t.call(this,r,1/8)).numValid=0,e}return R(n,[{key:"numInvalid",get:function(){return this.length-this.numValid}},{key:"get",value:function(e){return this.buffer[e>>3]>>e%8&1}},{key:"set",value:function(e,t){var n=this.reserve(e-this.length+1).buffer,r=e>>3,i=e%8,a=n[r]>>i&1;return t?0===a&&(n[r]|=1<<i,++this.numValid):1===a&&(n[r]&=~(1<<i),--this.numValid),this}},{key:"clear",value:function(){return this.numValid=0,zt(ie(n.prototype),"clear",this).call(this)}}]),n}(br),gr=function(e){re(n,e);var t=ce(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Int32Array(1);return A(this,n),t.call(this,e,1)}return R(n,[{key:"append",value:function(e){return this.set(this.length-1,e)}},{key:"set",value:function(e,t){var n=this.length-1,r=this.reserve(e-n+1).buffer;return n<e++&&r.fill(r[n],n,e),r[e]=r[e-1]+t,this}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length-1;return e>this.length&&this.set(e-1,0),zt(ie(n.prototype),"flush",this).call(this,e+1)}}]),n}(br),kr=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"ArrayType64",get:function(){return this._ArrayType64||(this._ArrayType64=this.buffer instanceof Int32Array?ke:Se)}},{key:"set",value:function(e,t){switch(this.reserve(e-this.length+1),typeof t){case"bigint":this.buffer64[e]=t;break;case"number":this.buffer[e*this.stride]=t;break;default:this.buffer.set(t,e*this.stride)}return this}},{key:"_resize",value:function(e){var t=zt(ie(n.prototype),"_resize",this).call(this,e),r=t.byteLength/(this.BYTES_PER_ELEMENT*this.stride);return be&&(this.buffer64=new this.ArrayType64(t.buffer,t.byteOffset,r)),t}}]),n}(yr);function wr(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new _r(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function _r(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return _r=function(e){this.s=e,this.n=e.next},_r.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new _r(e)}var Sr=function(){function e(t){var n=t.type,r=t.nullValues;A(this,e),this.length=0,this.finished=!1,this.type=n,this.children=[],this.nullValues=r,this.stride=lr(n),this._nulls=new mr,r&&r.length>0&&(this._isValid=pr(r))}return R(e,[{key:"toVector",value:function(){return qt.new(this.flush())}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"nullCount",get:function(){return this._nulls.numInvalid}},{key:"numChildren",get:function(){return this.children.length}},{key:"byteLength",get:function(){var e=0;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),this._typeIds&&(e+=this._typeIds.byteLength),this.children.reduce((function(e,t){return e+t.byteLength}),e)}},{key:"reservedLength",get:function(){return this._nulls.reservedLength}},{key:"reservedByteLength",get:function(){var e=0;return this._offsets&&(e+=this._offsets.reservedByteLength),this._values&&(e+=this._values.reservedByteLength),this._nulls&&(e+=this._nulls.reservedByteLength),this._typeIds&&(e+=this._typeIds.reservedByteLength),this.children.reduce((function(e,t){return e+t.reservedByteLength}),e)}},{key:"valueOffsets",get:function(){return this._offsets?this._offsets.buffer:null}},{key:"values",get:function(){return this._values?this._values.buffer:null}},{key:"nullBitmap",get:function(){return this._nulls?this._nulls.buffer:null}},{key:"typeIds",get:function(){return this._typeIds?this._typeIds.buffer:null}},{key:"append",value:function(e){return this.set(this.length,e)}},{key:"isValid",value:function(e){return this._isValid(e)}},{key:"set",value:function(e,t){return this.setValid(e,this.isValid(t))&&this.setValue(e,t),this}},{key:"setValue",value:function(e,t){this._setValue(this,e,t)}},{key:"setValid",value:function(e,t){return this.length=this._nulls.set(e,+t).length,t}},{key:"addChild",value:function(e){arguments.length>1&&void 0!==arguments[1]||"".concat(this.numChildren);throw new Error('Cannot append children to non-nested type "'.concat(this.type,'"'))}},{key:"getChildAt",value:function(e){return this.children[e]||null}},{key:"flush",value:function(){var e=[],t=this._values,n=this._offsets,r=this._typeIds,i=this.length,a=this.nullCount;r?(e[Kt.TYPE]=r.flush(i),n&&(e[Kt.OFFSET]=n.flush(i))):n?(t&&(e[Kt.DATA]=t.flush(n.last())),e[Kt.OFFSET]=n.flush(i)):t&&(e[Kt.DATA]=t.flush(i)),a>0&&(e[Kt.VALIDITY]=this._nulls.flush(i));var o=fr.new(this.type,0,i,a,e,this.children.map((function(e){return e.flush()})));return this.clear(),o}},{key:"finish",value:function(){return this.finished=!0,this.children.forEach((function(e){return e.finish()})),this}},{key:"clear",value:function(){return this.length=0,this._offsets&&this._offsets.clear(),this._values&&this._values.clear(),this._nulls&&this._nulls.clear(),this._typeIds&&this._typeIds.clear(),this.children.forEach((function(e){return e.clear()})),this}}],[{key:"new",value:function(e){}},{key:"throughNode",value:function(e){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(e){throw new Error('"throughDOM" not available in this environment')}},{key:"throughIterable",value:function(e){return function(e){var t=e.queueingStrategy,n=void 0===t?"count":t,r=e.highWaterMark,i=void 0===r?"bytes"!==n?1e3:Math.pow(2,14):r,a="bytes"!==n?"length":"byteLength";return P.mark((function t(n){var r,o,u,s,c;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=0,o=Sr.new(e),u=Object(I.a)(n),t.prev=3,u.s();case 5:if((s=u.n()).done){t.next=14;break}if(c=s.value,!(o.append(c)[a]>=i)){t.next=12;break}if(t.t0=++r,!t.t0){t.next=12;break}return t.next=12,o.toVector();case 12:t.next=5;break;case 14:t.next=19;break;case 16:t.prev=16,t.t1=t.catch(3),u.e(t.t1);case 19:return t.prev=19,u.f(),t.finish(19);case 22:if(!(o.finish().length>0||0===r)){t.next=25;break}return t.next=25,o.toVector();case 25:case"end":return t.stop()}}),t,null,[[3,16,19,22]])}))}(e)}},{key:"throughAsyncIterable",value:function(e){return function(e){var t=e.queueingStrategy,n=void 0===t?"count":t,r=e.highWaterMark,i=void 0===r?"bytes"!==n?1e3:Math.pow(2,14):r,a="bytes"!==n?"length":"byteLength";return function(){var t=F(P.mark((function t(n){var r,o,u,s,c,l,f,d,p;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=0,o=Sr.new(e),u=!0,s=!1,t.prev=4,l=wr(n);case 6:return t.next=8,B(l.next());case 8:return f=t.sent,u=f.done,t.next=12,B(f.value);case 12:if(d=t.sent,u){t.next=23;break}if(p=d,!(o.append(p)[a]>=i)){t.next=20;break}if(t.t0=++r,!t.t0){t.next=20;break}return t.next=20,o.toVector();case 20:u=!0,t.next=6;break;case 23:t.next=29;break;case 25:t.prev=25,t.t1=t.catch(4),s=!0,c=t.t1;case 29:if(t.prev=29,t.prev=30,u||null==l.return){t.next=34;break}return t.next=34,B(l.return());case 34:if(t.prev=34,!s){t.next=37;break}throw c;case 37:return t.finish(34);case 38:return t.finish(29);case 39:if(!(o.finish().length>0||0===r)){t.next=42;break}return t.next=42,o.toVector();case 42:case"end":return t.stop()}}),t,null,[[4,25,29,39],[30,,34,38]])})));return function(e){return t.apply(this,arguments)}}()}(e)}}]),e}();Sr.prototype.length=1,Sr.prototype.stride=1,Sr.prototype.children=null,Sr.prototype.finished=!1,Sr.prototype.nullValues=null,Sr.prototype._isValid=function(){return!0};var Or=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._values=new br(new r.ArrayType(0),r.stride),r}return R(n,[{key:"setValue",value:function(e,t){var r=this._values;return r.reserve(e-r.length+1),zt(ie(n.prototype),"setValue",this).call(this,e,t)}}]),n}(Sr),xr=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._pendingLength=0,r._offsets=new gr,r}return R(n,[{key:"setValue",value:function(e,t){var n=this._pending||(this._pending=new Map),r=n.get(e);r&&(this._pendingLength-=r.length),this._pendingLength+=t.length,n.set(e,t)}},{key:"setValid",value:function(e,t){return!!zt(ie(n.prototype),"setValid",this).call(this,e,t)||((this._pending||(this._pending=new Map)).set(e,void 0),!1)}},{key:"clear",value:function(){return this._pendingLength=0,this._pending=void 0,zt(ie(n.prototype),"clear",this).call(this)}},{key:"flush",value:function(){return this._flush(),zt(ie(n.prototype),"flush",this).call(this)}},{key:"finish",value:function(){return this._flush(),zt(ie(n.prototype),"finish",this).call(this)}},{key:"_flush",value:function(){var e=this._pending,t=this._pendingLength;return this._pendingLength=0,this._pending=void 0,e&&e.size>0&&this._flushPending(e,t),this}}]),n}(Sr);var jr=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._values=new mr,r}return R(n,[{key:"setValue",value:function(e,t){this._values.set(e,+t)}}]),n}(Sr),Tr=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"setValue",value:function(e,t){}},{key:"setValid",value:function(e,t){return this.length=Math.max(e+1,this.length),t}}]),n}(Sr),Cr=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Or),Ir=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Cr),Er=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Cr),Ar=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Or),Mr=function(e){re(n,e);var t=ce(n);function n(e){var r,i=e.type,a=e.nullValues,o=e.dictionaryHashFunction;return A(this,n),(r=t.call(this,{type:new cr(i.dictionary,i.indices,i.id,i.isOrdered)}))._nulls=null,r._dictionaryOffset=0,r._keysToIndices=Object.create(null),r.indices=Sr.new({type:r.type.indices,nullValues:a}),r.dictionary=Sr.new({type:r.type.dictionary,nullValues:null}),"function"===typeof o&&(r.valueToKey=o),r}return R(n,[{key:"values",get:function(){return this.indices.values}},{key:"nullCount",get:function(){return this.indices.nullCount}},{key:"nullBitmap",get:function(){return this.indices.nullBitmap}},{key:"byteLength",get:function(){return this.indices.byteLength+this.dictionary.byteLength}},{key:"reservedLength",get:function(){return this.indices.reservedLength+this.dictionary.reservedLength}},{key:"reservedByteLength",get:function(){return this.indices.reservedByteLength+this.dictionary.reservedByteLength}},{key:"isValid",value:function(e){return this.indices.isValid(e)}},{key:"setValid",value:function(e,t){var n=this.indices;return t=n.setValid(e,t),this.length=n.length,t}},{key:"setValue",value:function(e,t){var n=this._keysToIndices,r=this.valueToKey(t),i=n[r];return void 0===i&&(n[r]=i=this._dictionaryOffset+this.dictionary.append(t).length-1),this.indices.setValue(e,i)}},{key:"flush",value:function(){var e=this.type,t=this._dictionary,n=this.dictionary.toVector(),r=this.indices.flush().clone(e);return r.dictionary=t?t.concat(n):n,this.finished||(this._dictionaryOffset+=n.length),this._dictionary=r.dictionary,this.clear(),r}},{key:"finish",value:function(){return this.indices.finish(),this.dictionary.finish(),this._dictionaryOffset=0,this._keysToIndices=Object.create(null),zt(ie(n.prototype),"finish",this).call(this)}},{key:"clear",value:function(){return this.indices.clear(),this.dictionary.clear(),zt(ie(n.prototype),"clear",this).call(this)}},{key:"valueToKey",value:function(e){return"string"===typeof e?e:"".concat(e)}}]),n}(Sr),Rr=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Or),Pr=new Float64Array(1),Lr=new Uint32Array(Pr.buffer);function Dr(e){var t=(31744&e)>>10,n=(1023&e)/1024,r=Math.pow(-1,(32768&e)>>15);switch(t){case 31:return r*(n?NaN:1/0);case 0:return r*(n?6103515625e-14*n:0)}return r*Math.pow(2,t-15)*(1+n)}function Br(e){if(e!==e)return 32256;Pr[0]=e;var t=(2147483648&Lr[1])>>16&65535,n=2146435072&Lr[1],r=0;return n>=1089470464?Lr[0]>0?n=31744:(n=(2080374784&n)>>16,r=(1048575&Lr[1])>>10):n<=1056964608?(r=1048576+((r=1048576+(1048575&Lr[1]))<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,r=512+(1048575&Lr[1])>>10),t|n|65535&r}var Nr=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Or),Fr=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"setValue",value:function(e,t){this._values.set(e,Br(t))}}]),n}(Nr),zr=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"setValue",value:function(e,t){this._values.set(e,t)}}]),n}(Nr),Ur=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"setValue",value:function(e,t){this._values.set(e,t)}}]),n}(Nr);function Vr(e,t,n){return Vr=ae()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&ne(i,n.prototype),i},Vr.apply(null,arguments)}var Wr,Hr,$r=Symbol.for("isArrowBigNum");function Yr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return 0===n.length?Object.setPrototypeOf(Ye(this.TypedArray,e),this.constructor.prototype):Object.setPrototypeOf(Vr(this.TypedArray,[e].concat(n)),this.constructor.prototype)}function qr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Yr.apply(this,t)}function Gr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Yr.apply(this,t)}function Kr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Yr.apply(this,t)}function Qr(e){for(var t,n,r=e.buffer,i=e.byteOffset,a=e.length,o=e.signed,u=new Int32Array(r,i,a),s=0,c=0,l=u.length;c<l;)n=u[c++],t=u[c++],o||(t>>>=0),s+=(n>>>0)+t*Math.pow(c,32);return s}function Xr(e){var t="",n=new Uint32Array(2),r=new Uint16Array(e.buffer,e.byteOffset,e.byteLength/2),i=new Uint32Array((r=new Uint16Array(r).reverse()).buffer),a=-1,o=r.length-1;do{for(n[0]=r[a=0];a<o;)r[a++]=n[1]=n[0]/10,n[0]=(n[0]-10*n[1]<<16)+r[a];r[a]=n[1]=n[0]/10,n[0]=n[0]-10*n[1],t="".concat(n[0]).concat(t)}while(i[0]||i[1]||i[2]||i[3]);return t||"0"}Yr.prototype[$r]=!0,Yr.prototype.toJSON=function(){return'"'.concat(Wr(this),'"')},Yr.prototype.valueOf=function(){return Qr(this)},Yr.prototype.toString=function(){return Wr(this)},Yr.prototype[Symbol.toPrimitive]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";switch(e){case"number":return Qr(this);case"string":return Wr(this);case"default":return Hr(this)}return Wr(this)},Object.setPrototypeOf(qr.prototype,Object.create(Int32Array.prototype)),Object.setPrototypeOf(Gr.prototype,Object.create(Uint32Array.prototype)),Object.setPrototypeOf(Kr.prototype,Object.create(Uint32Array.prototype)),Object.assign(qr.prototype,Yr.prototype,{constructor:qr,signed:!0,TypedArray:Int32Array,BigIntArray:ke}),Object.assign(Gr.prototype,Yr.prototype,{constructor:Gr,signed:!1,TypedArray:Uint32Array,BigIntArray:Se}),Object.assign(Kr.prototype,Yr.prototype,{constructor:Kr,signed:!0,TypedArray:Uint32Array,BigIntArray:Se}),be?(Hr=function(e){return 8===e.byteLength?new e.BigIntArray(e.buffer,e.byteOffset,1)[0]:Xr(e)},Wr=function(e){return 8===e.byteLength?"".concat(new e.BigIntArray(e.buffer,e.byteOffset,1)[0]):Xr(e)}):Hr=Wr=Xr;var Jr,Zr=function(){function e(t,n){return A(this,e),e.new(t,n)}return R(e,null,[{key:"new",value:function(e,t){switch(t){case!0:return new qr(e);case!1:return new Gr(e)}switch(e.constructor){case Int8Array:case Int16Array:case Int32Array:case ke:return new qr(e)}return 16===e.byteLength?new Kr(e):new Gr(e)}},{key:"signed",value:function(e){return new qr(e)}},{key:"unsigned",value:function(e){return new Gr(e)}},{key:"decimal",value:function(e){return new Kr(e)}}]),e}(),ei=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"setValue",value:function(e,t){this._values.set(e,t)}}]),n}(Or),ti=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ei),ni=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ei),ri=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ei),ii=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),e.nullValues&&(e.nullValues=e.nullValues.map(ci)),(r=t.call(this,e))._values=new kr(new Int32Array(0),2),r}return R(n,[{key:"values64",get:function(){return this._values.buffer64}},{key:"isValid",value:function(e){return zt(ie(n.prototype),"isValid",this).call(this,ci(e))}}]),n}(ei),ai=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ei),oi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ei),ui=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ei),si=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),e.nullValues&&(e.nullValues=e.nullValues.map(ci)),(r=t.call(this,e))._values=new kr(new Uint32Array(0),2),r}return R(n,[{key:"values64",get:function(){return this._values.buffer64}},{key:"isValid",value:function(e){return zt(ie(n.prototype),"isValid",this).call(this,ci(e))}}]),n}(ei),ci=(Jr={BigIntArray:ke},function(e){return ArrayBuffer.isView(e)&&(Jr.buffer=e.buffer,Jr.byteOffset=e.byteOffset,Jr.byteLength=e.byteLength,e=Hr(Jr),Jr.buffer=null),e}),li=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Or),fi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(li),di=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(li),pi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(li),hi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(li),vi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Or),yi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vi),bi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vi),mi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vi),gi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vi),ki=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Or),wi=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ki),_i=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ki),Si=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._values=new yr(new Uint8Array(0)),r}return R(n,[{key:"byteLength",get:function(){var e=this._pendingLength+4*this.length;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),e}},{key:"setValue",value:function(e,t){return zt(ie(n.prototype),"setValue",this).call(this,e,Xe(t))}},{key:"_flushPending",value:function(e,t){var n,r,i=this._offsets,a=this._values.reserve(t).buffer,o=0,u=0,s=0,c=Object(I.a)(e);try{for(c.s();!(r=c.n()).done;){var l=Object(L.a)(r.value,2);o=l[0],void 0===(n=l[1])?i.set(o,0):(u=n.length,a.set(n,s),i.set(o,u),s+=u)}}catch(f){c.e(f)}finally{c.f()}}}]),n}(xr),Oi=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._values=new yr(new Uint8Array(0)),r}return R(n,[{key:"byteLength",get:function(){var e=this._pendingLength+4*this.length;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),e}},{key:"setValue",value:function(e,t){return zt(ie(n.prototype),"setValue",this).call(this,e,te(t))}},{key:"_flushPending",value:function(e,t){}}]),n}(xr);Oi.prototype._flushPending=Si.prototype._flushPending;var xi=function(){function e(){A(this,e)}return R(e,[{key:"length",get:function(){return this._values.length}},{key:"get",value:function(e){return this._values[e]}},{key:"clear",value:function(){return this._values=null,this}},{key:"bind",value:function(e){return e instanceof qt?e:(this._values=e,this)}}]),e}(),ji=n(5),Ti=Symbol.for("parent"),Ci=Symbol.for("rowIndex"),Ii=Symbol.for("keyToIdx"),Ei=Symbol.for("idxToVal"),Ai=Symbol.for("nodejs.util.inspect.custom"),Mi=function(){function e(t,n){A(this,e),this[Ti]=t,this.size=n}return R(e,[{key:"entries",value:function(){return this[Symbol.iterator]()}},{key:"has",value:function(e){return void 0!==this.get(e)}},{key:"get",value:function(e){var t=void 0;if(null!==e&&void 0!==e){var n=this[Ii]||(this[Ii]=new Map),r=n.get(e);if(void 0!==r){var i=this[Ei]||(this[Ei]=new Array(this.size));void 0!==(t=i[r])||(i[r]=t=this.getValue(r))}else if((r=this.getIndex(e))>-1){n.set(e,r);var a=this[Ei]||(this[Ei]=new Array(this.size));void 0!==(t=a[r])||(a[r]=t=this.getValue(r))}}return t}},{key:"set",value:function(e,t){if(null!==e&&void 0!==e){var n=this[Ii]||(this[Ii]=new Map),r=n.get(e);if(void 0===r&&n.set(e,r=this.getIndex(e)),r>-1)(this[Ei]||(this[Ei]=new Array(this.size)))[r]=this.setValue(r,t)}return this}},{key:"clear",value:function(){throw new Error("Clearing ".concat(this[Symbol.toStringTag]," not supported."))}},{key:"delete",value:function(e){throw new Error("Deleting ".concat(this[Symbol.toStringTag]," values not supported."))}},{key:Symbol.iterator,value:P.mark((function e(){var t,n,r,i,a,o,u,s,c;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.keys(),n=this.values(),r=this[Ii]||(this[Ii]=new Map),i=this[Ei]||(this[Ei]=new Array(this.size)),u=0;case 5:if((s=t.next()).done||(c=n.next()).done){e.next=15;break}return a=s.value,o=c.value,i[u]=o,r.has(a)||r.set(a,u),e.next=12,[a,o];case 12:++u,e.next=5;break;case 15:case"end":return e.stop()}}),e,this)}))},{key:"forEach",value:function(e,t){for(var n,r,i,a,o=this.keys(),u=this.values(),s=void 0===t?e:function(n,r,i){return e.call(t,n,r,i)},c=this[Ii]||(this[Ii]=new Map),l=this[Ei]||(this[Ei]=new Array(this.size)),f=0;!(i=o.next()).done&&!(a=u.next()).done;++f)n=i.value,r=a.value,l[f]=r,c.has(n)||c.set(n,f),s(r,n,this)}},{key:"toArray",value:function(){return Object(hn.a)(this.values())}},{key:"toJSON",value:function(){var e={};return this.forEach((function(t,n){return e[n]=t})),e}},{key:"inspect",value:function(){return this.toString()}},{key:Ai,value:function(){return this.toString()}},{key:"toString",value:function(){var e=[];return this.forEach((function(t,n){n=dr(n),t=dr(t),e.push("".concat(n,": ").concat(t))})),"{ ".concat(e.join(", ")," }")}}]),e}();Mi[Symbol.toStringTag]=function(e){var t;return Object.defineProperties(e,(t={size:{writable:!0,enumerable:!1,configurable:!1,value:0}},Object(ji.a)(t,Ti,{writable:!0,enumerable:!1,configurable:!1,value:null}),Object(ji.a)(t,Ci,{writable:!0,enumerable:!1,configurable:!1,value:-1}),t)),e[Symbol.toStringTag]="Row"}(Mi.prototype);var Ri=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),se(r=t.call(this,e,e.length),Bi(ue(r)))}return R(n,[{key:"keys",value:function(){return this[Ti].getChildAt(0)[Symbol.iterator]()}},{key:"values",value:function(){return this[Ti].getChildAt(1)[Symbol.iterator]()}},{key:"getKey",value:function(e){return this[Ti].getChildAt(0).get(e)}},{key:"getIndex",value:function(e){return this[Ti].getChildAt(0).indexOf(e)}},{key:"getValue",value:function(e){return this[Ti].getChildAt(1).get(e)}},{key:"setValue",value:function(e,t){this[Ti].getChildAt(1).set(e,t)}}]),n}(Mi),Pi=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),se(r=t.call(this,e,e.type.children.length),Di(ue(r)))}return R(n,[{key:"keys",value:P.mark((function e(){var t,n,r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Object(I.a)(this[Ti].type.children),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=9;break}return r=n.value,e.next=7,r.name;case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))},{key:"values",value:P.mark((function e(){var t,n,r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Object(I.a)(this[Ti].type.children),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=9;break}return r=n.value,e.next=7,this[r.name];case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))},{key:"getKey",value:function(e){return this[Ti].type.children[e].name}},{key:"getIndex",value:function(e){return this[Ti].type.children.findIndex((function(t){return t.name===e}))}},{key:"getValue",value:function(e){return this[Ti].getChildAt(e).get(this[Ci])}},{key:"setValue",value:function(e,t){return this[Ti].getChildAt(e).set(this[Ci],t)}}]),n}(Mi);Object.setPrototypeOf(Mi.prototype,Map.prototype);var Li,Di=function(){var e={enumerable:!0,configurable:!1,get:null,set:null};return function(t){var n,r=-1,i=t[Ii]||(t[Ii]=new Map),a=function(e){return function(){return this.get(e)}},o=function(e){return function(t){return this.set(e,t)}},u=Object(I.a)(t.keys());try{for(u.s();!(n=u.n()).done;){var s=n.value;i.set(s,++r),e.get=a(s),e.set=o(s),t.hasOwnProperty(s)||(e.enumerable=!0,Object.defineProperty(t,s,e)),t.hasOwnProperty(r)||(e.enumerable=!1,Object.defineProperty(t,r,e))}}catch(c){u.e(c)}finally{u.f()}return e.get=e.set=null,t}}(),Bi=function(){if("undefined"===typeof Proxy)return Di;var e=Mi.prototype.has,t=Mi.prototype.get,n=Mi.prototype.set,r=Mi.prototype.getKey,i={isExtensible:function(){return!1},deleteProperty:function(){return!1},preventExtensions:function(){return!0},ownKeys:function(e){return Object(hn.a)(e.keys()).map((function(e){return"".concat(e)}))},has:function(e,t){switch(t){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case Ti:case Ci:case Ei:case Ii:case Ai:return!0}return"number"!==typeof t||e.has(t)||(t=e.getKey(t)),e.has(t)},get:function(n,i,a){switch(i){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case Ti:case Ci:case Ei:case Ii:case Ai:return Reflect.get(n,i,a)}return"number"!==typeof i||e.call(a,i)||(i=r.call(a,i)),t.call(a,i)},set:function(t,i,a,o){switch(i){case Ti:case Ci:case Ei:case Ii:return Reflect.set(t,i,a,o);case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:return!1}return"number"!==typeof i||e.call(o,i)||(i=r.call(o,i)),!!e.call(o,i)&&!!n.call(o,i,a)}};return function(e){return new Proxy(e,i)}}();function Ni(e,t,n){var r=e.length,i=t>-1?t:r+t%r;return n?n(e,i):i}function Fi(e,t,n,r){var i=e.length,a=void 0===i?0:i,o="number"!==typeof t?0:t,u="number"!==typeof n?a:n;return o<0&&(o=(o%a+a)%a),u<0&&(u=(u%a+a)%a),u<o&&(Li=o,o=u,u=Li),u>a&&(u=a),r?r(e,o,u):[o,u]}var zi=be?ye(0):0,Ui=function(e){return e!==e};function Vi(e){var t=typeof e;if("object"!==t||null===e)return Ui(e)?Ui:"bigint"!==t?function(t){return t===e}:function(t){return zi+t===e};if(e instanceof Date){var n=e.valueOf();return function(e){return e instanceof Date&&e.valueOf()===n}}return ArrayBuffer.isView(e)?function(t){return!!t&&Tt(e,t)}:e instanceof Map?function(e){var t=-1,n=[];return e.forEach((function(e){return n[++t]=Vi(e)})),Wi(n)}(e):Array.isArray(e)?function(e){for(var t=[],n=-1,r=e.length;++n<r;)t[n]=Vi(e[n]);return Wi(t)}(e):e instanceof qt?function(e){for(var t=[],n=-1,r=e.length;++n<r;)t[n]=Vi(e.get(n));return Wi(t)}(e):function(e){var t=Object.keys(e);if(0===t.length)return function(){return!1};for(var n=[],r=-1,i=t.length;++r<i;)n[r]=Vi(e[t[r]]);return Wi(n,t)}(e)}function Wi(e,t){return function(n){if(!n||"object"!==typeof n)return!1;switch(n.constructor){case Array:return function(e,t){var n=e.length;if(t.length!==n)return!1;for(var r=-1;++r<n;)if(!e[r](t[r]))return!1;return!0}(e,n);case Map:case Ri:case Pi:return Hi(e,n,n.keys());case Object:case void 0:return Hi(e,n,t||Object.keys(n))}return n instanceof qt&&function(e,t){var n=e.length;if(t.length!==n)return!1;for(var r=-1;++r<n;)if(!e[r](t.get(r)))return!1;return!0}(e,n)}}function Hi(e,t,n){for(var r=n[Symbol.iterator](),i=t instanceof Map?t.keys():Object.keys(t)[Symbol.iterator](),a=t instanceof Map?t.values():Object.values(t)[Symbol.iterator](),o=0,u=e.length,s=a.next(),c=r.next(),l=i.next();o<u&&!c.done&&!l.done&&!s.done&&(c.value===l.value&&e[o](s.value));++o,c=r.next(),l=i.next(),s=a.next());return!!(o===u&&c.done&&l.done&&s.done)||(r.return&&r.return(),i.return&&i.return(),a.return&&a.return(),!1)}var $i=function(e){re(n,e);var t=ce(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Yi(i);return A(this,n),(r=t.call(this))._nullCount=-1,r._type=e,r._chunks=i,r._chunkOffsets=a,r._length=a[a.length-1],r._numChildren=(r._type.children||[]).length,r}return R(n,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._length}},{key:"chunks",get:function(){return this._chunks}},{key:"typeId",get:function(){return this._type.typeId}},{key:"VectorName",get:function(){return"Chunked<".concat(this._type,">")}},{key:"data",get:function(){return this._chunks[0]?this._chunks[0].data:null}},{key:"ArrayType",get:function(){return this._type.ArrayType}},{key:"numChildren",get:function(){return this._numChildren}},{key:"stride",get:function(){return this._chunks[0]?this._chunks[0].stride:1}},{key:"byteLength",get:function(){return this._chunks.reduce((function(e,t){return e+t.byteLength}),0)}},{key:"nullCount",get:function(){var e=this._nullCount;return e<0&&(this._nullCount=e=this._chunks.reduce((function(e,t){return e+t.nullCount}),0)),e}},{key:"indices",get:function(){if(En.isDictionary(this._type)){if(!this._indices){var e=this._chunks;this._indices=1===e.length?e[0].indices:n.concat.apply(n,Object(hn.a)(e.map((function(e){return e.indices}))))}return this._indices}return null}},{key:"dictionary",get:function(){return En.isDictionary(this._type)?this._chunks[this._chunks.length-1].data.dictionary:null}},{key:Symbol.iterator,value:P.mark((function e(){var t,n,r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Object(I.a)(this._chunks),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=8;break}return r=n.value,e.delegateYield(r,"t0",6);case 6:e.next=3;break;case 8:e.next=13;break;case 10:e.prev=10,e.t1=e.catch(1),t.e(e.t1);case 13:return e.prev=13,t.f(),e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,10,13,16]])}))},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new n(this._type,e)}},{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.clone(n.flatten.apply(n,[this].concat(t)))}},{key:"slice",value:function(e,t){return Fi(this,e,t,this._sliceInternal)}},{key:"getChildAt",value:function(e){if(e<0||e>=this._numChildren)return null;var t,r,i,a=this._children||(this._children=[]);return(t=a[e])?t:(r=(this._type.children||[])[e])&&(i=this._chunks.map((function(t){return t.getChildAt(e)})).filter((function(e){return null!=e}))).length>0?a[e]=new n(r.type,i):null}},{key:"search",value:function(e,t){var n=e,r=this._chunkOffsets,i=r.length-1;if(n<0)return null;if(n>=r[i])return null;if(i<=1)return t?t(this,0,n):[0,n];var a=0,o=0,u=0;do{if(a+1===i)return t?t(this,a,n-o):[a,n-o];n>=r[u=a+(i-a)/2|0]?a=u:i=u}while(n<r[i]&&n>=(o=r[a]));return null}},{key:"isValid",value:function(e){return!!this.search(e,this.isValidInternal)}},{key:"get",value:function(e){return this.search(e,this.getInternal)}},{key:"set",value:function(e,t){this.search(e,(function(e,n,r){return e.chunks[n].set(r,t)}))}},{key:"indexOf",value:function(e,t){var n=this;return t&&"number"===typeof t?this.search(t,(function(t,r,i){return n.indexOfInternal(t,r,i,e)})):this.indexOfInternal(this,0,Math.max(0,t||0),e)}},{key:"toArray",value:function(){var e=this.chunks,t=e.length,n=this._type.ArrayType;if(t<=0)return new n(0);if(t<=1)return e[0].toArray();for(var r=0,i=new Array(t),a=-1;++a<t;)r+=(i[a]=e[a].toArray()).length;n!==i[0].constructor&&(n=i[0].constructor);for(var o=new n(r),u=n===Array?Gi:qi,s=-1,c=0;++s<t;)c=u(i[s],o,c);return o}},{key:"getInternal",value:function(e,t,n){return e._chunks[t].get(n)}},{key:"isValidInternal",value:function(e,t,n){return e._chunks[t].isValid(n)}},{key:"indexOfInternal",value:function(e,t,n,r){for(var i=e._chunks,a=t-1,o=i.length,u=n,s=0,c=-1;++a<o;){if(~(c=i[a].indexOf(r,u)))return s+c;u=0,s+=i[a].length}return-1}},{key:"_sliceInternal",value:function(e,t,n){for(var r=[],i=e.chunks,a=e._chunkOffsets,o=-1,u=i.length;++o<u;){var s=i[o],c=s.length,l=a[o];if(l>=n)break;if(!(t>=l+c))if(l>=t&&l+c<=n)r.push(s);else{var f=Math.max(0,t-l),d=Math.min(n-l,c);r.push(s.slice(f,d))}}return e.clone(r)}}],[{key:"flatten",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ta(qt,t)}},{key:"concat",value:function(){var e=n.flatten.apply(n,arguments);return new n(e[0].type,e)}}]),n}(qt);function Yi(e){for(var t=new Uint32Array((e||[]).length+1),n=t[0]=0,r=t.length,i=0;++i<r;)t[i]=n+=e[i-1].length;return t}var qi=function(e,t,n){return t.set(e,n),n+e.length},Gi=function(e,t,n){for(var r=n,i=-1,a=e.length;++i<a;)t[r++]=e[i];return r},Ki=function(e){re(n,e);var t=ce(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0;return A(this,n),i=$i.flatten.apply($i,Object(hn.a)(i)),(r=t.call(this,e.type,i,a))._field=e,1!==i.length||ue(r)instanceof Qi?r:se(r,new Qi(e,i[0],r._chunkOffsets))}return R(n,[{key:"field",get:function(){return this._field}},{key:"name",get:function(){return this._field.name}},{key:"nullable",get:function(){return this._field.nullable}},{key:"metadata",get:function(){return this._field.metadata}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new n(this._field,e)}},{key:"getChildAt",value:function(e){if(e<0||e>=this.numChildren)return null;var t,r,i,a=this._children||(this._children=[]);return(t=a[e])?t:(r=(this.type.children||[])[e])&&(i=this._chunks.map((function(t){return t.getChildAt(e)})).filter((function(e){return null!=e}))).length>0?a[e]=new n(r,i):null}}],[{key:"new",value:function(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];var o=$i.flatten(Array.isArray(t)?[].concat(Object(hn.a)(t),i):t instanceof qt?[t].concat(i):[qt.new.apply(qt,[t].concat(i))]);if("string"===typeof e){var u=o[0].data.type;e=new ca(e,u,!0)}else!e.nullable&&o.some((function(e){return e.nullCount>0}))&&(e=e.clone({nullable:!0}));return new n(e,o)}}]),n}($i),Qi=function(e){re(n,e);var t=ce(n);function n(e,r,i){var a;return A(this,n),(a=t.call(this,e,[r],i))._chunk=r,a}return R(n,[{key:"search",value:function(e,t){return t?t(this,0,e):[0,e]}},{key:"isValid",value:function(e){return this._chunk.isValid(e)}},{key:"get",value:function(e){return this._chunk.get(e)}},{key:"set",value:function(e,t){this._chunk.set(e,t)}},{key:"indexOf",value:function(e,t){return this._chunk.indexOf(e,t)}}]),n}(Ki),Xi=Array.isArray,Ji=function(e,t){return ra(e,t,[],0)},Zi=function(e){var t=ua(e,[[],[]]),n=Object(L.a)(t,2),r=n[0];return n[1].map((function(e,t){return e instanceof Ki?Ki.new(e.field.clone(r[t]),e):e instanceof qt?Ki.new(r[t],e):Ki.new(r[t],[])}))},ea=function(e){return ua(e,[[],[]])},ta=function(e,t){return ia(e,t,[],0)},na=function(e,t){return aa(e,t,[],0)};function ra(e,t,n,r){for(var i,a=r,o=-1,u=t.length;++o<u;)Xi(i=t[o])?a=ra(e,i,n,a).length:i instanceof e&&(n[a++]=i);return n}function ia(e,t,n,r){for(var i,a=r,o=-1,u=t.length;++o<u;)Xi(i=t[o])?a=ia(e,i,n,a).length:i instanceof $i?a=ia(e,i.chunks,n,a).length:i instanceof e&&(n[a++]=i);return n}function aa(e,t,n,r){for(var i,a=r,o=-1,u=t.length;++o<u;)Xi(i=t[o])?a=aa(e,i,n,a).length:i instanceof e?a=ra(qt,i.schema.fields.map((function(e,t){return i.getChildAt(t)})),n,a).length:i instanceof qt&&(n[a++]=i);return n}var oa=function(e,t,n){var r=Object(L.a)(t,2),i=r[0],a=r[1];return e[0][n]=i,e[1][n]=a,e};function ua(e,t){var n,r;switch(r=e.length){case 0:return t;case 1:if(n=t[0],!e[0])return t;if(Xi(e[0]))return ua(e[0],t);if(!(e[0]instanceof fr||e[0]instanceof qt||e[0]instanceof En)){var i=Object.entries(e[0]).reduce(oa,t),a=Object(L.a)(i,2);n=a[0],e=a[1]}break;default:Xi(n=e[r-1])?e=Xi(e[0])?e[0]:e.slice(0,r-1):(e=Xi(e[0])?e[0]:e,n=[])}for(var o,u,s=-1,c=-1,l=-1,f=e.length,d=Object(L.a)(t,2),p=d[0],h=d[1];++l<f;)if((u=e[l])instanceof Ki&&(h[++c]=u))p[++s]=u.field.clone(n[l],u.type,!0);else{var v=n[l];o=void 0===v?l:v,u instanceof En&&(h[++c]=u)?p[++s]=ca.new(o,u,!0):u&&u.type&&(h[++c]=u)&&(u instanceof fr&&(h[c]=u=qt.new(u)),p[++s]=ca.new(o,u.type,!0))}return t}var sa=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;A(this,e),this.fields=t||[],this.metadata=n||new Map,r||(r=fa(t)),this.dictionaries=r}return R(e,[{key:Symbol.toStringTag,get:function(){return"Schema"}},{key:"toString",value:function(){return"Schema<{ ".concat(this.fields.map((function(e,t){return"".concat(t,": ").concat(e)})).join(", ")," }>")}},{key:"compareTo",value:function(e){return In.compareSchemas(this,e)}},{key:"select",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce((function(e,t){return(e[t]=!0)&&e}),Object.create(null));return new e(this.fields.filter((function(e){return i[e.name]})),this.metadata)}},{key:"selectAt",value:function(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return new e(r.map((function(e){return t.fields[e]})).filter(Boolean),this.metadata)}},{key:"assign",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0]instanceof e?n[0]:new e(Ji(ca,n)),a=Object(hn.a)(this.fields),o=la(la(new Map,this.metadata),i.metadata),u=i.fields.filter((function(e){var t=a.findIndex((function(t){return t.name===e.name}));return!~t||(a[t]=e.clone({metadata:la(la(new Map,a[t].metadata),e.metadata)}))&&!1})),s=fa(u,new Map);return new e([].concat(Object(hn.a)(a),Object(hn.a)(u)),o,new Map([].concat(Object(hn.a)(this.dictionaries),Object(hn.a)(s))))}}],[{key:"from",value:function(){return e.new(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1])}},{key:"new",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new e(ea(n)[0])}}]),e}(),ca=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;A(this,e),this.name=t,this.type=n,this.nullable=r,this.metadata=i||new Map}return R(e,[{key:"typeId",get:function(){return this.type.typeId}},{key:Symbol.toStringTag,get:function(){return"Field"}},{key:"toString",value:function(){return"".concat(this.name,": ").concat(this.type)}},{key:"compareTo",value:function(e){return In.compareField(this,e)}},{key:"clone",value:function(){for(var t,n,r,i,a,o,u,s,c,l,f,d=arguments.length,p=new Array(d),h=0;h<d;h++)p[h]=arguments[h];var v=p[0],y=p[1],b=p[2],m=p[3];return p[0]&&"object"===typeof p[0]?(v=void 0===(s=(u=p[0]).name)?this.name:s,y=void 0===(c=u.type)?this.type:c,b=void 0===(l=u.nullable)?this.nullable:l,m=void 0===(f=u.metadata)?this.metadata:f):(t=p,v=void 0===(r=(n=Object(L.a)(t,4))[0])?this.name:r,y=void 0===(i=n[1])?this.type:i,b=void 0===(a=n[2])?this.nullable:a,m=void 0===(o=n[3])?this.metadata:o),e.new(v,y,b,m)}}],[{key:"new",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],a=n[1],o=n[2],u=n[3];return n[0]&&"object"===typeof n[0]&&(i=n[0].name,void 0===a&&(a=n[0].type),void 0===o&&(o=n[0].nullable),void 0===u&&(u=n[0].metadata)),new e("".concat(i),a,o,u)}}]),e}();function la(e,t){return new Map([].concat(Object(hn.a)(e||new Map),Object(hn.a)(t||new Map)))}function fa(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=-1,r=e.length;++n<r;){var i=e[n],a=i.type;if(En.isDictionary(a))if(t.has(a.id)){if(t.get(a.id)!==a.dictionary)throw new Error("Cannot create Schema containing two different dictionaries with the same Id")}else t.set(a.id,a.dictionary);a.children&&a.children.length>0&&fa(a.children,t)}return t}sa.prototype.fields=null,sa.prototype.metadata=null,sa.prototype.dictionaries=null,ca.prototype.type=null,ca.prototype.name=null,ca.prototype.nullable=null,ca.prototype.metadata=null;var da=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._run=new xi,r._offsets=new gr,r}return R(n,[{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=e,this.type=new tr(new ca(t,e.type,!0)),this.numChildren-1}},{key:"clear",value:function(){return this._run.clear(),zt(ie(n.prototype),"clear",this).call(this)}},{key:"_flushPending",value:function(e){var t,n,r=this._run,i=this._offsets,a=this._setValue,o=0,u=Object(I.a)(e);try{for(u.s();!(n=u.n()).done;){var s=Object(L.a)(n.value,2);o=s[0],void 0===(t=s[1])?i.set(o,0):(i.set(o,t.length),a(this,o,r.bind(t)))}}catch(c){u.e(c)}finally{u.f()}}}]),n}(xr),pa=function(e){re(n,e);var t=ce(n);function n(){var e;return A(this,n),(e=t.apply(this,arguments))._run=new xi,e}return R(n,[{key:"setValue",value:function(e,t){zt(ie(n.prototype),"setValue",this).call(this,e,this._run.bind(t))}},{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(this.numChildren>0)throw new Error("FixedSizeListBuilder can only have one child.");var n=this.children.push(e);return this.type=new ar(this.type.listSize,new ca(t,e.type,!0)),n}},{key:"clear",value:function(){return this._run.clear(),zt(ie(n.prototype),"clear",this).call(this)}}]),n}(Sr),ha=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"set",value:function(e,t){return zt(ie(n.prototype),"set",this).call(this,e,t)}},{key:"setValue",value:function(e,t){t=t instanceof Map?t:new Map(Object.entries(t));var n=this._pending||(this._pending=new Map),r=n.get(e);r&&(this._pendingLength-=r.size),this._pendingLength+=t.size,n.set(e,t)}},{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.numChildren);if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=e,this.type=new or(new ca(t,e.type,!0),this.type.keysSorted),this.numChildren-1}},{key:"_flushPending",value:function(e){var t=this,n=this._offsets,r=this._setValue;e.forEach((function(e,i){void 0===e?n.set(i,0):(n.set(i,e.size),r(t,i,e))}))}}]),n}(xr),va=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.numChildren),n=this.children.push(e);return this.type=new nr([].concat(Object(hn.a)(this.type.children),[new ca(t,e.type,!0)])),n}}]),n}(Sr),ya=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._typeIds=new br(new Int8Array(0),1),"function"===typeof e.valueToChildTypeId&&(r._valueToChildTypeId=e.valueToChildTypeId),r}return R(n,[{key:"typeIdToChildIndex",get:function(){return this.type.typeIdToChildIndex}},{key:"append",value:function(e,t){return this.set(this.length,e,t)}},{key:"set",value:function(e,t,n){return void 0===n&&(n=this._valueToChildTypeId(this,t,e)),this.setValid(e,this.isValid(t))&&this.setValue(e,t,n),this}},{key:"setValue",value:function(e,t,r){this._typeIds.set(e,r),zt(ie(n.prototype),"setValue",this).call(this,e,t)}},{key:"addChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.children.length),n=this.children.push(e),r=this.type,i=r.children,a=r.mode,o=r.typeIds,u=[].concat(Object(hn.a)(i),[new ca(t,e.type)]);return this.type=new rr(a,[].concat(Object(hn.a)(o),[n]),u),n}},{key:"_valueToChildTypeId",value:function(e,t,n){throw new Error("Cannot map UnionBuilder value to child typeId. Pass the `childTypeId` as the second argument to unionBuilder.append(), or supply a `valueToChildTypeId` function as part of the UnionBuilder constructor options.")}}]),n}(Sr),ba=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ya),ma=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._offsets=new br(new Int32Array(0)),r}return R(n,[{key:"setValue",value:function(e,t,r){var i=this.type.typeIdToChildIndex[r];return this._offsets.set(e,this.getChildAt(i).length),zt(ie(n.prototype),"setValue",this).call(this,e,t,r)}}]),n}(ya),ga=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vn),ka=function(e,t,n){e[t]=n%4294967296|0,e[t+1]=n/4294967296|0},wa=function(e,t,n,r){var i=t[n],a=t[n+1];null!=i&&null!=a&&e.set(r.subarray(0,a-i),i)},_a=function(e,t,n){!function(e,t,n){e[t]=n/864e5|0}(e.values,t,n.valueOf())},Sa=function(e,t,n){var r=e.values;ka(r,2*t,n.valueOf())},Oa=function(e,t,n){var r=e.stride;e.values[r*t]=n},xa=function(e,t,n){var r=e.stride;e.values[r*t]=Br(n)},ja=function(e,t,n){switch(typeof n){case"bigint":e.values64[t]=n;break;case"number":e.values[t*e.stride]=n;break;default:var r=n,i=e.stride,a=Ye(e.ArrayType,r);e.values.set(a.subarray(0,i),i*t)}},Ta=function(e,t,n){var r=e.values;return ka(r,2*t,n/1e3)},Ca=function(e,t,n){var r=e.values;return ka(r,2*t,n)},Ia=function(e,t,n){return function(e,t,n){e[t]=1e3*n%4294967296|0,e[t+1]=1e3*n/4294967296|0}(e.values,2*t,n)},Ea=function(e,t,n){return function(e,t,n){e[t]=1e6*n%4294967296|0,e[t+1]=1e6*n/4294967296|0}(e.values,2*t,n)},Aa=function(e,t,n){e.values[e.stride*t]=n},Ma=function(e,t,n){e.values[e.stride*t]=n},Ra=function(e,t,n){e.values.set(n.subarray(0,2),2*t)},Pa=function(e,t,n){e.values.set(n.subarray(0,2),2*t)},La=function(e,t,n){var r=e.typeIdToChildIndex[e.typeIds[t]],i=e.getChildAt(r);i&&i.set(e.valueOffsets[t],n)},Da=function(e,t,n){var r=e.typeIdToChildIndex[e.typeIds[t]],i=e.getChildAt(r);i&&i.set(t,n)},Ba=function(e,t,n){e.values.set(n.subarray(0,2),2*t)},Na=function(e,t,n){e.values[t]=12*n[0]+n[1]%12};ga.prototype.visitBool=function(e,t,n){var r=e.offset,i=e.values,a=r+t;n?i[a>>3]|=1<<a%8:i[a>>3]&=~(1<<a%8)},ga.prototype.visitInt=function(e,t,n){e.type.bitWidth<64?Oa(e,t,n):ja(e,t,n)},ga.prototype.visitInt8=Oa,ga.prototype.visitInt16=Oa,ga.prototype.visitInt32=Oa,ga.prototype.visitInt64=ja,ga.prototype.visitUint8=Oa,ga.prototype.visitUint16=Oa,ga.prototype.visitUint32=Oa,ga.prototype.visitUint64=ja,ga.prototype.visitFloat=function(e,t,n){e.type.precision!==Jt.HALF?Oa(e,t,n):xa(e,t,n)},ga.prototype.visitFloat16=xa,ga.prototype.visitFloat32=Oa,ga.prototype.visitFloat64=Oa,ga.prototype.visitUtf8=function(e,t,n){var r=e.values,i=e.valueOffsets;wa(r,i,t,te(n))},ga.prototype.visitBinary=function(e,t,n){var r=e.values,i=e.valueOffsets;return wa(r,i,t,n)},ga.prototype.visitFixedSizeBinary=function(e,t,n){var r=e.stride;e.values.set(n.subarray(0,r),r*t)},ga.prototype.visitDate=function(e,t,n){e.type.unit===Qt.DAY?_a(e,t,n):Sa(e,t,n)},ga.prototype.visitDateDay=_a,ga.prototype.visitDateMillisecond=Sa,ga.prototype.visitTimestamp=function(e,t,n){switch(e.type.unit){case Xt.SECOND:return Ta(e,t,n);case Xt.MILLISECOND:return Ca(e,t,n);case Xt.MICROSECOND:return Ia(e,t,n);case Xt.NANOSECOND:return Ea(e,t,n)}},ga.prototype.visitTimestampSecond=Ta,ga.prototype.visitTimestampMillisecond=Ca,ga.prototype.visitTimestampMicrosecond=Ia,ga.prototype.visitTimestampNanosecond=Ea,ga.prototype.visitTime=function(e,t,n){switch(e.type.unit){case Xt.SECOND:return Aa(e,t,n);case Xt.MILLISECOND:return Ma(e,t,n);case Xt.MICROSECOND:return Ra(e,t,n);case Xt.NANOSECOND:return Pa(e,t,n)}},ga.prototype.visitTimeSecond=Aa,ga.prototype.visitTimeMillisecond=Ma,ga.prototype.visitTimeMicrosecond=Ra,ga.prototype.visitTimeNanosecond=Pa,ga.prototype.visitDecimal=function(e,t,n){e.values.set(n.subarray(0,4),4*t)},ga.prototype.visitList=function(e,t,n){for(var r=e.getChildAt(0),i=e.valueOffsets,a=-1,o=i[t],u=i[t+1];o<u;)r.set(o++,n.get(++a))},ga.prototype.visitStruct=function(e,t,n){var r,i,a=n instanceof Map?(r=t,i=n,function(e,t,n){return e&&e.set(r,i.get(t.name))}):n instanceof qt?function(e,t){return function(n,r,i){return n&&n.set(e,t.get(i))}}(t,n):Array.isArray(n)?function(e,t){return function(n,r,i){return n&&n.set(e,t[i])}}(t,n):function(e,t){return function(n,r,i){return n&&n.set(e,t[r.name])}}(t,n);e.type.children.forEach((function(t,n){return a(e.getChildAt(n),t,n)}))},ga.prototype.visitUnion=function(e,t,n){e.type.mode===Zt.Dense?La(e,t,n):Da(e,t,n)},ga.prototype.visitDenseUnion=La,ga.prototype.visitSparseUnion=Da,ga.prototype.visitDictionary=function(e,t,n){var r=e.getKey(t);null!==r&&e.setValue(r,n)},ga.prototype.visitInterval=function(e,t,n){e.type.unit===en.DAY_TIME?Ba(e,t,n):Na(e,t,n)},ga.prototype.visitIntervalDayTime=Ba,ga.prototype.visitIntervalYearMonth=Na,ga.prototype.visitFixedSizeList=function(e,t,n){for(var r=e.getChildAt(0),i=e.stride,a=-1,o=t*i;++a<i;)r.set(o+a,n.get(a))},ga.prototype.visitMap=function(e,t,n){for(var r=e.getChildAt(0),i=e.valueOffsets,a=n instanceof Map?Object(hn.a)(n):Object.entries(n),o=-1,u=i[t],s=i[t+1];u<s;)r.set(u++,a[++o])};var Fa,za=new ga,Ua=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"visitNull",value:function(){return Tr}},{key:"visitBool",value:function(){return jr}},{key:"visitInt",value:function(){return ei}},{key:"visitInt8",value:function(){return ti}},{key:"visitInt16",value:function(){return ni}},{key:"visitInt32",value:function(){return ri}},{key:"visitInt64",value:function(){return ii}},{key:"visitUint8",value:function(){return ai}},{key:"visitUint16",value:function(){return oi}},{key:"visitUint32",value:function(){return ui}},{key:"visitUint64",value:function(){return si}},{key:"visitFloat",value:function(){return Nr}},{key:"visitFloat16",value:function(){return Fr}},{key:"visitFloat32",value:function(){return zr}},{key:"visitFloat64",value:function(){return Ur}},{key:"visitUtf8",value:function(){return Oi}},{key:"visitBinary",value:function(){return Si}},{key:"visitFixedSizeBinary",value:function(){return Rr}},{key:"visitDate",value:function(){return Cr}},{key:"visitDateDay",value:function(){return Ir}},{key:"visitDateMillisecond",value:function(){return Er}},{key:"visitTimestamp",value:function(){return vi}},{key:"visitTimestampSecond",value:function(){return yi}},{key:"visitTimestampMillisecond",value:function(){return bi}},{key:"visitTimestampMicrosecond",value:function(){return mi}},{key:"visitTimestampNanosecond",value:function(){return gi}},{key:"visitTime",value:function(){return li}},{key:"visitTimeSecond",value:function(){return fi}},{key:"visitTimeMillisecond",value:function(){return di}},{key:"visitTimeMicrosecond",value:function(){return pi}},{key:"visitTimeNanosecond",value:function(){return hi}},{key:"visitDecimal",value:function(){return Ar}},{key:"visitList",value:function(){return da}},{key:"visitStruct",value:function(){return va}},{key:"visitUnion",value:function(){return ya}},{key:"visitDenseUnion",value:function(){return ma}},{key:"visitSparseUnion",value:function(){return ba}},{key:"visitDictionary",value:function(){return Mr}},{key:"visitInterval",value:function(){return ki}},{key:"visitIntervalDayTime",value:function(){return wi}},{key:"visitIntervalYearMonth",value:function(){return _i}},{key:"visitFixedSizeList",value:function(){return pa}},{key:"visitMap",value:function(){return ha}}]),n}(vn),Va=new Ua;Sr.new=function e(t){var n=t.type,r=new(Va.getVisitFn(n)())(t);if(n.children&&n.children.length>0){var i=t.children||[],a={nullValues:t.nullValues},o=Array.isArray(i)?function(e,t){return i[t]||a}:function(e){var t=e.name;return i[t]||a};n.children.forEach((function(t,n){var i=t.type,a=o(t,n);r.children.push(e(Object(Ft.a)(Object(Ft.a)({},a),{},{type:i})))}))}return r},Object.keys(Gt).map((function(e){return Gt[e]})).filter((function(e){return"number"===typeof e&&e!==Gt.NONE})).forEach((function(e){Va.visit(e).prototype._setValue=za.getVisitFn(e)})),Oi.prototype._setValue=za.visitBinary,function(e){!function(t){!function(t){!function(t){var n=function(){function t(){A(this,t),this.bb=null,this.bb_pos=0}return R(t,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"version",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Ut.apache.arrow.flatbuf.MetadataVersion.V1}},{key:"schema",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?(e||new Ut.apache.arrow.flatbuf.Schema).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}},{key:"dictionaries",value:function(t,n){var r=this.bb.__offset(this.bb_pos,8);return r?(n||new e.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+r)+24*t,this.bb):null}},{key:"dictionariesLength",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"recordBatches",value:function(t,n){var r=this.bb.__offset(this.bb_pos,10);return r?(n||new e.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+r)+24*t,this.bb):null}},{key:"recordBatchesLength",value:function(){var e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}}],[{key:"getRootAsFooter",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startFooter",value:function(e){e.startObject(4)}},{key:"addVersion",value:function(e,t){e.addFieldInt16(0,t,Ut.apache.arrow.flatbuf.MetadataVersion.V1)}},{key:"addSchema",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"addDictionaries",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"startDictionariesVector",value:function(e,t){e.startVector(24,t,8)}},{key:"addRecordBatches",value:function(e,t){e.addFieldOffset(3,t,0)}},{key:"startRecordBatchesVector",value:function(e,t){e.startVector(24,t,8)}},{key:"endFooter",value:function(e){return e.endObject()}},{key:"finishFooterBuffer",value:function(e,t){e.finish(t)}},{key:"createFooter",value:function(e,n,r,i,a){return t.startFooter(e),t.addVersion(e,n),t.addSchema(e,r),t.addDictionaries(e,i),t.addRecordBatches(e,a),t.endFooter(e)}}]),t}();t.Footer=n}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(e.apache||(e.apache={}))}(Fa||(Fa={})),function(e){!function(e){!function(e){!function(e){var t=function(){function e(){A(this,e),this.bb=null,this.bb_pos=0}return R(e,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"offset",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"metaDataLength",value:function(){return this.bb.readInt32(this.bb_pos+8)}},{key:"bodyLength",value:function(){return this.bb.readInt64(this.bb_pos+16)}}],[{key:"createBlock",value:function(e,t,n,r){return e.prep(8,24),e.writeInt64(r),e.pad(4),e.writeInt32(n),e.writeInt64(t),e.offset()}}]),e}();e.Block=t}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(e.apache||(e.apache={}))}(Fa||(Fa={}));var Wa=U.Long,Ha=U.Builder,$a=U.ByteBuffer,Ya=Fa.apache.arrow.flatbuf.Block,qa=Fa.apache.arrow.flatbuf.Footer,Ga=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nn.V4,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;A(this,e),this.schema=t,this.version=n,r&&(this._recordBatches=r),i&&(this._dictionaryBatches=i)}return R(e,[{key:"numRecordBatches",get:function(){return this._recordBatches.length}},{key:"numDictionaries",get:function(){return this._dictionaryBatches.length}},{key:"recordBatches",value:P.mark((function e(){var t,n,r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=-1,r=this.numRecordBatches;case 1:if(!(++n<r)){e.next=7;break}if(!(t=this.getRecordBatch(n))){e.next=5;break}return e.next=5,t;case 5:e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"dictionaryBatches",value:P.mark((function e(){var t,n,r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=-1,r=this.numDictionaries;case 1:if(!(++n<r)){e.next=7;break}if(!(t=this.getDictionaryBatch(n))){e.next=5;break}return e.next=5,t;case 5:e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"getRecordBatch",value:function(e){return e>=0&&e<this.numRecordBatches&&this._recordBatches[e]||null}},{key:"getDictionaryBatch",value:function(e){return e>=0&&e<this.numDictionaries&&this._dictionaryBatches[e]||null}}],[{key:"decode",value:function(e){e=new $a(Xe(e));var t=qa.getRootAsFooter(e),n=sa.decode(t.schema());return new Ka(n,t)}},{key:"encode",value:function(e){var t=new Ha,n=sa.encode(t,e.schema);qa.startRecordBatchesVector(t,e.numRecordBatches),Object(hn.a)(e.recordBatches()).slice().reverse().forEach((function(e){return Qa.encode(t,e)}));var r=t.endVector();qa.startDictionariesVector(t,e.numDictionaries),Object(hn.a)(e.dictionaryBatches()).slice().reverse().forEach((function(e){return Qa.encode(t,e)}));var i=t.endVector();return qa.startFooter(t),qa.addSchema(t,n),qa.addVersion(t,nn.V4),qa.addRecordBatches(t,r),qa.addDictionaries(t,i),qa.finishFooterBuffer(t,qa.endFooter(t)),t.asUint8Array()}}]),e}(),Ka=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this,e,r.version()))._footer=r,i}return R(n,[{key:"numRecordBatches",get:function(){return this._footer.recordBatchesLength()}},{key:"numDictionaries",get:function(){return this._footer.dictionariesLength()}},{key:"getRecordBatch",value:function(e){if(e>=0&&e<this.numRecordBatches){var t=this._footer.recordBatches(e);if(t)return Qa.decode(t)}return null}},{key:"getDictionaryBatch",value:function(e){if(e>=0&&e<this.numDictionaries){var t=this._footer.dictionaries(e);if(t)return Qa.decode(t)}return null}}]),n}(Ga),Qa=function(){function e(t,n,r){A(this,e),this.metaDataLength=t,this.offset="number"===typeof r?r:r.low,this.bodyLength="number"===typeof n?n:n.low}return R(e,null,[{key:"decode",value:function(t){return new e(t.metaDataLength(),t.bodyLength(),t.offset())}},{key:"encode",value:function(e,t){var n=t.metaDataLength,r=new Wa(t.offset,0),i=new Wa(t.bodyLength,0);return Ya.createBlock(e,r,n,i)}}]),e}();function Xa(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Ja(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Ja(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Ja=function(e){this.s=e,this.n=e.next},Ja.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new Ja(e)}var Za=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"write",value:function(e){if((e=Xe(e)).byteLength>0)return zt(ie(n.prototype),"write",this).call(this,e)}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?ee(this.toUint8Array(!0)):this.toUint8Array(!1).then(ee)}},{key:"toUint8Array",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?$e(this._values)[0]:Object(E.a)(P.mark((function t(){var n,r,i,a,o,u,s,c,l;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=[],r=0,i=!0,a=!1,t.prev=3,u=Xa(e);case 5:return t.next=7,u.next();case 7:return s=t.sent,i=s.done,t.next=11,s.value;case 11:if(c=t.sent,i){t.next=19;break}l=c,n.push(l),r+=l.byteLength;case 16:i=!0,t.next=5;break;case 19:t.next=25;break;case 21:t.prev=21,t.t0=t.catch(3),a=!0,o=t.t0;case 25:if(t.prev=25,t.prev=26,i||null==u.return){t.next=30;break}return t.next=30,u.return();case 30:if(t.prev=30,!a){t.next=33;break}throw o;case 33:return t.finish(30);case 34:return t.finish(25);case 35:return t.abrupt("return",$e(n,r)[0]);case 36:case"end":return t.stop()}}),t,null,[[3,21,25,35],[26,,30,34]])})))()}}]),n}(pe),eo=function(){function e(t){A(this,e),t&&(this.source=new no(It.fromIterable(t)))}return R(e,[{key:Symbol.iterator,value:function(){return this}},{key:"next",value:function(e){return this.source.next(e)}},{key:"throw",value:function(e){return this.source.throw(e)}},{key:"return",value:function(e){return this.source.return(e)}},{key:"peek",value:function(e){return this.source.peek(e)}},{key:"read",value:function(e){return this.source.read(e)}}]),e}(),to=function(){function e(t){A(this,e),t instanceof e?this.source=t.source:t instanceof Za?this.source=new ro(It.fromAsyncIterable(t)):Ne(t)?this.source=new ro(It.fromNodeStream(t)):De(t)?this.source=new ro(It.fromDOMStream(t)):Pe(t)?this.source=new ro(It.fromDOMStream(t.body)):Ie(t)?this.source=new ro(It.fromIterable(t)):(Ce(t)||Ee(t))&&(this.source=new ro(It.fromAsyncIterable(t)))}return R(e,[{key:Symbol.asyncIterator,value:function(){return this}},{key:"next",value:function(e){return this.source.next(e)}},{key:"throw",value:function(e){return this.source.throw(e)}},{key:"return",value:function(e){return this.source.return(e)}},{key:"closed",get:function(){return this.source.closed}},{key:"cancel",value:function(e){return this.source.cancel(e)}},{key:"peek",value:function(e){return this.source.peek(e)}},{key:"read",value:function(e){return this.source.read(e)}}]),e}(),no=function(){function e(t){A(this,e),this.source=t}return R(e,[{key:"cancel",value:function(e){this.return(e)}},{key:"peek",value:function(e){return this.next(e,"peek").value}},{key:"read",value:function(e){return this.next(e,"read").value}},{key:"next",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"read";return this.source.next({cmd:t,size:e})}},{key:"throw",value:function(e){return Object.create(this.source.throw&&this.source.throw(e)||le)}},{key:"return",value:function(e){return Object.create(this.source.return&&this.source.return(e)||le)}}]),e}(),ro=function(){function e(t){var n=this;A(this,e),this.source=t,this._closedPromise=new Promise((function(e){return n._closedPromiseResolve=e}))}return R(e,[{key:"cancel",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.return(t);case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"closed",get:function(){return this._closedPromise}},{key:"read",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next(t,"read");case 2:return e.abrupt("return",e.sent.value);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"peek",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next(t,"peek");case 2:return e.abrupt("return",e.sent.value);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"next",value:function(){var e=Object(E.a)(P.mark((function e(t){var n,r=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:"read",e.next=3,this.source.next({cmd:n,size:t});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"throw",value:function(){var e=Object(E.a)(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t1=this.source.throw,!e.t1){e.next=5;break}return e.next=4,this.source.throw(t);case 4:e.t1=e.sent;case 5:if(e.t0=e.t1,e.t0){e.next=8;break}e.t0=le;case 8:return n=e.t0,this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,e.abrupt("return",Object.create(n));case 12:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"return",value:function(){var e=Object(E.a)(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t1=this.source.return,!e.t1){e.next=5;break}return e.next=4,this.source.return(t);case 4:e.t1=e.sent;case 5:if(e.t0=e.t1,e.t0){e.next=8;break}e.t0=le;case 8:return n=e.t0,this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,e.abrupt("return",Object.create(n));case 12:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),io=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this)).position=0,i.buffer=Xe(e),i.size="undefined"===typeof r?i.buffer.byteLength:r,i}return R(n,[{key:"readInt32",value:function(e){var t=this.readAt(e,4),n=t.buffer,r=t.byteOffset;return new DataView(n,r).getInt32(0,!0)}},{key:"seek",value:function(e){return this.position=Math.min(e,this.size),e<this.size}},{key:"read",value:function(e){var t=this.buffer,n=this.size,r=this.position;return t&&r<n?("number"!==typeof e&&(e=1/0),this.position=Math.min(n,r+Math.min(n-r,e)),t.subarray(r,this.position)):null}},{key:"readAt",value:function(e,t){var n=this.buffer,r=Math.min(this.size,e+t);return n?n.subarray(e,r):new Uint8Array(t)}},{key:"close",value:function(){this.buffer&&(this.buffer=null)}},{key:"throw",value:function(e){return this.close(),{done:!0,value:e}}},{key:"return",value:function(e){return this.close(),{done:!0,value:e}}}]),n}(eo),ao=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this)).position=0,i._handle=e,"number"===typeof r?i.size=r:i._pending=Object(E.a)(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.stat();case 2:i.size=t.sent.size,delete i._pending;case 4:case"end":return t.stop()}}),t)})))(),i}return R(n,[{key:"readInt32",value:function(){var e=Object(E.a)(P.mark((function e(t){var n,r,i;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.readAt(t,4);case 2:return n=e.sent,r=n.buffer,i=n.byteOffset,e.abrupt("return",new DataView(r,i).getInt32(0,!0));case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"seek",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this._pending,!e.t0){e.next=4;break}return e.next=4,this._pending;case 4:return this.position=Math.min(t,this.size),e.abrupt("return",t<this.size);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"read",value:function(){var e=Object(E.a)(P.mark((function e(t){var n,r,i,a,o,u,s,c,l;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this._pending,!e.t0){e.next=4;break}return e.next=4,this._pending;case 4:if(n=this._handle,r=this.size,i=this.position,!(n&&i<r)){e.next=18;break}"number"!==typeof t&&(t=1/0),a=i,o=0,u=0,s=Math.min(r,a+Math.min(r-a,t)),c=new Uint8Array(Math.max(0,(this.position=s)-a));case 10:if(!((a+=u)<s&&(o+=u)<c.byteLength)){e.next=17;break}return e.next=13,n.read(c,o,c.byteLength-o,a);case 13:l=e.sent,u=l.bytesRead,e.next=10;break;case 17:return e.abrupt("return",c);case 18:return e.abrupt("return",null);case 19:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"readAt",value:function(){var e=Object(E.a)(P.mark((function e(t,n){var r,i,a,o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this._pending,!e.t0){e.next=4;break}return e.next=4,this._pending;case 4:if(r=this._handle,i=this.size,!(r&&t+n<i)){e.next=11;break}return a=Math.min(i,t+n),o=new Uint8Array(a-t),e.next=10,r.read(o,0,n,t);case 10:return e.abrupt("return",e.sent.buffer);case 11:return e.abrupt("return",new Uint8Array(n));case 12:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"close",value:function(){var e=Object(E.a)(P.mark((function e(){var t;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this._handle,this._handle=null,e.t0=t,!e.t0){e.next=6;break}return e.next=6,t.close();case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"throw",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.close();case 2:return e.abrupt("return",{done:!0,value:t});case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"return",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.close();case 2:return e.abrupt("return",{done:!0,value:t});case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),n}(to);function oo(e){return e<0&&(e=4294967295+e+1),"0x".concat(e.toString(16))}var uo=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8],so=function(){function e(t){A(this,e),this.buffer=t}return R(e,[{key:"high",value:function(){return this.buffer[1]}},{key:"low",value:function(){return this.buffer[0]}},{key:"_times",value:function(e){var t=new Uint32Array([this.buffer[1]>>>16,65535&this.buffer[1],this.buffer[0]>>>16,65535&this.buffer[0]]),n=new Uint32Array([e.buffer[1]>>>16,65535&e.buffer[1],e.buffer[0]>>>16,65535&e.buffer[0]]),r=t[3]*n[3];this.buffer[0]=65535&r;var i=r>>>16;return i+=r=t[2]*n[3],i+=r=t[3]*n[2]>>>0,this.buffer[0]+=i<<16,this.buffer[1]=i>>>0<r?65536:0,this.buffer[1]+=i>>>16,this.buffer[1]+=t[1]*n[3]+t[2]*n[2]+t[3]*n[1],this.buffer[1]+=t[0]*n[3]+t[1]*n[2]+t[2]*n[1]+t[3]*n[0]<<16,this}},{key:"_plus",value:function(e){var t=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],t<this.buffer[0]>>>0&&++this.buffer[1],this.buffer[0]=t}},{key:"lessThan",value:function(e){return this.buffer[1]<e.buffer[1]||this.buffer[1]===e.buffer[1]&&this.buffer[0]<e.buffer[0]}},{key:"equals",value:function(e){return this.buffer[1]===e.buffer[1]&&this.buffer[0]==e.buffer[0]}},{key:"greaterThan",value:function(e){return e.lessThan(this)}},{key:"hex",value:function(){return"".concat(oo(this.buffer[1])," ").concat(oo(this.buffer[0]))}}]),e}(),co=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"times",value:function(e){return this._times(e),this}},{key:"plus",value:function(e){return this._plus(e),this}}],[{key:"from",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString("string"===typeof e?e:e.toString(),t)}},{key:"fromNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString(e.toString(),t)}},{key:"fromString",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2),r=e.length,i=new n(t),a=0;a<r;){var o=8<r-a?8:r-a,u=new n(new Uint32Array([parseInt(e.substr(a,o),10),0])),s=new n(new Uint32Array([uo[o],0]));i.times(s),i.plus(u),a+=o}return i}},{key:"convertArray",value:function(e){for(var t=new Uint32Array(2*e.length),r=-1,i=e.length;++r<i;)n.from(e[r],new Uint32Array(t.buffer,t.byteOffset+2*r*4,2));return t}},{key:"multiply",value:function(e,t){return new n(new Uint32Array(e.buffer)).times(t)}},{key:"add",value:function(e,t){return new n(new Uint32Array(e.buffer)).plus(t)}}]),n}(so),lo=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"negate",value:function(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],0==this.buffer[0]&&++this.buffer[1],this}},{key:"times",value:function(e){return this._times(e),this}},{key:"plus",value:function(e){return this._plus(e),this}},{key:"lessThan",value:function(e){var t=this.buffer[1]<<0,n=e.buffer[1]<<0;return t<n||t===n&&this.buffer[0]<e.buffer[0]}}],[{key:"from",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString("string"===typeof e?e:e.toString(),t)}},{key:"fromNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString(e.toString(),t)}},{key:"fromString",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2),r=e.startsWith("-"),i=e.length,a=new n(t),o=r?1:0;o<i;){var u=8<i-o?8:i-o,s=new n(new Uint32Array([parseInt(e.substr(o,u),10),0])),c=new n(new Uint32Array([uo[u],0]));a.times(c),a.plus(s),o+=u}return r?a.negate():a}},{key:"convertArray",value:function(e){for(var t=new Uint32Array(2*e.length),r=-1,i=e.length;++r<i;)n.from(e[r],new Uint32Array(t.buffer,t.byteOffset+2*r*4,2));return t}},{key:"multiply",value:function(e,t){return new n(new Uint32Array(e.buffer)).times(t)}},{key:"add",value:function(e,t){return new n(new Uint32Array(e.buffer)).plus(t)}}]),n}(so),fo=function(){function e(t){A(this,e),this.buffer=t}return R(e,[{key:"high",value:function(){return new lo(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2))}},{key:"low",value:function(){return new lo(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset,2))}},{key:"negate",value:function(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],this.buffer[2]=~this.buffer[2],this.buffer[3]=~this.buffer[3],0==this.buffer[0]&&++this.buffer[1],0==this.buffer[1]&&++this.buffer[2],0==this.buffer[2]&&++this.buffer[3],this}},{key:"times",value:function(e){var t=new co(new Uint32Array([this.buffer[3],0])),n=new co(new Uint32Array([this.buffer[2],0])),r=new co(new Uint32Array([this.buffer[1],0])),i=new co(new Uint32Array([this.buffer[0],0])),a=new co(new Uint32Array([e.buffer[3],0])),o=new co(new Uint32Array([e.buffer[2],0])),u=new co(new Uint32Array([e.buffer[1],0])),s=new co(new Uint32Array([e.buffer[0],0])),c=co.multiply(i,s);this.buffer[0]=c.low();var l=new co(new Uint32Array([c.high(),0]));return c=co.multiply(r,s),l.plus(c),c=co.multiply(i,u),l.plus(c),this.buffer[1]=l.low(),this.buffer[3]=l.lessThan(c)?1:0,this.buffer[2]=l.high(),new co(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2)).plus(co.multiply(n,s)).plus(co.multiply(r,u)).plus(co.multiply(i,o)),this.buffer[3]+=co.multiply(t,s).plus(co.multiply(n,u)).plus(co.multiply(r,o)).plus(co.multiply(i,a)).low(),this}},{key:"plus",value:function(e){var t=new Uint32Array(4);return t[3]=this.buffer[3]+e.buffer[3]>>>0,t[2]=this.buffer[2]+e.buffer[2]>>>0,t[1]=this.buffer[1]+e.buffer[1]>>>0,t[0]=this.buffer[0]+e.buffer[0]>>>0,t[0]<this.buffer[0]>>>0&&++t[1],t[1]<this.buffer[1]>>>0&&++t[2],t[2]<this.buffer[2]>>>0&&++t[3],this.buffer[3]=t[3],this.buffer[2]=t[2],this.buffer[1]=t[1],this.buffer[0]=t[0],this}},{key:"hex",value:function(){return"".concat(oo(this.buffer[3])," ").concat(oo(this.buffer[2])," ").concat(oo(this.buffer[1])," ").concat(oo(this.buffer[0]))}}],[{key:"multiply",value:function(t,n){return new e(new Uint32Array(t.buffer)).times(n)}},{key:"add",value:function(t,n){return new e(new Uint32Array(t.buffer)).plus(n)}},{key:"from",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);return e.fromString("string"===typeof t?t:t.toString(),n)}},{key:"fromNumber",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);return e.fromString(t.toString(),n)}},{key:"fromString",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4),r=t.startsWith("-"),i=t.length,a=new e(n),o=r?1:0;o<i;){var u=8<i-o?8:i-o,s=new e(new Uint32Array([parseInt(t.substr(o,u),10),0,0,0])),c=new e(new Uint32Array([uo[u],0,0,0]));a.times(c),a.plus(s),o+=u}return r?a.negate():a}},{key:"convertArray",value:function(t){for(var n=new Uint32Array(4*t.length),r=-1,i=t.length;++r<i;)e.from(t[r],new Uint32Array(n.buffer,n.byteOffset+16*r,4));return n}}]),e}(),po=function(e){re(n,e);var t=ce(n);function n(e,r,i,a){var o;return A(this,n),(o=t.call(this)).nodesIndex=-1,o.buffersIndex=-1,o.bytes=e,o.nodes=r,o.buffers=i,o.dictionaries=a,o}return R(n,[{key:"visit",value:function(e){return zt(ie(n.prototype),"visit",this).call(this,e instanceof ca?e.type:e)}},{key:"visitNull",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length;return fr.Null(e,0,n)}},{key:"visitBool",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Bool(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitInt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Int(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitFloat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Float(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitUtf8",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Utf8(e,0,n,r,this.readNullBitmap(e,r),this.readOffsets(e),this.readData(e))}},{key:"visitBinary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Binary(e,0,n,r,this.readNullBitmap(e,r),this.readOffsets(e),this.readData(e))}},{key:"visitFixedSizeBinary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.FixedSizeBinary(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Date(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitTimestamp",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Timestamp(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitTime",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Time(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitDecimal",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Decimal(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitList",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.List(e,0,n,r,this.readNullBitmap(e,r),this.readOffsets(e),this.visit(e.children[0]))}},{key:"visitStruct",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Struct(e,0,n,r,this.readNullBitmap(e,r),this.visitMany(e.children))}},{key:"visitUnion",value:function(e){return e.mode===Zt.Sparse?this.visitSparseUnion(e):this.visitDenseUnion(e)}},{key:"visitDenseUnion",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Union(e,0,n,r,this.readNullBitmap(e,r),this.readTypeIds(e),this.readOffsets(e),this.visitMany(e.children))}},{key:"visitSparseUnion",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Union(e,0,n,r,this.readNullBitmap(e,r),this.readTypeIds(e),this.visitMany(e.children))}},{key:"visitDictionary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Dictionary(e,0,n,r,this.readNullBitmap(e,r),this.readData(e.indices),this.readDictionary(e))}},{key:"visitInterval",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Interval(e,0,n,r,this.readNullBitmap(e,r),this.readData(e))}},{key:"visitFixedSizeList",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.FixedSizeList(e,0,n,r,this.readNullBitmap(e,r),this.visit(e.children[0]))}},{key:"visitMap",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=t.length,r=t.nullCount;return fr.Map(e,0,n,r,this.readNullBitmap(e,r),this.readOffsets(e),this.visit(e.children[0]))}},{key:"nextFieldNode",value:function(){return this.nodes[++this.nodesIndex]}},{key:"nextBufferRange",value:function(){return this.buffers[++this.buffersIndex]}},{key:"readNullBitmap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nextBufferRange();return t>0&&this.readData(e,n)||new Uint8Array(0)}},{key:"readOffsets",value:function(e,t){return this.readData(e,t)}},{key:"readTypeIds",value:function(e,t){return this.readData(e,t)}},{key:"readData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=t.length,r=t.offset;return this.bytes.subarray(r,r+n)}},{key:"readDictionary",value:function(e){return this.dictionaries.get(e.id)}}]),n}(vn),ho=function(e){re(n,e);var t=ce(n);function n(e,r,i,a){var o;return A(this,n),(o=t.call(this,new Uint8Array(0),r,i,a)).sources=e,o}return R(n,[{key:"readNullBitmap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nextBufferRange(),r=n.offset;return t<=0?new Uint8Array(0):cn(this.sources[r])}},{key:"readOffsets",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=t.offset;return Ye(Uint8Array,Ye(Int32Array,this.sources[n]))}},{key:"readTypeIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=t.offset;return Ye(Uint8Array,Ye(e.ArrayType,this.sources[n]))}},{key:"readData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=t.offset,r=this.sources;return En.isTimestamp(e)||(En.isInt(e)||En.isTime(e))&&64===e.bitWidth||En.isDate(e)&&e.unit===Qt.MILLISECOND?Ye(Uint8Array,lo.convertArray(r[n])):En.isDecimal(e)?Ye(Uint8Array,fo.convertArray(r[n])):En.isBinary(e)||En.isFixedSizeBinary(e)?vo(r[n]):En.isBool(e)?cn(r[n]):En.isUtf8(e)?te(r[n].join("")):Ye(Uint8Array,Ye(e.ArrayType,r[n].map((function(e){return+e}))))}}]),n}(po);function vo(e){for(var t=e.join(""),n=new Uint8Array(t.length/2),r=0;r<t.length;r+=2)n[r>>1]=parseInt(t.substr(r,2),16);return n}var yo=U.Long,bo=Ut.apache.arrow.flatbuf.Null,mo=Ut.apache.arrow.flatbuf.Int,go=Ut.apache.arrow.flatbuf.FloatingPoint,ko=Ut.apache.arrow.flatbuf.Binary,wo=Ut.apache.arrow.flatbuf.Bool,_o=Ut.apache.arrow.flatbuf.Utf8,So=Ut.apache.arrow.flatbuf.Decimal,Oo=Ut.apache.arrow.flatbuf.Date,xo=Ut.apache.arrow.flatbuf.Time,jo=Ut.apache.arrow.flatbuf.Timestamp,To=Ut.apache.arrow.flatbuf.Interval,Co=Ut.apache.arrow.flatbuf.List,Io=Ut.apache.arrow.flatbuf.Struct_,Eo=Ut.apache.arrow.flatbuf.Union,Ao=Ut.apache.arrow.flatbuf.DictionaryEncoding,Mo=Ut.apache.arrow.flatbuf.FixedSizeBinary,Ro=Ut.apache.arrow.flatbuf.FixedSizeList,Po=Ut.apache.arrow.flatbuf.Map,Lo=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"visit",value:function(e,t){return null==e||null==t?void 0:zt(ie(n.prototype),"visit",this).call(this,e,t)}},{key:"visitNull",value:function(e,t){return bo.startNull(t),bo.endNull(t)}},{key:"visitInt",value:function(e,t){return mo.startInt(t),mo.addBitWidth(t,e.bitWidth),mo.addIsSigned(t,e.isSigned),mo.endInt(t)}},{key:"visitFloat",value:function(e,t){return go.startFloatingPoint(t),go.addPrecision(t,e.precision),go.endFloatingPoint(t)}},{key:"visitBinary",value:function(e,t){return ko.startBinary(t),ko.endBinary(t)}},{key:"visitBool",value:function(e,t){return wo.startBool(t),wo.endBool(t)}},{key:"visitUtf8",value:function(e,t){return _o.startUtf8(t),_o.endUtf8(t)}},{key:"visitDecimal",value:function(e,t){return So.startDecimal(t),So.addScale(t,e.scale),So.addPrecision(t,e.precision),So.endDecimal(t)}},{key:"visitDate",value:function(e,t){return Oo.startDate(t),Oo.addUnit(t,e.unit),Oo.endDate(t)}},{key:"visitTime",value:function(e,t){return xo.startTime(t),xo.addUnit(t,e.unit),xo.addBitWidth(t,e.bitWidth),xo.endTime(t)}},{key:"visitTimestamp",value:function(e,t){var n=e.timezone&&t.createString(e.timezone)||void 0;return jo.startTimestamp(t),jo.addUnit(t,e.unit),void 0!==n&&jo.addTimezone(t,n),jo.endTimestamp(t)}},{key:"visitInterval",value:function(e,t){return To.startInterval(t),To.addUnit(t,e.unit),To.endInterval(t)}},{key:"visitList",value:function(e,t){return Co.startList(t),Co.endList(t)}},{key:"visitStruct",value:function(e,t){return Io.startStruct_(t),Io.endStruct_(t)}},{key:"visitUnion",value:function(e,t){Eo.startTypeIdsVector(t,e.typeIds.length);var n=Eo.createTypeIdsVector(t,e.typeIds);return Eo.startUnion(t),Eo.addMode(t,e.mode),Eo.addTypeIds(t,n),Eo.endUnion(t)}},{key:"visitDictionary",value:function(e,t){var n=this.visit(e.indices,t);return Ao.startDictionaryEncoding(t),Ao.addId(t,new yo(e.id,0)),Ao.addIsOrdered(t,e.isOrdered),void 0!==n&&Ao.addIndexType(t,n),Ao.endDictionaryEncoding(t)}},{key:"visitFixedSizeBinary",value:function(e,t){return Mo.startFixedSizeBinary(t),Mo.addByteWidth(t,e.byteWidth),Mo.endFixedSizeBinary(t)}},{key:"visitFixedSizeList",value:function(e,t){return Ro.startFixedSizeList(t),Ro.addListSize(t,e.listSize),Ro.endFixedSizeList(t)}},{key:"visitMap",value:function(e,t){return Po.startMap(t),Po.addKeysSorted(t,e.keysSorted),Po.endMap(t)}}]),n}(vn),Do=new Lo;function Bo(e){return new au(e.count,zo(e.columns),Uo(e.columns))}function No(e,t){return(e.fields||[]).filter(Boolean).map((function(e){return ca.fromJSON(e,t)}))}function Fo(e,t){return(e.children||[]).filter(Boolean).map((function(e){return ca.fromJSON(e,t)}))}function zo(e){return(e||[]).reduce((function(e,t){return[].concat(Object(hn.a)(e),[new su(t.count,(n=t.VALIDITY,(n||[]).reduce((function(e,t){return e+ +(0===t)}),0)))],Object(hn.a)(zo(t.children)));var n}),[])}function Uo(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=-1,r=(e||[]).length;++n<r;){var i=e[n];i.VALIDITY&&t.push(new uu(t.length,i.VALIDITY.length)),i.TYPE&&t.push(new uu(t.length,i.TYPE.length)),i.OFFSET&&t.push(new uu(t.length,i.OFFSET.length)),i.DATA&&t.push(new uu(t.length,i.DATA.length)),t=Uo(i.children,t)}return t}function Vo(e){return new Map(Object.entries(e||{}))}function Wo(e){return new Mn(e.isSigned,e.bitWidth)}function Ho(e,t){var n=e.type.name;switch(n){case"NONE":case"null":return new An;case"binary":return new $n;case"utf8":return new Yn;case"bool":return new qn;case"list":return new tr((t||[])[0]);case"struct":case"struct_":return new nr(t||[])}switch(n){case"int":var r=e.type;return new Mn(r.isSigned,r.bitWidth);case"floatingpoint":var i=e.type;return new Un(Jt[i.precision]);case"decimal":var a=e.type;return new Gn(a.scale,a.precision);case"date":var o=e.type;return new Kn(Qt[o.unit]);case"time":var u=e.type;return new Jn(Xt[u.unit],u.bitWidth);case"timestamp":var s=e.type;return new Zn(Xt[s.unit],s.timezone);case"interval":var c=e.type;return new er(en[c.unit]);case"union":var l=e.type;return new rr(Zt[l.mode],l.typeIds||[],t||[]);case"fixedsizebinary":var f=e.type;return new ir(f.byteWidth);case"fixedsizelist":var d=e.type;return new ar(d.listSize,(t||[])[0]);case"map":var p=e.type;return new or((t||[])[0],p.keysSorted)}throw new Error('Unrecognized type: "'.concat(n,'"'))}var $o=U.Long,Yo=U.Builder,qo=U.ByteBuffer,Go=Ut.apache.arrow.flatbuf.Type,Ko=Ut.apache.arrow.flatbuf.Field,Qo=Ut.apache.arrow.flatbuf.Schema,Xo=Ut.apache.arrow.flatbuf.Buffer,Jo=Yt.apache.arrow.flatbuf.Message,Zo=Ut.apache.arrow.flatbuf.KeyValue,eu=Yt.apache.arrow.flatbuf.FieldNode,tu=Ut.apache.arrow.flatbuf.Endianness,nu=Yt.apache.arrow.flatbuf.RecordBatch,ru=Yt.apache.arrow.flatbuf.DictionaryBatch,iu=function(){function e(t,n,r,i){A(this,e),this._version=n,this._headerType=r,this.body=new Uint8Array(0),i&&(this._createHeader=function(){return i}),this._bodyLength="number"===typeof t?t:t.low}return R(e,[{key:"type",get:function(){return this.headerType}},{key:"version",get:function(){return this._version}},{key:"headerType",get:function(){return this._headerType}},{key:"bodyLength",get:function(){return this._bodyLength}},{key:"header",value:function(){return this._createHeader()}},{key:"isSchema",value:function(){return this.headerType===tn.Schema}},{key:"isRecordBatch",value:function(){return this.headerType===tn.RecordBatch}},{key:"isDictionaryBatch",value:function(){return this.headerType===tn.DictionaryBatch}}],[{key:"fromJSON",value:function(t,n){var r=new e(0,nn.V4,n);return r._createHeader=function(e,t){return function(){switch(t){case tn.Schema:return sa.fromJSON(e);case tn.RecordBatch:return au.fromJSON(e);case tn.DictionaryBatch:return ou.fromJSON(e)}throw new Error("Unrecognized Message type: { name: ".concat(tn[t],", type: ").concat(t," }"))}}(t,n),r}},{key:"decode",value:function(t){t=new qo(Xe(t));var n=Jo.getRootAsMessage(t),r=n.bodyLength(),i=n.version(),a=n.headerType(),o=new e(r,i,a);return o._createHeader=function(e,t){return function(){switch(t){case tn.Schema:return sa.decode(e.header(new Qo));case tn.RecordBatch:return au.decode(e.header(new nu),e.version());case tn.DictionaryBatch:return ou.decode(e.header(new ru),e.version())}throw new Error("Unrecognized Message type: { name: ".concat(tn[t],", type: ").concat(t," }"))}}(n,a),o}},{key:"encode",value:function(e){var t=new Yo,n=-1;return e.isSchema()?n=sa.encode(t,e.header()):e.isRecordBatch()?n=au.encode(t,e.header()):e.isDictionaryBatch()&&(n=ou.encode(t,e.header())),Jo.startMessage(t),Jo.addVersion(t,nn.V4),Jo.addHeader(t,n),Jo.addHeaderType(t,e.headerType),Jo.addBodyLength(t,new $o(e.bodyLength,0)),Jo.finishMessageBuffer(t,Jo.endMessage(t)),t.asUint8Array()}},{key:"from",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t instanceof sa)return new e(0,nn.V4,tn.Schema,t);if(t instanceof au)return new e(n,nn.V4,tn.RecordBatch,t);if(t instanceof ou)return new e(n,nn.V4,tn.DictionaryBatch,t);throw new Error("Unrecognized Message header: ".concat(t))}}]),e}(),au=function(){function e(t,n,r){A(this,e),this._nodes=n,this._buffers=r,this._length="number"===typeof t?t:t.low}return R(e,[{key:"nodes",get:function(){return this._nodes}},{key:"length",get:function(){return this._length}},{key:"buffers",get:function(){return this._buffers}}]),e}(),ou=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];A(this,e),this._data=t,this._isDelta=r,this._id="number"===typeof n?n:n.low}return R(e,[{key:"id",get:function(){return this._id}},{key:"data",get:function(){return this._data}},{key:"isDelta",get:function(){return this._isDelta}},{key:"length",get:function(){return this.data.length}},{key:"nodes",get:function(){return this.data.nodes}},{key:"buffers",get:function(){return this.data.buffers}}]),e}(),uu=function e(t,n){A(this,e),this.offset="number"===typeof t?t:t.low,this.length="number"===typeof n?n:n.low},su=function e(t,n){A(this,e),this.length="number"===typeof t?t:t.low,this.nullCount="number"===typeof n?n:n.low};function cu(e){for(var t,n=[],r=-1,i=-1,a=e.nodesLength();++r<a;)(t=e.nodes(r))&&(n[++i]=su.decode(t));return n}function lu(e,t){for(var n,r=[],i=-1,a=-1,o=e.buffersLength();++i<o;)(n=e.buffers(i))&&(t<nn.V4&&(n.bb_pos+=8*(i+1)),r[++a]=uu.decode(n));return r}function fu(e,t){for(var n,r=[],i=-1,a=-1,o=e.fieldsLength();++i<o;)(n=e.fields(i))&&(r[++a]=ca.decode(n,t));return r}function du(e,t){for(var n,r=[],i=-1,a=-1,o=e.childrenLength();++i<o;)(n=e.children(i))&&(r[++a]=ca.decode(n,t));return r}function pu(e){var t=new Map;if(e)for(var n,r,i=-1,a=0|e.customMetadataLength();++i<a;)(n=e.customMetadata(i))&&null!=(r=n.key())&&t.set(r,n.value());return t}function hu(e){return new Mn(e.isSigned(),e.bitWidth())}function vu(e,t){var n=e.typeType();switch(n){case Go.NONE:case Go.Null:return new An;case Go.Binary:return new $n;case Go.Utf8:return new Yn;case Go.Bool:return new qn;case Go.List:return new tr((t||[])[0]);case Go.Struct_:return new nr(t||[])}switch(n){case Go.Int:var r=e.type(new Ut.apache.arrow.flatbuf.Int);return new Mn(r.isSigned(),r.bitWidth());case Go.FloatingPoint:var i=e.type(new Ut.apache.arrow.flatbuf.FloatingPoint);return new Un(i.precision());case Go.Decimal:var a=e.type(new Ut.apache.arrow.flatbuf.Decimal);return new Gn(a.scale(),a.precision());case Go.Date:var o=e.type(new Ut.apache.arrow.flatbuf.Date);return new Kn(o.unit());case Go.Time:var u=e.type(new Ut.apache.arrow.flatbuf.Time);return new Jn(u.unit(),u.bitWidth());case Go.Timestamp:var s=e.type(new Ut.apache.arrow.flatbuf.Timestamp);return new Zn(s.unit(),s.timezone());case Go.Interval:var c=e.type(new Ut.apache.arrow.flatbuf.Interval);return new er(c.unit());case Go.Union:var l=e.type(new Ut.apache.arrow.flatbuf.Union);return new rr(l.mode(),l.typeIdsArray()||[],t||[]);case Go.FixedSizeBinary:var f=e.type(new Ut.apache.arrow.flatbuf.FixedSizeBinary);return new ir(f.byteWidth());case Go.FixedSizeList:var d=e.type(new Ut.apache.arrow.flatbuf.FixedSizeList);return new ar(d.listSize(),(t||[])[0]);case Go.Map:var p=e.type(new Ut.apache.arrow.flatbuf.Map);return new or((t||[])[0],p.keysSorted())}throw new Error('Unrecognized type: "'.concat(Go[n],'" (').concat(n,")"))}ca.encode=function(e,t){var n=-1,r=-1,i=-1,a=t.type,o=t.typeId;En.isDictionary(a)?(o=a.dictionary.typeId,i=Do.visit(a,e),r=Do.visit(a.dictionary,e)):r=Do.visit(a,e);var u=(a.children||[]).map((function(t){return ca.encode(e,t)})),s=Ko.createChildrenVector(e,u),c=t.metadata&&t.metadata.size>0?Ko.createCustomMetadataVector(e,Object(hn.a)(t.metadata).map((function(t){var n=Object(L.a)(t,2),r=n[0],i=n[1],a=e.createString("".concat(r)),o=e.createString("".concat(i));return Zo.startKeyValue(e),Zo.addKey(e,a),Zo.addValue(e,o),Zo.endKeyValue(e)}))):-1;t.name&&(n=e.createString(t.name));Ko.startField(e),Ko.addType(e,r),Ko.addTypeType(e,o),Ko.addChildren(e,s),Ko.addNullable(e,!!t.nullable),-1!==n&&Ko.addName(e,n);-1!==i&&Ko.addDictionary(e,i);-1!==c&&Ko.addCustomMetadata(e,c);return Ko.endField(e)},ca.decode=function(e,t){var n,r,i,a,o,u;t&&(u=e.dictionary())?t.has(n=u.id().low)?(a=(a=u.indexType())?hu(a):new Ln,o=new cr(t.get(n),a,n,u.isOrdered()),r=new ca(e.name(),o,e.nullable(),pu(e))):(a=(a=u.indexType())?hu(a):new Ln,t.set(n,i=vu(e,du(e,t))),o=new cr(i,a,n,u.isOrdered()),r=new ca(e.name(),o,e.nullable(),pu(e))):(i=vu(e,du(e,t)),r=new ca(e.name(),i,e.nullable(),pu(e)));return r||null},ca.fromJSON=function(e,t){var n,r,i,a,o,u;return t&&(a=e.dictionary)?t.has(n=a.id)?(r=(r=a.indexType)?Wo(r):new Ln,u=new cr(t.get(n),r,n,a.isOrdered),i=new ca(e.name,u,e.nullable,Vo(e.customMetadata))):(r=(r=a.indexType)?Wo(r):new Ln,t.set(n,o=Ho(e,Fo(e,t))),u=new cr(o,r,n,a.isOrdered),i=new ca(e.name,u,e.nullable,Vo(e.customMetadata))):(o=Ho(e,Fo(e,t)),i=new ca(e.name,o,e.nullable,Vo(e.customMetadata))),i||null},sa.encode=function(e,t){var n=t.fields.map((function(t){return ca.encode(e,t)}));Qo.startFieldsVector(e,n.length);var r=Qo.createFieldsVector(e,n),i=t.metadata&&t.metadata.size>0?Qo.createCustomMetadataVector(e,Object(hn.a)(t.metadata).map((function(t){var n=Object(L.a)(t,2),r=n[0],i=n[1],a=e.createString("".concat(r)),o=e.createString("".concat(i));return Zo.startKeyValue(e),Zo.addKey(e,a),Zo.addValue(e,o),Zo.endKeyValue(e)}))):-1;Qo.startSchema(e),Qo.addFields(e,r),Qo.addEndianness(e,yu?tu.Little:tu.Big),-1!==i&&Qo.addCustomMetadata(e,i);return Qo.endSchema(e)},sa.decode=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=fu(e,t);return new sa(n,pu(e),t)},sa.fromJSON=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;return new sa(No(e,t),Vo(e.customMetadata),t)},au.encode=function(e,t){var n=t.nodes||[],r=t.buffers||[];nu.startNodesVector(e,n.length),n.slice().reverse().forEach((function(t){return su.encode(e,t)}));var i=e.endVector();nu.startBuffersVector(e,r.length),r.slice().reverse().forEach((function(t){return uu.encode(e,t)}));var a=e.endVector();return nu.startRecordBatch(e),nu.addLength(e,new $o(t.length,0)),nu.addNodes(e,i),nu.addBuffers(e,a),nu.endRecordBatch(e)},au.decode=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nn.V4;return new au(e.length(),cu(e),lu(e,t))},au.fromJSON=Bo,ou.encode=function(e,t){var n=au.encode(e,t.data);return ru.startDictionaryBatch(e),ru.addId(e,new $o(t.id,0)),ru.addIsDelta(e,t.isDelta),ru.addData(e,n),ru.endDictionaryBatch(e)},ou.decode=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nn.V4;return new ou(au.decode(e.data(),t),e.id(),e.isDelta())},ou.fromJSON=function(e){return new ou(Bo(e.data),e.id,e.isDelta)},su.encode=function(e,t){return eu.createFieldNode(e,new $o(t.length,0),new $o(t.nullCount,0))},su.decode=function(e){return new su(e.length(),e.nullCount())},uu.encode=function(e,t){return Xo.createBuffer(e,new $o(t.offset,0),new $o(t.length,0))},uu.decode=function(e){return new uu(e.offset(),e.length())};for(var yu=function(){var e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256===new Int16Array(e)[0]}(),bu=U.ByteBuffer,mu=function(e){return"Expected ".concat(tn[e]," Message in stream, but was null or length 0.")},gu=function(e){return"Header pointer of flatbuffer-encoded ".concat(tn[e]," Message is null or length 0.")},ku=function(e,t){return"Expected to read ".concat(e," metadata bytes, but only read ").concat(t,".")},wu=function(e,t){return"Expected to read ".concat(e," bytes for message body, but only read ").concat(t,".")},_u=function(){function e(t){A(this,e),this.source=t instanceof eo?t:new eo(t)}return R(e,[{key:Symbol.iterator,value:function(){return this}},{key:"next",value:function(){var e;return(e=this.readMetadataLength()).done||-1===e.value&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?le:e}},{key:"throw",value:function(e){return this.source.throw(e)}},{key:"return",value:function(e){return this.source.return(e)}},{key:"readMessage",value:function(e){var t;if((t=this.next()).done)return null;if(null!=e&&t.value.headerType!==e)throw new Error(mu(e));return t.value}},{key:"readMessageBody",value:function(e){if(e<=0)return new Uint8Array(0);var t=Xe(this.source.read(e));if(t.byteLength<e)throw new Error(wu(e,t.byteLength));return t.byteOffset%8===0&&t.byteOffset+t.byteLength<=t.buffer.byteLength?t:t.slice()}},{key:"readSchema",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=tn.Schema,n=this.readMessage(t),r=n&&n.header();if(e&&!r)throw new Error(gu(t));return r}},{key:"readMetadataLength",value:function(){var e=this.source.read(xu),t=e&&new bu(e),n=t&&t.readInt32(0)||0;return{done:0===n,value:n}}},{key:"readMetadata",value:function(e){var t=this.source.read(e);if(!t)return le;if(t.byteLength<e)throw new Error(ku(e,t.byteLength));return{done:!1,value:iu.decode(t)}}}]),e}(),Su=function(){function e(t,n){A(this,e),this.source=t instanceof to?t:Re(t)?new ao(t,n):new to(t)}return R(e,[{key:Symbol.asyncIterator,value:function(){return this}},{key:"next",value:function(){var e=Object(E.a)(P.mark((function e(){var t;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.readMetadataLength();case 2:if(!(t=e.sent).done){e.next=4;break}return e.abrupt("return",le);case 4:if(e.t0=-1===t.value,!e.t0){e.next=9;break}return e.next=8,this.readMetadataLength();case 8:e.t0=(t=e.sent).done;case 9:if(!e.t0){e.next=11;break}return e.abrupt("return",le);case 11:return e.next=13,this.readMetadata(t.value);case 13:if(!(t=e.sent).done){e.next=15;break}return e.abrupt("return",le);case 15:return e.abrupt("return",t);case 16:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"throw",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.source.throw(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"return",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.source.return(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"readMessage",value:function(){var e=Object(E.a)(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.next();case 2:if(!(n=e.sent).done){e.next=4;break}return e.abrupt("return",null);case 4:if(null==t||n.value.headerType===t){e.next=6;break}throw new Error(mu(t));case 6:return e.abrupt("return",n.value);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"readMessageBody",value:function(){var e=Object(E.a)(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t<=0)){e.next=2;break}return e.abrupt("return",new Uint8Array(0));case 2:return e.t0=Xe,e.next=5,this.source.read(t);case 5:if(e.t1=e.sent,!((n=(0,e.t0)(e.t1)).byteLength<t)){e.next=9;break}throw new Error(wu(t,n.byteLength));case 9:return e.abrupt("return",n.byteOffset%8===0&&n.byteOffset+n.byteLength<=n.buffer.byteLength?n:n.slice());case 10:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"readSchema",value:function(){var e=Object(E.a)(P.mark((function e(){var t,n,r,i,a=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],n=tn.Schema,e.next=4,this.readMessage(n);case 4:if(r=e.sent,i=r&&r.header(),!t||i){e.next=8;break}throw new Error(gu(n));case 8:return e.abrupt("return",i);case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"readMetadataLength",value:function(){var e=Object(E.a)(P.mark((function e(){var t,n,r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.source.read(xu);case 2:return t=e.sent,n=t&&new bu(t),r=n&&n.readInt32(0)||0,e.abrupt("return",{done:0===r,value:r});case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"readMetadata",value:function(){var e=Object(E.a)(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.source.read(t);case 2:if(n=e.sent){e.next=5;break}return e.abrupt("return",le);case 5:if(!(n.byteLength<t)){e.next=7;break}throw new Error(ku(t,n.byteLength));case 7:return e.abrupt("return",{done:!1,value:iu.decode(n)});case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),Ou=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,new Uint8Array(0)))._schema=!1,r._body=[],r._batchIndex=0,r._dictionaryIndex=0,r._json=e instanceof fe?e:new fe(e),r}return R(n,[{key:"next",value:function(){var e=this._json;if(!this._schema)return this._schema=!0,{done:!1,value:iu.fromJSON(e.schema,tn.Schema)};if(this._dictionaryIndex<e.dictionaries.length){var t=e.dictionaries[this._dictionaryIndex++];return this._body=t.data.columns,{done:!1,value:iu.fromJSON(t,tn.DictionaryBatch)}}if(this._batchIndex<e.batches.length){var n=e.batches[this._batchIndex++];return this._body=n.columns,{done:!1,value:iu.fromJSON(n,tn.RecordBatch)}}return this._body=[],le}},{key:"readMessageBody",value:function(e){return function e(t){return(t||[]).reduce((function(t,n){return[].concat(Object(hn.a)(t),Object(hn.a)(n.VALIDITY&&[n.VALIDITY]||[]),Object(hn.a)(n.TYPE&&[n.TYPE]||[]),Object(hn.a)(n.OFFSET&&[n.OFFSET]||[]),Object(hn.a)(n.DATA&&[n.DATA]||[]),Object(hn.a)(e(n.children)))}),[])}(this._body)}},{key:"readMessage",value:function(e){var t;if((t=this.next()).done)return null;if(null!=e&&t.value.headerType!==e)throw new Error(mu(e));return t.value}},{key:"readSchema",value:function(){var e=tn.Schema,t=this.readMessage(e),n=t&&t.header();if(!t||!n)throw new Error(gu(e));return n}}]),n}(_u),xu=4,ju="ARROW1",Tu=new Uint8Array(ju.length),Cu=0;Cu<ju.length;Cu+=1)Tu[Cu]=ju.charCodeAt(Cu);function Iu(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=Tu.length;++n<r;)if(Tu[n]!==e[t+n])return!1;return!0}var Eu=Tu.length,Au=Eu+xu,Mu=2*Eu+xu,Ru=function(e){re(n,e);var t=ce(n);function n(){var e;return A(this,n),(e=t.call(this))._byteLength=0,e._nodes=[],e._buffers=[],e._bufferRegions=[],e}return R(n,[{key:"visit",value:function(e){if(!En.isDictionary(e.type)){var t=e.data,r=e.length,i=e.nullCount;if(r>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");En.isNull(e.type)||Pu.call(this,i<=0?new Uint8Array(0):sn(t.offset,r,t.nullBitmap)),this.nodes.push(new su(r,i))}return zt(ie(n.prototype),"visit",this).call(this,e)}},{key:"visitNull",value:function(e){return this}},{key:"visitDictionary",value:function(e){return this.visit(e.indices)}},{key:"nodes",get:function(){return this._nodes}},{key:"buffers",get:function(){return this._buffers}},{key:"byteLength",get:function(){return this._byteLength}},{key:"bufferRegions",get:function(){return this._bufferRegions}}],[{key:"assemble",value:function(){for(var e=new n,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var a=na(Wc,r),o=e.visitMany(a),u=Object(L.a)(o,1),s=u[0],c=void 0===s?e:s;return c}}]),n}(vn);function Pu(e){var t=e.byteLength+7&-8;return this.buffers.push(e),this.bufferRegions.push(new uu(this._byteLength,t)),this._byteLength+=t,this}function Lu(e){return Pu.call(this,e.values.subarray(0,e.length*e.stride))}function Du(e){var t=e.length,n=e.values,r=e.valueOffsets,i=r[0],a=r[t],o=Math.min(a-i,n.byteLength-i);return Pu.call(this,jt(-r[0],t,r)),Pu.call(this,n.subarray(i,i+o)),this}function Bu(e){var t=e.length,n=e.valueOffsets;return n&&Pu.call(this,jt(n[0],t,n)),this.visit(e.getChildAt(0))}function Nu(e){return this.visitMany(e.type.children.map((function(t,n){return e.getChildAt(n)})).filter(Boolean))[0]}Ru.prototype.visitBool=function(e){var t;return e.nullCount>=e.length?Pu.call(this,new Uint8Array(0)):(t=e.values)instanceof Uint8Array?Pu.call(this,sn(e.offset,e.length,t)):Pu.call(this,cn(e))},Ru.prototype.visitInt=Lu,Ru.prototype.visitFloat=Lu,Ru.prototype.visitUtf8=Du,Ru.prototype.visitBinary=Du,Ru.prototype.visitFixedSizeBinary=Lu,Ru.prototype.visitDate=Lu,Ru.prototype.visitTimestamp=Lu,Ru.prototype.visitTime=Lu,Ru.prototype.visitDecimal=Lu,Ru.prototype.visitList=Bu,Ru.prototype.visitStruct=Nu,Ru.prototype.visitUnion=function(e){var t=e.type,n=e.length,r=e.typeIds,i=e.valueOffsets;if(Pu.call(this,r),t.mode===Zt.Sparse)return Nu.call(this,e);if(t.mode===Zt.Dense){if(e.offset<=0)return Pu.call(this,i),Nu.call(this,e);for(var a,o,u=r.reduce((function(e,t){return Math.max(e,t)}),r[0]),s=new Int32Array(u+1),c=new Int32Array(u+1).fill(-1),l=new Int32Array(n),f=jt(-i[0],n,i),d=-1;++d<n;)-1===(o=c[a=r[d]])&&(o=c[a]=f[a]),l[d]=f[d]-o,++s[a];Pu.call(this,l);for(var p,h=-1,v=t.children.length;++h<v;)if(p=e.getChildAt(h)){var y=t.typeIds[h],b=Math.min(n,s[y]);this.visit(p.slice(c[y],b))}}return this},Ru.prototype.visitInterval=Lu,Ru.prototype.visitFixedSizeList=Bu,Ru.prototype.visitMap=Bu;function Fu(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new zu(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function zu(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return zu=function(e){this.s=e,this.n=e.next},zu.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new zu(e)}var Uu=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this))._position=0,r._started=!1,r._sink=new Za,r._schema=null,r._dictionaryBlocks=[],r._recordBatchBlocks=[],r._dictionaryDeltaOffsets=new Map,Te(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),r._autoDestroy="boolean"!==typeof e.autoDestroy||e.autoDestroy,r._writeLegacyIpcFormat="boolean"===typeof e.writeLegacyIpcFormat&&e.writeLegacyIpcFormat,r}return R(n,[{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._sink.toString(e)}},{key:"toUint8Array",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._sink.toUint8Array(e)}},{key:"writeAll",value:function(e){var t=this;return Ce(e)?e.then((function(e){return t.writeAll(e)})):Ee(e)?$u(this,e):Hu(this,e)}},{key:"closed",get:function(){return this._sink.closed}},{key:Symbol.asyncIterator,value:function(){return this._sink[Symbol.asyncIterator]()}},{key:"toDOMStream",value:function(e){return this._sink.toDOMStream(e)}},{key:"toNodeStream",value:function(e){return this._sink.toNodeStream(e)}},{key:"close",value:function(){return this.reset()._sink.close()}},{key:"abort",value:function(e){return this.reset()._sink.abort(e)}},{key:"finish",value:function(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._sink,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e===this._sink||e instanceof Za?this._sink=e:(this._sink=new Za,e&&Le(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&Be(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,t&&t.compareTo(this._schema)||(null===t?(this._position=0,this._schema=null):(this._started=!0,this._schema=t,this._writeSchema(t))),this}},{key:"write",value:function(e){var t=null;if(!this._sink)throw new Error("RecordBatchWriter is closed");if(null===e||void 0===e)return this.finish()&&void 0;if(e instanceof Vc&&!(t=e.schema))return this.finish()&&void 0;if(e instanceof Wc&&!(t=e.schema))return this.finish()&&void 0;if(t&&!t.compareTo(this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,t)}e instanceof Wc?e instanceof Hc||this._writeRecordBatch(e):e instanceof Vc?this.writeAll(e.chunks):Ie(e)&&this.writeAll(e)}},{key:"_writeMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,n=t-1,r=iu.encode(e),i=r.byteLength,a=this._writeLegacyIpcFormat?4:8,o=i+a+n&~n,u=o-i-a;return e.headerType===tn.RecordBatch?this._recordBatchBlocks.push(new Qa(o,e.bodyLength,this._position)):e.headerType===tn.DictionaryBatch&&this._dictionaryBlocks.push(new Qa(o,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(o-a)),i>0&&this._write(r),this._writePadding(u)}},{key:"_write",value:function(e){if(this._started){var t=Xe(e);t&&t.byteLength>0&&(this._sink.write(t),this._position+=t.byteLength)}return this}},{key:"_writeSchema",value:function(e){return this._writeMessage(iu.from(e))}},{key:"_writeFooter",value:function(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}},{key:"_writeMagic",value:function(){return this._write(Tu)}},{key:"_writePadding",value:function(e){return e>0?this._write(new Uint8Array(e)):this}},{key:"_writeRecordBatch",value:function(e){var t=Ru.assemble(e),n=t.byteLength,r=t.nodes,i=t.bufferRegions,a=t.buffers,o=new au(e.length,r,i),u=iu.from(o,n);return this._writeDictionaries(e)._writeMessage(u)._writeBodyBuffers(a)}},{key:"_writeDictionaryBatch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._dictionaryDeltaOffsets.set(t,e.length+(this._dictionaryDeltaOffsets.get(t)||0));var r=Ru.assemble(e),i=r.byteLength,a=r.nodes,o=r.bufferRegions,u=r.buffers,s=new au(e.length,a,o),c=new ou(s,t,n),l=iu.from(c,i);return this._writeMessage(l)._writeBodyBuffers(u)}},{key:"_writeBodyBuffers",value:function(e){for(var t,n,r,i=-1,a=e.length;++i<a;)(t=e[i])&&(n=t.byteLength)>0&&(this._write(t),(r=(n+7&-8)-n)>0&&this._writePadding(r));return this}},{key:"_writeDictionaries",value:function(e){var t,n=Object(I.a)(e.dictionaries);try{for(n.s();!(t=n.n()).done;){var r=Object(L.a)(t.value,2),i=r[0],a=r[1],o=this._dictionaryDeltaOffsets.get(i)||0;if(0===o||(a=a.slice(o)).length>0){var u,s="chunks"in a?a.chunks:[a],c=Object(I.a)(s);try{for(c.s();!(u=c.n()).done;){var l=u.value;this._writeDictionaryBatch(l,i,o>0),o+=l.length}}catch(f){c.e(f)}finally{c.f()}}}}catch(f){n.e(f)}finally{n.f()}return this}}],[{key:"throughNode",value:function(e){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(e,t){throw new Error('"throughDOM" not available in this environment')}}]),n}(de),Vu=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,null,[{key:"writeAll",value:function(e,t){var r=new n(t);return Ce(e)?e.then((function(e){return r.writeAll(e)})):Ee(e)?$u(r,e):Hu(r,e)}}]),n}(Uu),Wu=function(e){re(n,e);var t=ce(n);function n(){var e;return A(this,n),(e=t.call(this))._autoDestroy=!0,e}return R(n,[{key:"_writeSchema",value:function(e){return this._writeMagic()._writePadding(2)}},{key:"_writeFooter",value:function(e){var t=Ga.encode(new Ga(e,nn.V4,this._recordBatchBlocks,this._dictionaryBlocks));return zt(ie(n.prototype),"_writeFooter",this).call(this,e)._write(t)._write(Int32Array.of(t.byteLength))._writeMagic()}}],[{key:"writeAll",value:function(e){var t=new n;return Ce(e)?e.then((function(e){return t.writeAll(e)})):Ee(e)?$u(t,e):Hu(t,e)}}]),n}(Uu);function Hu(e,t){var n=t;t instanceof Vc&&(n=t.chunks,e.reset(void 0,t.schema));var r,i=Object(I.a)(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;e.write(a)}}catch(o){i.e(o)}finally{i.f()}return e.finish()}function $u(e,t){return Yu.apply(this,arguments)}function Yu(){return(Yu=Object(E.a)(P.mark((function e(t,n){var r,i,a,o,u,s,c;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=!0,i=!1,e.prev=2,o=Fu(n);case 4:return e.next=6,o.next();case 6:return u=e.sent,r=u.done,e.next=10,u.value;case 10:if(s=e.sent,r){e.next=17;break}c=s,t.write(c);case 14:r=!0,e.next=4;break;case 17:e.next=23;break;case 19:e.prev=19,e.t0=e.catch(2),i=!0,a=e.t0;case 23:if(e.prev=23,e.prev=24,r||null==o.return){e.next=28;break}return e.next=28,o.return();case 28:if(e.prev=28,!i){e.next=31;break}throw a;case 31:return e.finish(28);case 32:return e.finish(23);case 33:return e.abrupt("return",t.finish());case 34:case"end":return e.stop()}}),e,null,[[2,19,23,33],[24,,28,32]])})))).apply(this,arguments)}var qu=new Uint8Array(0),Gu=function(e){return[qu,qu,new Uint8Array(e),qu]};function Ku(e,t){for(var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.reduce((function(e,t){return Math.max(e,t.length)}),0),a=-1,o=t.length,u=Object(hn.a)(e.fields),s=[],c=(i+63&-64)>>3;++a<o;)(n=t[a])&&n.length===i?s[a]=n:((r=u[a]).nullable||(u[a]=u[a].clone({nullable:!0})),s[a]=n?n._changeLengthAndBackfillNullBitmap(i):fr.new(r.type,0,i,i,Gu(c)));return[new sa(u),i,s]}function Qu(e){return Xu(new sa(e.map((function(e){return e.field}))),e)}function Xu(e,t){return function(e,t){var n,r=Object(hn.a)(e.fields),i=[],a={numBatches:t.reduce((function(e,t){return Math.max(e,t.length)}),0)},o=0,u=0,s=-1,c=t.length,l=[];for(;a.numBatches-- >0;){for(u=Number.POSITIVE_INFINITY,s=-1;++s<c;)l[s]=n=t[s].shift(),u=Math.min(u,n?n.length:u);isFinite(u)&&(l=Ju(r,u,l,t,a),u>0&&(i[o++]=[u,l.slice()]))}return[e=new sa(r,e.metadata),i.map((function(t){return Vr(Wc,[e].concat(Object(hn.a)(t)))}))]}(e,t.map((function(e){return e instanceof $i?e.chunks.map((function(e){return e.data})):[e.data]})))}function Ju(e,t,n,r,i){for(var a,o,u=0,s=-1,c=r.length,l=(t+63&-64)>>3;++s<c;)(a=n[s])&&(u=a.length)>=t?u===t?n[s]=a:(n[s]=a.slice(0,t),a=a.slice(t,u-t),i.numBatches=Math.max(i.numBatches,r[s].unshift(a))):((o=e[s]).nullable||(e[s]=o.clone({nullable:!0})),n[s]=a?a._changeLengthAndBackfillNullBitmap(t):fr.new(o.type,0,t,t,Gu(l)));return n}var Zu=n(35),es=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this))._children=r,i.numChildren=e.childData.length,i._bindDataAccessors(i.data=e),i}return R(n,[{key:"type",get:function(){return this.data.type}},{key:"typeId",get:function(){return this.data.typeId}},{key:"length",get:function(){return this.data.length}},{key:"offset",get:function(){return this.data.offset}},{key:"stride",get:function(){return this.data.stride}},{key:"nullCount",get:function(){return this.data.nullCount}},{key:"byteLength",get:function(){return this.data.byteLength}},{key:"VectorName",get:function(){return"".concat(Gt[this.typeId],"Vector")}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"values",get:function(){return this.data.values}},{key:"typeIds",get:function(){return this.data.typeIds}},{key:"nullBitmap",get:function(){return this.data.nullBitmap}},{key:"valueOffsets",get:function(){return this.data.valueOffsets}},{key:Symbol.toStringTag,get:function(){return"".concat(this.VectorName,"<").concat(this.type[Symbol.toStringTag],">")}},{key:"clone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._children;return qt.new(e,t)}},{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $i.concat.apply($i,[this].concat(t))}},{key:"slice",value:function(e,t){return Fi(this,e,t,this._sliceInternal)}},{key:"isValid",value:function(e){if(this.nullCount>0){var t=this.offset+e;return 0!==(this.nullBitmap[t>>3]&1<<t%8)}return!0}},{key:"getChildAt",value:function(e){return e<0||e>=this.numChildren?null:(this._children||(this._children=[]))[e]||(this._children[e]=qt.new(this.data.childData[e]))}},{key:"toJSON",value:function(){return Object(hn.a)(this)}},{key:"_sliceInternal",value:function(e,t,n){return e.clone(e.data.slice(t,n-t),null)}},{key:"_bindDataAccessors",value:function(e){}}]),n}(qt);es.prototype[Symbol.isConcatSpreadable]=!0;var ts=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"asUtf8",value:function(){return qt.new(this.data.clone(new Yn))}}]),n}(es),ns=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,null,[{key:"from",value:function(e){return Fc((function(){return new qn}),e)}}]),n}(es),rs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,null,[{key:"from",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 2===t.length?Fc((function(){return t[1]===Qt.DAY?new Qn:new Xn}),t[0]):Fc((function(){return new Xn}),t[0])}}]),n}(es),is=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(rs),as=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(rs),os=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(es),us=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e)).indices=qt.new(e.clone(r.type.indices)),r}return R(n,[{key:"dictionary",get:function(){return this.data.dictionary}},{key:"reverseLookup",value:function(e){return this.dictionary.indexOf(e)}},{key:"getKey",value:function(e){return this.indices.get(e)}},{key:"getValue",value:function(e){return this.dictionary.get(e)}},{key:"setKey",value:function(e,t){return this.indices.set(e,t)}},{key:"setValue",value:function(e,t){return this.dictionary.set(e,t)}}],[{key:"from",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(3===t.length){var r=t[0],i=t[1],a=t[2],o=new cr(r.type,i,null,null);return qt.new(fr.Dictionary(o,0,a.length,0,null,a,r))}return Fc((function(){return t[0].type}),t[0])}}]),n}(es);us.prototype.indices=null;var ss=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(es),cs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(es),ls=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,null,[{key:"from",value:function(e){var t=ys(this);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)){var n=vs(e.constructor)||t;if(null===t&&(t=n),t&&t===n){var r=new t,i=e.byteLength/r.ArrayType.BYTES_PER_ELEMENT;if(!hs(t,e.constructor))return qt.new(fr.Float(r,0,i,0,null,e))}}if(t)return Fc((function(){return new t}),e);if(e instanceof DataView||e instanceof ArrayBuffer)throw new TypeError("Cannot infer float type from instance of ".concat(e.constructor.name));throw new TypeError("Unrecognized FloatVector input")}}]),n}(es),fs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"toFloat32Array",value:function(){return new Float32Array(this)}},{key:"toFloat64Array",value:function(){return new Float64Array(this)}}]),n}(ls),ds=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ls),ps=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ls),hs=function(e,t){return e===Vn&&t!==Uint16Array},vs=function(e){switch(e){case Uint16Array:return Vn;case Float32Array:return Wn;case Float64Array:return Hn;default:return null}},ys=function(e){switch(e){case fs:return Vn;case ds:return Wn;case ps:return Hn;default:return null}},bs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(es),ms=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(bs),gs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(bs),ks=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,null,[{key:"from",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],a=void 0!==i&&i,o=As(this,a);if(r instanceof ArrayBuffer||ArrayBuffer.isView(r)){var u=Es(r.constructor,a)||o;if(null===o&&(o=u),o&&o===u){var s=new o,c=r.byteLength/s.ArrayType.BYTES_PER_ELEMENT;return Is(o,r.constructor)&&(c*=.5),qt.new(fr.Int(s,0,c,0,null,r))}}if(o)return Fc((function(){return new o}),r);if(r instanceof DataView||r instanceof ArrayBuffer)throw new TypeError("Cannot infer integer type from instance of ".concat(r.constructor.name));throw new TypeError("Unrecognized IntVector input")}}]),n}(es),ws=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ks),_s=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ks),Ss=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ks),Os=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"toBigInt64Array",value:function(){return Qe(this.values)}},{key:"values64",get:function(){return this._values64||(this._values64=this.toBigInt64Array())}}]),n}(ks),xs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ks),js=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ks),Ts=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(ks),Cs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"toBigUint64Array",value:function(){return et(this.values)}},{key:"values64",get:function(){return this._values64||(this._values64=this.toBigUint64Array())}}]),n}(ks),Is=function(e,t){return(e===Dn||e===zn)&&(t===Int32Array||t===Uint32Array)},Es=function(e,t){switch(e){case Int8Array:return Rn;case Int16Array:return Pn;case Int32Array:return t?Dn:Ln;case ke:return Dn;case Uint8Array:return Bn;case Uint16Array:return Nn;case Uint32Array:return t?zn:Fn;case Se:return zn;default:return null}},As=function(e,t){switch(e){case ws:return Rn;case _s:return Pn;case Ss:return t?Dn:Ln;case Os:return Dn;case xs:return Bn;case js:return Nn;case Ts:return t?zn:Fn;case Cs:return zn;default:return null}},Ms=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(es),Rs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"asList",value:function(){var e=this.type.children[0];return qt.new(this.data.clone(new tr(e)))}},{key:"bind",value:function(e){var t=this.getChildAt(0),n=this.valueOffsets,r=n[e],i=n[e+1];return new Ri(t.slice(r,i))}}]),n}(es),Ps=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(es),Ls=Symbol.for("rowIndex"),Ds=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"bind",value:function(e){var t=this._row||(this._row=new Pi(this)),n=Object.create(t);return n[Ls]=e,n}}]),n}(es),Bs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(es),Ns=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Bs),Fs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Bs),zs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Bs),Us=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Bs),Vs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(es),Ws=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Vs),Hs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Vs),$s=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Vs),Ys=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(Vs),qs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"typeIdToChildIndex",get:function(){return this.data.type.typeIdToChildIndex}}]),n}(es),Gs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"valueOffsets",get:function(){return this.data.valueOffsets}}]),n}(qs),Ks=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(qs),Qs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"asBinary",value:function(){return qt.new(this.data.clone(new $n))}}],[{key:"from",value:function(e){return Fc((function(){return new Yn}),e)}}]),n}(es);function Xs(e){return function(){return e(this)}}function Js(e){return function(t,n){return e(this,t,n)}}var Zs=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vn),ec=function(e,t){return 4294967296*e[t+1]+(e[t]>>>0)},tc=function(e){return new Date(e)},nc=function(e,t,n){var r=t[n],i=t[n+1];return null!=r&&null!=i?e.subarray(r,i):null},rc=function(e,t){return function(e,t){return tc(function(e,t){return 864e5*e[t]}(e,t))}(e.values,t)},ic=function(e,t){return function(e,t){return tc(ec(e,t))}(e.values,2*t)},ac=function(e,t){var n=e.stride;return e.values[n*t]},oc=function(e,t){var n=e.stride;return Dr(e.values[n*t])},uc=function(e,t){var n=e.stride,r=e.values,i=e.type;return Zr.new(r.subarray(n*t,n*(t+1)),i.isSigned)},sc=function(e,t){var n=e.values;return 1e3*ec(n,2*t)},cc=function(e,t){var n=e.values;return ec(n,2*t)},lc=function(e,t){return function(e,t){return e[t+1]/1e3*4294967296+(e[t]>>>0)/1e3}(e.values,2*t)},fc=function(e,t){return function(e,t){return e[t+1]/1e6*4294967296+(e[t]>>>0)/1e6}(e.values,2*t)},dc=function(e,t){return e.values[e.stride*t]},pc=function(e,t){return e.values[e.stride*t]},hc=function(e,t){var n=e.values;return Zr.signed(n.subarray(2*t,2*(t+1)))},vc=function(e,t){var n=e.values;return Zr.signed(n.subarray(2*t,2*(t+1)))},yc=function(e,t){var n=e.typeIdToChildIndex[e.typeIds[t]],r=e.getChildAt(n);return r?r.get(e.valueOffsets[t]):null},bc=function(e,t){var n=e.typeIdToChildIndex[e.typeIds[t]],r=e.getChildAt(n);return r?r.get(t):null},mc=function(e,t){return e.values.subarray(2*t,2*(t+1))},gc=function(e,t){var n=e.values[t],r=new Int32Array(2);return r[0]=n/12|0,r[1]=n%12|0,r};Zs.prototype.visitNull=function(e,t){return null},Zs.prototype.visitBool=function(e,t){var n=e.offset+t;return 0!==(e.values[n>>3]&1<<n%8)},Zs.prototype.visitInt=function(e,t){return e.type.bitWidth<64?ac(e,t):uc(e,t)},Zs.prototype.visitInt8=ac,Zs.prototype.visitInt16=ac,Zs.prototype.visitInt32=ac,Zs.prototype.visitInt64=uc,Zs.prototype.visitUint8=ac,Zs.prototype.visitUint16=ac,Zs.prototype.visitUint32=ac,Zs.prototype.visitUint64=uc,Zs.prototype.visitFloat=function(e,t){return e.type.precision!==Jt.HALF?ac(e,t):oc(e,t)},Zs.prototype.visitFloat16=oc,Zs.prototype.visitFloat32=ac,Zs.prototype.visitFloat64=ac,Zs.prototype.visitUtf8=function(e,t){var n=e.values,r=e.valueOffsets,i=nc(n,r,t);return null!==i?ee(i):null},Zs.prototype.visitBinary=function(e,t){var n=e.values,r=e.valueOffsets;return nc(n,r,t)},Zs.prototype.visitFixedSizeBinary=function(e,t){var n=e.stride;return e.values.subarray(n*t,n*(t+1))},Zs.prototype.visitDate=function(e,t){return e.type.unit===Qt.DAY?rc(e,t):ic(e,t)},Zs.prototype.visitDateDay=rc,Zs.prototype.visitDateMillisecond=ic,Zs.prototype.visitTimestamp=function(e,t){switch(e.type.unit){case Xt.SECOND:return sc(e,t);case Xt.MILLISECOND:return cc(e,t);case Xt.MICROSECOND:return lc(e,t);case Xt.NANOSECOND:return fc(e,t)}},Zs.prototype.visitTimestampSecond=sc,Zs.prototype.visitTimestampMillisecond=cc,Zs.prototype.visitTimestampMicrosecond=lc,Zs.prototype.visitTimestampNanosecond=fc,Zs.prototype.visitTime=function(e,t){switch(e.type.unit){case Xt.SECOND:return dc(e,t);case Xt.MILLISECOND:return pc(e,t);case Xt.MICROSECOND:return hc(e,t);case Xt.NANOSECOND:return vc(e,t)}},Zs.prototype.visitTimeSecond=dc,Zs.prototype.visitTimeMillisecond=pc,Zs.prototype.visitTimeMicrosecond=hc,Zs.prototype.visitTimeNanosecond=vc,Zs.prototype.visitDecimal=function(e,t){var n=e.values;return Zr.decimal(n.subarray(4*t,4*(t+1)))},Zs.prototype.visitList=function(e,t){var n=e.getChildAt(0),r=e.valueOffsets,i=e.stride;return n.slice(r[t*i],r[t*i+1])},Zs.prototype.visitStruct=function(e,t){return e.bind(t)},Zs.prototype.visitUnion=function(e,t){return e.type.mode===Zt.Dense?yc(e,t):bc(e,t)},Zs.prototype.visitDenseUnion=yc,Zs.prototype.visitSparseUnion=bc,Zs.prototype.visitDictionary=function(e,t){return e.getValue(e.getKey(t))},Zs.prototype.visitInterval=function(e,t){return e.type.unit===en.DAY_TIME?mc(e,t):gc(e,t)},Zs.prototype.visitIntervalDayTime=mc,Zs.prototype.visitIntervalYearMonth=gc,Zs.prototype.visitFixedSizeList=function(e,t){var n=e.getChildAt(0),r=e.stride;return n.slice(t*r,(t+1)*r)},Zs.prototype.visitMap=function(e,t){return e.bind(t)};var kc=new Zs,wc=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vn);function _c(e,t,n){if(void 0===t)return-1;if(null===t)return function(e,t){var n=e.nullBitmap;if(!n||e.nullCount<=0)return-1;var r,i=0,a=Object(I.a)(ln(n,e.data.offset+(t||0),e.length,n,an));try{for(a.s();!(r=a.n()).done;){if(!r.value)return i;++i}}catch(o){a.e(o)}finally{a.f()}return-1}(e,n);for(var r=Vi(t),i=(n||0)-1,a=e.length;++i<a;)if(r(e.get(i)))return i;return-1}function Sc(e,t,n){for(var r=Vi(t),i=(n||0)-1,a=e.length;++i<a;)if(r(e.get(i)))return i;return-1}wc.prototype.visitNull=function(e,t){return null===t&&e.length>0?0:-1},wc.prototype.visitBool=_c,wc.prototype.visitInt=_c,wc.prototype.visitInt8=_c,wc.prototype.visitInt16=_c,wc.prototype.visitInt32=_c,wc.prototype.visitInt64=_c,wc.prototype.visitUint8=_c,wc.prototype.visitUint16=_c,wc.prototype.visitUint32=_c,wc.prototype.visitUint64=_c,wc.prototype.visitFloat=_c,wc.prototype.visitFloat16=_c,wc.prototype.visitFloat32=_c,wc.prototype.visitFloat64=_c,wc.prototype.visitUtf8=_c,wc.prototype.visitBinary=_c,wc.prototype.visitFixedSizeBinary=_c,wc.prototype.visitDate=_c,wc.prototype.visitDateDay=_c,wc.prototype.visitDateMillisecond=_c,wc.prototype.visitTimestamp=_c,wc.prototype.visitTimestampSecond=_c,wc.prototype.visitTimestampMillisecond=_c,wc.prototype.visitTimestampMicrosecond=_c,wc.prototype.visitTimestampNanosecond=_c,wc.prototype.visitTime=_c,wc.prototype.visitTimeSecond=_c,wc.prototype.visitTimeMillisecond=_c,wc.prototype.visitTimeMicrosecond=_c,wc.prototype.visitTimeNanosecond=_c,wc.prototype.visitDecimal=_c,wc.prototype.visitList=_c,wc.prototype.visitStruct=_c,wc.prototype.visitUnion=_c,wc.prototype.visitDenseUnion=Sc,wc.prototype.visitSparseUnion=Sc,wc.prototype.visitDictionary=_c,wc.prototype.visitInterval=_c,wc.prototype.visitIntervalDayTime=_c,wc.prototype.visitIntervalYearMonth=_c,wc.prototype.visitFixedSizeList=_c,wc.prototype.visitMap=_c;var Oc=new wc,xc=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vn);function jc(e){if(e.nullCount>0)return function(e){var t=kc.getVisitFn(e);return ln(e.nullBitmap,e.offset,e.length,e,(function(e,n,r,i){return 0!==(r&1<<i)?t(e,n):null}))}(e);var t=e.type,n=e.typeId,r=e.length;return 1===e.stride&&(n===Gt.Timestamp||n===Gt.Int&&64!==t.bitWidth||n===Gt.Time&&64!==t.bitWidth||n===Gt.Float&&t.precision>0)?e.values.subarray(0,r)[Symbol.iterator]():P.mark((function t(n){var i;return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=-1;case 1:if(!(++i<r)){t.next=6;break}return t.next=4,n(e,i);case 4:t.next=1;break;case 6:case"end":return t.stop()}}),t)}))(kc.getVisitFn(e))}xc.prototype.visitNull=jc,xc.prototype.visitBool=jc,xc.prototype.visitInt=jc,xc.prototype.visitInt8=jc,xc.prototype.visitInt16=jc,xc.prototype.visitInt32=jc,xc.prototype.visitInt64=jc,xc.prototype.visitUint8=jc,xc.prototype.visitUint16=jc,xc.prototype.visitUint32=jc,xc.prototype.visitUint64=jc,xc.prototype.visitFloat=jc,xc.prototype.visitFloat16=jc,xc.prototype.visitFloat32=jc,xc.prototype.visitFloat64=jc,xc.prototype.visitUtf8=jc,xc.prototype.visitBinary=jc,xc.prototype.visitFixedSizeBinary=jc,xc.prototype.visitDate=jc,xc.prototype.visitDateDay=jc,xc.prototype.visitDateMillisecond=jc,xc.prototype.visitTimestamp=jc,xc.prototype.visitTimestampSecond=jc,xc.prototype.visitTimestampMillisecond=jc,xc.prototype.visitTimestampMicrosecond=jc,xc.prototype.visitTimestampNanosecond=jc,xc.prototype.visitTime=jc,xc.prototype.visitTimeSecond=jc,xc.prototype.visitTimeMillisecond=jc,xc.prototype.visitTimeMicrosecond=jc,xc.prototype.visitTimeNanosecond=jc,xc.prototype.visitDecimal=jc,xc.prototype.visitList=jc,xc.prototype.visitStruct=jc,xc.prototype.visitUnion=jc,xc.prototype.visitDenseUnion=jc,xc.prototype.visitSparseUnion=jc,xc.prototype.visitDictionary=jc,xc.prototype.visitInterval=jc,xc.prototype.visitIntervalDayTime=jc,xc.prototype.visitIntervalYearMonth=jc,xc.prototype.visitFixedSizeList=jc,xc.prototype.visitMap=jc;var Tc=new xc,Cc=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(vn);function Ic(e){var t=e.type,n=e.length,r=e.stride;switch(t.typeId){case Gt.Int:case Gt.Float:case Gt.Decimal:case Gt.Time:case Gt.Timestamp:return e.values.subarray(0,n*r)}return Object(hn.a)(Tc.visit(e))}Cc.prototype.visitNull=Ic,Cc.prototype.visitBool=Ic,Cc.prototype.visitInt=Ic,Cc.prototype.visitInt8=Ic,Cc.prototype.visitInt16=Ic,Cc.prototype.visitInt32=Ic,Cc.prototype.visitInt64=Ic,Cc.prototype.visitUint8=Ic,Cc.prototype.visitUint16=Ic,Cc.prototype.visitUint32=Ic,Cc.prototype.visitUint64=Ic,Cc.prototype.visitFloat=Ic,Cc.prototype.visitFloat16=Ic,Cc.prototype.visitFloat32=Ic,Cc.prototype.visitFloat64=Ic,Cc.prototype.visitUtf8=Ic,Cc.prototype.visitBinary=Ic,Cc.prototype.visitFixedSizeBinary=Ic,Cc.prototype.visitDate=Ic,Cc.prototype.visitDateDay=Ic,Cc.prototype.visitDateMillisecond=Ic,Cc.prototype.visitTimestamp=Ic,Cc.prototype.visitTimestampSecond=Ic,Cc.prototype.visitTimestampMillisecond=Ic,Cc.prototype.visitTimestampMicrosecond=Ic,Cc.prototype.visitTimestampNanosecond=Ic,Cc.prototype.visitTime=Ic,Cc.prototype.visitTimeSecond=Ic,Cc.prototype.visitTimeMillisecond=Ic,Cc.prototype.visitTimeMicrosecond=Ic,Cc.prototype.visitTimeNanosecond=Ic,Cc.prototype.visitDecimal=Ic,Cc.prototype.visitList=Ic,Cc.prototype.visitStruct=Ic,Cc.prototype.visitUnion=Ic,Cc.prototype.visitDenseUnion=Ic,Cc.prototype.visitSparseUnion=Ic,Cc.prototype.visitDictionary=Ic,Cc.prototype.visitInterval=Ic,Cc.prototype.visitIntervalDayTime=Ic,Cc.prototype.visitIntervalYearMonth=Ic,Cc.prototype.visitFixedSizeList=Ic,Cc.prototype.visitMap=Ic;var Ec=new Cc,Ac=function(e,t){return e+t},Mc=function(e){return"Cannot compute the byte width of variable-width column ".concat(e)},Rc=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"visitNull",value:function(e){return 0}},{key:"visitInt",value:function(e){return e.bitWidth/8}},{key:"visitFloat",value:function(e){return e.ArrayType.BYTES_PER_ELEMENT}},{key:"visitBinary",value:function(e){throw new Error(Mc(e))}},{key:"visitUtf8",value:function(e){throw new Error(Mc(e))}},{key:"visitBool",value:function(e){return 1/8}},{key:"visitDecimal",value:function(e){return 16}},{key:"visitDate",value:function(e){return 4*(e.unit+1)}},{key:"visitTime",value:function(e){return e.bitWidth/8}},{key:"visitTimestamp",value:function(e){return e.unit===Xt.SECOND?4:8}},{key:"visitInterval",value:function(e){return 4*(e.unit+1)}},{key:"visitList",value:function(e){throw new Error(Mc(e))}},{key:"visitStruct",value:function(e){return this.visitFields(e.children).reduce(Ac,0)}},{key:"visitUnion",value:function(e){return this.visitFields(e.children).reduce(Ac,0)}},{key:"visitFixedSizeBinary",value:function(e){return e.byteWidth}},{key:"visitFixedSizeList",value:function(e){return e.listSize*this.visitFields(e.children).reduce(Ac,0)}},{key:"visitMap",value:function(e){return this.visitFields(e.children).reduce(Ac,0)}},{key:"visitDictionary",value:function(e){return this.visit(e.indices)}},{key:"visitFields",value:function(e){var t=this;return(e||[]).map((function(e){return t.visit(e.type)}))}},{key:"visitSchema",value:function(e){return this.visitFields(e.fields).reduce(Ac,0)}}]),n}(vn),Pc=new Rc,Lc=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"visitNull",value:function(){return Ps}},{key:"visitBool",value:function(){return ns}},{key:"visitInt",value:function(){return ks}},{key:"visitInt8",value:function(){return ws}},{key:"visitInt16",value:function(){return _s}},{key:"visitInt32",value:function(){return Ss}},{key:"visitInt64",value:function(){return Os}},{key:"visitUint8",value:function(){return xs}},{key:"visitUint16",value:function(){return js}},{key:"visitUint32",value:function(){return Ts}},{key:"visitUint64",value:function(){return Cs}},{key:"visitFloat",value:function(){return ls}},{key:"visitFloat16",value:function(){return fs}},{key:"visitFloat32",value:function(){return ds}},{key:"visitFloat64",value:function(){return ps}},{key:"visitUtf8",value:function(){return Qs}},{key:"visitBinary",value:function(){return ts}},{key:"visitFixedSizeBinary",value:function(){return ss}},{key:"visitDate",value:function(){return rs}},{key:"visitDateDay",value:function(){return is}},{key:"visitDateMillisecond",value:function(){return as}},{key:"visitTimestamp",value:function(){return Bs}},{key:"visitTimestampSecond",value:function(){return Ns}},{key:"visitTimestampMillisecond",value:function(){return Fs}},{key:"visitTimestampMicrosecond",value:function(){return zs}},{key:"visitTimestampNanosecond",value:function(){return Us}},{key:"visitTime",value:function(){return Vs}},{key:"visitTimeSecond",value:function(){return Ws}},{key:"visitTimeMillisecond",value:function(){return Hs}},{key:"visitTimeMicrosecond",value:function(){return $s}},{key:"visitTimeNanosecond",value:function(){return Ys}},{key:"visitDecimal",value:function(){return os}},{key:"visitList",value:function(){return Ms}},{key:"visitStruct",value:function(){return Ds}},{key:"visitUnion",value:function(){return qs}},{key:"visitDenseUnion",value:function(){return Gs}},{key:"visitSparseUnion",value:function(){return Ks}},{key:"visitDictionary",value:function(){return us}},{key:"visitInterval",value:function(){return bs}},{key:"visitIntervalDayTime",value:function(){return ms}},{key:"visitIntervalYearMonth",value:function(){return gs}},{key:"visitFixedSizeList",value:function(){return cs}},{key:"visitMap",value:function(){return Rs}}]),n}(vn),Dc=new Lc;function Bc(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Nc(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Nc(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Nc=function(e){this.s=e,this.n=e.next},Nc.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new Nc(e)}function Fc(e,t){if(Ie(t))return qt.from({nullValues:[null,void 0],type:e(),values:t});if(Ee(t))return qt.from({nullValues:[null,void 0],type:e(),values:t});var n=Object(Ft.a)({},t),r=n.values,i=void 0===r?[]:r,a=n.type,o=void 0===a?e():a,u=n.nullValues,s=void 0===u?[null,void 0]:u;return Ie(i),qt.from(Object(Ft.a)(Object(Ft.a)({nullValues:s},t),{},{type:o}))}function zc(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Uc(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Uc(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Uc=function(e){this.s=e,this.n=e.next},Uc.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new Uc(e)}qt.new=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Vr(Dc.getVisitFn(e)(),[e].concat(n))},qt.from=function(e){var t=Object(Ft.a)({nullValues:[null,void 0]},e),n=t.values,r=void 0===n?[]:n,i=Object(Zu.a)(t,["values"]);if(Ie(r)){var a=Object(hn.a)(Sr.throughIterable(i)(r));return 1===a.length?a[0]:$i.concat(a)}return function(){var e=Object(E.a)(P.mark((function e(t){var n,a,o,u,s,c,l,f;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=Sr.throughAsyncIterable(i),a=!0,o=!1,e.prev=3,s=Bc(n(r));case 5:return e.next=7,s.next();case 7:return c=e.sent,a=c.done,e.next=11,c.value;case 11:if(l=e.sent,a){e.next=18;break}f=l,t.push(f);case 15:a=!0,e.next=5;break;case 18:e.next=24;break;case 20:e.prev=20,e.t0=e.catch(3),o=!0,u=e.t0;case 24:if(e.prev=24,e.prev=25,a||null==s.return){e.next=29;break}return e.next=29,s.return();case 29:if(e.prev=29,!o){e.next=32;break}throw u;case 32:return e.finish(29);case 33:return e.finish(24);case 34:return e.abrupt("return",1===t.length?t[0]:$i.concat(t));case 35:case"end":return e.stop()}}),e,null,[[3,20,24,34],[25,,29,33]])})));return function(t){return e.apply(this,arguments)}}()([])},es.prototype.get=function(e){return kc.visit(this,e)},es.prototype.set=function(e,t){return za.visit(this,e,t)},es.prototype.indexOf=function(e,t){return Oc.visit(this,e,t)},es.prototype.toArray=function(){return Ec.visit(this)},es.prototype.getByteWidth=function(){return Pc.visit(this.type)},es.prototype[Symbol.iterator]=function(){return Tc.visit(this)},es.prototype._bindDataAccessors=function(){var e=this.nullBitmap;e&&e.byteLength>0&&(this.get=(t=this.get,function(e){return this.isValid(e)?t.call(this,e):null}),this.set=function(e){return function(t,n){un(this.nullBitmap,this.offset+t,!(null===n||void 0===n))&&e.call(this,t,n)}}(this.set));var t},Object.keys(Gt).map((function(e){return Gt[e]})).filter((function(e){return"number"===typeof e})).filter((function(e){return e!==Gt.NONE})).forEach((function(e){var t,n=Dc.visit(e);n.prototype.get=(t=kc.getVisitFn(e),function(e){return t(this,e)}),n.prototype.set=Js(za.getVisitFn(e)),n.prototype.indexOf=Js(Oc.getVisitFn(e)),n.prototype.toArray=Xs(Ec.getVisitFn(e)),n.prototype.getByteWidth=function(e){return function(){return e(this.type)}}(Pc.getVisitFn(e)),n.prototype[Symbol.iterator]=Xs(Tc.getVisitFn(e))}));var Vc=function(e){re(n,e);var t=ce(n);function n(){var e;A(this,n);for(var r=null,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];a[0]instanceof sa&&(r=a.shift());var u=Ji(Wc,a);if(!r&&!(r=u[0]&&u[0].schema))throw new TypeError("Table must be initialized with a Schema or at least one RecordBatch");return u[0]||(u[0]=new Hc(r)),(e=t.call(this,new nr(r.fields),u))._schema=r,e._chunks=u,e}return R(n,[{key:"schema",get:function(){return this._schema}},{key:"length",get:function(){return this._length}},{key:"chunks",get:function(){return this._chunks}},{key:"numCols",get:function(){return this._numChildren}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new n(this._schema,e)}},{key:"getColumn",value:function(e){return this.getColumnAt(this.getColumnIndex(e))}},{key:"getColumnAt",value:function(e){return this.getChildAt(e)}},{key:"getColumnIndex",value:function(e){return this._schema.fields.findIndex((function(t){return t.name===e}))}},{key:"getChildAt",value:function(e){if(e<0||e>=this.numChildren)return null;var t,n,r=this._schema.fields,i=this._children||(this._children=[]);if(n=i[e])return n;if(t=r[e]){var a=this._chunks.map((function(t){return t.getChildAt(e)})).filter((function(e){return null!=e}));if(a.length>0)return i[e]=new Ki(t,a)}return null}},{key:"serialize",value:function(){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=e?Vu:Wu;return t.writeAll(this).toUint8Array(!0)}},{key:"count",value:function(){return this._length}},{key:"select",value:function(){for(var e=this._schema.fields.reduce((function(e,t,n){return e.set(t.name,n)}),new Map),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.selectAt.apply(this,Object(hn.a)(n.map((function(t){return e.get(t)})).filter((function(e){return e>-1}))))}},{key:"selectAt",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var a=(e=this._schema).selectAt.apply(e,r);return new n(a,this._chunks.map((function(e){var t=e.length,n=e.data.childData;return new Wc(a,t,r.map((function(e){return n[e]})).filter(Boolean))})))}},{key:"assign",value:function(e){var t=this,r=this._schema.fields,i=e.schema.fields.reduce((function(e,t,n){var i=Object(L.a)(e,2),a=i[0],o=i[1],u=r.findIndex((function(e){return e.name===t.name}));return~u?o[u]=n:a.push(n),e}),[[],[]]),a=Object(L.a)(i,2),o=a[0],u=a[1],s=this._schema.assign(e.schema),c=[].concat(Object(hn.a)(r.map((function(n,r,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u[r];return void 0===a?t.getColumnAt(r):e.getColumnAt(a)}))),Object(hn.a)(o.map((function(t){return e.getColumnAt(t)})))).filter(Boolean);return Vr(n,Object(hn.a)(Xu(s,c)))}}],[{key:"empty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new sa([]);return new n(e,[])}},{key:"from",value:function(e){if(!e)return n.empty();if("object"===typeof e){var t=Ie(e.values)?function(e){if(e.type instanceof nr)return Vc.fromStruct(Ds.from(e));return null}(e):Ee(e.values)?function(e){if(e.type instanceof nr)return Ds.from(e).then((function(e){return Vc.fromStruct(e)}));return null}(e):null;if(null!==t)return t}var r=Kc.from(e);return Ce(r)?Object(E.a)(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=n,e.next=3,r;case 3:return e.t1=e.sent,e.next=6,e.t0.from.call(e.t0,e.t1);case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))():r.isSync()&&(r=r.open())?r.schema?new n(r.schema,Object(hn.a)(r)):n.empty():function(){var e=Object(E.a)(P.mark((function e(t){var r,i,a,o,u,s,c,l,f,d;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:if(r=e.sent,i=r.schema,a=[],!i){e.next=40;break}o=!0,u=!1,e.prev=8,c=zc(r);case 10:return e.next=12,c.next();case 12:return l=e.sent,o=l.done,e.next=16,l.value;case 16:if(f=e.sent,o){e.next=23;break}d=f,a.push(d);case 20:o=!0,e.next=10;break;case 23:e.next=29;break;case 25:e.prev=25,e.t0=e.catch(8),u=!0,s=e.t0;case 29:if(e.prev=29,e.prev=30,o||null==c.return){e.next=34;break}return e.next=34,c.return();case 34:if(e.prev=34,!u){e.next=37;break}throw s;case 37:return e.finish(34);case 38:return e.finish(29);case 39:return e.abrupt("return",new n(i,a));case 40:return e.abrupt("return",n.empty());case 41:case"end":return e.stop()}}),e,null,[[8,25,29,39],[30,,34,38]])})));return function(t){return e.apply(this,arguments)}}()(r.open())}},{key:"fromAsync",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.from(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"fromStruct",value:function(e){return n.new(e.data.childData,e.type.children)}},{key:"new",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Vr(n,Object(hn.a)(Qu(Zi(t))))}}]),n}($i);var Wc=function(e){re(n,e);var t=ce(n);function n(){var e,r;A(this,n);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];var u,s=a[0];if(a[1]instanceof fr)r=a[1],u=a[2];else{var c=s.fields,l=a[1],f=a[2];r=fr.Struct(new nr(c),0,l,0,null,f)}return(e=t.call(this,r,u))._schema=s,e}return R(n,[{key:"clone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._children;return new n(this._schema,e,t)}},{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=this._schema,a=$i.flatten.apply($i,[this].concat(t));return new Vc(i,a.map((function(e){var t=e.data;return new n(i,t)})))}},{key:"schema",get:function(){return this._schema}},{key:"numCols",get:function(){return this._schema.fields.length}},{key:"dictionaries",get:function(){return this._dictionaries||(this._dictionaries=$c.collect(this))}},{key:"select",value:function(){for(var e=this._schema.fields.reduce((function(e,t,n){return e.set(t.name,n)}),new Map),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.selectAt.apply(this,Object(hn.a)(n.map((function(t){return e.get(t)})).filter((function(e){return e>-1}))))}},{key:"selectAt",value:function(){for(var e,t=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=(e=this._schema).selectAt.apply(e,i),u=i.map((function(e){return t.data.childData[e]})).filter(Boolean);return new n(o,this.length,u)}}],[{key:"from",value:function(e){return Ie(e.values),Vc.from(e)}},{key:"new",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=ea(t),a=Object(L.a)(i,2),o=a[0],u=a[1],s=u.filter((function(e){return e instanceof qt}));return Vr(n,Object(hn.a)(Ku(new sa(o),s.map((function(e){return e.data})))))}}]),n}(Ds),Hc=function(e){re(n,e);var t=ce(n);function n(e){return A(this,n),t.call(this,e,0,e.fields.map((function(e){return fr.new(e.type,0,0,0)})))}return n}(Wc),$c=function(e){re(n,e);var t=ce(n);function n(){var e;return A(this,n),(e=t.apply(this,arguments)).dictionaries=new Map,e}return R(n,[{key:"visit",value:function(e,t){var n=this;return En.isDictionary(t)?this.visitDictionary(e,t):(e.childData.forEach((function(e,r){return n.visit(e,t.children[r].type)})),this)}},{key:"visitDictionary",value:function(e,t){var n=e.dictionary;return n&&n.length>0&&this.dictionaries.set(t.id,n),this}}],[{key:"collect",value:function(e){return(new n).visit(e.data,new nr(e.schema.fields)).dictionaries}}]),n}(vn),Yc=P.mark(ul);function qc(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Gc(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Gc(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Gc=function(e){this.s=e,this.n=e.next},Gc.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new Gc(e)}var Kc=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this))._impl=e,r}return R(n,[{key:"closed",get:function(){return this._impl.closed}},{key:"schema",get:function(){return this._impl.schema}},{key:"autoDestroy",get:function(){return this._impl.autoDestroy}},{key:"dictionaries",get:function(){return this._impl.dictionaries}},{key:"numDictionaries",get:function(){return this._impl.numDictionaries}},{key:"numRecordBatches",get:function(){return this._impl.numRecordBatches}},{key:"footer",get:function(){return this._impl.isFile()?this._impl.footer:null}},{key:"isSync",value:function(){return this._impl.isSync()}},{key:"isAsync",value:function(){return this._impl.isAsync()}},{key:"isFile",value:function(){return this._impl.isFile()}},{key:"isStream",value:function(){return this._impl.isStream()}},{key:"next",value:function(){return this._impl.next()}},{key:"throw",value:function(e){return this._impl.throw(e)}},{key:"return",value:function(e){return this._impl.return(e)}},{key:"cancel",value:function(){return this._impl.cancel()}},{key:"reset",value:function(e){return this._impl.reset(e),this._DOMStream=void 0,this._nodeStream=void 0,this}},{key:"open",value:function(e){var t=this,n=this._impl.open(e);return Ce(n)?n.then((function(){return t})):this}},{key:"readRecordBatch",value:function(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}},{key:Symbol.iterator,value:function(){return this._impl[Symbol.iterator]()}},{key:Symbol.asyncIterator,value:function(){return this._impl[Symbol.asyncIterator]()}},{key:"toDOMStream",value:function(){var e=this;return It.toDOMStream(this.isSync()?Object(ji.a)({},Symbol.iterator,(function(){return e})):Object(ji.a)({},Symbol.asyncIterator,(function(){return e})))}},{key:"toNodeStream",value:function(){var e=this;return It.toNodeStream(this.isSync()?Object(ji.a)({},Symbol.iterator,(function(){return e})):Object(ji.a)({},Symbol.asyncIterator,(function(){return e})),{objectMode:!0})}}],[{key:"throughNode",value:function(e){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(e,t){throw new Error('"throughDOM" not available in this environment')}},{key:"from",value:function(e){return e instanceof n?e:Ae(e)?function(e){return new Qc(new al(e))}(e):Re(e)?function(e){return fl.apply(this,arguments)}(e):Ce(e)?Object(E.a)(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=n,t.next=3,e;case 3:return t.t1=t.sent,t.next=6,t.t0.from.call(t.t0,t.t1);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})))():Pe(e)||De(e)||Ne(e)||Ee(e)?function(e){return ll.apply(this,arguments)}(new to(e)):function(e){var t=e.peek(Eu+7&-8);return t&&t.byteLength>=4?Iu(t)?new Jc(new rl(e.read())):new Qc(new tl(e)):new Qc(new tl(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))()))}(new eo(e))}},{key:"readAll",value:function(e){return e instanceof n?e.isSync()?ul(e):sl(e):Ae(e)||ArrayBuffer.isView(e)||Ie(e)||Me(e)?ul(e):sl(e)}}]),n}(de),Qc=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._impl=e,r}return R(n,[{key:Symbol.iterator,value:function(){return this._impl[Symbol.iterator]()}},{key:Symbol.asyncIterator,value:function(){var e=this;return F(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(z(qc(e[Symbol.iterator]()),B),"t0",1);case 1:case"end":return t.stop()}}),t)})))()}}]),n}(Kc),Xc=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._impl=e,r}return R(n,[{key:Symbol.iterator,value:function(){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}},{key:Symbol.asyncIterator,value:function(){return this._impl[Symbol.asyncIterator]()}}]),n}(Kc),Jc=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._impl=e,r}return n}(Qc),Zc=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this,e))._impl=e,r}return n}(Xc),el=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Map;A(this,e),this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=t}return R(e,[{key:"numDictionaries",get:function(){return this._dictionaryIndex}},{key:"numRecordBatches",get:function(){return this._recordBatchIndex}},{key:"isSync",value:function(){return!1}},{key:"isAsync",value:function(){return!1}},{key:"isFile",value:function(){return!1}},{key:"isStream",value:function(){return!1}},{key:"reset",value:function(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}},{key:"_loadRecordBatch",value:function(e,t){return new Wc(this.schema,e.length,this._loadVectors(e,t,this.schema.fields))}},{key:"_loadDictionaryBatch",value:function(e,t){var n=e.id,r=e.isDelta,i=e.data,a=this.dictionaries,o=this.schema,u=a.get(n);if(r||!u){var s=o.dictionaries.get(n);return u&&r?u.concat(qt.new(this._loadVectors(i,t,[s])[0])):qt.new(this._loadVectors(i,t,[s])[0])}return u}},{key:"_loadVectors",value:function(e,t,n){return new po(t,e.nodes,e.buffers,this.dictionaries).visitMany(n)}}]),e}(),tl=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this,r))._reader=Ae(e)?new Ou(i._handle=e):new _u(i._handle=e),i}return R(n,[{key:"isSync",value:function(){return!0}},{key:"isStream",value:function(){return!0}},{key:Symbol.iterator,value:function(){return this}},{key:"cancel",value:function(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}},{key:"open",value:function(e){return this.closed||(this.autoDestroy=ol(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}},{key:"throw",value:function(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):le}},{key:"return",value:function(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):le}},{key:"next",value:function(){if(this.closed)return le;for(var e,t=this._reader;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else{if(e.isRecordBatch()){this._recordBatchIndex++;var n=e.header(),r=t.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(n,r)}}if(e.isDictionaryBatch()){this._dictionaryIndex++;var i=e.header(),a=t.readMessageBody(e.bodyLength),o=this._loadDictionaryBatch(i,a);this.dictionaries.set(i.id,o)}}return this.schema&&0===this._recordBatchIndex?(this._recordBatchIndex++,{done:!1,value:new Hc(this.schema)}):this.return()}},{key:"_readNextMessageAndValidate",value:function(e){return this._reader.readMessage(e)}}]),n}(el),nl=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this,r))._reader=new Su(i._handle=e),i}return R(n,[{key:"isAsync",value:function(){return!0}},{key:"isStream",value:function(){return!0}},{key:Symbol.asyncIterator,value:function(){return this}},{key:"cancel",value:function(){var e=Object(E.a)(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed||!(this.closed=!0)){e.next=5;break}return e.next=3,this.reset()._reader.return();case 3:this._reader=null,this.dictionaries=null;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"open",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed){e.next=10;break}if(this.autoDestroy=ol(this,t),e.t0=this.schema,e.t0){e.next=7;break}return e.next=6,this._reader.readSchema();case 6:e.t0=this.schema=e.sent;case 7:if(e.t0){e.next=10;break}return e.next=10,this.cancel();case 10:return e.abrupt("return",this);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"throw",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed||!this.autoDestroy||!(this.closed=!0)){e.next=4;break}return e.next=3,this.reset()._reader.throw(t);case 3:return e.abrupt("return",e.sent);case 4:return e.abrupt("return",le);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"return",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed||!this.autoDestroy||!(this.closed=!0)){e.next=4;break}return e.next=3,this.reset()._reader.return(t);case 3:return e.abrupt("return",e.sent);case 4:return e.abrupt("return",le);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"next",value:function(){var e=Object(E.a)(P.mark((function e(){var t,n,r,i,a,o,u,s;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.closed){e.next=2;break}return e.abrupt("return",le);case 2:n=this._reader;case 3:return e.next=5,this._readNextMessageAndValidate();case 5:if(!(t=e.sent)){e.next=31;break}if(!t.isSchema()){e.next=11;break}return e.next=9,this.reset(t.header());case 9:e.next=29;break;case 11:if(!t.isRecordBatch()){e.next=21;break}return this._recordBatchIndex++,r=t.header(),e.next=16,n.readMessageBody(t.bodyLength);case 16:return i=e.sent,a=this._loadRecordBatch(r,i),e.abrupt("return",{done:!1,value:a});case 21:if(!t.isDictionaryBatch()){e.next=29;break}return this._dictionaryIndex++,o=t.header(),e.next=26,n.readMessageBody(t.bodyLength);case 26:u=e.sent,s=this._loadDictionaryBatch(o,u),this.dictionaries.set(o.id,s);case 29:e.next=3;break;case 31:if(!this.schema||0!==this._recordBatchIndex){e.next=34;break}return this._recordBatchIndex++,e.abrupt("return",{done:!1,value:new Hc(this.schema)});case 34:return e.next=36,this.return();case 36:return e.abrupt("return",e.sent);case 37:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_readNextMessageAndValidate",value:function(){var e=Object(E.a)(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.readMessage(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),n}(el),rl=function(e){re(n,e);var t=ce(n);function n(e,r){return A(this,n),t.call(this,e instanceof io?e:new io(e),r)}return R(n,[{key:"footer",get:function(){return this._footer}},{key:"numDictionaries",get:function(){return this._footer?this._footer.numDictionaries:0}},{key:"numRecordBatches",get:function(){return this._footer?this._footer.numRecordBatches:0}},{key:"isSync",value:function(){return!0}},{key:"isFile",value:function(){return!0}},{key:"open",value:function(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;var t,r=Object(I.a)(this._footer.dictionaryBatches());try{for(r.s();!(t=r.n()).done;){t.value&&this._readDictionaryBatch(this._dictionaryIndex++)}}catch(i){r.e(i)}finally{r.f()}}return zt(ie(n.prototype),"open",this).call(this,e)}},{key:"readRecordBatch",value:function(e){if(this.closed)return null;this._footer||this.open();var t=this._footer&&this._footer.getRecordBatch(e);if(t&&this._handle.seek(t.offset)){var n=this._reader.readMessage(tn.RecordBatch);if(n&&n.isRecordBatch()){var r=n.header(),i=this._reader.readMessageBody(n.bodyLength);return this._loadRecordBatch(r,i)}}return null}},{key:"_readDictionaryBatch",value:function(e){var t=this._footer&&this._footer.getDictionaryBatch(e);if(t&&this._handle.seek(t.offset)){var n=this._reader.readMessage(tn.DictionaryBatch);if(n&&n.isDictionaryBatch()){var r=n.header(),i=this._reader.readMessageBody(n.bodyLength),a=this._loadDictionaryBatch(r,i);this.dictionaries.set(r.id,a)}}}},{key:"_readFooter",value:function(){var e=this._handle,t=e.size-Au,n=e.readInt32(t),r=e.readAt(t-n,n);return Ga.decode(r)}},{key:"_readNextMessageAndValidate",value:function(e){if(this._footer||this.open(),this._footer&&this._recordBatchIndex<this.numRecordBatches){var t=this._footer&&this._footer.getRecordBatch(this._recordBatchIndex);if(t&&this._handle.seek(t.offset))return this._reader.readMessage(e)}return null}}]),n}(tl),il=function(e){re(n,e);var t=ce(n);function n(e){A(this,n);for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var o="number"!==typeof i[0]?i.shift():void 0,u=i[0]instanceof Map?i.shift():void 0;return t.call(this,e instanceof ao?e:new ao(e,o),u)}return R(n,[{key:"footer",get:function(){return this._footer}},{key:"numDictionaries",get:function(){return this._footer?this._footer.numDictionaries:0}},{key:"numRecordBatches",get:function(){return this._footer?this._footer.numRecordBatches:0}},{key:"isFile",value:function(){return!0}},{key:"isAsync",value:function(){return!0}},{key:"open",value:function(){var e=Object(E.a)(P.mark((function e(t){var r,i,a;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.closed||this._footer){e.next=23;break}return e.next=3,this._readFooter();case 3:this.schema=(this._footer=e.sent).schema,r=Object(I.a)(this._footer.dictionaryBatches()),e.prev=5,r.s();case 7:if((i=r.n()).done){e.next=15;break}if(a=i.value,e.t0=a,!e.t0){e.next=13;break}return e.next=13,this._readDictionaryBatch(this._dictionaryIndex++);case 13:e.next=7;break;case 15:e.next=20;break;case 17:e.prev=17,e.t1=e.catch(5),r.e(e.t1);case 20:return e.prev=20,r.f(),e.finish(20);case 23:return e.next=25,zt(ie(n.prototype),"open",this).call(this,t);case 25:return e.abrupt("return",e.sent);case 26:case"end":return e.stop()}}),e,this,[[5,17,20,23]])})));return function(t){return e.apply(this,arguments)}}()},{key:"readRecordBatch",value:function(){var e=Object(E.a)(P.mark((function e(t){var n,r,i,a,o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.closed){e.next=2;break}return e.abrupt("return",null);case 2:if(this._footer){e.next=5;break}return e.next=5,this.open();case 5:if(n=this._footer&&this._footer.getRecordBatch(t),e.t0=n,!e.t0){e.next=11;break}return e.next=10,this._handle.seek(n.offset);case 10:e.t0=e.sent;case 11:if(!e.t0){e.next=22;break}return e.next=14,this._reader.readMessage(tn.RecordBatch);case 14:if(!(r=e.sent)||!r.isRecordBatch()){e.next=22;break}return i=r.header(),e.next=19,this._reader.readMessageBody(r.bodyLength);case 19:return a=e.sent,o=this._loadRecordBatch(i,a),e.abrupt("return",o);case 22:return e.abrupt("return",null);case 23:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_readDictionaryBatch",value:function(){var e=Object(E.a)(P.mark((function e(t){var n,r,i,a,o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this._footer&&this._footer.getDictionaryBatch(t),e.t0=n,!e.t0){e.next=6;break}return e.next=5,this._handle.seek(n.offset);case 5:e.t0=e.sent;case 6:if(!e.t0){e.next=17;break}return e.next=9,this._reader.readMessage(tn.DictionaryBatch);case 9:if(!(r=e.sent)||!r.isDictionaryBatch()){e.next=17;break}return i=r.header(),e.next=14,this._reader.readMessageBody(r.bodyLength);case 14:a=e.sent,o=this._loadDictionaryBatch(i,a),this.dictionaries.set(i.id,o);case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_readFooter",value:function(){var e=Object(E.a)(P.mark((function e(){var t,n,r,i;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this._handle,e.t0=t._pending,!e.t0){e.next=5;break}return e.next=5,t._pending;case 5:return n=t.size-Au,e.next=8,t.readInt32(n);case 8:return r=e.sent,e.next=11,t.readAt(n-r,r);case 11:return i=e.sent,e.abrupt("return",Ga.decode(i));case 13:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_readNextMessageAndValidate",value:function(){var e=Object(E.a)(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._footer){e.next=3;break}return e.next=3,this.open();case 3:if(!(this._footer&&this._recordBatchIndex<this.numRecordBatches)){e.next=14;break}if(n=this._footer.getRecordBatch(this._recordBatchIndex),e.t0=n,!e.t0){e.next=10;break}return e.next=9,this._handle.seek(n.offset);case 9:e.t0=e.sent;case 10:if(!e.t0){e.next=14;break}return e.next=13,this._reader.readMessage(t);case 13:return e.abrupt("return",e.sent);case 14:return e.abrupt("return",null);case 15:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),n}(nl),al=function(e){re(n,e);var t=ce(n);function n(e,r){return A(this,n),t.call(this,e,r)}return R(n,[{key:"_loadVectors",value:function(e,t,n){return new ho(t,e.nodes,e.buffers,this.dictionaries).visitMany(n)}}]),n}(tl);function ol(e,t){return t&&"boolean"===typeof t.autoDestroy?t.autoDestroy:e.autoDestroy}function ul(e){var t;return P.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t=Kc.from(e),n.prev=1,t.open({autoDestroy:!1}).closed){n.next=6;break}case 3:return n.next=5,t;case 5:if(!t.reset().open().closed){n.next=3;break}case 6:return n.prev=6,t.cancel(),n.finish(6);case 9:case"end":return n.stop()}}),Yc,null,[[1,,6,9]])}function sl(e){return cl.apply(this,arguments)}function cl(){return(cl=F(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B(Kc.from(t));case 2:return n=e.sent,e.prev=3,e.next=6,B(n.open({autoDestroy:!1}));case 6:if(e.sent.closed){e.next=12;break}case 7:return e.next=9,n;case 9:return e.next=11,B(n.reset().open());case 11:if(!e.sent.closed){e.next=7;break}case 12:return e.prev=12,e.next=15,B(n.cancel());case 15:return e.finish(12);case 16:case"end":return e.stop()}}),e,null,[[3,,12,16]])})))).apply(this,arguments)}function ll(){return(ll=Object(E.a)(P.mark((function e(t){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.peek(Eu+7&-8);case 2:if(!((n=e.sent)&&n.byteLength>=4)){e.next=18;break}if(Iu(n)){e.next=8;break}e.t1=new Xc(new nl(t)),e.next=15;break;case 8:return e.t2=Jc,e.t3=rl,e.next=12,t.read();case 12:e.t4=e.sent,e.t5=new e.t3(e.t4),e.t1=new e.t2(e.t5);case 15:e.t0=e.t1,e.next=19;break;case 18:e.t0=new Xc(new nl(F(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()));case 19:return e.abrupt("return",e.t0);case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fl(){return(fl=Object(E.a)(P.mark((function e(t){var n,r,i;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.stat();case 2:if(n=e.sent,r=n.size,i=new ao(t,r),!(r>=Mu)){e.next=12;break}return e.t0=Iu,e.next=9,i.readAt(0,Eu+7&-8);case 9:if(e.t1=e.sent,!(0,e.t0)(e.t1)){e.next=12;break}return e.abrupt("return",new Zc(new il(i)));case 12:return e.abrupt("return",new Xc(new nl(i)));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var dl=function(){function e(t){var n,r,i=this;A(this,e),this._numChunks=0,this._finished=!1,this._bufferedSize=0;var a=t.readableStrategy,o=t.writableStrategy,u=t.queueingStrategy,s=void 0===u?"count":u,c=Object(Zu.a)(t,["readableStrategy","writableStrategy","queueingStrategy"]);this._controller=null,this._builder=Sr.new(c),this._getSize="bytes"!==s?pl:hl;var l=Object(Ft.a)({},a).highWaterMark,f=void 0===l?"bytes"===s?Math.pow(2,14):1e3:l,d=Object(Ft.a)({},o).highWaterMark,p=void 0===d?"bytes"===s?Math.pow(2,14):1e3:d;this.readable=new ReadableStream((n={},Object(ji.a)(n,"cancel",(function(){i._builder.clear()})),Object(ji.a)(n,"pull",(function(e){i._maybeFlush(i._builder,i._controller=e)})),Object(ji.a)(n,"start",(function(e){i._maybeFlush(i._builder,i._controller=e)})),n),{highWaterMark:f,size:"bytes"!==s?pl:hl}),this.writable=new WritableStream((r={},Object(ji.a)(r,"abort",(function(){i._builder.clear()})),Object(ji.a)(r,"write",(function(){i._maybeFlush(i._builder,i._controller)})),Object(ji.a)(r,"close",(function(){i._maybeFlush(i._builder.finish(),i._controller)})),r),{highWaterMark:p,size:function(e){return i._writeValueAndReturnChunkSize(e)}})}return R(e,[{key:"_writeValueAndReturnChunkSize",value:function(e){var t=this._bufferedSize;return this._bufferedSize=this._getSize(this._builder.append(e)),this._bufferedSize-t}},{key:"_maybeFlush",value:function(e,t){null!==t&&(this._bufferedSize>=t.desiredSize&&++this._numChunks&&this._enqueue(t,e.toVector()),e.finished&&((e.length>0||0===this._numChunks)&&++this._numChunks&&this._enqueue(t,e.toVector()),!this._finished&&(this._finished=!0)&&this._enqueue(t,null)))}},{key:"_enqueue",value:function(e,t){this._bufferedSize=0,this._controller=null,null===t?e.close():e.enqueue(t)}}]),e}(),pl=function(e){return e.length},hl=function(e){return e.byteLength};var vl=function(){function e(){A(this,e)}return R(e,[{key:"eq",value:function(t){return t instanceof e||(t=new yl(t)),new Sl(this,t)}},{key:"le",value:function(t){return t instanceof e||(t=new yl(t)),new Ol(this,t)}},{key:"ge",value:function(t){return t instanceof e||(t=new yl(t)),new xl(this,t)}},{key:"lt",value:function(e){return new jl(this.ge(e))}},{key:"gt",value:function(e){return new jl(this.le(e))}},{key:"ne",value:function(e){return new jl(this.eq(e))}}]),e}(),yl=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).v=e,r}return n}(vl),bl=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).name=e,r}return R(n,[{key:"bind",value:function(e){if(!this.colidx){this.colidx=-1;for(var t=e.schema.fields,n=-1;++n<t.length;)if(t[n].name===this.name){this.colidx=n;break}if(this.colidx<0)throw new Error('Failed to bind Col "'.concat(this.name,'"'))}var r=this.vector=e.getChildAt(this.colidx);return function(e){return r.get(e)}}}]),n}(vl),ml=function(){function e(){A(this,e)}return R(e,[{key:"and",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Vr(wl,[this].concat(t))}},{key:"or",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Vr(_l,[this].concat(t))}},{key:"not",value:function(){return new jl(this)}}]),e}(),gl=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this)).left=e,i.right=r,i}return R(n,[{key:"bind",value:function(e){return this.left instanceof yl?this.right instanceof yl?this._bindLitLit(e,this.left,this.right):this._bindLitCol(e,this.left,this.right):this.right instanceof yl?this._bindColLit(e,this.left,this.right):this._bindColCol(e,this.left,this.right)}}]),n}(ml),kl=function(e){re(n,e);var t=ce(n);function n(){var e;A(this,n),e=t.call(this);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e.children=i,e}return n}(ml);kl.prototype.children=Object.freeze([]);var wl=function(e){re(n,e);var t=ce(n);function n(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return A(this,n),r=r.reduce((function(e,t){return e.concat(t instanceof n?t.children:t)}),[]),t.call.apply(t,[this].concat(Object(hn.a)(r)))}return R(n,[{key:"bind",value:function(e){var t=this.children.map((function(t){return t.bind(e)}));return function(e,n){return t.every((function(t){return t(e,n)}))}}}]),n}(kl),_l=function(e){re(n,e);var t=ce(n);function n(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return A(this,n),r=r.reduce((function(e,t){return e.concat(t instanceof n?t.children:t)}),[]),t.call.apply(t,[this].concat(Object(hn.a)(r)))}return R(n,[{key:"bind",value:function(e){var t=this.children.map((function(t){return t.bind(e)}));return function(e,n){return t.some((function(t){return t(e,n)}))}}}]),n}(kl),Sl=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"_bindLitLit",value:function(e,t,n){var r=t.v==n.v;return function(){return r}}},{key:"_bindColCol",value:function(e,t,n){var r=t.bind(e),i=n.bind(e);return function(e,t){return r(e,t)==i(e,t)}}},{key:"_bindColLit",value:function(e,t,n){var r=t.bind(e);if(t.vector instanceof us){var i,a=t.vector;return a.dictionary!==this.lastDictionary?(i=a.reverseLookup(n.v),this.lastDictionary=a.dictionary,this.lastKey=i):i=this.lastKey,-1===i?function(){return!1}:function(e){return a.getKey(e)===i}}return function(e,t){return r(e,t)==n.v}}},{key:"_bindLitCol",value:function(e,t,n){return this._bindColLit(e,n,t)}}]),n}(gl),Ol=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"_bindLitLit",value:function(e,t,n){var r=t.v<=n.v;return function(){return r}}},{key:"_bindColCol",value:function(e,t,n){var r=t.bind(e),i=n.bind(e);return function(e,t){return r(e,t)<=i(e,t)}}},{key:"_bindColLit",value:function(e,t,n){var r=t.bind(e);return function(e,t){return r(e,t)<=n.v}}},{key:"_bindLitCol",value:function(e,t,n){var r=n.bind(e);return function(e,n){return t.v<=r(e,n)}}}]),n}(gl),xl=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"_bindLitLit",value:function(e,t,n){var r=t.v>=n.v;return function(){return r}}},{key:"_bindColCol",value:function(e,t,n){var r=t.bind(e),i=n.bind(e);return function(e,t){return r(e,t)>=i(e,t)}}},{key:"_bindColLit",value:function(e,t,n){var r=t.bind(e);return function(e,t){return r(e,t)>=n.v}}},{key:"_bindLitCol",value:function(e,t,n){var r=n.bind(e);return function(e,n){return t.v>=r(e,n)}}}]),n}(gl),jl=function(e){re(n,e);var t=ce(n);function n(e){var r;return A(this,n),(r=t.call(this)).child=e,r}return R(n,[{key:"bind",value:function(e){var t=this.child.bind(e);return function(e,n){return!t(e,n)}}}]),n}(ml);Vc.prototype.countBy=function(e){return new Tl(this.chunks).countBy(e)},Vc.prototype.scan=function(e,t){return new Tl(this.chunks).scan(e,t)},Vc.prototype.scanReverse=function(e,t){return new Tl(this.chunks).scanReverse(e,t)},Vc.prototype.filter=function(e){return new Tl(this.chunks).filter(e)};var Tl=function(e){re(n,e);var t=ce(n);function n(){return A(this,n),t.apply(this,arguments)}return R(n,[{key:"filter",value:function(e){return new Il(this.chunks,e)}},{key:"scan",value:function(e,t){for(var n=this.chunks,r=n.length,i=-1;++i<r;){var a=n[i];t&&t(a);for(var o=-1,u=a.length;++o<u;)e(o,a)}}},{key:"scanReverse",value:function(e,t){for(var n=this.chunks,r=n.length;--r>=0;){var i=n[r];t&&t(i);for(var a=i.length;--a>=0;)e(a,i)}}},{key:"countBy",value:function(e){var t=this.chunks,n=t.length,r="string"===typeof e?new bl(e):e;r.bind(t[n-1]);var i=r.vector;if(!En.isDictionary(i.type))throw new Error("countBy currently only supports dictionary-encoded columns");for(var a=Math.ceil(Math.log(i.length)/Math.log(256)),o=new(4==a?Uint32Array:a>=2?Uint16Array:Uint8Array)(i.dictionary.length),u=-1;++u<n;){var s=t[u];r.bind(s);for(var c=r.vector.indices,l=-1,f=s.length;++l<f;){var d=c.get(l);null!==d&&o[d]++}}return new Cl(i.dictionary,ks.from(o))}}]),n}(Vc),Cl=function(e){re(n,e);var t=ce(n);function n(e,r){A(this,n);var i=new sa([new ca("values",e.type),new ca("counts",r.type)]);return t.call(this,new Wc(i,r.length,[e,r]))}return R(n,[{key:"toJSON",value:function(){for(var e=this.getColumnAt(0),t=this.getColumnAt(1),n={},r=-1;++r<this.length;)n[e.get(r)]=t.get(r);return n}}]),n}(Vc),Il=function(e){re(n,e);var t=ce(n);function n(e,r){var i;return A(this,n),(i=t.call(this,e))._predicate=r,i}return R(n,[{key:"scan",value:function(e,t){for(var n=this._chunks,r=n.length,i=-1;++i<r;)for(var a=n[i],o=this._predicate.bind(a),u=!1,s=-1,c=a.length;++s<c;)o(s,a)&&(t&&!u&&(t(a),u=!0),e(s,a))}},{key:"scanReverse",value:function(e,t){for(var n=this._chunks,r=n.length;--r>=0;)for(var i=n[r],a=this._predicate.bind(i),o=!1,u=i.length;--u>=0;)a(u,i)&&(t&&!o&&(t(i),o=!0),e(u,i))}},{key:"count",value:function(){for(var e=0,t=this._chunks,n=t.length,r=-1;++r<n;)for(var i=t[r],a=this._predicate.bind(i),o=-1,u=i.length;++o<u;)a(o,i)&&++e;return e}},{key:Symbol.iterator,value:P.mark((function e(){var t,n,r,i,a,o,u;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this._chunks,n=t.length,r=-1;case 3:if(!(++r<n)){e.next=15;break}i=t[r],a=this._predicate.bind(i),o=-1,u=i.length;case 7:if(!(++o<u)){e.next=13;break}if(!a(o,i)){e.next=11;break}return e.next=11,i.get(o);case 11:e.next=7;break;case 13:e.next=3;break;case 15:case"end":return e.stop()}}),e,this)}))},{key:"filter",value:function(e){return new n(this._chunks,this._predicate.and(e))}},{key:"countBy",value:function(e){var t=this._chunks,n=t.length,r="string"===typeof e?new bl(e):e;r.bind(t[n-1]);var i=r.vector;if(!En.isDictionary(i.type))throw new Error("countBy currently only supports dictionary-encoded columns");for(var a=Math.ceil(Math.log(i.length)/Math.log(256)),o=new(4==a?Uint32Array:a>=2?Uint16Array:Uint8Array)(i.dictionary.length),u=-1;++u<n;){var s=t[u],c=this._predicate.bind(s);r.bind(s);for(var l=r.vector.indices,f=-1,d=s.length;++f<d;){var p=l.get(f);null!==p&&c(f,s)&&o[p]++}}return new Cl(i.dictionary,ks.from(o))}}]),n}(Tl);Object(Ft.a)(Object(Ft.a)(Object(Ft.a)(Object(Ft.a)(Object(Ft.a)(Object(Ft.a)({},o),s),i),a),r),u);It.toDOMStream=function(e,t){if(Ee(e))return function(e,t){var n=null,r=t&&"bytes"===t.type||!1,i=t&&t.highWaterMark||Math.pow(2,24);return new ReadableStream(Object(Ft.a)(Object(Ft.a)({},t),{},{start:function(t){return Object(E.a)(P.mark((function r(){return P.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a(t,n||(n=e[Symbol.asyncIterator]()));case 2:case"end":return r.stop()}}),r)})))()},pull:function(e){return Object(E.a)(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=5;break}return t.next=3,a(e,n);case 3:t.next=6;break;case 5:e.close();case 6:case"end":return t.stop()}}),t)})))()},cancel:function(){return Object(E.a)(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t1=n,!e.t1){e.next=8;break}if(e.t2=n.return,!e.t2){e.next=7;break}return e.next=6,n.return();case 6:e.t2=e.sent;case 7:e.t1=e.t2;case 8:if(e.t0=e.t1,e.t0){e.next=11;break}e.t0=!0;case 11:if(e.t3=e.t0,!e.t3){e.next=14;break}n=null;case 14:case"end":return e.stop()}}),e)})))()}}),Object(Ft.a)({highWaterMark:r?i:void 0},t));function a(e,t){return o.apply(this,arguments)}function o(){return o=Object(E.a)(P.mark((function e(t,n){var i,a,o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=null,o=t.desiredSize||null;case 2:return e.next=4,n.next(r?o:null);case 4:if((a=e.sent).done){e.next=11;break}if(ArrayBuffer.isView(a.value)&&(i=Xe(a.value))&&(null!=o&&r&&(o=o-i.byteLength+1),a.value=i),t.enqueue(a.value),!(null!=o&&--o<=0)){e.next=9;break}return e.abrupt("return");case 9:e.next=2;break;case 11:t.close();case 12:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}}(e,t);if(Ie(e))return function(e,t){var n=null,r=t&&"bytes"===t.type||!1,i=t&&t.highWaterMark||Math.pow(2,24);return new ReadableStream(Object(Ft.a)(Object(Ft.a)({},t),{},{start:function(t){a(t,n||(n=e[Symbol.iterator]()))},pull:function(e){n?a(e,n):e.close()},cancel:function(){n&&n.return&&n.return(),n=null}}),Object(Ft.a)({highWaterMark:r?i:void 0},t));function a(e,t){for(var n,i=null,a=e.desiredSize||null;!(i=t.next(r?a:null)).done;)if(ArrayBuffer.isView(i.value)&&(n=Xe(i.value))&&(null!=a&&r&&(a=a-n.byteLength+1),i.value=n),e.enqueue(i.value),null!=a&&--a<=0)return;e.close()}}(e,t);throw new Error("toDOMStream() must be called with an Iterable or AsyncIterable")},Sr.throughDOM=function(e){return new dl(e)},Kc.throughDOM=function(e,t){var n=new Za,r=null,i=new ReadableStream({cancel:function(){return Object(E.a)(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.close();case 2:case"end":return e.stop()}}),e)})))()},start:function(e){return Object(E.a)(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=u,t.t1=e,t.t2=r,t.t2){t.next=7;break}return t.next=6,a();case 6:t.t2=r=t.sent;case 7:return t.t3=t.t2,t.next=10,(0,t.t0)(t.t1,t.t3);case 10:case"end":return t.stop()}}),t)})))()},pull:function(e){return Object(E.a)(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=5;break}return t.next=3,u(e,r);case 3:t.next=6;break;case 5:e.close();case 6:case"end":return t.stop()}}),t)})))()}});return{writable:new WritableStream(n,Object(Ft.a)({highWaterMark:Math.pow(2,14)},e)),readable:i};function a(){return o.apply(this,arguments)}function o(){return(o=Object(E.a)(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Kc.from(n);case 2:return e.next=4,e.sent.open(t);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(e,t){return s.apply(this,arguments)}function s(){return s=Object(E.a)(P.mark((function e(t,n){var r,i;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.desiredSize,i=null;case 2:return e.next=4,n.next();case 4:if((i=e.sent).done){e.next=10;break}if(t.enqueue(i.value),!(null!=r&&--r<=0)){e.next=8;break}return e.abrupt("return");case 8:e.next=2;break;case 10:t.close();case 11:case"end":return e.stop()}}),e)}))),s.apply(this,arguments)}},Uu.throughDOM=function(e,t){var n=new this(e),r=new to(n),i=new ReadableStream({type:"bytes",cancel:function(){return Object(E.a)(P.mark((function e(){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.cancel();case 2:case"end":return e.stop()}}),e)})))()},pull:function(e){return Object(E.a)(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a(e);case 2:case"end":return t.stop()}}),t)})))()},start:function(e){return Object(E.a)(P.mark((function t(){return P.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a(e);case 2:case"end":return t.stop()}}),t)})))()}},Object(Ft.a)({highWaterMark:Math.pow(2,14)},t));return{writable:new WritableStream(n,e),readable:i};function a(e){return o.apply(this,arguments)}function o(){return(o=Object(E.a)(P.mark((function e(t){var n,i;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=null,i=t.desiredSize;case 2:return e.next=4,r.read(i||null);case 4:if(!(n=e.sent)){e.next=10;break}if(t.enqueue(n),!(null!=i&&(i-=n.byteLength)<=0)){e.next=8;break}return e.abrupt("return");case 8:e.next=2;break;case 10:t.close();case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}};var El,Al=function(){function e(e,t,n,r){var i=this;this.getCell=function(e,t){var n=e<i.headerRows&&t<i.headerColumns,r=e>=i.headerRows&&t<i.headerColumns,a=e<i.headerRows&&t>=i.headerColumns;if(n){var o=["blank"];return t>0&&o.push("level"+e),{type:"blank",classNames:o.join(" "),content:""}}if(a)return{type:"columns",classNames:(o=["col_heading","level"+e,"col"+(s=t-i.headerColumns)]).join(" "),content:i.getContent(i.columnsTable,s,e)};if(r){o=["row_heading","level"+t,"row"+(u=e-i.headerRows)];return{type:"index",id:"T_"+i.uuid+"level"+t+"_row"+u,classNames:o.join(" "),content:i.getContent(i.indexTable,u,t)}}o=["data","row"+(u=e-i.headerRows),"col"+(s=t-i.headerColumns)];var u,s,c=i.styler?i.getContent(i.styler.displayValuesTable,u,s):i.getContent(i.dataTable,u,s);return{type:"data",id:"T_"+i.uuid+"row"+u+"_col"+s,classNames:o.join(" "),content:c}},this.getContent=function(e,t,n){var r=e.getColumnAt(n);return null===r?"":i.getColumnTypeId(e,n)===Gt.Timestamp?i.nanosToDate(r.get(t)):r.get(t)},this.dataTable=Vc.from(e),this.indexTable=Vc.from(t),this.columnsTable=Vc.from(n),this.styler=r?{caption:r.caption,displayValuesTable:Vc.from(r.displayValues),styles:r.styles,uuid:r.uuid}:void 0}return Object.defineProperty(e.prototype,"rows",{get:function(){return this.indexTable.length+this.columnsTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataRows",{get:function(){return this.dataTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"table",{get:function(){return this.dataTable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.indexTable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!0,configurable:!0}),e.prototype.serialize=function(){return{data:this.dataTable.serialize(),index:this.indexTable.serialize(),columns:this.columnsTable.serialize()}},e.prototype.getColumnTypeId=function(e,t){return e.schema.fields[t].type.typeId},e.prototype.nanosToDate=function(e){return new Date(e/1e6)},e}(),Ml=function(){return Ml=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ml.apply(this,arguments)};!function(e){e.COMPONENT_READY="streamlit:componentReady",e.SET_COMPONENT_VALUE="streamlit:setComponentValue",e.SET_FRAME_HEIGHT="streamlit:setFrameHeight"}(El||(El={}));var Rl=function(){function e(){}return e.API_VERSION=1,e.RENDER_EVENT="streamlit:render",e.events=new C,e.registeredMessageListener=!1,e.setComponentReady=function(){e.registeredMessageListener||(window.addEventListener("message",e.onMessageEvent),e.registeredMessageListener=!0),e.sendBackMsg(El.COMPONENT_READY,{apiVersion:e.API_VERSION})},e.setFrameHeight=function(t){void 0===t&&(t=document.body.scrollHeight),t!==e.lastFrameHeight&&(e.lastFrameHeight=t,e.sendBackMsg(El.SET_FRAME_HEIGHT,{height:t}))},e.setComponentValue=function(t){var n;t instanceof Al?(n="dataframe",t=t.serialize()):!function(e){var t=!1;try{t=e instanceof BigInt64Array||e instanceof BigUint64Array}catch(n){}return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array||t}(t)?t instanceof ArrayBuffer?(n="bytes",t=new Uint8Array(t)):n="json":(n="bytes",t=new Uint8Array(t.buffer)),e.sendBackMsg(El.SET_COMPONENT_VALUE,{value:t,dataType:n})},e.onMessageEvent=function(t){if(t.data.type===e.RENDER_EVENT)e.onRenderMessage(t.data)},e.onRenderMessage=function(t){var n=t.args;null==n&&(console.error("Got null args in onRenderMessage. This should never happen"),n={});var r=t.dfs&&t.dfs.length>0?e.argsDataframeToObject(t.dfs):{};n=Ml(Ml({},n),r);var i=Boolean(t.disabled),a=t.theme;a&&Pl(a);var o={disabled:i,args:n,theme:a},u=new CustomEvent(e.RENDER_EVENT,{detail:o});e.events.dispatchEvent(u)},e.argsDataframeToObject=function(t){var n=t.map((function(t){var n=t.key,r=t.value;return[n,e.toArrowTable(r)]}));return Object.fromEntries(n)},e.toArrowTable=function(e){var t=e.data,n=t.data,r=t.index,i=t.columns,a=t.styler;return new Al(n,r,i,a)},e.sendBackMsg=function(e,t){window.parent.postMessage(Ml({isStreamlitMessage:!0,type:e},t),"*")},e}(),Pl=function(e){var t=document.createElement("style");document.head.appendChild(t),t.innerHTML="\n :root {\n --primary-color: "+e.primaryColor+";\n --background-color: "+e.backgroundColor+";\n --secondary-background-color: "+e.secondaryBackgroundColor+";\n --text-color: "+e.textColor+";\n --font: "+e.font+";\n }\n\n body {\n background-color: var(--background-color);\n color: var(--text-color);\n }\n "};var Ll=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Dl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ll(t,e),t.prototype.componentDidMount=function(){Rl.setFrameHeight()},t.prototype.componentDidUpdate=function(){Rl.setFrameHeight()},t}(d.a.PureComponent);function Bl(e){var t=function(t){function n(n){var r=t.call(this,n)||this;return r.componentDidMount=function(){Rl.events.addEventListener(Rl.RENDER_EVENT,r.onRenderEvent),Rl.setComponentReady()},r.componentDidUpdate=function(){null!=r.state.componentError&&Rl.setFrameHeight()},r.componentWillUnmount=function(){Rl.events.removeEventListener(Rl.RENDER_EVENT,r.onRenderEvent)},r.onRenderEvent=function(e){var t=e;r.setState({renderData:t.detail})},r.render=function(){return null!=r.state.componentError?d.a.createElement("div",null,d.a.createElement("h1",null,"Component Error"),d.a.createElement("span",null,r.state.componentError.message)):null==r.state.renderData?null:d.a.createElement(e,{width:window.innerWidth,disabled:r.state.renderData.disabled,args:r.state.renderData.args,theme:r.state.renderData.theme})},r.state={renderData:void 0,componentError:void 0},r}return Ll(n,t),n.getDerivedStateFromError=function(e){return{componentError:e}},n}(d.a.PureComponent);return l()(t,e)}},function(e,t,n){"use strict";var r=n(58);t.a=function(e,t){return t?Object(r.a)(e,t,{clone:!1}):e}},function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var r=n(0),i=!!r.useInsertionEffect&&r.useInsertionEffect,a=i||function(e){return e()},o=i||r.useLayoutEffect},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},i={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=n(49),o=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},l=Object(a.a)((function(e){return s(e)?e:e.replace(o,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(u,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===i[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=d(e,t,n[i])+";";else for(var a in n){var o=n[a];if("object"!==typeof o)null!=t&&void 0!==t[o]?r+=a+"{"+t[o]+"}":c(o)&&(r+=l(a)+":"+f(a,o)+";");else if(!Array.isArray(o)||"string"!==typeof o[0]||null!=t&&void 0!==t[o[0]]){var u=d(e,t,o);switch(a){case"animation":case"animationName":r+=l(a)+":"+u+";";break;default:r+=a+"{"+u+"}"}}else for(var s=0;s<o.length;s++)c(o[s])&&(r+=l(a)+":"+f(a,o[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=p,a=n(e);return p=i,d(e,t,a)}}if(null==t)return n;var o=t[n];return void 0!==o?o:n}var p,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var v=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,a="";p=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,a+=d(n,t,o)):a+=o[0];for(var u=1;u<e.length;u++)a+=d(n,t,e[u]),i&&(a+=o[u]);h.lastIndex=0;for(var s,c="";null!==(s=h.exec(a));)c+="-"+s[1];return{name:r(a)+c,styles:a,next:p}}},,function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useNullableRenderData=t.StreamlitProvider=t.useRenderData=void 0;var i=n(91);Object.defineProperty(t,"useRenderData",{enumerable:!0,get:function(){return i.useRenderData}}),Object.defineProperty(t,"StreamlitProvider",{enumerable:!0,get:function(){return r(i).default}});var a=n(68);Object.defineProperty(t,"useNullableRenderData",{enumerable:!0,get:function(){return a.useNullableRenderData}})},function(e,t,n){"use strict";var r=n(77),i=Object(r.a)();t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(44);function a(){return r.useContext(i.a)}},function(e,t,n){"use strict";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r={generateIdentifier:function(){return Math.random().toString(36).substr(2,10)}};r.localCName=r.generateIdentifier(),r.splitLines=function(e){return e.trim().split("\n").map((function(e){return e.trim()}))},r.splitSections=function(e){return e.split("\nm=").map((function(e,t){return(t>0?"m="+e:e).trim()+"\r\n"}))},r.getDescription=function(e){var t=r.splitSections(e);return t&&t[0]},r.getMediaSections=function(e){var t=r.splitSections(e);return t.shift(),t},r.matchPrefix=function(e,t){return r.splitLines(e).filter((function(e){return 0===e.indexOf(t)}))},r.parseCandidate=function(e){for(var t,n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]},r=8;r<t.length;r+=2)switch(t[r]){case"raddr":n.relatedAddress=t[r+1];break;case"rport":n.relatedPort=parseInt(t[r+1],10);break;case"tcptype":n.tcpType=t[r+1];break;case"ufrag":n.ufrag=t[r+1],n.usernameFragment=t[r+1];break;default:void 0===n[t[r]]&&(n[t[r]]=t[r+1])}return n},r.writeCandidate=function(e){var t=[];t.push(e.foundation);var n=e.component;"rtp"===n?t.push(1):"rtcp"===n?t.push(2):t.push(n),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.address||e.ip),t.push(e.port);var r=e.type;return t.push("typ"),t.push(r),"host"!==r&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),(e.usernameFragment||e.ufrag)&&(t.push("ufrag"),t.push(e.usernameFragment||e.ufrag)),"candidate:"+t.join(" ")},r.parseIceOptions=function(e){return e.substr(14).split(" ")},r.parseRtpMap=function(e){var t=e.substr(9).split(" "),n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.channels=3===t.length?parseInt(t[2],10):1,n.numChannels=n.channels,n},r.writeRtpMap=function(e){var t=e.payloadType;void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType);var n=e.channels||e.numChannels||1;return"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==n?"/"+n:"")+"\r\n"},r.parseExtmap=function(e){var t=e.substr(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1]}},r.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},r.parseFmtp=function(e){for(var t,n={},r=e.substr(e.indexOf(" ")+1).split(";"),i=0;i<r.length;i++)n[(t=r[i].trim().split("="))[0].trim()]=t[1];return n},r.writeFmtp=function(e){var t="",n=e.payloadType;if(void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.parameters&&Object.keys(e.parameters).length){var r=[];Object.keys(e.parameters).forEach((function(t){void 0!==e.parameters[t]?r.push(t+"="+e.parameters[t]):r.push(t)})),t+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return t},r.parseRtcpFb=function(e){var t=e.substr(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},r.writeRtcpFb=function(e){var t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach((function(e){t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"})),t},r.parseSsrcMedia=function(e){var t=e.indexOf(" "),n={ssrc:parseInt(e.substr(7,t-7),10)},r=e.indexOf(":",t);return r>-1?(n.attribute=e.substr(t+1,r-t-1),n.value=e.substr(r+1)):n.attribute=e.substr(t+1),n},r.parseSsrcGroup=function(e){var t=e.substr(13).split(" ");return{semantics:t.shift(),ssrcs:t.map((function(e){return parseInt(e,10)}))}},r.getMid=function(e){var t=r.matchPrefix(e,"a=mid:")[0];if(t)return t.substr(6)},r.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},r.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:r.matchPrefix(e+t,"a=fingerprint:").map(r.parseFingerprint)}},r.writeDtlsParameters=function(e,t){var n="a=setup:"+t+"\r\n";return e.fingerprints.forEach((function(e){n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"})),n},r.parseCryptoLine=function(e){var t=e.substr(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},r.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"===typeof e.keyParams?r.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},r.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;var t=e.substr(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},r.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},r.getCryptoParameters=function(e,t){return r.matchPrefix(e+t,"a=crypto:").map(r.parseCryptoLine)},r.getIceParameters=function(e,t){var n=r.matchPrefix(e+t,"a=ice-ufrag:")[0],i=r.matchPrefix(e+t,"a=ice-pwd:")[0];return n&&i?{usernameFragment:n.substr(12),password:i.substr(10)}:null},r.writeIceParameters=function(e){var t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},r.parseRtpParameters=function(e){for(var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=r.splitLines(e)[0].split(" "),i=3;i<n.length;i++){var a=n[i],o=r.matchPrefix(e,"a=rtpmap:"+a+" ")[0];if(o){var u=r.parseRtpMap(o),s=r.matchPrefix(e,"a=fmtp:"+a+" ");switch(u.parameters=s.length?r.parseFmtp(s[0]):{},u.rtcpFeedback=r.matchPrefix(e,"a=rtcp-fb:"+a+" ").map(r.parseRtcpFb),t.codecs.push(u),u.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(u.name.toUpperCase())}}}return r.matchPrefix(e,"a=extmap:").forEach((function(e){t.headerExtensions.push(r.parseExtmap(e))})),t},r.writeRtpDescription=function(e,t){var n="";n+="m="+e+" ",n+=t.codecs.length>0?"9":"0",n+=" UDP/TLS/RTP/SAVPF ",n+=t.codecs.map((function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType})).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach((function(e){n+=r.writeRtpMap(e),n+=r.writeFmtp(e),n+=r.writeRtcpFb(e)}));var i=0;return t.codecs.forEach((function(e){e.maxptime>i&&(i=e.maxptime)})),i>0&&(n+="a=maxptime:"+i+"\r\n"),t.headerExtensions&&t.headerExtensions.forEach((function(e){n+=r.writeExtmap(e)})),n},r.parseRtpEncodingParameters=function(e){var t,n=[],i=r.parseRtpParameters(e),a=-1!==i.fecMechanisms.indexOf("RED"),o=-1!==i.fecMechanisms.indexOf("ULPFEC"),u=r.matchPrefix(e,"a=ssrc:").map((function(e){return r.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute})),s=u.length>0&&u[0].ssrc,c=r.matchPrefix(e,"a=ssrc-group:FID").map((function(e){return e.substr(17).split(" ").map((function(e){return parseInt(e,10)}))}));c.length>0&&c[0].length>1&&c[0][0]===s&&(t=c[0][1]),i.codecs.forEach((function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var r={ssrc:s,codecPayloadType:parseInt(e.parameters.apt,10)};s&&t&&(r.rtx={ssrc:t}),n.push(r),a&&((r=JSON.parse(JSON.stringify(r))).fec={ssrc:s,mechanism:o?"red+ulpfec":"red"},n.push(r))}})),0===n.length&&s&&n.push({ssrc:s});var l=r.matchPrefix(e,"b=");return l.length&&(l=0===l[0].indexOf("b=TIAS:")?parseInt(l[0].substr(7),10):0===l[0].indexOf("b=AS:")?1e3*parseInt(l[0].substr(5),10)*.95-16e3:void 0,n.forEach((function(e){e.maxBitrate=l}))),n},r.parseRtcpParameters=function(e){var t={},n=r.matchPrefix(e,"a=ssrc:").map((function(e){return r.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute}))[0];n&&(t.cname=n.value,t.ssrc=n.ssrc);var i=r.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=i.length>0,t.compound=0===i.length;var a=r.matchPrefix(e,"a=rtcp-mux");return t.mux=a.length>0,t},r.writeRtcpParameters=function(e){var t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},r.parseMsid=function(e){var t,n=r.matchPrefix(e,"a=msid:");if(1===n.length)return{stream:(t=n[0].substr(7).split(" "))[0],track:t[1]};var i=r.matchPrefix(e,"a=ssrc:").map((function(e){return r.parseSsrcMedia(e)})).filter((function(e){return"msid"===e.attribute}));return i.length>0?{stream:(t=i[0].value.split(" "))[0],track:t[1]}:void 0},r.parseSctpDescription=function(e){var t,n=r.parseMLine(e),i=r.matchPrefix(e,"a=max-message-size:");i.length>0&&(t=parseInt(i[0].substr(19),10)),isNaN(t)&&(t=65536);var a=r.matchPrefix(e,"a=sctp-port:");if(a.length>0)return{port:parseInt(a[0].substr(12),10),protocol:n.fmt,maxMessageSize:t};var o=r.matchPrefix(e,"a=sctpmap:");if(o.length>0){var u=o[0].substr(10).split(" ");return{port:parseInt(u[0],10),protocol:u[1],maxMessageSize:t}}},r.writeSctpDescription=function(e,t){var n=[];return n="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&n.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),n.join("")},r.generateSessionId=function(){return Math.random().toString().substr(2,21)},r.writeSessionBoilerplate=function(e,t,n){var i=void 0!==t?t:2;return"v=0\r\no="+(n||"thisisadapterortc")+" "+(e||r.generateSessionId())+" "+i+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},r.getDirection=function(e,t){for(var n=r.splitLines(e),i=0;i<n.length;i++)switch(n[i]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return n[i].substr(2)}return t?r.getDirection(t):"sendrecv"},r.getKind=function(e){return r.splitLines(e)[0].split(" ")[0].substr(2)},r.isRejected=function(e){return"0"===e.split(" ",2)[1]},r.parseMLine=function(e){var t=r.splitLines(e)[0].substr(2).split(" ");return{kind:t[0],port:parseInt(t[1],10),protocol:t[2],fmt:t.slice(3).join(" ")}},r.parseOLine=function(e){var t=r.matchPrefix(e,"o=")[0].substr(2).split(" ");return{username:t[0],sessionId:t[1],sessionVersion:parseInt(t[2],10),netType:t[3],addressType:t[4],address:t[5]}},r.isValidSDP=function(e){if("string"!==typeof e||0===e.length)return!1;for(var t=r.splitLines(e),n=0;n<t.length;n++)if(t[n].length<2||"="!==t[n].charAt(1))return!1;return!0},e.exports=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l}));var r=n(0),i=(n(63),n(21)),a=(n(69),n(48),n(47),n(24)),o=n(29),u=n(28),s=Object(i.e)((function(e,t){var n=e.styles,s=Object(o.a)([n],void 0,Object(r.useContext)(i.b)),c=Object(r.useRef)();return Object(u.b)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),c.current=[n,r],function(){n.flush()}}),[t]),Object(u.b)((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==s.next&&Object(a.b)(t,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",s,n,!1)}}),[t,s.name]),null}));function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(o.a)(t)}var l=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},function(e,t,n){"use strict";var r=n(107);t.a=r.a},function(e,t,n){"use strict";var r=n(110),i=n(64),a=Object(r.a)();t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return Object(i.a)(e)}},function(e,t,n){"use strict";var r=n(0),i=n(65);t.a=function(e){var t=r.useRef(e);return Object(i.a)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},function(e,t,n){"use strict";e.exports=n(95)},function(e,t,n){"use strict";var r=n(65);t.a=r.a},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(50);function i(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";var r=n(0),i=r.createContext();t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return w}));n(69);var r=n(0),i=n(49),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=Object(i.a)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),u=n(3),s=n(21),c=n(24),l=n(29),f=n(28),d=o,p=function(e){return"theme"!==e},h=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?d:p},v=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},y=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Object(c.c)(t,n,r);Object(f.a)((function(){return Object(c.b)(t,n,r)}));return null},b=function e(t,n){var i,a,o=t.__emotion_real===t,f=o&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var d=v(t,n,o),p=d||h(f),b=!p("as");return function(){var m=arguments,g=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&g.push("label:"+i+";"),null==m[0]||void 0===m[0].raw)g.push.apply(g,m);else{0,g.push(m[0][0]);for(var k=m.length,w=1;w<k;w++)g.push(m[w],m[0][w])}var _=Object(s.e)((function(e,t,n){var i=b&&e.as||f,o="",u=[],v=e;if(null==e.theme){for(var m in v={},e)v[m]=e[m];v.theme=Object(r.useContext)(s.b)}"string"===typeof e.className?o=Object(c.a)(t.registered,u,e.className):null!=e.className&&(o=e.className+" ");var k=Object(l.a)(g.concat(u),t.registered,v);o+=t.key+"-"+k.name,void 0!==a&&(o+=" "+a);var w=b&&void 0===d?h(i):p,_={};for(var S in e)b&&"as"===S||w(S)&&(_[S]=e[S]);return _.className=o,_.ref=n,Object(r.createElement)(r.Fragment,null,Object(r.createElement)(y,{cache:t,serialized:k,isStringTag:"string"===typeof i}),Object(r.createElement)(i,_))}));return _.displayName=void 0!==i?i:"Styled("+("string"===typeof f?f:f.displayName||f.name||"Component")+")",_.defaultProps=t.defaultProps,_.__emotion_real=_,_.__emotion_base=f,_.__emotion_styles=g,_.__emotion_forwardProp=d,Object.defineProperty(_,"toString",{value:function(){return"."+a}}),_.withComponent=function(t,r){return e(t,Object(u.a)({},n,r,{shouldForwardProp:v(_,r,!0)})).apply(void 0,g)},_}},m=b.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){m[e]=m(e)}));var g=m;function k(e,t){return g(e,t)}var w=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},function(e,t,n){"use strict";var r=n(0);t.a=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},function(e,t,n){"use strict";var r=n(93),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(e){return r.isMemo(e)?o:u[e.$$typeof]||i}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=o;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var o=l(n);f&&(o=o.concat(f(n)));for(var u=s(t),v=s(n),y=0;y<o.length;++y){var b=o[y];if(!a[b]&&(!r||!r[b])&&(!v||!v[b])&&(!u||!u[b])){var m=d(n,b);try{c(t,b,m)}catch(g){}}}}return t}},function(e,t,n){"use strict";t.a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}},function(e,t,n){"use strict";t.a=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function a(e){return e.startAdornment}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,u,s=o(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(s[l]=n[l]);if(r){u=r(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(e,t,n){"use strict";var r,i=n(0),a=!0,o=!1,u={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(a=!0)}function c(){a=!1}function l(){"hidden"===this.visibilityState&&o&&(a=!0)}function f(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return a||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!u[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}t.a=function(){var e=i.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",l,!0))}),[]),t=i.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!f(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(o=!0,window.clearTimeout(r),r=window.setTimeout((function(){o=!1}),100),t.current=!1,!0)},ref:e}}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(88)},function(e,t,n){"use strict";var r=n(0),i=r.createContext(null);t.a=i},function(e,t,n){"use strict";n.d(t,"b",(function(){return K})),n.d(t,"a",(function(){return Q}));n(5);var r=n(7),i=n(26);var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.filterProps.forEach((function(n){e[n]=t})),e}),{}),a=function(e){return Object.keys(e).reduce((function(t,n){return r[n]?Object(i.a)(t,r[n](e)):t}),{})};return a.propTypes={},a.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),a},o=n(20),u=n(19);function s(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var c=Object(r.a)({prop:"border",themeKey:"borders",transform:s}),l=Object(r.a)({prop:"borderTop",themeKey:"borders",transform:s}),f=Object(r.a)({prop:"borderRight",themeKey:"borders",transform:s}),d=Object(r.a)({prop:"borderBottom",themeKey:"borders",transform:s}),p=Object(r.a)({prop:"borderLeft",themeKey:"borders",transform:s}),h=Object(r.a)({prop:"borderColor",themeKey:"palette"}),v=Object(r.a)({prop:"borderTopColor",themeKey:"palette"}),y=Object(r.a)({prop:"borderRightColor",themeKey:"palette"}),b=Object(r.a)({prop:"borderBottomColor",themeKey:"palette"}),m=Object(r.a)({prop:"borderLeftColor",themeKey:"palette"}),g=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=Object(o.b)(e.theme,"shape.borderRadius",4,"borderRadius");return Object(u.b)(e,e.borderRadius,(function(e){return{borderRadius:Object(o.d)(t,e)}}))}return null};g.propTypes={},g.filterProps=["borderRadius"];var k=a(c,l,f,d,p,h,v,y,b,m,g),w=a(Object(r.a)({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Object(r.a)({prop:"display"}),Object(r.a)({prop:"overflow"}),Object(r.a)({prop:"textOverflow"}),Object(r.a)({prop:"visibility"}),Object(r.a)({prop:"whiteSpace"})),_=a(Object(r.a)({prop:"flexBasis"}),Object(r.a)({prop:"flexDirection"}),Object(r.a)({prop:"flexWrap"}),Object(r.a)({prop:"justifyContent"}),Object(r.a)({prop:"alignItems"}),Object(r.a)({prop:"alignContent"}),Object(r.a)({prop:"order"}),Object(r.a)({prop:"flex"}),Object(r.a)({prop:"flexGrow"}),Object(r.a)({prop:"flexShrink"}),Object(r.a)({prop:"alignSelf"}),Object(r.a)({prop:"justifyItems"}),Object(r.a)({prop:"justifySelf"})),S=function(e){if(void 0!==e.gap&&null!==e.gap){var t=Object(o.b)(e.theme,"spacing",8,"gap");return Object(u.b)(e,e.gap,(function(e){return{gap:Object(o.d)(t,e)}}))}return null};S.propTypes={},S.filterProps=["gap"];var O=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=Object(o.b)(e.theme,"spacing",8,"columnGap");return Object(u.b)(e,e.columnGap,(function(e){return{columnGap:Object(o.d)(t,e)}}))}return null};O.propTypes={},O.filterProps=["columnGap"];var x=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=Object(o.b)(e.theme,"spacing",8,"rowGap");return Object(u.b)(e,e.rowGap,(function(e){return{rowGap:Object(o.d)(t,e)}}))}return null};x.propTypes={},x.filterProps=["rowGap"];var j=a(S,O,x,Object(r.a)({prop:"gridColumn"}),Object(r.a)({prop:"gridRow"}),Object(r.a)({prop:"gridAutoFlow"}),Object(r.a)({prop:"gridAutoColumns"}),Object(r.a)({prop:"gridAutoRows"}),Object(r.a)({prop:"gridTemplateColumns"}),Object(r.a)({prop:"gridTemplateRows"}),Object(r.a)({prop:"gridTemplateAreas"}),Object(r.a)({prop:"gridArea"})),T=a(Object(r.a)({prop:"position"}),Object(r.a)({prop:"zIndex",themeKey:"zIndex"}),Object(r.a)({prop:"top"}),Object(r.a)({prop:"right"}),Object(r.a)({prop:"bottom"}),Object(r.a)({prop:"left"}));function C(e,t){return"grey"===t?t:e}var I=a(Object(r.a)({prop:"color",themeKey:"palette",transform:C}),Object(r.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:C}),Object(r.a)({prop:"backgroundColor",themeKey:"palette",transform:C})),E=Object(r.a)({prop:"boxShadow",themeKey:"shadows"});function A(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}var M=Object(r.a)({prop:"width",transform:A}),R=function(e){if(void 0!==e.maxWidth&&null!==e.maxWidth){return Object(u.b)(e,e.maxWidth,(function(t){var n,r,i;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(i=r.values)?void 0:i[t])||u.f[t]||A(t)}}))}return null};R.filterProps=["maxWidth"];var P=Object(r.a)({prop:"minWidth",transform:A}),L=Object(r.a)({prop:"height",transform:A}),D=Object(r.a)({prop:"maxHeight",transform:A}),B=Object(r.a)({prop:"minHeight",transform:A}),N=(Object(r.a)({prop:"size",cssProperty:"width",transform:A}),Object(r.a)({prop:"size",cssProperty:"height",transform:A}),a(M,R,P,L,D,B,Object(r.a)({prop:"boxSizing"}))),F=Object(r.a)({prop:"fontFamily",themeKey:"typography"}),z=Object(r.a)({prop:"fontSize",themeKey:"typography"}),U=Object(r.a)({prop:"fontStyle",themeKey:"typography"}),V=Object(r.a)({prop:"fontWeight",themeKey:"typography"}),W=Object(r.a)({prop:"letterSpacing"}),H=Object(r.a)({prop:"textTransform"}),$=Object(r.a)({prop:"lineHeight"}),Y=Object(r.a)({prop:"textAlign"}),q=a(Object(r.a)({prop:"typography",cssProperty:!1,themeKey:"typography"}),F,z,U,V,W,$,Y,H),G={borders:k.filterProps,display:w.filterProps,flexbox:_.filterProps,grid:j.filterProps,positions:T.filterProps,palette:I.filterProps,shadows:E.filterProps,sizing:N.filterProps,spacing:o.c.filterProps,typography:q.filterProps},K={borders:k,display:w,flexbox:_,grid:j,positions:T,palette:I,shadows:E,sizing:N,spacing:o.c,typography:q},Q=Object.keys(G).reduce((function(e,t){return G[t].forEach((function(n){e[n]=K[t]})),e}),{})},function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(3);function i(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?Object(r.a)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e&&i(e[r])?o[r]=a(e[r],t[r],n):o[r]=t[r])})),o}},,,,function(e,t,n){"use strict";var r=n(47),i=n.n(r);t.a=function(e,t){return i()(e,t)}},function(e,t,n){"use strict";var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(i){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i="-ms-",a="-moz-",o="-webkit-",u="comm",s="rule",c="decl",l="@keyframes",f=Math.abs,d=String.fromCharCode,p=Object.assign;function h(e){return e.trim()}function v(e,t,n){return e.replace(t,n)}function y(e,t){return e.indexOf(t)}function b(e,t){return 0|e.charCodeAt(t)}function m(e,t,n){return e.slice(t,n)}function g(e){return e.length}function k(e){return e.length}function w(e,t){return t.push(e),e}function _(e,t){return e.map(t).join("")}var S=1,O=1,x=0,j=0,T=0,C="";function I(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:S,column:O,length:o,return:""}}function E(e,t){return p(I("",null,null,"",null,null,0),e,{length:-e.length},t)}function A(){return T=j>0?b(C,--j):0,O--,10===T&&(O=1,S--),T}function M(){return T=j<x?b(C,j++):0,O++,10===T&&(O=1,S++),T}function R(){return b(C,j)}function P(){return j}function L(e,t){return m(C,e,t)}function D(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B(e){return S=O=1,x=g(C=e),j=0,[]}function N(e){return C="",e}function F(e){return h(L(j-1,V(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(T=R())&&T<33;)M();return D(e)>2||D(T)>3?"":" "}function U(e,t){for(;--t&&M()&&!(T<48||T>102||T>57&&T<65||T>70&&T<97););return L(e,P()+(t<6&&32==R()&&32==M()))}function V(e){for(;M();)switch(T){case e:return j;case 34:case 39:34!==e&&39!==e&&V(T);break;case 40:41===e&&V(e);break;case 92:M()}return j}function W(e,t){for(;M()&&e+T!==57&&(e+T!==84||47!==R()););return"/*"+L(t,j-1)+"*"+d(47===e?e:M())}function H(e){for(;!D(R());)M();return L(e,j)}function $(e){return N(Y("",null,null,null,[""],e=B(e),0,[0],e))}function Y(e,t,n,r,i,a,o,u,s){for(var c=0,l=0,f=o,p=0,h=0,b=0,m=1,k=1,_=1,S=0,O="",x=i,j=a,T=r,C=O;k;)switch(b=S,S=M()){case 40:if(108!=b&&58==C.charCodeAt(f-1)){-1!=y(C+=v(F(S),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:C+=F(S);break;case 9:case 10:case 13:case 32:C+=z(b);break;case 92:C+=U(P()-1,7);continue;case 47:switch(R()){case 42:case 47:w(G(W(M(),P()),t,n),s);break;default:C+="/"}break;case 123*m:u[c++]=g(C)*_;case 125*m:case 59:case 0:switch(S){case 0:case 125:k=0;case 59+l:h>0&&g(C)-f&&w(h>32?K(C+";",r,n,f-1):K(v(C," ","")+";",r,n,f-2),s);break;case 59:C+=";";default:if(w(T=q(C,t,n,c,l,i,u,O,x=[],j=[],f),a),123===S)if(0===l)Y(C,t,T,T,x,a,f,u,j);else switch(p){case 100:case 109:case 115:Y(e,T,T,r&&w(q(e,T,T,0,0,i,u,O,i,x=[],f),j),i,j,f,u,r?x:j);break;default:Y(C,T,T,T,[""],j,0,u,j)}}c=l=h=0,m=_=1,O=C="",f=o;break;case 58:f=1+g(C),h=b;default:if(m<1)if(123==S)--m;else if(125==S&&0==m++&&125==A())continue;switch(C+=d(S),S*m){case 38:_=l>0?1:(C+="\f",-1);break;case 44:u[c++]=(g(C)-1)*_,_=1;break;case 64:45===R()&&(C+=F(M())),p=R(),l=f=g(O=C+=H(P())),S++;break;case 45:45===b&&2==g(C)&&(m=0)}}return a}function q(e,t,n,r,i,a,o,u,c,l,d){for(var p=i-1,y=0===i?a:[""],b=k(y),g=0,w=0,_=0;g<r;++g)for(var S=0,O=m(e,p+1,p=f(w=o[g])),x=e;S<b;++S)(x=h(w>0?y[S]+" "+O:v(O,/&\f/g,y[S])))&&(c[_++]=x);return I(e,t,n,0===i?s:u,c,l,d)}function G(e,t,n){return I(e,t,n,u,d(T),m(e,2,-2),0)}function K(e,t,n,r){return I(e,t,n,c,m(e,0,r),m(e,r+1,-1),r)}function Q(e,t){switch(function(e,t){return(((t<<2^b(e,0))<<2^b(e,1))<<2^b(e,2))<<2^b(e,3)}(e,t)){case 5103:return o+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o+e+a+e+i+e+e;case 6828:case 4268:return o+e+i+e+e;case 6165:return o+e+i+"flex-"+e+e;case 5187:return o+e+v(e,/(\w+).+(:[^]+)/,o+"box-$1$2"+i+"flex-$1$2")+e;case 5443:return o+e+i+"flex-item-"+v(e,/flex-|-self/,"")+e;case 4675:return o+e+i+"flex-line-pack"+v(e,/align-content|flex-|-self/,"")+e;case 5548:return o+e+i+v(e,"shrink","negative")+e;case 5292:return o+e+i+v(e,"basis","preferred-size")+e;case 6060:return o+"box-"+v(e,"-grow","")+o+e+i+v(e,"grow","positive")+e;case 4554:return o+v(e,/([^-])(transform)/g,"$1"+o+"$2")+e;case 6187:return v(v(v(e,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),e,"")+e;case 5495:case 3959:return v(e,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return v(v(e,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+i+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+e+e;case 4095:case 3583:case 4068:case 2532:return v(e,/(.+)-inline(.+)/,o+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(g(e)-1-t>6)switch(b(e,t+1)){case 109:if(45!==b(e,t+4))break;case 102:return v(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+a+(108==b(e,t+3)?"$3":"$2-$3"))+e;case 115:return~y(e,"stretch")?Q(v(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==b(e,t+1))break;case 6444:switch(b(e,g(e)-3-(~y(e,"!important")&&10))){case 107:return v(e,":",":"+o)+e;case 101:return v(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(45===b(e,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+i+"$2box$3")+e}break;case 5936:switch(b(e,t+11)){case 114:return o+e+i+v(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o+e+i+v(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o+e+i+v(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return o+e+i+e+e}return e}function X(e,t){for(var n="",r=k(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function J(e,t,n,r){switch(e.type){case"@import":case c:return e.return=e.return||e.value;case u:return"";case l:return e.return=e.value+"{"+X(e.children,r)+"}";case s:e.value=e.props.join(",")}return g(n=X(e.children,r))?e.return=e.value+"{"+n+"}":""}function Z(e){return function(t){t.root||(t=t.return)&&e(t)}}n(48),n(49);var ee=function(e,t,n){for(var r=0,i=0;r=i,i=R(),38===r&&12===i&&(t[n]=1),!D(i);)M();return L(e,j)},te=function(e,t){return N(function(e,t){var n=-1,r=44;do{switch(D(r)){case 0:38===r&&12===R()&&(t[n]=1),e[n]+=ee(j-1,t,n);break;case 2:e[n]+=F(r);break;case 4:if(44===r){e[++n]=58===R()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=d(r)}}while(r=M());return e}(B(e),t))},ne=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ne.get(n))&&!r){ne.set(e,!0);for(var i=[],a=te(t,i),o=n.props,u=0,s=0;u<a.length;u++)for(var c=0;c<o.length;c++,s++)e.props[s]=i[u]?a[u].replace(/&\f/g,o[c]):o[c]+" "+a[u]}}},ie=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ae=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case c:e.return=Q(e.value,e.length);break;case l:return X([E(e,{value:v(e.value,"@","@"+o)})],r);case s:if(e.length)return _(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return X([E(e,{props:[v(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return X([E(e,{props:[v(t,/:(plac\w+)/,":"+o+"input-$1")]}),E(e,{props:[v(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[v(t,/:(plac\w+)/,i+"input-$1")]})],r)}return""}))}}];t.a=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||ae;var a,o,u={},s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)u[t[n]]=!0;s.push(e)}));var c=[re,ie];var l,f=[J,Z((function(e){l.insert(e)}))],d=function(e){var t=k(e);return function(n,r,i,a){for(var o="",u=0;u<t;u++)o+=e[u](n,r,i,a)||"";return o}}(c.concat(i,f));o=function(e,t,n,r){l=n,X($(e?e+"{"+t.styles+"}":t.styles),d),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new r({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:o};return p.sheet.hydrate(s),p}},function(e,t,n){"use strict";var r=n(102);function i(e){return 0===Object.keys(e).length}t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=Object(r.a)();return!t||i(t)?e:t}},function(e,t,n){"use strict";var r=n(0),i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(103);function i(e){var t=e.theme,n=e.name,i=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Object(r.a)(t.components[n].defaultProps,i):i}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNullableRenderData=void 0;var r=n(0),i=n(25);t.useNullableRenderData=function(){var e=(0,r.useState)(),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=function(e){n(e.detail)};i.Streamlit.events.addEventListener(i.Streamlit.RENDER_EVENT,e),i.Streamlit.setComponentReady();return function(){i.Streamlit.events.removeEventListener(i.Streamlit.RENDER_EVENT,e)}}),[]),t}},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(100)},function(e,t,n){e.exports=function(){"use strict";for(var e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e<t?t:e>n?n:e},t=e,n=function(e){e._clipped=!1,e._unclipped=e.slice(0);for(var n=0;n<=3;n++)n<3?((e[n]<0||e[n]>255)&&(e._clipped=!0),e[n]=t(e[n],0,255)):3===n&&(e[n]=t(e[n],0,1));return e},r={},i=0,a=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];i<a.length;i+=1){var o=a[i];r["[object "+o+"]"]=o.toLowerCase()}var u=function(e){return r[Object.prototype.toString.call(e)]||"object"},s=u,c=function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==s(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},l=u,f=function(e){if(e.length<2)return null;var t=e.length-1;return"string"==l(e[t])?e[t].toLowerCase():null},d=Math.PI,p={clip_rgb:n,limit:e,type:u,unpack:c,last:f,PI:d,TWOPI:2*d,PITHIRD:d/3,DEG2RAD:d/180,RAD2DEG:180/d},h={format:{},autodetect:[]},v=p.last,y=p.clip_rgb,b=p.type,m=h,g=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if("object"===b(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=v(e),i=!1;if(!r){i=!0,m.sorted||(m.autodetect=m.autodetect.sort((function(e,t){return t.p-e.p})),m.sorted=!0);for(var a=0,o=m.autodetect;a<o.length;a+=1){var u=o[a];if(r=u.test.apply(u,e))break}}if(!m.format[r])throw new Error("unknown format: "+e);var s=m.format[r].apply(null,i?e:e.slice(0,-1));n._rgb=y(s),3===n._rgb.length&&n._rgb.push(1)};g.prototype.toString=function(){return"function"==b(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var k=g,w=function e(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return new(Function.prototype.bind.apply(e.Color,[null].concat(t)))};w.Color=k,w.version="2.4.2";var _=w,S=p.unpack,O=Math.max,x=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=S(e,"rgb"),r=n[0],i=n[1],a=n[2],o=1-O(r/=255,O(i/=255,a/=255)),u=o<1?1/(1-o):0;return[(1-r-o)*u,(1-i-o)*u,(1-a-o)*u,o]},j=x,T=p.unpack,C=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=T(e,"cmyk"))[0],r=e[1],i=e[2],a=e[3],o=e.length>4?e[4]:1;return 1===a?[0,0,0,o]:[n>=1?0:255*(1-n)*(1-a),r>=1?0:255*(1-r)*(1-a),i>=1?0:255*(1-i)*(1-a),o]},I=C,E=_,A=k,M=h,R=p.unpack,P=p.type,L=j;A.prototype.cmyk=function(){return L(this._rgb)},E.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(A,[null].concat(e,["cmyk"])))},M.format.cmyk=I,M.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=R(e,"cmyk"),"array"===P(e)&&4===e.length)return"cmyk"}});var D=p.unpack,B=p.last,N=function(e){return Math.round(100*e)/100},F=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=D(e,"hsla"),r=B(e)||"lsa";return n[0]=N(n[0]||0),n[1]=N(100*n[1])+"%",n[2]=N(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},z=F,U=p.unpack,V=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=U(e,"rgba"))[0],r=e[1],i=e[2];n/=255,r/=255,i/=255;var a,o,u=Math.min(n,r,i),s=Math.max(n,r,i),c=(s+u)/2;return s===u?(a=0,o=Number.NaN):a=c<.5?(s-u)/(s+u):(s-u)/(2-s-u),n==s?o=(r-i)/(s-u):r==s?o=2+(i-n)/(s-u):i==s&&(o=4+(n-r)/(s-u)),(o*=60)<0&&(o+=360),e.length>3&&void 0!==e[3]?[o,a,c,e[3]]:[o,a,c]},W=V,H=p.unpack,$=p.last,Y=z,q=W,G=Math.round,K=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=H(e,"rgba"),r=$(e)||"rgb";return"hsl"==r.substr(0,3)?Y(q(n),r):(n[0]=G(n[0]),n[1]=G(n[1]),n[2]=G(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")},Q=K,X=p.unpack,J=Math.round,Z=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r,i,a,o=(t=X(t,"hsl"))[0],u=t[1],s=t[2];if(0===u)r=i=a=255*s;else{var c=[0,0,0],l=[0,0,0],f=s<.5?s*(1+u):s+u-s*u,d=2*s-f,p=o/360;c[0]=p+1/3,c[1]=p,c[2]=p-1/3;for(var h=0;h<3;h++)c[h]<0&&(c[h]+=1),c[h]>1&&(c[h]-=1),6*c[h]<1?l[h]=d+6*(f-d)*c[h]:2*c[h]<1?l[h]=f:3*c[h]<2?l[h]=d+(f-d)*(2/3-c[h])*6:l[h]=d;r=(e=[J(255*l[0]),J(255*l[1]),J(255*l[2])])[0],i=e[1],a=e[2]}return t.length>3?[r,i,a,t[3]]:[r,i,a,1]},ee=Z,te=ee,ne=h,re=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,ie=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,ae=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,oe=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ue=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,se=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ce=Math.round,le=function(e){var t;if(e=e.toLowerCase().trim(),ne.format.named)try{return ne.format.named(e)}catch(h){}if(t=e.match(re)){for(var n=t.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(t=e.match(ie)){for(var i=t.slice(1,5),a=0;a<4;a++)i[a]=+i[a];return i}if(t=e.match(ae)){for(var o=t.slice(1,4),u=0;u<3;u++)o[u]=ce(2.55*o[u]);return o[3]=1,o}if(t=e.match(oe)){for(var s=t.slice(1,5),c=0;c<3;c++)s[c]=ce(2.55*s[c]);return s[3]=+s[3],s}if(t=e.match(ue)){var l=t.slice(1,4);l[1]*=.01,l[2]*=.01;var f=te(l);return f[3]=1,f}if(t=e.match(se)){var d=t.slice(1,4);d[1]*=.01,d[2]*=.01;var p=te(d);return p[3]=+t[4],p}};le.test=function(e){return re.test(e)||ie.test(e)||ae.test(e)||oe.test(e)||ue.test(e)||se.test(e)};var fe=le,de=_,pe=k,he=h,ve=p.type,ye=Q,be=fe;pe.prototype.css=function(e){return ye(this._rgb,e)},de.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(pe,[null].concat(e,["css"])))},he.format.css=be,he.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===ve(e)&&be.test(e))return"css"}});var me=k,ge=_,ke=h,we=p.unpack;ke.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=we(e,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},ge.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(me,[null].concat(e,["gl"])))},me.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var _e=p.unpack,Se=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=_e(e,"rgb"),i=r[0],a=r[1],o=r[2],u=Math.min(i,a,o),s=Math.max(i,a,o),c=s-u,l=100*c/255,f=u/(255-c)*100;return 0===c?n=Number.NaN:(i===s&&(n=(a-o)/c),a===s&&(n=2+(o-i)/c),o===s&&(n=4+(i-a)/c),(n*=60)<0&&(n+=360)),[n,l,f]},Oe=Se,xe=p.unpack,je=Math.floor,Te=function(){for(var e,t,n,r,i,a,o=[],u=arguments.length;u--;)o[u]=arguments[u];var s,c,l,f=(o=xe(o,"hcg"))[0],d=o[1],p=o[2];p*=255;var h=255*d;if(0===d)s=c=l=p;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var v=je(f/=60),y=f-v,b=p*(1-d),m=b+h*(1-y),g=b+h*y,k=b+h;switch(v){case 0:s=(e=[k,g,b])[0],c=e[1],l=e[2];break;case 1:s=(t=[m,k,b])[0],c=t[1],l=t[2];break;case 2:s=(n=[b,k,g])[0],c=n[1],l=n[2];break;case 3:s=(r=[b,m,k])[0],c=r[1],l=r[2];break;case 4:s=(i=[g,b,k])[0],c=i[1],l=i[2];break;case 5:s=(a=[k,b,m])[0],c=a[1],l=a[2]}}return[s,c,l,o.length>3?o[3]:1]},Ce=Te,Ie=p.unpack,Ee=p.type,Ae=_,Me=k,Re=h,Pe=Oe;Me.prototype.hcg=function(){return Pe(this._rgb)},Ae.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Me,[null].concat(e,["hcg"])))},Re.format.hcg=Ce,Re.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ie(e,"hcg"),"array"===Ee(e)&&3===e.length)return"hcg"}});var Le=p.unpack,De=p.last,Be=Math.round,Ne=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Le(e,"rgba"),r=n[0],i=n[1],a=n[2],o=n[3],u=De(e)||"auto";void 0===o&&(o=1),"auto"===u&&(u=o<1?"rgba":"rgb");var s="000000"+((r=Be(r))<<16|(i=Be(i))<<8|(a=Be(a))).toString(16);s=s.substr(s.length-6);var c="0"+Be(255*o).toString(16);switch(c=c.substr(c.length-2),u.toLowerCase()){case"rgba":return"#"+s+c;case"argb":return"#"+c+s;default:return"#"+s}},Fe=Ne,ze=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Ue=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Ve=function(e){if(e.match(ze)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(Ue)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var n=parseInt(e,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+e)},We=_,He=k,$e=p.type,Ye=h,qe=Fe;He.prototype.hex=function(e){return qe(this._rgb,e)},We.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(He,[null].concat(e,["hex"])))},Ye.format.hex=Ve,Ye.autodetect.push({p:4,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===$e(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var Ge=p.unpack,Ke=p.TWOPI,Qe=Math.min,Xe=Math.sqrt,Je=Math.acos,Ze=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=Ge(e,"rgb"),i=r[0],a=r[1],o=r[2],u=Qe(i/=255,a/=255,o/=255),s=(i+a+o)/3,c=s>0?1-u/s:0;return 0===c?n=NaN:(n=(i-a+(i-o))/2,n/=Xe((i-a)*(i-a)+(i-o)*(a-o)),n=Je(n),o>a&&(n=Ke-n),n/=Ke),[360*n,c,s]},et=Ze,tt=p.unpack,nt=p.limit,rt=p.TWOPI,it=p.PITHIRD,at=Math.cos,ot=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,i,a=(e=tt(e,"hsi"))[0],o=e[1],u=e[2];return isNaN(a)&&(a=0),isNaN(o)&&(o=0),a>360&&(a-=360),a<0&&(a+=360),(a/=360)<1/3?r=1-((i=(1-o)/3)+(n=(1+o*at(rt*a)/at(it-rt*a))/3)):a<2/3?i=1-((n=(1-o)/3)+(r=(1+o*at(rt*(a-=1/3))/at(it-rt*a))/3)):n=1-((r=(1-o)/3)+(i=(1+o*at(rt*(a-=2/3))/at(it-rt*a))/3)),[255*(n=nt(u*n*3)),255*(r=nt(u*r*3)),255*(i=nt(u*i*3)),e.length>3?e[3]:1]},ut=ot,st=p.unpack,ct=p.type,lt=_,ft=k,dt=h,pt=et;ft.prototype.hsi=function(){return pt(this._rgb)},lt.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ft,[null].concat(e,["hsi"])))},dt.format.hsi=ut,dt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=st(e,"hsi"),"array"===ct(e)&&3===e.length)return"hsi"}});var ht=p.unpack,vt=p.type,yt=_,bt=k,mt=h,gt=W;bt.prototype.hsl=function(){return gt(this._rgb)},yt.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(bt,[null].concat(e,["hsl"])))},mt.format.hsl=ee,mt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=ht(e,"hsl"),"array"===vt(e)&&3===e.length)return"hsl"}});var kt=p.unpack,wt=Math.min,_t=Math.max,St=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,i,a=(e=kt(e,"rgb"))[0],o=e[1],u=e[2],s=wt(a,o,u),c=_t(a,o,u),l=c-s;return i=c/255,0===c?(n=Number.NaN,r=0):(r=l/c,a===c&&(n=(o-u)/l),o===c&&(n=2+(u-a)/l),u===c&&(n=4+(a-o)/l),(n*=60)<0&&(n+=360)),[n,r,i]},Ot=St,xt=p.unpack,jt=Math.floor,Tt=function(){for(var e,t,n,r,i,a,o=[],u=arguments.length;u--;)o[u]=arguments[u];var s,c,l,f=(o=xt(o,"hsv"))[0],d=o[1],p=o[2];if(p*=255,0===d)s=c=l=p;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var h=jt(f/=60),v=f-h,y=p*(1-d),b=p*(1-d*v),m=p*(1-d*(1-v));switch(h){case 0:s=(e=[p,m,y])[0],c=e[1],l=e[2];break;case 1:s=(t=[b,p,y])[0],c=t[1],l=t[2];break;case 2:s=(n=[y,p,m])[0],c=n[1],l=n[2];break;case 3:s=(r=[y,b,p])[0],c=r[1],l=r[2];break;case 4:s=(i=[m,y,p])[0],c=i[1],l=i[2];break;case 5:s=(a=[p,y,b])[0],c=a[1],l=a[2]}}return[s,c,l,o.length>3?o[3]:1]},Ct=Tt,It=p.unpack,Et=p.type,At=_,Mt=k,Rt=h,Pt=Ot;Mt.prototype.hsv=function(){return Pt(this._rgb)},At.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Mt,[null].concat(e,["hsv"])))},Rt.format.hsv=Ct,Rt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=It(e,"hsv"),"array"===Et(e)&&3===e.length)return"hsv"}});var Lt={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},Dt=Lt,Bt=p.unpack,Nt=Math.pow,Ft=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Bt(e,"rgb"),r=n[0],i=n[1],a=n[2],o=Vt(r,i,a),u=o[0],s=o[1],c=116*s-16;return[c<0?0:c,500*(u-s),200*(s-o[2])]},zt=function(e){return(e/=255)<=.04045?e/12.92:Nt((e+.055)/1.055,2.4)},Ut=function(e){return e>Dt.t3?Nt(e,1/3):e/Dt.t2+Dt.t0},Vt=function(e,t,n){return e=zt(e),t=zt(t),n=zt(n),[Ut((.4124564*e+.3575761*t+.1804375*n)/Dt.Xn),Ut((.2126729*e+.7151522*t+.072175*n)/Dt.Yn),Ut((.0193339*e+.119192*t+.9503041*n)/Dt.Zn)]},Wt=Ft,Ht=Lt,$t=p.unpack,Yt=Math.pow,qt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,i,a=(e=$t(e,"lab"))[0],o=e[1],u=e[2];return r=(a+16)/116,n=isNaN(o)?r:r+o/500,i=isNaN(u)?r:r-u/200,r=Ht.Yn*Kt(r),n=Ht.Xn*Kt(n),i=Ht.Zn*Kt(i),[Gt(3.2404542*n-1.5371385*r-.4985314*i),Gt(-.969266*n+1.8760108*r+.041556*i),Gt(.0556434*n-.2040259*r+1.0572252*i),e.length>3?e[3]:1]},Gt=function(e){return 255*(e<=.00304?12.92*e:1.055*Yt(e,1/2.4)-.055)},Kt=function(e){return e>Ht.t1?e*e*e:Ht.t2*(e-Ht.t0)},Qt=qt,Xt=p.unpack,Jt=p.type,Zt=_,en=k,tn=h,nn=Wt;en.prototype.lab=function(){return nn(this._rgb)},Zt.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(en,[null].concat(e,["lab"])))},tn.format.lab=Qt,tn.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Xt(e,"lab"),"array"===Jt(e)&&3===e.length)return"lab"}});var rn=p.unpack,an=p.RAD2DEG,on=Math.sqrt,un=Math.atan2,sn=Math.round,cn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=rn(e,"lab"),r=n[0],i=n[1],a=n[2],o=on(i*i+a*a),u=(un(a,i)*an+360)%360;return 0===sn(1e4*o)&&(u=Number.NaN),[r,o,u]},ln=cn,fn=p.unpack,dn=Wt,pn=ln,hn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=fn(e,"rgb"),r=n[0],i=n[1],a=n[2],o=dn(r,i,a),u=o[0],s=o[1],c=o[2];return pn(u,s,c)},vn=hn,yn=p.unpack,bn=p.DEG2RAD,mn=Math.sin,gn=Math.cos,kn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=yn(e,"lch"),r=n[0],i=n[1],a=n[2];return isNaN(a)&&(a=0),[r,gn(a*=bn)*i,mn(a)*i]},wn=kn,_n=p.unpack,Sn=wn,On=Qt,xn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=_n(e,"lch"))[0],r=e[1],i=e[2],a=Sn(n,r,i),o=a[0],u=a[1],s=a[2],c=On(o,u,s);return[c[0],c[1],c[2],e.length>3?e[3]:1]},jn=xn,Tn=p.unpack,Cn=jn,In=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Tn(e,"hcl").reverse();return Cn.apply(void 0,n)},En=In,An=p.unpack,Mn=p.type,Rn=_,Pn=k,Ln=h,Dn=vn;Pn.prototype.lch=function(){return Dn(this._rgb)},Pn.prototype.hcl=function(){return Dn(this._rgb).reverse()},Rn.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Pn,[null].concat(e,["lch"])))},Rn.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Pn,[null].concat(e,["hcl"])))},Ln.format.lch=jn,Ln.format.hcl=En,["lch","hcl"].forEach((function(e){return Ln.autodetect.push({p:2,test:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(t=An(t,e),"array"===Mn(t)&&3===t.length)return e}})}));var Bn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Nn=k,Fn=h,zn=p.type,Un=Bn,Vn=Ve,Wn=Fe;Nn.prototype.name=function(){for(var e=Wn(this._rgb,"rgb"),t=0,n=Object.keys(Un);t<n.length;t+=1){var r=n[t];if(Un[r]===e)return r.toLowerCase()}return e},Fn.format.named=function(e){if(e=e.toLowerCase(),Un[e])return Vn(Un[e]);throw new Error("unknown color name: "+e)},Fn.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===zn(e)&&Un[e.toLowerCase()])return"named"}});var Hn=p.unpack,$n=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Hn(e,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},Yn=$n,qn=p.type,Gn=function(e){if("number"==qn(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},Kn=Gn,Qn=_,Xn=k,Jn=h,Zn=p.type,er=Yn;Xn.prototype.num=function(){return er(this._rgb)},Qn.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Xn,[null].concat(e,["num"])))},Jn.format.num=Kn,Jn.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===Zn(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var tr=_,nr=k,rr=h,ir=p.unpack,ar=p.type,or=Math.round;nr.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(or)},nr.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,n){return n<3?!1===e?t:or(t):t}))},tr.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(nr,[null].concat(e,["rgb"])))},rr.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=ir(e,"rgba");return void 0===n[3]&&(n[3]=1),n},rr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=ir(e,"rgba"),"array"===ar(e)&&(3===e.length||4===e.length&&"number"==ar(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var ur=Math.log,sr=function(e){var t,n,r,i=e/100;return i<66?(t=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*ur(n),r=i<20?0:.8274096064007395*(r=i-10)-254.76935184120902+115.67994401066147*ur(r)):(t=351.97690566805693+.114206453784165*(t=i-55)-40.25366309332127*ur(t),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*ur(n),r=255),[t,n,r,1]},cr=sr,lr=p.unpack,fr=Math.round,dr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n,r=lr(e,"rgb"),i=r[0],a=r[2],o=1e3,u=4e4,s=.4;u-o>s;){var c=cr(n=.5*(u+o));c[2]/c[0]>=a/i?u=n:o=n}return fr(n)},pr=_,hr=k,vr=h,yr=dr;hr.prototype.temp=hr.prototype.kelvin=hr.prototype.temperature=function(){return yr(this._rgb)},pr.temp=pr.kelvin=pr.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(hr,[null].concat(e,["temp"])))},vr.format.temp=vr.format.kelvin=vr.format.temperature=sr;var br=p.unpack,mr=Math.cbrt,gr=Math.pow,kr=Math.sign,wr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=br(e,"rgb"),r=n[0],i=n[1],a=n[2],o=[Sr(r/255),Sr(i/255),Sr(a/255)],u=o[0],s=o[1],c=o[2],l=mr(.4122214708*u+.5363325363*s+.0514459929*c),f=mr(.2119034982*u+.6806995451*s+.1073969566*c),d=mr(.0883024619*u+.2817188376*s+.6299787005*c);return[.2104542553*l+.793617785*f-.0040720468*d,1.9779984951*l-2.428592205*f+.4505937099*d,.0259040371*l+.7827717662*f-.808675766*d]},_r=wr;function Sr(e){var t=Math.abs(e);return t<.04045?e/12.92:(kr(e)||1)*gr((t+.055)/1.055,2.4)}var Or=p.unpack,xr=Math.pow,jr=Math.sign,Tr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=Or(e,"lab"))[0],r=e[1],i=e[2],a=xr(n+.3963377774*r+.2158037573*i,3),o=xr(n-.1055613458*r-.0638541728*i,3),u=xr(n-.0894841775*r-1.291485548*i,3);return[255*Ir(4.0767416621*a-3.3077115913*o+.2309699292*u),255*Ir(-1.2684380046*a+2.6097574011*o-.3413193965*u),255*Ir(-.0041960863*a-.7034186147*o+1.707614701*u),e.length>3?e[3]:1]},Cr=Tr;function Ir(e){var t=Math.abs(e);return t>.0031308?(jr(e)||1)*(1.055*xr(t,1/2.4)-.055):12.92*e}var Er=p.unpack,Ar=p.type,Mr=_,Rr=k,Pr=h,Lr=_r;Rr.prototype.oklab=function(){return Lr(this._rgb)},Mr.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Rr,[null].concat(e,["oklab"])))},Pr.format.oklab=Cr,Pr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Er(e,"oklab"),"array"===Ar(e)&&3===e.length)return"oklab"}});var Dr=p.unpack,Br=_r,Nr=ln,Fr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Dr(e,"rgb"),r=n[0],i=n[1],a=n[2],o=Br(r,i,a),u=o[0],s=o[1],c=o[2];return Nr(u,s,c)},zr=Fr,Ur=p.unpack,Vr=wn,Wr=Cr,Hr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=Ur(e,"lch"))[0],r=e[1],i=e[2],a=Vr(n,r,i),o=a[0],u=a[1],s=a[2],c=Wr(o,u,s);return[c[0],c[1],c[2],e.length>3?e[3]:1]},$r=Hr,Yr=p.unpack,qr=p.type,Gr=_,Kr=k,Qr=h,Xr=zr;Kr.prototype.oklch=function(){return Xr(this._rgb)},Gr.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Kr,[null].concat(e,["oklch"])))},Qr.format.oklch=$r,Qr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Yr(e,"oklch"),"array"===qr(e)&&3===e.length)return"oklch"}});var Jr=k,Zr=p.type;Jr.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===Zr(e)?t?(this._rgb[3]=e,this):new Jr([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},k.prototype.clipped=function(){return this._rgb._clipped||!1};var ei=k,ti=Lt;ei.prototype.darken=function(e){void 0===e&&(e=1);var t=this,n=t.lab();return n[0]-=ti.Kn*e,new ei(n,"lab").alpha(t.alpha(),!0)},ei.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},ei.prototype.darker=ei.prototype.darken,ei.prototype.brighter=ei.prototype.brighten,k.prototype.get=function(e){var t=e.split("."),n=t[0],r=t[1],i=this[n]();if(r){var a=n.indexOf(r)-("ok"===n.substr(0,2)?2:0);if(a>-1)return i[a];throw new Error("unknown channel "+r+" in mode "+n)}return i};var ni=k,ri=p.type,ii=Math.pow,ai=1e-7,oi=20;ni.prototype.luminance=function(e){if(void 0!==e&&"number"===ri(e)){if(0===e)return new ni([0,0,0,this._rgb[3]],"rgb");if(1===e)return new ni([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),n="rgb",r=oi,i=function t(i,a){var o=i.interpolate(a,.5,n),u=o.luminance();return Math.abs(e-u)<ai||!r--?o:u>e?t(i,o):t(o,a)},a=(t>e?i(new ni([0,0,0]),this):i(this,new ni([255,255,255]))).rgb();return new ni(a.concat([this._rgb[3]]))}return ui.apply(void 0,this._rgb.slice(0,3))};var ui=function(e,t,n){return.2126*(e=si(e))+.7152*(t=si(t))+.0722*(n=si(n))},si=function(e){return(e/=255)<=.03928?e/12.92:ii((e+.055)/1.055,2.4)},ci={},li=k,fi=p.type,di=ci,pi=function(e,t,n){void 0===n&&(n=.5);for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var a=r[0]||"lrgb";if(di[a]||r.length||(a=Object.keys(di)[0]),!di[a])throw new Error("interpolation mode "+a+" is not defined");return"object"!==fi(e)&&(e=new li(e)),"object"!==fi(t)&&(t=new li(t)),di[a](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))},hi=k,vi=pi;hi.prototype.mix=hi.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return vi.apply(void 0,[this,e,t].concat(n))};var yi=k;yi.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new yi([t[0]*n,t[1]*n,t[2]*n,n],"rgb")};var bi=k,mi=Lt;bi.prototype.saturate=function(e){void 0===e&&(e=1);var t=this,n=t.lch();return n[1]+=mi.Kn*e,n[1]<0&&(n[1]=0),new bi(n,"lch").alpha(t.alpha(),!0)},bi.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var gi=k,ki=p.type;gi.prototype.set=function(e,t,n){void 0===n&&(n=!1);var r=e.split("."),i=r[0],a=r[1],o=this[i]();if(a){var u=i.indexOf(a)-("ok"===i.substr(0,2)?2:0);if(u>-1){if("string"==ki(t))switch(t.charAt(0)){case"+":case"-":o[u]+=+t;break;case"*":o[u]*=+t.substr(1);break;case"/":o[u]/=+t.substr(1);break;default:o[u]=+t}else{if("number"!==ki(t))throw new Error("unsupported value for Color.set");o[u]=t}var s=new gi(o,i);return n?(this._rgb=s._rgb,this):s}throw new Error("unknown channel "+a+" in mode "+i)}return o};var wi=k,_i=function(e,t,n){var r=e._rgb,i=t._rgb;return new wi(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};ci.rgb=_i;var Si=k,Oi=Math.sqrt,xi=Math.pow,ji=function(e,t,n){var r=e._rgb,i=r[0],a=r[1],o=r[2],u=t._rgb,s=u[0],c=u[1],l=u[2];return new Si(Oi(xi(i,2)*(1-n)+xi(s,2)*n),Oi(xi(a,2)*(1-n)+xi(c,2)*n),Oi(xi(o,2)*(1-n)+xi(l,2)*n),"rgb")};ci.lrgb=ji;var Ti=k,Ci=function(e,t,n){var r=e.lab(),i=t.lab();return new Ti(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};ci.lab=Ci;var Ii=k,Ei=function(e,t,n,r){var i,a,o,u,s,c,l,f,d,p,h,v,y;return"hsl"===r?(o=e.hsl(),u=t.hsl()):"hsv"===r?(o=e.hsv(),u=t.hsv()):"hcg"===r?(o=e.hcg(),u=t.hcg()):"hsi"===r?(o=e.hsi(),u=t.hsi()):"lch"===r||"hcl"===r?(r="hcl",o=e.hcl(),u=t.hcl()):"oklch"===r&&(o=e.oklch().reverse(),u=t.oklch().reverse()),"h"!==r.substr(0,1)&&"oklch"!==r||(s=(i=o)[0],l=i[1],d=i[2],c=(a=u)[0],f=a[1],p=a[2]),isNaN(s)||isNaN(c)?isNaN(s)?isNaN(c)?v=Number.NaN:(v=c,1!=d&&0!=d||"hsv"==r||(h=f)):(v=s,1!=p&&0!=p||"hsv"==r||(h=l)):v=s+n*(c>s&&c-s>180?c-(s+360):c<s&&s-c>180?c+360-s:c-s),void 0===h&&(h=l+n*(f-l)),y=d+n*(p-d),new Ii("oklch"===r?[y,h,v]:[v,h,y],r)},Ai=Ei,Mi=function(e,t,n){return Ai(e,t,n,"lch")};ci.lch=Mi,ci.hcl=Mi;var Ri=k,Pi=function(e,t,n){var r=e.num(),i=t.num();return new Ri(r+n*(i-r),"num")};ci.num=Pi;var Li=Ei,Di=function(e,t,n){return Li(e,t,n,"hcg")};ci.hcg=Di;var Bi=Ei,Ni=function(e,t,n){return Bi(e,t,n,"hsi")};ci.hsi=Ni;var Fi=Ei,zi=function(e,t,n){return Fi(e,t,n,"hsl")};ci.hsl=zi;var Ui=Ei,Vi=function(e,t,n){return Ui(e,t,n,"hsv")};ci.hsv=Vi;var Wi=k,Hi=function(e,t,n){var r=e.oklab(),i=t.oklab();return new Wi(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")};ci.oklab=Hi;var $i=Ei,Yi=function(e,t,n){return $i(e,t,n,"oklch")};ci.oklch=Yi;var qi=k,Gi=p.clip_rgb,Ki=Math.pow,Qi=Math.sqrt,Xi=Math.PI,Ji=Math.cos,Zi=Math.sin,ea=Math.atan2,ta=function(e,t,n){void 0===t&&(t="lrgb"),void 0===n&&(n=null);var r=e.length;n||(n=Array.from(new Array(r)).map((function(){return 1})));var i=r/n.reduce((function(e,t){return e+t}));if(n.forEach((function(e,t){n[t]*=i})),e=e.map((function(e){return new qi(e)})),"lrgb"===t)return na(e,n);for(var a=e.shift(),o=a.get(t),u=[],s=0,c=0,l=0;l<o.length;l++)if(o[l]=(o[l]||0)*n[0],u.push(isNaN(o[l])?0:n[0]),"h"===t.charAt(l)&&!isNaN(o[l])){var f=o[l]/180*Xi;s+=Ji(f)*n[0],c+=Zi(f)*n[0]}var d=a.alpha()*n[0];e.forEach((function(e,r){var i=e.get(t);d+=e.alpha()*n[r+1];for(var a=0;a<o.length;a++)if(!isNaN(i[a]))if(u[a]+=n[r+1],"h"===t.charAt(a)){var l=i[a]/180*Xi;s+=Ji(l)*n[r+1],c+=Zi(l)*n[r+1]}else o[a]+=i[a]*n[r+1]}));for(var p=0;p<o.length;p++)if("h"===t.charAt(p)){for(var h=ea(c/u[p],s/u[p])/Xi*180;h<0;)h+=360;for(;h>=360;)h-=360;o[p]=h}else o[p]=o[p]/u[p];return d/=r,new qi(o,t).alpha(d>.99999?1:d,!0)},na=function(e,t){for(var n=e.length,r=[0,0,0,0],i=0;i<e.length;i++){var a=e[i],o=t[i]/n,u=a._rgb;r[0]+=Ki(u[0],2)*o,r[1]+=Ki(u[1],2)*o,r[2]+=Ki(u[2],2)*o,r[3]+=u[3]*o}return r[0]=Qi(r[0]),r[1]=Qi(r[1]),r[2]=Qi(r[2]),r[3]>.9999999&&(r[3]=1),new qi(Gi(r))},ra=_,ia=p.type,aa=Math.pow,oa=function(e){var t="rgb",n=ra("#ccc"),r=0,i=[0,1],a=[],o=[0,0],u=!1,s=[],c=!1,l=0,f=1,d=!1,p={},h=!0,v=1,y=function(e){if((e=e||["#fff","#000"])&&"string"===ia(e)&&ra.brewer&&ra.brewer[e.toLowerCase()]&&(e=ra.brewer[e.toLowerCase()]),"array"===ia(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=ra(e[t]);a.length=0;for(var n=0;n<e.length;n++)a.push(n/(e.length-1))}return w(),s=e},b=function(e){if(null!=u){for(var t=u.length-1,n=0;n<t&&e>=u[n];)n++;return n-1}return 0},m=function(e){return e},g=function(e){return e},k=function(e,r){var i,c;if(null==r&&(r=!1),isNaN(e)||null===e)return n;c=r?e:u&&u.length>2?b(e)/(u.length-2):f!==l?(e-l)/(f-l):1,c=g(c),r||(c=m(c)),1!==v&&(c=aa(c,v)),c=o[0]+c*(1-o[0]-o[1]),c=Math.min(1,Math.max(0,c));var d=Math.floor(1e4*c);if(h&&p[d])i=p[d];else{if("array"===ia(s))for(var y=0;y<a.length;y++){var k=a[y];if(c<=k){i=s[y];break}if(c>=k&&y===a.length-1){i=s[y];break}if(c>k&&c<a[y+1]){c=(c-k)/(a[y+1]-k),i=ra.interpolate(s[y],s[y+1],c,t);break}}else"function"===ia(s)&&(i=s(c));h&&(p[d]=i)}return i},w=function(){return p={}};y(e);var _=function(e){var t=ra(k(e));return c&&t[c]?t[c]():t};return _.classes=function(e){if(null!=e){if("array"===ia(e))u=e,i=[e[0],e[e.length-1]];else{var t=ra.analyze(i);u=0===e?[t.min,t.max]:ra.limits(t,"e",e)}return _}return u},_.domain=function(e){if(!arguments.length)return i;l=e[0],f=e[e.length-1],a=[];var t=s.length;if(e.length===t&&l!==f)for(var n=0,r=Array.from(e);n<r.length;n+=1){var o=r[n];a.push((o-l)/(f-l))}else{for(var u=0;u<t;u++)a.push(u/(t-1));if(e.length>2){var c=e.map((function(t,n){return n/(e.length-1)})),d=e.map((function(e){return(e-l)/(f-l)}));d.every((function(e,t){return c[t]===e}))||(g=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var n=(e-d[t])/(d[t+1]-d[t]);return c[t]+n*(c[t+1]-c[t])})}}return i=[l,f],_},_.mode=function(e){return arguments.length?(t=e,w(),_):t},_.range=function(e,t){return y(e),_},_.out=function(e){return c=e,_},_.spread=function(e){return arguments.length?(r=e,_):r},_.correctLightness=function(e){return null==e&&(e=!0),d=e,w(),m=d?function(e){for(var t=k(0,!0).lab()[0],n=k(1,!0).lab()[0],r=t>n,i=k(e,!0).lab()[0],a=t+(n-t)*e,o=i-a,u=0,s=1,c=20;Math.abs(o)>.01&&c-- >0;)r&&(o*=-1),o<0?(u=e,e+=.5*(s-e)):(s=e,e+=.5*(u-e)),i=k(e,!0).lab()[0],o=i-a;return e}:function(e){return e},_},_.padding=function(e){return null!=e?("number"===ia(e)&&(e=[e,e]),o=e,_):o},_.colors=function(t,n){arguments.length<2&&(n="hex");var r=[];if(0===arguments.length)r=s.slice(0);else if(1===t)r=[_(.5)];else if(t>1){var a=i[0],o=i[1]-a;r=ua(0,t,!1).map((function(e){return _(a+e/(t-1)*o)}))}else{e=[];var c=[];if(u&&u.length>2)for(var l=1,f=u.length,d=1<=f;d?l<f:l>f;d?l++:l--)c.push(.5*(u[l-1]+u[l]));else c=i;r=c.map((function(e){return _(e)}))}return ra[n]&&(r=r.map((function(e){return e[n]()}))),r},_.cache=function(e){return null!=e?(h=e,_):h},_.gamma=function(e){return null!=e?(v=e,_):v},_.nodata=function(e){return null!=e?(n=ra(e),_):n},_};function ua(e,t,n){for(var r=[],i=e<t,a=n?i?t+1:t-1:t,o=e;i?o<a:o>a;i?o++:o--)r.push(o);return r}var sa=k,ca=oa,la=function(e){for(var t=[1,1],n=1;n<e;n++){for(var r=[1],i=1;i<=t.length;i++)r[i]=(t[i]||0)+t[i-1];t=r}return t},fa=function(e){var t,n,r,i,a,o,u;if(2===(e=e.map((function(e){return new sa(e)}))).length)t=e.map((function(e){return e.lab()})),a=t[0],o=t[1],i=function(e){var t=[0,1,2].map((function(t){return a[t]+e*(o[t]-a[t])}));return new sa(t,"lab")};else if(3===e.length)n=e.map((function(e){return e.lab()})),a=n[0],o=n[1],u=n[2],i=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*a[t]+2*(1-e)*e*o[t]+e*e*u[t]}));return new sa(t,"lab")};else if(4===e.length){var s;r=e.map((function(e){return e.lab()})),a=r[0],o=r[1],u=r[2],s=r[3],i=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*a[t]+3*(1-e)*(1-e)*e*o[t]+3*(1-e)*e*e*u[t]+e*e*e*s[t]}));return new sa(t,"lab")}}else{if(!(e.length>=5))throw new RangeError("No point in running bezier with only one color.");var c,l,f;c=e.map((function(e){return e.lab()})),f=e.length-1,l=la(f),i=function(e){var t=1-e,n=[0,1,2].map((function(n){return c.reduce((function(r,i,a){return r+l[a]*Math.pow(t,f-a)*Math.pow(e,a)*i[n]}),0)}));return new sa(n,"lab")}}return i},da=function(e){var t=fa(e);return t.scale=function(){return ca(t)},t},pa=_,ha=function e(t,n,r){if(!e[r])throw new Error("unknown blend mode "+r);return e[r](t,n)},va=function(e){return function(t,n){var r=pa(n).rgb(),i=pa(t).rgb();return pa.rgb(e(r,i))}},ya=function(e){return function(t,n){var r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r}},ba=function(e){return e},ma=function(e,t){return e*t/255},ga=function(e,t){return e>t?t:e},ka=function(e,t){return e>t?e:t},wa=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},_a=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},Sa=function(e,t){return 255*(1-(1-t/255)/(e/255))},Oa=function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e};ha.normal=va(ya(ba)),ha.multiply=va(ya(ma)),ha.screen=va(ya(wa)),ha.overlay=va(ya(_a)),ha.darken=va(ya(ga)),ha.lighten=va(ya(ka)),ha.dodge=va(ya(Oa)),ha.burn=va(ya(Sa));for(var xa=ha,ja=p.type,Ta=p.clip_rgb,Ca=p.TWOPI,Ia=Math.pow,Ea=Math.sin,Aa=Math.cos,Ma=_,Ra=function(e,t,n,r,i){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=[0,1]);var a,o=0;"array"===ja(i)?a=i[1]-i[0]:(a=0,i=[i,i]);var u=function(u){var s=Ca*((e+120)/360+t*u),c=Ia(i[0]+a*u,r),l=(0!==o?n[0]+u*o:n)*c*(1-c)/2,f=Aa(s),d=Ea(s);return Ma(Ta([255*(c+l*(-.14861*f+1.78277*d)),255*(c+l*(-.29227*f-.90649*d)),255*(c+l*(1.97294*f)),1]))};return u.start=function(t){return null==t?e:(e=t,u)},u.rotations=function(e){return null==e?t:(t=e,u)},u.gamma=function(e){return null==e?r:(r=e,u)},u.hue=function(e){return null==e?n:("array"===ja(n=e)?0===(o=n[1]-n[0])&&(n=n[1]):o=0,u)},u.lightness=function(e){return null==e?i:("array"===ja(e)?(i=e,a=e[1]-e[0]):(i=[e,e],a=0),u)},u.scale=function(){return Ma.scale(u)},u.hue(n),u},Pa=k,La="0123456789abcdef",Da=Math.floor,Ba=Math.random,Na=function(){for(var e="#",t=0;t<6;t++)e+=La.charAt(Da(16*Ba()));return new Pa(e,"hex")},Fa=u,za=Math.log,Ua=Math.pow,Va=Math.floor,Wa=Math.abs,Ha=function(e,t){void 0===t&&(t=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===Fa(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===Fa(e)&&(e=e[t]),void 0===e||null===e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(e,t){return $a(n,e,t)},n},$a=function(e,t,n){void 0===t&&(t="equal"),void 0===n&&(n=7),"array"==Fa(e)&&(e=Ha(e));var r=e.min,i=e.max,a=e.values.sort((function(e,t){return e-t}));if(1===n)return[r,i];var o=[];if("c"===t.substr(0,1)&&(o.push(r),o.push(i)),"e"===t.substr(0,1)){o.push(r);for(var u=1;u<n;u++)o.push(r+u/n*(i-r));o.push(i)}else if("l"===t.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var s=Math.LOG10E*za(r),c=Math.LOG10E*za(i);o.push(r);for(var l=1;l<n;l++)o.push(Ua(10,s+l/n*(c-s)));o.push(i)}else if("q"===t.substr(0,1)){o.push(r);for(var f=1;f<n;f++){var d=(a.length-1)*f/n,p=Va(d);if(p===d)o.push(a[p]);else{var h=d-p;o.push(a[p]*(1-h)+a[p+1]*h)}}o.push(i)}else if("k"===t.substr(0,1)){var v,y=a.length,b=new Array(y),m=new Array(n),g=!0,k=0,w=null;(w=[]).push(r);for(var _=1;_<n;_++)w.push(r+_/n*(i-r));for(w.push(i);g;){for(var S=0;S<n;S++)m[S]=0;for(var O=0;O<y;O++)for(var x=a[O],j=Number.MAX_VALUE,T=void 0,C=0;C<n;C++){var I=Wa(w[C]-x);I<j&&(j=I,T=C),m[T]++,b[O]=T}for(var E=new Array(n),A=0;A<n;A++)E[A]=null;for(var M=0;M<y;M++)null===E[v=b[M]]?E[v]=a[M]:E[v]+=a[M];for(var R=0;R<n;R++)E[R]*=1/m[R];g=!1;for(var P=0;P<n;P++)if(E[P]!==w[P]){g=!0;break}w=E,++k>200&&(g=!1)}for(var L={},D=0;D<n;D++)L[D]=[];for(var B=0;B<y;B++)L[v=b[B]].push(a[B]);for(var N=[],F=0;F<n;F++)N.push(L[F][0]),N.push(L[F][L[F].length-1]);N=N.sort((function(e,t){return e-t})),o.push(N[0]);for(var z=1;z<N.length;z+=2){var U=N[z];isNaN(U)||-1!==o.indexOf(U)||o.push(U)}}return o},Ya={analyze:Ha,limits:$a},qa=k,Ga=function(e,t){e=new qa(e),t=new qa(t);var n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},Ka=k,Qa=Math.sqrt,Xa=Math.pow,Ja=Math.min,Za=Math.max,eo=Math.atan2,to=Math.abs,no=Math.cos,ro=Math.sin,io=Math.exp,ao=Math.PI,oo=function(e,t,n,r,i){void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=1);var a=function(e){return 360*e/(2*ao)},o=function(e){return 2*ao*e/360};e=new Ka(e),t=new Ka(t);var u=Array.from(e.lab()),s=u[0],c=u[1],l=u[2],f=Array.from(t.lab()),d=f[0],p=f[1],h=f[2],v=(s+d)/2,y=(Qa(Xa(c,2)+Xa(l,2))+Qa(Xa(p,2)+Xa(h,2)))/2,b=.5*(1-Qa(Xa(y,7)/(Xa(y,7)+Xa(25,7)))),m=c*(1+b),g=p*(1+b),k=Qa(Xa(m,2)+Xa(l,2)),w=Qa(Xa(g,2)+Xa(h,2)),_=(k+w)/2,S=a(eo(l,m)),O=a(eo(h,g)),x=S>=0?S:S+360,j=O>=0?O:O+360,T=to(x-j)>180?(x+j+360)/2:(x+j)/2,C=1-.17*no(o(T-30))+.24*no(o(2*T))+.32*no(o(3*T+6))-.2*no(o(4*T-63)),I=j-x;I=to(I)<=180?I:j<=x?I+360:I-360,I=2*Qa(k*w)*ro(o(I)/2);var E=d-s,A=w-k,M=1+.015*Xa(v-50,2)/Qa(20+Xa(v-50,2)),R=1+.045*_,P=1+.015*_*C,L=30*io(-Xa((T-275)/25,2)),D=-2*Qa(Xa(_,7)/(Xa(_,7)+Xa(25,7)))*ro(2*o(L)),B=Qa(Xa(E/(n*M),2)+Xa(A/(r*R),2)+Xa(I/(i*P),2)+D*(A/(r*R))*(I/(i*P)));return Za(0,Ja(100,B))},uo=k,so=function(e,t,n){void 0===n&&(n="lab"),e=new uo(e),t=new uo(t);var r=e.get(n),i=t.get(n),a=0;for(var o in r){var u=(r[o]||0)-(i[o]||0);a+=u*u}return Math.sqrt(a)},co=k,lo=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(co,[null].concat(e))),!0}catch(n){return!1}},fo=_,po=oa,ho={cool:function(){return po([fo.hsl(180,1,.9),fo.hsl(250,.7,.4)])},hot:function(){return po(["#000","#f00","#ff0","#fff"]).mode("rgb")}},vo={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},yo=0,bo=Object.keys(vo);yo<bo.length;yo+=1){var mo=bo[yo];vo[mo.toLowerCase()]=vo[mo]}var go=vo,ko=_;return ko.average=ta,ko.bezier=da,ko.blend=xa,ko.cubehelix=Ra,ko.mix=ko.interpolate=pi,ko.random=Na,ko.scale=oa,ko.analyze=Ya.analyze,ko.contrast=Ga,ko.deltaE=oo,ko.distance=so,ko.limits=Ya.limits,ko.valid=lo,ko.scales=ho,ko.colors=Bn,ko.brewer=go,ko}()},function(e,t,n){"use strict";var r=n(70);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(71)),a=n(2),o=(0,i.default)((0,a.jsx)("path",{d:"m21 6.5-4 4V7c0-.55-.45-1-1-1H9.82L21 17.18V6.5zM3.27 2 2 3.27 4.73 6H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.21 0 .39-.08.54-.18L19.73 21 21 19.73 3.27 2z"}),"VideocamOff");t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(70);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(71)),a=n(2),o=(0,i.default)((0,a.jsx)("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 13H3V5h18v11z"}),"VideoLabel");t.default=o},function(e,t,n){"use strict";var r=n(5),i=n(3),a=n(10),o=n(57),u=n(58),s=n(110);function c(e,t){var n;return Object(i.a)({toolbar:(n={minHeight:56},Object(r.a)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),Object(r.a)(n,e.up("sm"),{minHeight:64}),n)},t)}var l=n(130),f={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h={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"},v={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"},y={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"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},m={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"},g=["mode","contrastThreshold","tonalOffset"],k={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:f.white},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}},w={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.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 _(e,t,n,r){var i=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(l.d)(e.main,i):"dark"===t&&(e.dark=Object(l.b)(e.main,a)))}function S(e){var t=e.mode,n=void 0===t?"light":t,r=e.contrastThreshold,s=void 0===r?3:r,c=e.tonalOffset,S=void 0===c?.2:c,O=Object(a.a)(e,g),x=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(n),j=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(n),T=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(n),C=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(n),I=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[400],light:m[300],dark:m[700]}:{main:m[800],light:m[500],dark:m[900]}}(n),E=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:"#ed6c02",light:v[500],dark:v[900]}}(n);function A(e){return Object(l.c)(e,w.text.primary)>=s?w.text.primary:k.text.primary}var M=function(e){var t=e.color,n=e.name,r=e.mainShade,a=void 0===r?500:r,u=e.lightShade,s=void 0===u?300:u,c=e.darkShade,l=void 0===c?700:c;if(!(t=Object(i.a)({},t)).main&&t[a]&&(t.main=t[a]),!t.hasOwnProperty("main"))throw new Error(Object(o.a)(11,n?" (".concat(n,")"):"",a));if("string"!==typeof t.main)throw new Error(Object(o.a)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return _(t,"light",s,S),_(t,"dark",l,S),t.contrastText||(t.contrastText=A(t.main)),t},R={dark:w,light:k};return Object(u.a)(Object(i.a)({common:Object(i.a)({},f),mode:n,primary:M({color:x,name:"primary"}),secondary:M({color:j,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:T,name:"error"}),warning:M({color:E,name:"warning"}),info:M({color:C,name:"info"}),success:M({color:I,name:"success"}),grey:d,contrastThreshold:s,getContrastText:A,augmentColor:M,tonalOffset:S},R[n]),O)}var O=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var x={textTransform:"uppercase"},j='"Roboto", "Helvetica", "Arial", sans-serif';function T(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,o=void 0===r?j:r,s=n.fontSize,c=void 0===s?14:s,l=n.fontWeightLight,f=void 0===l?300:l,d=n.fontWeightRegular,p=void 0===d?400:d,h=n.fontWeightMedium,v=void 0===h?500:h,y=n.fontWeightBold,b=void 0===y?700:y,m=n.htmlFontSize,g=void 0===m?16:m,k=n.allVariants,w=n.pxToRem,_=Object(a.a)(n,O);var S=c/14,T=w||function(e){return"".concat(e/g*S,"rem")},C=function(e,t,n,r,a){return Object(i.a)({fontFamily:o,fontWeight:e,fontSize:T(t),lineHeight:n},o===j?{letterSpacing:"".concat((u=r/t,Math.round(1e5*u)/1e5),"em")}:{},a,k);var u},I={h1:C(f,96,1.167,-1.5),h2:C(f,60,1.2,-.5),h3:C(p,48,1.167,0),h4:C(p,34,1.235,.25),h5:C(p,24,1.334,0),h6:C(v,20,1.6,.15),subtitle1:C(p,16,1.75,.15),subtitle2:C(v,14,1.57,.1),body1:C(p,16,1.5,.15),body2:C(p,14,1.43,.15),button:C(v,14,1.75,.4,x),caption:C(p,12,1.66,.4),overline:C(p,12,2.66,1,x)};return Object(u.a)(Object(i.a)({htmlFontSize:g,pxToRem:T,fontFamily:o,fontSize:c,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:v,fontWeightBold:b},I),_,{clone:!1})}function C(){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 I=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],E=["duration","easing","delay"],A={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)"},M={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function R(e){return"".concat(Math.round(e),"ms")}function P(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function L(e){var t=Object(i.a)({},A,e.easing),n=Object(i.a)({},M,e.duration);return Object(i.a)({getAutoHeightDuration:P,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.duration,o=void 0===i?n.standard:i,u=r.easing,s=void 0===u?t.easeInOut:u,c=r.delay,l=void 0===c?0:c;Object(a.a)(r,E);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof o?o:R(o)," ").concat(s," ").concat("string"===typeof l?l:R(l))})).join(",")}},e,{easing:t,duration:n})}var D={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},B=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,r=e.palette,l=void 0===r?{}:r,f=e.transitions,d=void 0===f?{}:f,p=e.typography,h=void 0===p?{}:p,v=Object(a.a)(e,B);if(e.vars)throw new Error(Object(o.a)(18));var y=S(l),b=Object(s.a)(e),m=Object(u.a)(b,{mixins:c(b.breakpoints,n),palette:y,shadows:I.slice(),typography:T(y,h),transitions:L(d),zIndex:Object(i.a)({},D)});m=Object(u.a)(m,v);for(var g=arguments.length,k=new Array(g>1?g-1:0),w=1;w<g;w++)k[w-1]=arguments[w];return m=k.reduce((function(e,t){return Object(u.a)(e,t)}),m)}t.a=N},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(57);function i(e){if("string"!==typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},,,,,,,,,function(e,t,n){"use strict";var r=n(52),i=60103,a=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,u=60110,s=60112;t.Suspense=60113;var c=60115,l=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),a=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),o=f("react.provider"),u=f("react.context"),s=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),l=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function b(){}function m(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var g=m.prototype=new b;g.constructor=m,r(g,y.prototype),g.isPureReactComponent=!0;var k={current:null},w=Object.prototype.hasOwnProperty,_={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,a={},o=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(o=""+t.key),t)w.call(t,r)&&!_.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(1===s)a.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];a.children=c}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===a[r]&&(a[r]=s[r]);return{$$typeof:i,type:e,key:o,ref:u,props:a,_owner:k.current}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var x=/\/+/g;function j(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,n,r,o){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var s=!1;if(null===e)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case i:case a:s=!0}}if(s)return o=o(s=e),e=""===r?"."+j(s,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(x,"$&/")+"/"),T(o,t,n,"",(function(e){return e}))):null!=o&&(O(o)&&(o=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(x,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var l=r+j(u=e[c],c);s+=T(u,t,n,l,o)}else if(l=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"===typeof l)for(e=l.call(e),c=0;!(u=e.next()).done;)s+=T(u=u.value,t,n,l=r+j(u,c++),o);else if("object"===u)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function C(e,t,n){if(null==e)return e;var r=[],i=0;return T(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function I(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var E={current:null};function A(){var e=E.current;if(null===e)throw Error(p(321));return e}var M={ReactCurrentDispatcher:E,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:C,forEach:function(e,t,n){C(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return C(e,(function(){t++})),t},toArray:function(e){return C(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error(p(143));return e}},t.Component=y,t.PureComponent=m,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(p(267,e));var a=r({},e.props),o=e.key,u=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,s=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)w.call(t,l)&&!_.hasOwnProperty(l)&&(a[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];a.children=c}return{$$typeof:i,type:e.type,key:o,ref:u,props:a,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return A().useCallback(e,t)},t.useContext=function(e,t){return A().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return A().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return A().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return A().useLayoutEffect(e,t)},t.useMemo=function(e,t){return A().useMemo(e,t)},t.useReducer=function(e,t,n){return A().useReducer(e,t,n)},t.useRef=function(e){return A().useRef(e)},t.useState=function(e){return A().useState(e)},t.version="17.0.2"},function(e,t,n){"use strict";var r=n(0),i=n(52),a=n(89);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));var u=new Set,s={};function c(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)u.add(t[e])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},v={};function y(e,t,n,r,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new y(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new y(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new y(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new y(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new y(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new y(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new y(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new y(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new y(e,5,!1,e.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function k(e,t,n,r){var i=b.hasOwnProperty(t)?b[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!p.call(v,e)||!p.call(h,e)&&(d.test(e)?v[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,g);b[t]=new y(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,g);b[t]=new y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,g);b[t]=new y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=60103,S=60106,O=60107,x=60108,j=60114,T=60109,C=60110,I=60112,E=60113,A=60120,M=60115,R=60116,P=60121,L=60128,D=60129,B=60130,N=60131;if("function"===typeof Symbol&&Symbol.for){var F=Symbol.for;_=F("react.element"),S=F("react.portal"),O=F("react.fragment"),x=F("react.strict_mode"),j=F("react.profiler"),T=F("react.provider"),C=F("react.context"),I=F("react.forward_ref"),E=F("react.suspense"),A=F("react.suspense_list"),M=F("react.memo"),R=F("react.lazy"),P=F("react.block"),F("react.scope"),L=F("react.opaque.id"),D=F("react.debug_trace_mode"),B=F("react.offscreen"),N=F("react.legacy_hidden")}var z,U="function"===typeof Symbol&&Symbol.iterator;function V(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=U&&e[U]||e["@@iterator"])?e:null}function W(e){if(void 0===z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var H=!1;function $(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var i=s.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,u=a.length-1;1<=o&&0<=u&&i[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(i[o]!==a[u]){if(1!==o||1!==u)do{if(o--,0>--u||i[o]!==a[u])return"\n"+i[o].replace(" at new "," at ")}while(1<=o&&0<=u);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function Y(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=$(e.type,!1);case 11:return e=$(e.type.render,!1);case 22:return e=$(e.type._render,!1);case 1:return e=$(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case O:return"Fragment";case S:return"Portal";case j:return"Profiler";case x:return"StrictMode";case E:return"Suspense";case A:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case I:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case M:return q(e.type);case P:return q(e._render);case R:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function G(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&k(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&ie(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ie(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ae(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function oe(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+G(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ue(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function se(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function ce(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ve,ye,be=(ye=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((ve=ve||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ve.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ye(e,t)}))}:ye);function me(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ge={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ke=["Webkit","ms","Moz","O"];function we(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||ge.hasOwnProperty(e)&&ge[e]?(""+t).trim():t+"px"}function _e(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=we(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(ge).forEach((function(e){ke.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ge[t]=ge[e]}))}));var Se=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Oe(e,t){if(t){if(Se[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function xe(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function je(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,Ce=null,Ie=null;function Ee(e){if(e=ri(e)){if("function"!==typeof Te)throw Error(o(280));var t=e.stateNode;t&&(t=ai(t),Te(e.stateNode,e.type,t))}}function Ae(e){Ce?Ie?Ie.push(e):Ie=[e]:Ce=e}function Me(){if(Ce){var e=Ce,t=Ie;if(Ie=Ce=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Re(e,t){return e(t)}function Pe(e,t,n,r,i){return e(t,n,r,i)}function Le(){}var De=Re,Be=!1,Ne=!1;function Fe(){null===Ce&&null===Ie||(Le(),Me())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=ai(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Ue=!1;if(f)try{var Ve={};Object.defineProperty(Ve,"passive",{get:function(){Ue=!0}}),window.addEventListener("test",Ve,Ve),window.removeEventListener("test",Ve,Ve)}catch(ye){Ue=!1}function We(e,t,n,r,i,a,o,u,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(l){this.onError(l)}}var He=!1,$e=null,Ye=!1,qe=null,Ge={onError:function(e){He=!0,$e=e}};function Ke(e,t,n,r,i,a,o,u,s){He=!1,$e=null,We.apply(Ge,arguments)}function Qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Je(e){if(Qe(e)!==e)throw Error(o(188))}function Ze(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Je(i),e;if(a===r)return Je(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var u=!1,s=i.child;s;){if(s===n){u=!0,n=i,r=a;break}if(s===r){u=!0,r=i,n=a;break}s=s.sibling}if(!u){for(s=a.child;s;){if(s===n){u=!0,n=a,r=i;break}if(s===r){u=!0,r=a,n=i;break}s=s.sibling}if(!u)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,it,at=!1,ot=[],ut=null,st=null,ct=null,lt=new Map,ft=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function vt(e,t){switch(e){case"focusin":case"focusout":ut=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function yt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e=ht(t,n,r,i,a),null!==t&&(null!==(t=ri(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function bt(e){var t=ni(e.target);if(null!==t){var n=Qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void it(e.lanePriority,(function(){a.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ri(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function gt(e,t,n){mt(e)&&n.delete(t)}function kt(){for(at=!1;0<ot.length;){var e=ot[0];if(null!==e.blockedOn){null!==(e=ri(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&ot.shift()}null!==ut&&mt(ut)&&(ut=null),null!==st&&mt(st)&&(st=null),null!==ct&&mt(ct)&&(ct=null),lt.forEach(gt),ft.forEach(gt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,at||(at=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,kt)))}function _t(e){function t(t){return wt(t,e)}if(0<ot.length){wt(ot[0],e);for(var n=1;n<ot.length;n++){var r=ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ut&&wt(ut,e),null!==st&&wt(st,e),null!==ct&&wt(ct,e),lt.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)bt(n),null===n.blockedOn&&dt.shift()}function St(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ot={animationend:St("Animation","AnimationEnd"),animationiteration:St("Animation","AnimationIteration"),animationstart:St("Animation","AnimationStart"),transitionend:St("Transition","TransitionEnd")},xt={},jt={};function Tt(e){if(xt[e])return xt[e];if(!Ot[e])return e;var t,n=Ot[e];for(t in n)if(n.hasOwnProperty(t)&&t in jt)return xt[e]=n[t];return e}f&&(jt=document.createElement("div").style,"AnimationEvent"in window||(delete Ot.animationend.animation,delete Ot.animationiteration.animation,delete Ot.animationstart.animation),"TransitionEvent"in window||delete Ot.transitionend.transition);var Ct=Tt("animationend"),It=Tt("animationiteration"),Et=Tt("animationstart"),At=Tt("transitionend"),Mt=new Map,Rt=new Map,Pt=["abort","abort",Ct,"animationEnd",It,"animationIteration",Et,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",At,"transitionEnd","waiting","waiting"];function Lt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Rt.set(r,t),Mt.set(r,i),c(i,[r])}}(0,a.unstable_now)();var Dt=8;function Bt(e){if(0!==(1&e))return Dt=15,1;if(0!==(2&e))return Dt=14,2;if(0!==(4&e))return Dt=13,4;var t=24&e;return 0!==t?(Dt=12,t):0!==(32&e)?(Dt=11,32):0!==(t=192&e)?(Dt=10,t):0!==(256&e)?(Dt=9,256):0!==(t=3584&e)?(Dt=8,t):0!==(4096&e)?(Dt=7,4096):0!==(t=4186112&e)?(Dt=6,t):0!==(t=62914560&e)?(Dt=5,t):67108864&e?(Dt=4,67108864):0!==(134217728&e)?(Dt=3,134217728):0!==(t=805306368&e)?(Dt=2,t):0!==(1073741824&e)?(Dt=1,1073741824):(Dt=8,e)}function Nt(e,t){var n=e.pendingLanes;if(0===n)return Dt=0;var r=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,u=e.pingedLanes;if(0!==a)r=a,i=Dt=15;else if(0!==(a=134217727&n)){var s=a&~o;0!==s?(r=Bt(s),i=Dt):0!==(u&=a)&&(r=Bt(u),i=Dt)}else 0!==(a=n&~o)?(r=Bt(a),i=Dt):0!==u&&(r=Bt(u),i=Dt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&o)){if(Bt(t),i<=Dt)return t;Dt=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Ht(t)),r|=e[n],t&=~i;return r}function Ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ut(24&~t))?zt(10,t):e;case 10:return 0===(e=Ut(192&~t))?zt(8,t):e;case 8:return 0===(e=Ut(3584&~t))&&(0===(e=Ut(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Ut(805306368&~t))&&(t=268435456),t}throw Error(o(358,e))}function Ut(e){return e&-e}function Vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-($t(e)/Yt|0)|0},$t=Math.log,Yt=Math.LN2;var qt=a.unstable_UserBlockingPriority,Gt=a.unstable_runWithPriority,Kt=!0;function Qt(e,t,n,r){Be||Le();var i=Jt,a=Be;Be=!0;try{Pe(i,e,t,n,r)}finally{(Be=a)||Fe()}}function Xt(e,t,n,r){Gt(qt,Jt.bind(null,e,t,n,r))}function Jt(e,t,n,r){var i;if(Kt)if((i=0===(4&t))&&0<ot.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),ot.push(e);else{var a=Zt(e,t,n,r);if(null===a)i&&vt(e,r);else{if(i){if(-1<pt.indexOf(e))return e=ht(a,e,t,n,r),void ot.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return ut=yt(ut,e,t,n,r,i),!0;case"dragenter":return st=yt(st,e,t,n,r,i),!0;case"mouseover":return ct=yt(ct,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return lt.set(a,yt(lt.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,ft.set(a,yt(ft.get(a)||null,e,t,n,r,i)),!0}return!1}(a,e,t,n,r))return;vt(e,r)}Lr(e,t,r,null,n)}}}function Zt(e,t,n,r){var i=je(r);if(null!==(i=ni(i))){var a=Qe(i);if(null===a)i=null;else{var o=a.tag;if(13===o){if(null!==(i=Xe(a)))return i;i=null}else if(3===o){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;i=null}else a!==i&&(i=null)}}return Lr(e,t,r,i,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,i="value"in en?en.value:en.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return nn=i.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function un(){return!1}function sn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?on:un,this.isPropagationStopped=un,this}return i(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var cn,ln,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=sn(dn),hn=i({},dn,{view:0,detail:0}),vn=sn(hn),yn=i({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fn&&(fn&&"mousemove"===e.type?(cn=e.screenX-fn.screenX,ln=e.screenY-fn.screenY):ln=cn=0,fn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),bn=sn(yn),mn=sn(i({},yn,{dataTransfer:0})),gn=sn(i({},hn,{relatedTarget:0})),kn=sn(i({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=i({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_n=sn(wn),Sn=sn(i({},dn,{data:0})),On={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},jn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=jn[e])&&!!t[e]}function Cn(){return Tn}var In=i({},hn,{key:function(e){if(e.key){var t=On[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),En=sn(In),An=sn(i({},yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Mn=sn(i({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Rn=sn(i({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=i({},yn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=sn(Pn),Dn=[9,13,27,32],Bn=f&&"CompositionEvent"in window,Nn=null;f&&"documentMode"in document&&(Nn=document.documentMode);var Fn=f&&"TextEvent"in window&&!Nn,zn=f&&(!Bn||Nn&&8<Nn&&11>=Nn),Un=String.fromCharCode(32),Vn=!1;function Wn(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var Yn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Yn[e.type]:"textarea"===t}function Gn(e,t,n,r){Ae(r),0<(t=Br(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,Qn=null;function Xn(e){Ir(e,0)}function Jn(e){if(X(ii(e)))return e}function Zn(e,t){if("change"===e)return t}var er=!1;if(f){var tr;if(f){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function ir(){Kn&&(Kn.detachEvent("onpropertychange",ar),Qn=Kn=null)}function ar(e){if("value"===e.propertyName&&Jn(Qn)){var t=[];if(Gn(t,Qn,e,je(e)),e=Xn,Be)e(t);else{Be=!0;try{Re(e,t)}finally{Be=!1,Fe()}}}}function or(e,t,n){"focusin"===e?(ir(),Qn=n,(Kn=t).attachEvent("onpropertychange",ar)):"focusout"===e&&ir()}function ur(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Jn(Qn)}function sr(e,t){if("click"===e)return Jn(t)}function cr(e,t){if("input"===e||"change"===e)return Jn(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},fr=Object.prototype.hasOwnProperty;function dr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!fr.call(t,n[r])||!lr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function vr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?vr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function yr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mr=f&&"documentMode"in document&&11>=document.documentMode,gr=null,kr=null,wr=null,_r=!1;function Sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_r||null==gr||gr!==J(r)||("selectionStart"in(r=gr)&&br(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},wr&&dr(wr,r)||(wr=r,0<(r=Br(kr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}Lt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Lt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Lt(Pt,2);for(var Or="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),xr=0;xr<Or.length;xr++)Rt.set(Or[xr],0);l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Tr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function Cr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,u,s,c){if(Ke.apply(this,arguments),He){if(!He)throw Error(o(198));var l=$e;He=!1,$e=null,Ye||(Ye=!0,qe=l)}}(r,t,void 0,e),e.currentTarget=null}function Ir(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var u=r[o],s=u.instance,c=u.currentTarget;if(u=u.listener,s!==a&&i.isPropagationStopped())break e;Cr(i,u,c),a=s}else for(o=0;o<r.length;o++){if(s=(u=r[o]).instance,c=u.currentTarget,u=u.listener,s!==a&&i.isPropagationStopped())break e;Cr(i,u,c),a=s}}}if(Ye)throw e=qe,Ye=!1,qe=null,e}function Er(e,t){var n=oi(t),r=e+"__bubble";n.has(r)||(Pr(t,e,2,!1),n.add(r))}var Ar="_reactListening"+Math.random().toString(36).slice(2);function Mr(e){e[Ar]||(e[Ar]=!0,u.forEach((function(t){Tr.has(t)||Rr(t,!1,e,null),Rr(t,!0,e,null)})))}function Rr(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&Tr.has(e)){if("scroll"!==e)return;i|=2,a=r}var o=oi(a),u=e+"__"+(t?"capture":"bubble");o.has(u)||(t&&(i|=4),Pr(a,e,i,t),o.add(u))}function Pr(e,t,n,r){var i=Rt.get(t);switch(void 0===i?2:i){case 0:i=Qt;break;case 1:i=Xt;break;default:i=Jt}n=i.bind(null,t,n,e),i=void 0,!Ue||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Lr(e,t,n,r,i){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var u=r.stateNode.containerInfo;if(u===i||8===u.nodeType&&u.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&((s=o.stateNode.containerInfo)===i||8===s.nodeType&&s.parentNode===i))return;o=o.return}for(;null!==u;){if(null===(o=ni(u)))return;if(5===(s=o.tag)||6===s){r=a=o;continue e}u=u.parentNode}}r=r.return}!function(e,t,n){if(Ne)return e(t,n);Ne=!0;try{De(e,t,n)}finally{Ne=!1,Fe()}}((function(){var r=a,i=je(n),o=[];e:{var u=Mt.get(e);if(void 0!==u){var s=pn,c=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":s=En;break;case"focusin":c="focus",s=gn;break;case"focusout":c="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=bn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Mn;break;case Ct:case It:case Et:s=kn;break;case At:s=Rn;break;case"scroll":s=vn;break;case"wheel":s=Ln;break;case"copy":case"cut":case"paste":s=_n;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=An}var l=0!==(4&t),f=!l&&"scroll"===e,d=l?null!==u?u+"Capture":null:u;l=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=ze(h,d))&&l.push(Dr(h,v,p)))),f)break;h=h.return}0<l.length&&(u=new s(u,c,null,n,i),o.push({event:u,listeners:l}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(c=n.relatedTarget||n.fromElement)||!ni(c)&&!c[ei])&&(s||u)&&(u=i.window===i?i:(u=i.ownerDocument)?u.defaultView||u.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?ni(c):null)&&(c!==(f=Qe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(l=bn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(l=An,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==s?u:ii(s),p=null==c?u:ii(c),(u=new l(v,h+"leave",s,n,i)).target=f,u.relatedTarget=p,v=null,ni(i)===r&&((l=new l(d,h+"enter",c,n,i)).target=p,l.relatedTarget=f,v=l),f=v,s&&c)e:{for(d=c,h=0,p=l=s;p;p=Nr(p))h++;for(p=0,v=d;v;v=Nr(v))p++;for(;0<h-p;)l=Nr(l),h--;for(;0<p-h;)d=Nr(d),p--;for(;h--;){if(l===d||null!==d&&l===d.alternate)break e;l=Nr(l),d=Nr(d)}l=null}else l=null;null!==s&&Fr(o,u,s,l,!1),null!==c&&null!==f&&Fr(o,f,c,l,!0)}if("select"===(s=(u=r?ii(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===s&&"file"===u.type)var y=Zn;else if(qn(u))if(er)y=cr;else{y=ur;var b=or}else(s=u.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(y=sr);switch(y&&(y=y(e,r))?Gn(o,y,n,i):(b&&b(e,u,r),"focusout"===e&&(b=u._wrapperState)&&b.controlled&&"number"===u.type&&ie(u,"number",u.value)),b=r?ii(r):window,e){case"focusin":(qn(b)||"true"===b.contentEditable)&&(gr=b,kr=r,wr=null);break;case"focusout":wr=kr=gr=null;break;case"mousedown":_r=!0;break;case"contextmenu":case"mouseup":case"dragend":_r=!1,Sr(o,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":Sr(o,n,i)}var m;if(Bn)e:{switch(e){case"compositionstart":var g="onCompositionStart";break e;case"compositionend":g="onCompositionEnd";break e;case"compositionupdate":g="onCompositionUpdate";break e}g=void 0}else $n?Wn(e,n)&&(g="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(g="onCompositionStart");g&&(zn&&"ko"!==n.locale&&($n||"onCompositionStart"!==g?"onCompositionEnd"===g&&$n&&(m=rn()):(tn="value"in(en=i)?en.value:en.textContent,$n=!0)),0<(b=Br(r,g)).length&&(g=new Sn(g,e,null,n,i),o.push({event:g,listeners:b}),m?g.data=m:null!==(m=Hn(n))&&(g.data=m))),(m=Fn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Vn=!0,Un);case"textInput":return(e=t.data)===Un&&Vn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!Bn&&Wn(e,t)?(e=rn(),nn=tn=en=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Br(r,"onBeforeInput")).length&&(i=new Sn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=m))}Ir(o,t)}))}function Dr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Br(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=ze(e,n))&&r.unshift(Dr(e,a,i)),null!=(a=ze(e,t))&&r.push(Dr(e,a,i))),e=e.return}return r}function Nr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fr(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var u=n,s=u.alternate,c=u.stateNode;if(null!==s&&s===r)break;5===u.tag&&null!==c&&(u=c,i?null!=(s=ze(n,a))&&o.unshift(Dr(n,s,u)):i||null!=(s=ze(n,a))&&o.push(Dr(n,s,u))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}function zr(){}var Ur=null,Vr=null;function Wr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $r="function"===typeof setTimeout?setTimeout:void 0,Yr="function"===typeof clearTimeout?clearTimeout:void 0;function qr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Gr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Kr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Qr=0;var Xr=Math.random().toString(36).slice(2),Jr="__reactFiber$"+Xr,Zr="__reactProps$"+Xr,ei="__reactContainer$"+Xr,ti="__reactEvents$"+Xr;function ni(e){var t=e[Jr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ei]||n[Jr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Kr(e);null!==e;){if(n=e[Jr])return n;e=Kr(e)}return t}n=(e=n).parentNode}return null}function ri(e){return!(e=e[Jr]||e[ei])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ii(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ai(e){return e[Zr]||null}function oi(e){var t=e[ti];return void 0===t&&(t=e[ti]=new Set),t}var ui=[],si=-1;function ci(e){return{current:e}}function li(e){0>si||(e.current=ui[si],ui[si]=null,si--)}function fi(e,t){si++,ui[si]=e.current,e.current=t}var di={},pi=ci(di),hi=ci(!1),vi=di;function yi(e,t){var n=e.type.contextTypes;if(!n)return di;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function bi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function mi(){li(hi),li(pi)}function gi(e,t,n){if(pi.current!==di)throw Error(o(168));fi(pi,t),fi(hi,n)}function ki(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(o(108,q(t)||"Unknown",a));return i({},n,r)}function wi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||di,vi=pi.current,fi(pi,e),fi(hi,hi.current),!0}function _i(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=ki(e,t,vi),r.__reactInternalMemoizedMergedChildContext=e,li(hi),li(pi),fi(pi,e)):li(hi),fi(hi,n)}var Si=null,Oi=null,xi=a.unstable_runWithPriority,ji=a.unstable_scheduleCallback,Ti=a.unstable_cancelCallback,Ci=a.unstable_shouldYield,Ii=a.unstable_requestPaint,Ei=a.unstable_now,Ai=a.unstable_getCurrentPriorityLevel,Mi=a.unstable_ImmediatePriority,Ri=a.unstable_UserBlockingPriority,Pi=a.unstable_NormalPriority,Li=a.unstable_LowPriority,Di=a.unstable_IdlePriority,Bi={},Ni=void 0!==Ii?Ii:function(){},Fi=null,zi=null,Ui=!1,Vi=Ei(),Wi=1e4>Vi?Ei:function(){return Ei()-Vi};function Hi(){switch(Ai()){case Mi:return 99;case Ri:return 98;case Pi:return 97;case Li:return 96;case Di:return 95;default:throw Error(o(332))}}function $i(e){switch(e){case 99:return Mi;case 98:return Ri;case 97:return Pi;case 96:return Li;case 95:return Di;default:throw Error(o(332))}}function Yi(e,t){return e=$i(e),xi(e,t)}function qi(e,t,n){return e=$i(e),ji(e,t,n)}function Gi(){if(null!==zi){var e=zi;zi=null,Ti(e)}Ki()}function Ki(){if(!Ui&&null!==Fi){Ui=!0;var e=0;try{var t=Fi;Yi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fi=null}catch(n){throw null!==Fi&&(Fi=Fi.slice(e+1)),ji(Mi,Gi),n}finally{Ui=!1}}}var Qi=w.ReactCurrentBatchConfig;function Xi(e,t){if(e&&e.defaultProps){for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Ji=ci(null),Zi=null,ea=null,ta=null;function na(){ta=ea=Zi=null}function ra(e){var t=Ji.current;li(Ji),e.type._context._currentValue=t}function ia(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function aa(e,t){Zi=e,ta=ea=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Bo=!0),e.firstContext=null)}function oa(e,t){if(ta!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ta=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ea){if(null===Zi)throw Error(o(308));ea=t,Zi.dependencies={lanes:0,firstContext:t,responders:null}}else ea=ea.next=t;return e._currentValue}var ua=!1;function sa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ca(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function la(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fa(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function da(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pa(e,t,n,r){var a=e.updateQueue;ua=!1;var o=a.firstBaseUpdate,u=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var c=s,l=c.next;c.next=null,null===u?o=l:u.next=l,u=c;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==u&&(null===d?f.firstBaseUpdate=l:d.next=l,f.lastBaseUpdate=c)}}if(null!==o){for(d=a.baseState,u=0,f=l=c=null;;){s=o.lane;var p=o.eventTime;if((r&s)===s){null!==f&&(f=f.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var h=e,v=o;switch(s=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){d=h.call(p,d,s);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(s="function"===typeof(h=v.payload)?h.call(p,d,s):h)||void 0===s)break e;d=i({},d,s);break e;case 2:ua=!0}}null!==o.callback&&(e.flags|=32,null===(s=a.effects)?a.effects=[o]:s.push(o))}else p={eventTime:p,lane:s,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===f?(l=f=p,c=d):f=f.next=p,u|=s;if(null===(o=o.next)){if(null===(s=a.shared.pending))break;o=s.next,s.next=null,a.lastBaseUpdate=s,a.shared.pending=null}}null===f&&(c=d),a.baseState=c,a.firstBaseUpdate=l,a.lastBaseUpdate=f,Uu|=u,e.lanes=u,e.memoizedState=d}}function ha(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var va=(new r.Component).refs;function ya(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:i({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ba={isMounted:function(e){return!!(e=e._reactInternals)&&Qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ds(),i=ps(e),a=la(r,i);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),fa(e,a),hs(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ds(),i=ps(e),a=la(r,i);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),fa(e,a),hs(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ds(),r=ps(e),i=la(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),fa(e,i),hs(e,r,n)}};function ma(e,t,n,r,i,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(i,a))}function ga(e,t,n){var r=!1,i=di,a=t.contextType;return"object"===typeof a&&null!==a?a=oa(a):(i=bi(t)?vi:pi.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?yi(e,i):di),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ba,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function ka(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ba.enqueueReplaceState(t,t.state,null)}function wa(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=va,sa(e);var a=t.contextType;"object"===typeof a&&null!==a?i.context=oa(a):(a=bi(t)?vi:pi.current,i.context=yi(e,a)),pa(e,n,i,r),i.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(ya(e,t,a,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ba.enqueueReplaceState(i,i.state,null),pa(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4)}var _a=Array.isArray;function Sa(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===va&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Oa(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function xa(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ys(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function u(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Qs(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Sa(e,t,n),r.return=e,r):((r=qs(n.type,n.key,n.props,null,e.mode,r)).ref=Sa(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xs(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=Gs(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Qs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case _:return(n=qs(t.type,t.key,t.props,null,e.mode,n)).ref=Sa(e,null,t),n.return=e,n;case S:return(t=Xs(t,e.mode,n)).return=e,t}if(_a(t)||V(t))return(t=Gs(t,e.mode,n,null)).return=e,t;Oa(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===i?n.type===O?f(e,t,n.props.children,r,i):c(e,t,n,r):null;case S:return n.key===i?l(e,t,n,r):null}if(_a(n)||V(n))return null!==i?null:f(e,t,n,r,null);Oa(e,n)}return null}function h(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case _:return e=e.get(null===r.key?n:r.key)||null,r.type===O?f(t,e,r.props.children,i,r.key):c(t,e,r,i);case S:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(_a(r)||V(r))return f(t,e=e.get(n)||null,r,i,null);Oa(t,r)}return null}function v(i,o,u,s){for(var c=null,l=null,f=o,v=o=0,y=null;null!==f&&v<u.length;v++){f.index>v?(y=f,f=null):y=f.sibling;var b=p(i,f,u[v],s);if(null===b){null===f&&(f=y);break}e&&f&&null===b.alternate&&t(i,f),o=a(b,o,v),null===l?c=b:l.sibling=b,l=b,f=y}if(v===u.length)return n(i,f),c;if(null===f){for(;v<u.length;v++)null!==(f=d(i,u[v],s))&&(o=a(f,o,v),null===l?c=f:l.sibling=f,l=f);return c}for(f=r(i,f);v<u.length;v++)null!==(y=h(f,i,v,u[v],s))&&(e&&null!==y.alternate&&f.delete(null===y.key?v:y.key),o=a(y,o,v),null===l?c=y:l.sibling=y,l=y);return e&&f.forEach((function(e){return t(i,e)})),c}function y(i,u,s,c){var l=V(s);if("function"!==typeof l)throw Error(o(150));if(null==(s=l.call(s)))throw Error(o(151));for(var f=l=null,v=u,y=u=0,b=null,m=s.next();null!==v&&!m.done;y++,m=s.next()){v.index>y?(b=v,v=null):b=v.sibling;var g=p(i,v,m.value,c);if(null===g){null===v&&(v=b);break}e&&v&&null===g.alternate&&t(i,v),u=a(g,u,y),null===f?l=g:f.sibling=g,f=g,v=b}if(m.done)return n(i,v),l;if(null===v){for(;!m.done;y++,m=s.next())null!==(m=d(i,m.value,c))&&(u=a(m,u,y),null===f?l=m:f.sibling=m,f=m);return l}for(v=r(i,v);!m.done;y++,m=s.next())null!==(m=h(v,i,y,m.value,c))&&(e&&null!==m.alternate&&v.delete(null===m.key?y:m.key),u=a(m,u,y),null===f?l=m:f.sibling=m,f=m);return e&&v.forEach((function(e){return t(i,e)})),l}return function(e,r,a,s){var c="object"===typeof a&&null!==a&&a.type===O&&null===a.key;c&&(a=a.props.children);var l="object"===typeof a&&null!==a;if(l)switch(a.$$typeof){case _:e:{for(l=a.key,c=r;null!==c;){if(c.key===l){if(7===c.tag){if(a.type===O){n(e,c.sibling),(r=i(c,a.props.children)).return=e,e=r;break e}}else if(c.elementType===a.type){n(e,c.sibling),(r=i(c,a.props)).ref=Sa(e,c,a),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}a.type===O?((r=Gs(a.props.children,e.mode,s,a.key)).return=e,e=r):((s=qs(a.type,a.key,a.props,null,e.mode,s)).ref=Sa(e,r,a),s.return=e,e=s)}return u(e);case S:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=i(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xs(a,e.mode,s)).return=e,e=r}return u(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,a)).return=e,e=r):(n(e,r),(r=Qs(a,e.mode,s)).return=e,e=r),u(e);if(_a(a))return v(e,r,a,s);if(V(a))return y(e,r,a,s);if(l&&Oa(e,a),"undefined"===typeof a&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,q(e.type)||"Component"))}return n(e,r)}}var ja=xa(!0),Ta=xa(!1),Ca={},Ia=ci(Ca),Ea=ci(Ca),Aa=ci(Ca);function Ma(e){if(e===Ca)throw Error(o(174));return e}function Ra(e,t){switch(fi(Aa,t),fi(Ea,e),fi(Ia,Ca),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(Ia),fi(Ia,t)}function Pa(){li(Ia),li(Ea),li(Aa)}function La(e){Ma(Aa.current);var t=Ma(Ia.current),n=he(t,e.type);t!==n&&(fi(Ea,e),fi(Ia,n))}function Da(e){Ea.current===e&&(li(Ia),li(Ea))}var Ba=ci(0);function Na(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fa=null,za=null,Ua=!1;function Va(e,t){var n=Hs(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Wa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ha(e){if(Ua){var t=za;if(t){var n=t;if(!Wa(e,t)){if(!(t=Gr(n.nextSibling))||!Wa(e,t))return e.flags=-1025&e.flags|2,Ua=!1,void(Fa=e);Va(Fa,n)}Fa=e,za=Gr(t.firstChild)}else e.flags=-1025&e.flags|2,Ua=!1,Fa=e}}function $a(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Fa=e}function Ya(e){if(e!==Fa)return!1;if(!Ua)return $a(e),Ua=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hr(t,e.memoizedProps))for(t=za;t;)Va(e,t),t=Gr(t.nextSibling);if($a(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){za=Gr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}za=null}}else za=Fa?Gr(e.stateNode.nextSibling):null;return!0}function qa(){za=Fa=null,Ua=!1}var Ga=[];function Ka(){for(var e=0;e<Ga.length;e++)Ga[e]._workInProgressVersionPrimary=null;Ga.length=0}var Qa=w.ReactCurrentDispatcher,Xa=w.ReactCurrentBatchConfig,Ja=0,Za=null,eo=null,to=null,no=!1,ro=!1;function io(){throw Error(o(321))}function ao(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function oo(e,t,n,r,i,a){if(Ja=a,Za=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qa.current=null===e||null===e.memoizedState?Ro:Po,e=n(r,i),ro){a=0;do{if(ro=!1,!(25>a))throw Error(o(301));a+=1,to=eo=null,t.updateQueue=null,Qa.current=Lo,e=n(r,i)}while(ro)}if(Qa.current=Mo,t=null!==eo&&null!==eo.next,Ja=0,to=eo=Za=null,no=!1,t)throw Error(o(300));return e}function uo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===to?Za.memoizedState=to=e:to=to.next=e,to}function so(){if(null===eo){var e=Za.alternate;e=null!==e?e.memoizedState:null}else e=eo.next;var t=null===to?Za.memoizedState:to.next;if(null!==t)to=t,eo=e;else{if(null===e)throw Error(o(310));e={memoizedState:(eo=e).memoizedState,baseState:eo.baseState,baseQueue:eo.baseQueue,queue:eo.queue,next:null},null===to?Za.memoizedState=to=e:to=to.next=e}return to}function co(e,t){return"function"===typeof t?t(e):t}function lo(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=eo,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var u=i.next;i.next=a.next,a.next=u}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=u=a=null,c=i;do{var l=c.lane;if((Ja&l)===l)null!==s&&(s=s.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:l,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(u=s=f,a=r):s=s.next=f,Za.lanes|=l,Uu|=l}c=c.next}while(null!==c&&c!==i);null===s?a=r:s.next=u,lr(r,t.memoizedState)||(Bo=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fo(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var u=i=i.next;do{a=e(a,u.action),u=u.next}while(u!==i);lr(a,t.memoizedState)||(Bo=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function po(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(Ja&e)===e)&&(t._workInProgressVersionPrimary=r,Ga.push(t))),e)return n(t._source);throw Ga.push(t),Error(o(350))}function ho(e,t,n,r){var i=Ru;if(null===i)throw Error(o(349));var a=t._getVersion,u=a(t._source),s=Qa.current,c=s.useState((function(){return po(i,t,n)})),l=c[1],f=c[0];c=to;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,v=d.source;d=d.subscribe;var y=Za;return e.memoizedState={refs:p,source:t,subscribe:r},s.useEffect((function(){p.getSnapshot=n,p.setSnapshot=l;var e=a(t._source);if(!lr(u,e)){e=n(t._source),lr(f,e)||(l(e),e=ps(y),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,o=e;0<o;){var s=31-Ht(o),c=1<<s;r[s]|=e,o&=~c}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=ps(y);i.mutableReadLanes|=r&i.pendingLanes}catch(a){n((function(){throw a}))}}))}),[t,r]),lr(h,n)&&lr(v,t)&&lr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:co,lastRenderedState:f}).dispatch=l=Ao.bind(null,Za,e),c.queue=e,c.baseQueue=null,f=po(i,t,n),c.memoizedState=c.baseState=f),f}function vo(e,t,n){return ho(so(),e,t,n)}function yo(e){var t=uo();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:co,lastRenderedState:e}).dispatch=Ao.bind(null,Za,e),[t.memoizedState,e]}function bo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Za.updateQueue)?(t={lastEffect:null},Za.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function mo(e){return e={current:e},uo().memoizedState=e}function go(){return so().memoizedState}function ko(e,t,n,r){var i=uo();Za.flags|=e,i.memoizedState=bo(1|t,n,void 0,void 0===r?null:r)}function wo(e,t,n,r){var i=so();r=void 0===r?null:r;var a=void 0;if(null!==eo){var o=eo.memoizedState;if(a=o.destroy,null!==r&&ao(r,o.deps))return void bo(t,n,a,r)}Za.flags|=e,i.memoizedState=bo(1|t,n,a,r)}function _o(e,t){return ko(516,4,e,t)}function So(e,t){return wo(516,4,e,t)}function Oo(e,t){return wo(4,2,e,t)}function xo(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function jo(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wo(4,2,xo.bind(null,t,e),n)}function To(){}function Co(e,t){var n=so();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ao(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Io(e,t){var n=so();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ao(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Eo(e,t){var n=Hi();Yi(98>n?98:n,(function(){e(!0)})),Yi(97<n?97:n,(function(){var n=Xa.transition;Xa.transition=1;try{e(!1),t()}finally{Xa.transition=n}}))}function Ao(e,t,n){var r=ds(),i=ps(e),a={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(null===o?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===Za||null!==o&&o===Za)ro=no=!0;else{if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var u=t.lastRenderedState,s=o(u,n);if(a.eagerReducer=o,a.eagerState=s,lr(s,u))return}catch(c){}hs(e,i,r)}}var Mo={readContext:oa,useCallback:io,useContext:io,useEffect:io,useImperativeHandle:io,useLayoutEffect:io,useMemo:io,useReducer:io,useRef:io,useState:io,useDebugValue:io,useDeferredValue:io,useTransition:io,useMutableSource:io,useOpaqueIdentifier:io,unstable_isNewReconciler:!1},Ro={readContext:oa,useCallback:function(e,t){return uo().memoizedState=[e,void 0===t?null:t],e},useContext:oa,useEffect:_o,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ko(4,2,xo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ko(4,2,e,t)},useMemo:function(e,t){var n=uo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=uo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ao.bind(null,Za,e),[r.memoizedState,e]},useRef:mo,useState:yo,useDebugValue:To,useDeferredValue:function(e){var t=yo(e),n=t[0],r=t[1];return _o((function(){var t=Xa.transition;Xa.transition=1;try{r(e)}finally{Xa.transition=t}}),[e]),n},useTransition:function(){var e=yo(!1),t=e[0];return mo(e=Eo.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=uo();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ho(r,e,t,n)},useOpaqueIdentifier:function(){if(Ua){var e=!1,t=function(e){return{$$typeof:L,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Qr++).toString(36))),Error(o(355))})),n=yo(t)[1];return 0===(2&Za.mode)&&(Za.flags|=516,bo(5,(function(){n("r:"+(Qr++).toString(36))}),void 0,null)),t}return yo(t="r:"+(Qr++).toString(36)),t},unstable_isNewReconciler:!1},Po={readContext:oa,useCallback:Co,useContext:oa,useEffect:So,useImperativeHandle:jo,useLayoutEffect:Oo,useMemo:Io,useReducer:lo,useRef:go,useState:function(){return lo(co)},useDebugValue:To,useDeferredValue:function(e){var t=lo(co),n=t[0],r=t[1];return So((function(){var t=Xa.transition;Xa.transition=1;try{r(e)}finally{Xa.transition=t}}),[e]),n},useTransition:function(){var e=lo(co)[0];return[go().current,e]},useMutableSource:vo,useOpaqueIdentifier:function(){return lo(co)[0]},unstable_isNewReconciler:!1},Lo={readContext:oa,useCallback:Co,useContext:oa,useEffect:So,useImperativeHandle:jo,useLayoutEffect:Oo,useMemo:Io,useReducer:fo,useRef:go,useState:function(){return fo(co)},useDebugValue:To,useDeferredValue:function(e){var t=fo(co),n=t[0],r=t[1];return So((function(){var t=Xa.transition;Xa.transition=1;try{r(e)}finally{Xa.transition=t}}),[e]),n},useTransition:function(){var e=fo(co)[0];return[go().current,e]},useMutableSource:vo,useOpaqueIdentifier:function(){return fo(co)[0]},unstable_isNewReconciler:!1},Do=w.ReactCurrentOwner,Bo=!1;function No(e,t,n,r){t.child=null===e?Ta(t,null,n,r):ja(t,e.child,n,r)}function Fo(e,t,n,r,i){n=n.render;var a=t.ref;return aa(t,i),r=oo(e,t,n,r,a,i),null===e||Bo?(t.flags|=1,No(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,au(e,t,i))}function zo(e,t,n,r,i,a){if(null===e){var o=n.type;return"function"!==typeof o||$s(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=qs(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Uo(e,t,o,r,i,a))}return o=e.child,0===(i&a)&&(i=o.memoizedProps,(n=null!==(n=n.compare)?n:dr)(i,r)&&e.ref===t.ref)?au(e,t,a):(t.flags|=1,(e=Ys(o,r)).ref=t.ref,e.return=t,t.child=e)}function Uo(e,t,n,r,i,a){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(Bo=!1,0===(a&i))return t.lanes=e.lanes,au(e,t,a);0!==(16384&e.flags)&&(Bo=!0)}return Ho(e,t,n,r,a)}function Vo(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},_s(t,n);else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},_s(t,e),null;t.memoizedState={baseLanes:0},_s(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,_s(t,r);return No(e,t,i,n),t.child}function Wo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ho(e,t,n,r,i){var a=bi(n)?vi:pi.current;return a=yi(t,a),aa(t,i),n=oo(e,t,n,r,a,i),null===e||Bo?(t.flags|=1,No(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,au(e,t,i))}function $o(e,t,n,r,i){if(bi(n)){var a=!0;wi(t)}else a=!1;if(aa(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),ga(t,n,r),wa(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,u=t.memoizedProps;o.props=u;var s=o.context,c=n.contextType;"object"===typeof c&&null!==c?c=oa(c):c=yi(t,c=bi(n)?vi:pi.current);var l=n.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof o.getSnapshotBeforeUpdate;f||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(u!==r||s!==c)&&ka(t,o,r,c),ua=!1;var d=t.memoizedState;o.state=d,pa(t,r,o,i),s=t.memoizedState,u!==r||d!==s||hi.current||ua?("function"===typeof l&&(ya(t,n,l,r),s=t.memoizedState),(u=ua||ma(t,n,u,r,d,s,c))?(f||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4)):("function"===typeof o.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=c,r=u):("function"===typeof o.componentDidMount&&(t.flags|=4),r=!1)}else{o=t.stateNode,ca(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:Xi(t.type,u),o.props=c,f=t.pendingProps,d=o.context,"object"===typeof(s=n.contextType)&&null!==s?s=oa(s):s=yi(t,s=bi(n)?vi:pi.current);var p=n.getDerivedStateFromProps;(l="function"===typeof p||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(u!==f||d!==s)&&ka(t,o,r,s),ua=!1,d=t.memoizedState,o.state=d,pa(t,r,o,i);var h=t.memoizedState;u!==f||d!==h||hi.current||ua?("function"===typeof p&&(ya(t,n,p,r),h=t.memoizedState),(c=ua||ma(t,n,c,r,d,h,s))?(l||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,s),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=s,r=c):("function"!==typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Yo(e,t,n,r,a,i)}function Yo(e,t,n,r,i,a){Wo(e,t);var o=0!==(64&t.flags);if(!r&&!o)return i&&_i(t,n,!1),au(e,t,a);r=t.stateNode,Do.current=t;var u=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=ja(t,e.child,null,a),t.child=ja(t,null,u,a)):No(e,t,u,a),t.memoizedState=r.state,i&&_i(t,n,!0),t.child}function qo(e){var t=e.stateNode;t.pendingContext?gi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&gi(0,t.context,!1),Ra(e,t.containerInfo)}var Go,Ko,Qo,Xo={dehydrated:null,retryLane:0};function Jo(e,t,n){var r,i=t.pendingProps,a=Ba.current,o=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(o=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),fi(Ba,1&a),null===e?(void 0!==i.fallback&&Ha(t),e=i.children,a=i.fallback,o?(e=Zo(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xo,e):"number"===typeof i.unstable_expectedLoadTime?(e=Zo(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xo,t.lanes=33554432,e):((n=Ks({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,o?(i=tu(e,t,i.children,i.fallback,n),o=t.child,a=e.child.memoizedState,o.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=Xo,i):(n=eu(e,t,i.children,n),t.memoizedState=null,n))}function Zo(e,t,n,r){var i=e.mode,a=e.child;return t={mode:"hidden",children:t},0===(2&i)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=Ks(t,i,0,null),n=Gs(n,i,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function eu(e,t,n,r){var i=e.child;return e=i.sibling,n=Ys(i,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tu(e,t,n,r,i){var a=t.mode,o=e.child;e=o.sibling;var u={mode:"hidden",children:n};return 0===(2&a)&&t.child!==o?((n=t.child).childLanes=0,n.pendingProps=u,null!==(o=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Ys(o,u),null!==e?r=Ys(e,r):(r=Gs(r,a,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nu(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ia(e.return,t)}function ru(e,t,n,r,i,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.lastEffect=a)}function iu(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(No(e,t,r.children,n),0!==(2&(r=Ba.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nu(e,n);else if(19===e.tag)nu(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(fi(Ba,r),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Na(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ru(t,!1,i,n,a,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Na(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ru(t,!0,n,null,a,t.lastEffect);break;case"together":ru(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function au(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Uu|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ys(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ys(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ou(e,t){if(!Ua)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function uu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return bi(t.type)&&mi(),null;case 3:return Pa(),li(hi),li(pi),Ka(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ya(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Da(t);var a=Ma(Aa.current);if(n=t.type,null!==e&&null!=t.stateNode)Ko(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=Ma(Ia.current),Ya(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[Jr]=t,r[Zr]=u,n){case"dialog":Er("cancel",r),Er("close",r);break;case"iframe":case"object":case"embed":Er("load",r);break;case"video":case"audio":for(e=0;e<jr.length;e++)Er(jr[e],r);break;case"source":Er("error",r);break;case"img":case"image":case"link":Er("error",r),Er("load",r);break;case"details":Er("toggle",r);break;case"input":ee(r,u),Er("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Er("invalid",r);break;case"textarea":se(r,u),Er("invalid",r)}for(var c in Oe(n,u),e=null,u)u.hasOwnProperty(c)&&(a=u[c],"children"===c?"string"===typeof a?r.textContent!==a&&(e=["children",a]):"number"===typeof a&&r.textContent!==""+a&&(e=["children",""+a]):s.hasOwnProperty(c)&&null!=a&&"onScroll"===c&&Er("scroll",r));switch(n){case"input":Q(r),re(r,u,!0);break;case"textarea":Q(r),le(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===a.nodeType?a:a.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Jr]=t,e[Zr]=r,Go(e,t),t.stateNode=e,c=xe(n,r),n){case"dialog":Er("cancel",e),Er("close",e),a=r;break;case"iframe":case"object":case"embed":Er("load",e),a=r;break;case"video":case"audio":for(a=0;a<jr.length;a++)Er(jr[a],e);a=r;break;case"source":Er("error",e),a=r;break;case"img":case"image":case"link":Er("error",e),Er("load",e),a=r;break;case"details":Er("toggle",e),a=r;break;case"input":ee(e,r),a=Z(e,r),Er("invalid",e);break;case"option":a=ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=i({},r,{value:void 0}),Er("invalid",e);break;case"textarea":se(e,r),a=ue(e,r),Er("invalid",e);break;default:a=r}Oe(n,a);var l=a;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];"style"===u?_e(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&be(e,f):"children"===u?"string"===typeof f?("textarea"!==n||""!==f)&&me(e,f):"number"===typeof f&&me(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?null!=f&&"onScroll"===u&&Er("scroll",e):null!=f&&k(e,u,f,c))}switch(n){case"input":Q(e),re(e,r,!1);break;case"textarea":Q(e),le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?oe(e,!!r.multiple,u,!1):null!=r.defaultValue&&oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=zr)}Wr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Qo(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));n=Ma(Aa.current),Ma(Ia.current),Ya(t)?(r=t.stateNode,n=t.memoizedProps,r[Jr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Jr]=t,t.stateNode=r)}return null;case 13:return li(Ba),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ya(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Ba.current)?0===Nu&&(Nu=3):(0!==Nu&&3!==Nu||(Nu=4),null===Ru||0===(134217727&Uu)&&0===(134217727&Vu)||ms(Ru,Lu))),(r||n)&&(t.flags|=4),null);case 4:return Pa(),null===e&&Mr(t.stateNode.containerInfo),null;case 10:return ra(t),null;case 19:if(li(Ba),null===(r=t.memoizedState))return null;if(u=0!==(64&t.flags),null===(c=r.rendering))if(u)ou(r,!1);else{if(0!==Nu||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Na(e))){for(t.flags|=64,ou(r,!1),null!==(u=c.updateQueue)&&(t.updateQueue=u,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(u=n).flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return fi(Ba,1&Ba.current|2),t.child}e=e.sibling}null!==r.tail&&Wi()>Yu&&(t.flags|=64,u=!0,ou(r,!1),t.lanes=33554432)}else{if(!u)if(null!==(e=Na(c))){if(t.flags|=64,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ou(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Ua)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Wi()-r.renderingStartTime>Yu&&1073741824!==n&&(t.flags|=64,u=!0,ou(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wi(),n.sibling=null,t=Ba.current,fi(Ba,u?1&t|2:1&t),n):null;case 23:case 24:return Ss(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(o(156,t.tag))}function su(e){switch(e.tag){case 1:bi(e.type)&&mi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Pa(),li(hi),li(pi),Ka(),0!==(64&(t=e.flags)))throw Error(o(285));return e.flags=-4097&t|64,e;case 5:return Da(e),null;case 13:return li(Ba),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return li(Ba),null;case 4:return Pa(),null;case 10:return ra(e),null;case 23:case 24:return Ss(),null;default:return null}}function cu(e,t){try{var n="",r=t;do{n+=Y(r),r=r.return}while(r);var i=n}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:i}}function lu(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Go=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ko=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Ma(Ia.current);var o,u=null;switch(n){case"input":a=Z(e,a),r=Z(e,r),u=[];break;case"option":a=ae(e,a),r=ae(e,r),u=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),u=[];break;case"textarea":a=ue(e,a),r=ue(e,r),u=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=zr)}for(f in Oe(n,r),n=null,a)if(!r.hasOwnProperty(f)&&a.hasOwnProperty(f)&&null!=a[f])if("style"===f){var c=a[f];for(o in c)c.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(s.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var l=r[f];if(c=null!=a?a[f]:void 0,r.hasOwnProperty(f)&&l!==c&&(null!=l||null!=c))if("style"===f)if(c){for(o in c)!c.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&c[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(u||(u=[]),u.push(f,n)),n=l;else"dangerouslySetInnerHTML"===f?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(u=u||[]).push(f,l)):"children"===f?"string"!==typeof l&&"number"!==typeof l||(u=u||[]).push(f,""+l):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(s.hasOwnProperty(f)?(null!=l&&"onScroll"===f&&Er("scroll",e),u||c===l||(u=[])):"object"===typeof l&&null!==l&&l.$$typeof===L?l.toString():(u=u||[]).push(f,l))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},Qo=function(e,t,n,r){n!==r&&(t.flags|=4)};var fu="function"===typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=la(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qu||(Qu=!0,Xu=r),lu(0,t)},n}function pu(e,t,n){(n=la(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return lu(0,t),r(i)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Ju?Ju=new Set([this]):Ju.add(this),lu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hu="function"===typeof WeakSet?WeakSet:Set;function vu(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){zs(e,n)}else t.current=null}function yu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&qr(t.stateNode.containerInfo))}throw Error(o(163))}function bu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!==(4&(i=i.tag))&&0!==(1&i)&&(Bs(n,e),Ds(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Xi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ha(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ha(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Wr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&_t(n)))))}throw Error(o(163))}function mu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,r.style.display=we("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function gu(e,t){if(Oi&&"function"===typeof Oi.onCommitFiberUnmount)try{Oi.onCommitFiberUnmount(Si,t)}catch(a){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!==(4&r))Bs(t,n);else{r=t;try{i()}catch(a){zs(r,a)}}n=n.next}while(n!==e)}break;case 1:if(vu(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){zs(t,a)}break;case 5:vu(t);break;case 4:xu(e,t)}}function ku(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function wu(e){return 5===e.tag||3===e.tag||4===e.tag}function _u(e){e:{for(var t=e.return;null!==t;){if(wu(t))break e;t=t.return}throw Error(o(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.flags&&(me(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||wu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Su(e,n,t):Ou(e,n,t)}function Su(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(Su(e,t,n),e=e.sibling;null!==e;)Su(e,t,n),e=e.sibling}function Ou(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Ou(e,t,n),e=e.sibling;null!==e;)Ou(e,t,n),e=e.sibling}function xu(e,t){for(var n,r,i=t,a=!1;;){if(!a){a=i.return;e:for(;;){if(null===a)throw Error(o(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===i.tag||6===i.tag){e:for(var u=e,s=i,c=s;;)if(gu(u,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===s)break e;for(;null===c.sibling;){if(null===c.return||c.return===s)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(u=n,s=i.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(gu(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(a=!1)}i.sibling.return=i.return,i=i.sibling}}function ju(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Zr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),xe(e,i),t=xe(e,r),i=0;i<a.length;i+=2){var u=a[i],s=a[i+1];"style"===u?_e(n,s):"dangerouslySetInnerHTML"===u?be(n,s):"children"===u?me(n,s):k(n,u,s,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?oe(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?oe(n,!!r.multiple,r.defaultValue,!0):oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,_t(n.containerInfo)));case 13:return null!==t.memoizedState&&($u=Wi(),mu(t.child,!0)),void Tu(t);case 19:return void Tu(t);case 23:case 24:return void mu(t,null!==t.memoizedState)}throw Error(o(163))}function Tu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hu),t.forEach((function(t){var r=Vs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Cu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Iu=Math.ceil,Eu=w.ReactCurrentDispatcher,Au=w.ReactCurrentOwner,Mu=0,Ru=null,Pu=null,Lu=0,Du=0,Bu=ci(0),Nu=0,Fu=null,zu=0,Uu=0,Vu=0,Wu=0,Hu=null,$u=0,Yu=1/0;function qu(){Yu=Wi()+500}var Gu,Ku=null,Qu=!1,Xu=null,Ju=null,Zu=!1,es=null,ts=90,ns=[],rs=[],is=null,as=0,os=null,us=-1,ss=0,cs=0,ls=null,fs=!1;function ds(){return 0!==(48&Mu)?Wi():-1!==us?us:us=Wi()}function ps(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Hi()?1:2;if(0===ss&&(ss=zu),0!==Qi.transition){0!==cs&&(cs=null!==Hu?Hu.pendingLanes:0),e=ss;var t=4186112&~cs;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Hi(),0!==(4&Mu)&&98===e?e=zt(12,ss):e=zt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ss),e}function hs(e,t,n){if(50<as)throw as=0,os=null,Error(o(185));if(null===(e=vs(e,t)))return null;Wt(e,t,n),e===Ru&&(Vu|=t,4===Nu&&ms(e,Lu));var r=Hi();1===t?0!==(8&Mu)&&0===(48&Mu)?gs(e):(ys(e,n),0===Mu&&(qu(),Gi())):(0===(4&Mu)||98!==r&&99!==r||(null===is?is=new Set([e]):is.add(e)),ys(e,n)),Hu=e}function vs(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function ys(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,u=e.pendingLanes;0<u;){var s=31-Ht(u),c=1<<s,l=a[s];if(-1===l){if(0===(c&r)||0!==(c&i)){l=t,Bt(c);var f=Dt;a[s]=10<=f?l+250:6<=f?l+5e3:-1}}else l<=t&&(e.expiredLanes|=c);u&=~c}if(r=Nt(e,e===Ru?Lu:0),t=Dt,0===r)null!==n&&(n!==Bi&&Ti(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Bi&&Ti(n)}15===t?(n=gs.bind(null,e),null===Fi?(Fi=[n],zi=ji(Mi,Ki)):Fi.push(n),n=Bi):14===t?n=qi(99,gs.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(o(358,e))}}(t),n=qi(n,bs.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function bs(e){if(us=-1,cs=ss=0,0!==(48&Mu))throw Error(o(327));var t=e.callbackNode;if(Ls()&&e.callbackNode!==t)return null;var n=Nt(e,e===Ru?Lu:0);if(0===n)return null;var r=n,i=Mu;Mu|=16;var a=js();for(Ru===e&&Lu===r||(qu(),Os(e,r));;)try{Is();break}catch(s){xs(e,s)}if(na(),Eu.current=a,Mu=i,null!==Pu?r=0:(Ru=null,Lu=0,r=Nu),0!==(zu&Vu))Os(e,0);else if(0!==r){if(2===r&&(Mu|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(n=Ft(e))&&(r=Ts(e,n))),1===r)throw t=Fu,Os(e,0),ms(e,n),ys(e,Wi()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(o(345));case 2:case 5:Ms(e);break;case 3:if(ms(e,n),(62914560&n)===n&&10<(r=$u+500-Wi())){if(0!==Nt(e,0))break;if(((i=e.suspendedLanes)&n)!==n){ds(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=$r(Ms.bind(null,e),r);break}Ms(e);break;case 4:if(ms(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var u=31-Ht(n);a=1<<u,(u=r[u])>i&&(i=u),n&=~a}if(n=i,10<(n=(120>(n=Wi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Iu(n/1960))-n)){e.timeoutHandle=$r(Ms.bind(null,e),n);break}Ms(e);break;default:throw Error(o(329))}}return ys(e,Wi()),e.callbackNode===t?bs.bind(null,e):null}function ms(e,t){for(t&=~Wu,t&=~Vu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function gs(e){if(0!==(48&Mu))throw Error(o(327));if(Ls(),e===Ru&&0!==(e.expiredLanes&Lu)){var t=Lu,n=Ts(e,t);0!==(zu&Vu)&&(n=Ts(e,t=Nt(e,t)))}else n=Ts(e,t=Nt(e,0));if(0!==e.tag&&2===n&&(Mu|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(t=Ft(e))&&(n=Ts(e,t))),1===n)throw n=Fu,Os(e,0),ms(e,t),ys(e,Wi()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ms(e),ys(e,Wi()),null}function ks(e,t){var n=Mu;Mu|=1;try{return e(t)}finally{0===(Mu=n)&&(qu(),Gi())}}function ws(e,t){var n=Mu;Mu&=-2,Mu|=8;try{return e(t)}finally{0===(Mu=n)&&(qu(),Gi())}}function _s(e,t){fi(Bu,Du),Du|=t,zu|=t}function Ss(){Du=Bu.current,li(Bu)}function Os(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Yr(n)),null!==Pu)for(n=Pu.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&mi();break;case 3:Pa(),li(hi),li(pi),Ka();break;case 5:Da(r);break;case 4:Pa();break;case 13:case 19:li(Ba);break;case 10:ra(r);break;case 23:case 24:Ss()}n=n.return}Ru=e,Pu=Ys(e.current,null),Lu=Du=zu=t,Nu=0,Fu=null,Wu=Vu=Uu=0}function xs(e,t){for(;;){var n=Pu;try{if(na(),Qa.current=Mo,no){for(var r=Za.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}no=!1}if(Ja=0,to=eo=Za=null,ro=!1,Au.current=null,null===n||null===n.return){Nu=1,Fu=t,Pu=null;break}e:{var a=e,o=n.return,u=n,s=t;if(t=Lu,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s;if(0===(2&u.mode)){var l=u.alternate;l?(u.updateQueue=l.updateQueue,u.memoizedState=l.memoizedState,u.lanes=l.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=0!==(1&Ba.current),d=o;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var v=d.memoizedProps;p=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!f)}}if(p){var y=d.updateQueue;if(null===y){var b=new Set;b.add(c),d.updateQueue=b}else y.add(c);if(0===(2&d.mode)){if(d.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var m=la(-1,1);m.tag=2,fa(u,m)}u.lanes|=1;break e}s=void 0,u=t;var g=a.pingCache;if(null===g?(g=a.pingCache=new fu,s=new Set,g.set(c,s)):void 0===(s=g.get(c))&&(s=new Set,g.set(c,s)),!s.has(u)){s.add(u);var k=Us.bind(null,a,c,u);c.then(k,k)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);s=Error((q(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Nu&&(Nu=2),s=cu(s,u),d=o;do{switch(d.tag){case 3:a=s,d.flags|=4096,t&=-t,d.lanes|=t,da(d,du(0,a,t));break e;case 1:a=s;var w=d.type,_=d.stateNode;if(0===(64&d.flags)&&("function"===typeof w.getDerivedStateFromError||null!==_&&"function"===typeof _.componentDidCatch&&(null===Ju||!Ju.has(_)))){d.flags|=4096,t&=-t,d.lanes|=t,da(d,pu(d,a,t));break e}}d=d.return}while(null!==d)}As(n)}catch(S){t=S,Pu===n&&null!==n&&(Pu=n=n.return);continue}break}}function js(){var e=Eu.current;return Eu.current=Mo,null===e?Mo:e}function Ts(e,t){var n=Mu;Mu|=16;var r=js();for(Ru===e&&Lu===t||Os(e,t);;)try{Cs();break}catch(i){xs(e,i)}if(na(),Mu=n,Eu.current=r,null!==Pu)throw Error(o(261));return Ru=null,Lu=0,Nu}function Cs(){for(;null!==Pu;)Es(Pu)}function Is(){for(;null!==Pu&&!Ci();)Es(Pu)}function Es(e){var t=Gu(e.alternate,e,Du);e.memoizedProps=e.pendingProps,null===t?As(e):Pu=t,Au.current=null}function As(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=uu(n,t,Du)))return void(Pu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Du)||0===(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=su(t)))return n.flags&=2047,void(Pu=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Pu=t);Pu=t=e}while(null!==t);0===Nu&&(Nu=5)}function Ms(e){var t=Hi();return Yi(99,Rs.bind(null,e,t)),null}function Rs(e,t){do{Ls()}while(null!==es);if(0!==(48&Mu))throw Error(o(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,a=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var u=e.eventTimes,s=e.expirationTimes;0<a;){var c=31-Ht(a),l=1<<c;i[c]=0,u[c]=-1,s[c]=-1,a&=~l}if(null!==is&&0===(24&r)&&is.has(e)&&is.delete(e),e===Ru&&(Pu=Ru=null,Lu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=Mu,Mu|=32,Au.current=null,Ur=Kt,br(u=yr())){if("selectionStart"in u)s={start:u.selectionStart,end:u.selectionEnd};else e:if(s=(s=u.ownerDocument)&&s.defaultView||window,(l=s.getSelection&&s.getSelection())&&0!==l.rangeCount){s=l.anchorNode,a=l.anchorOffset,c=l.focusNode,l=l.focusOffset;try{s.nodeType,c.nodeType}catch(j){s=null;break e}var f=0,d=-1,p=-1,h=0,v=0,y=u,b=null;t:for(;;){for(var m;y!==s||0!==a&&3!==y.nodeType||(d=f+a),y!==c||0!==l&&3!==y.nodeType||(p=f+l),3===y.nodeType&&(f+=y.nodeValue.length),null!==(m=y.firstChild);)b=y,y=m;for(;;){if(y===u)break t;if(b===s&&++h===a&&(d=f),b===c&&++v===l&&(p=f),null!==(m=y.nextSibling))break;b=(y=b).parentNode}y=m}s=-1===d||-1===p?null:{start:d,end:p}}else s=null;s=s||{start:0,end:0}}else s=null;Vr={focusedElem:u,selectionRange:s},Kt=!1,ls=null,fs=!1,Ku=r;do{try{Ps()}catch(j){if(null===Ku)throw Error(o(330));zs(Ku,j),Ku=Ku.nextEffect}}while(null!==Ku);ls=null,Ku=r;do{try{for(u=e;null!==Ku;){var g=Ku.flags;if(16&g&&me(Ku.stateNode,""),128&g){var k=Ku.alternate;if(null!==k){var w=k.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&g){case 2:_u(Ku),Ku.flags&=-3;break;case 6:_u(Ku),Ku.flags&=-3,ju(Ku.alternate,Ku);break;case 1024:Ku.flags&=-1025;break;case 1028:Ku.flags&=-1025,ju(Ku.alternate,Ku);break;case 4:ju(Ku.alternate,Ku);break;case 8:xu(u,s=Ku);var _=s.alternate;ku(s),null!==_&&ku(_)}Ku=Ku.nextEffect}}catch(j){if(null===Ku)throw Error(o(330));zs(Ku,j),Ku=Ku.nextEffect}}while(null!==Ku);if(w=Vr,k=yr(),g=w.focusedElem,u=w.selectionRange,k!==g&&g&&g.ownerDocument&&vr(g.ownerDocument.documentElement,g)){null!==u&&br(g)&&(k=u.start,void 0===(w=u.end)&&(w=k),"selectionStart"in g?(g.selectionStart=k,g.selectionEnd=Math.min(w,g.value.length)):(w=(k=g.ownerDocument||document)&&k.defaultView||window).getSelection&&(w=w.getSelection(),s=g.textContent.length,_=Math.min(u.start,s),u=void 0===u.end?_:Math.min(u.end,s),!w.extend&&_>u&&(s=u,u=_,_=s),s=hr(g,_),a=hr(g,u),s&&a&&(1!==w.rangeCount||w.anchorNode!==s.node||w.anchorOffset!==s.offset||w.focusNode!==a.node||w.focusOffset!==a.offset)&&((k=k.createRange()).setStart(s.node,s.offset),w.removeAllRanges(),_>u?(w.addRange(k),w.extend(a.node,a.offset)):(k.setEnd(a.node,a.offset),w.addRange(k))))),k=[];for(w=g;w=w.parentNode;)1===w.nodeType&&k.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof g.focus&&g.focus(),g=0;g<k.length;g++)(w=k[g]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Kt=!!Ur,Vr=Ur=null,e.current=n,Ku=r;do{try{for(g=e;null!==Ku;){var S=Ku.flags;if(36&S&&bu(g,Ku.alternate,Ku),128&S){k=void 0;var O=Ku.ref;if(null!==O){var x=Ku.stateNode;Ku.tag,k=x,"function"===typeof O?O(k):O.current=k}}Ku=Ku.nextEffect}}catch(j){if(null===Ku)throw Error(o(330));zs(Ku,j),Ku=Ku.nextEffect}}while(null!==Ku);Ku=null,Ni(),Mu=i}else e.current=n;if(Zu)Zu=!1,es=e,ts=t;else for(Ku=r;null!==Ku;)t=Ku.nextEffect,Ku.nextEffect=null,8&Ku.flags&&((S=Ku).sibling=null,S.stateNode=null),Ku=t;if(0===(r=e.pendingLanes)&&(Ju=null),1===r?e===os?as++:(as=0,os=e):as=0,n=n.stateNode,Oi&&"function"===typeof Oi.onCommitFiberRoot)try{Oi.onCommitFiberRoot(Si,n,void 0,64===(64&n.current.flags))}catch(j){}if(ys(e,Wi()),Qu)throw Qu=!1,e=Xu,Xu=null,e;return 0!==(8&Mu)||Gi(),null}function Ps(){for(;null!==Ku;){var e=Ku.alternate;fs||null===ls||(0!==(8&Ku.flags)?et(Ku,ls)&&(fs=!0):13===Ku.tag&&Cu(e,Ku)&&et(Ku,ls)&&(fs=!0));var t=Ku.flags;0!==(256&t)&&yu(e,Ku),0===(512&t)||Zu||(Zu=!0,qi(97,(function(){return Ls(),null}))),Ku=Ku.nextEffect}}function Ls(){if(90!==ts){var e=97<ts?97:ts;return ts=90,Yi(e,Ns)}return!1}function Ds(e,t){ns.push(t,e),Zu||(Zu=!0,qi(97,(function(){return Ls(),null})))}function Bs(e,t){rs.push(t,e),Zu||(Zu=!0,qi(97,(function(){return Ls(),null})))}function Ns(){if(null===es)return!1;var e=es;if(es=null,0!==(48&Mu))throw Error(o(331));var t=Mu;Mu|=32;var n=rs;rs=[];for(var r=0;r<n.length;r+=2){var i=n[r],a=n[r+1],u=i.destroy;if(i.destroy=void 0,"function"===typeof u)try{u()}catch(c){if(null===a)throw Error(o(330));zs(a,c)}}for(n=ns,ns=[],r=0;r<n.length;r+=2){i=n[r],a=n[r+1];try{var s=i.create;i.destroy=s()}catch(c){if(null===a)throw Error(o(330));zs(a,c)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return Mu=t,Gi(),!0}function Fs(e,t,n){fa(e,t=du(0,t=cu(n,t),1)),t=ds(),null!==(e=vs(e,1))&&(Wt(e,1,t),ys(e,t))}function zs(e,t){if(3===e.tag)Fs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Fs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ju||!Ju.has(r))){var i=pu(n,e=cu(t,e),1);if(fa(n,i),i=ds(),null!==(n=vs(n,1)))Wt(n,1,i),ys(n,i);else if("function"===typeof r.componentDidCatch&&(null===Ju||!Ju.has(r)))try{r.componentDidCatch(t,e)}catch(a){}break}}n=n.return}}function Us(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ds(),e.pingedLanes|=e.suspendedLanes&n,Ru===e&&(Lu&n)===n&&(4===Nu||3===Nu&&(62914560&Lu)===Lu&&500>Wi()-$u?Os(e,0):Wu|=n),ys(e,t)}function Vs(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Hi()?1:2:(0===ss&&(ss=zu),0===(t=Ut(62914560&~ss))&&(t=4194304))),n=ds(),null!==(e=vs(e,t))&&(Wt(e,t,n),ys(e,n))}function Ws(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hs(e,t,n,r){return new Ws(e,t,n,r)}function $s(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ys(e,t){var n=e.alternate;return null===n?((n=Hs(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qs(e,t,n,r,i,a){var u=2;if(r=e,"function"===typeof e)$s(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case O:return Gs(n.children,i,a,t);case D:u=8,i|=16;break;case x:u=8,i|=1;break;case j:return(e=Hs(12,n,t,8|i)).elementType=j,e.type=j,e.lanes=a,e;case E:return(e=Hs(13,n,t,i)).type=E,e.elementType=E,e.lanes=a,e;case A:return(e=Hs(19,n,t,i)).elementType=A,e.lanes=a,e;case B:return Ks(n,i,a,t);case N:return(e=Hs(24,n,t,i)).elementType=N,e.lanes=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case T:u=10;break e;case C:u=9;break e;case I:u=11;break e;case M:u=14;break e;case R:u=16,r=null;break e;case P:u=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Hs(u,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Gs(e,t,n,r){return(e=Hs(7,e,r,t)).lanes=n,e}function Ks(e,t,n,r){return(e=Hs(23,e,r,t)).elementType=B,e.lanes=n,e}function Qs(e,t,n){return(e=Hs(6,e,null,t)).lanes=n,e}function Xs(e,t,n){return(t=Hs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Js(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.mutableSourceEagerHydrationData=null}function Zs(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ec(e,t,n,r){var i=t.current,a=ds(),u=ps(i);e:if(n){t:{if(Qe(n=n._reactInternals)!==n||1!==n.tag)throw Error(o(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(bi(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(o(171))}if(1===n.tag){var c=n.type;if(bi(c)){n=ki(n,c,s);break e}}n=s}else n=di;return null===t.context?t.context=n:t.pendingContext=n,(t=la(a,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fa(i,t),hs(i,u,a),u}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function ic(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Js(e,t,null!=n&&!0===n.hydrate),t=Hs(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,sa(t),e[ei]=n.current,Mr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function ac(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function oc(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a._internalRoot;if("function"===typeof i){var u=i;i=function(){var e=tc(o);u.call(e)}}ec(t,o,e,i)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ic(e,0,t?{hydrate:!0}:void 0)}(n,r),o=a._internalRoot,"function"===typeof i){var s=i;i=function(){var e=tc(o);s.call(e)}}ws((function(){ec(t,o,e,i)}))}return tc(o)}function uc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ac(t))throw Error(o(200));return Zs(e,t,null,n)}Gu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||hi.current)Bo=!0;else{if(0===(n&r)){switch(Bo=!1,t.tag){case 3:qo(t),qa();break;case 5:La(t);break;case 1:bi(t.type)&&wi(t);break;case 4:Ra(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;fi(Ji,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Jo(e,t,n):(fi(Ba,1&Ba.current),null!==(t=au(e,t,n))?t.sibling:null);fi(Ba,1&Ba.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return iu(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),fi(Ba,Ba.current),r)break;return null;case 23:case 24:return t.lanes=0,Vo(e,t,n)}return au(e,t,n)}Bo=0!==(16384&e.flags)}else Bo=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=yi(t,pi.current),aa(t,n),i=oo(null,t,r,e,i,n),t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,bi(r)){var a=!0;wi(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,sa(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&ya(t,r,u,e),i.updater=ba,t.stateNode=i,i._reactInternals=t,wa(t,r,e,n),t=Yo(null,t,r,!0,a,n)}else t.tag=0,No(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(a=i._init)(i._payload),t.type=i,a=t.tag=function(e){if("function"===typeof e)return $s(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===I)return 11;if(e===M)return 14}return 2}(i),e=Xi(i,e),a){case 0:t=Ho(null,t,i,e,n);break e;case 1:t=$o(null,t,i,e,n);break e;case 11:t=Fo(null,t,i,e,n);break e;case 14:t=zo(null,t,i,Xi(i.type,e),r,n);break e}throw Error(o(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ho(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 1:return r=t.type,i=t.pendingProps,$o(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 3:if(qo(t),r=t.updateQueue,null===e||null===r)throw Error(o(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ca(e,t),pa(t,r,null,n),(r=t.memoizedState.element)===i)qa(),t=au(e,t,n);else{if((a=(i=t.stateNode).hydrate)&&(za=Gr(t.stateNode.containerInfo.firstChild),Fa=t,a=Ua=!0),a){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(a=e[i])._workInProgressVersionPrimary=e[i+1],Ga.push(a);for(n=Ta(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else No(e,t,r,n),qa();t=t.child}return t;case 5:return La(t),null===e&&Ha(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,u=i.children,Hr(r,i)?u=null:null!==a&&Hr(r,a)&&(t.flags|=16),Wo(e,t),No(e,t,u,n),t.child;case 6:return null===e&&Ha(t),null;case 13:return Jo(e,t,n);case 4:return Ra(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ja(t,null,r,n):No(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Fo(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 7:return No(e,t,t.pendingProps,n),t.child;case 8:case 12:return No(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,u=t.memoizedProps,a=i.value;var s=t.type._context;if(fi(Ji,s._currentValue),s._currentValue=a,null!==u)if(s=u.value,0===(a=lr(s,a)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(s,a):1073741823))){if(u.children===i.children&&!hi.current){t=au(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.dependencies;if(null!==c){u=s.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!==(l.observedBits&a)){1===s.tag&&((l=la(-1,n&-n)).tag=2,fa(s,l)),s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),ia(s.return,n),c.lanes|=n;break}l=l.next}}else u=10===s.tag&&s.type===t.type?null:s.child;if(null!==u)u.return=s;else for(u=s;null!==u;){if(u===t){u=null;break}if(null!==(s=u.sibling)){s.return=u.return,u=s;break}u=u.return}s=u}No(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(a=t.pendingProps).children,aa(t,n),r=r(i=oa(i,a.unstable_observedBits)),t.flags|=1,No(e,t,r,n),t.child;case 14:return a=Xi(i=t.type,t.pendingProps),zo(e,t,i,a=Xi(i.type,a),r,n);case 15:return Uo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,bi(r)?(e=!0,wi(t)):e=!1,aa(t,n),ga(t,r,i),wa(t,r,i,n),Yo(null,t,r,!0,e,n);case 19:return iu(e,t,n);case 23:case 24:return Vo(e,t,n)}throw Error(o(156,t.tag))},ic.prototype.render=function(e){ec(e,this._internalRoot,null,null)},ic.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[ei]=null}))},tt=function(e){13===e.tag&&(hs(e,4,ds()),rc(e,4))},nt=function(e){13===e.tag&&(hs(e,67108864,ds()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=ds(),n=ps(e);hs(e,n,t),rc(e,n)}},it=function(e,t){return t()},Te=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ai(r);if(!i)throw Error(o(90));X(r),ne(r,i)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&oe(e,!!n.multiple,t,!1)}},Re=ks,Pe=function(e,t,n,r,i){var a=Mu;Mu|=4;try{return Yi(98,e.bind(null,t,n,r,i))}finally{0===(Mu=a)&&(qu(),Gi())}},Le=function(){0===(49&Mu)&&(function(){if(null!==is){var e=is;is=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,ys(e,Wi())}))}Gi()}(),Ls())},De=function(e,t){var n=Mu;Mu|=2;try{return e(t)}finally{0===(Mu=n)&&(qu(),Gi())}};var sc={Events:[ri,ii,ai,Ae,Me,Ls,{current:!1}]},cc={findFiberByHostInstance:ni,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},lc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var fc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fc.isDisabled&&fc.supportsFiber)try{Si=fc.inject(lc),Oi=fc}catch(ye){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sc,t.createPortal=uc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return e=null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Mu;if(0!==(48&n))return e(t);Mu|=1;try{if(e)return Yi(99,e.bind(null,t))}finally{Mu=n,Gi()}},t.hydrate=function(e,t,n){if(!ac(t))throw Error(o(200));return oc(null,e,t,!0,n)},t.render=function(e,t,n){if(!ac(t))throw Error(o(200));return oc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ac(e))throw Error(o(40));return!!e._reactRootContainer&&(ws((function(){oc(null,null,e,!1,(function(){e._reactRootContainer=null,e[ei]=null}))})),!0)},t.unstable_batchedUpdates=ks,t.unstable_createPortal=function(e,t){return uc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ac(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return oc(e,t,n,!1,r)},t.version="17.0.2"},function(e,t,n){"use strict";e.exports=n(90)},function(e,t,n){"use strict";var r,i,a,o;if("object"===typeof performance&&"function"===typeof performance.now){var u=performance;t.unstable_now=function(){return u.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var l=null,f=null,d=function e(){if(null!==l)try{var n=t.unstable_now();l(!0,n),l=null}catch(r){throw setTimeout(e,0),r}};r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(d,0))},i=function(e,t){f=setTimeout(e,t)},a=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,b=null,m=-1,g=5,k=0;t.unstable_shouldYield=function(){return t.unstable_now()>=k},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,_=w.port2;w.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();k=e+g;try{b(!0,e)?_.postMessage(null):(y=!1,b=null)}catch(n){throw _.postMessage(null),n}}else y=!1},r=function(e){b=e,y||(y=!0,_.postMessage(null))},i=function(e,n){m=p((function(){e(t.unstable_now())}),n)},a=function(){h(m),m=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<j(i,t)))break e;e[r]=t,e[n]=i,n=r}}function O(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var a=2*(r+1)-1,o=e[a],u=a+1,s=e[u];if(void 0!==o&&0>j(o,n))void 0!==s&&0>j(s,o)?(e[r]=s,e[u]=n,r=u):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==s&&0>j(s,n)))break e;e[r]=s,e[u]=n,r=u}}}return t}return null}function j(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],C=[],I=1,E=null,A=3,M=!1,R=!1,P=!1;function L(e){for(var t=O(C);null!==t;){if(null===t.callback)x(C);else{if(!(t.startTime<=e))break;x(C),t.sortIndex=t.expirationTime,S(T,t)}t=O(C)}}function D(e){if(P=!1,L(e),!R)if(null!==O(T))R=!0,r(B);else{var t=O(C);null!==t&&i(D,t.startTime-e)}}function B(e,n){R=!1,P&&(P=!1,a()),M=!0;var r=A;try{for(L(n),E=O(T);null!==E&&(!(E.expirationTime>n)||e&&!t.unstable_shouldYield());){var o=E.callback;if("function"===typeof o){E.callback=null,A=E.priorityLevel;var u=o(E.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?E.callback=u:E===O(T)&&x(T),L(n)}else x(T);E=O(T)}if(null!==E)var s=!0;else{var c=O(C);null!==c&&i(D,c.startTime-n),s=!1}return s}finally{E=null,A=r,M=!1}}var N=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||M||(R=!0,r(B))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return O(T)},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var n=A;A=t;try{return e()}finally{A=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=N,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=A;A=e;try{return t()}finally{A=n}},t.unstable_scheduleCallback=function(e,n,o){var u=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?u+o:u:o=u,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:I++,callback:n,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>u?(e.sortIndex=o,S(C,e),null===O(T)&&e===O(C)&&(P?a():P=!0,i(D,o-u))):(e.sortIndex=s,S(T,e),R||M||(R=!0,r(B))),e},t.unstable_wrapCallback=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useRenderData=void 0;var s=n(2),c=o(n(0)),l=n(25),f=n(68),d=u(n(97)),p=c.default.createContext(void 0);t.useRenderData=function(){var e=(0,c.useContext)(p);if(null==e)throw new Error("useRenderData() must be used inside <StreamlitProvider />");return e};t.default=function(e){var t=(0,f.useNullableRenderData)();return(0,c.useEffect)((function(){l.Streamlit.setFrameHeight()})),null==t?null:(0,s.jsx)(d.default,{children:(0,s.jsx)(p.Provider,r({value:t},{children:e.children}),void 0)},void 0)}},function(e,t,n){"use strict";n(52);var r=n(0),i=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var a=Symbol.for;i=a("react.element"),t.Fragment=a("react.fragment")}var o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)u.call(t,r)&&!s.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:l,props:a,_owner:o.current}}t.jsx=c,t.jsxs=c},function(e,t,n){"use strict";e.exports=n(94)},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,k=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case d:case o:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case b:case y:case c:return e;default:return t}}case a:return t}}}function S(e){return _(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=p,t.Fragment=o,t.Lazy=b,t.Memo=y,t.Portal=a,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||_(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return _(e)===l},t.isContextProvider=function(e){return _(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return _(e)===p},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===b},t.isMemo=function(e){return _(e)===y},t.isPortal=function(e){return _(e)===a},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===u},t.isSuspense=function(e){return _(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===u||e===h||e===v||"object"===typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===y||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===g||e.$$typeof===k||e.$$typeof===w||e.$$typeof===m)},t.typeOf=_},function(e,t,n){"use strict";var r=n(52),i="function"===typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,o=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116,y="function"===typeof Symbol&&Symbol.iterator;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function k(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function w(){}function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(b(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=k.prototype;var S=_.prototype=new w;S.constructor=_,r(S,k.prototype),S.isPureReactComponent=!0;var O={current:null},x=Object.prototype.hasOwnProperty,j={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,n){var r,i={},o=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(o=""+t.key),t)x.call(t,r)&&!j.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:a,type:e,key:o,ref:u,props:i,_owner:O.current}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===a}var I=/\/+/g,E=[];function A(e,t,n,r){if(E.length){var i=E.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>E.length&&E.push(e)}function R(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u=!1;if(null===e)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case a:case o:u=!0}}if(u)return n(r,e,""===t?"."+L(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){var c=t+L(i=e[s],s);u+=R(i,c,n,r)}else if(null===e||"object"!==typeof e?c=null:c="function"===typeof(c=y&&e[y]||e["@@iterator"])?c:null,"function"===typeof c)for(e=c.call(e),s=0;!(i=e.next()).done;)u+=R(i=i.value,c=t+L(i,s++),n,r);else if("object"===i)throw n=""+e,Error(b(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return u}function P(e,t,n){return null==e?0:R(e,"",t,n)}function L(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function D(e,t){e.func.call(e.context,t,e.count++)}function B(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?N(e,r,n,(function(e){return e})):null!=e&&(C(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(I,"$&/")+"/")+n)),r.push(e))}function N(e,t,n,r,i){var a="";null!=n&&(a=(""+n).replace(I,"$&/")+"/"),P(e,B,t=A(t,a,r,i)),M(t)}var F={current:null};function z(){var e=F.current;if(null===e)throw Error(b(321));return e}var U={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:O,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return N(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;P(e,D,t=A(null,null,t,n)),M(t)},count:function(e){return P(e,(function(){return null}),null)},toArray:function(e){var t=[];return N(e,t,null,(function(e){return e})),t},only:function(e){if(!C(e))throw Error(b(143));return e}},t.Component=k,t.Fragment=u,t.Profiler=c,t.PureComponent=_,t.StrictMode=s,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(b(267,e));var i=r({},e.props),o=e.key,u=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,s=O.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)x.call(t,l)&&!j.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:a,type:e.type,key:o,ref:u,props:i,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=T,t.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return z().useCallback(e,t)},t.useContext=function(e,t){return z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return z().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return z().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return z().useMemo(e,t)},t.useReducer=function(e,t,n){return z().useReducer(e,t,n)},t.useRef=function(e){return z().useRef(e)},t.useState=function(e){return z().useState(e)},t.version="16.14.0"},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(A){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),o=new C(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw a;return E()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var u=x(o,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?h:d,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,o),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=c;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function y(){}function b(){}function m(){}var g={};g[a]=function(){return this};var k=Object.getPrototypeOf,w=k&&k(k(I([])));w&&w!==n&&r.call(w,a)&&(g=w);var _=m.prototype=y.prototype=Object.create(g);function S(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(i,a,o,u){var s=l(e[i],e,a);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(f).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var i;this._invoke=function(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}}function x(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function I(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:E}}function E(){return{value:t,done:!0}}return b.prototype=_.constructor=m,m.constructor=b,b.displayName=s(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},S(O.prototype),O.prototype[o]=function(){return this},e.AsyncIterator=O,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new O(c(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(_),s(_,u,"Generator"),_[a]=function(){return this},_.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=I,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return u.type="throw",u.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),o=function(e){function t(t){var n=e.call(this,t)||this;return n.state={error:void 0},n}return r(t,e),t.getDerivedStateFromError=function(e){return{error:e}},t.prototype.render=function(){return null!=this.state.error?(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{children:"Component Error"},void 0),(0,a.jsx)("span",{children:this.state.error.message},void 0)]},void 0):this.props.children},t}(i(n(0)).default.PureComponent);t.default=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(0);var r=n(39),i=n(32);function a(){return Object(r.a)(i.a)}},,function(e,t,n){"use strict";n.r(t),n.d(t,"capitalize",(function(){return i.a})),n.d(t,"createChainedFunction",(function(){return a})),n.d(t,"createSvgIcon",(function(){return o.a})),n.d(t,"debounce",(function(){return u})),n.d(t,"deprecatedPropType",(function(){return s})),n.d(t,"isMuiElement",(function(){return c.a})),n.d(t,"ownerDocument",(function(){return l})),n.d(t,"ownerWindow",(function(){return f})),n.d(t,"requirePropFactory",(function(){return d})),n.d(t,"setRef",(function(){return p})),n.d(t,"unstable_useEnhancedEffect",(function(){return h.a})),n.d(t,"unstable_useId",(function(){return g})),n.d(t,"unsupportedProp",(function(){return k})),n.d(t,"useControlled",(function(){return w})),n.d(t,"useEventCallback",(function(){return _.a})),n.d(t,"useForkRef",(function(){return S.a})),n.d(t,"useIsFocusVisible",(function(){return O.a})),n.d(t,"unstable_ClassNameGenerator",(function(){return x}));var r=n(105),i=n(12);var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))},o=n(23),u=n(136).a;var s=function(e,t){return function(){return null}},c=n(46),l=n(74).a,f=n(137).a;n(3);var d=function(e,t){return function(){return null}},p=n(75).a,h=n(42),v=n(8),y=n(0),b=0;var m=y.useId;var g=function(e){if(void 0!==m){var t=m();return null!=e?e:t}return function(e){var t=y.useState(e),n=Object(v.a)(t,2),r=n[0],i=n[1],a=e||r;return y.useEffect((function(){null==r&&i("mui-".concat(b+=1))}),[r]),a}(e)};var k=function(e,t,n,r,i){return null};var w=function(e){var t=e.controlled,n=e.default,r=(e.name,e.state,y.useRef(void 0!==t).current),i=y.useState(n),a=Object(v.a)(i,2),o=a[0],u=a[1];return[r?t:o,y.useCallback((function(e){r||u(e)}),[])]},_=n(40),S=n(38),O=n(53),x={configure:function(e){console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),r.a.configure(e)}}},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"shimGetUserMedia",(function(){return _})),n.d(r,"shimGetDisplayMedia",(function(){return S})),n.d(r,"shimMediaStream",(function(){return O})),n.d(r,"shimOnTrack",(function(){return x})),n.d(r,"shimGetSendersWithDtmf",(function(){return j})),n.d(r,"shimGetStats",(function(){return T})),n.d(r,"shimSenderReceiverGetStats",(function(){return C})),n.d(r,"shimAddTrackRemoveTrackWithNative",(function(){return I})),n.d(r,"shimAddTrackRemoveTrack",(function(){return E})),n.d(r,"shimPeerConnection",(function(){return A})),n.d(r,"fixNegotiationNeeded",(function(){return M}));var i={};n.r(i),n.d(i,"shimGetUserMedia",(function(){return P})),n.d(i,"shimGetDisplayMedia",(function(){return L})),n.d(i,"shimOnTrack",(function(){return D})),n.d(i,"shimPeerConnection",(function(){return B})),n.d(i,"shimSenderGetStats",(function(){return N})),n.d(i,"shimReceiverGetStats",(function(){return F})),n.d(i,"shimRemoveStream",(function(){return z})),n.d(i,"shimRTCDataChannel",(function(){return U})),n.d(i,"shimAddTransceiver",(function(){return V})),n.d(i,"shimGetParameters",(function(){return W})),n.d(i,"shimCreateOffer",(function(){return H})),n.d(i,"shimCreateAnswer",(function(){return $}));var a={};n.r(a),n.d(a,"shimLocalStreamsAPI",(function(){return Y})),n.d(a,"shimRemoteStreamsAPI",(function(){return q})),n.d(a,"shimCallbacksAPI",(function(){return G})),n.d(a,"shimGetUserMedia",(function(){return K})),n.d(a,"shimConstraints",(function(){return Q})),n.d(a,"shimRTCIceServerUrls",(function(){return X})),n.d(a,"shimTrackEventTransceiver",(function(){return J})),n.d(a,"shimCreateOfferLegacy",(function(){return Z})),n.d(a,"shimAudioContext",(function(){return ee}));var o={};n.r(o),n.d(o,"shimRTCIceCandidate",(function(){return re})),n.d(o,"shimRTCIceCandidateRelayProtocol",(function(){return ie})),n.d(o,"shimMaxMessageSize",(function(){return ae})),n.d(o,"shimSendThrowTypeError",(function(){return oe})),n.d(o,"shimConnectionState",(function(){return ue})),n.d(o,"removeExtmapAllowMixed",(function(){return se})),n.d(o,"shimAddIceCandidateNullOrEmpty",(function(){return ce})),n.d(o,"shimParameterlessSetLocalDescription",(function(){return le}));var u=n(5),s=!0,c=!0;function l(e,t,n){var r=e.match(t);return r&&r.length>=n&&parseInt(r[n],10)}function f(e,t,n){if(e.RTCPeerConnection){var r=e.RTCPeerConnection.prototype,i=r.addEventListener;r.addEventListener=function(e,r){if(e!==t)return i.apply(this,arguments);var a=function(e){var t=n(e);t&&(r.handleEvent?r.handleEvent(t):r(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(r,a),i.apply(this,[e,a])};var a=r.removeEventListener;r.removeEventListener=function(e,n){if(e!==t||!this._eventMap||!this._eventMap[t])return a.apply(this,arguments);if(!this._eventMap[t].has(n))return a.apply(this,arguments);var r=this._eventMap[t].get(n);return this._eventMap[t].delete(n),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,a.apply(this,[e,r])},Object.defineProperty(r,"on"+t,{get:function(){return this["_on"+t]},set:function(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}}function d(e){return"boolean"!==typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(s=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function p(e){return"boolean"!==typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(c=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function h(){if("object"===typeof window){if(s)return;"undefined"!==typeof console&&"function"===typeof console.log&&console.log.apply(console,arguments)}}function v(e,t){c&&console.warn(e+" is deprecated, please use "+t+" instead.")}function y(e){var t={browser:null,version:null};if("undefined"===typeof e||!e.navigator)return t.browser="Not a browser.",t;var n=e.navigator;if(n.mozGetUserMedia)t.browser="firefox",t.version=l(n.userAgent,/Firefox\/(\d+)\./,1);else if(n.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection)t.browser="chrome",t.version=l(n.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!e.RTCPeerConnection||!n.userAgent.match(/AppleWebKit\/(\d+)\./))return t.browser="Not a supported browser.",t;t.browser="safari",t.version=l(n.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype}return t}function b(e){return"[object Object]"===Object.prototype.toString.call(e)}function m(e){return b(e)?Object.keys(e).reduce((function(t,n){var r=b(e[n]),i=r?m(e[n]):e[n],a=r&&!Object.keys(i).length;return void 0===i||a?t:Object.assign(t,Object(u.a)({},n,i))}),{}):e}function g(e,t,n){t&&!n.has(t.id)&&(n.set(t.id,t),Object.keys(t).forEach((function(r){r.endsWith("Id")?g(e,e.get(t[r]),n):r.endsWith("Ids")&&t[r].forEach((function(t){g(e,e.get(t),n)}))})))}function k(e,t,n){var r=n?"outbound-rtp":"inbound-rtp",i=new Map;if(null===t)return i;var a=[];return e.forEach((function(e){"track"===e.type&&e.trackIdentifier===t.id&&a.push(e)})),a.forEach((function(t){e.forEach((function(n){n.type===r&&n.trackId===t.id&&g(e,n,i)}))})),i}var w=h;function _(e,t){var n=e&&e.navigator;if(n.mediaDevices){var r=function(e){if("object"!==typeof e||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach((function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var r="object"===typeof e[n]?e[n]:{ideal:e[n]};void 0!==r.exact&&"number"===typeof r.exact&&(r.min=r.max=r.exact);var i=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==r.ideal){t.optional=t.optional||[];var a={};"number"===typeof r.ideal?(a[i("min",n)]=r.ideal,t.optional.push(a),(a={})[i("max",n)]=r.ideal,t.optional.push(a)):(a[i("",n)]=r.ideal,t.optional.push(a))}void 0!==r.exact&&"number"!==typeof r.exact?(t.mandatory=t.mandatory||{},t.mandatory[i("",n)]=r.exact):["min","max"].forEach((function(e){void 0!==r[e]&&(t.mandatory=t.mandatory||{},t.mandatory[i(e,n)]=r[e])}))}})),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},i=function(e,i){if(t.version>=61)return i(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"===typeof e.audio){var a=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};a((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),a(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=r(e.audio)}if(e&&"object"===typeof e.video){var o=e.video.facingMode;o=o&&("object"===typeof o?o:{ideal:o});var u,s=t.version<66;if(o&&("user"===o.exact||"environment"===o.exact||"user"===o.ideal||"environment"===o.ideal)&&(!n.mediaDevices.getSupportedConstraints||!n.mediaDevices.getSupportedConstraints().facingMode||s))if(delete e.video.facingMode,"environment"===o.exact||"environment"===o.ideal?u=["back","rear"]:"user"!==o.exact&&"user"!==o.ideal||(u=["front"]),u)return n.mediaDevices.enumerateDevices().then((function(t){var n=(t=t.filter((function(e){return"videoinput"===e.kind}))).find((function(e){return u.some((function(t){return e.label.toLowerCase().includes(t)}))}));return!n&&t.length&&u.includes("back")&&(n=t[t.length-1]),n&&(e.video.deviceId=o.exact?{exact:n.deviceId}:{ideal:n.deviceId}),e.video=r(e.video),w("chrome: "+JSON.stringify(e)),i(e)}));e.video=r(e.video)}return w("chrome: "+JSON.stringify(e)),i(e)},a=function(e){return t.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};if(n.getUserMedia=function(e,t,r){i(e,(function(e){n.webkitGetUserMedia(e,t,(function(e){r&&r(a(e))}))}))}.bind(n),n.mediaDevices.getUserMedia){var o=n.mediaDevices.getUserMedia.bind(n.mediaDevices);n.mediaDevices.getUserMedia=function(e){return i(e,(function(e){return o(e).then((function(t){if(e.audio&&!t.getAudioTracks().length||e.video&&!t.getVideoTracks().length)throw t.getTracks().forEach((function(e){e.stop()})),new DOMException("","NotFoundError");return t}),(function(e){return Promise.reject(a(e))}))}))}}}}function S(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&("function"===typeof t?e.navigator.mediaDevices.getDisplayMedia=function(n){return t(n).then((function(t){var r=n.video&&n.video.width,i=n.video&&n.video.height,a=n.video&&n.video.frameRate;return n.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t,maxFrameRate:a||3}},r&&(n.video.mandatory.maxWidth=r),i&&(n.video.mandatory.maxHeight=i),e.navigator.mediaDevices.getUserMedia(n)}))}:console.error("shimGetDisplayMedia: getSourceId argument is not a function"))}function O(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function x(e){if("object"===typeof e&&e.RTCPeerConnection&&!("ontrack"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});var t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){var n=this;return this._ontrackpoly||(this._ontrackpoly=function(t){t.stream.addEventListener("addtrack",(function(r){var i;i=e.RTCPeerConnection.prototype.getReceivers?n.getReceivers().find((function(e){return e.track&&e.track.id===r.track.id})):{track:r.track};var a=new Event("track");a.track=r.track,a.receiver=i,a.transceiver={receiver:i},a.streams=[t.stream],n.dispatchEvent(a)})),t.stream.getTracks().forEach((function(r){var i;i=e.RTCPeerConnection.prototype.getReceivers?n.getReceivers().find((function(e){return e.track&&e.track.id===r.id})):{track:r};var a=new Event("track");a.track=r,a.receiver=i,a.transceiver={receiver:i},a.streams=[t.stream],n.dispatchEvent(a)}))},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}else f(e,"track",(function(e){return e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e}))}function j(e){if("object"===typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){var t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};var n=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){var i=n.apply(this,arguments);return i||(i=t(this,e),this._senders.push(i)),i};var r=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){r.apply(this,arguments);var t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}var i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._senders=this._senders||[],i.apply(this,[e]),e.getTracks().forEach((function(e){n._senders.push(t(n,e))}))};var a=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;this._senders=this._senders||[],a.apply(this,[e]),e.getTracks().forEach((function(e){var n=t._senders.find((function(t){return t.track===e}));n&&t._senders.splice(t._senders.indexOf(n),1)}))}}else if("object"===typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){var o=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){var e=this,t=o.apply(this,[]);return t.forEach((function(t){return t._pc=e})),t},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function T(e){if(e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){var e=this,n=Array.prototype.slice.call(arguments),r=n[0],i=n[1],a=n[2];if(arguments.length>0&&"function"===typeof r)return t.apply(this,arguments);if(0===t.length&&(0===arguments.length||"function"!==typeof r))return t.apply(this,[]);var o=function(e){var t={};return e.result().forEach((function(e){var n={id:e.id,timestamp:e.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[e.type]||e.type};e.names().forEach((function(t){n[t]=e.stat(t)})),t[n.id]=n})),t},u=function(e){return new Map(Object.keys(e).map((function(t){return[t,e[t]]})))};if(arguments.length>=2){var s=function(e){i(u(o(e)))};return t.apply(this,[s,r])}return new Promise((function(n,r){t.apply(e,[function(e){n(u(o(e)))},r])})).then(i,a)}}}function C(e){if("object"===typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver){if(!("getStats"in e.RTCRtpSender.prototype)){var t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n});var n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){var e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){var e=this;return this._pc.getStats().then((function(t){return k(t,e.track,!0)}))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){var r=e.RTCPeerConnection.prototype.getReceivers;r&&(e.RTCPeerConnection.prototype.getReceivers=function(){var e=this,t=r.apply(this,[]);return t.forEach((function(t){return t._pc=e})),t}),f(e,"track",(function(e){return e.receiver._pc=e.srcElement,e})),e.RTCRtpReceiver.prototype.getStats=function(){var e=this;return this._pc.getStats().then((function(t){return k(t,e.track,!1)}))}}if("getStats"in e.RTCRtpSender.prototype&&"getStats"in e.RTCRtpReceiver.prototype){var i=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){var t,n,r,a=arguments[0];return this.getSenders().forEach((function(e){e.track===a&&(t?r=!0:t=e)})),this.getReceivers().forEach((function(e){return e.track===a&&(n?r=!0:n=e),e.track===a})),r||t&&n?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):t?t.getStats():n?n.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return i.apply(this,arguments)}}}}function I(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){var e=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map((function(t){return e._shimmedLocalStreams[t][0]}))};var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){if(!n)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};var r=t.apply(this,arguments);return this._shimmedLocalStreams[n.id]?-1===this._shimmedLocalStreams[n.id].indexOf(r)&&this._shimmedLocalStreams[n.id].push(r):this._shimmedLocalStreams[n.id]=[n,r],r};var n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var t=this;this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach((function(e){if(t.getSenders().find((function(t){return t.track===e})))throw new DOMException("Track already exists.","InvalidAccessError")}));var r=this.getSenders();n.apply(this,arguments);var i=this.getSenders().filter((function(e){return-1===r.indexOf(e)}));this._shimmedLocalStreams[e.id]=[e].concat(i)};var r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],r.apply(this,arguments)};var i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){var t=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach((function(n){var r=t._shimmedLocalStreams[n].indexOf(e);-1!==r&&t._shimmedLocalStreams[n].splice(r,1),1===t._shimmedLocalStreams[n].length&&delete t._shimmedLocalStreams[n]})),i.apply(this,arguments)}}function E(e,t){if(e.RTCPeerConnection){if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return I(e);var n=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){var e=this,t=n.apply(this);return this._reverseStreams=this._reverseStreams||{},t.map((function(t){return e._reverseStreams[t.id]}))};var r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){var n=this;if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach((function(e){if(n.getSenders().find((function(t){return t.track===e})))throw new DOMException("Track already exists.","InvalidAccessError")})),!this._reverseStreams[t.id]){var i=new e.MediaStream(t.getTracks());this._streams[t.id]=i,this._reverseStreams[i.id]=t,t=i}r.apply(this,[t])};var i=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},i.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,n){var r=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");var i=[].slice.call(arguments,1);if(1!==i.length||!i[0].getTracks().find((function(e){return e===t})))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");var a=this.getSenders().find((function(e){return e.track===t}));if(a)throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};var o=this._streams[n.id];if(o)o.addTrack(t),Promise.resolve().then((function(){r.dispatchEvent(new Event("negotiationneeded"))}));else{var u=new e.MediaStream([t]);this._streams[n.id]=u,this._reverseStreams[u.id]=n,this.addStream(u)}return this.getSenders().find((function(e){return e.track===t}))},["createOffer","createAnswer"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=Object(u.a)({},t,(function(){var e=this,t=arguments,r=arguments.length&&"function"===typeof arguments[0];return r?n.apply(this,[function(n){var r=s(e,n);t[0].apply(null,[r])},function(e){t[1]&&t[1].apply(null,e)},arguments[2]]):n.apply(this,arguments).then((function(t){return s(e,t)}))}));e.RTCPeerConnection.prototype[t]=r[t]}));var a=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=c(this,arguments[0]),a.apply(this,arguments)):a.apply(this,arguments)};var o=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get:function(){var e=o.get.apply(this);return""===e.type?e:s(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){var t,n=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(!(e._pc===this))throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{},Object.keys(this._streams).forEach((function(r){n._streams[r].getTracks().find((function(t){return e.track===t}))&&(t=n._streams[r])})),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}function s(e,t){var n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((function(t){var r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(new RegExp(i.id,"g"),r.id)})),new RTCSessionDescription({type:t.type,sdp:n})}function c(e,t){var n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((function(t){var r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(new RegExp(r.id,"g"),i.id)})),new RTCSessionDescription({type:t.type,sdp:n})}}function A(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=Object(u.a)({},t,(function(){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}));e.RTCPeerConnection.prototype[t]=r[t]}))}function M(e,t){f(e,"negotiationneeded",(function(e){var n=e.target;if(!(t.version<72||n.getConfiguration&&"plan-b"===n.getConfiguration().sdpSemantics)||"stable"===n.signalingState)return e}))}var R=n(4);function P(e,t){var n=e&&e.navigator,r=e&&e.MediaStreamTrack;if(n.getUserMedia=function(e,t,r){v("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(e).then(t,r)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){var i=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},a=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(e){return"object"===typeof e&&"object"===typeof e.audio&&(e=JSON.parse(JSON.stringify(e)),i(e.audio,"autoGainControl","mozAutoGainControl"),i(e.audio,"noiseSuppression","mozNoiseSuppression")),a(e)},r&&r.prototype.getSettings){var o=r.prototype.getSettings;r.prototype.getSettings=function(){var e=o.apply(this,arguments);return i(e,"mozAutoGainControl","autoGainControl"),i(e,"mozNoiseSuppression","noiseSuppression"),e}}if(r&&r.prototype.applyConstraints){var u=r.prototype.applyConstraints;r.prototype.applyConstraints=function(e){return"audio"===this.kind&&"object"===typeof e&&(e=JSON.parse(JSON.stringify(e)),i(e,"autoGainControl","mozAutoGainControl"),i(e,"noiseSuppression","mozNoiseSuppression")),u.apply(this,[e])}}}}function L(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&(e.navigator.mediaDevices.getDisplayMedia=function(n){if(!n||!n.video){var r=new DOMException("getDisplayMedia without video constraints is undefined");return r.name="NotFoundError",r.code=8,Promise.reject(r)}return!0===n.video?n.video={mediaSource:t}:n.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(n)})}function D(e){"object"===typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})}function B(e,t){if("object"===typeof e&&(e.RTCPeerConnection||e.mozRTCPeerConnection)){!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=Object(u.a)({},t,(function(){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}));e.RTCPeerConnection.prototype[t]=r[t]}));var n={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},r=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){var e=Array.prototype.slice.call(arguments),i=e[0],a=e[1],o=e[2];return r.apply(this,[i||null]).then((function(e){if(t.version<53&&!a)try{e.forEach((function(e){e.type=n[e.type]||e.type}))}catch(r){if("TypeError"!==r.name)throw r;e.forEach((function(t,r){e.set(r,Object.assign({},t,{type:n[t.type]||t.type}))}))}return e})).then(a,o)}}}function N(e){if("object"===typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&(!e.RTCRtpSender||!("getStats"in e.RTCRtpSender.prototype))){var t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n});var n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){var e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}}function F(e){if("object"===typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&(!e.RTCRtpSender||!("getStats"in e.RTCRtpReceiver.prototype))){var t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n}),f(e,"track",(function(e){return e.receiver._pc=e.srcElement,e})),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}}function z(e){e.RTCPeerConnection&&!("removeStream"in e.RTCPeerConnection.prototype)&&(e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;v("removeStream","removeTrack"),this.getSenders().forEach((function(n){n.track&&e.getTracks().includes(n.track)&&t.removeTrack(n)}))})}function U(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function V(e){if("object"===typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];var e=arguments[1]&&arguments[1].sendEncodings;void 0===e&&(e=[]);var n=(e=Object(R.a)(e)).length>0;n&&e.forEach((function(e){if("rid"in e){if(!/^[a-z0-9]{0,16}$/i.test(e.rid))throw new TypeError("Invalid RID value provided.")}if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")}));var r=t.apply(this,arguments);if(n){var i=r.sender,a=i.getParameters();(!("encodings"in a)||1===a.encodings.length&&0===Object.keys(a.encodings[0]).length)&&(a.encodings=e,i.sendEncodings=e,this.setParametersPromises.push(i.setParameters(a).then((function(){delete i.sendEncodings})).catch((function(){delete i.sendEncodings}))))}return r})}}function W(e){if("object"===typeof e&&e.RTCRtpSender){var t=e.RTCRtpSender.prototype.getParameters;t&&(e.RTCRtpSender.prototype.getParameters=function(){var e=t.apply(this,arguments);return"encodings"in e||(e.encodings=[].concat(this.sendEncodings||[{}])),e})}}function H(e){if("object"===typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){var e=arguments,n=this;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((function(){return t.apply(n,e)})).finally((function(){n.setParametersPromises=[]})):t.apply(this,arguments)}}}function $(e){if("object"===typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){var e=arguments,n=this;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((function(){return t.apply(n,e)})).finally((function(){n.setParametersPromises=[]})):t.apply(this,arguments)}}}function Y(e){if("object"===typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach((function(r){return t.call(n,r,e)})),e.getVideoTracks().forEach((function(r){return t.call(n,r,e)}))},e.RTCPeerConnection.prototype.addTrack=function(e){for(var n=this,r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return i&&i.forEach((function(e){n._localStreams?n._localStreams.includes(e)||n._localStreams.push(e):n._localStreams=[e]})),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;this._localStreams||(this._localStreams=[]);var n=this._localStreams.indexOf(e);if(-1!==n){this._localStreams.splice(n,1);var r=e.getTracks();this.getSenders().forEach((function(e){r.includes(e.track)&&t.removeTrack(e)}))}})}}function q(e){if("object"===typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get:function(){return this._onaddstream},set:function(e){var t=this;this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=function(e){e.streams.forEach((function(e){if(t._remoteStreams||(t._remoteStreams=[]),!t._remoteStreams.includes(e)){t._remoteStreams.push(e);var n=new Event("addstream");n.stream=e,t.dispatchEvent(n)}}))})}});var t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){var e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach((function(t){if(e._remoteStreams||(e._remoteStreams=[]),!(e._remoteStreams.indexOf(t)>=0)){e._remoteStreams.push(t);var n=new Event("addstream");n.stream=t,e.dispatchEvent(n)}}))}),t.apply(e,arguments)}}}function G(e){if("object"===typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype,n=t.createOffer,r=t.createAnswer,i=t.setLocalDescription,a=t.setRemoteDescription,o=t.addIceCandidate;t.createOffer=function(e,t){var r=arguments.length>=2?arguments[2]:arguments[0],i=n.apply(this,[r]);return t?(i.then(e,t),Promise.resolve()):i},t.createAnswer=function(e,t){var n=arguments.length>=2?arguments[2]:arguments[0],i=r.apply(this,[n]);return t?(i.then(e,t),Promise.resolve()):i};var u=function(e,t,n){var r=i.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=u,u=function(e,t,n){var r=a.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=u,u=function(e,t,n){var r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=u}}function K(e){var t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){var n=t.mediaDevices,r=n.getUserMedia.bind(n);t.mediaDevices.getUserMedia=function(e){return r(Q(e))}}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,n,r){t.mediaDevices.getUserMedia(e).then(n,r)}.bind(t))}function Q(e){return e&&void 0!==e.video?Object.assign({},e,{video:m(e.video)}):e}function X(e){if(e.RTCPeerConnection){var t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,n){if(e&&e.iceServers){for(var r=[],i=0;i<e.iceServers.length;i++){var a=e.iceServers[i];!a.hasOwnProperty("urls")&&a.hasOwnProperty("url")?(v("RTCIceServer.url","RTCIceServer.urls"),(a=JSON.parse(JSON.stringify(a))).urls=a.url,delete a.url,r.push(a)):r.push(e.iceServers[i])}e.iceServers=r}return new t(e,n)},e.RTCPeerConnection.prototype=t.prototype,"generateCertificate"in t&&Object.defineProperty(e.RTCPeerConnection,"generateCertificate",{get:function(){return t.generateCertificate}})}}function J(e){"object"===typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})}function Z(e){var t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){"undefined"!==typeof e.offerToReceiveAudio&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);var n=this.getTransceivers().find((function(e){return"audio"===e.receiver.track.kind}));!1===e.offerToReceiveAudio&&n?"sendrecv"===n.direction?n.setDirection?n.setDirection("sendonly"):n.direction="sendonly":"recvonly"===n.direction&&(n.setDirection?n.setDirection("inactive"):n.direction="inactive"):!0!==e.offerToReceiveAudio||n||this.addTransceiver("audio",{direction:"recvonly"}),"undefined"!==typeof e.offerToReceiveVideo&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);var r=this.getTransceivers().find((function(e){return"video"===e.receiver.track.kind}));!1===e.offerToReceiveVideo&&r?"sendrecv"===r.direction?r.setDirection?r.setDirection("sendonly"):r.direction="sendonly":"recvonly"===r.direction&&(r.setDirection?r.setDirection("inactive"):r.direction="inactive"):!0!==e.offerToReceiveVideo||r||this.addTransceiver("video",{direction:"recvonly"})}return t.apply(this,arguments)}}function ee(e){"object"!==typeof e||e.AudioContext||(e.AudioContext=e.webkitAudioContext)}var te=n(36),ne=n.n(te);function re(e){if(!(!e.RTCIceCandidate||e.RTCIceCandidate&&"foundation"in e.RTCIceCandidate.prototype)){var t=e.RTCIceCandidate;e.RTCIceCandidate=function(e){if("object"===typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substr(2)),e.candidate&&e.candidate.length){var n=new t(e),r=ne.a.parseCandidate(e.candidate),i=Object.assign(n,r);return i.toJSON=function(){return{candidate:i.candidate,sdpMid:i.sdpMid,sdpMLineIndex:i.sdpMLineIndex,usernameFragment:i.usernameFragment}},i}return new t(e)},e.RTCIceCandidate.prototype=t.prototype,f(e,"icecandidate",(function(t){return t.candidate&&Object.defineProperty(t,"candidate",{value:new e.RTCIceCandidate(t.candidate),writable:"false"}),t}))}}function ie(e){!e.RTCIceCandidate||e.RTCIceCandidate&&"relayProtocol"in e.RTCIceCandidate.prototype||f(e,"icecandidate",(function(e){if(e.candidate){var t=ne.a.parseCandidate(e.candidate.candidate);"relay"===t.type&&(e.candidate.relayProtocol={0:"tls",1:"tcp",2:"udp"}[t.priority>>24])}return e}))}function ae(e,t){if(e.RTCPeerConnection){"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get:function(){return"undefined"===typeof this._sctp?null:this._sctp}});var n=function(e){if(!e||!e.sdp)return!1;var t=ne.a.splitSections(e.sdp);return t.shift(),t.some((function(e){var t=ne.a.parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")}))},r=function(e){var t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return-1;var n=parseInt(t[1],10);return n!==n?-1:n},i=function(e){var n=65536;return"firefox"===t.browser&&(n=t.version<57?-1===e?16384:2147483637:t.version<60?57===t.version?65535:65536:2147483637),n},a=function(e,n){var r=65536;"firefox"===t.browser&&57===t.version&&(r=65535);var i=ne.a.matchPrefix(e.sdp,"a=max-message-size:");return i.length>0?r=parseInt(i[0].substr(19),10):"firefox"===t.browser&&-1!==n&&(r=2147483637),r},o=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===t.browser&&t.version>=76){var e=this.getConfiguration(),u=e.sdpSemantics;"plan-b"===u&&Object.defineProperty(this,"sctp",{get:function(){return"undefined"===typeof this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(n(arguments[0])){var s,c=r(arguments[0]),l=i(c),f=a(arguments[0],c);s=0===l&&0===f?Number.POSITIVE_INFINITY:0===l||0===f?Math.max(l,f):Math.min(l,f);var d={};Object.defineProperty(d,"maxMessageSize",{get:function(){return s}}),this._sctp=d}return o.apply(this,arguments)}}}function oe(e){if(e.RTCPeerConnection&&"createDataChannel"in e.RTCPeerConnection.prototype){var t=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){var e=t.apply(this,arguments);return n(e,this),e},f(e,"datachannel",(function(e){return n(e.channel,e.target),e}))}function n(e,t){var n=e.send;e.send=function(){var r=arguments[0],i=r.length||r.size||r.byteLength;if("open"===e.readyState&&t.sctp&&i>t.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return n.apply(e,arguments)}}}function ue(e){if(e.RTCPeerConnection&&!("connectionState"in e.RTCPeerConnection.prototype)){var t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get:function(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get:function(){return this._onconnectionstatechange||null},set:function(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach((function(e){var n=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=function(e){var t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;var n=new Event("connectionstatechange",e);t.dispatchEvent(n)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),n.apply(this,arguments)}}))}}function se(e,t){if(e.RTCPeerConnection&&!("chrome"===t.browser&&t.version>=71)&&!("safari"===t.browser&&t.version>=605)){var n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(t){if(t&&t.sdp&&-1!==t.sdp.indexOf("\na=extmap-allow-mixed")){var r=t.sdp.split("\n").filter((function(e){return"a=extmap-allow-mixed"!==e.trim()})).join("\n");e.RTCSessionDescription&&t instanceof e.RTCSessionDescription?arguments[0]=new e.RTCSessionDescription({type:t.type,sdp:r}):t.sdp=r}return n.apply(this,arguments)}}}function ce(e,t){if(e.RTCPeerConnection&&e.RTCPeerConnection.prototype){var n=e.RTCPeerConnection.prototype.addIceCandidate;n&&0!==n.length&&(e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===t.browser&&t.version<78||"firefox"===t.browser&&t.version<68||"safari"===t.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():n.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}}function le(e,t){if(e.RTCPeerConnection&&e.RTCPeerConnection.prototype){var n=e.RTCPeerConnection.prototype.setLocalDescription;n&&0!==n.length&&(e.RTCPeerConnection.prototype.setLocalDescription=function(){var e=this,t=arguments[0]||{};if("object"!==typeof t||t.type&&t.sdp)return n.apply(this,arguments);if(!(t={type:t.type,sdp:t.sdp}).type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":t.type="offer";break;default:t.type="answer"}if(t.sdp||"offer"!==t.type&&"answer"!==t.type)return n.apply(this,[t]);var r="offer"===t.type?this.createOffer:this.createAnswer;return r.apply(this).then((function(t){return n.apply(e,[t])}))})}}!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.window,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shimChrome:!0,shimFirefox:!0,shimSafari:!0},u=h,s=y(t),c={browserDetails:s,commonShim:o,extractVersion:l,disableLog:d,disableWarnings:p,sdp:te};switch(s.browser){case"chrome":if(!r||!A||!n.shimChrome)return u("Chrome shim is not included in this adapter release."),c;if(null===s.version)return u("Chrome shim can not determine version, not shimming."),c;u("adapter.js shimming chrome."),c.browserShim=r,ce(t,s),le(t),_(t,s),O(t),A(t,s),x(t),E(t,s),j(t),T(t),C(t),M(t,s),re(t),ie(t),ue(t),ae(t,s),oe(t),se(t,s);break;case"firefox":if(!i||!B||!n.shimFirefox)return u("Firefox shim is not included in this adapter release."),c;u("adapter.js shimming firefox."),c.browserShim=i,ce(t,s),le(t),P(t,s),B(t,s),D(t),z(t),N(t),F(t),U(t),V(t),W(t),H(t),$(t),re(t),ue(t),ae(t,s),oe(t);break;case"safari":if(!a||!n.shimSafari)return u("Safari shim is not included in this adapter release."),c;u("adapter.js shimming safari."),c.browserShim=a,ce(t,s),le(t),X(t),Z(t),G(t),Y(t),q(t),J(t),K(t),ee(t),re(t),ie(t),ae(t,s),oe(t),se(t,s);break;default:u("Unsupported browser!")}}({window:"undefined"===typeof window?void 0:window})},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(55);function a(){return r.useContext(i.a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3);function i(e,t){var n=Object(r.a)({},t);return Object.keys(e).forEach((function(t){void 0===n[t]&&(n[t]=e[t])})),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(4),i=n(3),a=n(10),o=n(58),u=n(56),s=["sx"];function c(e){var t,n=e.sx,c=function(e){var t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((function(n){u.a[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t}(Object(a.a)(e,s)),l=c.systemProps,f=c.otherProps;return t=Array.isArray(n)?[l].concat(Object(r.a)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return Object(o.b)(e)?Object(i.a)({},l,e):l}:Object(i.a)({},l,n),Object(i.a)({},f,{sx:t})}},function(e,t,n){"use strict";var r=function(e){return e},i=function(){var e=r;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=r}}}();t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(105),i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",a=i[t];return a?"".concat(n,"-").concat(a):"".concat(r.a.generate(e),"-").concat(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(75);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){Object(i.a)(t,e)}))}}),t)}},function(e,t,n){"use strict";var r=n(3),i=(n(0),n(109)),a=n(32),o=n(2);t.a=function(e){return Object(o.jsx)(i.a,Object(r.a)({},e,{defaultTheme:a.a}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(0);var r=n(37),i=n(2);function a(e){var t=e.styles,n=e.defaultTheme,a=void 0===n?{}:n,o="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?a:e);var n}:t;return Object(i.jsx)(r.a,{styles:o})}},function(e,t,n){"use strict";var r=n(3),i=n(10),a=n(58),o=n(5),u=["values","unit","step"];function s(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,a=e.unit,s=void 0===a?"px":a,c=e.step,l=void 0===c?5:c,f=Object(i.a)(e,u),d=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return Object(r.a)({},e,Object(o.a)({},t.key,t.val))}),{})}(n),p=Object.keys(d);function h(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function v(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-l/100).concat(s,")")}function y(e,t){var r=p.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[p[r]]?n[p[r]]:t)-l/100).concat(s,")")}return Object(r.a)({keys:p,values:d,up:h,down:v,between:y,only:function(e){return p.indexOf(e)+1<p.length?y(e,p[p.indexOf(e)+1]):h(e)},not:function(e){var t=p.indexOf(e);return 0===t?h(p[1]):t===p.length-1?v(p[t]):y(e,p[p.indexOf(e)+1]).replace("@media","@media not all and")},unit:s},f)}var c={borderRadius:4},l=n(20);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Object(l.a)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=0===n.length?[1]:n;return i.map((function(e){var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}var d=["breakpoints","palette","spacing","shape"];t.a=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,o=e.palette,u=void 0===o?{}:o,l=e.spacing,p=e.shape,h=void 0===p?{}:p,v=Object(i.a)(e,d),y=s(n),b=f(l),m=Object(a.a)({breakpoints:y,direction:"ltr",components:{},palette:Object(r.a)({mode:"light"},u),spacing:b,shape:Object(r.a)({},c,h)},v),g=arguments.length,k=new Array(g>1?g-1:0),w=1;w<g;w++)k[w-1]=arguments[w];return m=k.reduce((function(e,t){return Object(a.a)(e,t)}),m)}},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return f}));var r=n(57);function i(e){var t=arguments.length>1&&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 a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(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","color"].indexOf(n))throw new Error(Object(r.a)(9,e));var i,o=e.substring(t+1,e.length-1);if("color"===n){if(i=(o=o.split(" ")).shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(r.a)(10,i))}else o=o.split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)})),colorSpace:i}}function o(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function u(e){var t="hsl"===(e=a(e)).type||"hsla"===e.type?a(function(e){var t=(e=a(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,u=r*Math.min(i,1-i),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-u*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),o({type:c,values:l})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,o(e)}function l(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function f(e,t){if(e=a(e),t=i(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;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return o(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(8),i=n(0),a=n(64),o=n(66),u=n(42);function s(e,t,n,a,o){var s="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,c=i.useState((function(){return o&&s?n(e).matches:a?a(e).matches:t})),l=Object(r.a)(c,2),f=l[0],d=l[1];return Object(u.a)((function(){var t=!0;if(s){var r=n(e),i=function(){t&&d(r.matches)};return i(),r.addListener(i),function(){t=!1,r.removeListener(i)}}}),[e,n,s]),f}var c=i.useSyncExternalStore;function l(e,t,n,a){var o=i.useCallback((function(){return t}),[t]),u=i.useMemo((function(){if(null!==a){var t=a(e).matches;return function(){return t}}return o}),[o,e,a]),s=i.useMemo((function(){if(null===n)return[o,function(){return function(){}}];var t=n(e);return[function(){return t.matches},function(e){return t.addListener(e),function(){t.removeListener(e)}}]}),[o,n,e]),l=Object(r.a)(s,2),f=l[0],d=l[1];return c(d,f,u)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(a.a)(),r="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,i=Object(o.a)({name:"MuiUseMediaQuery",props:t,theme:n}),u=i.defaultMatches,f=void 0!==u&&u,d=i.matchMedia,p=void 0===d?r?window.matchMedia:null:d,h=i.ssrMatchMedia,v=void 0===h?null:h,y=i.noSsr;var b="function"===typeof e?e(n):e;b=b.replace(/^@media( ?)/m,"");var m=void 0!==c?l:s,g=m(b,f,p,v,y);return g}},function(e,t,n){"use strict";var r=n(5),i=n(10),a=n(3),o=n(0),u=n(19),s=n(20),c=n(104),l=n(58),f=n(11),d=n(15),p=n(2),h=["component","direction","spacing","divider","children"];function v(e,t){var n=o.Children.toArray(e).filter(Boolean);return n.reduce((function(e,r,i){return e.push(r),i<n.length-1&&e.push(o.cloneElement(t,{key:"separator-".concat(i)})),e}),[])}var y=Object(f.a)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,t){return[t.root]}})((function(e){var t=e.ownerState,n=e.theme,i=Object(a.a)({display:"flex",flexDirection:"column"},Object(u.b)({theme:n},Object(u.e)({values:t.direction,breakpoints:n.breakpoints.values}),(function(e){return{flexDirection:e}})));if(t.spacing){var o=Object(s.a)(n),c=Object.keys(n.breakpoints.values).reduce((function(e,n){return("object"===typeof t.spacing&&null!=t.spacing[n]||"object"===typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e}),{}),f=Object(u.e)({values:t.direction,base:c}),d=Object(u.e)({values:t.spacing,base:c});"object"===typeof f&&Object.keys(f).forEach((function(e,t,n){if(!f[e]){var r=t>0?f[n[t-1]]:"column";f[e]=r}}));i=Object(l.a)(i,Object(u.b)({theme:n},d,(function(e,n){return{"& > :not(style) + :not(style)":Object(r.a)({margin:0},"margin".concat((i=n?f[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i])),Object(s.d)(o,e))};var i})))}return i=Object(u.c)(n.breakpoints,i)})),b=o.forwardRef((function(e,t){var n=Object(d.a)({props:e,name:"MuiStack"}),r=Object(c.a)(n),o=r.component,u=void 0===o?"div":o,s=r.direction,l=void 0===s?"column":s,f=r.spacing,b=void 0===f?0:f,m=r.divider,g=r.children,k=Object(i.a)(r,h),w={direction:l,spacing:b};return Object(p.jsx)(y,Object(a.a)({as:u,ownerState:w,ref:t},k,{children:m?v(g,m):g}))}));t.a=b},function(e,t,n){"use strict";var r=n(5),i=n(26),a=n(56),o=n(19);function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e.concat(Object.keys(t))}),[]),i=new Set(r);return t.every((function(e){return i.size===Object.keys(e).length}))}function s(e,t){return"function"===typeof e?e(t):e}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.b,t=Object.keys(e).reduce((function(t,n){return e[n].filterProps.forEach((function(r){t[r]=e[n]})),t}),{});function n(e,n,i){var a,o=(a={},Object(r.a)(a,e,n),Object(r.a)(a,"theme",i),a),u=t[e];return u?u(o):Object(r.a)({},e,n)}function c(e){var a=e||{},l=a.sx,f=a.theme,d=void 0===f?{}:f;if(!l)return null;function p(e){var a=e;if("function"===typeof e)a=e(d);else if("object"!==typeof e)return e;if(!a)return null;var l=Object(o.a)(d.breakpoints),f=Object.keys(l),p=l;return Object.keys(a).forEach((function(e){var l=s(a[e],d);if(null!==l&&void 0!==l)if("object"===typeof l)if(t[e])p=Object(i.a)(p,n(e,l,d));else{var f=Object(o.b)({theme:d},l,(function(t){return Object(r.a)({},e,t)}));u(f,l)?p[e]=c({sx:l,theme:d}):p=Object(i.a)(p,f)}else p=Object(i.a)(p,n(e,l,d))})),Object(o.d)(f,p)}return Array.isArray(l)?l.map(p):p(l)}return c}();c.filterProps=["sx"],t.a=c},function(e,t,n){"use strict";function r(e,t,n){var r={};return Object.keys(e).forEach((function(i){r[i]=e[i].reduce((function(e,r){return r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e}),[]).join(" ")})),r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(106);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i={};return t.forEach((function(t){i[t]=Object(r.a)(e,t,n)})),i}},function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];var u=function(){e.apply(r,a)};clearTimeout(t),t=setTimeout(u,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(74);function i(e){return Object(r.a)(e).defaultView||window}},function(e,t,n){"use strict";var r=n(8),i=n(3),a=n(0),o=n(15),u=n(108),s=n(2),c=function(e,t){return Object(i.a)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode})},l=function(e){return Object(i.a)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}})};t.a=function(e){var t=Object(o.a)({props:e,name:"MuiCssBaseline"}),n=t.children,f=t.enableColorScheme,d=void 0!==f&&f;return Object(s.jsxs)(a.Fragment,{children:[Object(s.jsx)(u.a,{styles:function(e){return function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={};a&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((function(t){var n,i=Object(r.a)(t,2),a=i[0],u=i[1];o[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:null==(n=u.palette)?void 0:n.mode}}));var u=Object(i.a)({html:c(e,a),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:Object(i.a)({margin:0},l(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o),s=null==(t=e.components)||null==(n=t.MuiCssBaseline)?void 0:n.styleOverrides;return s&&(u=[u,s]),u}(e,d)}}),n]})}},function(e,t,n){"use strict";var r=n(8),i=n(5),a=n(3),o=n(10),u=n(0),s=n.n(u),c=n(14),l=n(134),f=n(11),d=n(15),p=n(38),h=n(40),v=n(53),y=n(4),b=n(27);function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var g=s.a.createContext(null);function k(e,t){var n=Object.create(null);return e&&u.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(u.isValidElement)(e)?t(e):e}(e)})),n}function w(e,t,n){return null!=n[t]?n[t]:e.props[t]}function _(e,t,n){var r=k(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),a=[];for(var o in e)o in t?a.length&&(i[o]=a,a=[]):a.push(o);var u={};for(var s in t){if(i[s])for(r=0;r<i[s].length;r++){var c=i[s][r];u[i[s][r]]=n(c)}u[s]=n(s)}for(r=0;r<a.length;r++)u[a[r]]=n(a[r]);return u}(t,r);return Object.keys(i).forEach((function(a){var o=i[a];if(Object(u.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],f=Object(u.isValidElement)(l)&&!l.props.in;!c||s&&!f?c||!s||f?c&&s&&Object(u.isValidElement)(l)&&(i[a]=Object(u.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:w(o,"exit",e),enter:w(o,"enter",e)})):i[a]=Object(u.cloneElement)(o,{in:!1}):i[a]=Object(u.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:w(o,"exit",e),enter:w(o,"enter",e)})}})),i}var S=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},O=function(e){var t,n;function r(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var i=r.prototype;return i.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},i.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,k(n.children,(function(e){return Object(u.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:w(e,"appear",n),enter:w(e,"enter",n),exit:w(e,"exit",n)})}))):_(e,i,a),firstRender:!1}},i.handleExited=function(e,t){var n=k(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(a.a)({},t.children);return delete n[e.key],{children:n}})))},i.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Object(o.a)(e,["component","childFactory"]),i=this.state.contextValue,a=S(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?s.a.createElement(g.Provider,{value:i},a):s.a.createElement(g.Provider,{value:i},s.a.createElement(t,r,a))},r}(s.a.Component);O.propTypes={},O.defaultProps={component:"div",childFactory:function(e){return e}};var x=O,j=n(37),T=n(2);var C=function(e){var t=e.className,n=e.classes,i=e.pulsate,a=void 0!==i&&i,o=e.rippleX,s=e.rippleY,l=e.rippleSize,f=e.in,d=e.onExited,p=e.timeout,h=u.useState(!1),v=Object(r.a)(h,2),y=v[0],b=v[1],m=Object(c.a)(t,n.ripple,n.rippleVisible,a&&n.ripplePulsate),g={width:l,height:l,top:-l/2+s,left:-l/2+o},k=Object(c.a)(n.child,y&&n.childLeaving,a&&n.childPulsate);return f||y||b(!0),u.useEffect((function(){if(!f&&null!=d){var e=setTimeout(d,p);return function(){clearTimeout(e)}}}),[d,f,p]),Object(T.jsx)("span",{className:m,style:g,children:Object(T.jsx)("span",{className:k})})},I=n(106),E=n(135);var A,M,R,P,L,D,B,N,F=Object(E.a)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),z=["center","classes","className"],U=Object(j.c)(L||(L=A||(A=Object(b.a)(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),V=Object(j.c)(D||(D=M||(M=Object(b.a)(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),W=Object(j.c)(B||(B=R||(R=Object(b.a)(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),H=Object(f.a)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),$=Object(f.a)(C,{name:"MuiTouchRipple",slot:"Ripple"})(N||(N=P||(P=Object(b.a)(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),F.rippleVisible,U,550,(function(e){return e.theme.transitions.easing.easeInOut}),F.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),F.child,F.childLeaving,V,550,(function(e){return e.theme.transitions.easing.easeInOut}),F.childPulsate,W,(function(e){return e.theme.transitions.easing.easeInOut})),Y=u.forwardRef((function(e,t){var n=Object(d.a)({props:e,name:"MuiTouchRipple"}),i=n.center,s=void 0!==i&&i,l=n.classes,f=void 0===l?{}:l,p=n.className,h=Object(o.a)(n,z),v=u.useState([]),b=Object(r.a)(v,2),m=b[0],g=b[1],k=u.useRef(0),w=u.useRef(null);u.useEffect((function(){w.current&&(w.current(),w.current=null)}),[m]);var _=u.useRef(!1),S=u.useRef(null),O=u.useRef(null),j=u.useRef(null);u.useEffect((function(){return function(){clearTimeout(S.current)}}),[]);var C=u.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;g((function(e){return[].concat(Object(y.a)(e),[Object(T.jsx)($,{classes:{ripple:Object(c.a)(f.ripple,F.ripple),rippleVisible:Object(c.a)(f.rippleVisible,F.rippleVisible),ripplePulsate:Object(c.a)(f.ripplePulsate,F.ripplePulsate),child:Object(c.a)(f.child,F.child),childLeaving:Object(c.a)(f.childLeaving,F.childLeaving),childPulsate:Object(c.a)(f.childPulsate,F.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},k.current)])})),k.current+=1,w.current=a}),[f]),I=u.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,i=void 0!==r&&r,a=t.center,o=void 0===a?s||t.pulsate:a,u=t.fakeElement,c=void 0!==u&&u;if("mousedown"===(null==e?void 0:e.type)&&_.current)_.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(_.current=!0);var l,f,d,p=c?null:j.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(h.width/2),f=Math.round(h.height/2);else{var v=e.touches&&e.touches.length>0?e.touches[0]:e,y=v.clientX,b=v.clientY;l=Math.round(y-h.left),f=Math.round(b-h.top)}if(o)(d=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(d+=1);else{var m=2*Math.max(Math.abs((p?p.clientWidth:0)-l),l)+2,g=2*Math.max(Math.abs((p?p.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(m,2)+Math.pow(g,2))}null!=e&&e.touches?null===O.current&&(O.current=function(){C({pulsate:i,rippleX:l,rippleY:f,rippleSize:d,cb:n})},S.current=setTimeout((function(){O.current&&(O.current(),O.current=null)}),80)):C({pulsate:i,rippleX:l,rippleY:f,rippleSize:d,cb:n})}}),[s,C]),E=u.useCallback((function(){I({},{pulsate:!0})}),[I]),A=u.useCallback((function(e,t){if(clearTimeout(S.current),"touchend"===(null==e?void 0:e.type)&&O.current)return O.current(),O.current=null,void(S.current=setTimeout((function(){A(e,t)})));O.current=null,g((function(e){return e.length>0?e.slice(1):e})),w.current=t}),[]);return u.useImperativeHandle(t,(function(){return{pulsate:E,start:I,stop:A}}),[E,I,A]),Object(T.jsx)(H,Object(a.a)({className:Object(c.a)(F.root,f.root,p),ref:j},h,{children:Object(T.jsx)(x,{component:null,exit:!0,children:m})}))})),q=Y;function G(e){return Object(I.a)("MuiButtonBase",e)}var K,Q=Object(E.a)("MuiButtonBase",["root","disabled","focusVisible"]),X=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],J=Object(f.a)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((K={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},Object(i.a)(K,"&.".concat(Q.disabled),{pointerEvents:"none",cursor:"default"}),Object(i.a)(K,"@media print",{colorAdjust:"exact"}),K)),Z=u.forwardRef((function(e,t){var n=Object(d.a)({props:e,name:"MuiButtonBase"}),i=n.action,s=n.centerRipple,f=void 0!==s&&s,y=n.children,b=n.className,m=n.component,g=void 0===m?"button":m,k=n.disabled,w=void 0!==k&&k,_=n.disableRipple,S=void 0!==_&&_,O=n.disableTouchRipple,x=void 0!==O&&O,j=n.focusRipple,C=void 0!==j&&j,I=n.LinkComponent,E=void 0===I?"a":I,A=n.onBlur,M=n.onClick,R=n.onContextMenu,P=n.onDragLeave,L=n.onFocus,D=n.onFocusVisible,B=n.onKeyDown,N=n.onKeyUp,F=n.onMouseDown,z=n.onMouseLeave,U=n.onMouseUp,V=n.onTouchEnd,W=n.onTouchMove,H=n.onTouchStart,$=n.tabIndex,Y=void 0===$?0:$,K=n.TouchRippleProps,Q=n.touchRippleRef,Z=n.type,ee=Object(o.a)(n,X),te=u.useRef(null),ne=u.useRef(null),re=Object(p.a)(ne,Q),ie=Object(v.a)(),ae=ie.isFocusVisibleRef,oe=ie.onFocus,ue=ie.onBlur,se=ie.ref,ce=u.useState(!1),le=Object(r.a)(ce,2),fe=le[0],de=le[1];w&&fe&&de(!1),u.useImperativeHandle(i,(function(){return{focusVisible:function(){de(!0),te.current.focus()}}}),[]);var pe=u.useState(!1),he=Object(r.a)(pe,2),ve=he[0],ye=he[1];u.useEffect((function(){ye(!0)}),[]);var be=ve&&!S&&!w;function me(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x;return Object(h.a)((function(r){return t&&t(r),!n&&ne.current&&ne.current[e](r),!0}))}u.useEffect((function(){fe&&C&&!S&&ve&&ne.current.pulsate()}),[S,C,fe,ve]);var ge=me("start",F),ke=me("stop",R),we=me("stop",P),_e=me("stop",U),Se=me("stop",(function(e){fe&&e.preventDefault(),z&&z(e)})),Oe=me("start",H),xe=me("stop",V),je=me("stop",W),Te=me("stop",(function(e){ue(e),!1===ae.current&&de(!1),A&&A(e)}),!1),Ce=Object(h.a)((function(e){te.current||(te.current=e.currentTarget),oe(e),!0===ae.current&&(de(!0),D&&D(e)),L&&L(e)})),Ie=function(){var e=te.current;return g&&"button"!==g&&!("A"===e.tagName&&e.href)},Ee=u.useRef(!1),Ae=Object(h.a)((function(e){C&&!Ee.current&&fe&&ne.current&&" "===e.key&&(Ee.current=!0,ne.current.stop(e,(function(){ne.current.start(e)}))),e.target===e.currentTarget&&Ie()&&" "===e.key&&e.preventDefault(),B&&B(e),e.target===e.currentTarget&&Ie()&&"Enter"===e.key&&!w&&(e.preventDefault(),M&&M(e))})),Me=Object(h.a)((function(e){C&&" "===e.key&&ne.current&&fe&&!e.defaultPrevented&&(Ee.current=!1,ne.current.stop(e,(function(){ne.current.pulsate(e)}))),N&&N(e),M&&e.target===e.currentTarget&&Ie()&&" "===e.key&&!e.defaultPrevented&&M(e)})),Re=g;"button"===Re&&(ee.href||ee.to)&&(Re=E);var Pe={};"button"===Re?(Pe.type=void 0===Z?"button":Z,Pe.disabled=w):(ee.href||ee.to||(Pe.role="button"),w&&(Pe["aria-disabled"]=w));var Le=Object(p.a)(t,se,te);var De=Object(a.a)({},n,{centerRipple:f,component:g,disabled:w,disableRipple:S,disableTouchRipple:x,focusRipple:C,tabIndex:Y,focusVisible:fe}),Be=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,i=e.classes,a={root:["root",t&&"disabled",n&&"focusVisible"]},o=Object(l.a)(a,G,i);return n&&r&&(o.root+=" ".concat(r)),o}(De);return Object(T.jsxs)(J,Object(a.a)({as:Re,className:Object(c.a)(Be.root,b),ownerState:De,onBlur:Te,onClick:M,onContextMenu:ke,onFocus:Ce,onKeyDown:Ae,onKeyUp:Me,onMouseDown:ge,onMouseLeave:Se,onMouseUp:_e,onDragLeave:we,onTouchEnd:xe,onTouchMove:je,onTouchStart:Oe,ref:Le,tabIndex:w?-1:Y,type:Z},Pe,ee,{children:[y,be?Object(T.jsx)(q,Object(a.a)({ref:re,center:f},K)):null]}))}));t.a=Z},function(e,t,n){"use strict";var r=n(3),i=n(10),a=n(0),o=n(14),u=n(134),s=n(5),c=n(12),l=n(106),f=n(135);function d(e){return Object(l.a)("MuiNativeSelect",e)}var p=Object(f.a)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),h=n(11),v=n(2),y=["className","disabled","IconComponent","inputRef","variant"],b=Object(h.a)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:h.b,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],Object(s.a)({},"&.".concat(p.multiple),t.multiple)]}})((function(e){var t,n=e.ownerState,i=e.theme;return Object(r.a)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===i.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},Object(s.a)(t,"&.".concat(p.disabled),{cursor:"default"}),Object(s.a)(t,"&[multiple]",{height:"auto"}),Object(s.a)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:i.palette.background.paper}),Object(s.a)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:i.shape.borderRadius,"&:focus":{borderRadius:i.shape.borderRadius},"&&&":{paddingRight:32}})})),m=Object(h.a)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat(Object(c.a)(n.variant))],n.open&&t.iconOpen]}})((function(e){var t=e.ownerState,n=e.theme;return Object(r.a)(Object(s.a)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active},"&.".concat(p.disabled),{color:n.palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})})),g=a.forwardRef((function(e,t){var n=e.className,s=e.disabled,l=e.IconComponent,f=e.inputRef,p=e.variant,h=void 0===p?"standard":p,g=Object(i.a)(e,y),k=Object(r.a)({},e,{disabled:s,variant:h}),w=function(e){var t=e.classes,n=e.variant,r=e.disabled,i=e.multiple,a=e.open,o={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon","icon".concat(Object(c.a)(n)),a&&"iconOpen",r&&"disabled"]};return Object(u.a)(o,d,t)}(k);return Object(v.jsxs)(a.Fragment,{children:[Object(v.jsx)(b,Object(r.a)({ownerState:k,className:Object(o.a)(w.select,n),disabled:s,ref:f||t},g)),e.multiple?null:Object(v.jsx)(m,{as:l,ownerState:k,className:w.icon})]})})),k=n(34),w=n(33),_=n(23),S=Object(_.a)(Object(v.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),O=n(4),x=n(58),j=n(8),T=n(57),C=n(54),I=n(107),E=n(137),A=n(136),M=n(65),R=["onChange","maxRows","minRows","style","value"];function P(e,t){return parseInt(e[t],10)||0}var L={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function D(e){return void 0===e||null===e||0===Object.keys(e).length}var B=a.forwardRef((function(e,t){var n=e.onChange,o=e.maxRows,u=e.minRows,s=void 0===u?1:u,c=e.style,l=e.value,f=Object(i.a)(e,R),d=a.useRef(null!=l).current,p=a.useRef(null),h=Object(I.a)(t,p),y=a.useRef(null),b=a.useRef(0),m=a.useState({}),g=Object(j.a)(m,2),k=g[0],w=g[1],_=a.useCallback((function(){var t=p.current,n=Object(E.a)(t).getComputedStyle(t);if("0px"===n.width)return{};var r=y.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],a=P(n,"padding-bottom")+P(n,"padding-top"),u=P(n,"border-bottom-width")+P(n,"border-top-width"),c=r.scrollHeight;r.value="x";var l=r.scrollHeight,f=c;return s&&(f=Math.max(Number(s)*l,f)),o&&(f=Math.min(Number(o)*l,f)),{outerHeightStyle:(f=Math.max(f,l))+("border-box"===i?a+u:0),overflow:Math.abs(f-c)<=1}}),[o,s,e.placeholder]),S=function(e,t){var n=t.outerHeightStyle,r=t.overflow;return b.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(b.current+=1,{overflow:r,outerHeightStyle:n}):e},O=a.useCallback((function(){var e=_();D(e)||w((function(t){return S(t,e)}))}),[_]);a.useEffect((function(){var e,t=Object(A.a)((function(){b.current=0,p.current&&function(){var e=_();D(e)||Object(C.flushSync)((function(){w((function(t){return S(t,e)}))}))}()})),n=Object(E.a)(p.current);return n.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(p.current),function(){t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}})),Object(M.a)((function(){O()})),a.useEffect((function(){b.current=0}),[l]);return Object(v.jsxs)(a.Fragment,{children:[Object(v.jsx)("textarea",Object(r.a)({value:l,onChange:function(e){b.current=0,d||O(),n&&n(e)},ref:h,rows:s,style:Object(r.a)({height:k.outerHeightStyle,overflow:k.overflow?"hidden":null},c)},f)),Object(v.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:y,tabIndex:-1,style:Object(r.a)({},L,c,{padding:0})})]})}));var N=function(e){return"string"===typeof e},F=n(44),z=n(15),U=n(38),V=n(42),W=n(108),H=n(51);function $(e){return Object(l.a)("MuiInputBase",e)}var Y=Object(f.a)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),q=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],G=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat(Object(c.a)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},K=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Q=Object(h.a)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:G})((function(e){var t=e.theme,n=e.ownerState;return Object(r.a)({},t.typography.body1,Object(s.a)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(Y.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&Object(r.a)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),X=Object(h.a)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:K})((function(e){var t,n=e.theme,i=e.ownerState,a="light"===n.palette.mode,o=Object(r.a)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:a?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),u={opacity:"0 !important"},c=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:a?.42:.5};return Object(r.a)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},Object(s.a)(t,"label[data-shrink=false] + .".concat(Y.formControl," &"),{"&::-webkit-input-placeholder":u,"&::-moz-placeholder":u,"&:-ms-input-placeholder":u,"&::-ms-input-placeholder":u,"&:focus::-webkit-input-placeholder":c,"&:focus::-moz-placeholder":c,"&:focus:-ms-input-placeholder":c,"&:focus::-ms-input-placeholder":c}),Object(s.a)(t,"&.".concat(Y.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),Object(s.a)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===i.size&&{paddingTop:1},i.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===i.type&&{MozAppearance:"textfield"})})),J=Object(v.jsx)(W.a,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Z=a.forwardRef((function(e,t){var n=Object(z.a)({props:e,name:"MuiInputBase"}),s=n["aria-describedby"],l=n.autoComplete,f=n.autoFocus,d=n.className,p=n.components,h=void 0===p?{}:p,y=n.componentsProps,b=void 0===y?{}:y,m=n.defaultValue,g=n.disabled,_=n.disableInjectingGlobalStyles,S=n.endAdornment,O=n.fullWidth,x=void 0!==O&&O,C=n.id,I=n.inputComponent,E=void 0===I?"input":I,A=n.inputProps,M=void 0===A?{}:A,R=n.inputRef,P=n.maxRows,L=n.minRows,D=n.multiline,W=void 0!==D&&D,Y=n.name,G=n.onBlur,K=n.onChange,Z=n.onClick,ee=n.onFocus,te=n.onKeyDown,ne=n.onKeyUp,re=n.placeholder,ie=n.readOnly,ae=n.renderSuffix,oe=n.rows,ue=n.startAdornment,se=n.type,ce=void 0===se?"text":se,le=n.value,fe=Object(i.a)(n,q),de=null!=M.value?M.value:le,pe=a.useRef(null!=de).current,he=a.useRef(),ve=a.useCallback((function(e){0}),[]),ye=Object(U.a)(he,R,M.ref,ve),be=a.useState(!1),me=Object(j.a)(be,2),ge=me[0],ke=me[1],we=Object(w.a)();var _e=Object(k.a)({props:n,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});_e.focused=we?we.focused:ge,a.useEffect((function(){!we&&g&&ge&&(ke(!1),G&&G())}),[we,g,ge,G]);var Se=we&&we.onFilled,Oe=we&&we.onEmpty,xe=a.useCallback((function(e){Object(H.b)(e)?Se&&Se():Oe&&Oe()}),[Se,Oe]);Object(V.a)((function(){pe&&xe({value:de})}),[de,xe,pe]);a.useEffect((function(){xe(he.current)}),[]);var je=E,Te=M;W&&"input"===je&&(Te=oe?Object(r.a)({type:void 0,minRows:oe,maxRows:oe},Te):Object(r.a)({type:void 0,maxRows:P,minRows:L},Te),je=B);a.useEffect((function(){we&&we.setAdornedStart(Boolean(ue))}),[we,ue]);var Ce=Object(r.a)({},n,{color:_e.color||"primary",disabled:_e.disabled,endAdornment:S,error:_e.error,focused:_e.focused,formControl:we,fullWidth:x,hiddenLabel:_e.hiddenLabel,multiline:W,size:_e.size,startAdornment:ue,type:ce}),Ie=function(e){var t=e.classes,n=e.color,r=e.disabled,i=e.error,a=e.endAdornment,o=e.focused,s=e.formControl,l=e.fullWidth,f=e.hiddenLabel,d=e.multiline,p=e.readOnly,h=e.size,v=e.startAdornment,y=e.type,b={root:["root","color".concat(Object(c.a)(n)),r&&"disabled",i&&"error",l&&"fullWidth",o&&"focused",s&&"formControl","small"===h&&"sizeSmall",d&&"multiline",v&&"adornedStart",a&&"adornedEnd",f&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled","search"===y&&"inputTypeSearch",d&&"inputMultiline","small"===h&&"inputSizeSmall",f&&"inputHiddenLabel",v&&"inputAdornedStart",a&&"inputAdornedEnd",p&&"readOnly"]};return Object(u.a)(b,$,t)}(Ce),Ee=h.Root||Q,Ae=b.root||{},Me=h.Input||X;return Te=Object(r.a)({},Te,b.input),Object(v.jsxs)(a.Fragment,{children:[!_&&J,Object(v.jsxs)(Ee,Object(r.a)({},Ae,!N(Ee)&&{ownerState:Object(r.a)({},Ce,Ae.ownerState)},{ref:t,onClick:function(e){he.current&&e.currentTarget===e.target&&he.current.focus(),Z&&Z(e)}},fe,{className:Object(o.a)(Ie.root,Ae.className,d),children:[ue,Object(v.jsx)(F.a.Provider,{value:null,children:Object(v.jsx)(Me,Object(r.a)({ownerState:Ce,"aria-invalid":_e.error,"aria-describedby":s,autoComplete:l,autoFocus:f,defaultValue:m,disabled:_e.disabled,id:C,onAnimationStart:function(e){xe("mui-auto-fill-cancel"===e.animationName?he.current:{value:"x"})},name:Y,placeholder:re,readOnly:ie,required:_e.required,rows:oe,value:de,onKeyDown:te,onKeyUp:ne,type:ce},Te,!N(Me)&&{as:je,ownerState:Object(r.a)({},Ce,Te.ownerState)},{ref:ye,className:Object(o.a)(Ie.input,Te.className),onBlur:function(e){G&&G(e),M.onBlur&&M.onBlur(e),we&&we.onBlur?we.onBlur(e):ke(!1)},onChange:function(e){if(!pe){var t=e.target||he.current;if(null==t)throw new Error(Object(T.a)(1));xe({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];M.onChange&&M.onChange.apply(M,[e].concat(r)),K&&K.apply(void 0,[e].concat(r))},onFocus:function(e){_e.disabled?e.stopPropagation():(ee&&ee(e),M.onFocus&&M.onFocus(e),we&&we.onFocus?we.onFocus(e):ke(!0))}}))}),S,ae?ae(Object(r.a)({},_e,{startAdornment:ue})):null]}))]})})),ee=Z;function te(e){return Object(l.a)("MuiInput",e)}var ne=Object(r.a)({},Y,Object(f.a)("MuiInput",["root","underline","input"])),re=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],ie=Object(h.a)(Q,{shouldForwardProp:function(e){return Object(h.b)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat(Object(O.a)(G(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,i=e.ownerState,a="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(a="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputUnderline,")")),Object(r.a)({position:"relative"},i.formControl&&{"label + &":{marginTop:16}},!i.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[i.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},Object(s.a)(t,"&.".concat(ne.focused,":after"),{transform:"scaleX(1) translateX(0)"}),Object(s.a)(t,"&.".concat(ne.error,":after"),{borderBottomColor:(n.vars||n).palette.error.main,transform:"scaleX(1)"}),Object(s.a)(t,"&:before",{borderBottom:"1px solid ".concat(a),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),Object(s.a)(t,"&:hover:not(.".concat(ne.disabled,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(a)}}),Object(s.a)(t,"&.".concat(ne.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),ae=Object(h.a)(X,{name:"MuiInput",slot:"Input",overridesResolver:K})({}),oe=a.forwardRef((function(e,t){var n=Object(z.a)({props:e,name:"MuiInput"}),a=n.disableUnderline,o=n.components,s=void 0===o?{}:o,c=n.componentsProps,l=n.fullWidth,f=void 0!==l&&l,d=n.inputComponent,p=void 0===d?"input":d,h=n.multiline,y=void 0!==h&&h,b=n.type,m=void 0===b?"text":b,g=Object(i.a)(n,re),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},i=Object(u.a)(n,te,t);return Object(r.a)({},t,i)}(n),w={root:{ownerState:{disableUnderline:a}}},_=c?Object(x.a)(c,w):w;return Object(v.jsx)(ee,Object(r.a)({components:Object(r.a)({Root:ie,Input:ae},s),componentsProps:_,fullWidth:f,inputComponent:p,multiline:y,ref:t,type:m},g,{classes:k}))}));oe.muiName="Input";var ue=oe,se=["className","children","classes","IconComponent","input","inputProps","variant"],ce=["root"],le=Object(v.jsx)(ue,{}),fe=a.forwardRef((function(e,t){var n=Object(z.a)({name:"MuiNativeSelect",props:e}),s=n.className,c=n.children,l=n.classes,f=void 0===l?{}:l,p=n.IconComponent,h=void 0===p?S:p,y=n.input,b=void 0===y?le:y,m=n.inputProps,_=Object(i.a)(n,se),O=Object(w.a)(),x=Object(k.a)({props:n,muiFormControl:O,states:["variant"]}),j=function(e){var t=e.classes;return Object(u.a)({root:["root"]},d,t)}(Object(r.a)({},n,{classes:f})),T=Object(i.a)(f,ce);return Object(v.jsx)(a.Fragment,{children:a.cloneElement(b,Object(r.a)({inputComponent:g,inputProps:Object(r.a)({children:c,classes:T,IconComponent:h,variant:x.variant,type:void 0},m,b?b.props.inputProps:{}),ref:t},_,{className:Object(o.a)(j.root,b.props.className,s)}))})}));fe.muiName="Select";t.a=fe},function(e,t,n){"use strict";var r=n(5),i=n(10),a=n(3),o=n(0),u=n(14),s=n(134),c=n(130),l=n(11),f=n(15),d=n(12),p=n(146),h=n(106),v=n(135);function y(e){return Object(h.a)("MuiAlert",e)}var b=Object(v.a)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),m=n(139);function g(e){return Object(h.a)("MuiIconButton",e)}var k,w=Object(v.a)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),_=n(2),S=["edge","children","className","color","disabled","disableFocusRipple","size"],O=Object(l.a)(m.a,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat(Object(d.a)(n.color))],n.edge&&t["edge".concat(Object(d.a)(n.edge))],t["size".concat(Object(d.a)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return Object(a.a)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):Object(c.a)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t=e.theme,n=e.ownerState;return Object(a.a)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&Object(a.a)({color:(t.vars||t).palette[n.color].main},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):Object(c.a)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===n.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===n.size&&{padding:12,fontSize:t.typography.pxToRem(28)},Object(r.a)({},"&.".concat(w.disabled),{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}))})),x=o.forwardRef((function(e,t){var n=Object(f.a)({props:e,name:"MuiIconButton"}),r=n.edge,o=void 0!==r&&r,c=n.children,l=n.className,p=n.color,h=void 0===p?"default":p,v=n.disabled,y=void 0!==v&&v,b=n.disableFocusRipple,m=void 0!==b&&b,k=n.size,w=void 0===k?"medium":k,x=Object(i.a)(n,S),j=Object(a.a)({},n,{edge:o,color:h,disabled:y,disableFocusRipple:m,size:w}),T=function(e){var t=e.classes,n=e.disabled,r=e.color,i=e.edge,a=e.size,o={root:["root",n&&"disabled","default"!==r&&"color".concat(Object(d.a)(r)),i&&"edge".concat(Object(d.a)(i)),"size".concat(Object(d.a)(a))]};return Object(s.a)(o,g,t)}(j);return Object(_.jsx)(O,Object(a.a)({className:Object(u.a)(T.root,l),centerRipple:!0,focusRipple:!m,disabled:y,ref:t,ownerState:j},x,{children:c}))})),j=n(23),T=Object(j.a)(Object(_.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),C=Object(j.a)(Object(_.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),I=Object(j.a)(Object(_.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),E=Object(j.a)(Object(_.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),A=Object(j.a)(Object(_.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),M=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],R=Object(l.a)(p.a,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat(Object(d.a)(n.color||n.severity))]]}})((function(e){var t=e.theme,n=e.ownerState,i="light"===t.palette.mode?c.b:c.d,o="light"===t.palette.mode?c.d:c.b,u=n.color||n.severity;return Object(a.a)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},u&&"standard"===n.variant&&Object(r.a)({color:t.vars?t.vars.palette.Alert["".concat(u,"Color")]:i(t.palette[u].light,.6),backgroundColor:t.vars?t.vars.palette.Alert["".concat(u,"StandardBg")]:o(t.palette[u].light,.9)},"& .".concat(b.icon),t.vars?{color:t.vars.palette.Alert["".concat(u,"IconColor")]}:{color:"dark"===t.palette.mode?t.palette[u].main:t.palette[u].light}),u&&"outlined"===n.variant&&Object(r.a)({color:t.vars?t.vars.palette.Alert["".concat(u,"Color")]:i(t.palette[u].light,.6),border:"1px solid ".concat((t.vars||t).palette[u].light)},"& .".concat(b.icon),t.vars?{color:t.vars.palette.Alert["".concat(u,"IconColor")]}:{color:"dark"===t.palette.mode?t.palette[u].main:t.palette[u].light}),u&&"filled"===n.variant&&Object(a.a)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert["".concat(u,"FilledColor")],backgroundColor:t.vars.palette.Alert["".concat(u,"FilledBg")]}:{backgroundColor:"dark"===t.palette.mode?t.palette[u].dark:t.palette[u].main,color:t.palette.getContrastText("dark"===t.palette.mode?t.palette[u].dark:t.palette[u].main)}))})),P=Object(l.a)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,t){return t.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),L=Object(l.a)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0",minWidth:0,overflow:"auto"}),D=Object(l.a)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),B={success:Object(_.jsx)(T,{fontSize:"inherit"}),warning:Object(_.jsx)(C,{fontSize:"inherit"}),error:Object(_.jsx)(I,{fontSize:"inherit"}),info:Object(_.jsx)(E,{fontSize:"inherit"})},N=o.forwardRef((function(e,t){var n=Object(f.a)({props:e,name:"MuiAlert"}),r=n.action,o=n.children,c=n.className,l=n.closeText,p=void 0===l?"Close":l,h=n.color,v=n.icon,b=n.iconMapping,m=void 0===b?B:b,g=n.onClose,w=n.role,S=void 0===w?"alert":w,O=n.severity,j=void 0===O?"success":O,T=n.variant,C=void 0===T?"standard":T,I=Object(i.a)(n,M),E=Object(a.a)({},n,{color:h,severity:j,variant:C}),N=function(e){var t=e.variant,n=e.color,r=e.severity,i=e.classes,a={root:["root","".concat(t).concat(Object(d.a)(n||r)),"".concat(t)],icon:["icon"],message:["message"],action:["action"]};return Object(s.a)(a,y,i)}(E);return Object(_.jsxs)(R,Object(a.a)({role:S,elevation:0,ownerState:E,className:Object(u.a)(N.root,c),ref:t},I,{children:[!1!==v?Object(_.jsx)(P,{ownerState:E,className:N.icon,children:v||m[j]||B[j]}):null,Object(_.jsx)(L,{ownerState:E,className:N.message,children:o}),null!=r?Object(_.jsx)(D,{ownerState:E,className:N.action,children:r}):null,null==r&&g?Object(_.jsx)(D,{ownerState:E,className:N.action,children:Object(_.jsx)(x,{size:"small","aria-label":p,title:p,color:"inherit",onClick:g,children:k||(k=Object(_.jsx)(A,{fontSize:"small"}))})}):null]}))}));t.a=N},function(e,t,n){"use strict";var r=n(5),i=n(10),a=n(3),o=n(0),u=n(134),s=n(14),c=n(34),l=n(33),f=n(12),d=n(15),p=n(11),h=n(106),v=n(135);function y(e){return Object(h.a)("MuiFormLabel",e)}var b=Object(v.a)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),m=n(2),g=["children","className","color","component","disabled","error","filled","focused","required"],k=Object(p.a)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return Object(a.a)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,i=e.ownerState;return Object(a.a)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},Object(r.a)(t,"&.".concat(b.focused),{color:(n.vars||n).palette[i.color].main}),Object(r.a)(t,"&.".concat(b.disabled),{color:(n.vars||n).palette.text.disabled}),Object(r.a)(t,"&.".concat(b.error),{color:(n.vars||n).palette.error.main}),t))})),w=Object(p.a)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return Object(r.a)({},"&.".concat(b.error),{color:(t.vars||t).palette.error.main})})),_=o.forwardRef((function(e,t){var n=Object(d.a)({props:e,name:"MuiFormLabel"}),r=n.children,o=n.className,p=n.component,h=void 0===p?"label":p,v=Object(i.a)(n,g),b=Object(l.a)(),_=Object(c.a)({props:n,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),S=Object(a.a)({},n,{color:_.color||"primary",component:h,disabled:_.disabled,error:_.error,filled:_.filled,focused:_.focused,required:_.required}),O=function(e){var t=e.classes,n=e.color,r=e.focused,i=e.disabled,a=e.error,o=e.filled,s=e.required,c={root:["root","color".concat(Object(f.a)(n)),i&&"disabled",a&&"error",o&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return Object(u.a)(c,y,t)}(S);return Object(m.jsxs)(k,Object(a.a)({as:h,ownerState:S,className:Object(s.a)(O.root,o),ref:t},v,{children:[r,_.required&&Object(m.jsxs)(w,{ownerState:S,"aria-hidden":!0,className:O.asterisk,children:["\u2009","*"]})]}))}));function S(e){return Object(h.a)("MuiInputLabel",e)}Object(v.a)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var O=["disableAnimation","margin","shrink","variant","className"],x=Object(p.a)(_,{shouldForwardProp:function(e){return Object(p.b)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[Object(r.a)({},"& .".concat(b.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return Object(a.a)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&Object(a.a)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&Object(a.a)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&Object(a.a)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),j=o.forwardRef((function(e,t){var n=Object(d.a)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,o=void 0!==r&&r,f=n.shrink,p=n.className,h=Object(i.a)(n,O),v=Object(l.a)(),y=f;"undefined"===typeof y&&v&&(y=v.filled||v.focused||v.adornedStart);var b=Object(c.a)({props:n,muiFormControl:v,states:["size","variant","required"]}),g=Object(a.a)({},n,{disableAnimation:o,formControl:v,shrink:y,size:b.size,variant:b.variant,required:b.required}),k=function(e){var t=e.classes,n=e.formControl,r=e.size,i=e.shrink,o={root:["root",n&&"formControl",!e.disableAnimation&&"animated",i&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},s=Object(u.a)(o,S,t);return Object(a.a)({},t,s)}(g);return Object(m.jsx)(x,Object(a.a)({"data-shrink":y,ownerState:g,ref:t,className:Object(s.a)(k.root,p)},h,{classes:k}))}));t.a=j},function(e,t,n){"use strict";var r=n(5),i=n(10),a=n(3),o=n(0),u=n(14),s=n(103),c=n(134),l=n(130),f=n(11),d=n(15),p=n(139),h=n(12),v=n(106),y=n(135);function b(e){return Object(v.a)("MuiButton",e)}var m=Object(y.a)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=o.createContext({}),k=n(2),w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],_=function(e){return Object(a.a)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},S=Object(f.a)(p.a,{shouldForwardProp:function(e){return Object(f.b)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat(Object(h.a)(n.color))],t["size".concat(Object(h.a)(n.size))],t["".concat(n.variant,"Size").concat(Object(h.a)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,i,o=e.theme,u=e.ownerState;return Object(a.a)({},o.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":Object(a.a)({textDecoration:"none",backgroundColor:o.vars?"rgba(".concat(o.vars.palette.text.primaryChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):Object(l.a)(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===u.variant&&"inherit"!==u.color&&{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[u.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):Object(l.a)(o.palette[u.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===u.variant&&"inherit"!==u.color&&{border:"1px solid ".concat((o.vars||o).palette[u.color].main),backgroundColor:o.vars?"rgba(".concat(o.vars.palette[u.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):Object(l.a)(o.palette[u.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===u.variant&&{backgroundColor:(o.vars||o).palette.grey.A100,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===u.variant&&"inherit"!==u.color&&{backgroundColor:(o.vars||o).palette[u.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[u.color].main}}),"&:active":Object(a.a)({},"contained"===u.variant&&{boxShadow:(o.vars||o).shadows[8]})},Object(r.a)(t,"&.".concat(m.focusVisible),Object(a.a)({},"contained"===u.variant&&{boxShadow:(o.vars||o).shadows[6]})),Object(r.a)(t,"&.".concat(m.disabled),Object(a.a)({color:(o.vars||o).palette.action.disabled},"outlined"===u.variant&&{border:"1px solid ".concat((o.vars||o).palette.action.disabledBackground)},"outlined"===u.variant&&"secondary"===u.color&&{border:"1px solid ".concat((o.vars||o).palette.action.disabled)},"contained"===u.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})),t),"text"===u.variant&&{padding:"6px 8px"},"text"===u.variant&&"inherit"!==u.color&&{color:(o.vars||o).palette[u.color].main},"outlined"===u.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===u.variant&&"inherit"!==u.color&&{color:(o.vars||o).palette[u.color].main,border:o.vars?"1px solid rgba(".concat(o.vars.palette[u.color].mainChannel," / 0.5)"):"1px solid ".concat(Object(l.a)(o.palette[u.color].main,.5))},"contained"===u.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(i=o.palette).getContrastText)?void 0:n.call(i,o.palette.grey[300]),backgroundColor:(o.vars||o).palette.grey[300],boxShadow:(o.vars||o).shadows[2]},"contained"===u.variant&&"inherit"!==u.color&&{color:(o.vars||o).palette[u.color].contrastText,backgroundColor:(o.vars||o).palette[u.color].main},"inherit"===u.color&&{color:"inherit",borderColor:"currentColor"},"small"===u.size&&"text"===u.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===u.size&&"text"===u.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===u.size&&"outlined"===u.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===u.size&&"outlined"===u.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===u.size&&"contained"===u.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===u.size&&"contained"===u.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},u.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},Object(r.a)(t,"&.".concat(m.focusVisible),{boxShadow:"none"}),Object(r.a)(t,"&:active",{boxShadow:"none"}),Object(r.a)(t,"&.".concat(m.disabled),{boxShadow:"none"}),t)})),O=Object(f.a)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat(Object(h.a)(n.size))]]}})((function(e){var t=e.ownerState;return Object(a.a)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},_(t))})),x=Object(f.a)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat(Object(h.a)(n.size))]]}})((function(e){var t=e.ownerState;return Object(a.a)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},_(t))})),j=o.forwardRef((function(e,t){var n=o.useContext(g),r=Object(s.a)(n,e),l=Object(d.a)({props:r,name:"MuiButton"}),f=l.children,p=l.color,v=void 0===p?"primary":p,y=l.component,m=void 0===y?"button":y,_=l.className,j=l.disabled,T=void 0!==j&&j,C=l.disableElevation,I=void 0!==C&&C,E=l.disableFocusRipple,A=void 0!==E&&E,M=l.endIcon,R=l.focusVisibleClassName,P=l.fullWidth,L=void 0!==P&&P,D=l.size,B=void 0===D?"medium":D,N=l.startIcon,F=l.type,z=l.variant,U=void 0===z?"text":z,V=Object(i.a)(l,w),W=Object(a.a)({},l,{color:v,component:m,disabled:T,disableElevation:I,disableFocusRipple:A,fullWidth:L,size:B,type:F,variant:U}),H=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,i=e.size,o=e.variant,u=e.classes,s={root:["root",o,"".concat(o).concat(Object(h.a)(t)),"size".concat(Object(h.a)(i)),"".concat(o,"Size").concat(Object(h.a)(i)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat(Object(h.a)(i))],endIcon:["endIcon","iconSize".concat(Object(h.a)(i))]},l=Object(c.a)(s,b,u);return Object(a.a)({},u,l)}(W),$=N&&Object(k.jsx)(O,{className:H.startIcon,ownerState:W,children:N}),Y=M&&Object(k.jsx)(x,{className:H.endIcon,ownerState:W,children:M});return Object(k.jsxs)(S,Object(a.a)({ownerState:W,className:Object(u.a)(n.className,H.root,_),component:m,disabled:T,focusRipple:!A,focusVisibleClassName:Object(u.a)(H.focusVisible,R),ref:t,type:F},V,{classes:H,children:[$,f,Y]}))}));t.a=j},function(e,t,n){"use strict";var r=n(0),i=n(3),a=n(55),o=n(102),u="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",s=n(2);var c=function(e){var t=e.children,n=e.theme,c=Object(o.a)(),l=r.useMemo((function(){var e=null===c?n:function(e,t){return"function"===typeof t?t(e):Object(i.a)({},e,t)}(c,n);return null!=e&&(e[u]=null!==c),e}),[n,c]);return Object(s.jsx)(a.a.Provider,{value:l,children:t})},l=n(21),f=n(39);function d(e){var t=Object(f.a)();return Object(s.jsx)(l.b.Provider,{value:"object"===typeof t?t:{},children:e.children})}t.a=function(e){var t=e.children,n=e.theme;return Object(s.jsx)(c,{theme:n,children:Object(s.jsx)(d,{children:t})})}},function(e,t,n){"use strict";var r=n(3),i=n(10),a=n(0),o=n(14),u=n(45),s=n(133),c=n(104),l=n(39),f=n(2),d=["className","component"];var p=n(105),h=n(77),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=e.defaultClassName,p=void 0===n?"MuiBox-root":n,h=e.generateClassName,v=e.styleFunctionSx,y=void 0===v?s.a:v,b=Object(u.a)("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(y),m=a.forwardRef((function(e,n){var a=Object(l.a)(t),u=Object(c.a)(e),s=u.className,v=u.component,y=void 0===v?"div":v,m=Object(i.a)(u,d);return Object(f.jsx)(b,Object(r.a)({as:y,ref:n,className:Object(o.a)(s,h?h(p):p),theme:a},m))}));return m}({defaultTheme:Object(h.a)(),defaultClassName:"MuiBox-root",generateClassName:p.a.generate});t.a=v},function(e,t,n){"use strict";var r=n(10),i=n(3),a=n(0),o=n(14),u=n(134),s=n(130),c=n(11),l=n(15),f=n(106),d=n(135);function p(e){return Object(f.a)("MuiPaper",e)}Object(d.a)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var h=n(2),v=["className","component","elevation","square","variant"],y=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},b=Object(c.a)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return Object(i.a)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&Object(i.a)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat(Object(s.a)("#fff",y(r.elevation)),", ").concat(Object(s.a)("#fff",y(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),m=a.forwardRef((function(e,t){var n=Object(l.a)({props:e,name:"MuiPaper"}),a=n.className,s=n.component,c=void 0===s?"div":s,f=n.elevation,d=void 0===f?1:f,y=n.square,m=void 0!==y&&y,g=n.variant,k=void 0===g?"elevation":g,w=Object(r.a)(n,v),_=Object(i.a)({},n,{component:c,elevation:d,square:m,variant:k}),S=function(e){var t=e.square,n=e.elevation,r=e.variant,i=e.classes,a={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return Object(u.a)(a,p,i)}(_);return Object(h.jsx)(b,Object(i.a)({as:c,ownerState:_,className:Object(o.a)(S.root,a),ref:t},w))}));t.a=m},function(e,t,n){"use strict";var r=n(27),i=n(10),a=n(3),o=n(0),u=n(14),s=n(134),c=n(37),l=n(12),f=n(15),d=n(11),p=n(106),h=n(135);function v(e){return Object(p.a)("MuiCircularProgress",e)}Object(h.a)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var y,b,m,g,k,w,_,S,O=n(2),x=["className","color","disableShrink","size","style","thickness","value","variant"],j=44,T=Object(c.c)(k||(k=y||(y=Object(r.a)(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"])))),C=Object(c.c)(w||(w=b||(b=Object(r.a)(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"])))),I=Object(d.a)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["color".concat(Object(l.a)(n.color))]]}})((function(e){var t=e.ownerState,n=e.theme;return Object(a.a)({display:"inline-block"},"determinate"===t.variant&&{transition:n.transitions.create("transform")},"inherit"!==t.color&&{color:(n.vars||n).palette[t.color].main})}),(function(e){return"indeterminate"===e.ownerState.variant&&Object(c.b)(_||(_=m||(m=Object(r.a)(["\n animation: "," 1.4s linear infinite;\n "]))),T)})),E=Object(d.a)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:function(e,t){return t.svg}})({display:"block"}),A=Object(d.a)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:function(e,t){var n=e.ownerState;return[t.circle,t["circle".concat(Object(l.a)(n.variant))],n.disableShrink&&t.circleDisableShrink]}})((function(e){var t=e.ownerState,n=e.theme;return Object(a.a)({stroke:"currentColor"},"determinate"===t.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(function(e){var t=e.ownerState;return"indeterminate"===t.variant&&!t.disableShrink&&Object(c.b)(S||(S=g||(g=Object(r.a)(["\n animation: "," 1.4s ease-in-out infinite;\n "]))),C)})),M=o.forwardRef((function(e,t){var n=Object(f.a)({props:e,name:"MuiCircularProgress"}),r=n.className,o=n.color,c=void 0===o?"primary":o,d=n.disableShrink,p=void 0!==d&&d,h=n.size,y=void 0===h?40:h,b=n.style,m=n.thickness,g=void 0===m?3.6:m,k=n.value,w=void 0===k?0:k,_=n.variant,S=void 0===_?"indeterminate":_,T=Object(i.a)(n,x),C=Object(a.a)({},n,{color:c,disableShrink:p,size:y,thickness:g,value:w,variant:S}),M=function(e){var t=e.classes,n=e.variant,r=e.color,i=e.disableShrink,a={root:["root",n,"color".concat(Object(l.a)(r))],svg:["svg"],circle:["circle","circle".concat(Object(l.a)(n)),i&&"circleDisableShrink"]};return Object(s.a)(a,v,t)}(C),R={},P={},L={};if("determinate"===S){var D=2*Math.PI*((j-g)/2);R.strokeDasharray=D.toFixed(3),L["aria-valuenow"]=Math.round(w),R.strokeDashoffset="".concat(((100-w)/100*D).toFixed(3),"px"),P.transform="rotate(-90deg)"}return Object(O.jsx)(I,Object(a.a)({className:Object(u.a)(M.root,r),style:Object(a.a)({width:y,height:y},P,b),ownerState:C,ref:t,role:"progressbar"},L,T,{children:Object(O.jsx)(E,{className:M.svg,ownerState:C,viewBox:"".concat(22," ").concat(22," ").concat(j," ").concat(j),children:Object(O.jsx)(A,{className:M.circle,style:R,ownerState:C,cx:j,cy:j,r:(j-g)/2,fill:"none",strokeWidth:g})})}))}));t.a=M},function(e,t,n){"use strict";var r=n(8),i=n(10),a=n(3),o=n(0),u=n(14),s=n(134),c=n(15),l=n(11),f=n(51),d=n(12),p=n(46),h=n(44),v=n(106),y=n(135);function b(e){return Object(v.a)("MuiFormControl",e)}Object(y.a)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var m=n(2),g=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],k=Object(l.a)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return Object(a.a)({},t.root,t["margin".concat(Object(d.a)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return Object(a.a)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),w=o.forwardRef((function(e,t){var n=Object(c.a)({props:e,name:"MuiFormControl"}),l=n.children,v=n.className,y=n.color,w=void 0===y?"primary":y,_=n.component,S=void 0===_?"div":_,O=n.disabled,x=void 0!==O&&O,j=n.error,T=void 0!==j&&j,C=n.focused,I=n.fullWidth,E=void 0!==I&&I,A=n.hiddenLabel,M=void 0!==A&&A,R=n.margin,P=void 0===R?"none":R,L=n.required,D=void 0!==L&&L,B=n.size,N=void 0===B?"medium":B,F=n.variant,z=void 0===F?"outlined":F,U=Object(i.a)(n,g),V=Object(a.a)({},n,{color:w,component:S,disabled:x,error:T,fullWidth:E,hiddenLabel:M,margin:P,required:D,size:N,variant:z}),W=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,i={root:["root","none"!==n&&"margin".concat(Object(d.a)(n)),r&&"fullWidth"]};return Object(s.a)(i,b,t)}(V),H=o.useState((function(){var e=!1;return l&&o.Children.forEach(l,(function(t){if(Object(p.a)(t,["Input","Select"])){var n=Object(p.a)(t,["Select"])?t.props.input:t;n&&Object(f.a)(n.props)&&(e=!0)}})),e})),$=Object(r.a)(H,2),Y=$[0],q=$[1],G=o.useState((function(){var e=!1;return l&&o.Children.forEach(l,(function(t){Object(p.a)(t,["Input","Select"])&&Object(f.b)(t.props,!0)&&(e=!0)})),e})),K=Object(r.a)(G,2),Q=K[0],X=K[1],J=o.useState(!1),Z=Object(r.a)(J,2),ee=Z[0],te=Z[1];x&&ee&&te(!1);var ne=void 0===C||x?ee:C,re=o.useCallback((function(){X(!0)}),[]),ie={adornedStart:Y,setAdornedStart:q,color:w,disabled:x,error:T,filled:Q,focused:ne,fullWidth:E,hiddenLabel:M,size:N,onBlur:function(){te(!1)},onEmpty:o.useCallback((function(){X(!1)}),[]),onFilled:re,onFocus:function(){te(!0)},registerEffect:undefined,required:D,variant:z};return Object(m.jsx)(h.a.Provider,{value:ie,children:Object(m.jsx)(k,Object(a.a)({as:S,ownerState:V,className:Object(u.a)(W.root,v),ref:t},U,{children:l}))})}));t.a=w}]]);
3
- //# sourceMappingURL=2.2a96fe85.chunk.js.map