/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
import{f as t,i as a}from"./YM4U4HSN.js";function c(e,r){let n=e?.fields,s=n&&n.map(o=>o.name);return r?s&&s.includes(r):!0}function u(e){return Array.from(e).map(r=>r[1]).every(r=>!!r?.nestedInfos)}function f(e){return!!e?.legendElements?.[0]?.infos?.every?.(r=>a(r))}function m(e){return Array.isArray(e)?e.every(r=>!r.selected):e&&Array.from(e.categories.entries()).every(r=>!r[1].selected)&&e.queryExpressions[0]!=="1=0"}function l(e){return t(e?.legendElements?.[1])}export{c as a,u as b,f as c,m as d,l as e};
