// All material copyright Esri, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.30/esri/copyright.txt for details. //>>built define("exports ../../chunks/tslib.es6 ../../core/JSONSupport ../../core/lang ../../core/Logger ../../core/accessorSupport/decorators/property ../../core/accessorSupport/decorators/cast ../../core/accessorSupport/decorators/subclass".split(" "),function(b,c,u,f,k,n,p,v){function t(a,d,g,h){const {loggerTag:e,stride:l}=d;return 0!==a.length%l?(h.error(e,`Invalid array length, expected a multiple of ${l}`),new g([])):a}function m(a,d,g,h,e){if(!a)return a;if(a instanceof d)return t(a,h,d,e);for(const l of g)if(a instanceof l)return t(new d(a),h,d,e);if(Array.isArray(a))return t(new d(a),h,d,e);g=g.map(l=>`'${l.name}'`);e.error(`Failed to set property, expected one of ${g}, but got ${a.constructor.name}`);return new d([])}function q(a,d,g){const h=Array(a.length);for(let e=0;e