text: !function(){var e,t;e=this,t=function(e,t){"use strict";const o={};e.ColorConverter=class{static setHSV(e,o,r,s){return o=t.MathUtils.euclideanModulo(o,1),r=t.MathUtils.clamp(r,0,1),s=t.MathUtils.clamp(s,0,1),e.setHSL(o,r*s/((o=(2-r)*s)<1?o:2-o),.5*o)}static getHSV(e,t){return void 0===t&&(console.warn("THREE.ColorConverter: .getHSV() target is now required"),t={h:0,s:0,l:0}),e.getHSL(o),o.s*=o.l<.5?o.l:1-o.l,t.h=o.h,t.s=2*o.s/(o.l+o.s),t.v=o.l+o.s,t}static setCMYK(e,t,o,r,s){const n=(1-t)*(1-s),i=(1-o)*(1-s),l=(1-r)*(1-s);return e.setRGB(n,i,l)}static getCMYK(e,t){void 0===t&&(console.warn("THREE.ColorConverter: .getCMYK() target is now required"),t={c:0,m:0,y:0,k:0});const o=e.r,r=e.g,s=e.b,n=1-Math.max(o,r,s),i=(1-o-n)/(1-n),l=(1-r-n)/(1-n),a=(1-s-n)/(1-n);return t.c=i,t.m=l,t.y=a,t.k=n,t}},Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("three")):"function"==typeof define&&define.amd?define(["exports","three"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).THREE=e["THREE-STD"]||{},e.THREE)}();
  