/*! * pixasso - v1.0.0 - 2018-07-01 * https://github.com/howion/pixasso * * Copyright (c) 2018 howion * Licensed under the MIT license */ var pixasso={colorPickMode:Object.freeze({FirstColor:0,JointColor:1}),determineColor:function(t,e){switch(e){case this.colorPickMode.FirstColor:return[t[0],t[1],t[2]];case this.colorPickMode.JointColor:var o,r=[t[0],t[1],t[2]];for(o=4;o