vue-json-csv
Version:
Download your JSON data as an CSV file directly from the browser
7 lines • 53.1 kB
JavaScript
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-json-csv"]=e(require("vue")):t["vue-json-csv"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(){var e={679:function(t,e){var n,r,i;(function(o,a){r=[],n=a,i="function"===typeof n?n.apply(e,r):n,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,u=o.exec(d.stack)||a.exec(d.stack),s=u&&u[1]||!1,c=u&&u[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");s===f&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<l.length;h++){if("interactive"===l[h].readyState)return l[h];if(l[h].src===s)return l[h];if(s===f&&l[h].innerHTML&&l[h].innerHTML.trim()===i)return l[h]}return null}}return t}))},162:function(t,e,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})(0,(function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function r(t,e,n){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){s(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,u=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!u?function(t,e,n){var u=a.URL||a.webkitURL,s=document.createElement("a");e=e||t.name||"download",s.download=e,s.rel="noopener","string"==typeof t?(s.href=t,s.origin===location.origin?o(s):i(s.href)?r(t,e,n):o(s,s.target="_blank")):(s.href=u.createObjectURL(t),setTimeout((function(){u.revokeObjectURL(s.href)}),4e4),setTimeout((function(){o(s)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,n,a){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,a),n);else if(i(t))r(t,n,a);else{var u=document.createElement("a");u.href=t,u.target="_blank",setTimeout((function(){o(u)}))}}:function(t,e,n,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return r(t,e,n);var o="application/octet-stream"===t.type,s=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||o&&s||u)&&"undefined"!=typeof FileReader){var f=new FileReader;f.onloadend=function(){var t=f.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},f.readAsDataURL(t)}else{var l=a.URL||a.webkitURL,h=l.createObjectURL(t);i?i.location=h:location.href=h,i=null,setTimeout((function(){l.revokeObjectURL(h)}),4e4)}});a.saveAs=s.saveAs=s,t.exports=s}))},138:function(t,e,n){t=n.nmd(t);var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,u=2,s=1/0,c=9007199254740991,f="[object Arguments]",l="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",v="[object Function]",_="[object GeneratorFunction]",y="[object Map]",g="[object Number]",b="[object Object]",m="[object Promise]",w="[object RegExp]",j="[object Set]",k="[object String]",O="[object Symbol]",E="[object WeakMap]",S="[object ArrayBuffer]",A="[object DataView]",x="[object Float32Array]",R="[object Float64Array]",C="[object Int8Array]",T="[object Int16Array]",L="[object Int32Array]",D="[object Uint8Array]",F="[object Uint8ClampedArray]",I="[object Uint16Array]",M="[object Uint32Array]",U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/,P=/^\./,$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B=/[\\^$.*+?()[\]{}|]/g,q=/\\(\\)?/g,N=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,W={};W[x]=W[R]=W[C]=W[T]=W[L]=W[D]=W[F]=W[I]=W[M]=!0,W[f]=W[l]=W[S]=W[h]=W[A]=W[d]=W[p]=W[v]=W[y]=W[g]=W[b]=W[w]=W[j]=W[k]=W[E]=!1;var K="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,G="object"==typeof self&&self&&self.Object===Object&&self,Q=K||G||Function("return this")(),V=e&&!e.nodeType&&e,J=V&&t&&!t.nodeType&&t,Z=J&&J.exports===V,X=Z&&K.process,Y=function(){try{return X&&X.binding("util")}catch(t){}}(),tt=Y&&Y.isTypedArray;function et(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function nt(t){return function(e){return null==e?void 0:e[t]}}function rt(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function it(t){return function(e){return t(e)}}function ot(t,e){return null==t?void 0:t[e]}function at(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function ut(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function st(t,e){return function(n){return t(e(n))}}function ct(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ft=Array.prototype,lt=Function.prototype,ht=Object.prototype,dt=Q["__core-js_shared__"],pt=function(){var t=/[^.]+$/.exec(dt&&dt.keys&&dt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),vt=lt.toString,_t=ht.hasOwnProperty,yt=ht.toString,gt=RegExp("^"+vt.call(_t).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=Q.Symbol,mt=Q.Uint8Array,wt=ht.propertyIsEnumerable,jt=ft.splice,kt=st(Object.keys,Object),Ot=Me(Q,"DataView"),Et=Me(Q,"Map"),St=Me(Q,"Promise"),At=Me(Q,"Set"),xt=Me(Q,"WeakMap"),Rt=Me(Object,"create"),Ct=Qe(Ot),Tt=Qe(Et),Lt=Qe(St),Dt=Qe(At),Ft=Qe(xt),It=bt?bt.prototype:void 0,Mt=It?It.valueOf:void 0,Ut=It?It.toString:void 0;function zt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Pt(){this.__data__=Rt?Rt(null):{}}function $t(t){return this.has(t)&&delete this.__data__[t]}function Bt(t){var e=this.__data__;if(Rt){var n=e[t];return n===o?void 0:n}return _t.call(e,t)?e[t]:void 0}function qt(t){var e=this.__data__;return Rt?void 0!==e[t]:_t.call(e,t)}function Nt(t,e){var n=this.__data__;return n[t]=Rt&&void 0===e?o:e,this}function Ht(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Wt(){this.__data__=[]}function Kt(t){var e=this.__data__,n=he(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():jt.call(e,n,1),!0}function Gt(t){var e=this.__data__,n=he(e,t);return n<0?void 0:e[n][1]}function Qt(t){return he(this.__data__,t)>-1}function Vt(t,e){var n=this.__data__,r=he(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Jt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Zt(){this.__data__={hash:new zt,map:new(Et||Ht),string:new zt}}function Xt(t){return Fe(this,t)["delete"](t)}function Yt(t){return Fe(this,t).get(t)}function te(t){return Fe(this,t).has(t)}function ee(t,e){return Fe(this,t).set(t,e),this}function ne(t){var e=-1,n=t?t.length:0;this.__data__=new Jt;while(++e<n)this.add(t[e])}function re(t){return this.__data__.set(t,o),this}function ie(t){return this.__data__.has(t)}function oe(t){this.__data__=new Ht(t)}function ae(){this.__data__=new Ht}function ue(t){return this.__data__["delete"](t)}function se(t){return this.__data__.get(t)}function ce(t){return this.__data__.has(t)}function fe(t,e){var n=this.__data__;if(n instanceof Ht){var i=n.__data__;if(!Et||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Jt(i)}return n.set(t,e),this}function le(t,e){var n=Xe(t)||Ze(t)?rt(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!_t.call(t,o)||i&&("length"==o||Pe(o,r))||n.push(o);return n}function he(t,e){var n=t.length;while(n--)if(Je(t[n][0],e))return n;return-1}zt.prototype.clear=Pt,zt.prototype["delete"]=$t,zt.prototype.get=Bt,zt.prototype.has=qt,zt.prototype.set=Nt,Ht.prototype.clear=Wt,Ht.prototype["delete"]=Kt,Ht.prototype.get=Gt,Ht.prototype.has=Qt,Ht.prototype.set=Vt,Jt.prototype.clear=Zt,Jt.prototype["delete"]=Xt,Jt.prototype.get=Yt,Jt.prototype.has=te,Jt.prototype.set=ee,ne.prototype.add=ne.prototype.push=re,ne.prototype.has=ie,oe.prototype.clear=ae,oe.prototype["delete"]=ue,oe.prototype.get=se,oe.prototype.has=ce,oe.prototype.set=fe;var de=Ce();function pe(t,e){return t&&de(t,e,ln)}function ve(t,e){e=$e(e,t)?[e]:Re(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[Ge(e[n++])];return n&&n==r?t:void 0}function _e(t){return yt.call(t)}function ye(t,e){return null!=t&&e in Object(t)}function ge(t,e,n,r,i){return t===e||(null==t||null==e||!rn(t)&&!on(e)?t!==t&&e!==e:be(t,e,ge,n,r,i))}function be(t,e,n,r,i,o){var a=Xe(t),s=Xe(e),c=l,h=l;a||(c=Ue(t),c=c==f?b:c),s||(h=Ue(e),h=h==f?b:h);var d=c==b&&!at(t),p=h==b&&!at(e),v=c==h;if(v&&!d)return o||(o=new oe),a||un(t)?Te(t,e,n,r,i,o):Le(t,e,c,n,r,i,o);if(!(i&u)){var _=d&&_t.call(t,"__wrapped__"),y=p&&_t.call(e,"__wrapped__");if(_||y){var g=_?t.value():t,m=y?e.value():e;return o||(o=new oe),n(g,m,r,i,o)}}return!!v&&(o||(o=new oe),De(t,e,n,r,i,o))}function me(t,e,n,r){var i=n.length,o=i,s=!r;if(null==t)return!o;t=Object(t);while(i--){var c=n[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}while(++i<o){c=n[i];var f=c[0],l=t[f],h=c[1];if(s&&c[2]){if(void 0===l&&!(f in t))return!1}else{var d=new oe;if(r)var p=r(l,h,f,t,e,d);if(!(void 0===p?ge(h,l,r,a|u,d):p))return!1}}return!0}function we(t){if(!rn(t)||qe(t))return!1;var e=en(t)||at(t)?gt:N;return e.test(Qe(t))}function je(t){return on(t)&&nn(t.length)&&!!W[yt.call(t)]}function ke(t){return"function"==typeof t?t:null==t?dn:"object"==typeof t?Xe(t)?Se(t[0],t[1]):Ee(t):pn(t)}function Oe(t){if(!Ne(t))return kt(t);var e=[];for(var n in Object(t))_t.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ee(t){var e=Ie(t);return 1==e.length&&e[0][2]?We(e[0][0],e[0][1]):function(n){return n===t||me(n,t,e)}}function Se(t,e){return $e(t)&&He(e)?We(Ge(t),e):function(n){var r=cn(n,t);return void 0===r&&r===e?fn(n,t):ge(e,r,void 0,a|u)}}function Ae(t){return function(e){return ve(e,t)}}function xe(t){if("string"==typeof t)return t;if(an(t))return Ut?Ut.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}function Re(t){return Xe(t)?t:Ke(t)}function Ce(t){return function(e,n,r){var i=-1,o=Object(e),a=r(e),u=a.length;while(u--){var s=a[t?u:++i];if(!1===n(o[s],s,o))break}return e}}function Te(t,e,n,r,i,o){var s=i&u,c=t.length,f=e.length;if(c!=f&&!(s&&f>c))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var h=-1,d=!0,p=i&a?new ne:void 0;o.set(t,e),o.set(e,t);while(++h<c){var v=t[h],_=e[h];if(r)var y=s?r(_,v,h,e,t,o):r(v,_,h,t,e,o);if(void 0!==y){if(y)continue;d=!1;break}if(p){if(!et(e,(function(t,e){if(!p.has(e)&&(v===t||n(v,t,r,i,o)))return p.add(e)}))){d=!1;break}}else if(v!==_&&!n(v,_,r,i,o)){d=!1;break}}return o["delete"](t),o["delete"](e),d}function Le(t,e,n,r,i,o,s){switch(n){case A:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case S:return!(t.byteLength!=e.byteLength||!r(new mt(t),new mt(e)));case h:case d:case g:return Je(+t,+e);case p:return t.name==e.name&&t.message==e.message;case w:case k:return t==e+"";case y:var c=ut;case j:var f=o&u;if(c||(c=ct),t.size!=e.size&&!f)return!1;var l=s.get(t);if(l)return l==e;o|=a,s.set(t,e);var v=Te(c(t),c(e),r,i,o,s);return s["delete"](t),v;case O:if(Mt)return Mt.call(t)==Mt.call(e)}return!1}function De(t,e,n,r,i,o){var a=i&u,s=ln(t),c=s.length,f=ln(e),l=f.length;if(c!=l&&!a)return!1;var h=c;while(h--){var d=s[h];if(!(a?d in e:_t.call(e,d)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var v=!0;o.set(t,e),o.set(e,t);var _=a;while(++h<c){d=s[h];var y=t[d],g=e[d];if(r)var b=a?r(g,y,d,e,t,o):r(y,g,d,t,e,o);if(!(void 0===b?y===g||n(y,g,r,i,o):b)){v=!1;break}_||(_="constructor"==d)}if(v&&!_){var m=t.constructor,w=e.constructor;m==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof w&&w instanceof w||(v=!1)}return o["delete"](t),o["delete"](e),v}function Fe(t,e){var n=t.__data__;return Be(e)?n["string"==typeof e?"string":"hash"]:n.map}function Ie(t){var e=ln(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,He(i)]}return e}function Me(t,e){var n=ot(t,e);return we(n)?n:void 0}var Ue=_e;function ze(t,e,n){e=$e(e,t)?[e]:Re(e);var r,i=-1,o=e.length;while(++i<o){var a=Ge(e[i]);if(!(r=null!=t&&n(t,a)))break;t=t[a]}if(r)return r;o=t?t.length:0;return!!o&&nn(o)&&Pe(a,o)&&(Xe(t)||Ze(t))}function Pe(t,e){return e=null==e?c:e,!!e&&("number"==typeof t||H.test(t))&&t>-1&&t%1==0&&t<e}function $e(t,e){if(Xe(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!an(t))||(z.test(t)||!U.test(t)||null!=e&&t in Object(e))}function Be(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function qe(t){return!!pt&&pt in t}function Ne(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||ht;return t===n}function He(t){return t===t&&!rn(t)}function We(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(Ot&&Ue(new Ot(new ArrayBuffer(1)))!=A||Et&&Ue(new Et)!=y||St&&Ue(St.resolve())!=m||At&&Ue(new At)!=j||xt&&Ue(new xt)!=E)&&(Ue=function(t){var e=yt.call(t),n=e==b?t.constructor:void 0,r=n?Qe(n):void 0;if(r)switch(r){case Ct:return A;case Tt:return y;case Lt:return m;case Dt:return j;case Ft:return E}return e});var Ke=Ve((function(t){t=sn(t);var e=[];return P.test(t)&&e.push(""),t.replace($,(function(t,n,r,i){e.push(r?i.replace(q,"$1"):n||t)})),e}));function Ge(t){if("string"==typeof t||an(t))return t;var e=t+"";return"0"==e&&1/t==-s?"-0":e}function Qe(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ve(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Ve.Cache||Jt),n}function Je(t,e){return t===e||t!==t&&e!==e}function Ze(t){return tn(t)&&_t.call(t,"callee")&&(!wt.call(t,"callee")||yt.call(t)==f)}Ve.Cache=Jt;var Xe=Array.isArray;function Ye(t){return null!=t&&nn(t.length)&&!en(t)}function tn(t){return on(t)&&Ye(t)}function en(t){var e=rn(t)?yt.call(t):"";return e==v||e==_}function nn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=c}function rn(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function on(t){return!!t&&"object"==typeof t}function an(t){return"symbol"==typeof t||on(t)&&yt.call(t)==O}var un=tt?it(tt):je;function sn(t){return null==t?"":xe(t)}function cn(t,e,n){var r=null==t?void 0:ve(t,e);return void 0===r?n:r}function fn(t,e){return null!=t&&ze(t,e,ye)}function ln(t){return Ye(t)?le(t):Oe(t)}function hn(t,e){var n={};return e=ke(e,3),pe(t,(function(t,r,i){n[e(t,r,i)]=t})),n}function dn(t){return t}function pn(t){return $e(t)?nt(Ge(t)):Ae(t)}t.exports=hn},30:function(t,e,n){var r=1/0,i=9007199254740991,o="[object Arguments]",a="[object Function]",u="[object GeneratorFunction]",s="[object Symbol]",c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,l=c||f||Function("return this")();function h(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function d(t,e){var n=-1,r=t?t.length:0,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}function p(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}var v=Object.prototype,_=v.hasOwnProperty,y=v.toString,g=l.Symbol,b=v.propertyIsEnumerable,m=g?g.isConcatSpreadable:void 0,w=Math.max;function j(t,e,n,r,i){var o=-1,a=t.length;n||(n=S),i||(i=[]);while(++o<a){var u=t[o];e>0&&n(u)?e>1?j(u,e-1,n,r,i):p(i,u):r||(i[i.length]=u)}return i}function k(t,e){return t=Object(t),O(t,e,(function(e,n){return n in t}))}function O(t,e,n){var r=-1,i=e.length,o={};while(++r<i){var a=e[r],u=t[a];n(u,a)&&(o[a]=u)}return o}function E(t,e){return e=w(void 0===e?t.length-1:e,0),function(){var n=arguments,r=-1,i=w(n.length-e,0),o=Array(i);while(++r<i)o[r]=n[e+r];r=-1;var a=Array(e+1);while(++r<e)a[r]=n[r];return a[e]=o,h(t,this,a)}}function S(t){return R(t)||x(t)||!!(m&&t&&t[m])}function A(t){if("string"==typeof t||M(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}function x(t){return T(t)&&_.call(t,"callee")&&(!b.call(t,"callee")||y.call(t)==o)}var R=Array.isArray;function C(t){return null!=t&&D(t.length)&&!L(t)}function T(t){return I(t)&&C(t)}function L(t){var e=F(t)?y.call(t):"";return e==a||e==u}function D(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function F(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function I(t){return!!t&&"object"==typeof t}function M(t){return"symbol"==typeof t||I(t)&&y.call(t)==s}var U=E((function(t,e){return null==t?{}:k(t,d(j(e,1),A))}));t.exports=U},40:function(t,e,n){t=n.nmd(t);var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,u=2,s=1/0,c=9007199254740991,f="[object Arguments]",l="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",v="[object Function]",_="[object GeneratorFunction]",y="[object Map]",g="[object Number]",b="[object Object]",m="[object Promise]",w="[object RegExp]",j="[object Set]",k="[object String]",O="[object Symbol]",E="[object WeakMap]",S="[object ArrayBuffer]",A="[object DataView]",x="[object Float32Array]",R="[object Float64Array]",C="[object Int8Array]",T="[object Int16Array]",L="[object Int32Array]",D="[object Uint8Array]",F="[object Uint8ClampedArray]",I="[object Uint16Array]",M="[object Uint32Array]",U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/,P=/^\./,$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B=/[\\^$.*+?()[\]{}|]/g,q=/\\(\\)?/g,N=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,W={};W[x]=W[R]=W[C]=W[T]=W[L]=W[D]=W[F]=W[I]=W[M]=!0,W[f]=W[l]=W[S]=W[h]=W[A]=W[d]=W[p]=W[v]=W[y]=W[g]=W[b]=W[w]=W[j]=W[k]=W[E]=!1;var K="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,G="object"==typeof self&&self&&self.Object===Object&&self,Q=K||G||Function("return this")(),V=e&&!e.nodeType&&e,J=V&&t&&!t.nodeType&&t,Z=J&&J.exports===V,X=Z&&K.process,Y=function(){try{return X&&X.binding("util")}catch(t){}}(),tt=Y&&Y.isTypedArray;function et(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}function nt(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function rt(t){return function(e){return null==e?void 0:e[t]}}function it(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function ot(t){return function(e){return t(e)}}function at(t,e){return null==t?void 0:t[e]}function ut(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function st(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function ct(t,e){return function(n){return t(e(n))}}function ft(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var lt=Array.prototype,ht=Function.prototype,dt=Object.prototype,pt=Q["__core-js_shared__"],vt=function(){var t=/[^.]+$/.exec(pt&&pt.keys&&pt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),_t=ht.toString,yt=dt.hasOwnProperty,gt=dt.toString,bt=RegExp("^"+_t.call(yt).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mt=Q.Symbol,wt=Q.Uint8Array,jt=ct(Object.getPrototypeOf,Object),kt=dt.propertyIsEnumerable,Ot=lt.splice,Et=Object.getOwnPropertySymbols,St=ct(Object.keys,Object),At=$e(Q,"DataView"),xt=$e(Q,"Map"),Rt=$e(Q,"Promise"),Ct=$e(Q,"Set"),Tt=$e(Q,"WeakMap"),Lt=$e(Object,"create"),Dt=en(At),Ft=en(xt),It=en(Rt),Mt=en(Ct),Ut=en(Tt),zt=mt?mt.prototype:void 0,Pt=zt?zt.valueOf:void 0,$t=zt?zt.toString:void 0;function Bt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function qt(){this.__data__=Lt?Lt(null):{}}function Nt(t){return this.has(t)&&delete this.__data__[t]}function Ht(t){var e=this.__data__;if(Lt){var n=e[t];return n===o?void 0:n}return yt.call(e,t)?e[t]:void 0}function Wt(t){var e=this.__data__;return Lt?void 0!==e[t]:yt.call(e,t)}function Kt(t,e){var n=this.__data__;return n[t]=Lt&&void 0===e?o:e,this}function Gt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Qt(){this.__data__=[]}function Vt(t){var e=this.__data__,n=ve(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Ot.call(e,n,1),!0}function Jt(t){var e=this.__data__,n=ve(e,t);return n<0?void 0:e[n][1]}function Zt(t){return ve(this.__data__,t)>-1}function Xt(t,e){var n=this.__data__,r=ve(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Yt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function te(){this.__data__={hash:new Bt,map:new(xt||Gt),string:new Bt}}function ee(t){return ze(this,t)["delete"](t)}function ne(t){return ze(this,t).get(t)}function re(t){return ze(this,t).has(t)}function ie(t,e){return ze(this,t).set(t,e),this}function oe(t){var e=-1,n=t?t.length:0;this.__data__=new Yt;while(++e<n)this.add(t[e])}function ae(t){return this.__data__.set(t,o),this}function ue(t){return this.__data__.has(t)}function se(t){this.__data__=new Gt(t)}function ce(){this.__data__=new Gt}function fe(t){return this.__data__["delete"](t)}function le(t){return this.__data__.get(t)}function he(t){return this.__data__.has(t)}function de(t,e){var n=this.__data__;if(n instanceof Gt){var i=n.__data__;if(!xt||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Yt(i)}return n.set(t,e),this}function pe(t,e){var n=an(t)||on(t)?it(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!yt.call(t,o)||i&&("length"==o||We(o,r))||n.push(o);return n}function ve(t,e){var n=t.length;while(n--)if(rn(t[n][0],e))return n;return-1}function _e(t,e){e=Ke(e,t)?[e]:De(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[tn(e[n++])];return n&&n==r?t:void 0}function ye(t,e,n){var r=e(t);return an(t)?r:et(r,n(t))}function ge(t){return gt.call(t)}function be(t,e){return null!=t&&e in Object(t)}function me(t,e,n,r,i){return t===e||(null==t||null==e||!ln(t)&&!hn(e)?t!==t&&e!==e:we(t,e,me,n,r,i))}function we(t,e,n,r,i,o){var a=an(t),s=an(e),c=l,h=l;a||(c=Ne(t),c=c==f?b:c),s||(h=Ne(e),h=h==f?b:h);var d=c==b&&!ut(t),p=h==b&&!ut(e),v=c==h;if(v&&!d)return o||(o=new se),a||pn(t)?Fe(t,e,n,r,i,o):Ie(t,e,c,n,r,i,o);if(!(i&u)){var _=d&&yt.call(t,"__wrapped__"),y=p&&yt.call(e,"__wrapped__");if(_||y){var g=_?t.value():t,m=y?e.value():e;return o||(o=new se),n(g,m,r,i,o)}}return!!v&&(o||(o=new se),Me(t,e,n,r,i,o))}function je(t,e,n,r){var i=n.length,o=i,s=!r;if(null==t)return!o;t=Object(t);while(i--){var c=n[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}while(++i<o){c=n[i];var f=c[0],l=t[f],h=c[1];if(s&&c[2]){if(void 0===l&&!(f in t))return!1}else{var d=new se;if(r)var p=r(l,h,f,t,e,d);if(!(void 0===p?me(h,l,r,a|u,d):p))return!1}}return!0}function ke(t){if(!ln(t)||Qe(t))return!1;var e=cn(t)||ut(t)?bt:N;return e.test(en(t))}function Oe(t){return hn(t)&&fn(t.length)&&!!W[gt.call(t)]}function Ee(t){return"function"==typeof t?t:null==t?wn:"object"==typeof t?an(t)?Re(t[0],t[1]):xe(t):jn(t)}function Se(t){if(!Ve(t))return St(t);var e=[];for(var n in Object(t))yt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ae(t){if(!ln(t))return Xe(t);var e=Ve(t),n=[];for(var r in t)("constructor"!=r||!e&&yt.call(t,r))&&n.push(r);return n}function xe(t){var e=Pe(t);return 1==e.length&&e[0][2]?Ze(e[0][0],e[0][1]):function(n){return n===t||je(n,t,e)}}function Re(t,e){return Ke(t)&&Je(e)?Ze(tn(t),e):function(n){var r=_n(n,t);return void 0===r&&r===e?yn(n,t):me(e,r,void 0,a|u)}}function Ce(t,e,n){var r=-1,i=e.length,o={};while(++r<i){var a=e[r],u=t[a];n(u,a)&&(o[a]=u)}return o}function Te(t){return function(e){return _e(e,t)}}function Le(t){if("string"==typeof t)return t;if(dn(t))return $t?$t.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}function De(t){return an(t)?t:Ye(t)}function Fe(t,e,n,r,i,o){var s=i&u,c=t.length,f=e.length;if(c!=f&&!(s&&f>c))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var h=-1,d=!0,p=i&a?new oe:void 0;o.set(t,e),o.set(e,t);while(++h<c){var v=t[h],_=e[h];if(r)var y=s?r(_,v,h,e,t,o):r(v,_,h,t,e,o);if(void 0!==y){if(y)continue;d=!1;break}if(p){if(!nt(e,(function(t,e){if(!p.has(e)&&(v===t||n(v,t,r,i,o)))return p.add(e)}))){d=!1;break}}else if(v!==_&&!n(v,_,r,i,o)){d=!1;break}}return o["delete"](t),o["delete"](e),d}function Ie(t,e,n,r,i,o,s){switch(n){case A:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case S:return!(t.byteLength!=e.byteLength||!r(new wt(t),new wt(e)));case h:case d:case g:return rn(+t,+e);case p:return t.name==e.name&&t.message==e.message;case w:case k:return t==e+"";case y:var c=st;case j:var f=o&u;if(c||(c=ft),t.size!=e.size&&!f)return!1;var l=s.get(t);if(l)return l==e;o|=a,s.set(t,e);var v=Fe(c(t),c(e),r,i,o,s);return s["delete"](t),v;case O:if(Pt)return Pt.call(t)==Pt.call(e)}return!1}function Me(t,e,n,r,i,o){var a=i&u,s=gn(t),c=s.length,f=gn(e),l=f.length;if(c!=l&&!a)return!1;var h=c;while(h--){var d=s[h];if(!(a?d in e:yt.call(e,d)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var v=!0;o.set(t,e),o.set(e,t);var _=a;while(++h<c){d=s[h];var y=t[d],g=e[d];if(r)var b=a?r(g,y,d,e,t,o):r(y,g,d,t,e,o);if(!(void 0===b?y===g||n(y,g,r,i,o):b)){v=!1;break}_||(_="constructor"==d)}if(v&&!_){var m=t.constructor,w=e.constructor;m==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof w&&w instanceof w||(v=!1)}return o["delete"](t),o["delete"](e),v}function Ue(t){return ye(t,bn,qe)}function ze(t,e){var n=t.__data__;return Ge(e)?n["string"==typeof e?"string":"hash"]:n.map}function Pe(t){var e=gn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,Je(i)]}return e}function $e(t,e){var n=at(t,e);return ke(n)?n:void 0}Bt.prototype.clear=qt,Bt.prototype["delete"]=Nt,Bt.prototype.get=Ht,Bt.prototype.has=Wt,Bt.prototype.set=Kt,Gt.prototype.clear=Qt,Gt.prototype["delete"]=Vt,Gt.prototype.get=Jt,Gt.prototype.has=Zt,Gt.prototype.set=Xt,Yt.prototype.clear=te,Yt.prototype["delete"]=ee,Yt.prototype.get=ne,Yt.prototype.has=re,Yt.prototype.set=ie,oe.prototype.add=oe.prototype.push=ae,oe.prototype.has=ue,se.prototype.clear=ce,se.prototype["delete"]=fe,se.prototype.get=le,se.prototype.has=he,se.prototype.set=de;var Be=Et?ct(Et,Object):kn,qe=Et?function(t){var e=[];while(t)et(e,Be(t)),t=jt(t);return e}:kn,Ne=ge;function He(t,e,n){e=Ke(e,t)?[e]:De(e);var r,i=-1,o=e.length;while(++i<o){var a=tn(e[i]);if(!(r=null!=t&&n(t,a)))break;t=t[a]}if(r)return r;o=t?t.length:0;return!!o&&fn(o)&&We(a,o)&&(an(t)||on(t))}function We(t,e){return e=null==e?c:e,!!e&&("number"==typeof t||H.test(t))&&t>-1&&t%1==0&&t<e}function Ke(t,e){if(an(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!dn(t))||(z.test(t)||!U.test(t)||null!=e&&t in Object(e))}function Ge(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Qe(t){return!!vt&&vt in t}function Ve(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||dt;return t===n}function Je(t){return t===t&&!ln(t)}function Ze(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}function Xe(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(At&&Ne(new At(new ArrayBuffer(1)))!=A||xt&&Ne(new xt)!=y||Rt&&Ne(Rt.resolve())!=m||Ct&&Ne(new Ct)!=j||Tt&&Ne(new Tt)!=E)&&(Ne=function(t){var e=gt.call(t),n=e==b?t.constructor:void 0,r=n?en(n):void 0;if(r)switch(r){case Dt:return A;case Ft:return y;case It:return m;case Mt:return j;case Ut:return E}return e});var Ye=nn((function(t){t=vn(t);var e=[];return P.test(t)&&e.push(""),t.replace($,(function(t,n,r,i){e.push(r?i.replace(q,"$1"):n||t)})),e}));function tn(t){if("string"==typeof t||dn(t))return t;var e=t+"";return"0"==e&&1/t==-s?"-0":e}function en(t){if(null!=t){try{return _t.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function nn(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(nn.Cache||Yt),n}function rn(t,e){return t===e||t!==t&&e!==e}function on(t){return sn(t)&&yt.call(t,"callee")&&(!kt.call(t,"callee")||gt.call(t)==f)}nn.Cache=Yt;var an=Array.isArray;function un(t){return null!=t&&fn(t.length)&&!cn(t)}function sn(t){return hn(t)&&un(t)}function cn(t){var e=ln(t)?gt.call(t):"";return e==v||e==_}function fn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=c}function ln(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function hn(t){return!!t&&"object"==typeof t}function dn(t){return"symbol"==typeof t||hn(t)&>.call(t)==O}var pn=tt?ot(tt):Oe;function vn(t){return null==t?"":Le(t)}function _n(t,e,n){var r=null==t?void 0:_e(t,e);return void 0===r?n:r}function yn(t,e){return null!=t&&He(t,e,be)}function gn(t){return un(t)?pe(t):Se(t)}function bn(t){return un(t)?pe(t,!0):Ae(t)}function mn(t,e){return null==t?{}:Ce(t,Ue(t),Ee(e))}function wn(t){return t}function jn(t){return Ke(t)?rt(tn(t)):Te(t)}function kn(){return[]}t.exports=mn},460:function(t,e){var n,r,i;
/* @license
Papa Parse
v5.3.2
https://github.com/mholt/PapaParse
License: MIT
*/!function(o,a){r=[],n=a,i="function"===typeof n?n.apply(e,r):n,void 0===i||(t.exports=i)}(0,(function t(){"use strict";var e="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{},n=!e.document&&!!e.postMessage,r=n&&/blob:/i.test((e.location||{}).protocol),i={},o=0,a={parse:function(n,r){var u=(r=r||{}).dynamicTyping||!1;if(w(u)&&(r.dynamicTypingFunction=u,u={}),r.dynamicTyping=u,r.transform=!!w(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var s=function(){if(!a.WORKERS_SUPPORTED)return!1;var n,r,u=(n=e.URL||e.webkitURL||null,r=t.toString(),a.BLOB_URL||(a.BLOB_URL=n.createObjectURL(new Blob(["(",r,")();"],{type:"text/javascript"})))),s=new e.Worker(u);return s.onmessage=_,s.id=o++,i[s.id]=s}();return s.userStep=r.step,s.userChunk=r.chunk,s.userComplete=r.complete,s.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,void s.postMessage({input:n,config:r,workerId:s.id})}var d=null;return a.NODE_STREAM_INPUT,"string"==typeof n?d=r.download?new c(r):new l(r):!0===n.readable&&w(n.read)&&w(n.on)?d=new h(r):(e.File&&n instanceof File||n instanceof Object)&&(d=new f(r)),d.stream(n)},unparse:function(t,e){var n=!1,r=!0,i=",",o="\r\n",u='"',s=u+u,c=!1,f=null,l=!1;!function(){if("object"==typeof e){if("string"!=typeof e.delimiter||a.BAD_DELIMITERS.filter((function(t){return-1!==e.delimiter.indexOf(t)})).length||(i=e.delimiter),("boolean"==typeof e.quotes||"function"==typeof e.quotes||Array.isArray(e.quotes))&&(n=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(c=e.skipEmptyLines),"string"==typeof e.newline&&(o=e.newline),"string"==typeof e.quoteChar&&(u=e.quoteChar),"boolean"==typeof e.header&&(r=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");f=e.columns}void 0!==e.escapeChar&&(s=e.escapeChar+u),("boolean"==typeof e.escapeFormulae||e.escapeFormulae instanceof RegExp)&&(l=e.escapeFormulae instanceof RegExp?e.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var h=new RegExp(p(u),"g");if("string"==typeof t&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return d(null,t,c);if("object"==typeof t[0])return d(f||Object.keys(t[0]),t,c)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||f),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:"object"==typeof t.data[0]?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),d(t.fields||[],t.data||[],c);throw new Error("Unable to serialize unrecognized input");function d(t,e,n){var a="";"string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e));var u=Array.isArray(t)&&0<t.length,s=!Array.isArray(e[0]);if(u&&r){for(var c=0;c<t.length;c++)0<c&&(a+=i),a+=v(t[c],c);0<e.length&&(a+=o)}for(var f=0;f<e.length;f++){var l=u?t.length:e[f].length,h=!1,d=u?0===Object.keys(e[f]).length:0===e[f].length;if(n&&!u&&(h="greedy"===n?""===e[f].join("").trim():1===e[f].length&&0===e[f][0].length),"greedy"===n&&u){for(var p=[],_=0;_<l;_++){var y=s?t[_]:_;p.push(e[f][y])}h=""===p.join("").trim()}if(!h){for(var g=0;g<l;g++){0<g&&!d&&(a+=i);var b=u&&s?t[g]:g;a+=v(e[f][b],g)}f<e.length-1&&(!n||0<l&&!d)&&(a+=o)}}return a}function v(t,e){if(null==t)return"";if(t.constructor===Date)return JSON.stringify(t).slice(1,25);var r=!1;l&&"string"==typeof t&&l.test(t)&&(t="'"+t,r=!0);var o=t.toString().replace(h,s);return(r=r||!0===n||"function"==typeof n&&n(t,e)||Array.isArray(n)&&n[e]||function(t,e){for(var n=0;n<e.length;n++)if(-1<t.indexOf(e[n]))return!0;return!1}(o,a.BAD_DELIMITERS)||-1<o.indexOf(i)||" "===o.charAt(0)||" "===o.charAt(o.length-1))?u+o+u:o}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!n&&!!e.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=v,a.ParserHandle=d,a.NetworkStreamer=c,a.FileStreamer=f,a.StringStreamer=l,a.ReadableStreamStreamer=h,e.jQuery){var u=e.jQuery;u.fn.parse=function(t){var n=t.config||{},r=[];return this.each((function(t){if("INPUT"!==u(this).prop("tagName").toUpperCase()||"file"!==u(this).attr("type").toLowerCase()||!e.FileReader||!this.files||0===this.files.length)return!0;for(var i=0;i<this.files.length;i++)r.push({file:this.files[i],inputElem:this,instanceConfig:u.extend({},n)})})),i(),this;function i(){if(0!==r.length){var e,n,i,s,c=r[0];if(w(t.before)){var f=t.before(c.file,c.inputElem);if("object"==typeof f){if("abort"===f.action)return e="AbortError",n=c.file,i=c.inputElem,s=f.reason,void(w(t.error)&&t.error({name:e},n,i,s));if("skip"===f.action)return void o();"object"==typeof f.config&&(c.instanceConfig=u.extend(c.instanceConfig,f.config))}else if("skip"===f)return void o()}var l=c.instanceConfig.complete;c.instanceConfig.complete=function(t){w(l)&&l(t,c.file,c.inputElem),o()},a.parse(c.file,c.instanceConfig)}else w(t.complete)&&t.complete()}function o(){r.splice(0,1),i()}}}function s(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(t){var e=b(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null),this._handle=new d(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t,n){if(this.isFirstChunk&&w(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(t);void 0!==i&&(t=i)}this.isFirstChunk=!1,this._halted=!1;var o=this._partialLine+t;this._partialLine="";var u=this._handle.parse(o,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=u.meta.cursor;this._finished||(this._partialLine=o.substring(s-this._baseIndex),this._baseIndex=s),u&&u.data&&(this._rowCount+=u.data.length);var c=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)e.postMessage({results:u,workerId:a.WORKER_ID,finished:c});else if(w(this._config.chunk)&&!n){if(this._config.chunk(u,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);u=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(u.data),this._completeResults.errors=this._completeResults.errors.concat(u.errors),this._completeResults.meta=u.meta),this._completed||!c||!w(this._config.complete)||u&&u.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||u&&u.meta.paused||this._nextChunk(),u}this._halted=!0},this._sendError=function(t){w(this._config.error)?this._config.error(t):r&&this._config.error&&e.postMessage({workerId:a.WORKER_ID,error:t,finished:!1})}}function c(t){var e;(t=t||{}).chunkSize||(t.chunkSize=a.RemoteChunkSize),s.call(this,t),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),n||(e.onload=m(this._chunkLoaded,this),e.onerror=m(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var t=this._config.downloadRequestHeaders;for(var r in t)e.setRequestHeader(r,t[r])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;e.setRequestHeader("Range","bytes="+this._start+"-"+i)}try{e.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}n&&0===e.status&&this._chunkError()}},this._chunkLoaded=function(){4===e.readyState&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:e.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(t){var e=t.getResponseHeader("Content-Range");return null===e?-1:parseInt(e.substring(e.lastIndexOf("/")+1))}(e),this.parseChunk(e.responseText)))},this._chunkError=function(t){var n=e.statusText||t;this._sendError(new Error(n))}}function f(t){var e,n;(t=t||{}).chunkSize||(t.chunkSize=a.LocalChunkSize),s.call(this,t);var r="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,n=t.slice||t.webkitSlice||t.mozSlice,r?((e=new FileReader).onload=m(this._chunkLoaded,this),e.onerror=m(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input;if(this._config.chunkSize){var i=Math.min(this._start+this._config.chunkSize,this._input.size);t=n.call(t,this._start,i)}var o=e.readAsText(t,this._config.encoding);r||this._chunkLoaded({target:{result:o}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function l(t){var e;s.call(this,t=t||{}),this.stream=function(t){return e=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t,n=this._config.chunkSize;return n?(t=e.substring(0,n),e=e.substring(n)):(t=e,e=""),this._finished=!e,this.parseChunk(t)}}}function h(t){s.call(this,t=t||{});var e=[],n=!0,r=!1;this.pause=function(){s.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){s.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===e.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):n=!0},this._streamData=m((function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}}),this),this._streamError=m((function(t){this._streamCleanUp(),this._sendError(t)}),this),this._streamEnd=m((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=m((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function d(t){var e,n,r,i=Math.pow(2,53),o=-i,u=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,s=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,c=this,f=0,l=0,h=!1,d=!1,_=[],y={data:[],errors:[],meta:{}};if(w(t.step)){var g=t.step;t.step=function(e){if(y=e,k())j();else{if(j(),0===y.data.length)return;f+=e.data.length,t.preview&&f>t.preview?n.abort():(y.data=y.data[0],g(y,c))}}}function m(e){return"greedy"===t.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function j(){return y&&r&&(E("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),t.skipEmptyLines&&(y.data=y.data.filter((function(t){return!m(t)}))),k()&&function(){if(y)if(Array.isArray(y.data[0])){for(var e=0;k()&&e<y.data.length;e++)y.data[e].forEach(n);y.data.splice(0,1)}else y.data.forEach(n);function n(e,n){w(t.transformHeader)&&(e=t.transformHeader(e,n)),_.push(e)}}(),function(){if(!y||!t.header&&!t.dynamicTyping&&!t.transform)return y;function e(e,n){var r,i=t.header?{}:[];for(r=0;r<e.length;r++){var o=r,a=e[r];t.header&&(o=r>=_.length?"__parsed_extra":_[r]),t.transform&&(a=t.transform(a,o)),a=O(o,a),"__parsed_extra"===o?(i[o]=i[o]||[],i[o].push(a)):i[o]=a}return t.header&&(r>_.length?E("FieldMismatch","TooManyFields","Too many fields: expected "+_.length+" fields but parsed "+r,l+n):r<_.length&&E("FieldMismatch","TooFewFields","Too few fields: expected "+_.length+" fields but parsed "+r,l+n)),i}var n=1;return!y.data.length||Array.isArray(y.data[0])?(y.data=y.data.map(e),n=y.data.length):y.data=e(y.data,0),t.header&&y.meta&&(y.meta.fields=_),l+=n,y}()}function k(){return t.header&&0===_.length}function O(e,n){return r=e,t.dynamicTypingFunction&&void 0===t.dynamicTyping[r]&&(t.dynamicTyping[r]=t.dynamicTypingFunction(r)),!0===(t.dynamicTyping[r]||t.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(t){if(u.test(t)){var e=parseFloat(t);if(o<e&&e<i)return!0}return!1}(n)?parseFloat(n):s.test(n)?new Date(n):""===n?null:n):n;var r}function E(t,e,n,r){var i={type:t,code:e,message:n};void 0!==r&&(i.row=r),y.errors.push(i)}this.parse=function(i,o,u){var s=t.quoteChar||'"';if(t.newline||(t.newline=function(t,e){t=t.substring(0,1048576);var n=new RegExp(p(e)+"([^]*?)"+p(e),"gm"),r=(t=t.replace(n,"")).split("\r"),i=t.split("\n"),o=1<i.length&&i[0].length<r[0].length;if(1===r.length||o)return"\n";for(var a=0,u=0;u<r.length;u++)"\n"===r[u][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(i,s)),r=!1,t.delimiter)w(t.delimiter)&&(t.delimiter=t.delimiter(i),y.meta.delimiter=t.delimiter);else{var c=function(e,n,r,i,o){var u,s,c,f;o=o||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var l=0;l<o.length;l++){var h=o[l],d=0,p=0,_=0;c=void 0;for(var y=new v({comments:i,delimiter:h,newline:n,preview:10}).parse(e),g=0;g<y.data.length;g++)if(r&&m(y.data[g]))_++;else{var b=y.data[g].length;p+=b,void 0!==c?0<b&&(d+=Math.abs(b-c),c=b):c=b}0<y.data.length&&(p/=y.data.length-_),(void 0===s||d<=s)&&(void 0===f||f<p)&&1.99<p&&(s=d,u=h,f=p)}return{successful:!!(t.delimiter=u),bestDelimiter:u}}(i,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess);c.successful?t.delimiter=c.bestDelimiter:(r=!0,t.delimiter=a.DefaultDelimiter),y.meta.delimiter=t.delimiter}var f=b(t);return t.preview&&t.header&&f.preview++,e=i,n=new v(f),y=n.parse(e,o,u),j(),h?{meta:{paused:!0}}:y||{meta:{paused:!1}}},this.paused=function(){return h},this.pause=function(){h=!0,n.abort(),e=w(t.chunk)?"":e.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(h=!1,c.streamer.parseChunk(e,!0)):setTimeout(c.resume,3)},this.aborted=function(){return d},this.abort=function(){d=!0,n.abort(),y.meta.aborted=!0,w(t.complete)&&t.complete(y),e=""}}function p(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function v(t){var e,n=(t=t||{}).delimiter,r=t.newline,i=t.comments,o=t.step,u=t.preview,s=t.fastMode,c=e=void 0===t.quoteChar||null===t.quoteChar?'"':t.quoteChar;if(void 0!==t.escapeChar&&(c=t.escapeChar),("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=","),i===n)throw new Error("Comment character same as delimiter");!0===i?i="#":("string"!=typeof i||-1<a.BAD_DELIMITERS.indexOf(i))&&(i=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var f=0,l=!1;this.parse=function(t,a,h){if("string"!=typeof t)throw new Error("Input must be a string");var d=t.length,v=n.length,_=r.length,y=i.length,g=w(o),b=[],m=[],j=[],k=f=0;if(!t)return M();if(s||!1!==s&&-1===t.indexOf(e)){for(var O=t.split(r),E=0;E<O.length;E++){if(j=O[E],f+=j.length,E!==O.length-1)f+=r.length;else if(h)return M();if(!i||j.substring(0,y)!==i){if(g){if(b=[],L(j.split(n)),U(),l)return M()}else L(j.split(n));if(u&&u<=E)return b=b.slice(0,u),M(!0)}}return M()}for(var S=t.indexOf(n,f),A=t.indexOf(r,f),x=new RegExp(p(c)+p(e),"g"),R=t.indexOf(e,f);;)if(t[f]!==e)if(i&&0===j.length&&t.substring(f,f+y)===i){if(-1===A)return M();f=A+_,A=t.indexOf(r,f),S=t.indexOf(n,f)}else if(-1!==S&&(S<A||-1===A))j.push(t.substring(f,S)),f=S+v,S=t.indexOf(n,f);else{if(-1===A)break;if(j.push(t.substring(f,A)),I(A+_),g&&(U(),l))return M();if(u&&b.length>=u)return M(!0)}else for(R=f,f++;;){if(-1===(R=t.indexOf(e,R+1)))return h||m.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:b.length,index:f}),F();if(R===d-1)return F(t.substring(f,R).replace(x,e));if(e!==c||t[R+1]!==c){if(e===c||0===R||t[R-1]!==c){-1!==S&&S<R+1&&(S=t.indexOf(n,R+1)),-1!==A&&A<R+1&&(A=t.indexOf(r,R+1));var C=D(-1===A?S:Math.min(S,A));if(t.substr(R+1+C,v)===n){j.push(t.substring(f,R).replace(x,e)),t[f=R+1+C+v]!==e&&(R=t.indexOf(e,f)),S=t.indexOf(n,f),A=t.indexOf(r,f);break}var T=D(A);if(t.substring(R+1+T,R+1+T+_)===r){if(j.push(t.substring(f,R).replace(x,e)),I(R+1+T+_),S=t.indexOf(n,f),R=t.indexOf(e,f),g&&(U(),l))return M();if(u&&b.length>=u)return M(!0);break}m.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:b.length,index:f}),R++}}else R++}return F();function L(t){b.push(t),k=f}function D(e){var n=0;if(-1!==e){var r=t.substring(R+1,e);r&&""===r.trim()&&(n=r.length)}return n}function F(e){return h||(void 0===e&&(e=t.substring(f)),j.push(e),f=d,L(j),g&&U()),M()}function I(e){f=e,L(j),j=[],A=t.indexOf(r,f)}function M(t){return{data:b,errors:m,meta:{delimiter:n,linebreak:r,aborted:l,truncated:!!t,cursor:k+(a||0)}}}function U(){o(M()),b=[],m=[]}},this.abort=function(){l=!0},this.getCharIndex=function(){return f}}function _(t){var e=t.data,n=i[e.workerId],r=!1;if(e.error)n.userError(e.error,e.file);else if(e.results&&e.results.data){var o={abort:function(){r=!0,y(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:g,resume:g};if(w(n.userStep)){for(var a=0;a<e.results.data.length&&(n.userStep({data:e.results.data[a],errors:e.results.errors,meta:e.results.meta},o),!r);a++);delete e.results}else w(n.userChunk)&&(n.userChunk(e.results,o,e.file),delete e.results)}e.finished&&!r&&y(e.workerId,e.results)}function y(t,e){var n=i[t];w(n.userComplete)&&n.userComplete(e),n.terminate(),delete i[t]}function g(){throw new Error("Not implemented.")}function b(t){if("object"!=typeof t||null===t)return t;var e=Array.isArray(t)?[]:{};for(var n in t)e[n]=b(t[n]);return e}function m(t,e){return function(){t.apply(e,arguments)}}function w(t){return"function"==typeof t}return r&&(e.onmessage=function(t){var n=t.data;if(void 0===a.WORKER_ID&&n&&(a.WORKER_ID=n.workerId),"string"==typeof n.input)e.postMessage({workerId:a.WORKER_ID,results:a.parse(n.input,n.config),finished:!0});else if(e.File&&n.input instanceof File||n.input instanceof Object){var r=a.parse(n.input,n.config);r&&e.postMessage({workerId:a.WORKER_ID,results:r,finished:!0})}}),(c.prototype=Object.create(s.prototype)).constructor=c,(f.prototype=Object.create(s.prototype)).constructor=f,(l.prototype=Object.create(l.prototype)).constructor=l,(h.prototype=Object.create(s.prototype)).constructor=h,a}))},744:function(t,e){"use strict";e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n}},203:function(e){"use strict";e.exports=t}},n={};function r(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}!function(){r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,{a:e}),e}}(),function(){r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),fu