import { SHJDatasourceV2 as n } from "../index.mjs";
import { DataSourceUtils as e } from "../utils/utils.mjs";
const p = (t, r, a) => {
  try {
    const o = e.replaceObjectVariables(t.source.static);
    n.processData(t.source, o, t.id, r).then((i) => {
      a(i);
    }).catch(() => {
      a(e.noneData(t.id));
    });
    return;
  } catch {
    a(e.noneData(t.id));
  }
};
export {
  p as parseStaticData
};
