{"ast":null,"code":"const genStepsProgressDotStyle = token => {\n  const {\n    componentCls,\n    descriptionMaxWidth,\n    lineHeight,\n    dotCurrentSize,\n    dotSize,\n    motionDurationSlow\n  } = token;\n  return {\n    [`&${componentCls}-dot, &${componentCls}-dot${componentCls}-small`]: {\n      [`${componentCls}-item`]: {\n        '&-title': {\n          lineHeight\n        },\n        '&-tail': {\n          top: Math.floor((token.dotSize - token.lineWidth * 3) / 2),\n          width: '100%',\n          marginTop: 0,\n          marginBottom: 0,\n          marginInline: `${descriptionMaxWidth / 2}px 0`,\n          padding: 0,\n          '&::after': {\n            width: `calc(100% - ${token.marginSM * 2}px)`,\n            height: token.lineWidth * 3,\n            marginInlineStart: token.marginSM\n          }\n        },\n        '&-icon': {\n          width: dotSize,\n          height: dotSize,\n          marginInlineStart: (token.descriptionMaxWidth - dotSize) / 2,\n          paddingInlineEnd: 0,\n          lineHeight: `${dotSize}px`,\n          background: 'transparent',\n          border: 0,\n          [`${componentCls}-icon-dot`]: {\n            position: 'relative',\n            float: 'left',\n            width: '100%',\n            height: '100%',\n            borderRadius: 100,\n            transition: `all ${motionDurationSlow}`,\n            /* expand hover area */\n            '&::after': {\n              position: 'absolute',\n              top: -token.marginSM,\n              insetInlineStart: (dotSize - token.controlHeightLG * 1.5) / 2,\n              width: token.controlHeightLG * 1.5,\n              height: token.controlHeight,\n              background: 'transparent',\n              content: '\"\"'\n            }\n          }\n        },\n        '&-content': {\n          width: descriptionMaxWidth\n        },\n        [`&-process ${componentCls}-item-icon`]: {\n          position: 'relative',\n          top: (dotSize - dotCurrentSize) / 2,\n          width: dotCurrentSize,\n          height: dotCurrentSize,\n          lineHeight: `${dotCurrentSize}px`,\n          background: 'none',\n          marginInlineStart: (token.descriptionMaxWidth - dotCurrentSize) / 2\n        },\n        [`&-process ${componentCls}-icon`]: {\n          [`&:first-child ${componentCls}-icon-dot`]: {\n            insetInlineStart: 0\n          }\n        }\n      }\n    },\n    [`&${componentCls}-vertical${componentCls}-dot`]: {\n      [`${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - dotSize) / 2,\n        marginInlineStart: 0,\n        background: 'none'\n      },\n      [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - dotCurrentSize) / 2,\n        top: 0,\n        insetInlineStart: (dotSize - dotCurrentSize) / 2,\n        marginInlineStart: 0\n      },\n      // https://github.com/ant-design/ant-design/issues/18354\n      [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n        top: (token.controlHeight - dotSize) / 2,\n        insetInlineStart: 0,\n        margin: 0,\n        padding: `${dotSize + token.paddingXS}px 0 ${token.paddingXS}px`,\n        '&::after': {\n          marginInlineStart: (dotSize - token.lineWidth) / 2\n        }\n      },\n      [`&${componentCls}-small`]: {\n        [`${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - dotSize) / 2\n        },\n        [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - dotCurrentSize) / 2\n        },\n        [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n          top: (token.controlHeightSM - dotSize) / 2\n        }\n      },\n      [`${componentCls}-item:first-child ${componentCls}-icon-dot`]: {\n        insetInlineStart: 0\n      },\n      [`${componentCls}-item-content`]: {\n        width: 'inherit'\n      }\n    }\n  };\n};\nexport default genStepsProgressDotStyle;","map":{"version":3,"names":["genStepsProgressDotStyle","token","componentCls","descriptionMaxWidth","lineHeight","dotCurrentSize","dotSize","motionDurationSlow","top","Math","floor","lineWidth","width","marginTop","marginBottom","marginInline","padding","marginSM","height","marginInlineStart","paddingInlineEnd","background","border","position","float","borderRadius","transition","insetInlineStart","controlHeightLG","controlHeight","content","margin","paddingXS","controlHeightSM"],"sources":["/var/www/gavt/node_modules/antd/es/steps/style/progress-dot.js"],"sourcesContent":["const genStepsProgressDotStyle = token => {\n  const {\n    componentCls,\n    descriptionMaxWidth,\n    lineHeight,\n    dotCurrentSize,\n    dotSize,\n    motionDurationSlow\n  } = token;\n  return {\n    [`&${componentCls}-dot, &${componentCls}-dot${componentCls}-small`]: {\n      [`${componentCls}-item`]: {\n        '&-title': {\n          lineHeight\n        },\n        '&-tail': {\n          top: Math.floor((token.dotSize - token.lineWidth * 3) / 2),\n          width: '100%',\n          marginTop: 0,\n          marginBottom: 0,\n          marginInline: `${descriptionMaxWidth / 2}px 0`,\n          padding: 0,\n          '&::after': {\n            width: `calc(100% - ${token.marginSM * 2}px)`,\n            height: token.lineWidth * 3,\n            marginInlineStart: token.marginSM\n          }\n        },\n        '&-icon': {\n          width: dotSize,\n          height: dotSize,\n          marginInlineStart: (token.descriptionMaxWidth - dotSize) / 2,\n          paddingInlineEnd: 0,\n          lineHeight: `${dotSize}px`,\n          background: 'transparent',\n          border: 0,\n          [`${componentCls}-icon-dot`]: {\n            position: 'relative',\n            float: 'left',\n            width: '100%',\n            height: '100%',\n            borderRadius: 100,\n            transition: `all ${motionDurationSlow}`,\n            /* expand hover area */\n            '&::after': {\n              position: 'absolute',\n              top: -token.marginSM,\n              insetInlineStart: (dotSize - token.controlHeightLG * 1.5) / 2,\n              width: token.controlHeightLG * 1.5,\n              height: token.controlHeight,\n              background: 'transparent',\n              content: '\"\"'\n            }\n          }\n        },\n        '&-content': {\n          width: descriptionMaxWidth\n        },\n        [`&-process ${componentCls}-item-icon`]: {\n          position: 'relative',\n          top: (dotSize - dotCurrentSize) / 2,\n          width: dotCurrentSize,\n          height: dotCurrentSize,\n          lineHeight: `${dotCurrentSize}px`,\n          background: 'none',\n          marginInlineStart: (token.descriptionMaxWidth - dotCurrentSize) / 2\n        },\n        [`&-process ${componentCls}-icon`]: {\n          [`&:first-child ${componentCls}-icon-dot`]: {\n            insetInlineStart: 0\n          }\n        }\n      }\n    },\n    [`&${componentCls}-vertical${componentCls}-dot`]: {\n      [`${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - dotSize) / 2,\n        marginInlineStart: 0,\n        background: 'none'\n      },\n      [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - dotCurrentSize) / 2,\n        top: 0,\n        insetInlineStart: (dotSize - dotCurrentSize) / 2,\n        marginInlineStart: 0\n      },\n      // https://github.com/ant-design/ant-design/issues/18354\n      [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n        top: (token.controlHeight - dotSize) / 2,\n        insetInlineStart: 0,\n        margin: 0,\n        padding: `${dotSize + token.paddingXS}px 0 ${token.paddingXS}px`,\n        '&::after': {\n          marginInlineStart: (dotSize - token.lineWidth) / 2\n        }\n      },\n      [`&${componentCls}-small`]: {\n        [`${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - dotSize) / 2\n        },\n        [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - dotCurrentSize) / 2\n        },\n        [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n          top: (token.controlHeightSM - dotSize) / 2\n        }\n      },\n      [`${componentCls}-item:first-child ${componentCls}-icon-dot`]: {\n        insetInlineStart: 0\n      },\n      [`${componentCls}-item-content`]: {\n        width: 'inherit'\n      }\n    }\n  };\n};\nexport default genStepsProgressDotStyle;"],"mappings":"AAAA,MAAMA,wBAAwB,GAAGC,KAAK,IAAI;EACxC,MAAM;IACJC,YAAY;IACZC,mBAAmB;IACnBC,UAAU;IACVC,cAAc;IACdC,OAAO;IACPC;EACF,CAAC,GAAGN,KAAK;EACT,OAAO;IACL,CAAE,IAAGC,YAAa,UAASA,YAAa,OAAMA,YAAa,QAAO,GAAG;MACnE,CAAE,GAAEA,YAAa,OAAM,GAAG;QACxB,SAAS,EAAE;UACTE;QACF,CAAC;QACD,QAAQ,EAAE;UACRI,GAAG,EAAEC,IAAI,CAACC,KAAK,CAAC,CAACT,KAAK,CAACK,OAAO,GAAGL,KAAK,CAACU,SAAS,GAAG,CAAC,IAAI,CAAC,CAAC;UAC1DC,KAAK,EAAE,MAAM;UACbC,SAAS,EAAE,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