chunk-FEH5F4VW.js 539 B

12345678910111213141516171819202122232425
  1. // node_modules/@arcgis/core/layers/ogc/xmlUtils.js
  2. function o(n2, c) {
  3. for (const e of n2.children)
  4. if (e.localName in c) {
  5. const n3 = c[e.localName];
  6. if (typeof n3 == "function") {
  7. const c2 = n3(e);
  8. c2 && o(e, c2);
  9. } else
  10. o(e, n3);
  11. }
  12. }
  13. function* n(o2, c) {
  14. for (const e of o2.children)
  15. if (e.localName in c) {
  16. const o3 = c[e.localName];
  17. typeof o3 == "function" ? yield o3(e) : yield* n(e, o3);
  18. }
  19. }
  20. export {
  21. o,
  22. n
  23. };
  24. //# sourceMappingURL=chunk-FEH5F4VW.js.map