import { Component5 } from './Component5.jsx';

// figma node: 9472:3040 Component 6 (6 variants)
const __venc = (v) => String(v).replace(/[%|=]/g, encodeURIComponent);
const __vkey = (p) => "variant=" + __venc(p.variant) + '|' + "hover=" + __venc(p.hover);

export function Component6(_p = {}) {
  const props = { ..._p, text: _p.text ?? "Découvrez notre FAQ", variant: _p.variant ?? "1", hover: _p.hover ?? true };
  const __body0 = () => (
    <div className={props.className} style={{
      width: 191.603,
      height: 22.5,
      display: "flex",
      flexDirection: "row",
      gap: 4.389999866485596,
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 400,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(75,212,153)",
        textDecoration: "underline",
        flexShrink: 0,
        alignSelf: "stretch",
      }}>{props.text}</span>
      <div style={{
          position: "absolute",
          left: 0,
          top: 0,
          width: 14,
          height: 16,
          transform: "matrix(0.707,-0.707,0.707,0.707,170.390,10.543)",
          transformOrigin: "0 0",
        }}>{props.icon1 ?? <Component5 variant={"1"} />}</div>
    </div>
  );
  const __body1 = () => (
    <div className={props.className} style={{
      width: 191.603,
      height: 22.5,
      display: "flex",
      flexDirection: "row",
      gap: 4.389999866485596,
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 400,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(44,52,119)",
        flexShrink: 0,
        alignSelf: "stretch",
      }}>{props.text}</span>
      <div style={{
          position: "absolute",
          left: 0,
          top: 0,
          width: 14,
          height: 16,
          transform: "matrix(0.707,-0.707,0.707,0.707,170.390,10.543)",
          transformOrigin: "0 0",
        }}>{props.icon1 ?? <Component5 variant={"2"} />}</div>
    </div>
  );
  const __body2 = () => (
    <div className={props.className} style={{
      width: 191.603,
      height: 22.5,
      display: "flex",
      flexDirection: "row",
      gap: 4.389999866485596,
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 400,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(75,212,153)",
        textDecoration: "underline",
        flexShrink: 0,
        alignSelf: "stretch",
      }}>{props.text}</span>
      <div style={{
          position: "absolute",
          left: 0,
          top: 0,
          width: 14,
          height: 16,
          transform: "matrix(0.707,-0.707,0.707,0.707,170.390,10.543)",
          transformOrigin: "0 0",
        }}>{props.icon1 ?? <Component5 variant={"3"} />}</div>
    </div>
  );
  const __body3 = () => (
    <div className={props.className} style={{
      width: 191.603,
      height: 22.5,
      display: "flex",
      flexDirection: "row",
      gap: 4.389999866485596,
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 400,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(44,52,119)",
        flexShrink: 0,
        alignSelf: "stretch",
      }}>{props.text}</span>
      <div style={{
          position: "absolute",
          left: 0,
          top: 0,
          width: 14,
          height: 16,
          transform: "matrix(0.707,-0.707,0.707,0.707,170.390,10.543)",
          transformOrigin: "0 0",
        }}>{props.icon1 ?? <Component5 variant={"4"} />}</div>
    </div>
  );
  const __body4 = () => (
    <div className={props.className} style={{
      width: 191.603,
      height: 22.5,
      display: "flex",
      flexDirection: "row",
      gap: 4.389999866485596,
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 400,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(75,212,153)",
        textDecoration: "underline",
        flexShrink: 0,
        alignSelf: "stretch",
      }}>{props.text}</span>
      <div style={{
          position: "absolute",
          left: 0,
          top: 0,
          width: 14,
          height: 16,
          transform: "matrix(0.707,-0.707,0.707,0.707,170.390,10.543)",
          transformOrigin: "0 0",
        }}>{props.icon1 ?? <Component5 variant={"5"} />}</div>
    </div>
  );
  const __body5 = () => (
    <div className={props.className} style={{
      width: 191.603,
      height: 22.5,
      display: "flex",
      flexDirection: "row",
      gap: 4.389999866485596,
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 400,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(44,52,119)",
        flexShrink: 0,
        alignSelf: "stretch",
      }}>{props.text}</span>
      <div style={{
          position: "absolute",
          left: 0,
          top: 0,
          width: 14,
          height: 16,
          transform: "matrix(0.707,-0.707,0.707,0.707,170.390,10.543)",
          transformOrigin: "0 0",
        }}>{props.icon1 ?? <Component5 variant={"6"} />}</div>
    </div>
  );
  const __impls = {
    // figma: variant=1,:hover=true
    "variant=1|hover=true": __body0,
    // figma: variant=1,:hover=false
    "variant=1|hover=false": __body1,
    // figma: variant=2,:hover=true
    "variant=2|hover=true": __body2,
    // figma: variant=2,:hover=false
    "variant=2|hover=false": __body3,
    // figma: variant=3,:hover=true
    "variant=3|hover=true": __body4,
    // figma: variant=3,:hover=false
    "variant=3|hover=false": __body5,
  };
  return (__impls[__vkey(props)] ?? __body0)();
}
export default Component6;
