/**
 * AI Configuration tab icons — provider brand tiles and notice glyphs. Ported from testimonial-pro.
 */

export const AnthropicIcon = () => (
	<svg
		aria-hidden="true"
		width={48}
		height={48}
		viewBox="0 0 48 48"
		fill="none"
		xmlns="http://www.w3.org/2000/svg"
	>
		<rect width={48} height={48} rx={6} fill="#fff" />
		<rect
			x={0.5}
			y={0.5}
			width={47}
			height={47}
			rx={5.5}
			stroke="#1e1e1e"
			strokeOpacity={0.15}
		/>
		<g clipPath="url(#sptpAnthropicIcon-ClaudeIntegrationIcona)">
			<path
				d="m15.488 28.62 5.516-3.08.084-.28-.084-.14h-.28l-.924-.056-3.136-.084-2.744-.14-2.66-.14-.672-.14-.588-.84.056-.42.56-.364.812.056 1.764.14 2.66.168 1.932.112 2.856.336h.448l.056-.196-.14-.112-.112-.112-2.772-1.848-2.968-1.96-1.568-1.148-.84-.56-.42-.56-.168-1.176.756-.84 1.036.084.252.056 1.036.812 2.24 1.708 2.884 2.184.42.336.168-.112.028-.084-.196-.308L19.24 17l-1.68-2.912-.756-1.204-.196-.728a2.9 2.9 0 0 1-.112-.84l.84-1.176.504-.14 1.176.168.448.392.728 1.68 1.148 2.604 1.82 3.528.56 1.064.28.952.084.28h.196v-.14l.14-2.016.28-2.436.28-3.136.084-.896.448-1.064.84-.56.728.308.56.812-.084.504-.308 2.156-.728 3.388-.42 2.296h.252l.28-.308 1.148-1.512 1.932-2.408.84-.98 1.008-1.036.644-.504h1.204l.868 1.316-.392 1.372-1.232 1.568-1.036 1.316-1.484 1.988-.896 1.596.084.112h.196l3.36-.728 1.792-.308 2.128-.364.98.448.112.448-.392.952-2.296.56-2.688.56-4.004.924-.056.028.056.084 1.792.168.784.056h1.904l3.528.28.924.56.532.756-.084.56-1.428.728-1.904-.448-4.48-1.064-1.512-.364h-.224v.112l1.288 1.26 2.324 2.1 2.968 2.716.14.672-.364.56-.392-.056-2.576-1.96-1.008-.84-2.24-1.904h-.14v.196l.504.756 2.744 4.116.14 1.26-.196.392-.728.28-.756-.168-1.624-2.24-1.68-2.52-1.316-2.296-.14.112-.812 8.456-.364.42-.84.336-.7-.56-.392-.84.392-1.736.448-2.24.364-1.792.336-2.212.196-.728v-.056h-.196l-1.68 2.324-2.52 3.444-2.016 2.128-.476.196-.84-.42.084-.784.448-.644 2.8-3.584 1.68-2.212 1.12-1.288-.028-.14h-.084l-7.392 4.816-1.316.168-.56-.56.056-.84.28-.28 2.24-1.54z"
				fill="#d97757"
			/>
		</g>
		<defs>
			<clipPath id="sptpAnthropicIcon-ClaudeIntegrationIcona">
				<path fill="#fff" d="M10 10h28v28H10z" />
			</clipPath>
		</defs>
	</svg>
);

