import { SHJDatasourceV2 as i } from "../index.mjs";
import { DataSourceUtils as n } from "../utils/utils.mjs";
const m = (t, a, c) => new Promise(function(r, o) {
  if (t.source.static !== void 0) {
    i.processData(t.source.filter, t.source.static, t.source.mapping, a, t.source.dynamicMapping, c, t.source.isUserdata).then((e) => {
      r(e);
    }).catch(() => {
      r(n.noneData(a));
    });
    return;
  }
  r(n.noneData(a));
});
export {
  m as parseStaticData
};
