{"version":3,"sources":["node_modules/@arcgis/core/core/accessorSupport/decorators/enumeration.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 { JSONMap as e } from \"../../jsonMap.js\";\nimport { property as n } from \"./property.js\";\nfunction r(r, a = {}) {\n const t = r instanceof e ? r : new e(r, a),\n {\n alwaysWriteDefaults: l,\n default: o,\n ignoreUnknown: s = !0,\n name: i,\n nonNullable: u,\n readOnly: p = !1\n } = a;\n return n({\n type: s ? t.apiValues : String,\n json: {\n type: t.jsonValues,\n default: o,\n name: i,\n read: !p && {\n reader: t.read\n },\n write: {\n writer: t.write,\n alwaysWriteDefaults: l\n }\n },\n nonNullable: u,\n readOnly: p\n });\n}\nexport { r as enumeration };"],"mappings":"gFAMA,SAASA,EAAEA,EAAGC,EAAI,CAAC,EAAG,CACpB,IAAMC,EAAIF,aAAa,EAAIA,EAAI,IAAI,EAAEA,EAAGC,CAAC,EACvC,CACE,oBAAqBE,EACrB,QAASC,EACT,cAAe,EAAI,GACnB,KAAMC,EACN,YAAaC,EACb,SAAUC,EAAI,EAChB,EAAIN,EACN,OAAOO,EAAE,CACP,KAAM,EAAIN,EAAE,UAAY,OACxB,KAAM,CACJ,KAAMA,EAAE,WACR,QAASE,EACT,KAAMC,EACN,KAAM,CAACE,GAAK,CACV,OAAQL,EAAE,IACZ,EACA,MAAO,CACL,OAAQA,EAAE,MACV,oBAAqBC,CACvB,CACF,EACA,YAAaG,EACb,SAAUC,CACZ,CAAC,CACH","names":["r","a","t","l","o","i","u","p","m"],"x_google_ignoreList":[0]}