UNPKG

656 BJavaScriptView Raw
1/*! For license information please see 732.min.js.LICENSE.txt */
2(this.webpackChunk_tsparticles_fireworks=this.webpackChunk_tsparticles_fireworks||[]).push([[732],{6732:(o,e,i)=>{i.d(e,{ColorUpdater:()=>n});var t=i(5540);class n{constructor(o){this.container=o}init(o){const e=(0,t.R5)(o.options.color,o.id,o.options.reduceDuplicates);e&&(o.color=(0,t.pz)(e,o.options.color.animation,this.container.retina.reduceFactor))}isEnabled(o){const{h:e,s:i,l:t}=o.options.color.animation,{color:n}=o;return!o.destroyed&&!o.spawning&&(void 0!==n?.h.value&&e.enable||void 0!==n?.s.value&&i.enable||void 0!==n?.l.value&&t.enable)}update(o,e){(0,t.Jv)(o.color,e)}}}}]);
\No newline at end of file