import { p } from "./chunk-EKYSPJO6.js"; import { i } from "./chunk-JOYXMSKE.js"; import { t } from "./chunk-JGBXYDGB.js"; import { o } from "./chunk-6T6G6LCQ.js"; import { r } from "./chunk-PQFTYGF5.js"; import { e, l3 as l, n5 as n, y3 as y } from "./chunk-2Z2TG5CU.js"; // node_modules/@arcgis/core/layers/support/FeatureType.js var c = class extends i(l) { constructor(o2) { super(o2), this.id = null, this.name = null, this.domains = null, this.templates = null; } readDomains(o2) { const r2 = {}; for (const t2 of Object.keys(o2)) r2[t2] = t(o2[t2]); return r2; } writeDomains(o2, r2) { var _a; const t2 = {}; for (const s of Object.keys(o2)) o2[s] && (t2[s] = (_a = o2[s]) == null ? void 0 : _a.toJSON()); r2.domains = t2; } }; e([y({ json: { write: true } })], c.prototype, "id", void 0), e([y({ json: { write: true } })], c.prototype, "name", void 0), e([y({ json: { write: true } })], c.prototype, "domains", void 0), e([o("domains")], c.prototype, "readDomains", null), e([r("domains")], c.prototype, "writeDomains", null), e([y({ type: [p], json: { write: true } })], c.prototype, "templates", void 0), c = e([n("esri.layers.support.FeatureType")], c); var n2 = c; export { n2 as n }; //# sourceMappingURL=chunk-NQA5XJGK.js.map