{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genDraggerStyle = token => {\n  const {\n    componentCls,\n    iconCls\n  } = token;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-drag`]: {\n        position: 'relative',\n        width: '100%',\n        height: '100%',\n        textAlign: 'center',\n        background: token.colorFillAlter,\n        border: `${unit(token.lineWidth)} dashed ${token.colorBorder}`,\n        borderRadius: token.borderRadiusLG,\n        cursor: 'pointer',\n        transition: `border-color ${token.motionDurationSlow}`,\n        [componentCls]: {\n          padding: token.padding\n        },\n        [`${componentCls}-btn`]: {\n          display: 'table',\n          width: '100%',\n          height: '100%',\n          outline: 'none',\n          borderRadius: token.borderRadiusLG,\n          '&:focus-visible': {\n            outline: `${unit(token.lineWidthFocus)} solid ${token.colorPrimaryBorder}`\n          }\n        },\n        [`${componentCls}-drag-container`]: {\n          display: 'table-cell',\n          verticalAlign: 'middle'\n        },\n        [`\n          &:not(${componentCls}-disabled):hover,\n          &-hover:not(${componentCls}-disabled)\n        `]: {\n          borderColor: token.colorPrimaryHover\n        },\n        [`p${componentCls}-drag-icon`]: {\n          marginBottom: token.margin,\n          [iconCls]: {\n            color: token.colorPrimary,\n            fontSize: token.uploadThumbnailSize\n          }\n        },\n        [`p${componentCls}-text`]: {\n          margin: `0 0 ${unit(token.marginXXS)}`,\n          color: token.colorTextHeading,\n          fontSize: token.fontSizeLG\n        },\n        [`p${componentCls}-hint`]: {\n          color: token.colorTextDescription,\n          fontSize: token.fontSize\n        },\n        // ===================== Disabled =====================\n        [`&${componentCls}-disabled`]: {\n          [`p${componentCls}-drag-icon ${iconCls},\n            p${componentCls}-text,\n            p${componentCls}-hint\n          `]: {\n            color: token.colorTextDisabled\n          }\n        }\n      }\n    }\n  };\n};\nexport default genDraggerStyle;","map":{"version":3,"names":["unit","genDraggerStyle","token","componentCls","iconCls","position","width","height","textAlign","background","colorFillAlter","border","lineWidth","colorBorder","borderRadius","borderRadiusLG","cursor","transition","motionDurationSlow","padding","display","outline","lineWidthFocus","colorPrimaryBorder","verticalAlign","borderColor","colorPrimaryHover","marginBottom","margin","color","colorPrimary","fontSize","uploadThumbnailSize","marginXXS","colorTextHeading","fontSizeLG","colorTextDescription","colorTextDisabled"],"sources":["D:/Project/UC_Trains_Voice/react-demo/node_modules/antd/es/upload/style/dragger.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genDraggerStyle = token => {\n  const {\n    componentCls,\n    iconCls\n  } = token;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-drag`]: {\n        position: 'relative',\n        width: '100%',\n        height: '100%',\n        textAlign: 'center',\n        background: token.colorFillAlter,\n        border: `${unit(token.lineWidth)} dashed ${token.colorBorder}`,\n        borderRadius: token.borderRadiusLG,\n        cursor: 'pointer',\n        transition: `border-color ${token.motionDurationSlow}`,\n        [componentCls]: {\n          padding: token.padding\n        },\n        [`${componentCls}-btn`]: {\n          display: 'table',\n          width: '100%',\n          height: '100%',\n          outline: 'none',\n          borderRadius: token.borderRadiusLG,\n          '&:focus-visible': {\n            outline: `${unit(token.lineWidthFocus)} solid ${token.colorPrimaryBorder}`\n          }\n        },\n        [`${componentCls}-drag-container`]: {\n          display: 'table-cell',\n          verticalAlign: 'middle'\n        },\n        [`\n          &:not(${componentCls}-disabled):hover,\n          &-hover:not(${componentCls}-disabled)\n        `]: {\n          borderColor: token.colorPrimaryHover\n        },\n        [`p${componentCls}-drag-icon`]: {\n          marginBottom: token.margin,\n          [iconCls]: {\n            color: token.colorPrimary,\n            fontSize: token.uploadThumbnailSize\n          }\n        },\n        [`p${componentCls}-text`]: {\n          margin: `0 0 ${unit(token.marginXXS)}`,\n          color: token.colorTextHeading,\n          fontSize: token.fontSizeLG\n        },\n        [`p${componentCls}-hint`]: {\n          color: token.colorTextDescription,\n          fontSize: token.fontSize\n        },\n        // ===================== Disabled =====================\n        [`&${componentCls}-disabled`]: {\n          [`p${componentCls}-drag-icon ${iconCls},\n            p${componentCls}-text,\n            p${componentCls}-hint\n          `]: {\n            color: token.colorTextDisabled\n          }\n        }\n      }\n    }\n  };\n};\nexport default genDraggerStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,MAAMC,eAAe,GAAGC,KAAK,IAAI;EAC/B,MAAM;IACJC,YAAY;IACZC;EACF,CAAC,GAAGF,KAAK;EACT,OAAO;IACL,CAAE,GAAEC,YAAa,UAAS,GAAG;MAC3B,CAAE,GAAEA,YAAa,OAAM,GAAG;QACxBE,QAAQ,EAAE,UAAU;QACpBC,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,MAAM;QACdC,SAAS,EAAE,QAAQ;QACnBC,UAAU,EAAEP,KAAK,CAACQ,cAAc;QAChCC,MAAM,EAAG,GAAEX,IAAI,CAACE,KAAK,CAACU,SAAS,CAAE,WAAUV,KAAK,CAACW,WAAY,EAAC;QAC9DC,YAAY,EAAEZ,KAAK,CAACa,cAAc;QAClCC,MAAM,EAAE,SAAS;QACjBC,UAAU,EAAG,gBAAef,KAAK,CAACgB,kBAAmB,EAAC;QACtD,CAACf,YAAY,GAAG;UACdgB,OAAO,EAAEjB,KAAK,CAACiB;QACjB,CAAC;QACD,CAAE,GAAEhB,YAAa,MAAK,GAAG;UACvBiB,OAAO,EAAE,OAAO;UAChBd,KAAK,EAAE,MAAM;UACbC,MAAM,EAAE,MAAM;UACdc,OAAO,EAAE,MAAM;UACfP,YAAY,EAAEZ,KAAK,CAACa,cAAc;UAClC,iBAAiB,EAAE;YACjBM,OAAO,EAAG,GAAErB,IAAI,CAACE,KAAK,CAACoB,cAAc,CAAE,UAASpB,KAAK,CAACqB,kBAAmB;UAC3E;QACF,CAAC;QACD,CAAE,GAAEpB,YAAa,iBAAgB,GAAG;UAClCiB,OAAO,EAAE,YAAY;UACrBI,aAAa,EAAE;QACjB,CAAC;QACD,CAAE;AACV,kBAAkBrB,YAAa;AAC/B,wBAAwBA,YAAa;AACrC,SAAS,GAAG;UACFsB,WAAW,EAAEvB,KAA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