chunk-6A4U74YA.js 344 B

12345678910111213141516171819
  1. import {
  2. s
  3. } from "./chunk-IHXECKQQ.js";
  4. // node_modules/@arcgis/core/webdoc/support/opacityUtils.js
  5. function n(n2) {
  6. const r2 = s(100 * (1 - n2));
  7. return Math.max(0, Math.min(r2, 100));
  8. }
  9. function r(t) {
  10. const n2 = 1 - t / 100;
  11. return Math.max(0, Math.min(n2, 1));
  12. }
  13. export {
  14. n,
  15. r
  16. };
  17. //# sourceMappingURL=chunk-6A4U74YA.js.map