<script lang="ts">
  import IconBase from '../../lib/IconBase.svelte';
  import type { IconProps } from '../../lib/types';
  
  const weights = { 'regular': `<path fill="currentColor" d="M27 5H8.566a2.01 2.01 0 0 0-1.715.971l-5.708 9.514a1 1 0 0 0 0 1.03l5.708 9.514A2.01 2.01 0 0 0 8.566 27H27a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m0 20H8.566l-5.4-9 5.4-9H27zm-13.707-6.707L15.586 16l-2.293-2.293a1 1 0 1 1 1.415-1.415L17 14.587l2.293-2.293a1 1 0 0 1 1.415 1.415L18.414 16l2.294 2.293a1 1 0 0 1-1.415 1.415L17 17.414l-2.292 2.293a1 1 0 0 1-1.415-1.415"/>`, 'thin': `<path fill="currentColor" d="M27 5.5H8.566a1.51 1.51 0 0 0-1.286.729L1.57 15.743a.5.5 0 0 0 0 .515L7.28 25.77a1.51 1.51 0 0 0 1.286.729H27a1.5 1.5 0 0 0 1.5-1.5V7A1.5 1.5 0 0 0 27 5.5m.5 19.5a.5.5 0 0 1-.5.5H8.566a.5.5 0 0 1-.429-.242L2.584 16l5.553-9.257a.5.5 0 0 1 .43-.243H27a.5.5 0 0 1 .5.5zm-7.146-11.646L17.707 16l2.647 2.646a.5.5 0 0 1-.708.708L17 16.708l-2.646 2.646a.5.5 0 0 1-.708-.708L16.292 16l-2.646-2.646a.5.5 0 1 1 .708-.708L17 15.292l2.646-2.646a.5.5 0 1 1 .708.708"/>`, 'light': `<path fill="currentColor" d="M27 5.25H8.566a1.75 1.75 0 0 0-1.5.85l-5.708 9.514a.75.75 0 0 0 0 .772L7.066 25.9a1.75 1.75 0 0 0 1.5.85H27A1.75 1.75 0 0 0 28.75 25V7A1.75 1.75 0 0 0 27 5.25M27.25 25a.25.25 0 0 1-.25.25H8.566a.25.25 0 0 1-.213-.125L2.875 16l5.478-9.125a.25.25 0 0 1 .213-.125H27a.25.25 0 0 1 .25.25zm-6.72-11.47L18.06 16l2.47 2.47a.75.75 0 1 1-1.06 1.06L17 17.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L15.94 16l-2.47-2.47a.75.75 0 0 1 1.06-1.06L17 14.94l2.47-2.47a.75.75 0 0 1 1.06 1.06"/>`, 'bold': `<path fill="currentColor" d="M27 4.5H8.566a2.51 2.51 0 0 0-2.144 1.214L.714 15.229a1.5 1.5 0 0 0 0 1.542l5.708 9.515A2.51 2.51 0 0 0 8.566 27.5H27a2.5 2.5 0 0 0 2.5-2.5V7A2.5 2.5 0 0 0 27 4.5m-.5 20H8.85L3.75 16l5.1-8.5H26.5zm-13.561-6.561L14.875 16l-1.94-1.939a1.502 1.502 0 1 1 2.125-2.125L17 13.875l1.939-1.94a1.503 1.503 0 0 1 2.125 2.125L19.125 16l1.94 1.939a1.503 1.503 0 0 1-2.125 2.125L17 18.125l-1.939 1.94a1.503 1.503 0 0 1-2.125-2.125z"/>`, 'fill': `<path fill="currentColor" d="M27 5H8.566a2.02 2.02 0 0 0-1.715.971l-5.708 9.514a1 1 0 0 0 0 1.03l5.708 9.514A2.01 2.01 0 0 0 8.566 27H27a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-6.292 13.293a1 1 0 0 1-1.415 1.415L17 17.414l-2.294 2.293a1 1 0 1 1-1.413-1.415L15.586 16l-2.293-2.293a1 1 0 1 1 1.413-1.415L17 14.587l2.293-2.293a1 1 0 0 1 1.415 1.415L18.414 16z"/>`, 'duotone': `<path fill="currentColor" d="M28 7v18a1 1 0 0 1-1 1H8.566a1 1 0 0 1-.857-.485L2 16l5.709-9.515A1 1 0 0 1 8.566 6H27a1 1 0 0 1 1 1" opacity=".08"/><path fill="currentColor" d="M27 5H8.566a2.01 2.01 0 0 0-1.715.971l-5.708 9.514a1 1 0 0 0 0 1.03l5.708 9.514A2.01 2.01 0 0 0 8.566 27H27a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m0 20H8.566l-5.4-9 5.4-9H27zm-13.707-6.707L15.586 16l-2.293-2.293a1 1 0 1 1 1.415-1.415L17 14.587l2.293-2.293a1 1 0 0 1 1.415 1.415L18.414 16l2.294 2.293a1 1 0 0 1-1.415 1.415L17 17.414l-2.292 2.293a1 1 0 0 1-1.415-1.415"/>` } as const;
  const meta = { collection: 'phosphor', usageName: 'backspace', componentName: 'Backspace' } as const;
  const defaultViewBox = "0 0 32 32";

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

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