System.register(["./json-asset-607afd3e.js","./mesh-47a2a57d.js"],(function(e){"use strict";var i,t,n,o,s,r,a,c,h,u,p,l,d,f,m,v;return{setters:[function(e){i=e.cQ,t=e.cR,n=e.ep,o=e.eu,s=e.d6,r=e.cb,a=e.ev,c=e.l,h=e.ei,u=e.dd,p=e.eq,l=e.er,d=e.ez,f=e.cT,m=e.es},function(e){v=e.M}],execute:function(){var _,b,y,P,g,j,B,k,w;i(v.prototype,"Mesh.prototype",[{name:"renderingMesh",newName:"renderingSubMeshes"}]),t(v.prototype,"Mesh.prototype",[{name:"hasFlatBuffers"},{name:"destroyFlatBuffers"}]);var M=e("S",(_=n("cc.Skeleton"),b=o([s]),y=o([r]),_((w=function(e){function i(){for(var i,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return i=e.call.apply(e,[this].concat(n))||this,l(i,"_joints",j,d(i)),l(i,"_bindposes",B,d(i)),l(i,"_hash",k,d(i)),i._invBindposes=null,i}a(i,e);var t=i.prototype;return t.destroy=function(){var i,t;return null===(i=null===(t=c.director.root)||void 0===t?void 0:t.dataPoolManager)||void 0===i||i.releaseSkeleton(this),e.prototype.destroy.call(this)},t.validate=function(){return this.joints.length>0&&this.bindposes.length>0},h(i,[{key:"joints",get:function(){return this._joints},set:function(e){this._joints=e}},{key:"bindposes",get:function(){return this._bindposes},set:function(e){this._bindposes=e}},{key:"inverseBindposes",get:function(){if(!this._invBindposes){this._invBindposes=[];for(var e=0;e<this._bindposes.length;e++){var i=new r;r.invert(i,this._bindposes[e]),this._invBindposes.push(i)}}return this._invBindposes}},{key:"hash",get:function(){if(!this._hash){for(var e="",i=0;i<this._bindposes.length;i++){var t=this._bindposes[i];e+=t.m00.toPrecision(2)+" "+t.m01.toPrecision(2)+" "+t.m02.toPrecision(2)+" "+t.m03.toPrecision(2)+" "+t.m04.toPrecision(2)+" "+t.m05.toPrecision(2)+" "+t.m06.toPrecision(2)+" "+t.m07.toPrecision(2)+" "+t.m08.toPrecision(2)+" "+t.m09.toPrecision(2)+" "+t.m10.toPrecision(2)+" "+t.m11.toPrecision(2)+" "+t.m12.toPrecision(2)+" "+t.m13.toPrecision(2)+" "+t.m14.toPrecision(2)+" "+t.m15.toPrecision(2)+"\n"}this._hash=f(e,666)}return this._hash}}]),i}(u),j=p((g=w).prototype,"_joints",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),B=p(g.prototype,"_bindposes",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),k=p(g.prototype,"_hash",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),P=g))||P));c.Skeleton=M}}}));
