code: function paramParser(rawParams) {
      if (rawParams === void 0) { rawParams = ''; }
      var /** @type {?} */ map = new Map();
      if (rawParams.length > 0) {
          var /** @type {?} */ params = rawParams.split('&');
          params.forEach(function (param) {
              var /** @type {?} */ eqIdx = param.indexOf('=');
              var _a = eqIdx == -1 ? [param, ''] : [param.slice(0, eqIdx), param.slice(eqIdx + 1)], key = _a[0], val = _a[1];
              var /** @type {?} */ list = map.get(key) || [];
              list.push(val);
              map.set(key, list);
          });
      }
      return map;
  }
docs: @license
  Copyright Google Inc. All Rights Reserved.
  
  Use of this source code is governed by an MIT-style license that can be
  found in the LICENSE file at https://angular.io/license
  @param {?=} rawParams
  @return {?}