1
  /   9ˆl–ß=¿J
hŠm@»pN\m•1hßÍƒtO_‹I|¥Žƒî4ÃVŸÁÒ r    9{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["declare global {\n  interface Window {\n    gapi: any;\n    wp: any;\n    jQuery: any;\n    prestoPlayerAdmin: {\n      i18n: i18nConfig;\n    };\n    prestoPlayer: {\n      debug: boolean;\n      debug_navigator: boolean;\n      ajaxurl: string;\n      nonce: string;\n      isPremium: string;\n      logged_in: boolean;\n      i18n: i18nConfig;\n    };\n  }\n}\n\nexport interface BunnyConfig extends Object {\n  hostname: string;\n  thumbnail: string;\n  preview: string;\n}\n\nexport interface i18nConfig extends Object {\n  startOver?: string;\n  upNext?: string;\n  rewatch: string;\n  emailPlaceholder?: string;\n  skip?: string;\n  emailDefaultHeadline?: string;\n  play: string;\n}\n\nexport interface ActionBarConfig extends Object {\n  enabled: boolean;\n  percentage_start: number;\n  text: string;\n  background_color: string;\n  button_type: string;\n  button_radius: string;\n  button_text?: string;\n  button_color?: string;\n  button_count?: boolean;\n  button_link?: ButtonLinkObject;\n  button_text_color?: string;\n}\n\nexport interface ButtonLinkObject extends Object {\n  id: string;\n  url: string;\n  type: string;\n  opensInNewTab: boolean;\n}\n\nexport interface PlaylistItem extends Object {\n  id: number;\n  config: PrestoConfig;\n  duration: string;\n  title: string;\n}\nexport interface PrestoConfig extends Object {\n  styles?: string;\n  type?: string;\n  preset?: presetAttributes;\n  autoplay?: boolean;\n  id?: number;\n  title?: string;\n  playerClass?: string;\n  blockAttributes?: blockAttributes;\n  chapters?: prestoChapters;\n  branding?: prestoBranding;\n  src?: string;\n  analytics?: boolean;\n  automations?: boolean;\n  provider?: string;\n  provider_video_id?: string;\n  isAdmin?: boolean;\n  save_player_position?: boolean;\n  ajaxProgress?: boolean;\n  youtube?: YoutubeConfig;\n  i18n?: i18nConfig;\n  search?: SearchBarConfig;\n  markers?: any;\n  storage?: {\n    enabled?: boolean;\n    key?: string;\n  };\n}\n\nexport interface prestoChapters extends Object {\n  [index: number]: { time: number; title: string };\n}\n\nexport interface DynamicOverlay extends Object {\n  key?: number;\n  startTime: string;\n  endTime: string;\n  text: string;\n  position: 'top-left' | 'top-right';\n  link?: {\n    url: string;\n    type?: string;\n    id?: number;\n    opensInNewTab?: boolean;\n  };\n  color: string;\n  backgroundColor: string;\n  opacity: number;\n}\n\nexport interface blockAttributes extends Object {\n  color?: string;\n  id?: number;\n  title?: string;\n  src?: string;\n  poster?: string;\n  playsInline?: boolean;\n  autoplay?: boolean;\n  mutedPreview?: {\n    enabled?: boolean;\n    captions?: boolean;\n  };\n  mutedOverlay?: MutedOverlay;\n}\n\nexport interface MutedOverlay extends Object {\n  enabled?: boolean;\n  width?: number;\n  src?: string;\n  focalPoint?: {\n    x: number;\n    y: number;\n  };\n}\n\nexport interface YoutubeConfig extends Object {\n  noCookie?: boolean; // Whether to use an alternative version of YouTube without cookies\n  channelId?: string;\n}\n\nexport interface presetAttributes extends Object {\n  id?: number;\n  lazy_load_youtube?: boolean;\n  after_video_action?: string;\n  hide_youtube?: boolean;\n  sticky_scroll?: boolean;\n  sticky_scroll_position?: string;\n  on_video_end?: string;\n  play?: boolean;\n  play_video_viewport?: boolean;\n  invert_time?: boolean;\n  skin?: string;\n  save_player_position?: boolean;\n  captions?: boolean;\n  captions_enabled?: boolean;\n  hide_logo?: boolean;\n  reset_on_end?: boolean;\n  auto_hide?: boolean;\n  show_time_elapsed?: boolean;\n  speed?: boolean;\n  background_color?: string;\n  caption_style?: string;\n  email_collection?: EmailCollection;\n  cta?: CTA;\n  watermark?: Watermark;\n  search?: Search;\n  action_bar?: ActionBarConfig;\n}\n\nexport interface Search extends Object {\n  enabled?: boolean;\n  minMatchCharLength?: 