/**
 * Rating icon SVG data + style pairs.
 *
 * Mirrors `BlocksHelper::get_rating_svg_icon()` (PHP). The editor (style picker +
 * card preview) renders these inline via <RatingIcon>; the frontend resolves the
 * same keys through that helper. Keep both in sync.
 */

// key → { viewBox, path }
export const RATING_ICONS = {
	"circle-empty": {
		viewBox: "0 0 16 16",
		path: "M14.7998 8C14.7998 4.24399 11.756 1.2002 8 1.2002C4.24399 1.2002 1.2002 4.24399 1.2002 8C1.2002 11.756 4.24399 14.7998 8 14.7998V16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8C16 12.4187 12.4187 16 8 16V14.7998C11.756 14.7998 14.7998 11.756 14.7998 8Z",
	},
	"circle-fill": {
		viewBox: "0 0 16 16",
		path: "M8 16C12.4187 16 16 12.4187 16 8C16 3.58125 12.4187 0 8 0C3.58125 0 0 3.58125 0 8C0 12.4187 3.58125 16 8 16Z",
	},
	"circle-star-empty-1": {
		viewBox: "0 0 16 16",
		path: "M14.7998 8C14.7998 4.24399 11.756 1.2002 8 1.2002C4.24399 1.2002 1.2002 4.24399 1.2002 8C1.2002 11.756 4.24399 14.7998 8 14.7998C11.756 14.7998 14.7998 11.756 14.7998 8ZM9.42383 6.34668L12.5 6.83008L10.2959 9.00391L10.7861 12.0371L8 10.6484L5.22949 12.0371L5.7041 9.00391L3.5 6.83008L6.5918 6.34668L8 3.59961L9.42383 6.34668ZM7.24902 7.25684L5.61426 7.51172L6.77148 8.65137L6.51758 10.2725L7.99902 9.53125L9.4873 10.2725L9.22656 8.65332L9.59375 8.29199L10.3857 7.50977L8.76855 7.25684L8.00391 5.7832L7.24902 7.25684ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8Z",
	},
	"circle-star-empty": {
		viewBox: "0 0 16 16",
		path: "M8 16C12.4187 16 16 12.4187 16 8C16 3.58125 12.4187 0 8 0C3.58125 0 0 3.58125 0 8C0 12.4187 3.58125 16 8 16ZM6.55313 6.00937L8 3.175L9.44687 6.00937L12.5906 6.50937L10.3406 8.75937L10.8375 11.9031L8 10.4594L5.1625 11.9031L5.65938 8.75937L3.40938 6.50937L6.55313 6.00937Z",
	},
	"circle-star-fill-1": {
		viewBox: "0 0 16 16",
		path: "M8 16C12.4187 16 16 12.4187 16 8C16 3.58125 12.4187 0 8 0C3.58125 0 0 3.58125 0 8C0 12.4187 3.58125 16 8 16ZM6.55313 6.00937L8 3.175L9.44687 6.00937L12.5906 6.50937L10.3406 8.75937L10.8375 11.9031L8 10.4594L5.1625 11.9031L5.65938 8.75937L3.40938 6.50937L6.55313 6.00937Z",
	},
	"circle-star-fill": {
		viewBox: "0 0 16 16",
		path: "M8 16C12.4187 16 16 12.4187 16 8C16 3.58125 12.4187 0 8 0C3.58125 0 0 3.58125 0 8C0 12.4187 3.58125 16 8 16ZM6.55313 6.00937L8 3.175L9.44687 6.00937L12.5906 6.50937L10.3406 8.75937L10.8375 11.9031L8 10.4594L5.1625 11.9031L5.65938 8.75937L3.40938 6.50937L6.55313 6.00937Z",
	},
	"face-smil-fill": {
		viewBox: "0 0 16 16",
		path: "M8 15.5C12.1426 15.5 15.5 12.1426 15.5 8C15.5 3.85742 12.1426 0.5 8 0.5C3.85742 0.5 0.5 3.85742 0.5 8C0.5 12.1426 3.85742 15.5 8 15.5ZM5.3457 9.93066C5.94336 10.751 6.91016 11.2812 8 11.2812C9.08984 11.2812 10.0566 10.751 10.6543 9.93066C10.8828 9.61719 11.3223 9.54688 11.6357 9.77539C11.9492 10.0039 12.0195 10.4434 11.791 10.7568C10.9385 11.9258 9.55859 12.6875 8 12.6875C6.44141 12.6875 5.06152 11.9258 4.20898 10.7568C3.98047 10.4434 4.05078 10.0039 4.36426 9.77539C4.67773 9.54688 5.11719 9.61719 5.3457 9.93066ZM4.71875 6.59375C4.71875 6.0752 5.1377 5.65625 5.65625 5.65625C6.1748 5.65625 6.59375 6.0752 6.59375 6.59375C6.59375 7.1123 6.1748 7.53125 5.65625 7.53125C5.1377 7.53125 4.71875 7.1123 4.71875 6.59375ZM10.3438 5.65625C10.8623 5.65625 11.2812 6.0752 11.2812 6.59375C11.2812 7.1123 10.8623 7.53125 10.3438 7.53125C9.8252 7.53125 9.40625 7.1123 9.40625 6.59375C9.40625 6.0752 9.8252 5.65625 10.3438 5.65625Z",
	},
	"face-smile-empty": {
		viewBox: "0 0 16 16",
		path: "M14.0938 8C14.0938 4.63379 11.3662 1.90625 8 1.90625C4.63379 1.90625 1.90625 4.63379 1.90625 8C1.90625 11.3662 4.63379 14.0938 8 14.0938C11.3662 14.0938 14.0938 11.3662 14.0938 8ZM0.5 8C0.5 3.85742 3.85742 0.5 8 0.5C12.1426 0.5 15.5 3.85742 15.5 8C15.5 12.1426 12.1426 15.5 8 15.5C3.85742 15.5 0.5 12.1426 0.5 8ZM5.69434 9.85742C6.13379 10.3145 6.89844 10.8125 8 10.8125C9.10156 10.8125 9.86621 10.3145 10.3057 9.85742C10.5752 9.57617 11.0205 9.56738 11.2988 9.83691C11.5771 10.1064 11.5889 10.5518 11.3193 10.8301C10.6719 11.5039 9.56152 12.2188 8 12.2188C6.43848 12.2188 5.32812 11.5039 4.68066 10.8301C4.41113 10.5488 4.41992 10.1035 4.70117 9.83691C4.98242 9.57031 5.42773 9.57617 5.69434 9.85742ZM4.71875 6.59375C4.71875 6.0752 5.1377 5.65625 5.65625 5.65625C6.1748 5.65625 6.59375 6.0752 6.59375 6.59375C6.59375 7.1123 6.1748 7.53125 5.65625 7.53125C5.1377 7.53125 4.71875 7.1123 4.71875 6.59375ZM10.3438 5.65625C10.8623 5.65625 11.2812 6.0752 11.2812 6.59375C11.2812 7.1123 10.8623 7.53125 10.3438 7.53125C9.8252 7.53125 9.40625 7.1123 9.40625 6.59375C9.40625 6.0752 9.8252 5.65625 10.3438 5.65625Z",
	},
	"flag-empty": {
		viewBox: "0 0 16 16",
		path: "M3.64325 1.89975C3.64325 1.41774 3.25383 1.02832 2.77182 1.02832C2.28981 1.02832 1.90039 1.41774 1.90039 1.89975V14.0997C1.90039 14.5818 2.28981 14.9712 2.77182 14.9712C3.25383 14.9712 3.64325 14.5818 3.64325 14.0997V10.7883L5.3507 10.2764C6.49173 9.93323 7.72262 10.0394 8.7874 10.5732C9.95021 11.156 11.3064 11.2268 12.5236 10.7693L13.534 10.3907C13.8744 10.2627 14.1004 9.93868 14.1004 9.57377V2.82837C14.1004 2.20203 13.4414 1.79354 12.8804 2.07403L12.5591 2.2347C11.3363 2.84743 9.89575 2.84743 8.6703 2.2347C7.67905 1.73908 6.53802 1.64104 5.47869 1.95966L3.64325 2.50975V1.89975Z",
	},
	"flag-fill": {
		viewBox: "0 0 16 16",
		path: "M3.64325 1.89975C3.64325 1.41774 3.25383 1.02832 2.77182 1.02832C2.28981 1.02832 1.90039 1.41774 1.90039 1.89975V14.0997C1.90039 14.5818 2.28981 14.9712 2.77182 14.9712C3.25383 14.9712 3.64325 14.5818 3.64325 14.0997V10.7883L5.3507 10.2764C6.49173 9.93323 7.72262 10.0394 8.7874 10.5732C9.95021 11.156 11.3064 11.2268 12.5236 10.7693L13.534 10.3907C13.8744 10.2627 14.1004 9.93868 14.1004 9.57377V2.82837C14.1004 2.20203 13.4414 1.79354 12.8804 2.07403L12.5591 2.2347C11.3363 2.84743 9.89575 2.84743 8.6703 2.2347C7.67905 1.73908 6.53802 1.64104 5.47869 1.95966L3.64325 2.50975V1.89975Z",
	},
	"heart-empty-1": {
		viewBox: "0 0 16 16",
		path: "M14.1994 5.44818V5.37299C14.1994 3.91114 13.0138 2.72557 11.5519 2.72557C10.702 2.72571 9.90273 3.1343 9.40637 3.82125L9.40539 3.82223L8.0001 5.76165L6.59481 3.82223L6.59383 3.82125C6.09742 3.13425 5.29732 2.72564 4.44732 2.72557C2.98543 2.72557 1.79982 3.91114 1.79982 5.37299V5.44818C1.79994 6.62841 2.57091 8.10042 3.81157 9.6073C4.86204 10.8831 6.11539 12.0239 7.08505 12.8026L7.48154 13.1141L7.4874 13.118C7.60821 13.2113 7.78463 13.2752 8.0001 13.2752V14.4754L7.83213 14.4686C7.44246 14.4393 7.06509 14.3075 6.75399 14.0672C4.70981 12.5075 0.850839 8.9247 0.611328 5.75384L0.599609 5.44818V5.37299C0.599609 3.24841 2.32268 1.52539 4.44732 1.52539L4.67779 1.53223C5.82507 1.60105 6.88904 2.18056 7.5665 3.11814L8.0001 3.71676L8.4337 3.11814C9.15629 2.11821 10.3178 1.52553 11.5519 1.52539C13.6765 1.52539 15.3996 3.24841 15.3996 5.37299V5.44818L15.3879 5.75384C15.1484 8.92476 11.2894 12.5075 9.24523 14.0672C8.8869 14.3388 8.44801 14.4753 8.0001 14.4754V13.2752C8.20751 13.2751 8.3872 13.2123 8.52061 13.1112C9.52487 12.3446 10.9883 11.0639 12.1877 9.6073C13.4284 8.10039 14.1993 6.62843 14.1994 5.44818Z",
	},
	"heart-empty": {
		viewBox: "0 0 16 16",
		path: "M7.56602 3.11813L7.99961 3.71648L8.4332 3.11813C9.15586 2.11797 10.3179 1.52539 11.5522 1.52539C13.6768 1.52539 15.3996 3.2482 15.3996 5.37281V5.44797C15.3996 8.69125 11.3556 12.4577 9.24547 14.0678C8.88703 14.3395 8.44766 14.4754 7.99961 14.4754C7.55156 14.4754 7.1093 14.3424 6.75375 14.0678C4.64359 12.4577 0.599609 8.69125 0.599609 5.44797V5.37281C0.599609 3.2482 2.32242 1.52539 4.44703 1.52539C5.68133 1.52539 6.84336 2.11797 7.56602 3.11813Z",
	},
	"heart-fill-1": {
		viewBox: "0 0 16 16",
		path: "M7.56602 3.11813L7.99961 3.71648L8.4332 3.11813C9.15586 2.11797 10.3179 1.52539 11.5522 1.52539C13.6768 1.52539 15.3996 3.2482 15.3996 5.37281V5.44797C15.3996 8.69125 11.3556 12.4577 9.24547 14.0678C8.88703 14.3395 8.44766 14.4754 7.99961 14.4754C7.55156 14.4754 7.1093 14.3424 6.75375 14.0678C4.64359 12.4577 0.599609 8.69125 0.599609 5.44797V5.37281C0.599609 3.2482 2.32242 1.52539 4.44703 1.52539C5.68133 1.52539 6.84336 2.11797 7.56602 3.11813Z",
	},
	"heart-fill": {
		viewBox: "0 0 16 16",
		path: "M7.56602 3.11813L7.99961 3.71648L8.4332 3.11813C9.15586 2.11797 10.3179 1.52539 11.5522 1.52539C13.6768 1.52539 15.3996 3.2482 15.3996 5.37281V5.44797C15.3996 8.69125 11.3556 12.4577 9.24547 14.0678C8.88703 14.3395 8.44766 14.4754 7.99961 14.4754C7.55156 14.4754 7.1093 14.3424 6.75375 14.0678C4.64359 12.4577 0.599609 8.69125 0.599609 5.44797V5.37281C0.599609 3.2482 2.32242 1.52539 4.44703 1.52539C5.68133 1.52539 6.84336 2.11797 7.56602 3.11813Z",
	},
	"hourglas-fill": {
		viewBox: "0 0 16 16",
		path: "M2.92422 0.266602C2.52245 0.266602 2.19922 0.589831 2.19922 0.991602C2.19922 1.39337 2.52245 1.7166 2.92422 1.7166H3.16589V2.29056C3.16589 3.50796 3.64922 4.67702 4.51016 5.53796L6.97214 7.99993L4.51016 10.4619C3.64922 11.3229 3.16589 12.4919 3.16589 13.7093V14.2833H2.92422C2.52245 14.2833 2.19922 14.6065 2.19922 15.0083C2.19922 15.41 2.52245 15.7333 2.92422 15.7333H13.0742C13.476 15.7333 13.7992 15.41 13.7992 15.0083C13.7992 14.6065 13.476 14.2833 13.0742 14.2833H12.8326V13.7093C12.8326 12.4919 12.3492 11.3229 11.4883 10.4619L9.0263 7.99993L11.4883 5.53796C12.3492 4.67702 12.8326 3.50796 12.8326 2.29056V1.7166H13.0742C13.476 1.7166 13.7992 1.39337 13.7992 0.991602C13.7992 0.589831 13.476 0.266602 13.0742 0.266602H2.92422Z",
	},
	"hourglas-stroke": {
		viewBox: "0 0 16 16",
		path: "M11.624 13.709C11.6239 12.8116 11.2676 11.9502 10.6338 11.3164L7.99902 8.68164L5.36426 11.3164C4.73054 11.9502 4.37411 12.8117 4.37402 13.709V14.5254H11.624V13.709ZM12.833 1.7168V2.29102L12.8271 2.51855C12.7708 3.65312 12.2953 4.73104 11.4883 5.53809L9.02637 8L11.4883 10.4619C12.3491 11.3228 12.8329 12.4917 12.833 13.709V14.2832H13.0742C13.4758 14.2832 13.7986 14.6063 13.7988 15.0078C13.7988 15.4096 13.476 15.7334 13.0742 15.7334H2.92383L2.77734 15.7188C2.44648 15.6513 2.19922 15.3592 2.19922 15.0078C2.19946 14.6064 2.52239 14.2834 2.92383 14.2832H3.16602V13.709C3.1661 12.5677 3.59102 11.4692 4.35352 10.627L4.50977 10.4619L6.97168 8L4.50977 5.53809C3.70281 4.73106 3.22821 3.65305 3.17188 2.51855L3.16602 2.29102V1.7168H2.92383L2.77734 1.70215C2.44648 1.63467 2.19922 1.34265 2.19922 0.991211C2.19943 0.589751 2.52237 0.266811 2.92383 0.266602H13.0742C13.4759 0.266602 13.7986 0.589621 13.7988 0.991211C13.7988 1.34278 13.5518 1.63481 13.2207 1.70215L13.0742 1.7168H12.833ZM11.624 1.47461H4.37402V2.29102C4.37414 3.18831 4.73053 4.0498 5.36426 4.68359L7.99902 7.31836L10.6338 4.68359C11.2676 4.04979 11.6239 3.18837 11.624 2.29102V1.47461Z",
	},
	"square-star-empty-1": {
		viewBox: "0 0 16 16",
		path: "M16 16H0V0H16V16ZM1.2002 14.7998H14.7998V1.2002H1.2002V14.7998Z",
	},
	"square-star-empty": {
		viewBox: "0 0 16 16",
		path: "M16 16H0V0H16V16ZM6.35742 6.25586L2.75 6.82812L5.32129 9.4043L4.76758 13L8 11.3545L11.25 13L10.6787 9.4043L13.25 6.82812L9.66113 6.25586L8 3L6.35742 6.25586Z",
	},
	"square-star-fill-1": {
		viewBox: "0 0 16 16",
		path: "M16 16H0V0H16V16Z",
	},
	"square-star-fill": {
		viewBox: "0 0 16 16",
		path: "M16 16H0V0H16V16ZM6.35742 6.25586L2.75 6.82812L5.32129 9.4043L4.76758 13L8 11.3545L11.25 13L10.6787 9.4043L13.25 6.82812L9.66113 6.25586L8 3L6.35742 6.25586Z",
	},
	"star-empty": {
		viewBox: "0 0 16 16",
		path: "M8 0.5L10.5306 5.38372L16 6.2424L12.0816 10.1064L12.9524 15.5L8 13.0313L3.07483 15.5L3.91837 10.1064L0 6.2424L5.4966 5.38372L8 0.5Z",
	},
	"star-fill-1": {
		viewBox: "0 0 16 16",
		path: "M7.11576 2.22646C7.48653 1.50313 8.51957 1.50086 8.89353 2.22254L10.2986 4.93417C10.445 5.21667 10.7171 5.41265 11.0314 5.462L14.0418 5.93463C14.8528 6.06195 15.1734 7.05816 14.5889 7.63455L12.4498 9.74405C12.2193 9.97128 12.1131 10.296 12.1647 10.6154L12.6427 13.5761C12.7725 14.3801 11.9382 14.9938 11.2093 14.6305L8.44821 13.2541C8.16658 13.1137 7.8353 13.1141 7.55398 13.2551L4.81185 14.6295C4.0849 14.9939 3.25012 14.3844 3.37576 13.581L3.83999 10.6128C3.88973 10.2948 3.78334 9.97224 3.55416 9.74623L1.41412 7.63587C0.829378 7.05923 1.15053 6.06258 1.96193 5.93582L4.99423 5.46212C5.31038 5.41273 5.58381 5.21502 5.72978 4.93027L7.11576 2.22646Z",
	},
	"star-fill-2": {
		viewBox: "0 0 16 16",
		path: "M8 0.5L10.5306 5.38372L16 6.2424L12.0816 10.1064L12.9524 15.5L8 13.0313L3.07483 15.5L3.91837 10.1064L0 6.2424L5.4966 5.38372L8 0.5Z",
	},
	"star-fill-3": {
		viewBox: "0 0 16 16",
		path: "M8 0.5L9.53662 4.6821C9.84025 5.50846 10.4915 6.15975 11.3179 6.46338L15.5 8L11.3179 9.53662C10.4915 9.84025 9.84025 10.4915 9.53662 11.3179L8 15.5L6.46338 11.3179C6.15975 10.4915 5.50846 9.84025 4.6821 9.53662L0.5 8L4.6821 6.46338C5.50846 6.15975 6.15975 5.50846 6.46338 4.6821L8 0.5Z",
	},
	"star-fill": {
		viewBox: "0 0 16 16",
		path: "M8 0.5L10.5306 5.38372L16 6.2424L12.0816 10.1064L12.9524 15.5L8 13.0313L3.07483 15.5L3.91837 10.1064L0 6.2424L5.4966 5.38372L8 0.5Z",
	},
	"star-stroke-1": {
		viewBox: "0 0 16 16",
		path: "M7.11601 2.22628C7.48686 1.50321 8.51938 1.50088 8.89335 2.22238L10.2986 4.93429C10.445 5.2166 10.7169 5.41221 11.031 5.46163L14.0418 5.93429C14.8527 6.06161 15.1732 7.05809 14.5887 7.63449L12.45 9.74386C12.2197 9.971 12.1134 10.2956 12.1648 10.615L12.6424 13.5759C12.7641 14.3298 12.0383 14.9166 11.3465 14.6872L11.2088 14.6306L8.44804 13.2536C8.16646 13.1134 7.83475 13.1136 7.55351 13.2546L4.81132 14.6296L4.6746 14.6862C3.9843 14.9168 3.25797 14.334 3.37577 13.5808L3.83964 10.613C3.88313 10.3349 3.80754 10.0531 3.63456 9.83566L3.55448 9.74581L1.41386 7.63546C0.829528 7.05884 1.15059 6.06312 1.96171 5.93624L4.99394 5.46163C5.27046 5.41844 5.51429 5.26205 5.66874 5.03292L5.72929 4.93038L7.11601 2.22628ZM6.79765 5.47726C6.47653 6.10372 5.87501 6.53949 5.17948 6.64816L2.53984 7.06027L4.39628 8.89132C4.9005 9.38855 5.13461 10.0989 5.02519 10.7985L4.62089 13.3816L7.0164 12.1823L7.13359 12.1277C7.68633 11.8901 8.31274 11.8894 8.86601 12.1257L8.9832 12.1804L11.3953 13.3816L10.9803 10.8064C10.8669 10.1036 11.1003 9.38922 11.6072 8.88937L13.4637 7.05831L10.8455 6.64718C10.154 6.53862 9.55524 6.10754 9.2332 5.48605L8.00566 3.11886L6.79765 5.47726Z",
	},
	"star-stroke-2": {
		viewBox: "0 0 16 16",
		path: "M9.53711 4.68164C9.84074 5.508 10.492 6.15926 11.3184 6.46289L15.5 8L11.3184 9.53711L11.165 9.59766C10.4115 9.92242 9.82176 10.5437 9.53711 11.3184L8 15.5L6.46289 11.3184C6.17824 10.5437 5.58851 9.92242 4.83496 9.59766L4.68164 9.53711L0.5 8L4.68164 6.46289C5.508 6.15926 6.15926 5.508 6.46289 4.68164L8 0.5L9.53711 4.68164ZM7.40234 5.02734C6.9975 6.12899 6.12899 6.9975 5.02734 7.40234L3.39941 8L5.02734 8.59766C6.12899 9.0025 6.9975 9.87101 7.40234 10.9727L8 12.5996L8.59766 10.9727C9.0025 9.87101 9.87101 9.0025 10.9727 8.59766L12.5996 8L10.9727 7.40234C9.87101 6.9975 9.0025 6.12899 8.59766 5.02734L8 3.39941L7.40234 5.02734Z",
	},
	"star-stroke": {
		viewBox: "0 0 16 16",
		path: "M10.5303 5.38379L16 6.24219L12.082 10.1064L12.9521 15.5L8 13.0312L3.0752 15.5L3.91797 10.1064L0 6.24219L5.49707 5.38379L8 0.5L10.5303 5.38379ZM6.28613 6.47461L2.53809 7.05957L5.19922 9.68359L4.62012 13.3818L7.46191 11.959L7.99805 11.6895L11.3945 13.3818L10.7979 9.68652L13.4629 7.05859L9.74414 6.47461L8.00586 3.11914L6.28613 6.47461Z",
	},
	"thumbs-up-empty": {
		viewBox: "0 0 16 16",
		path: "M2.98671 5.17373C3.51485 5.17373 3.94154 5.60042 3.94154 6.12857V13.7673C3.94154 14.2954 3.51485 14.7221 2.98671 14.7221H1.55445C1.0263 14.7221 0.599609 14.2954 0.599609 13.7673V6.12857C0.599609 5.60042 1.0263 5.17373 1.55445 5.17373H2.98671ZM8.67396 0.876953C9.48856 0.876953 10.148 1.53639 10.148 2.35099V2.47631C10.148 2.67921 10.1092 2.88211 10.0346 3.0701L9.19316 5.17373H13.9674C14.7581 5.17373 15.3996 5.81526 15.3996 6.60599C15.3996 7.19381 15.0445 7.69808 14.5373 7.91889C15.0445 8.1397 15.3996 8.64397 15.3996 9.23179C15.3996 9.93002 14.8983 10.5119 14.2359 10.6372C14.3672 10.855 14.4448 11.1086 14.4448 11.3802C14.4448 12.0426 13.9972 12.5976 13.3885 12.7617C13.4541 12.9258 13.4899 13.1049 13.4899 13.2899C13.4899 14.0806 12.8484 14.7221 12.0577 14.7221H9.43485C8.35171 14.7221 7.2984 14.3521 6.45396 13.6748L6.08993 13.3853C5.63638 13.0243 5.3738 12.4753 5.3738 11.8934V6.3255C5.3738 5.88091 5.47824 5.44228 5.67517 5.04542L7.35211 1.69155C7.60275 1.19324 8.113 0.876953 8.67396 0.876953Z",
	},
	"thumbs-up-fill-1": {
		viewBox: "0 0 16 16",
		path: "M2.98671 5.17373C3.51485 5.17373 3.94154 5.60042 3.94154 6.12857V13.7673C3.94154 14.2954 3.51485 14.7221 2.98671 14.7221H1.55445C1.0263 14.7221 0.599609 14.2954 0.599609 13.7673V6.12857C0.599609 5.60042 1.0263 5.17373 1.55445 5.17373H2.98671ZM8.67396 0.876953C9.48856 0.876953 10.148 1.53639 10.148 2.35099V2.47631C10.148 2.67921 10.1092 2.88211 10.0346 3.0701L9.19316 5.17373H13.9674C14.7581 5.17373 15.3996 5.81526 15.3996 6.60599C15.3996 7.19381 15.0445 7.69808 14.5373 7.91889C15.0445 8.1397 15.3996 8.64397 15.3996 9.23179C15.3996 9.93002 14.8983 10.5119 14.2359 10.6372C14.3672 10.855 14.4448 11.1086 14.4448 11.3802C14.4448 12.0426 13.9972 12.5976 13.3885 12.7617C13.4541 12.9258 13.4899 13.1049 13.4899 13.2899C13.4899 14.0806 12.8484 14.7221 12.0577 14.7221H9.43485C8.35171 14.7221 7.2984 14.3521 6.45396 13.6748L6.08993 13.3853C5.63638 13.0243 5.3738 12.4753 5.3738 11.8934V6.3255C5.3738 5.88091 5.47824 5.44228 5.67517 5.04542L7.35211 1.69155C7.60275 1.19324 8.113 0.876953 8.67396 0.876953Z",
	},
	"thumbs-up-fill": {
		viewBox: "0 0 16 16",
		path: "M2.98671 5.17373C3.51485 5.17373 3.94154 5.60042 3.94154 6.12857V13.7673C3.94154 14.2954 3.51485 14.7221 2.98671 14.7221H1.55445C1.0263 14.7221 0.599609 14.2954 0.599609 13.7673V6.12857C0.599609 5.60042 1.0263 5.17373 1.55445 5.17373H2.98671ZM8.67396 0.876953C9.48856 0.876953 10.148 1.53639 10.148 2.35099V2.47631C10.148 2.67921 10.1092 2.88211 10.0346 3.0701L9.19316 5.17373H13.9674C14.7581 5.17373 15.3996 5.81526 15.3996 6.60599C15.3996 7.19381 15.0445 7.69808 14.5373 7.91889C15.0445 8.1397 15.3996 8.64397 15.3996 9.23179C15.3996 9.93002 14.8983 10.5119 14.2359 10.6372C14.3672 10.855 14.4448 11.1086 14.4448 11.3802C14.4448 12.0426 13.9972 12.5976 13.3885 12.7617C13.4541 12.9258 13.4899 13.1049 13.4899 13.2899C13.4899 14.0806 12.8484 14.7221 12.0577 14.7221H9.43485C8.35171 14.7221 7.2984 14.3521 6.45396 13.6748L6.08993 13.3853C5.63638 13.0243 5.3738 12.4753 5.3738 11.8934V6.3255C5.3738 5.88091 5.47824 5.44228 5.67517 5.04542L7.35211 1.69155C7.60275 1.19324 8.113 0.876953 8.67396 0.876953Z",
	},
	"thumbs-up-stroke": {
		viewBox: "0 0 16 16",
		path: "M5.89149 2.1194C6.53255 1.1155 7.89482 0.711624 9.05059 1.21935L9.2725 1.32897C10.345 1.93189 10.7765 3.20697 10.2341 4.28877L9.79953 5.15421H13.1805L13.4086 5.16575C14.5274 5.27248 15.3996 6.15812 15.3996 7.23126C15.3996 7.61205 15.2887 7.964 15.0976 8.26979C15.2856 8.57557 15.3965 8.92752 15.3996 9.30831C15.3996 9.83623 15.1869 10.3122 14.8448 10.6786C14.8849 10.8315 14.9065 10.9901 14.9065 11.1546C14.9065 11.8787 14.5089 12.5104 13.9141 12.8826C13.8555 13.9067 13.0079 14.7346 11.9292 14.8356L11.7012 14.8471H8.49274C7.93797 14.8471 7.38628 14.749 6.87158 14.5615L6.65275 14.475L6.63118 14.4663L6.42776 14.374L6.40619 14.3654L6.03018 14.1778C5.65109 13.9903 5.31206 13.7538 5.01619 13.4826C4.88982 14.2586 4.17479 14.85 3.31181 14.85H2.32556C1.3732 14.85 0.599609 14.1259 0.599609 13.2345L0.605773 6.76969C0.605773 5.87829 1.37937 5.15421 2.33172 5.15421H3.31798C3.65084 5.15421 3.96212 5.24364 4.22718 5.39942L5.77129 2.32711L5.78978 2.29249L5.87299 2.14825L5.89149 2.12229V2.1194ZM2.33172 6.53891C2.19611 6.53891 2.08516 6.64276 2.08516 6.76969V13.2316C2.08516 13.3586 2.19611 13.4624 2.33172 13.4624H3.31798C3.45359 13.4624 3.56454 13.3586 3.56454 13.2316V6.76969C3.56454 6.64276 3.45359 6.53891 3.31798 6.53891H2.33172ZM8.42185 2.47135C7.96571 2.2723 7.42635 2.42519 7.16746 2.81752L7.09965 2.93292L5.34905 6.42063C5.24118 6.63699 5.17953 6.86778 5.16412 7.10433L5.16104 7.22549V10.4824L5.16721 10.7103C5.24118 11.6536 5.82677 12.5018 6.72981 12.9518L7.08424 13.1278L7.27841 13.2172C7.66058 13.3788 8.07358 13.4624 8.49274 13.4624H11.7012L11.7751 13.4595C12.148 13.4249 12.4408 13.1278 12.4408 12.7701L12.4347 12.6951C12.4316 12.6691 12.4285 12.646 12.4223 12.6201C12.3391 12.271 12.5549 11.9219 12.9155 11.8123C13.2144 11.7229 13.4271 11.4604 13.4271 11.1546C13.4271 11.0305 13.3932 10.918 13.3316 10.8142C13.1374 10.494 13.2453 10.0872 13.5781 9.89104C13.7877 9.76699 13.9233 9.55063 13.9233 9.30831C13.9233 9.10349 13.8278 8.91886 13.6706 8.78905C13.5103 8.65635 13.4179 8.46884 13.4179 8.26979C13.4179 8.07073 13.5103 7.88322 13.6706 7.75052C13.8278 7.62071 13.9233 7.43608 13.9233 7.23126L13.9202 7.16202C13.8863 6.83604 13.6089 6.57641 13.2607 6.54468L13.1867 6.54179H8.64068C8.38795 6.54179 8.15371 6.42063 8.0181 6.22158C7.88249 6.02253 7.864 5.76867 7.97187 5.55519L8.89649 3.70027C9.11223 3.26755 8.93963 2.75694 8.51123 2.51751L8.42185 2.47135Z",
	},
};

