code: def _ExtractJQuery(self, jquery_raw):
      
      data_part = ''
      if not jquery_raw:
        return {}
  
      if '[' in jquery_raw:
        _, _, first_part = jquery_raw.partition('[')
        data_part, _, _ = first_part.partition(']')
      elif jquery_raw.startswith('//'):
        _, _, first_part = jquery_raw.partition('{')
        data_part = '{{{0:s}'.format(first_part)
      elif '({' in jquery_raw:
        _, _, first_part = jquery_raw.partition('(')
        data_part, _, _ = first_part.rpartition(')')
  
      if not data_part:
        return {}
  
      try:
        data_dict = json.loads(data_part)
      except ValueError:
        return {}
  
      return data_dict
docs: Extracts values from a JQuery string.
  
      Args:
        jquery_raw (str): JQuery string.
  
      Returns:
        dict[str, str]: extracted values.