export const GeminiIcon = () => (
	<svg
		aria-hidden="true"
		width={44}
		height={44}
		viewBox="0 0 44 44"
		fill="none"
		xmlns="http://www.w3.org/2000/svg"
	>
		<rect width={44} height={44} rx={6} fill="#fff" />
		<rect
			x={0.5}
			y={0.5}
			width={43}
			height={43}
			rx={5.5}
			stroke="#1e1e1e"
			strokeOpacity={0.15}
		/>
		<g clipPath="url(#sptpGeminiIcon-GeminiIcona)">
			<mask
				id="sptpGeminiIcon-c"
				style={{
					maskType: 'alpha',
				}}
				maskUnits="userSpaceOnUse"
				x={8}
				y={8}
				width={28}
				height={28}
			>
				<path
					d="M21.977 8.5c.293 0 .549.193.62.467.219.839.506 1.66.861 2.453a17.3 17.3 0 0 0 3.814 5.452q2.424 2.337 5.654 3.678 1.237.514 2.544.83a.62.62 0 0 1 .484.598c0 .282-.2.529-.484.598q-1.306.316-2.544.83-3.23 1.341-5.654 3.678a17.3 17.3 0 0 0-3.814 5.452 16 16 0 0 0-.861 2.453.6.6 0 0 1-.227.336.66.66 0 0 1-.393.131.635.635 0 0 1-.62-.467 16 16 0 0 0-.86-2.453 17.3 17.3 0 0 0-3.815-5.452q-2.423-2.336-5.654-3.678a17 17 0 0 0-2.543-.83.64.64 0 0 1-.349-.219.6.6 0 0 1-.136-.379c0-.282.2-.528.485-.597q1.307-.317 2.543-.83 3.232-1.341 5.654-3.678a17.3 17.3 0 0 0 3.815-5.452q.532-1.194.86-2.453a.6.6 0 0 1 .227-.337.66.66 0 0 1 .393-.131"
					fill="#000"
				/>
				<path
					d="M21.977 8.5c.293 0 .549.193.62.467.219.839.506 1.66.861 2.453a17.3 17.3 0 0 0 3.814 5.452q2.424 2.337 5.654 3.678 1.237.514 2.544.83a.62.62 0 0 1 .484.598c0 .282-.2.529-.484.598q-1.306.316-2.544.83-3.23 1.341-5.654 3.678a17.3 17.3 0 0 0-3.814 5.452 16 16 0 0 0-.861 2.453.6.6 0 0 1-.227.336.66.66 0 0 1-.393.131.635.635 0 0 1-.62-.467 16 16 0 0 0-.86-2.453 17.3 17.3 0 0 0-3.815-5.452q-2.423-2.336-5.654-3.678a17 17 0 0 0-2.543-.83.64.64 0 0 1-.349-.219.6.6 0 0 1-.136-.379c0-.282.2-.528.485-.597q1.307-.317 2.543-.83 3.232-1.341 5.654-3.678a17.3 17.3 0 0 0 3.815-5.452q.532-1.194.86-2.453a.6.6 0 0 1 .227-.337.66.66 0 0 1 .393-.131"
					fill="url(#sptpGeminiIcon-b)"
				/>
			</mask>
			<g mask="url(#sptpGeminiIcon-c)">
				<g filter="url(#sptpGeminiIcon-d)">
					<path
						d="M5.476 29.574c3.23 1.106 6.942-.968 8.292-4.632s-.175-7.532-3.405-8.638-6.942.968-8.293 4.632c-1.349 3.665.176 7.532 3.406 8.638"
						fill="#ffe432"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-e)">
					<path
						d="M19.817 17.493c4.437 0 8.034-3.546 8.034-7.918 0-4.374-3.597-7.919-8.034-7.919s-8.035 3.546-8.035 7.919 3.597 7.918 8.035 7.918"
						fill="#fc413d"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-f)">
					<path
						d="M16.695 42.814c4.632-.218 8.149-5.086 7.855-10.872-.292-5.787-4.286-10.3-8.918-10.082s-8.149 5.086-7.856 10.872c.294 5.787 4.287 10.3 8.919 10.082"
						fill="#00b95c"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-g)">
					<path
						d="M16.695 42.814c4.632-.218 8.149-5.086 7.855-10.872-.292-5.787-4.286-10.3-8.918-10.082s-8.149 5.086-7.856 10.872c.294 5.787 4.287 10.3 8.919 10.082"
						fill="#00b95c"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-h)">
					<path
						d="M21.334 39.314c3.883-2.279 4.922-7.467 2.321-11.59-2.6-4.122-7.857-5.617-11.74-3.34-3.884 2.28-4.923 7.468-2.322 11.59 2.601 4.123 7.858 5.618 11.741 3.34"
						fill="#00b95c"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-i)">
					<path
						d="M37.03 26.359c4.364 0 7.903-3.286 7.903-7.339 0-4.052-3.539-7.338-7.903-7.338-4.365 0-7.903 3.286-7.903 7.338 0 4.053 3.538 7.339 7.903 7.339"
						fill="#3186ff"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-j)">
					<path
						d="M2.372 25.508c4.019 2.946 9.89 2.022 13.113-2.066 3.224-4.087 2.58-9.79-1.44-12.737S4.155 8.682.932 12.77c-3.224 4.088-2.579 9.79 1.44 12.738"
						fill="#fbbc04"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-k)">
					<path
						d="M22.965 29.863c4.796 3.18 11.155 2.295 14.201-1.979 3.047-4.273 1.628-10.314-3.17-13.495-4.796-3.18-11.154-2.294-14.201 1.979s-1.628 10.315 3.17 13.495"
						fill="#3186ff"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-l)">
					<path
						d="M31.685 7.53c1.22 1.6-.348 4.71-3.502 6.948-3.155 2.237-6.702 2.754-7.922 1.155-1.22-1.6.348-4.712 3.502-6.949s6.702-2.754 7.922-1.155"
						fill="#749bff"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-m)">
					<path
						d="M21.667 15.19c4.879-4.365 6.553-10.273 3.74-13.197C22.594-.932 16.358.235 11.48 4.599 6.6 8.963 4.926 14.87 7.74 17.796c2.812 2.924 9.048 1.757 13.927-2.607"
						fill="#fc413d"
					/>
				</g>
				<g filter="url(#sptpGeminiIcon-n)">
					<path
						d="M11.666 30.863c2.9 2.002 6.229 2.306 7.436.68s-.166-4.567-3.066-6.568-6.229-2.306-7.435-.68c-1.207 1.627.165 4.567 3.065 6.568"
						fill="#ffee48"
					/>
				</g>
			</g>
		</g>
		<defs>
			<filter
				id="sptpGeminiIcon-d"
				x={-3.341}
				y={11.087}
				width={22.52}
				height={23.705}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={2.46} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-e"
				x={-12}
				y={-22.125}
				width={63.633}
				height={63.4}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={11.891} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-f"
				x={-12.459}
				y={1.634}
				width={57.244}
				height={61.405}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={10.109} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-g"
				x={-12.459}
				y={1.634}
				width={57.244}
				height={61.405}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={10.109} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-h"
				x={-12.058}
				y={3.101}
				width={57.364}
				height={57.496}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={10.109} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-i"
				x={9.915}
				y={-7.53}
				width={54.23}
				height={53.101}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={9.606} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-j"
				x={-18.532}
				y={-8.431}
				width={53.481}
				height={53.074}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={8.706} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-k"
				x={2.64}
				y={-3.069}
				width={51.681}
				height={50.391}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={7.775} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-l"
				x={5.933}
				y={-7.314}
				width={40.081}
				height={37.79}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={6.957} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-m"
				x={-5.378}
				y={-11.371}
				width={43.902}
				height={42.529}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={5.876} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<filter
				id="sptpGeminiIcon-n"
				x={-6.383}
				y={8.704}
				width={40.469}
				height={38.43}
				filterUnits="userSpaceOnUse"
				colorInterpolationFilters="sRGB"
			>
				<feFlood floodOpacity={0} result="BackgroundImageFix" />
				<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
				<feGaussianBlur stdDeviation={7.273} result="effect1_foregroundBlur_12983_8187" />
			</filter>
			<linearGradient
				id="sptpGeminiIcon-b"
				x1={15.946}
				y1={26.536}
				x2={30.025}
				y2={14.228}
				gradientUnits="userSpaceOnUse"
			>
				<stop stopColor="#4893fc" />
				<stop offset={0.27} stopColor="#4893fc" />
				<stop offset={0.777} stopColor="#969dff" />
				<stop offset={1} stopColor="#bd99fe" />
			</linearGradient>
			<clipPath id="sptpGeminiIcon-GeminiIcona">
				<path fill="#fff" d="M8 8.5h28v27H8z" />
			</clipPath>
		</defs>
	</svg>
);

