<script lang="ts">
  import IconBase from '../../lib/IconBase.svelte';
  import type { IconProps } from '../../lib/types';
  
  const weights = { 'regular': `<path fill="currentColor" d="M30 15a6.006 6.006 0 0 0-6-6h-4.975c-.364-.021-6.702-.468-12.739-5.53A2 2 0 0 0 3 5v20a2 2 0 0 0 3.286 1.531c4.722-3.96 9.625-5.095 11.714-5.412v3.965a2 2 0 0 0 .89 1.666l1.375.916a2 2 0 0 0 3.047-1.166l1.472-5.545A6.01 6.01 0 0 0 30 15M5 24.99V5c5.351 4.489 10.829 5.625 13 5.905v8.185c-2.169.285-7.645 1.419-13 5.901m16.375 1v.014L20 25.089v-4.09h2.7zM24 19h-4v-8h4a4 4 0 0 1 0 8"/>`, 'thin': `<path fill="currentColor" d="M24 9.5h-4.988c-.273-.014-6.818-.423-13.047-5.646A1.5 1.5 0 0 0 3.5 5v20a1.49 1.49 0 0 0 .865 1.359 1.491 1.491 0 0 0 1.596-.212c5.308-4.453 10.845-5.407 12.535-5.6v4.535a1.5 1.5 0 0 0 .668 1.25l1.375.917a1.5 1.5 0 0 0 2.285-.875l1.561-5.887A5.5 5.5 0 0 0 24 9.5m-5.5 10.037c-1.691.17-7.5 1.078-13.177 5.844A.5.5 0 0 1 4.5 25V5a.5.5 0 0 1 .506-.5c.117.002.23.046.316.125C11 9.386 16.81 10.295 18.5 10.464zm3.359 6.588a.5.5 0 0 1-.763.295l-1.375-.916a.5.5 0 0 1-.222-.417V20.5h3.85zM24 19.5h-4.5v-9H24a4.5 4.5 0 0 1 0 9"/>`, 'light': `<path fill="currentColor" d="M29.75 15A5.757 5.757 0 0 0 24 9.25h-4.981c-.323-.018-6.763-.445-12.894-5.588A1.75 1.75 0 0 0 3.25 5v20a1.73 1.73 0 0 0 1.009 1.585 1.738 1.738 0 0 0 1.866-.248c5-4.19 10.196-5.25 12.125-5.508v4.25a1.75 1.75 0 0 0 .779 1.456l1.375.916a1.75 1.75 0 0 0 2.665-1.021l1.516-5.714A5.76 5.76 0 0 0 29.75 15M5.161 25.19a.25.25 0 0 1-.371-.056.25.25 0 0 1-.04-.134V5a.24.24 0 0 1 .144-.225.239.239 0 0 1 .264.035c5.5 4.615 11.125 5.649 13.088 5.875v8.625c-1.96.231-7.583 1.266-13.085 5.88m16.455.875a.25.25 0 0 1-.381.147l-1.375-.916a.25.25 0 0 1-.111-.209V20.75h3.275zM24 19.25h-4.25v-8.5H24a4.25 4.25 0 1 1 0 8.5"/>`, 'bold': `<path fill="currentColor" d="M30.5 15A6.507 6.507 0 0 0 24 8.5h-4.96c-.43-.026-6.575-.5-12.432-5.412A2.5 2.5 0 0 0 2.5 5v20a2.48 2.48 0 0 0 1.443 2.265 2.48 2.48 0 0 0 2.665-.351A24.1 24.1 0 0 1 17 21.809v3.275a2.5 2.5 0 0 0 1.113 2.08q.083.055.173.1l1.805.882a2.5 2.5 0 0 0 3.705-1.521l1.387-5.227A6.51 6.51 0 0 0 30.5 15m-25 8.954V6.05c4.521 3.509 9.021 4.763 11.5 5.208v7.492c-2.479.44-6.979 1.694-11.5 5.204m15.549 1.321L20 24.763V21.5h2.05zM24 18.5h-4v-7h4a3.5 3.5 0 0 1 0 7"/>`, 'fill': `<path fill="currentColor" d="M24 9h-4.975c-.364-.021-6.702-.468-12.739-5.53A2 2 0 0 0 3 5v20a2 2 0 0 0 3.286 1.531c4.722-3.96 9.625-5.095 11.714-5.412v3.965a2 2 0 0 0 .89 1.666l1.375.916a2 2 0 0 0 3.047-1.166l1.472-5.545A6 6 0 0 0 24 9m-2.625 16.986V26L20 25.084V21h2.7zM24 19h-4v-8h4a4 4 0 0 1 0 8"/>`, 'duotone': `<path fill="currentColor" d="M29 15a5 5 0 0 1-5 5h-5V10h5a5 5 0 0 1 5 5" opacity=".08"/><path fill="currentColor" d="M30 15a6.006 6.006 0 0 0-6-6h-4.975c-.364-.021-6.702-.468-12.739-5.53A2 2 0 0 0 3 5v20a2 2 0 0 0 3.286 1.531c4.722-3.96 9.625-5.095 11.714-5.412v3.965a2 2 0 0 0 .89 1.666l1.375.916a2 2 0 0 0 3.047-1.166l1.472-5.545A6.01 6.01 0 0 0 30 15M5 24.99V5c5.351 4.489 10.829 5.625 13 5.905v8.185c-2.169.285-7.645 1.419-13 5.901m16.375 1v.014L20 25.089v-4.09h2.7zM24 19h-4v-8h4a4 4 0 0 1 0 8"/>` } as const;
  const meta = { collection: 'phosphor', usageName: 'megaphone', componentName: 'Megaphone' } as const;
  const defaultViewBox = "0 0 32 32";

  let { viewBox = defaultViewBox, ...rest }: IconProps = $props();
</script>

<IconBase {meta} viewBox={viewBox} weights={weights} {...rest} />
