{"version":3,"sources":["node_modules/@arcgis/core/layers/mixins/OrderedLayer.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 { _ as r } from \"../../chunks/tslib.es6.js\";\nimport { setDeepValue as o } from \"../../core/object.js\";\nimport { property as e } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/Logger.js\";\nimport \"../../core/RandomLCG.js\";\nimport { subclass as t } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport s from \"../support/OrderByInfo.js\";\nfunction i(r, o, e) {\n if (!r) return null;\n const t = r.find(r => !!r.field);\n if (!t) return null;\n const i = new s();\n return i.read(t, e), [i];\n}\nfunction n(r, e, t, s) {\n const i = r.find(r => !!r.field);\n i && o(t, [i.toJSON()], e);\n}\nconst c = {\n type: [s],\n json: {\n origins: {\n \"web-scene\": {\n write: !1,\n read: !1\n }\n },\n name: \"layerDefinition.orderBy\",\n read: {\n reader: i\n },\n write: {\n writer: n\n }\n }\n },\n p = o => {\n let s = class extends o {\n constructor() {\n super(...arguments), this.orderBy = null;\n }\n };\n return r([e(c)], s.prototype, \"orderBy\", void 0), s = r([t(\"esri.layers.mixins.OrderedLayer\")], s), s;\n };\nexport { p as OrderedLayer, c as orderByProperty };"],"mappings":"mMAYA,SAASA,EAAEC,EAAGC,EAAGC,EAAG,CAClB,GAAI,CAACF,EAAG,OAAO,KACf,IAAMG,EAAIH,EAAE,KAAKA,GAAK,CAAC,CAACA,EAAE,KAAK,EAC/B,GAAI,CAACG,EAAG,OAAO,KACf,IAAMJ,EAAI,IAAI,EACd,OAAOA,EAAE,KAAKI,EAAGD,CAAC,EAAG,CAACH,CAAC,CACzB,CACA,SAASK,EAAEJ,EAAGE,EAAGC,EAAGE,EAAG,CACrB,IAAMN,EAAIC,EAAE,KAAKA,GAAK,CAAC,CAACA,EAAE,KAAK,EAC/BD,GAAKG,EAAEC,EAAG,CAACJ,EAAE,OAAO,CAAC,EAAGG,CAAC,CAC3B,CACA,IAAMI,EAAI,CACN,KAAM,CAAC,CAAC,EACR,KAAM,CACJ,QAAS,CACP,YAAa,CACX,MAAO,GACP,KAAM,EACR,CACF,EACA,KAAM,0BACN,KAAM,CACJ,OAAQP,CACV,EACA,MAAO,CACL,OAAQK,CACV,CACF,CACF,EACAG,EAAIN,GAAK,CACP,IAAII,EAAI,cAAcJ,CAAE,CACtB,aAAc,CACZ,MAAM,GAAG,SAAS,EAAG,KAAK,QAAU,IACtC,CACF,EACA,OAAOD,EAAE,CAACQ,EAAEF,CAAC,CAAC,EAAGD,EAAE,UAAW,UAAW,MAAM,EAAGA,EAAIL,EAAE,CAACS,EAAE,iCAAiC,CAAC,EAAGJ,CAAC,EAAGA,CACtG","names":["i","r","o","e","t","n","s","c","p","m","a"],"x_google_ignoreList":[0]}