export const INSTRUCTION_VARIANT = { ESC : 'esc' , OSX : 'osx' , DEB : 'deb' , RPM : 'rpm' , DOCKER : 'docker' , WINDOWS : 'windows' , NODE : 'node' , DJANGO : 'django' , FLASK : 'flask' , RAILS : 'rails' , RACK : 'rack' , JS : 'js' , GO : 'go' , JAVA : 'java' , DOTNET : 'dotnet' , LINUX : 'linux' , } ; const DISPLAY_MAP = { [ INSTRUCTION_VARIANT . ESC ] : 'Elastic Cloud' , [ INSTRUCTION_VARIANT . OSX ] : 'macOS' , [ INSTRUCTION_VARIANT . DEB ] : 'DEB' , [ INSTRUCTION_VARIANT . RPM ] : 'RPM' , [ INSTRUCTION_VARIANT . DOCKER ] : 'Docker' , [ INSTRUCTION_VARIANT . WINDOWS ] : 'Windows' , [ INSTRUCTION_VARIANT . NODE ] : 'Node.js' , [ INSTRUCTION_VARIANT . DJANGO ] : 'Django' , [ INSTRUCTION_VARIANT . FLASK ] : 'Flask' , [ INSTRUCTION_VARIANT . RAILS ] : 'Ruby on Rails' , [ INSTRUCTION_VARIANT . RACK ] : 'Rack' , [ INSTRUCTION_VARIANT . JS ] : 'RUM (JS)' , [ INSTRUCTION_VARIANT . GO ] : 'Go' , [ INSTRUCTION_VARIANT . JAVA ] : 'Java' , [ INSTRUCTION_VARIANT . DOTNET ] : '.NET' , [ INSTRUCTION_VARIANT . LINUX ] : 'Linux' , } ; params return { String } export function getDisplayText ( id ) { if ( id in DISPLAY_MAP ) { return DISPLAY_MAP [ id ] ; } return id ; }