/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { Base, Number_$type, String_$type, markType } from "./type";
import { Dictionary$2 } from "./Dictionary$2";
/**
 * @hidden
 */
export let ContainerState = /*@__PURE__*/ (() => {
    class ContainerState extends Base {
        constructor() {
            super(...arguments);
            this.e = null;
            this.b = new Dictionary$2(Number_$type, Base.$, 0);
            this.c = new Dictionary$2(Base.$, Number_$type, 0);
            this.a = new Dictionary$2(Number_$type, String_$type, 0);
        }
        g(a, b, c, d, e) {
            if (d.b("Name")) {
                this.a.item(b, d.a("Name").b);
                e(a, this.a.item(b), c, false);
            }
            this.b.item(b, c);
            this.c.item(c, b);
        }
        f(a) {
            return this.b.item(a);
        }
        h(a, b, c) {
            let d = this.b.item(b);
            this.c.removeItem(d);
            this.b.removeItem(b);
            if (this.a.containsKey(b)) {
                let e = this.a.item(b);
                this.a.removeItem(b);
                c(a, e, false);
            }
        }
        d(a) {
            if (this.c.containsKey(a)) {
                return this.c.item(a);
            }
            return -1;
        }
    }
    ContainerState.$t = /*@__PURE__*/ markType(ContainerState, 'ContainerState');
    return ContainerState;
})();
//# sourceMappingURL=ContainerState.js.map
