{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { genFocusStyle } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport genGroupStyle from './group';\nimport { prepareComponentToken, prepareToken } from './token';\n// ============================== Shared ==============================\nconst genSharedButtonStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    fontWeight\n  } = token;\n  return {\n    [componentCls]: {\n      outline: 'none',\n      position: 'relative',\n      display: 'inline-block',\n      fontWeight,\n      whiteSpace: 'nowrap',\n      textAlign: 'center',\n      backgroundImage: 'none',\n      background: 'transparent',\n      border: `${unit(token.lineWidth)} ${token.lineType} transparent`,\n      cursor: 'pointer',\n      transition: `all ${token.motionDurationMid} ${token.motionEaseInOut}`,\n      userSelect: 'none',\n      touchAction: 'manipulation',\n      color: token.colorText,\n      '&:disabled > *': {\n        pointerEvents: 'none'\n      },\n      '> span': {\n        display: 'inline-block'\n      },\n      [`${componentCls}-icon`]: {\n        lineHeight: 0\n      },\n      // Leave a space between icon and text.\n      [`> ${iconCls} + span, > span + ${iconCls}`]: {\n        marginInlineStart: token.marginXS\n      },\n      [`&:not(${componentCls}-icon-only) > ${componentCls}-icon`]: {\n        [`&${componentCls}-loading-icon, &:not(:last-child)`]: {\n          marginInlineEnd: token.marginXS\n        }\n      },\n      '> a': {\n        color: 'currentColor'\n      },\n      '&:not(:disabled)': Object.assign({}, genFocusStyle(token)),\n      [`&${componentCls}-two-chinese-chars::first-letter`]: {\n        letterSpacing: '0.34em'\n      },\n      [`&${componentCls}-two-chinese-chars > *:not(${iconCls})`]: {\n        marginInlineEnd: '-0.34em',\n        letterSpacing: '0.34em'\n      },\n      // make `btn-icon-only` not too narrow\n      [`&-icon-only${componentCls}-compact-item`]: {\n        flex: 'none'\n      }\n    }\n  };\n};\nconst genHoverActiveButtonStyle = (btnCls, hoverStyle, activeStyle) => ({\n  [`&:not(:disabled):not(${btnCls}-disabled)`]: {\n    '&:hover': hoverStyle,\n    '&:active': activeStyle\n  }\n});\n// ============================== Shape ===============================\nconst genCircleButtonStyle = token => ({\n  minWidth: token.controlHeight,\n  paddingInlineStart: 0,\n  paddingInlineEnd: 0,\n  borderRadius: '50%'\n});\nconst genRoundButtonStyle = token => ({\n  borderRadius: token.controlHeight,\n  paddingInlineStart: token.calc(token.controlHeight).div(2).equal(),\n  paddingInlineEnd: token.calc(token.controlHeight).div(2).equal()\n});\n// =============================== Type ===============================\nconst genDisabledStyle = token => ({\n  cursor: 'not-allowed',\n  borderColor: token.borderColorDisabled,\n  color: token.colorTextDisabled,\n  background: token.colorBgContainerDisabled,\n  boxShadow: 'none'\n});\nconst genGhostButtonStyle = (btnCls, background, textColor, borderColor, textColorDisabled, borderColorDisabled, hoverStyle, activeStyle) => ({\n  [`&${btnCls}-background-ghost`]: Object.assign(Object.assign({\n    color: textColor || undefined,\n    background,\n    borderColor: borderColor || undefined,\n    boxShadow: 'none'\n  }, genHoverActiveButtonStyle(btnCls, Object.assign({\n    background\n  }, hoverStyle), Object.assign({\n    background\n  }, activeStyle))), {\n    '&:disabled': {\n      cursor: 'not-allowed',\n      color: textColorDisabled || undefined,\n      borderColor: borderColorDisabled || undefined\n    }\n  })\n});\nconst genSolidDisabledButtonStyle = token => ({\n  [`&:disabled, &${token.componentCls}-disabled`]: Object.assign({}, genDisabledStyle(token))\n});\nconst genSolidButtonStyle = token => Object.assign({}, genSolidDisabledButtonStyle(token));\nconst genPureDisabledButtonStyle = token => ({\n  [`&:disabled, &${token.componentCls}-disabled`]: {\n    cursor: 'not-allowed',\n    color: token.colorTextDisabled\n  }\n});\n// Type: Default\nconst genDefaultButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), {\n  background: token.defaultBg,\n  borderColor: token.defaultBorderColor,\n  color: token.defaultColor,\n  boxShadow: token.defaultShadow\n}), genHoverActiveButtonStyle(token.componentCls, {\n  color: token.defaultHoverColor,\n  borderColor: token.defaultHoverBorderColor,\n  background: token.defaultHoverBg\n}, {\n  color: token.defaultActiveColor,\n  borderColor: token.defaultActiveBorderColor,\n  background: token.defaultActiveBg\n})), genGhostButtonStyle(token.componentCls, token.ghostBg, token.defaultGhostColor, token.defaultGhostBorderColor, token.colorTextDisabled, token.colorBorder)), {\n  [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({\n    color: token.colorError,\n    borderColor: token.colorError\n  }, genHoverActiveButtonStyle(token.componentCls, {\n    color: token.colorErrorHover,\n    borderColor: token.colorErrorBorderHover\n  }, {\n    color: token.colorErrorActive,\n    borderColor: token.colorErrorActive\n  })), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder)), genSolidDisabledButtonStyle(token))\n});\n// Type: Primary\nconst genPrimaryButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), {\n  color: token.primaryColor,\n  background: token.colorPrimary,\n  boxShadow: token.primaryShadow\n}), genHoverActiveButtonStyle(token.componentCls, {\n  color: token.colorTextLightSolid,\n  background: token.colorPrimaryHover\n}, {\n  color: token.colorTextLightSolid,\n  background: token.colorPrimaryActive\n})), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorPrimary, token.colorPrimary, token.colorTextDisabled, token.colorBorder, {\n  color: token.colorPrimaryHover,\n  borderColor: token.colorPrimaryHover\n}, {\n  color: token.colorPrimaryActive,\n  borderColor: token.colorPrimaryActive\n})), {\n  [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({\n    background: token.colorError,\n    boxShadow: token.dangerShadow,\n    color: token.dangerColor\n  }, genHoverActiveButtonStyle(token.componentCls, {\n    background: token.colorErrorHover\n  }, {\n    background: token.colorErrorActive\n  })), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder, {\n    color: token.colorErrorHover,\n    borderColor: token.colorErrorHover\n  }, {\n    color: token.colorErrorActive,\n    borderColor: token.colorErrorActive\n  })), genSolidDisabledButtonStyle(token))\n});\n// Type: Dashed\nconst genDashedButtonStyle = token => Object.assign(Object.assign({}, genDefaultButtonStyle(token)), {\n  borderStyle: 'dashed'\n});\n// Type: Link\nconst genLinkButtonStyle = token => Object.assign(Object.assign(Object.assign({\n  color: token.colorLink\n}, genHoverActiveButtonStyle(token.componentCls, {\n  color: token.colorLinkHover,\n  background: token.linkHoverBg\n}, {\n  color: token.colorLinkActive\n})), genPureDisabledButtonStyle(token)), {\n  [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({\n    color: token.colorError\n  }, genHoverActiveButtonStyle(token.componentCls, {\n    color: token.colorErrorHover\n  }, {\n    color: token.colorErrorActive\n  })), genPureDisabledButtonStyle(token))\n});\n// Type: Text\nconst genTextButtonStyle = token => Object.assign(Object.assign(Object.assign({}, genHoverActiveButtonStyle(token.componentCls, {\n  color: token.colorText,\n  background: token.textHoverBg\n}, {\n  color: token.colorText,\n  background: token.colorBgTextActive\n})), genPureDisabledButtonStyle(token)), {\n  [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({\n    color: token.colorError\n  }, genPureDisabledButtonStyle(token)), genHoverActiveButtonStyle(token.componentCls, {\n    color: token.colorErrorHover,\n    background: token.colorErrorBg\n  }, {\n    color: token.colorErrorHover,\n    background: token.colorErrorBg\n  }))\n});\nconst genTypeButtonStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [`${componentCls}-default`]: genDefaultButtonStyle(token),\n    [`${componentCls}-primary`]: genPrimaryButtonStyle(token),\n    [`${componentCls}-dashed`]: genDashedButtonStyle(token),\n    [`${componentCls}-link`]: genLinkButtonStyle(token),\n    [`${componentCls}-text`]: genTextButtonStyle(token),\n    [`${componentCls}-ghost`]: genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorBgContainer, token.colorBgContainer, token.colorTextDisabled, token.colorBorder)\n  };\n};\n// =============================== Size ===============================\nconst genButtonStyle = function (token) {\n  let prefixCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  const {\n    componentCls,\n    controlHeight,\n    fontSize,\n    lineHeight,\n    borderRadius,\n    buttonPaddingHorizontal,\n    iconCls,\n    buttonPaddingVertical\n  } = token;\n  const iconOnlyCls = `${componentCls}-icon-only`;\n  return [{\n    [`${prefixCls}`]: {\n      fontSize,\n      lineHeight,\n      height: controlHeight,\n      padding: `${unit(buttonPaddingVertical)} ${unit(buttonPaddingHorizontal)}`,\n      borderRadius,\n      [`&${iconOnlyCls}`]: {\n        display: 'inline-flex',\n        alignItems: 'center',\n        justifyContent: 'center',\n        width: controlHeight,\n        paddingInlineStart: 0,\n        paddingInlineEnd: 0,\n        [`&${componentCls}-round`]: {\n          width: 'auto'\n        },\n        [iconCls]: {\n          fontSize: token.buttonIconOnlyFontSize\n        }\n      },\n      // Loading\n      [`&${componentCls}-loading`]: {\n        opacity: token.opacityLoading,\n        cursor: 'default'\n      },\n      [`${componentCls}-loading-icon`]: {\n        transition: `width ${token.motionDurationSlow} ${token.motionEaseInOut}, opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`\n      }\n    }\n  },\n  // Shape - patch prefixCls again to override solid border radius style\n  {\n    [`${componentCls}${componentCls}-circle${prefixCls}`]: genCircleButtonStyle(token)\n  }, {\n    [`${componentCls}${componentCls}-round${prefixCls}`]: genRoundButtonStyle(token)\n  }];\n};\nconst genSizeBaseButtonStyle = token => {\n  const baseToken = mergeToken(token, {\n    fontSize: token.contentFontSize,\n    lineHeight: token.contentLineHeight\n  });\n  return genButtonStyle(baseToken, token.componentCls);\n};\nconst genSizeSmallButtonStyle = token => {\n  const smallToken = mergeToken(token, {\n    controlHeight: token.controlHeightSM,\n    fontSize: token.contentFontSizeSM,\n    lineHeight: token.contentLineHeightSM,\n    padding: token.paddingXS,\n    buttonPaddingHorizontal: token.paddingInlineSM,\n    buttonPaddingVertical: token.paddingBlockSM,\n    borderRadius: token.borderRadiusSM,\n    buttonIconOnlyFontSize: token.onlyIconSizeSM\n  });\n  return genButtonStyle(smallToken, `${token.componentCls}-sm`);\n};\nconst genSizeLargeButtonStyle = token => {\n  const largeToken = mergeToken(token, {\n    controlHeight: token.controlHeightLG,\n    fontSize: token.contentFontSizeLG,\n    lineHeight: token.contentLineHeightLG,\n    buttonPaddingHorizontal: token.paddingInlineLG,\n    buttonPaddingVertical: token.paddingBlockLG,\n    borderRadius: token.borderRadiusLG,\n    buttonIconOnlyFontSize: token.onlyIconSizeLG\n  });\n  return genButtonStyle(largeToken, `${token.componentCls}-lg`);\n};\nconst genBlockButtonStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [componentCls]: {\n      [`&${componentCls}-block`]: {\n        width: '100%'\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genStyleHooks('Button', token => {\n  const buttonToken = prepareToken(token);\n  return [\n  // Shared\n  genSharedButtonStyle(buttonToken),\n  // Size\n  genSizeBaseButtonStyle(buttonToken), genSizeSmallButtonStyle(buttonToken), genSizeLargeButtonStyle(buttonToken),\n  // Block\n  genBlockButtonStyle(buttonToken),\n  // Group (type, ghost, danger, loading)\n  genTypeButtonStyle(buttonToken),\n  // Button Group\n  genGroupStyle(buttonToken)];\n}, prepareComponentToken, {\n  unitless: {\n    fontWeight: true,\n    contentLineHeight: true,\n    contentLineHeightSM: true,\n    contentLineHeightLG: true\n  }\n});","map":{"version":3,"names":["unit","genFocusStyle","genStyleHooks","mergeToken","genGroupStyle","prepareComponentToken","prepareToken","genSharedButtonStyle","token","componentCls","iconCls","fontWeight","outline","position","display","whiteSpace","textAlign","backgroundImage","background","border","lineWidth","lineType","cursor","transition","motionDurationMid","motionEaseInOut","userSelect","touchAction","color","colorText","pointerEvents","lineHeight","marginInlineStart","marginXS","marginInlineEnd","Object","assign","letterSpacing","flex","genHoverActiveButtonStyle","btnCls","hoverStyle","activeStyle","genCircleButtonStyle","minWidth","controlHeight","paddingInlineStart","paddingInlineEnd","borderRadius","genRoundButtonStyle","calc","div","equal","genDisabledStyle","borderColor","borderColorDisabled","colorTextDisabled","colorBgContainerDisabled","boxShadow","genGhostButtonStyle","textColor","textColorDisabled","undefined","genSolidDisabledButtonStyle","genSolidButtonStyle","genPureDisabledButtonStyle","genDefaultButtonStyle","defaultBg","defaultBorderColor","defaultColor","defaultShadow","defaultHoverColor","defaultHoverBorderColor","defaultHoverBg","defaultActiveColor","defaultActiveBorderColor","defaultActiveBg","ghostBg","defaultGhostColor","defaultGhostBorderColor","colorBorder","colorError","colorErrorHover","colorErrorBorderHover","colorErrorActive","genPrimaryButtonStyle","primaryColor","colorPrimary","primaryShadow","colorTextLightSolid","colorPrimaryHover","colorPrimaryActive","dangerShadow","dangerColor","genDashedButtonStyle","borderStyle","genLinkButtonStyle","colorLink","colorLinkHover","linkHoverBg","colorLinkActive","genTextButtonStyle","textHoverBg","colorBgTextActive","colorErrorBg","genTypeButtonStyle","colorBgContainer","genButtonStyle","prefixCls","arguments","length","fontSize","buttonPaddingHorizontal","buttonPaddingVertical","iconOnlyCls","height","padding","alignItems","justifyContent","width","buttonIconOnlyFontSize","opacity","opacityLoading","motionDurationSlow","genSizeBaseButtonStyle","baseToken","contentFontSize","contentLineHeight","genSizeSmallButtonStyle","smallToken","controlHeightSM","contentFontSizeSM","contentLineHeightSM","paddingXS","paddingInlineSM","paddingBlockSM","borderRadiusSM","onlyIconSizeSM","genSizeLargeButtonStyle","largeToken","controlHeightLG","contentFontSizeLG","contentLineHeightLG","paddingInlineLG","paddingBlockLG","borderRadiusLG","onlyIconSizeLG","genBlockButtonStyle","buttonToken","unitless"],"sources":["/Users/shanyi/Desktop/Projects/UC_Trains_Voice/react-demo/node_modules/antd/es/button/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genFocusStyle } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport genGroupStyle from './group';\nimport { prepareComponentToken, prepareToken } from './token';\n// ============================== Shared ==============================\nconst genSharedButtonStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    fontWeight\n  } = token;\n  return {\n    [componentCls]: {\n      outline: 'none',\n      position: 'relative',\n      display: 'inline-block',\n      fontWeight,\n      whiteSpace: 'nowrap',\n      textAlign: 'center',\n      backgroundImage: 'none',\n      background: 'transparent',\n      border: `${unit(token.lineWidth)} ${token.lineType} transparent`,\n      cursor: 'pointer',\n      transition: `all ${token.motionDurationMid} ${token.motionEaseInOut}`,\n      userSelect: 'none',\n      touchAction: 'manipulation',\n      color: token.colorText,\n      '&:disabled > *': {\n        pointerEvents: 'none'\n      },\n      '> span': {\n        display: 'inline-block'\n      },\n      [`${componentCls}-icon`]: {\n        lineHeight: 0\n      },\n      // Leave a space between icon and text.\n      [`> ${iconCls} + span, > span + ${iconCls}`]: {\n        marginInlineStart: token.marginXS\n      },\n      [`&:not(${componentCls}-icon-only) > ${componentCls}-icon`]: {\n        [`&${componentCls}-loading-icon, &:not(:last-child)`]: {\n          marginInlineEnd: token.marginXS\n        }\n      },\n      '> a': {\n        color: 'currentColor'\n      },\n      '&:not(:disabled)': Object.assign({}, genFocusStyle(token)),\n      [`&${componentCls}-two-chinese-chars::first-letter`]: {\n        letterSpacing: '0.34em'\n      },\n      [`&${componentCls}-two-chinese-chars > *:not(${iconCls})`]: {\n        marginInlineEnd: '-0.34em',\n        letterSpacing: '0.34em'\n      },\n      // make `btn-icon-only` not too narrow\n      [`&-icon-only${componentCls}-compact-item`]: {\n        flex: 'none'\n      }\n    }\n  };\n};\nconst genHoverActiveButtonStyle = (btnCls, hoverStyle, activeStyle) => ({\n  [`&:not(:disabled):not(${btnCls}-disabled)`]: {\n    '&:hover': hoverStyle,\n    '&:active': activeStyle\n  }\n});\n// ============================== Shape ===============================\nconst genCircleButtonStyle = token => ({\n  minWidth: token.controlHeight,\n  paddingInlineStart: 0,\n  paddingInlineEnd: 0,\n  borderRadius: '50%'\n});\nconst genRoundButtonStyle = token => ({\n  borderRadius: token.controlHeight,\n  paddingInlineStart: token.calc(token.controlHeight).div(2).equal(),\n  paddingInlineEnd: token.calc(token.controlHeight).div(2).equal()\n});\n// =============================== Type ===============================\nconst genDisabledStyle = token => ({\n  cursor: 'not-allowed',\n  borderColor: token.borderColorDisabled,\n  color: token.colorTextDisabled,\n  background: token.colorBgContainerDisabled,\n  boxShadow: 'none'\n});\nconst genGhostButtonStyle = (btnCls, background, textColor, borderColor, textColorDisabled, borderColorDisabled, hoverStyle, activeStyle) => ({\n  [`&${btnCls}-background-ghost`]: Object.assign(Object.assign({\n    color: textColor || undefined,\n    background,\n    borderColor: borderColor || undefined,\n    boxShadow: 'none'\n  }, genHoverActiveButtonStyle(btnCls, Object.assign({\n    background\n  }, hoverStyle), Object.assign({\n    background\n  }, activeStyle))), {\n    '&:disabled': {\n      cursor: 'not-allowed',\n      color: textColorDisabled || undefined,\n      borderColor: borderColorDisabled || undefined\n    }\n  })\n});\nconst genSolidDisabledButtonStyle = token => ({\n  [`&:disabled, &${token.componentCls}-disabled`]: Object.assign({}, genDisabledStyle(token))\n});\nconst genSolidButtonStyle = token => Object.assign({}, genSolidDisabledButtonStyle(token));\nconst genPureDisabledButtonStyle = token => ({\n  [`&:disabled, &${token.componentCls}-disabled`]: {\n    cursor: 'not-allowed',\n    color: token.colorTextDisabled\n  }\n});\n// Type: Default\nconst genDefaultButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), {\n  background: token.defaultBg,\n  borderColor: token.defaultBorderColor,\n  color: token.defaultColor,\n  boxShadow: token.defaultShadow\n}), genHoverActiveButtonStyle(token.componentCls, {\n  color: token.defaultHoverColor,\n  borderColor: token.defaultHoverBorderColor,\n  background: token.defaultHoverBg\n}, {\n  color: token.defaultActiveColor,\n  borderColor: token.defaultActiveBorderColor,\n  background: token.defaultActiveBg\n})), genGhostButtonStyle(token.componentCls, token.ghostBg, token.defaultGhostColor, token.defaultGhostBorderColor, token.colorTextDisabled, token.colorBorder)), {\n  [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({\n    color: token.colorError,\n    borderColor: token.colorError\n  }, genHoverActiveButtonStyle(token.componentCls, {\n    color: token.colorErrorHover,\n    borderColor: token.colorErrorBorderHover\n  }, {\n    color: token.colorErrorActive,\n    borderColor: token.colorErrorActive\n  })), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder)), genSolidDisabledButtonStyle(token))\n});\n// Type: Primary\nconst genPrimaryButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), {\n  color: token.primaryColor,\n  background: token.colorPrimary,\n  boxShadow: token.primaryShadow\n}), genHoverActiveButtonStyle(token.componentCls, {\n  color: token.colorTextLightSolid,\n  background: token.colorPrimaryHover\n}, {\n  color: token.colorTextLightSolid,\n  background: token.colorPrimaryActive\n})), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorPrimary, token.colorPrimary, token.colorTextDisabled, token.colorBorder, {\n  color: token.colorPrimaryHover,\n  borderColor: token.colorPrimaryHover\n}, {\n  color: token.colorPrimaryActive,\n  borderColor: token.colorPrimaryActive\n})), {\n  [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({\n    background: token.colorError,\n    boxShadow: token.dangerShadow,\n    color: token.dangerColor\n  }, genHoverActiveButtonStyle(token.componentCls, {\n    background: token.colorErrorHover\n  }, {\n    background: token.colorErrorActive\n  })), genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder, {\n    color: token.colorErrorHover,\n    borderColor: token.colorErrorHover\n  }, {\n    color: token.colorErrorActive,\n    borderColor: token.colorErrorActive\n  })), genSolidDisabledButtonStyle(token))\n});\n// Type: Dashed\nconst genDashedButtonStyle = token => Object.assign(Object.assign({}, genDefaultButtonStyle(token)), {\n  borderStyle: 'dashed'\n});\n// Type: Link\nconst genLinkButtonStyle = token => Object.assign(Object.assign(Object.assign({\n  color: token.colorLink\n}, genHoverActiveButtonStyle(token.componentCls, {\n  color: token.colorLinkHover,\n  background: token.linkHoverBg\n}, {\n  color: token.colorLinkActive\n})), genPureDisabledButtonStyle(token)), {\n  [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({\n    color: token.colorError\n  }, genHoverActiveButtonStyle(token.componentCls, {\n    color: token.colorErrorHover\n  }, {\n    color: token.colorErrorActive\n  })), genPureDisabledButtonStyle(token))\n});\n// Type: Text\nconst genTextButtonStyle = token => Object.assign(Object.assign(Object.assign({}, genHoverActiveButtonStyle(token.componentCls, {\n  color: token.colorText,\n  background: token.textHoverBg\n}, {\n  color: token.colorText,\n  background: token.colorBgTextActive\n})), genPureDisabledButtonStyle(token)), {\n  [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({\n    color: token.colorError\n  }, genPureDisabledButtonStyle(token)), genHoverActiveButtonStyle(token.componentCls, {\n    color: token.colorErrorHover,\n    background: token.colorErrorBg\n  }, {\n    color: token.colorErrorHover,\n    background: token.colorErrorBg\n  }))\n});\nconst genTypeButtonStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [`${componentCls}-default`]: genDefaultButtonStyle(token),\n    [`${componentCls}-primary`]: genPrimaryButtonStyle(token),\n    [`${componentCls}-dashed`]: genDashedButtonStyle(token),\n    [`${componentCls}-link`]: genLinkButtonStyle(token),\n    [`${componentCls}-text`]: genTextButtonStyle(token),\n    [`${componentCls}-ghost`]: genGhostButtonStyle(token.componentCls, token.ghostBg, token.colorBgContainer, token.colorBgContainer, token.colorTextDisabled, token.colorBorder)\n  };\n};\n// =============================== Size ===============================\nconst genButtonStyle = function (token) {\n  let prefixCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  const {\n    componentCls,\n    controlHeight,\n    fontSize,\n    lineHeight,\n    borderRadius,\n    buttonPaddingHorizontal,\n    iconCls,\n    buttonPaddingVertical\n  } = token;\n  const iconOnlyCls = `${componentCls}-icon-only`;\n  return [{\n    [`${prefixCls}`]: {\n      fontSize,\n      lineHeight,\n      height: controlHeight,\n      padding: `${unit(buttonPaddingVertical)} ${unit(buttonPaddingHorizontal)}`,\n      borderRadius,\n      [`&${iconOnlyCls}`]: {\n        display: 'inline-flex',\n        alignItems: 'center',\n        justifyContent: 'center',\n        width: controlHeight,\n        paddingInlineStart: 0,\n        paddingInlineEnd: 0,\n        [`&${componentCls}-round`]: {\n          width: 'auto'\n        },\n        [iconCls]: {\n          fontSize: token.buttonIconOnlyFontSize\n        }\n      },\n      // Loading\n      [`&${componentCls}-loading`]: {\n        opacity: token.opacityLoading,\n        cursor: 'default'\n      },\n      [`${componentCls}-loading-icon`]: {\n        transition: `width ${token.motionDurationSlow} ${token.motionEaseInOut}, opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`\n      }\n    }\n  },\n  // Shape - patch prefixCls again to override solid border radius style\n  {\n    [`${componentCls}${componentCls}-circle${prefixCls}`]: genCircleButtonStyle(token)\n  }, {\n    [`${componentCls}${componentCls}-round${prefixCls}`]: genRoundButtonStyle(token)\n  }];\n};\nconst genSizeBaseButtonStyle = token => {\n  const baseToken = mergeToken(token, {\n    fontSize: token.contentFontSize,\n    lineHeight: token.contentLineHeight\n  });\n  return genButtonStyle(baseToken, token.componentCls);\n};\nconst genSizeSmallButtonStyle = token => {\n  const smallToken = mergeToken(token, {\n    controlHeight: token.controlHeightSM,\n    fontSize: token.contentFontSizeSM,\n    lineHeight: token.contentLineHeightSM,\n    padding: token.paddingXS,\n    buttonPaddingHorizontal: token.paddingInlineSM,\n    buttonPaddingVertical: token.paddingBlockSM,\n    borderRadius: token.borderRadiusSM,\n    buttonIconOnlyFontSize: token.onlyIconSizeSM\n  });\n  return genButtonStyle(smallToken, `${token.componentCls}-sm`);\n};\nconst genSizeLargeButtonStyle = token => {\n  const largeToken = mergeToken(token, {\n    controlHeight: token.controlHeightLG,\n    fontSize: token.contentFontSizeLG,\n    lineHeight: token.contentLineHeightLG,\n    buttonPaddingHorizontal: token.paddingInlineLG,\n    buttonPaddingVertical: token.paddingBlockLG,\n    borderRadius: token.borderRadiusLG,\n    buttonIconOnlyFontSize: token.onlyIconSizeLG\n  });\n  return genButtonStyle(largeToken, `${token.componentCls}-lg`);\n};\nconst genBlockButtonStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [componentCls]: {\n      [`&${componentCls}-block`]: {\n        width: '100%'\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genStyleHooks('Button', token => {\n  const buttonToken = prepareToken(token);\n  return [\n  // Shared\n  genSharedButtonStyle(buttonToken),\n  // Size\n  genSizeBaseButtonStyle(buttonToken), genSizeSmallButtonStyle(buttonToken), genSizeLargeButtonStyle(buttonToken),\n  // Block\n  genBlockButtonStyle(buttonToken),\n  // Group (type, ghost, danger, loading)\n  genTypeButtonStyle(buttonToken),\n  // Button Group\n  genGroupStyle(buttonToken)];\n}, prepareComponentToken, {\n  unitless: {\n    fontWeight: true,\n    contentLineHeight: true,\n    contentLineHeightSM: true,\n    contentLineHeightLG: true\n  }\n});"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,aAAa,QAAQ,aAAa;AAC3C,SAASC,aAAa,EAAEC,UAAU,QAAQ,sBAAsB;AAChE,OAAOC,aAAa,MAAM,SAAS;AACnC,SAASC,qBAAqB,EAAEC,YAAY,QAAQ,SAAS;AAC7D;AACA,MAAMC,oBAAoB,GAAGC,KAAK,IAAI;EACpC,MAAM;IACJC,YAAY;IACZC,OAAO;IACPC;EACF,CAAC,GAAGH,KAAK;EACT,OAAO;IACL,CAACC,YAAY,GAAG;MACdG,OAAO,EAAE,MAAM;MACfC,QAAQ,EAAE,UAAU;MACpBC,OAAO,EAAE,cAAc;MACvBH,UAAU;MACVI,UAAU,EAAE,QAAQ;MACpBC,SAAS,EAAE,QAAQ;MACnBC,eAAe,EAAE,MAAM;MACvBC,UAAU,EAAE,aAAa;MACzBC,MAAM,EAAG,GAAEnB,IAAI,CAACQ,KAAK,CAACY,SAAS,CAAE,IAAGZ,KAAK,CAACa,QAAS,cAAa;MAChEC,MAAM,EAAE,S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