define(["exports","./Check-3aa71481","./when-515d5295","./Math-5e38123d"],(function(t,e,n,r){"use strict";function a(t,e,r,a){this.x=n.e(t,0),this.y=n.e(e,0),this.z=n.e(r,0),this.w=n.e(a,0)}a.fromElements=function(t,e,r,o,u){return n.t(u)?(u.x=t,u.y=e,u.z=r,u.w=o,u):new a(t,e,r,o)},a.fromColor=function(t,r){return e.n.typeOf.object("color",t),n.t(r)?(r.x=t.red,r.y=t.green,r.z=t.blue,r.w=t.alpha,r):new a(t.red,t.green,t.blue,t.alpha)},a.clone=function(t,e){if(n.t(t))return n.t(e)?(e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e):new a(t.x,t.y,t.z,t.w)},a.packedLength=4,a.pack=function(t,r,a){return e.n.typeOf.object("value",t),e.n.defined("array",r),a=n.e(a,0),r[a++]=t.x,r[a++]=t.y,r[a++]=t.z,r[a]=t.w,r},a.unpack=function(t,r,o){return e.n.defined("array",t),r=n.e(r,0),n.t(o)||(o=new a),o.x=t[r++],o.y=t[r++],o.z=t[r++],o.w=t[r],o},a.packArray=function(t,r){e.n.defined("array",t);var o=t.length,u=4*o;if(n.t(r)){if(!Array.isArray(r)&&r.length!==u)throw new e.t("If result is a typed array, it must have exactly array.length * 4 elements");r.length!==u&&(r.length=u)}else r=new Array(u);for(var y=0;y=38)return a<0?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY;var o=a*t.x*.00390625;return o+=a*t.y*152587890625e-16,(o+=a*t.z*5.960464477539063e-8)*Math.pow(10,r)},t.a=a}));