1234567891011121314151617181920212223242526 |
- import {
- b
- } from "./chunk-2ZSOO377.js";
- import {
- t5 as t
- } from "./chunk-2Z2TG5CU.js";
- import {
- f
- } from "./chunk-V6P2MAQQ.js";
- // node_modules/@arcgis/core/renderers/support/styleUtils.js
- async function t2(t3, i, n) {
- const s = t3 && t3.getAtOrigin && t3.getAtOrigin("renderer", i.origin);
- if (s && "unique-value" === s.type && s.styleOrigin) {
- const a = await b(s.populateFromStyle());
- if (f(n), false === a.ok) {
- const e = a.error;
- i && i.messages && i.messages.push(new t("renderer:style-reference", `Failed to create unique value renderer from style reference: ${e.message}`, { error: e, context: i })), t3.clear("renderer", i == null ? void 0 : i.origin);
- }
- }
- }
- export {
- t2 as t
- };
- //# sourceMappingURL=chunk-5GYJGY4C.js.map
|