chunk-GSSTTHIT.js 547 B

12345678910111213141516171819202122232425
  1. import {
  2. s3 as s
  3. } from "./chunk-2Z2TG5CU.js";
  4. // node_modules/@arcgis/core/core/accessorSupport/tracking/SimpleObservable.js
  5. var e = class {
  6. constructor() {
  7. this._observers = [];
  8. }
  9. observe(e2) {
  10. return this._observers.includes(e2) || this._observers.push(e2), new s(this._observers, e2);
  11. }
  12. notify() {
  13. const s2 = this._observers.slice();
  14. for (let e2 = 0; e2 < s2.length; ++e2) {
  15. const r = s2[e2];
  16. r.onInvalidated(), r.onCommitted();
  17. }
  18. }
  19. };
  20. export {
  21. e
  22. };
  23. //# sourceMappingURL=chunk-GSSTTHIT.js.map