{"version":3,"sources":["node_modules/@arcgis/core/core/Queue.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { trackAccess as t } from \"./accessorSupport/tracking.js\";\nimport { SimpleObservable as e } from \"./accessorSupport/tracking/SimpleObservable.js\";\nclass s {\n constructor(t = t => t.values().next().value) {\n this._peeker = t, this._observable = new e(), this._items = new Set();\n }\n get length() {\n return t(this._observable), this._items.size;\n }\n clear() {\n 0 !== this.length && (this._items.clear(), this._observable.notify());\n }\n last() {\n if (0 === this.length) return;\n let t;\n for (t of this._items);\n return t;\n }\n peek() {\n if (0 !== this.length) return this._peeker(this._items);\n }\n push(t) {\n this.contains(t) || (this._items.add(t), this._observable.notify());\n }\n contains(e) {\n return t(this._observable), this._items.has(e);\n }\n pop() {\n if (0 === this.length) return;\n const t = this.peek();\n return this._items.delete(t), this._observable.notify(), t;\n }\n popLast() {\n if (0 === this.length) return;\n const t = this.last();\n return this._items.delete(t), this._observable.notify(), t;\n }\n remove(t) {\n this.contains(t) && (this._items.delete(t), this._observable.notify());\n }\n filter(t) {\n const e = this.length;\n return this._items.forEach(e => {\n t(e) || this._items.delete(e);\n }), e !== this._items.size && this._observable.notify(), this;\n }\n *[Symbol.iterator]() {\n t(this._observable), yield* this._items;\n }\n}\nexport { s as default };"],"mappings":"wHAMA,IAAMA,EAAN,KAAQ,CACN,YAAY,EAAIC,GAAKA,EAAE,OAAO,EAAE,KAAK,EAAE,MAAO,CAC5C,KAAK,QAAU,EAAG,KAAK,YAAc,IAAID,EAAK,KAAK,OAAS,IAAI,GAClE,CACA,IAAI,QAAS,CACX,OAAOE,EAAE,KAAK,WAAW,EAAG,KAAK,OAAO,IAC1C,CACA,OAAQ,CACA,KAAK,SAAX,IAAsB,KAAK,OAAO,MAAM,EAAG,KAAK,YAAY,OAAO,EACrE,CACA,MAAO,CACL,GAAU,KAAK,SAAX,EAAmB,OACvB,IAAI,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