{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { TinyColor } from '@ctrl/tinycolor';\nimport { resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\n// =============================== Base ===============================\nconst genBaseStyle = token => {\n  const {\n    componentCls,\n    antCls,\n    controlSize,\n    dotSize,\n    marginFull,\n    marginPart,\n    colorFillContentHover,\n    handleColorDisabled,\n    calc\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n      position: 'relative',\n      height: controlSize,\n      margin: `${unit(marginPart)} ${unit(marginFull)}`,\n      padding: 0,\n      cursor: 'pointer',\n      touchAction: 'none',\n      [`&-vertical`]: {\n        margin: `${unit(marginFull)} ${unit(marginPart)}`\n      },\n      [`${componentCls}-rail`]: {\n        position: 'absolute',\n        backgroundColor: token.railBg,\n        borderRadius: token.borderRadiusXS,\n        transition: `background-color ${token.motionDurationMid}`\n      },\n      [`${componentCls}-track,${componentCls}-tracks`]: {\n        position: 'absolute',\n        transition: `background-color ${token.motionDurationMid}`\n      },\n      [`${componentCls}-track`]: {\n        backgroundColor: token.trackBg,\n        borderRadius: token.borderRadiusXS\n      },\n      [`${componentCls}-track-draggable`]: {\n        boxSizing: 'content-box',\n        backgroundClip: 'content-box',\n        border: 'solid rgba(0,0,0,0)'\n      },\n      '&:hover': {\n        [`${componentCls}-rail`]: {\n          backgroundColor: token.railHoverBg\n        },\n        [`${componentCls}-track`]: {\n          backgroundColor: token.trackHoverBg\n        },\n        [`${componentCls}-dot`]: {\n          borderColor: colorFillContentHover\n        },\n        [`${componentCls}-handle::after`]: {\n          boxShadow: `0 0 0 ${unit(token.handleLineWidth)} ${token.colorPrimaryBorderHover}`\n        },\n        [`${componentCls}-dot-active`]: {\n          borderColor: token.dotActiveBorderColor\n        }\n      },\n      [`${componentCls}-handle`]: {\n        position: 'absolute',\n        width: token.handleSize,\n        height: token.handleSize,\n        outline: 'none',\n        // 扩大选区\n        '&::before': {\n          content: '\"\"',\n          position: 'absolute',\n          insetInlineStart: calc(token.handleLineWidth).mul(-1).equal(),\n          insetBlockStart: calc(token.handleLineWidth).mul(-1).equal(),\n          width: calc(token.handleSize).add(calc(token.handleLineWidth).mul(2)).equal(),\n          height: calc(token.handleSize).add(calc(token.handleLineWidth).mul(2)).equal(),\n          backgroundColor: 'transparent'\n        },\n        '&::after': {\n          content: '\"\"',\n          position: 'absolute',\n          insetBlockStart: 0,\n          insetInlineStart: 0,\n          width: token.handleSize,\n          height: token.handleSize,\n          backgroundColor: token.colorBgElevated,\n          boxShadow: `0 0 0 ${unit(token.handleLineWidth)} ${token.handleColor}`,\n          borderRadius: '50%',\n          cursor: 'pointer',\n          transition: `\n            inset-inline-start ${token.motionDurationMid},\n            inset-block-start ${token.motionDurationMid},\n            width ${token.motionDurationMid},\n            height ${token.motionDurationMid},\n            box-shadow ${token.motionDurationMid}\n          `\n        },\n        '&:hover, &:active, &:focus': {\n          '&::before': {\n            // -(\n            //   (token.handleSizeHover - token.handleSize) / 2 +\n            //   token.handleLineWidthHover\n            // ),\n            insetInlineStart: calc(token.handleSizeHover).sub(token.handleSize).div(2).add(token.handleLineWidthHover).mul(-1).equal(),\n            insetBlockStart: calc(token.handleSizeHover).sub(token.handleSize).div(2).add(token.handleLineWidthHover).mul(-1).equal(),\n            width: calc(token.handleSizeHover).add(calc(token.handleLineWidthHover).mul(2)).equal(),\n            height: calc(token.handleSizeHover).add(calc(token.handleLineWidthHover).mul(2)).equal()\n          },\n          '&::after': {\n            boxShadow: `0 0 0 ${unit(token.handleLineWidthHover)} ${token.handleActiveColor}`,\n            width: token.handleSizeHover,\n            height: token.handleSizeHover,\n            insetInlineStart: token.calc(token.handleSize).sub(token.handleSizeHover).div(2).equal(),\n            insetBlockStart: token.calc(token.handleSize).sub(token.handleSizeHover).div(2).equal()\n          }\n        }\n      },\n      [`${componentCls}-mark`]: {\n        position: 'absolute',\n        fontSize: token.fontSize\n      },\n      [`${componentCls}-mark-text`]: {\n        position: 'absolute',\n        display: 'inline-block',\n        color: token.colorTextDescription,\n        textAlign: 'center',\n        wordBreak: 'keep-all',\n        cursor: 'pointer',\n        userSelect: 'none',\n        '&-active': {\n          color: token.colorText\n        }\n      },\n      [`${componentCls}-step`]: {\n        position: 'absolute',\n        background: 'transparent',\n        pointerEvents: 'none'\n      },\n      [`${componentCls}-dot`]: {\n        position: 'absolute',\n        width: dotSize,\n        height: dotSize,\n        backgroundColor: token.colorBgElevated,\n        border: `${unit(token.handleLineWidth)} solid ${token.dotBorderColor}`,\n        borderRadius: '50%',\n        cursor: 'pointer',\n        transition: `border-color ${token.motionDurationSlow}`,\n        pointerEvents: 'auto',\n        '&-active': {\n          borderColor: token.dotActiveBorderColor\n        }\n      },\n      [`&${componentCls}-disabled`]: {\n        cursor: 'not-allowed',\n        [`${componentCls}-rail`]: {\n          backgroundColor: `${token.railBg} !important`\n        },\n        [`${componentCls}-track`]: {\n          backgroundColor: `${token.trackBgDisabled} !important`\n        },\n        [`\n          ${componentCls}-dot\n        `]: {\n          backgroundColor: token.colorBgElevated,\n          borderColor: token.trackBgDisabled,\n          boxShadow: 'none',\n          cursor: 'not-allowed'\n        },\n        [`${componentCls}-handle::after`]: {\n          backgroundColor: token.colorBgElevated,\n          cursor: 'not-allowed',\n          width: token.handleSize,\n          height: token.handleSize,\n          boxShadow: `0 0 0 ${unit(token.handleLineWidth)} ${handleColorDisabled}`,\n          insetInlineStart: 0,\n          insetBlockStart: 0\n        },\n        [`\n          ${componentCls}-mark-text,\n          ${componentCls}-dot\n        `]: {\n          cursor: `not-allowed !important`\n        }\n      },\n      [`&-tooltip ${antCls}-tooltip-inner`]: {\n        minWidth: 'unset'\n      }\n    })\n  };\n};\n// ============================ Horizontal ============================\nconst genDirectionStyle = (token, horizontal) => {\n  const {\n    componentCls,\n    railSize,\n    handleSize,\n    dotSize,\n    marginFull,\n    calc\n  } = token;\n  const railPadding = horizontal ? 'paddingBlock' : 'paddingInline';\n  const full = horizontal ? 'width' : 'height';\n  const part = horizontal ? 'height' : 'width';\n  const handlePos = horizontal ? 'insetBlockStart' : 'insetInlineStart';\n  const markInset = horizontal ? 'top' : 'insetInlineStart';\n  const handlePosSize = calc(railSize).mul(3).sub(handleSize).div(2).equal();\n  const draggableBorderSize = calc(handleSize).sub(railSize).div(2).equal();\n  const draggableBorder = horizontal ? {\n    borderWidth: `${unit(draggableBorderSize)} 0`,\n    transform: `translateY(${unit(calc(draggableBorderSize).mul(-1).equal())})`\n  } : {\n    borderWidth: `0 ${unit(draggableBorderSize)}`,\n    transform: `translateX(${unit(token.calc(draggableBorderSize).mul(-1).equal())})`\n  };\n  return {\n    [railPadding]: railSize,\n    [part]: calc(railSize).mul(3).equal(),\n    [`${componentCls}-rail`]: {\n      [full]: '100%',\n      [part]: railSize\n    },\n    [`${componentCls}-track,${componentCls}-tracks`]: {\n      [part]: railSize\n    },\n    [`${componentCls}-track-draggable`]: Object.assign({}, draggableBorder),\n    [`${componentCls}-handle`]: {\n      [handlePos]: handlePosSize\n    },\n    [`${componentCls}-mark`]: {\n      // Reset all\n      insetInlineStart: 0,\n      top: 0,\n      // https://github.com/ant-design/ant-design/issues/43731\n      [markInset]: calc(railSize).mul(3).add(horizontal ? 0 : marginFull).equal(),\n      [full]: '100%'\n    },\n    [`${componentCls}-step`]: {\n      // Reset all\n      insetInlineStart: 0,\n      top: 0,\n      [markInset]: railSize,\n      [full]: '100%',\n      [part]: railSize\n    },\n    [`${componentCls}-dot`]: {\n      position: 'absolute',\n      [handlePos]: calc(railSize).sub(dotSize).div(2).equal()\n    }\n  };\n};\n// ============================ Horizontal ============================\nconst genHorizontalStyle = token => {\n  const {\n    componentCls,\n    marginPartWithMark\n  } = token;\n  return {\n    [`${componentCls}-horizontal`]: Object.assign(Object.assign({}, genDirectionStyle(token, true)), {\n      [`&${componentCls}-with-marks`]: {\n        marginBottom: marginPartWithMark\n      }\n    })\n  };\n};\n// ============================= Vertical =============================\nconst genVerticalStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [`${componentCls}-vertical`]: Object.assign(Object.assign({}, genDirectionStyle(token, false)), {\n      height: '100%'\n    })\n  };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => {\n  // Handle line width is always width-er 1px\n  const increaseHandleWidth = 1;\n  const controlSize = token.controlHeightLG / 4;\n  const controlSizeHover = token.controlHeightSM / 2;\n  const handleLineWidth = token.lineWidth + increaseHandleWidth;\n  const handleLineWidthHover = token.lineWidth + increaseHandleWidth * 3;\n  return {\n    controlSize,\n    railSize: 4,\n    handleSize: controlSize,\n    handleSizeHover: controlSizeHover,\n    dotSize: 8,\n    handleLineWidth,\n    handleLineWidthHover,\n    railBg: token.colorFillTertiary,\n    railHoverBg: token.colorFillSecondary,\n    trackBg: token.colorPrimaryBorder,\n    trackHoverBg: token.colorPrimaryBorderHover,\n    handleColor: token.colorPrimaryBorder,\n    handleActiveColor: token.colorPrimary,\n    handleColorDisabled: new TinyColor(token.colorTextDisabled).onBackground(token.colorBgContainer).toHexShortString(),\n    dotBorderColor: token.colorBorderSecondary,\n    dotActiveBorderColor: token.colorPrimaryBorder,\n    trackBgDisabled: token.colorBgContainerDisabled\n  };\n};\nexport default genStyleHooks('Slider', token => {\n  const sliderToken = mergeToken(token, {\n    marginPart: token.calc(token.controlHeight).sub(token.controlSize).div(2).equal(),\n    marginFull: token.calc(token.controlSize).div(2).equal(),\n    marginPartWithMark: token.calc(token.controlHeightLG).sub(token.controlSize).equal()\n  });\n  return [genBaseStyle(sliderToken), genHorizontalStyle(sliderToken), genVerticalStyle(sliderToken)];\n}, prepareComponentToken);","map":{"version":3,"names":["unit","TinyColor","resetComponent","genStyleHooks","mergeToken","genBaseStyle","token","componentCls","antCls","controlSize","dotSize","marginFull","marginPart","colorFillContentHover","handleColorDisabled","calc","Object","assign","position","height","margin","padding","cursor","touchAction","backgroundColor","railBg","borderRadius","borderRadiusXS","transition","motionDurationMid","trackBg","boxSizing","backgroundClip","border","railHoverBg","trackHoverBg","borderColor","boxShadow","handleLineWidth","colorPrimaryBorderHover","dotActiveBorderColor","width","handleSize","outline","content","insetInlineStart","mul","equal","insetBlockStart","add","colorBgElevated","handleColor","handleSizeHover","sub","div","handleLineWidthHover","handleActiveColor","fontSize","display","color","colorTextDescription","textAlign","wordBreak","userSelect","colorText","background","pointerEvents","dotBorderColor","motionDurationSlow","trackBgDisabled","minWidth","genDirectionStyle","horizontal","railSize","railPadding","full","part","handlePos","markInset","handlePosSize","draggableBorderSize","draggableBorder","borderWidth","transform","top","genHorizontalStyle","marginPartWithMark","marginBottom","genVerticalStyle","prepareComponentToken","increaseHandleWidth","controlHeightLG","controlSizeHover","controlHeightSM","lineWidth","colorFillTertiary","colorFillSecondary","colorPrimaryBorder","colorPrimary","colorTextDisabled","onBackground","colorBgContainer","toHexShortString","colorBorderSecondary","colorBgContainerDisabled","sliderToken","controlHeight"],"sources":["/var/www/gavt/node_modules/antd/es/slider/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { TinyColor } from '@ctrl/tinycolor';\nimport { resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\n// =============================== Base ===============================\nconst genBaseStyle = token => {\n  const {\n    componentCls,\n    antCls,\n    controlSize,\n    dotSize,\n    marginFull,\n    marginPart,\n    colorFillContentHover,\n    handleColorDisabled,\n    calc\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n      position: 'relative',\n      height: controlSize,\n      margin: `${unit(marginPart)} ${unit(marginFull)}`,\n      padding: 0,\n      cursor: 'pointer',\n      touchAction: 'none',\n      [`&-vertical`]: {\n        margin: `${unit(marginFull)} ${unit(marginPart)}`\n      },\n      [`${componentCls}-rail`]: {\n        position: 'absolute',\n        backgroundColor: token.railBg,\n        borderRadius: token.borderRadiusXS,\n        transition: `background-color ${token.motionDurationMid}`\n      },\n      [`${componentCls}-track,${componentCls}-tracks`]: {\n        position: 'absolute',\n        transition: `background-color ${token.motionDurationMid}`\n      },\n      [`${componentCls}-track`]: {\n        backgroundColor: token.trackBg,\n        borderRadius: token.borderRadiusXS\n      },\n      [`${componentCls}-track-draggable`]: {\n        boxSizing: 'content-box',\n        backgroundClip: 'content-box',\n        border: 'solid rgba(0,0,0,0)'\n      },\n      '&:hover': {\n        [`${componentCls}-rail`]: {\n          backgroundColor: token.railHoverBg\n        },\n        [`${componentCls}-track`]: {\n          backgroundColor: token.trackHoverBg\n        },\n        [`${componentCls}-dot`]: {\n          borderColor: colorFillContentHover\n        },\n        [`${componentCls}-handle::after`]: {\n          boxShadow: `0 0 0 ${unit(token.handleLineWidth)} ${token.colorPrimaryBorderHover}`\n        },\n        [`${componentCls}-dot-active`]: {\n          borderColor: token.dotActiveBorderColor\n        }\n      },\n      [`${componentCls}-handle`]: {\n        position: 'absolute',\n        width: token.handleSize,\n        height: token.handleSize,\n        outline: 'none',\n        // 扩大选区\n        '&::before': {\n          content: '\"\"',\n          position: 'absolute',\n          insetInlineStart: calc(token.handleLineWidth).mul(-1).equal(),\n          insetBlockStart: calc(token.handleLineWidth).mul(-1).equal(),\n          width: calc(token.handleSize).add(calc(token.handleLineWidth).mul(2)).equal(),\n          height: calc(token.handleSize).add(calc(token.handleLineWidth).mul(2)).equal(),\n          backgroundColor: 'transparent'\n        },\n        '&::after': {\n          content: '\"\"',\n          position: 'absolute',\n          insetBlockStart: 0,\n          insetInlineStart: 0,\n          width: token.handleSize,\n          height: token.handleSize,\n          backgroundColor: token.colorBgElevated,\n          boxShadow: `0 0 0 ${unit(token.handleLineWidth)} ${token.handleColor}`,\n          borderRadius: '50%',\n          cursor: 'pointer',\n          transition: `\n            inset-inline-start ${token.motionDurationMid},\n            inset-block-start ${token.motionDurationMid},\n            width ${token.motionDurationMid},\n            height ${token.motionDurationMid},\n            box-shadow ${token.motionDurationMid}\n          `\n        },\n        '&:hover, &:active, &:focus': {\n          '&::before': {\n            // -(\n            //   (token.handleSizeHover - token.handleSize) / 2 +\n            //   token.handleLineWidthHover\n            // ),\n            insetInlineStart: calc(token.handleSizeHover).sub(token.handleSize).div(2).add(token.handleLineWidthHover).mul(-1).equal(),\n            insetBlockStart: calc(token.handleSizeHover).sub(token.handleSize).div(2).add(token.handleLineWidthHover).mul(-1).equal(),\n            width: calc(token.handleSizeHover).add(calc(token.handleLineWidthHover).mul(2)).equal(),\n            height: calc(token.handleSizeHover).add(calc(token.handleLineWidthHover).mul(2)).equal()\n          },\n          '&::after': {\n            boxShadow: `0 0 0 ${unit(token.handleLineWidthHover)} ${token.handleActiveColor}`,\n            width: token.handleSizeHover,\n            height: token.handleSizeHover,\n            insetInlineStart: token.calc(token.handleSize).sub(token.handleSizeHover).div(2).equal(),\n            insetBlockStart: token.calc(token.handleSize).sub(token.handleSizeHover).div(2).equal()\n          }\n        }\n      },\n      [`${componentCls}-mark`]: {\n        position: 'absolute',\n        fontSize: token.fontSize\n      },\n      [`${componentCls}-mark-text`]: {\n        position: 'absolute',\n        display: 'inline-block',\n        color: token.colorTextDescription,\n        textAlign: 'center',\n        wordBreak: 'keep-all',\n        cursor: 'pointer',\n        userSelect: 'none',\n        '&-active': {\n          color: token.colorText\n        }\n      },\n      [`${componentCls}-step`]: {\n        position: 'absolute',\n        background: 'transparent',\n        pointerEvents: 'none'\n      },\n      [`${componentCls}-dot`]: {\n        position: 'absolute',\n        width: dotSize,\n        height: dotSize,\n        backgroundColor: token.colorBgElevated,\n        border: `${unit(token.handleLineWidth)} solid ${token.dotBorderColor}`,\n        borderRadius: '50%',\n        cursor: 'pointer',\n        transition: `border-color ${token.motionDurationSlow}`,\n        pointerEvents: 'auto',\n        '&-active': {\n          borderColor: token.dotActiveBorderColor\n        }\n      },\n      [`&${componentCls}-disabled`]: {\n        cursor: 'not-allowed',\n        [`${componentCls}-rail`]: {\n          backgroundColor: `${token.railBg} !important`\n        },\n        [`${componentCls}-track`]: {\n          backgroundColor: `${token.trackBgDisabled} !important`\n        },\n        [`\n          ${componentCls}-dot\n        `]: {\n          backgroundColor: token.colorBgElevated,\n          borderColor: token.trackBgDisabled,\n          boxShadow: 'none',\n          cursor: 'not-allowed'\n        },\n        [`${componentCls}-handle::after`]: {\n          backgroundColor: token.colorBgElevated,\n          cursor: 'not-allowed',\n          width: token.handleSize,\n          height: token.handleSize,\n          boxShadow: `0 0 0 ${unit(token.handleLineWidth)} ${handleColorDisabled}`,\n          insetInlineStart: 0,\n          insetBlockStart: 0\n        },\n        [`\n          ${componentCls}-mark-text,\n          ${componentCls}-dot\n        `]: {\n          cursor: `not-allowed !important`\n        }\n      },\n      [`&-tooltip ${antCls}-tooltip-inner`]: {\n        minWidth: 'unset'\n      }\n    })\n  };\n};\n// ============================ Horizontal ============================\nconst genDirectionStyle = (token, horizontal) => {\n  const {\n    componentCls,\n    railSize,\n    handleSize,\n    dotSize,\n    marginFull,\n    calc\n  } = token;\n  const railPadding = horizontal ? 'paddingBlock' : 'paddingInline';\n  const full = horizontal ? 'width' : 'height';\n  const part = horizontal ? 'height' : 'width';\n  const handlePos = horizontal ? 'insetBlockStart' : 'insetInlineStart';\n  const markInset = horizontal ? 'top' : 'insetInlineStart';\n  const handlePosSize = calc(railSize).mul(3).sub(handleSize).div(2).equal();\n  const draggableBorderSize = calc(handleSize).sub(railSize).div(2).equal();\n  const draggableBorder = horizontal ? {\n    borderWidth: `${unit(draggableBorderSize)} 0`,\n    transform: `translateY(${unit(calc(draggableBorderSize).mul(-1).equal())})`\n  } : {\n    borderWidth: `0 ${unit(draggableBorderSize)}`,\n    transform: `translateX(${unit(token.calc(draggableBorderSize).mul(-1).equal())})`\n  };\n  return {\n    [railPadding]: railSize,\n    [part]: calc(railSize).mul(3).equal(),\n    [`${componentCls}-rail`]: {\n      [full]: '100%',\n      [part]: railSize\n    },\n    [`${componentCls}-track,${componentCls}-tracks`]: {\n      [part]: railSize\n    },\n    [`${componentCls}-track-draggable`]: Object.assign({}, draggableBorder),\n    [`${componentCls}-handle`]: {\n      [handlePos]: handlePosSize\n    },\n    [`${componentCls}-mark`]: {\n      // Reset all\n      insetInlineStart: 0,\n      top: 0,\n      // https://github.com/ant-design/ant-design/issues/43731\n      [markInset]: calc(railSize).mul(3).add(horizontal ? 0 : marginFull).equal(),\n      [full]: '100%'\n    },\n    [`${componentCls}-step`]: {\n      // Reset all\n      insetInlineStart: 0,\n      top: 0,\n      [markInset]: railSize,\n      [full]: '100%',\n      [part]: railSize\n    },\n    [`${componentCls}-dot`]: {\n      position: 'absolute',\n      [handlePos]: calc(railSize).sub(dotSize).div(2).equal()\n    }\n  };\n};\n// ============================ Horizontal ============================\nconst genHorizontalStyle = token => {\n  const {\n    componentCls,\n    marginPartWithMark\n  } = token;\n  return {\n    [`${componentCls}-horizontal`]: Object.assign(Object.assign({}, genDirectionStyle(token, true)), {\n      [`&${componentCls}-with-marks`]: {\n        marginBottom: marginPartWithMark\n      }\n    })\n  };\n};\n// ============================= Vertical =============================\nconst genVerticalStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [`${componentCls}-vertical`]: Object.assign(Object.assign({}, genDirectionStyle(token, false)), {\n      height: '100%'\n    })\n  };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => {\n  // Handle line width is always width-er 1px\n  const increaseHandleWidth = 1;\n  const controlSize = token.controlHeightLG / 4;\n  const controlSizeHover = token.controlHeightSM / 2;\n  const handleLineWidth = token.lineWidth + increaseHandleWidth;\n  const handleLineWidthHover = token.lineWidth + increaseHandleWidth * 3;\n  return {\n    controlSize,\n    railSize: 4,\n    handleSize: controlSize,\n    handleSizeHover: controlSizeHover,\n    dotSize: 8,\n    handleLineWidth,\n    handleLineWidthHover,\n    railBg: token.colorFillTertiary,\n    railHoverBg: token.colorFillSecondary,\n    trackBg: token.colorPrimaryBorder,\n    trackHoverBg: token.colorPrimaryBorderHover,\n    handleColor: token.colorPrimaryBorder,\n    handleActiveColor: token.colorPrimary,\n    handleColorDisabled: new TinyColor(token.colorTextDisabled).onBackground(token.colorBgContainer).toHexShortString(),\n    dotBorderColor: token.colorBorderSecondary,\n    dotActiveBorderColor: token.colorPrimaryBorder,\n    trackBgDisabled: token.colorBgContainerDisabled\n  };\n};\nexport default genStyleHooks('Slider', token => {\n  const sliderToken = mergeToken(token, {\n    marginPart: token.calc(token.controlHeight).sub(token.controlSize).div(2).equal(),\n    marginFull: token.calc(token.controlSize).div(2).equal(),\n    marginPartWithMark: token.calc(token.controlHeightLG).sub(token.controlSize).equal()\n  });\n  return [genBaseStyle(sliderToken), genHorizontalStyle(sliderToken), genVerticalStyle(sliderToken)];\n}, prepareComponentToken);"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,cAAc,QAAQ,aAAa;AAC5C,SAASC,aAAa,EAAEC,UAAU,QAAQ,sBAAsB;AAChE;AACA,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IACJC,YAAY;IACZC,MAAM;IACNC,WAAW;IACXC,OAAO;IACPC,UAAU;IACVC,UAAU;IACVC,qBAAqB;IACrBC,mBAAmB;IACnBC;EACF,CAAC,GAAGT,KAAK;EACT,OAAO;IACL,CAACC,YAAY,GAAGS,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEf,cAAc,CAACI,KAAK,CAAC,CAAC,EAAE;MACtEY,QAAQ,EAAE,UAAU;MACpBC,MAAM,EAAEV,WAAW;MACnBW,MAAM,EAAG,GAAEpB,IAAI,CAACY,UAAU,CAAE,IAAGZ,IAAI,CAACW,UAAU,CAAE,EAAC;MACjDU,OAAO,EAAE,CAAC;MACVC,MAAM,EAAE,SAAS;MACjBC,WAAW,EAAE,MAAM;MACnB,CAAE,YAAW,GAAG;QACdH,MAAM,EAAG,GAAEpB,IAAI,CAACW,UAAU,CAAE,IAAGX,IAAI,CAACY,UAAU,CAAE;MAClD,CAAC;MACD,CAAE,GAAEL,YAAa,OAAM,GAAG;QACxBW,QAAQ,EAAE,UAAU;QACpBM,eAAe,EAAElB,KAAK,CAACm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