"use strict";var e={topSection_r:{type:"Body",name:"Head"},middleSection_r:{type:"Body",name:"Torso"},bottomSection_r:{type:"Body",name:"Pelvis"},eyeSubRootBn_r:{type:"Eye",name:"Rotate"},eyeSubRootBn_t:{type:"Eye",name:"Translate"},eyeSubRootBn_t_2:{type:"Eye",name:"Translate"},vertexJoint1_t:{type:"Eye"},vertexJoint1_t_2:{type:"Eye"},vertexJoint2_t:{type:"Eye"},vertexJoint2_t_2:{type:"Eye"},vertexJoint3_t:{type:"Eye"},vertexJoint3_t_2:{type:"Eye"},vertexJoint4_t:{type:"Eye"},"vertexJoint4_t_2`":{type:"Eye"},vertexJoint5_t:{type:"Eye"},vertexJoint5_t_2:{type:"Eye"},vertexJoint6_t:{type:"Eye"},vertexJoint6_t_2:{type:"Eye"},vertexJoint7_t:{type:"Eye"},vertexJoint7_t_2:{type:"Eye"},vertexJoint8_t:{type:"Eye"},vertexJoint8_t_2:{type:"Eye"},vertexJoint9_t:{type:"Eye"},vertexJoint9_t_2:{type:"Eye"},eyeTextureInfixBn_r:{type:"Eye Texture"},eye_redChannelBn_r:{type:"Eye Texture"},eye_greenChannelBn_r:{type:"Eye Texture"},eye_blueChannelBn_r:{type:"Eye Texture"},overlay_textureSubRootBn_r:{type:"Overlay",name:"Rotate"},overlay_textureSubRootBn_t:{type:"Overlay",name:"Translate"},overlay_textureSubRootBn_t_2:{type:"Overlay",name:"Translate"},overlay_vertexJoint1_t:{type:"Overlay"},overlay_vertexJoint1_t_2:{type:"Overlay"},overlay_vertexJoint2_t:{type:"Overlay"},overlay_vertexJoint2_t_2:{type:"Overlay"},overlay_vertexJoint3_t:{type:"Overlay"},overlay_vertexJoint3_t_2:{type:"Overlay"},overlay_vertexJoint4_t:{type:"Overlay"},overlay_vertexJoint4_t_2:{type:"Overlay"},overlay_vertexJoint5_t:{type:"Overlay"},overlay_vertexJoint5_t_2:{type:"Overlay"},overlay_vertexJoint6_t:{type:"Overlay"},overlay_vertexJoint6_t_2:{type:"Overlay"},overlay_vertexJoint7_t:{type:"Overlay"},overlay_vertexJoint7_t_2:{type:"Overlay"},overlay_vertexJoint8_t:{type:"Overlay"},overlay_vertexJoint8_t_2:{type:"Overlay"},overlay_vertexJoint9_t:{type:"Overlay"},overlay_vertexJoint9_t_2:{type:"Overlay"},overlayTextureInfixBn_r:{type:"Overlay Texture"},overlay_redChannelBn_r:{type:"Overlay Texture"},overlay_greenChannelBn_r:{type:"Overlay Texture"},overlay_blueChannelBn_r:{type:"Overlay Texture"},screenBGTextureInfixBn_r:{type:"Background Texture"},screenBG_redChannelBn_r:{type:"Background Texture"},screenBG_greenChannelBn_r:{type:"Background Texture"},screenBG_blueChannelBn_r:{type:"Background Texture"},lightring_redChannelBn_r:{type:"LED"},lightring_greenChannelBn_r:{type:"LED"},lightring_blueChannelBn_r:{type:"LED"}},t={dofNameToDisplayType:function(t){return e[t].type},dofNameToDisplayName:function(r){var n=e[r].name;return void 0!==n?n:t.dofNameToDisplayType(r)},displayNameToDof:function(t){for(var r in e)if(e[r].name===t)return r},radiansToDegrees:function(e){return e/Math.PI*180},degreesToRadians:function(e){return e/180*Math.PI},framesToSeconds:function(e,t){return e/t},secondsToFrames:function(e,t,r){return Math.round(e/t*r)},toTextureURL:function(e,t){return this.baseTextureURL+this.getPaddedValueString(t)+".png"},toBGTextureURL:function(e,t){return this.baseBGURL+this.getPaddedValueString(t)+".png"}};module.exports=t;