import{B as o,D as r}from"./vendor-utils-C6uY282N.js";import{E as s}from"./vendor-utils-C6uY282N.js";import"./vendor-react-PZB_V_Ae.js";const t=function(s,t={}){"string"==typeof s&&(s=o.from(s));const i=t&&t.objname?{}:[],n=r(t),e=o=>{void 0===n.options.objname?i.push(o):i[o[0]]=o[1]},p=()=>{},a=n.parse(s,!1,e,p);if(void 0!==a)throw a;const m=n.parse(void 0,!0,e,p);if(void 0!==m)throw m;return i};export{s as CsvError,t as parse};