export const OpenAIIcon = () => (
	<svg
		aria-hidden="true"
		width={44}
		height={44}
		viewBox="0 0 44 44"
		fill="none"
		xmlns="http://www.w3.org/2000/svg"
	>
		<rect width={44} height={44} rx={6} fill="#fff" />
		<rect
			x={0.5}
			y={0.5}
			width={43}
			height={43}
			rx={5.5}
			stroke="#1e1e1e"
			strokeOpacity={0.15}
		/>
		<g transform="translate(10 10) scale(0.09375)">
			<path
				fill="#000"
				d="M239.06 106.2a63.9 63.9 0 0 0-5.5-52.5 64.66 64.66 0 0 0-69.62-31 63.92 63.92 0 0 0-48.24-21.5 64.66 64.66 0 0 0-61.66 44.76 63.94 63.94 0 0 0-42.74 31 64.67 64.67 0 0 0 7.95 75.81 63.9 63.9 0 0 0 5.5 52.5 64.66 64.66 0 0 0 69.63 31 63.9 63.9 0 0 0 48.23 21.5 64.66 64.66 0 0 0 61.69-44.8 63.94 63.94 0 0 0 42.74-31 64.67 64.67 0 0 0-7.98-75.77Zm-96.02 134.28a47.93 47.93 0 0 1-30.79-11.13c.39-.21 1.07-.58 1.51-.85l51.1-29.51a8.31 8.31 0 0 0 4.2-7.28v-72.05l21.6 12.47a.77.77 0 0 1 .42.59v59.65a48.13 48.13 0 0 1-48.04 48.11ZM36.7 196.3a47.9 47.9 0 0 1-5.73-32.2c.38.23 1.05.64 1.53.91l51.1 29.51a8.32 8.32 0 0 0 8.4 0l62.38-36.02v24.94a.78.78 0 0 1-.31.66l-51.66 29.82a48.13 48.13 0 0 1-65.71-17.62ZM23.25 84.32a47.9 47.9 0 0 1 25.02-21.07c0 .45-.03 1.24-.03 1.79v59.03a8.3 8.3 0 0 0 4.2 7.27l62.38 36.01-21.6 12.47a.78.78 0 0 1-.73.07l-51.66-29.85a48.13 48.13 0 0 1-17.58-65.72Zm177.42 41.29-62.38-36.02 21.6-12.46a.78.78 0 0 1 .73-.07l51.67 29.82a48.09 48.09 0 0 1-7.42 86.77v-60.82a8.3 8.3 0 0 0-4.2-7.22Zm21.5-32.36c-.38-.24-1.05-.64-1.53-.92l-51.1-29.5a8.32 8.32 0 0 0-8.4 0L98.76 98.85V73.9a.78.78 0 0 1 .31-.66l51.66-29.79a48.1 48.1 0 0 1 71.44 49.8ZM87 137.54l-21.6-12.47a.77.77 0 0 1-.42-.59V64.83a48.1 48.1 0 0 1 78.86-36.92c-.39.21-1.06.58-1.51.85l-51.1 29.51a8.31 8.31 0 0 0-4.2 7.28l-.03 72.01Zm11.73-25.3 27.79-16.05 27.8 16.04v32.09l-27.8 16.04-27.79-16.04v-32.07Z"
			/>
		</g>
	</svg>
);

