/*! For license information please see cc2c447efc998eccbbebad7202359521.js.LICENSE.txt */ (wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/cc2c447efc998eccbbebad7202359521"],{"./src/common/bluetooth/color/lab.js":function(o,a,c){var n=c("./src/common/bluetooth/color/xyz.js");o.exports={name:"lab",min:[0,-100,-100],max:[100,100,100],channel:["lightness","a","b"],alias:["LAB","cielab"],xyz:function xyz(o){var a,c,n,t,e=o[0],b=o[1],p=o[2];return e<=8?t=(c=100*e/903.3)/100*7.787+16/116:(c=100*Math.pow((e+16)/116,3),t=Math.pow(c/100,1/3)),[a=a/95.047<=.008856?a=95.047*(b/500+t-16/116)/7.787:95.047*Math.pow(b/500+t,3),c,n=n/108.883<=.008859?n=108.883*(t-p/200-16/116)/7.787:108.883*Math.pow(t-p/200,3)]}},n.lab=function(o){var a=o[0],c=o[1],n=o[2];return c/=100,n/=108.883,a=(a/=95.047)>.008856?Math.pow(a,1/3):7.787*a+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(a-c),200*(c-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]}}}]);