import { Icon } from '@iconify/css-solid';
import { splitProps } from 'solid-js';

const viewBox = {"width":64,"height":64};
const content = `<style>.gd8-3k1y {
  fill: #ffe62e;
  d: path("m18 11.6l1.9 1.4l-.7-2.3L21 9.3h-2.3L18 7l-.7 2.3H15l1.8 1.4l-.7 2.3z");
}

.o8vspzz {
  fill: #2a5f9e;
  d: path("M40 3.1H24C16.7 5.1 10.6 9.8 6.6 16h50.7C53.4 9.8 47.3 5.1 40 3.1");
}

.r69arxb {
  fill: #ffe62e;
  d: path("M6.6 48c3.9 6.2 10.1 10.9 17.4 12.9h16c7.3-2 13.4-6.7 17.4-12.9z");
}

.t3lfatbt {
  fill: #f42f4c;
  d: path("M40 3.1C37.5 2.4 34.8 2 32 2s-5.5.4-8 1.1v57.8c2.5.7 5.2 1.1 8 1.1s5.5-.4 8-1.1z");
}

.ufyx3qj {
  fill: #fff;
  d: path("M6.6 16C3.7 20.6 2 26.1 2 32h60c0-5.9-1.7-11.4-4.6-16z");
}

.z1z_m-b {
  fill: #699635;
  d: path("M57.4 48c2.9-4.6 4.6-10.1 4.6-16H2c0 5.9 1.7 11.4 4.6 16z");
}
</style><path class="ufyx3qj"/><path class="z1z_m-b"/><path class="r69arxb"/><path class="o8vspzz"/><path class="t3lfatbt"/><path class="gd8-3k1y"/>`;

/** @param props {{width?: string; height?: string;}} */
function Component(props) {
	const [local, others] = splitProps(props, ["width","height"]);

	return (<Icon width={local.width} height={local.height} viewBox={viewBox} content={content} fallback={"emojione:flag-for-flag-central-african-republic"} {...others} />);
}

export default Component;