export const GroqIcon = () => (
	<svg
		aria-hidden="true"
		width={44}
		height={44}
		viewBox="0 0 44 44"
		fill="none"
		xmlns="http://www.w3.org/2000/svg"
	>
		<rect width={44} height={44} rx={6} fill="#fff" />
		<rect
			x={0.5}
			y={0.5}
			width={43}
			height={43}
			rx={5.5}
			stroke="#1e1e1e"
			strokeOpacity={0.15}
		/>
		<path d="M24.5 10 14 24.2h7.2L19.5 34 30 19.8h-7.2L24.5 10z" fill="#f55036" />
	</svg>
);

export const InfoCircleIcon = () => (
	<svg
		width={14}
		height={14}
		viewBox="0 0 16 16"
		fill="none"
		xmlns="http://www.w3.org/2000/svg"
		aria-hidden="true"
	>
		<circle cx="8" cy="8" r="6.5" stroke="currentColor" strokeWidth="1.3" />
		<path d="M8 7.25v3.75" stroke="currentColor" strokeWidth="1.3" strokeLinecap="round" />
		<circle cx="8" cy="5" r="0.85" fill="currentColor" />
	</svg>
);

export const WordPressLogoIcon = () => (
	<svg
		width={18}
		height={18}
		viewBox="0 0 20 20"
		fill="currentColor"
		xmlns="http://www.w3.org/2000/svg"
		aria-hidden="true"
	>
		<path d="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z" />
	</svg>
);

export const NoticeDismissIcon = () => (
	<svg
		width={12}
		height={12}
		viewBox="0 0 12 12"
		fill="none"
		xmlns="http://www.w3.org/2000/svg"
		aria-hidden="true"
	>
		<path
			d="M2.5 2.5l7 7m0-7l-7 7"
			stroke="currentColor"
			strokeWidth="1.6"
			strokeLinecap="round"
		/>
	</svg>
);
