1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[74767,78442],{99811:(t,e,i)=>{var r=i(47237)("length");t.exports=r},81993:(t,e,i)=>{var r=i(99811),n=i(49698),o=i(77927);t.exports=function(t){return n(t)?o(t):r(t)}},77927:t=>{var e="\ud800-\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",n="[^"+e+"]",o="(?:\ud83c[\udde6-\uddff]){2}",s="[\ud800-\udbff][\udc00-\udfff]",l="(?:"+i+"|"+r+")?",a="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[n,o,s].join("|")+")"+a+l+")*",u=RegExp(r+"(?="+r+")|(?:"+[n+i+"?",i,o,s,"["+e+"]"].join("|")+")"+(a+l+f),"g");t.exports=function(t){for(var e=u.lastIndex=0;u.test(t);)++e;return e}},99084:(t,e,i)=>{var r=i(56449);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},21013:(t,e,i)=>{var r=i(25160),n=i(36800),o=i(61489),s=Math.ceil,l=Math.max;t.exports=function(t,e,i){e=(i?n(t,e,i):void 0===e)?1:l(o(e),0);var a=null==t?0:t.length;if(!a||e<1)return[];for(var f=0,u=0,h=Array(s(a/e));f<a;)h[u++]=r(t,f,f+=e);return h}},47091:(t,e,i)=>{var r=i(88984),n=i(5861),o=i(64894),s=i(85015),l=i(81993);t.exports=function(t){if(null==t)return 0;if(o(t))return s(t)?l(t):t.length;var e=n(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},94846:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(20068),n=i(59902),o=i(93503);function s(t,e){return(0,o.A)(2,arguments),function(t,e){(0,o.A)(2,arguments);var i=(0,r.A)(e);return(0,n.A)(t,12*i)}(t,-(0,r.A)(e))}},51216:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var r=i(96540),n=i(14299),o=n.Bd?r.useLayoutEffect:r.useEffect,s={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};let l=n.Bd&&void 0!==window.ResizeObserver?function(){var t=(0,r.useState)(null),e=t[0],i=t[1],n=(0,r.useState)(s),l=n[0],a=n[1],f=(0,r.useMemo)(function(){return new window.ResizeObserver(function(t){if(t[0]){var e=t[0].contentRect;a({x:e.x,y:e.y,width:e.width,height:e.height,top:e.top,left:e.left,bottom:e.bottom,right:e.right})}})},[]);return o(function(){if(e)return f.observe(e),function(){f.disconnect()}},[e]),[i,l]}:function(){return[n.lQ,s]}},57650:(t,e,i)=>{var r=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(i(96540));function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function o(t,e){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var s=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{},a="object"==typeof l&&l&&l.Object===Object&&l,f="object"==typeof self&&self&&self.Object===Object&&self,u=a||f||Function("return this")(),h=function(){return u.Date.now()},c=/\s/,d=function(t){for(var e=t.length;e--&&c.test(t.charAt(e)););return e},p=/^\s+/,g=u.Symbol,_=Object.prototype,m=_.hasOwnProperty,y=_.toString,b=g?g.toStringTag:void 0,v=function(t){var e=m.call(t,b),i=t[b];try{t[b]=void 0;var r=!0}catch(t){}var n=y.call(t);return r&&(e?t[b]=i:delete t[b]),n},w=Object.prototype.toString,E=g?g.toStringTag:void 0,O=function(t){var e;return"symbol"==typeof t||null!=t&&"object"==typeof t&&"[object Symbol]"==(null==(e=t)?void 0===e?"[object Undefined]":"[object Null]":E&&E in Object(e)?v(e):w.call(e))},S=0/0,I=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,A=/^0o[0-7]+$/i,N=parseInt,T=function(t){if("number"==typeof t)return t;if(O(t))return S;if(s(t)){var e,i="function"==typeof t.valueOf?t.valueOf():t;t=s(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=(e=t)?e.slice(0,d(e)+1).replace(p,""):e;var r=R.test(t);return r||A.test(t)?N(t.slice(2),r?2:8):I.test(t)?S:+t},x=Math.max,C=Math.min,L=function(t,e,i){var r,n,o,l,a,f,u=0,c=!1,d=!1,p=!0;if("function"!=typeof t)throw TypeError("Expected a function");function g(e){var i=r,o=n;return r=n=void 0,u=e,l=t.apply(o,i)}function _(t){var i=t-f,r=t-u;return void 0===f||i>=e||i<0||d&&r>=o}function m(){var t,i,r,n=h();if(_(n))return y(n);a=setTimeout(m,(t=n-f,i=n-u,r=e-t,d?C(r,o-i):r))}function y(t){return(a=void 0,p&&r)?g(t):(r=n=void 0,l)}function b(){var t,i=h(),o=_(i);if(r=arguments,n=this,f=i,o){if(void 0===a)return u=t=f,a=setTimeout(m,e),c?g(t):l;if(d)return clearTimeout(a),a=setTimeout(m,e),g(f)}return void 0===a&&(a=setTimeout(m,e)),l}return e=T(e)||0,s(i)&&(c=!!i.leading,o=(d="maxWait"in i)?x(T(i.maxWait)||0,e):o,p="trailing"in i?!!i.trailing:p),b.cancel=function(){void 0!==a&&clearTimeout(a),u=0,r=f=n=a=void 0},b.flush=function(){return void 0===a?l:y(h())},b},D=["innerRef"],P="undefined"!=typeof window;t.exports=function(t,e){return void 0===t&&(t=150),function(i){var s=function(s){function l(i){var r;return(r=s.call(this,i)||this).state={winWidth:P?window.innerWidth:0},r.onResize=L(r.onResize.bind(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r)),t,e),r}l.prototype=Object.create(s.prototype),l.prototype.constructor=l,o(l,s);var a=l.prototype;return a.componentDidMount=function(){window.addEventListener("resize",this.onResize)},a.componentWillUnmount=function(){window.removeEventListener("resize",this.onResize),this.onResize.cancel()},a.onResize=function(){this.setState({winWidth:window.innerWidth})},a.render=function(){var t=this.props,e=t.innerRef,o=function(t,e){if(null==t)return{};var i,r,n={},o=Object.keys(t);for(r=0;r<o.length;r++)i=o[r],e.indexOf(i)>=0||(n[i]=t[i]);return n}(t,D);return r.default.createElement(i,n({ref:e},o,this.state))},l}(r.default.Component);return s.displayName="Responsive("+(i.displayName||i.name)+")",s.defaultProps={innerRef:function(){}},s}}},18854:(t,e,i)=>{"use strict";i.d(e,{l:()=>c});var r=i(74651),n=i(99139),o=i(15284),s=i(54443),l=i(34906),a=i(81943),f=i(29857),u=i(96540),h=i(74848),c=(0,o.R)((t,e)=>{var i;let o=(0,s.o5)("Select",t),{rootProps:u,placeholder:c,icon:d,color:p,height:_,h:m,minH:y,minHeight:b,iconColor:v,iconSize:w,...E}=(0,l.MN)(t),[O,S]=function(t,e){let i={},r={};for(let[n,o]of Object.entries(t))e.includes(n)?i[n]=o:r[n]=o;return[i,r]}(E,l.GF),I=(0,n.t)(S),R={paddingEnd:"2rem",...o.field,_focus:{zIndex:"unset",...null==(i=o.field)?void 0:i._focus}};return(0,h.jsxs)(a.B.div,{className:"chakra-select__wrapper",__css:{width:"100%",height:"fit-content",position:"relative",color:p},...O,...u,children:[(0,h.jsx)(r.z,{ref:e,height:null!=m?m:_,minH:null!=y?y:b,placeholder:c,...I,__css:R,children:t.children}),(0,h.jsx)(g,{"data-disabled":(0,f.sE)(I.disabled),...(v||p)&&{color:v||p},__css:o.icon,...w&&{fontSize:w},children:d})]})});c.displayName="Select";var d=t=>(0,h.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,h.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),p=(0,a.B)("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),g=t=>{let{children:e=(0,h.jsx)(d,{}),...i}=t,r=(0,u.cloneElement)(e,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,h.jsx)(p,{...i,className:"chakra-select__icon-wrapper",children:(0,u.isValidElement)(e)?r:null})};g.displayName="SelectIcon"},26892:(t,e,i)=>{"use strict";i.d(e,{q:()=>W});var r="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n=[],o=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,l=!1;function a(){l=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",e=0,i=t.length;e<i;++e)n[e]=t[e],o[t.charCodeAt(e)]=e;o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63}function f(t){l||a();for(var e,i=t.length,r=i%3,o="",s=[],f=0,u=i-r;f<u;f+=16383)s.push(function(t,e,i){for(var r,o=[],s=e;s<i;s+=3)o.push(n[(r=(t[s]<<16)+(t[s+1]<<8)+t[s+2])>>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return o.join("")}(t,f,f+16383>u?u:f+16383));return 1===r?(o+=n[(e=t[i-1])>>2],o+=n[e<<4&63],o+="=="):2===r&&(o+=n[(e=(t[i-2]<<8)+t[i-1])>>10],o+=n[e>>4&63],o+=n[e<<2&63],o+="="),s.push(o),s.join("")}function u(t,e,i,r,n){var o,s,l=8*n-r-1,a=(1<<l)-1,f=a>>1,u=-7,h=i?n-1:0,c=i?-1:1,d=t[e+h];for(h+=c,o=d&(1<<-u)-1,d>>=-u,u+=l;u>0;o=256*o+t[e+h],h+=c,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+t[e+h],h+=c,u-=8);if(0===o)o=1-f;else{if(o===a)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=f}return(d?-1:1)*s*Math.pow(2,o-r)}function h(t,e,i,r,n,o){var s,l,a,f=8*o-n-1,u=(1<<f)-1,h=u>>1,c=23===n?5960464477539062e-23:0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(l=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(a=Math.pow(2,-s))<1&&(s--,a*=2),s+h>=1?e+=c/a:e+=c*Math.pow(2,1-h),e*a>=2&&(s++,a/=2),s+h>=u?(l=0,s=u):s+h>=1?(l=(e*a-1)*Math.pow(2,n),s+=h):(l=e*Math.pow(2,h-1)*Math.pow(2,n),s=0));n>=8;t[i+d]=255&l,d+=p,l/=256,n-=8);for(s=s<<n|l,f+=n;f>0;t[i+d]=255&s,d+=p,s/=256,f-=8);t[i+d-p]|=128*g}var c={}.toString,d=Array.isArray||function(t){return"[object Array]"==c.call(t)};function p(){return _.TYPED_ARRAY_SUPPORT?0x7fffffff:0x3fffffff}function g(t,e){if(p()<e)throw RangeError("Invalid typed array length");return _.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=_.prototype:(null===t&&(t=new _(e)),t.length=e),t}function _(t,e,i){if(!_.TYPED_ARRAY_SUPPORT&&!(this instanceof _))return new _(t,e,i);if("number"==typeof t){if("string"==typeof e)throw Error("If encoding is specified then the first argument must be a string");return b(this,t)}return m(this,t,e,i)}function m(t,e,i,r){if("number"==typeof e)throw TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,i,r){if(e.byteLength,i<0||e.byteLength<i)throw RangeError("'offset' is out of bounds");if(e.byteLength<i+(r||0))throw RangeError("'length' is out of bounds");return e=void 0===i&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,i):new Uint8Array(e,i,r),_.TYPED_ARRAY_SUPPORT?(t=e).__proto__=_.prototype:t=v(t,e),t}(t,e,i,r):"string"==typeof e?function(t,e,i){if(("string"!=typeof i||""===i)&&(i="utf8"),!_.isEncoding(i))throw TypeError('"encoding" must be a valid string encoding');var r=0|O(e,i),n=(t=g(t,r)).write(e,i);return n!==r&&(t=t.slice(0,n)),t}(t,e,i):function(t,e){if(E(e)){var i,r=0|w(e.length);return 0===(t=g(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?g(t,0):v(t,e);if("Buffer"===e.type&&d(e.data))return v(t,e.data)}throw TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function y(t){if("number"!=typeof t)throw TypeError('"size" argument must be a number');if(t<0)throw RangeError('"size" argument must not be negative')}function b(t,e){if(y(e),t=g(t,e<0?0:0|w(e)),!_.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function v(t,e){var i=e.length<0?0:0|w(e.length);t=g(t,i);for(var r=0;r<i;r+=1)t[r]=255&e[r];return t}function w(t){if(t>=p())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p().toString(16)+" bytes");return 0|t}function E(t){return!!(null!=t&&t._isBuffer)}function O(t,e){if(E(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return V(t).length;default:if(r)return B(t).length;e=(""+e).toLowerCase(),r=!0}}function S(t,e,i){var r,n,o=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;
1)switch(t){case"hex":return function(t,e,i){var r,n=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>n)&&(i=n);for(var o="",s=e;s<i;++s)o+=(r=t[s])<16?"0"+r.toString(16):r.toString(16);return o}(this,e,i);case"utf8":case"utf-8":return N(this,e,i);case"ascii":return function(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(127&t[n]);return r}(this,e,i);case"latin1":case"binary":return function(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(t[n]);return r}(this,e,i);case"base64":return r=e,n=i,0===r&&n===this.length?f(this):f(this.slice(r,n));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,i){for(var r=t.slice(e,i),n="",o=0;o<r.length;o+=2)n+=String.fromCharCode(r[o]+256*r[o+1]);return n}(this,e,i);default:if(o)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function I(t,e,i){var r=t[e];t[e]=t[i],t[i]=r}function R(t,e,i,r,n){if(0===t.length)return -1;if("string"==typeof i?(r=i,i=0):i>0x7fffffff?i=0x7fffffff:i<-0x80000000&&(i=-0x80000000),isNaN(i=+i)&&(i=n?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(n)return -1;i=t.length-1}else if(i<0){if(!n)return -1;i=0}if("string"==typeof e&&(e=_.from(e,r)),E(e))return 0===e.length?-1:A(t,e,i,r,n);if("number"==typeof e)return(e&=255,_.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)?n?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):A(t,[e],i,r,n);throw TypeError("val must be string, number or Buffer")}function A(t,e,i,r,n){var o,s=1,l=t.length,a=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;s=2,l/=2,a/=2,i/=2}function f(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(n){var u=-1;for(o=i;o<l;o++)if(f(t,o)===f(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===a)return u*s}else -1!==u&&(o-=o-u),u=-1}else for(i+a>l&&(i=l-a),o=i;o>=0;o--){for(var h=!0,c=0;c<a;c++)if(f(t,o+c)!==f(e,c)){h=!1;break}if(h)return o}return -1}function N(t,e,i){i=Math.min(t.length,i);for(var r=[],n=e;n<i;){var o,s,l,a,f=t[n],u=null,h=f>239?4:f>223?3:f>191?2:1;if(n+h<=i)switch(h){case 1:f<128&&(u=f);break;case 2:(192&(o=t[n+1]))==128&&(a=(31&f)<<6|63&o)>127&&(u=a);break;case 3:o=t[n+1],s=t[n+2],(192&o)==128&&(192&s)==128&&(a=(15&f)<<12|(63&o)<<6|63&s)>2047&&(a<55296||a>57343)&&(u=a);break;case 4:o=t[n+1],s=t[n+2],l=t[n+3],(192&o)==128&&(192&s)==128&&(192&l)==128&&(a=(15&f)<<18|(63&o)<<12|(63&s)<<6|63&l)>65535&&a<1114112&&(u=a)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),n+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var i="",r=0;r<e;)i+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return i}(r)}function T(t,e,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>i)throw RangeError("Trying to access beyond buffer length")}function x(t,e,i,r,n,o){if(!E(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<o)throw RangeError('"value" argument is out of bounds');if(i+r>t.length)throw RangeError("Index out of range")}function C(t,e,i,r){e<0&&(e=65535+e+1);for(var n=0,o=Math.min(t.length-i,2);n<o;++n)t[i+n]=(e&255<<8*(r?n:1-n))>>>(r?n:1-n)*8}function L(t,e,i,r){e<0&&(e=0xffffffff+e+1);for(var n=0,o=Math.min(t.length-i,4);n<o;++n)t[i+n]=e>>>(r?n:3-n)*8&255}function D(t,e,i,r,n,o){if(i+r>t.length||i<0)throw RangeError("Index out of range")}function P(t,e,i,r,n){return n||D(t,e,i,4),h(t,e,i,r,23,4),i+4}function j(t,e,i,r,n){return n||D(t,e,i,8),h(t,e,i,r,52,8),i+8}_.TYPED_ARRAY_SUPPORT=void 0===r.TYPED_ARRAY_SUPPORT||r.TYPED_ARRAY_SUPPORT,p(),_.poolSize=8192,_._augment=function(t){return t.__proto__=_.prototype,t},_.from=function(t,e,i){return m(null,t,e,i)},_.TYPED_ARRAY_SUPPORT&&(_.prototype.__proto__=Uint8Array.prototype,_.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&_[Symbol.species]),_.alloc=function(t,e,i){return(y(t),t<=0)?g(null,t):void 0!==e?"string"==typeof i?g(null,t).fill(e,i):g(null,t).fill(e):g(null,t)},_.allocUnsafe=function(t){return b(null,t)},_.allocUnsafeSlow=function(t){return b(null,t)}
1,_.isBuffer=k,_.compare=function(t,e){if(!E(t)||!E(e))throw TypeError("Arguments must be Buffers");if(t===e)return 0;for(var i=t.length,r=e.length,n=0,o=Math.min(i,r);n<o;++n)if(t[n]!==e[n]){i=t[n],r=e[n];break}return i<r?-1:r<i?1:0},_.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},_.concat=function(t,e){if(!d(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return _.alloc(0);if(void 0===e)for(i=0,e=0;i<t.length;++i)e+=t[i].length;var i,r=_.allocUnsafe(e),n=0;for(i=0;i<t.length;++i){var o=t[i];if(!E(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(r,n),n+=o.length}return r},_.byteLength=O,_.prototype._isBuffer=!0,_.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)I(this,e,e+1);return this},_.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)I(this,e,e+3),I(this,e+1,e+2);return this},_.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)I(this,e,e+7),I(this,e+1,e+6),I(this,e+2,e+5),I(this,e+3,e+4);return this},_.prototype.toString=function(){var t=0|this.length;return 0===t?"":0==arguments.length?N(this,0,t):S.apply(this,arguments)},_.prototype.equals=function(t){if(!E(t))throw TypeError("Argument must be a Buffer");return this===t||0===_.compare(this,t)},_.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},_.prototype.compare=function(t,e,i,r,n){if(!E(t))throw TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),e<0||i>t.length||r<0||n>this.length)throw RangeError("out of range index");if(r>=n&&e>=i)return 0;if(r>=n)return -1;if(e>=i)return 1;if(e>>>=0,i>>>=0,r>>>=0,n>>>=0,this===t)return 0;for(var o=n-r,s=i-e,l=Math.min(o,s),a=this.slice(r,n),f=t.slice(e,i),u=0;u<l;++u)if(a[u]!==f[u]){o=a[u],s=f[u];break}return o<s?-1:s<o?1:0},_.prototype.includes=function(t,e,i){return -1!==this.indexOf(t,e,i)},_.prototype.indexOf=function(t,e,i){return R(this,t,e,i,!0)},_.prototype.lastIndexOf=function(t,e,i){return R(this,t,e,i,!1)},_.prototype.write=function(t,e,i,r){if(void 0===e)r="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)r=e,i=this.length,e=0;else if(isFinite(e))e|=0,isFinite(i)?(i|=0,void 0===r&&(r="utf8")):(r=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,o,s,l,a,f,u,h,c,d,p,g,_=this.length-e;if((void 0===i||i>_)&&(i=_),t.length>0&&(i<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var m=!1;;)switch(r){case"hex":return function(t,e,i,r){i=Number(i)||0;var n=t.length-i;r?(r=Number(r))>n&&(r=n):r=n;var o=e.length;if(o%2!=0)throw TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var l=parseInt(e.substr(2*s,2),16);if(isNaN(l))break;t[i+s]=l}return s}(this,t,e,i);case"utf8":case"utf-8":return a=e,f=i,$(B(t,this.length-a),this,a,f);case"ascii":return u=e,h=i,$(M(t),this,u,h);case"latin1":case"binary":return n=this,o=t,s=e,l=i,$(M(o),n,s,l);case"base64":return c=e,d=i,$(V(t),this,c,d);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p=e,g=i,$(function(t,e){for(var i,r,n=[],o=0;o<t.length&&!((e-=2)<0);++o)r=(i=t.charCodeAt(o))>>8,n.push(i%256),n.push(r);return n}(t,this.length-p),this,p,g);default:if(m)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),m=!0}},_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},_.prototype.slice=function(t,e){var i,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),_.TYPED_ARRAY_SUPPORT)(i=this.subarray(t,e)).__proto__=_.prototype;else{var n=e-t;i=new _(n,void 0);for(var o=0;o<n;++o)i[o]=this[o+t]}return i}
vendor: 4,176 bytes, line 1
1,_.prototype.readUIntLE=function(t,e,i){t|=0,e|=0,i||T(t,e,this.length);for(var r=this[t],n=1,o=0;++o<e&&(n*=256);)r+=this[t+o]*n;return r},_.prototype.readUIntBE=function(t,e,i){t|=0,e|=0,i||T(t,e,this.length);for(var r=this[t+--e],n=1;e>0&&(n*=256);)r+=this[t+--e]*n;return r},_.prototype.readUInt8=function(t,e){return e||T(t,1,this.length),this[t]},_.prototype.readUInt16LE=function(t,e){return e||T(t,2,this.length),this[t]|this[t+1]<<8},_.prototype.readUInt16BE=function(t,e){return e||T(t,2,this.length),this[t]<<8|this[t+1]},_.prototype.readUInt32LE=function(t,e){return e||T(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},_.prototype.readUInt32BE=function(t,e){return e||T(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},_.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||T(t,e,this.length);for(var r=this[t],n=1,o=0;++o<e&&(n*=256);)r+=this[t+o]*n;return r>=(n*=128)&&(r-=Math.pow(2,8*e)),r},_.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||T(t,e,this.length);for(var r=e,n=1,o=this[t+--r];r>0&&(n*=256);)o+=this[t+--r]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},_.prototype.readInt8=function(t,e){return(e||T(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},_.prototype.readInt16LE=function(t,e){e||T(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?0xffff0000|i:i},_.prototype.readInt16BE=function(t,e){e||T(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?0xffff0000|i:i},_.prototype.readInt32LE=function(t,e){return e||T(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},_.prototype.readInt32BE=function(t,e){return e||T(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},_.prototype.readFloatLE=function(t,e){return e||T(t,4,this.length),u(this,t,!0,23,4)},_.prototype.readFloatBE=function(t,e){return e||T(t,4,this.length),u(this,t,!1,23,4)},_.prototype.readDoubleLE=function(t,e){return e||T(t,8,this.length),u(this,t,!0,52,8)},_.prototype.readDoubleBE=function(t,e){return e||T(t,8,this.length),u(this,t,!1,52,8)},_.prototype.writeUIntLE=function(t,e,i,r){if(t=+t,e|=0,i|=0,!r){var n=Math.pow(2,8*i)-1;x(this,t,e,i,n,0)}var o=1,s=0;for(this[e]=255&t;++s<i&&(o*=256);)this[e+s]=t/o&255;return e+i},_.prototype.writeUIntBE=function(t,e,i,r){if(t=+t,e|=0,i|=0,!r){var n=Math.pow(2,8*i)-1;x(this,t,e,i,n,0)}var o=i-1,s=1;for(this[e+o]=255&t;--o>=0&&(s*=256);)this[e+o]=t/s&255;return e+i},_.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,1,255,0),_.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},_.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,2,65535,0),_.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},_.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,2,65535,0),_.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},_.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,4,0xffffffff,0),_.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):L(this,t,e,!0),e+4},_.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,4,0xffffffff,0),_.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},_.prototype.writeIntLE=function(t,e,i,r){if(t=+t,e|=0,!r){var n=Math.pow(2,8*i-1);x(this,t,e,i,n-1,-n)}var o=0,s=1,l=0;for(this[e]=255&t;++o<i&&(s*=256);)t<0&&0===l&&0!==this[e+o-1]&&(l=1),this[e+o]=(t/s>>0)-l&255;return e+i},_.prototype.writeIntBE=function(t,e,i,r){if(t=+t,e|=0,!r){var n=Math.pow(2,8*i-1);x(this,t,e,i,n-1,-n)}var o=i-1,s=1,l=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===l&&0!==this[e+o+1]&&(l=1),this[e+o]=(t/s>>0)-l&255;return e+i},_.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,1,127,-128),_.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},_.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,2,32767,-32768),_.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},_.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,2,32767,-32768),_.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
18,this[e+1]=255&t):C(this,t,e,!1),e+2},_.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,4,0x7fffffff,-0x80000000),_.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):L(this,t,e,!0),e+4},_.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),_.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},_.prototype.writeFloatLE=function(t,e,i){return P(this,t,e,!0,i)},_.prototype.writeFloatBE=function(t,e,i){return P(this,t,e,!1,i)},_.prototype.writeDoubleLE=function(t,e,i){return j(this,t,e,!0,i)},_.prototype.writeDoubleBE=function(t,e,i){return j(this,t,e,!1,i)},_.prototype.copy=function(t,e,i,r){if(i||(i=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<i&&(r=i),r===i||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("sourceStart out of bounds");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-i&&(r=t.length-e+i);var n,o=r-i;if(this===t&&i<e&&e<r)for(n=o-1;n>=0;--n)t[n+e]=this[n+i];else if(o<1e3||!_.TYPED_ARRAY_SUPPORT)for(n=0;n<o;++n)t[n+e]=this[n+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+o),e);return o},_.prototype.fill=function(t,e,i,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,i=this.length):"string"==typeof i&&(r=i,i=this.length),1===t.length){var n,o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!_.isEncoding(r))throw TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<i)throw RangeError("Out of range index");if(i<=e)return this;if(e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(n=e;n<i;++n)this[n]=t;else{var s=E(t)?t:B(new _(t,r).toString()),l=s.length;for(n=0;n<i-e;++n)this[n+e]=s[n%l]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function B(t,e){e=e||1/0;for(var i,r=t.length,n=null,o=[],s=0;s<r;++s){if((i=t.charCodeAt(s))>
155295&&i<57344){if(!n){if(i>56319||s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}n=i;continue}if(i<56320){(e-=3)>-1&&o.push(239,191,189),n=i;continue}i=(n-55296<<10|i-56320)+65536}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return o}function M(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}function V(t){return function(t){l||a();var e,i,r,n,f,u,h=t.length;if(h%4>0)throw Error("Invalid string. Length must be a multiple of 4");f="="===t[h-2]?2:"="===t[h-1]?1:0,u=new s(3*h/4-f),r=f>0?h-4:h;var c=0;for(e=0,i=0;e<r;e+=4,i+=3)n=o[t.charCodeAt(e)]<<18|o[t.charCodeAt(e+1)]<<12|o[t.charCodeAt(e+2)]<<6|o[t.charCodeAt(e+3)],u[c++]=n>>16&255,u[c++]=n>>8&255,u[c++]=255&n;return 2===f?(n=o[t.charCodeAt(e)]<<2|o[t.charCodeAt(e+1)]>>4,u[c++]=255&n):1===f&&(n=o[t.charCodeAt(e)]<<10|o[t.charCodeAt(e+1)]<<4|o[t.charCodeAt(e+2)]>>2,u[c++]=n>>8&255,u[c++]=255&n),u}(function(t){var e;if((t=((e=t).trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(U,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function $(t,e,i,r){for(var n=0;n<r&&!(n+i>=e.length)&&!(n>=t.length);++n)e[n+i]=t[n];return n}function k(t){return null!=t&&(!!t._isBuffer||z(t)||"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&z(t.slice(0,0)))}function z(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}class F extends Error{constructor(t,e,i,...r){for(let n of(Array.isArray(e)&&(e=e.join(" ").trim()),super(e),void 0!==Error.captureStackTrace&&Error.captureStackTrace(this,F),this.code=t,r))for(let t in n){let e=n[t];this[t]=k(e)?e.toString(i.encoding):null==e?e:JSON.parse(JSON.stringify(e))}}}let q=function(t){let e=[];for(let i=0,r=t.length;i<r;i++){let r=t[i];if(null==r||!1===r)e[i]={disabled:!0};else if("string"==typeof r)e[i]={name:r};else{if("object"!=typeof r||null===r||Array.isArray(r))throw new F("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(r)} at position ${i}`]);if("string"!=typeof r.name)throw new F("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${i}`,"when column is an object literal"]);e[i]=r}}return e};class Y{constructor(t=100){this.size=t,this.length=0,this.buf=_.allocUnsafe(t)}prepend(t){if(k(t)){let e=this.length+t.length;if(e>=this.size&&(this.resize(),e>=this.size))throw Error("INVALID_BUFFER_STATE");let i=this.buf;this.buf=_.allocUnsafe(this.size),t.copy(this.buf,0),i.copy(this.buf,t.length),this.length+=t.length}else{let e=this.length++;e===this.size&&this.resize();let i=this.clone();this.buf[0]=t,i.copy(this.buf,1,0,e)}}append(t){let e=this.length++;e===this.size&&this.resize(),this.buf[e]=t}clone(){return _.from(this.buf.slice(0,this.length))}resize(){let t=this.length;this.size=2*this.size;let e=_.allocUnsafe(this.size);this.buf.copy(e,0,0,t),this.buf=e}toString(t){return t?this.buf.slice(0,this.length).toString(t):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}}let J=function(t){let e={};for(let i in t)e[i.replace(/([A-Z])/g,function(t,e){return"_"+e.toLowerCase()})]=t[i];if(void 0===e.encoding||!0===e.encoding)e.encoding="utf8";else if(null===e.encoding||!1===e.encoding)e.encoding=null;else if("string"!=typeof e.encoding&&null!==e.encoding)throw new F("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(e.encoding)}`],e);if(void 0===e.bom||null===e.bom||!1===e.bom)e.bom=!1;else if(!0!==e.bom)throw new F("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(e.bom)}`],e);if(e.cast_function=null,void 0===e.cast||null===e.cast||!1===e.cast||""===e.cast)e.cast=void 0;else if("function"==typeof e.cast)e.cast_function=e.cast,e.cast=!0;else if(!0!==e.cast)throw new F("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(void 0===e.cast_date||null===e.cast_date||!1===e.cast_date||""===e.cast_date)e.cast_date=!1;else if(!0===e.cast_date)e.cast_date=function(t){let e=Date.parse(t);return isNaN(e)?t:new Date(e)};else if("function"!=typeof e.cast_date)throw new F("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(e.cast_date)}`],e);if(e.cast_first_line_to_header=null,!0===e.columns)e.cast_first_line_to_header=void 0;else if("function"==typeof e.columns)e.cast_first_line_to_header=e.columns,e.columns=!0;else if(Array.isArray(e.columns))e.columns=q(e.columns);else if(void 0===e.columns||null===e.columns||!1===e.columns)e.columns=!1;else throw new F("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(e.columns)}`],e);if(void 0===e.group_columns_by_name||null===e.group_columns_by_name||!1===e.group_columns_by_name)e.group_columns_by_name=!1;else if(!0!==e.group_columns_by_name)throw new F("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(e.group_columns_by_name)}
1`],e);else if(!1===e.columns)throw new F("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],e);if(void 0===e.comment||null===e.comment||!1===e.comment||""===e.comment)e.comment=null;else if("string"==typeof e.comment&&(e.comment=_.from(e.comment,e.encoding)),!k(e.comment))throw new F("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(e.comment)}`],e);let i=JSON.stringify(e.delimiter);if(Array.isArray(e.delimiter)||(e.delimiter=[e.delimiter]),0===e.delimiter.length)throw new F("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${i}`],e);if(e.delimiter=e.delimiter.map(function(t){if(null==t||!1===t)return _.from(",",e.encoding);if("string"==typeof t&&(t=_.from(t,e.encoding)),!k(t)||0===t.length)throw new F("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${i}`],e);return t}),void 0===e.escape||!0===e.escape?e.escape=_.from('"',e.encoding):"string"==typeof e.escape?e.escape=_.from(e.escape,e.encoding):(null===e.escape||!1===e.escape)&&(e.escape=null),null!==e.escape&&!k(e.escape))throw Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(void 0===e.from||null===e.from)e.from=1;else if("string"==typeof e.from&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(void 0===e.from_line||null===e.from_line)e.from_line=1;else if("string"==typeof e.from_line&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(void 0===e.ignore_last_delimiters||null===e.ignore_last_delimiters)e.ignore_last_delimiters=!1;else if("number"==typeof e.ignore_last_delimiters)e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),0===e.ignore_last_delimiters&&(e.ignore_last_delimiters=!1);else if("boolean"!=typeof e.ignore_last_delimiters)throw new F("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(e.ignore_last_delimiters)}`],e);if(!0===e.ignore_last_delimiters&&!1===e.columns)throw new F("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],e);if(void 0===e.info||null===e.info||!1===e.info)e.info=!1;else if(!0!==e.info)throw Error(`Invalid Option: info must be true, got ${JSON.stringify(e.info)}`);if(void 0===e.max_record_size||null===e.max_record_size||!1===e.max_record_size)e.max_record_size=0;else if(Number.isInteger(e.max_record_size)&&e.max_record_size>=0);else if("string"==typeof e.max_record_size&&/\d+/.test(e.max_record_size))e.max_record_size=parseInt(e.max_record_size);else throw Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(e.max_record_size)}`);if(void 0===e.objname||null===e.objname||!1===e.objname)e.objname=void 0;else if(k(e.objname)){if(0===e.objname.length)throw Error("Invalid Option: objname must be a non empty buffer");null===e.encoding||(e.objname=e.objname.toString(e.encoding))}else if("string"==typeof e.objname){if(0===e.objname.length)throw Error("Invalid Option: objname must be a non empty string")}else if("number"==typeof e.objname);else throw Error(`Invalid Option: objname must be a string or a buffer, got ${e.objname}`);if(void 0!==e.objname){if("number"==typeof e.objname){if(!1!==e.columns)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(!1===e.columns)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(void 0===e.on_record||null===e.on_record)e.on_record=void 0;else if("function"!=typeof e.on_record)throw new F("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(e.on_record)}`],e);if(null===e.quote||!1===e.quote||""===e.quote)e.quote=null;else if(void 0===e.quote||!0===e.quote?e.quote=_.from('"',e.encoding):"string"==typeof e.quote&&(e.quote=_.from(e.quote,e.encoding)),!k(e.quote))throw Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(e.quote)}`);if(void 0===e.raw||null===e.raw||!1===e.raw)e.raw=!1;else if(!0!==e.raw)throw Error(`Invalid Option: raw must be true, got ${JSON.stringify(e.raw)}`);if(void 0===e.record_delimiter)e.record_delimiter=[];else if("string"==typeof e.record_delimiter||k(e.record_delimiter)){if(0===e.record_delimiter.length)throw new F("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);e.record_delimiter=[e.record_delimiter]}else if(!Array.isArray(e.record_delimiter))throw new F("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of str
1ing|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(t,i){if("string"==typeof t||k(t)){if(0===t.length)throw new F("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${i},`,`got ${JSON.stringify(t)}`],e)}else throw new F("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${i},`,`got ${JSON.stringify(t)}`],e);return"string"==typeof t&&(t=_.from(t,e.encoding)),t}),"boolean"==typeof e.relax_column_count);else if(void 0===e.relax_column_count||null===e.relax_column_count)e.relax_column_count=!1;else throw Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if("boolean"==typeof e.relax_column_count_less);else if(void 0===e.relax_column_count_less||null===e.relax_column_count_less)e.relax_column_count_less=!1;else throw Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if("boolean"==typeof e.relax_column_count_more);else if(void 0===e.relax_column_count_more||null===e.relax_column_count_more)e.relax_column_count_more=!1;else throw Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if("boolean"==typeof e.relax_quotes);else if(void 0===e.relax_quotes||null===e.relax_quotes)e.relax_quotes=!1;else throw Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if("boolean"==typeof e.skip_empty_lines);else if(void 0===e.skip_empty_lines||null===e.skip_empty_lines)e.skip_empty_lines=!1;else throw Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if("boolean"==typeof e.skip_records_with_empty_values);else if(void 0===e.skip_records_with_empty_values||null===e.skip_records_with_empty_values)e.skip_records_with_empty_values=!1;else throw Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if("boolean"==typeof e.skip_records_with_error);else if(void 0===e.skip_records_with_error||null===e.skip_records_with_error)e.skip_records_with_error=!1;else throw Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(void 0===e.rtrim||null===e.rtrim||!1===e.rtrim)e.rtrim=!1;else if(!0!==e.rtrim)throw Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(void 0===e.ltrim||null===e.ltrim||!1===e.ltrim)e.ltrim=!1;else if(!0!==e.ltrim)throw Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(void 0===e.trim||null===e.trim||!1===e.trim)e.trim=!1;else if(!0!==e.trim)throw Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(!0===e.trim&&!1!==t.ltrim?e.ltrim=!0:!0!==e.ltrim&&(e.ltrim=!1),!0===e.trim&&!1!==t.rtrim?e.rtrim=!0:!0!==e.rtrim&&(e.rtrim=!1),void 0===e.to||null===e.to)e.to=-1;else if("string"==typeof e.to&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(void 0===e.to_line||null===e.to_line)e.to_line=-1;else if("string"==typeof e.to_line&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e},Q=function(t){return t.every(t=>null==t||t.toString&&""===t.toString().trim())},H={utf8:_.from([239,187,191]),utf16le:_.from([255,254])},G=function(t={}){let e=J(t);return{info:{bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},original_options:t,options:e,state:{bomSkipped:!1,bufBytesStart:0,castField:e.cast_function,commenting:!1,error:void 0,enabled:1===e.from_line,escaping:!1,escapeIsQuote:k(e.escape)&&k(e.quote)&&0===_.compare(e.escape,e.quote),expectedRecordLength:Array.isArray(e.columns)?e.columns.length:void 0,field:new Y(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(null!==e.comment?e.comment.length:0,...e.delimiter.map(t=>t.length),null!==e.quote?e.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new Y(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:0===e.record_delimiter.length?0:Math.max(...e.record_delimiter.map(t=>t.length)),trimChars:[_.from(" ",e.encoding)[0],_.from(" ",e.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[_.from(_.from([13],"utf8").toString(),e.encoding),_.from(_.from([10],"utf8").toString(),e.encoding),_.from(_.from([12],"utf8").toString(),e.encoding),_.from(_.from([32],"utf8").toString(),e.encoding),_.from(_.from([9],"utf8").toString(),e.encoding)]}
1,__needMoreData:function(t,e,i){if(i)return!1;let{encoding:r,escape:n,quote:o}=this.options,{quoting:s,needMoreDataSize:l,recordDelimiterMaxLength:a}=this.state;return e-t-1<Math.max(l,0===a?_.from("\r\n",r).length:a,s?(null===n?0:n.length)+o.length:0,s?o.length+a:0)},parse:function(t,e,i,r){let n,o;let{bom:s,encoding:l,from_line:a,ltrim:f,max_record_size:u,raw:h,relax_quotes:c,rtrim:d,skip_empty_lines:p,to:g,to_line:m}=this.options,{comment:y,escape:b,quote:v,record_delimiter:w}=this.options,{bomSkipped:E,previousBuf:O,rawBuffer:S,escapeIsQuote:I}=this.state;if(void 0===O){if(void 0===t){r();return}n=t}else n=void 0!==O&&void 0===t?O:_.concat([O,t]);if(!1===E){if(!1===s)this.state.bomSkipped=!0;else if(n.length<3){if(!1===e){this.state.previousBuf=n;return}}else{for(let t in H)if(0===H[t].compare(n,0,H[t].length)){let e=H[t].length;this.state.bufBytesStart+=e,n=n.slice(e),this.options=J({...this.original_options,encoding:t}),{comment:y,escape:b,quote:v}=this.options;break}this.state.bomSkipped=!0}}let R=n.length;for(o=0;o<R&&!this.__needMoreData(o,R,e);o++){if(!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1),-1!==m&&this.info.lines>m){this.state.stop=!0,r();return}!1===this.state.quoting&&0===w.length&&this.__autoDiscoverRecordDelimiter(n,o)&&(w=this.options.record_delimiter);let t=n[o];if(!0===h&&S.append(t),(13===t||10===t)&&!1===this.state.wasRowDelimiter&&(this.state.wasRowDelimiter=!0),!0===this.state.escaping)this.state.escaping=!1;else{if(null!==b&&!0===this.state.quoting&&this.__isEscape(n,o,t)&&o+b.length<R){if(I){if(this.__isQuote(n,o+b.length)){this.state.escaping=!0,o+=b.length-1;continue}}else{this.state.escaping=!0,o+=b.length-1;continue}}if(!1===this.state.commenting&&this.__isQuote(n,o)){if(!0===this.state.quoting){let e=n[o+v.length],i=d&&this.__isCharTrimable(n,o+v.length),r=null!==y&&this.__compareBytes(y,n,o+v.length,e),s=this.__isDelimiter(n,o+v.length,e),l=0===w.length?this.__autoDiscoverRecordDelimiter(n,o+v.length):this.__isRecordDelimiter(e,n,o+v.length);if(null!==b&&this.__isEscape(n,o,t)&&this.__isQuote(n,o+b.length))o+=b.length-1;else if(!e||s||l||r||i){this.state.quoting=!1,this.state.wasQuoting=!0,o+=v.length-1;continue}else if(!1===c){let t=this.__error(new F("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(e)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(void 0!==t)return t}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(v),o+=v.length-1}else if(0!==this.state.field.length){if(!1===c){let t=this.__infoField(),e=Object.keys(H).map(t=>!!H[t].equals(this.state.field.toString())&&t).filter(Boolean)[0],i=this.__error(new F("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(t.column)} at line ${t.lines}, value is ${JSON.stringify(this.state.field.toString(l))}`,e?`(${e} bom)`:void 0],this.options,t,{field:this.state.field}));if(void 0!==i)return i}}else{this.state.quoting=!0,o+=v.length-1;continue}}if(!1===this.state.quoting){let e=this.__isRecordDelimiter(t,n,o);if(0!==e){if(this.state.commenting&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length)this.info.comment_lines++;else{if(!1===this.state.enabled&&this.info.lines+(!0===this.state.wasRowDelimiter?1:0)>=a){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),o+=e-1;continue}if(!0===p&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length){this.info.empty_lines++,o+=e-1;continue}this.info.bytes=this.state.bufBytesStart+o;let t=this.__onField();if(void 0!==t)return t;this.info.bytes=this.state.bufBytesStart+o+e;let n=this.__onRecord(i);if(void 0!==n)return n;if(-1!==g&&this.info.records>=g){this.state.stop=!0,r();return}}this.state.commenting=!1,o+=e-1;continue}if(this.state.commenting)continue;if(0!==(null===y?0:this.__compareBytes(y,n,o,t))){this.state.commenting=!0;continue}let s=this.__isDelimiter(n,o,t);if(0!==s){this.info.bytes=this.state.bufBytesStart+o;let t=this.__onField();if(void 0!==t)return t;o+=s-1;continue}}}if(!1===this.state.commenting&&0!==u&&this.state.record_length+this.state.field.length>u)return this.__error(new F("CSV_MAX_RECORD_SIZE",["Max Record Size:","re
1cord exceed the maximum number of tolerated bytes",`of ${u}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let e=!1===f||!0===this.state.quoting||0!==this.state.field.length||!this.__isCharTrimable(n,o),s=!1===d||!1===this.state.wasQuoting;if(!0===e&&!0===s)this.state.field.append(t);else{if(!0===d&&!this.__isCharTrimable(n,o))return this.__error(new F("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));!1===e&&(o+=this.__isCharTrimable(n,o)-1);continue}}if(!0===e){if(!0===this.state.quoting){let t=this.__error(new F("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(void 0!==t)return t}else if(!0===this.state.wasQuoting||0!==this.state.record.length||0!==this.state.field.length){this.info.bytes=this.state.bufBytesStart+o;let t=this.__onField();if(void 0!==t)return t;let e=this.__onRecord(i);if(void 0!==e)return e}else!0===this.state.wasRowDelimiter?this.info.empty_lines++:!0===this.state.commenting&&this.info.comment_lines++}else this.state.bufBytesStart+=o,this.state.previousBuf=n.slice(o);!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(t){let{columns:e,group_columns_by_name:i,encoding:r,info:n,from:o,relax_column_count:s,relax_column_count_less:l,relax_column_count_more:a,raw:f,skip_records_with_empty_values:u}=this.options,{enabled:h,record:c}=this.state;if(!1===h)return this.__resetRecord();let d=c.length;if(!0===e){if(!0===u&&Q(c)){this.__resetRecord();return}return this.__firstLineToColumns(c)}if(!1===e&&0===this.info.records&&(this.state.expectedRecordLength=d),d!==this.state.expectedRecordLength){let t=!1===e?new F("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${d} on line ${this.info.lines}`],this.options,this.__infoField(),{record:c}):new F("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${e.length},`,`got ${d} on line ${this.info.lines}`],this.options,this.__infoField(),{record:c});if(!0===s||!0===l&&d<this.state.expectedRecordLength||!0===a&&d>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=t;else{let e=this.__error(t);if(e)return e}}if(!0===u&&Q(c)){this.__resetRecord();return}if(!0===this.state.recordHasError){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,1===o||this.info.records>=o){let{objname:o}=this.options;if(!1!==e){let s={};for(let t=0,r=c.length;t<r;t++)void 0===e[t]||e[t].disabled||(!0===i&&void 0!==s[e[t].name]?Array.isArray(s[e[t].name])?s[e[t].name]=s[e[t].name].concat(c[t]):s[e[t].name]=[s[e[t].name],c[t]]:s[e[t].name]=c[t]);if(!0===f||!0===n){let e=Object.assign({record:s},!0===f?{raw:this.state.rawBuffer.toString(r)}:{},!0===n?{info:this.__infoRecord()}:{}),i=this.__push(void 0===o?e:[s[o],e],t);if(i)return i}else{let e=this.__push(void 0===o?s:[s[o],s],t);if(e)return e}}else if(!0===f||!0===n){let e=Object.assign({record:c},!0===f?{raw:this.state.rawBuffer.toString(r)}:{},!0===n?{info:this.__infoRecord()}:{}),i=this.__push(void 0===o?e:[c[o],e],t);if(i)return i}else{let e=this.__push(void 0===o?c:[c[o],c],t);if(e)return e}}this.__resetRecord()},__firstLineToColumns:function(t){let{firstLineToHeaders:e}=this.state;try{let i=void 0===e?t:e.call(null,t);if(!Array.isArray(i))return this.__error(new F("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(i)}`],this.options,this.__infoField(),{headers:i}));let r=q(i);this.state.expectedRecordLength=r.length,this.options.columns=r,this.__resetRecord();return}catch(t){return t}},__resetRecord:function(){!0===this.options.raw&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){let{cast:t,encoding:e,rtrim:i,max_record_size:r}=this.options,{enabled:n,wasQuoting:o}=this.state;if(!1===n)return this.__resetField();let s=this.state.field.toString(e);if(!0===i&&!1===o&&(s=s.trimRight()),!0===t){let[t,e]=this.__cast(s);if(void 0!==t)return t;s=e}this.state.record.push(s),0!==r&&"string"==typeof s&&(this.state.record_length+=s.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(t,e){let{on_record:i}=this.options;if(void 0!==i){let e=this.__infoRecord();try{t=i.call(null,t,e)}catch(t){return t}if(null==t)return}e(t)},__cast:function(t){let{columns:e,relax_column_count:i}=this.options;if(!0===Array.isArray(e)&&i&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(null!==this.state.castField)try{let e=this.__infoField();return[void 0,this.state.castField.call(null,t,e)]}catch(t){return[t]}if(this.__isFloat(t))return[void 0,parseFloat(t)];if(!1!==this.options.cast_date){let e=this.__infoField();return[void 0,this.options.cast_date.call(null,t,e)]}return[void 0,t]},__isCharTrimable:function(t,e){return((t,e)=>{let{timchars:i}=this.state;t:for(let r=0;r<i.length;r++){let n=i[r];for(let i=0;i<n.length;i++)if(n[i]!==t[e+i])continue t;return n.length}return 0})(t,e)},__isFloat:function(t){return t-parseFloat(t)+1>=0}
1,__compareBytes:function(t,e,i,r){if(t[0]!==r)return 0;let n=t.length;for(let r=1;r<n;r++)if(t[r]!==e[i+r])return 0;return n},__isDelimiter:function(t,e,i){let{delimiter:r,ignore_last_delimiters:n}=this.options;if(!0===n&&this.state.record.length===this.options.columns.length-1||!1!==n&&"number"==typeof n&&this.state.record.length===n-1)return 0;t:for(let n=0;n<r.length;n++){let o=r[n];if(o[0]===i){for(let i=1;i<o.length;i++)if(o[i]!==t[e+i])continue t;return o.length}}return 0},__isRecordDelimiter:function(t,e,i){let{record_delimiter:r}=this.options,n=r.length;t:for(let o=0;o<n;o++){let n=r[o],s=n.length;if(n[0]===t){for(let t=1;t<s;t++)if(n[t]!==e[i+t])continue t;return n.length}}return 0},__isEscape:function(t,e,i){let{escape:r}=this.options;if(null===r)return!1;let n=r.length;if(r[0]===i){for(let i=0;i<n;i++)if(r[i]!==t[e+i])return!1;return!0}return!1},__isQuote:function(t,e){let{quote:i}=this.options;if(null===i)return!1;let r=i.length;for(let n=0;n<r;n++)if(i[n]!==t[e+n])return!1;return!0},__autoDiscoverRecordDelimiter:function(t,e){let{encoding:i}
1=this.options,r=[_.from("\r\n",i),_.from("\n",i),_.from("\r",i)];e:for(let i=0;i<r.length;i++){let n=r[i].length;for(let o=0;o<n;o++)if(r[i][o]!==t[e+o])continue e;return this.options.record_delimiter.push(r[i]),this.state.recordDelimiterMaxLength=r[i].length,r[i].length}return 0},__error:function(t){let{encoding:e,raw:i,skip_records_with_error:r}=this.options,n="string"==typeof t?Error(t):t;if(!r)return n;this.state.recordHasError=!0,void 0!==this.options.on_skip&&this.options.on_skip(n,i?this.state.rawBuffer.toString(e):void 0)},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){let{columns:t,raw:e,encoding:i}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:!0===t,index:this.state.record.length,raw:e?this.state.rawBuffer.toString(i):void 0}},__infoField:function(){let{columns:t}=this.options,e=Array.isArray(t);return{...this.__infoRecord(),column:!0===e?t.length>this.state.record.length?t[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}},W=function(t,e={}){"string"==typeof t&&(t=_.from(t));let i=e&&e.objname?{}:[],r=G(e),n=t=>{void 0===r.options.objname?i.push(t):i[t[0]]=t[1]},o=()=>{},s=r.parse(t,!1,n,o);if(void 0!==s)throw s;let l=r.parse(void 0,!0,n,o);if(void 0!==l)throw l;return i}},42805:(t,e,i)=>{"use strict";i.d(e,{A:()=>h});var r=i(96540);function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}let o={position:"absolute",bottom:0,left:0,height:0,overflow:"hidden","padding-top":0,"padding-bottom":0,border:"none"},s=["box-sizing","width","font-size","font-weight","font-family","font-style","letter-spacing","text-indent","white-space","word-break","overflow-wrap","padding-left","padding-right"],l=["component","ellipsis","trimRight","className"];function a(t,e){for(;t&&e--;)t=t.previousElementSibling;return t}let f={basedOn:void 0,className:"",component:"div",ellipsis:"â¦",maxLine:1,onReflow(){},text:"",trimRight:!0,winWidth:void 0},u=Object.keys(f);class h extends r.Component{constructor(t){super(t),this.state={text:t.text,clamped:!1},this.units=[],this.maxLine=0,this.canvas=null}componentDidMount(){this.initCanvas(),this.reflow(this.props)}componentDidUpdate(t){t.winWidth!==this.props.winWidth&&this.copyStyleToCanvas(),this.props!==t&&this.reflow(this.props)}componentWillUnmount(){this.canvas&&(this.canvas.parentNode.removeChild(this.canvas),this.canvas=null)}setState(t,e){return void 0!==t.clamped&&(this.clamped=t.clamped),super.setState(t,e)}initCanvas(){if(this.canvas)return;let t=this.canvas=document.createElement("div");t.className=`LinesEllipsis-canvas ${this.props.className}`,t.setAttribute("aria-hidden","true"),this.copyStyleToCanvas(),Object.keys(o).forEach(e=>{t.style[e]=o[e]}),document.body.appendChild(t)}copyStyleToCanvas(){let t=window.getComputedStyle(this.target);s.forEach(e=>{this.canvas.style[e]=t[e]})}reflow(t){let e=t.basedOn||(/^[\x00-\x7F]+$/.test(t.text)?"words":"letters");switch(e){case"words":this.units=t.text.split(/\b|(?=\W)/);break;case"letters":this.units=Array.from(t.text);break;default:throw Error(`Unsupported options basedOn: ${e}`)}this.maxLine=+t.maxLine||1,this.canvas.innerHTML=this.units.map(t=>`<span class='LinesEllipsis-unit'>${t}</span>`).join("");let i=this.putEllipsis(this.calcIndexes()),r=i>-1,n={clamped:r,text:r?this.units.slice(0,i).join(""):t.text};this.setState(n,t.onReflow.bind(this,n))}calcIndexes(){let t=[0],e=this.canvas.firstElementChild;if(!e)return t;let i=0,r=1,n=e.offsetTop;for(;(e=e.nextElementSibling)&&(e.offsetTop>n&&(r++,t.push(i),n=e.offsetTop),i++,!(r>this.maxLine)););return t}putEllipsis(t){if(t.length<=this.maxLine)return -1;let e=t[this.maxLine],i=this.units.slice(0,e),r=this.canvas.children[e].offsetTop;this.canvas.innerHTML=i.map((t,e)=>`<span class='LinesEllipsis-unit'>${t}</span>`).join("")+`<wbr><span class='LinesEllipsis-ellipsis'>${this.props.ellipsis}</span>`;let n=this.canvas.lastElementChild,o=a(n,2);for(;o&&(n.offsetTop>r||n.offsetHeight>o.offsetHeight||n.offsetTop>o.offsetTop);)this.canvas.removeChild(o),o=a(n,2),i.pop();return i.length}isClamped(){return this.clamped}render(){let{text:t,clamped:e}=this.state,i=this.props,{component:o,ellipsis:s,trimRight:a,className:f}=i,h=function(t,e){if(null==t)return{};var i,r,n={},o=Object.keys(t);for(r=0;r<o.length;r++)i=o[r],e.indexOf(i)>=0||(n[i]=t[i]);return n}(i,l);return r.createElement(o,n({className:`LinesEllipsis ${e?"LinesEllipsis--clamped":""} ${f}`,ref:t=>this.target=t},function(t,e){if(!t||"object"!=typeof t)return t;let i={};return Object.keys(t).forEach(r=>{e.indexOf(r)>-1||(i[r]=t[r])}),i}(h,u)),e&&a?t.replace(/[\s\uFEFF\xA0]+$/,""):t,r.createElement("wbr",null),e&&r.createElement("span",{className:"LinesEllipsis-ellipsis"},s))}}h.defaultProps=f}
1,23041:(t,e,i)=>{"use strict";i.d(e,{Ay:()=>h});var r=i(96540),n=i(19888),o=i(14993);let s=r.use||(t=>{if("pending"===t.status)throw t;if("fulfilled"===t.status)return t.value;if("rejected"===t.status)throw t.reason;throw t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t}),l={dedupe:!0};o.qv.defineProperty(o.BE,"defaultValue",{value:o.sb});let a=(0,o.qm)((t,e,i)=>{let{cache:a,compare:f,suspense:u,fallbackData:h,revalidateOnMount:c,revalidateIfStale:d,refreshInterval:p,refreshWhenHidden:g,refreshWhenOffline:_,keepPreviousData:m}=i,[y,b,v,w]=o.bZ.get(a),[E,O]=(0,o.lK)(t),S=(0,r.useRef)(!1),I=(0,r.useRef)(!1),R=(0,r.useRef)(E),A=(0,r.useRef)(e),N=(0,r.useRef)(i),T=()=>N.current,x=()=>T().isVisible()&&T().isOnline(),[C,L,D,P]=(0,o.r9)(a,E),j=(0,r.useRef)({}).current,U=(0,o.b0)(h)?i.fallback[E]:h,B=(t,e)=>{for(let i in j)if("data"===i){if(!f(t[i],e[i])&&(!(0,o.b0)(t[i])||!f(J,e[i])))return!1}else if(e[i]!==t[i])return!1;return!0},M=(0,r.useMemo)(()=>{let t=!!E&&!!e&&((0,o.b0)(c)?!T().isPaused()&&!u&&(!!(0,o.b0)(d)||d):c),i=e=>{let i=(0,o.rL)(e);return(delete i._k,t)?{isValidating:!0,isLoading:!0,...i}:i},r=C(),n=P(),s=i(r),l=r===n?s:i(n),a=s;return[()=>{let t=i(C());return B(t,a)?(a.data=t.data,a.isLoading=t.isLoading,a.isValidating=t.isValidating,a.error=t.error,a):(a=t,t)},()=>l]},[a,E]),V=(0,n.useSyncExternalStore)((0,r.useCallback)(t=>D(E,(e,i)=>{B(i,e)||t()}),[a,E]),M[0],M[1]),$=!S.current,k=y[E]&&y[E].length>0,z=V.data,F=(0,o.b0)(z)?U:z,q=V.error,Y=(0,r.useRef)(F),J=m?(0,o.b0)(z)?Y.current:z:F,Q=(!k||!!(0,o.b0)(q))&&($&&!(0,o.b0)(c)?c:!T().isPaused()&&(u?!(0,o.b0)(F)&&d:(0,o.b0)(F)||d)),H=!!(E&&e&&$&&Q),G=(0,o.b0)(V.isValidating)?H:V.isValidating,W=(0,o.b0)(V.isLoading)?H:V.isLoading,Z=(0,r.useCallback)(async t=>{let e,r;let n=A.current;if(!E||!n||I.current||T().isPaused())return!1;let s=!0,l=t||{},a=!v[E]||!l.dedupe,u=()=>o.dO?!I.current&&E===R.current&&S.current:E===R.current,h={isValidating:!1,isLoading:!1},c=()=>{L(h)},d=()=>{let t=v[E];t&&t[1]===r&&delete v[E]},p={isValidating:!0};(0,o.b0)(C().data)&&(p.isLoading=!0);try{if(a&&(L(p),i.loadingTimeout&&(0,o.b0)(C().data)&&setTimeout(()=>{s&&u()&&T().onLoadingSlow(E,i)},i.loadingTimeout),v[E]=[n(O),(0,o.lg)()]),[e,r]=v[E],e=await e,a&&setTimeout(d,i.dedupingInterval),!v[E]||v[E][1]!==r)return a&&u()&&T().onDiscarded(E),!1;h.error=o.ZH;let t=b[E];if(!(0,o.b0)(t)&&(r<=t[0]||r<=t[1]||0===t[1]))return c(),a&&u()&&T().onDiscarded(E),!1;let l=C().data;h.data=f(l,e)?l:e,a&&u()&&T().onSuccess(e,E,i)}catch(i){d();let t=T(),{shouldRetryOnError:e}=t;!t.isPaused()&&(h.error=i,a&&u()&&(t.onError(i,E,t),(!0===e||(0,o.Tn)(e)&&e(i))&&(!T().revalidateOnFocus||!T().revalidateOnReconnect||x())&&t.onErrorRetry(i,E,t,t=>{let e=y[E];e&&e[0]&&e[0](o.bu.ERROR_REVALIDATE_EVENT,t)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return s=!1,c(),!0},[E,a]),K=(0,r.useCallback)((...t)=>(0,o.mF)(a,R.current,...t),[]);if((0,o.Es)(()=>{A.current=e,N.current=i,(0,o.b0)(z)||(Y.current=z)}),(0,o.Es)(()=>{if(!E)return;let t=Z.bind(o.ZH,l),e=0,i=(0,o.aw)(E,y,(i,r={})=>{if(i==o.bu.FOCUS_EVENT){let i=Date.now();T().revalidateOnFocus&&i>e&&x()&&(e=i+T().focusThrottleInterval,t())}else if(i==o.bu.RECONNECT_EVENT)T().revalidateOnReconnect&&x()&&t();else if(i==o.bu.MUTATE_EVENT)return Z();else if(i==o.bu.ERROR_REVALIDATE_EVENT)return Z(r)});return I.current=!1,R.current=E,S.current=!0,L({_k:O}),Q&&((0,o.b0)(F)||o.X3?t():(0,o.mf)(t)),()=>{I.current=!0,i()}},[E]),(0,o.Es)(()=>{let t;function e(){let e=(0,o.Tn)(p)?p(C().data):p;e&&-1!==t&&(t=setTimeout(i,e))}function i(){!C().error&&(g||T().isVisible())&&(_||T().isOnline())?Z(l).then(e):e()}return e(),()=>{t&&(clearTimeout(t),t=-1)}},[p,g,_,E]),(0,r.useDebugValue)(J),u&&(0,o.b0)(F)&&E){if(!o.dO&&o.X3)throw Error("Fallback data is required when using suspense in SSR.");A.current=e,N.current=i,I.current=!1;let t=w[E];if((0,o.b0)(t)||s(K(t)),(0,o.b0)(q)){let t=Z(l);(0,o.b0)(J)||(t.status="fulfilled",t.value=!0),s(t)}else throw q}return{mutate:K,get data(){return j.data=!0,J},get error(){return j.error=!0,q},get isValidating(){return j.isValidating=!0,G},get isLoading(){return j.isLoading=!0,W}}}),f=t=>(0,o.lK)(t?t(0,null):null)[0],u=Promise.resolve(),h=(0,o.Ht)(a,t=>(e,i,s)=>{let l;let a=(0,r.useRef)(!1),{cache:h,initialSize:c=1,revalidateAll:d=!1,persistSize:p=!1,revalidateFirstPage:g=!0,revalidateOnMount:_=!1,parallel:m=!1}=s,[,,,y]=o.bZ.get(o.PP);try{(l=f(e))&&(l=o.q9+l)}catch(t){}let[b,v,w]=(0,o.r9)(h,l),E=(0,r.useCallback)(()=>(0,o.b0)(b()._l)?c:b()._l,[h,l,c]);(0,n.useSyncExternalStore)((0,r.useCallback)(t=>l?w(l,()=>{t()}):()=>{},[h,l]),E,E);let O=(0,r.useCallback)(()=>{let t=b()._l;return(0,o.b0)(t)?c:t},[l,c]),S=(0,r.useRef)(O());(0,o.Es)(()=>
1{if(!a.current){a.current=!0;return}l&&v({_l:p?S.current:O()})},[l,h]);let I=_&&!a.current,R=t(l,async t=>{let r=b()._i,n=b()._r;v({_r:o.ZH});let l=[],a=O(),[f]=(0,o.r9)(h,t),u=f().data,c=[],p=null;for(let t=0;t<a;++t){let[a,f]=(0,o.lK)(e(t,m?null:p));if(!a)break;let[_,b]=(0,o.r9)(h,a),v=_().data,w=d||r||(0,o.b0)(v)||g&&!t&&!(0,o.b0)(u)||I||u&&!(0,o.b0)(u[t])&&!s.compare(u[t],v);if(i&&("function"==typeof n?n(v,f):w)){let e=async()=>{if(a in y){let t=y[a];delete y[a],v=await t}else v=await i(f);b({data:v,_k:f}),l[t]=v};m?c.push(e):await e()}else l[t]=v;m||(p=v)}return m&&await Promise.all(c.map(t=>t())),v({_i:o.ZH}),l},s),A=(0,r.useCallback)(function(t,e){let i="boolean"==typeof e?{revalidate:e}:e||{},r=!1!==i.revalidate;return l?(r&&((0,o.b0)(t)?v({_i:!0,_r:i.revalidate}):v({_i:!1,_r:i.revalidate})),arguments.length?R.mutate(t,{...i,revalidate:r}):R.mutate()):u},[l,h]),N=(0,r.useCallback)(t=>{let i;if(!l)return u;let[,r]=(0,o.r9)(h,l);if((0,o.Tn)(t)?i=t(O()):"number"==typeof t&&(i=t),"number"!=typeof i)return u;r({_l:i}),S.current=i;let n=[],[s]=(0,o.r9)(h,l),a=null;for(let t=0;t<i;++t){let[i]=(0,o.lK)(e(t,a)),[r]=(0,o.r9)(h,i),l=i?r().data:o.ZH;if((0,o.b0)(l))return A(s().data);n.push(l),a=l}return A(n)},[l,h,A,O]);return{size:O(),setSize:N,mutate:A,get data(){return R.data},get error(){return R.error},get isValidating(){return R.isValidating},get isLoading(){return R.isLoading}}})},87134:(t,e,i)=>{"use strict";i.d(e,{eh:()=>r});let r=t=>(e,i,r)=>{let n=r.subscribe;return r.subscribe=(t,e,i)=>{let o=t;if(e){let n=(null==i?void 0:i.equalityFn)||Object.is,s=t(r.getState());o=i=>{let r=t(i);if(!n(s,r)){let t=s;e(s=r,t)}},(null==i?void 0:i.fireImmediately)&&e(s,s)}return n(o)},t(e,i,r)}},59836:(t,e,i)=>{"use strict";i.d(e,{v:()=>a});var r=i(96540);let n=t=>{let e;let i=new Set,r=(t,r)=>{let n="function"==typeof t?t(e):t;if(!Object.is(n,e)){let t=e;e=(null!=r?r:"object"!=typeof n||null===n)?n:Object.assign({},e,n),i.forEach(i=>i(e,t))}},n=()=>e,o={setState:r,getState:n,getInitialState:()=>s,subscribe:t=>(i.add(t),()=>i.delete(t))},s=e=t(r,n,o);return o},o=t=>t?n(t):n,s=t=>t,l=t=>{let e=o(t),i=t=>(function(t,e=s){let i=r.useSyncExternalStore(t.subscribe,()=>e(t.getState()),()=>e(t.getInitialState()));return r.useDebugValue(i),i})(e,t);return Object.assign(i,e),i},a=t=>t?l(t):l}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.