content: 'File containing utilities methods which are to be used throughout the Channel
  
  
  'Method for loader to start
  sub loadingStart()
      if m.loadingIndicator<>invalid
          m.loadingIndicator.control = "start"
          m.loadingIndicator.visible = true
      end if
  end sub
  
  'method to generate md5 hash for urls
  function makemdfive(urltosign as string) as string
      ba=createobject("robytearray")
      dg=createobject("roevpDigest")
      dg.setup("md5")
      ba.fromasciistring(urltosign)
      result=dg.process(ba)
      return result
  end function
  
  
  'Method for loader to stop
  sub loadingStop()
      if m.loadingIndicator<>invalid
      m.loadingIndicator.control = "stop"
      m.loadingIndicator.visible = false
      end if
  end sub
  
  'Function to get remote events
  function getRemoteEvents()
      remoteEvents = {
          "back": "back",
          "up": "up",
          "down": "down",
          "right": "right",
          "left": "left",
          "ok": "ok"
      }
      return remoteEvents
  end function
  
  
  'Function to get the supported Fonts
  function fonts() as object
      m = {
          SUPPORTED_FONT_DATA: {
              "light": "Poppins-Light.ttf",
              "regular": "Poppins-Regular.ttf",
              "semiBold": "Poppins-SemiBold.ttf",
              "bold": "Poppins-Bold.ttf",
              "medium": "Poppins-Medium.ttf"
          }
  
          getFontLight: function(size) as dynamic
              font = CreateObject("roSGNode", "Font")
              font.uri = "pkg://fonts/"+m.SUPPORTED_FONT_DATA["light"]
              font.size = size
              return font
          end function
  
          getFontRegular: function(size) as dynamic
              font = CreateObject("roSGNode", "Font")
              font.uri = "pkg://fonts/"+m.SUPPORTED_FONT_DATA["regular"]
              font.size = size
              return font
          end function
  
          getFontSemiBold: function(size) as dynamic
              font = CreateObject("roSGNode", "Font")
              font.uri = "pkg://fonts/"+m.SUPPORTED_FONT_DATA["medium"]
              font.size = size
              return font
          end function
  
          getFontBold: function(size) as dynamic
              font = CreateObject("roSGNode", "Font")
              font.uri = "pkg://fonts/"+m.SUPPORTED_FONT_DATA["bold"]
              font.size = size
              return font
          end function
  
          getFontMedium: function(size) as dynamic
              font = CreateObject("roSGNode", "Font")
              font.uri = "pkg://fonts/"+m.SUPPORTED_FONT_DATA["medium"]
              font.size = size
              return font
          end function
  
      }
  
      return m
  end function
  
  
  'Function to get the color codes
  function getColors()
      colors = {
          "black": "#151515",
      }
      return colors
  end function