/**
 * Rating style swatches — each pairs an `active` (filled) and `inactive`
 * (empty) icon key. Order matches the design mockup grid (4 columns).
 * First 6 styles are free, rest (7-16) are Pro-only.
 */
export const RATING_ICON_STYLES = [
	{ id: "style-1", active: "star-fill", inactive: "star-stroke" },
	{ id: "style-2", active: "star-fill", inactive: "star-empty" },
	{ id: "style-3", active: "circle-star-fill", inactive: "circle-star-empty" },
	{ id: "style-4", active: "circle-star-fill", inactive: "circle-star-empty-1" },
	{ id: "style-5", active: "square-star-fill", inactive: "square-star-empty" },
	{ id: "style-6", active: "star-fill-1", inactive: "star-stroke-1" },
	{ id: "style-7", active: "heart-fill", inactive: "heart-empty", isPro: true },
	{ id: "style-8", active: "heart-fill", inactive: "heart-empty-1", isPro: true },
	{ id: "style-9", active: "thumbs-up-fill", inactive: "thumbs-up-empty", isPro: true },
	{ id: "style-10", active: "thumbs-up-fill", inactive: "thumbs-up-stroke", isPro: true },
	{ id: "style-11", active: "star-fill-3", inactive: "star-stroke-2", isPro: true },
	{ id: "style-12", active: "hourglas-fill", inactive: "hourglas-stroke", isPro: true },
	{ id: "style-13", active: "circle-fill", inactive: "circle-empty", isPro: true },
	{ id: "style-14", active: "square-star-fill-1", inactive: "square-star-empty-1", isPro: true },
	{ id: "style-15", active: "flag-fill", inactive: "flag-empty", isPro: true },
	{ id: "style-16", active: "face-smil-fill", inactive: "face-smile-empty", isPro: true },
];

// RatingIcon.
export const RatingIcon = ({ name, className }) => {
	const icon = RATING_ICONS[name];
	if (!icon) {
		return null;
	}

	return (
		<svg
			className={className}
			width="1em"
			height="1em"
			viewBox={icon.viewBox}
			fill="currentColor"
			xmlns="http://www.w3.org/2000/svg"
			aria-hidden="true"
		>
			<path d={icon.path} fill="currentColor" />
		</svg>
	);
};
