hunk.code_window:   | 'theme'
     | 'tabs'
     | 'showUserPreferences'
     | 'allowedNotificationActions'
   > & {
     popover?: {
       offset?: IPopoverNotificationCenterProps['offset'];
       position?: IPopoverNotificationCenterProps['position'];
     };
   };
   type PopoverProps = SelectedPopoverProps & {
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:   popoverConfig?: {
  
hunk.file_path: packages/notification-center/src/components/notification-center-web-component/notification-center-component.types.ts
hunk.type: replace
file: import {
    AUTH_INVITATION_TOKEN_TYPE,
    AUTH_RESET_TOKEN_TYPE,
    TEMPLATES_EDIT_TEMPLATEID_TYPE,
  } from '../constants/routeParams';
  
  type URLParams = AUTH_INVITATION_TOKEN_TYPE | AUTH_RESET_TOKEN_TYPE | TEMPLATES_EDIT_TEMPLATEID_TYPE;
  
  const escapeRegExp = (string: string) => string.replace(/[.*+\-?^${}()|[\]\\]/g, '\\$&');
  
  export const parseUrl = (urlToParse: string, params: URLParams) => {
    return Object.keys(params).reduce((url, name) => {
      const value = params[name];
  
      return url.replace(new RegExp(`:${escapeRegExp(name)}`, 'g'), encodeURIComponent(String(value)));
    }, urlToParse);
  };
  