amis.define("e7af929",function(e,r){"use strict";function t(e){return o>e?0:d>=e?e-o:(n>e&&(e+=n-h),e>=n&&u>=e?e-n+10:0)}function a(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*t(e.charCodeAt(1))/255,green:17*t(e.charCodeAt(2))/255,blue:17*t(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*t(e.charCodeAt(1))/255,green:17*t(e.charCodeAt(2))/255,blue:17*t(e.charCodeAt(3))/255,alpha:17*t(e.charCodeAt(4))/255};case 7:return{red:(16*t(e.charCodeAt(1))+t(e.charCodeAt(2)))/255,green:(16*t(e.charCodeAt(3))+t(e.charCodeAt(4)))/255,blue:(16*t(e.charCodeAt(5))+t(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*t(e.charCodeAt(1))+t(e.charCodeAt(2)))/255,green:(16*t(e.charCodeAt(3))+t(e.charCodeAt(4)))/255,blue:(16*t(e.charCodeAt(5))+t(e.charCodeAt(6)))/255,alpha:(16*t(e.charCodeAt(7))+t(e.charCodeAt(8)))/255}}return null}function c(e,r,t,a){return void 0===a&&(a=1),{red:e/255,green:r/255,blue:t/255,alpha:a}}Object.defineProperty(r,"__esModule",{value:!0});var o=48,d=57,h=65,n=97,u=102;r.hexDigit=t,r.colorFromHex=a,r.colorFrom256RGB=c});