"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = function(exports1, definition) {
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = function(obj, prop) {
        return Object.prototype.hasOwnProperty.call(obj, prop);
    };
})();
(()=>{
    __webpack_require__.r = function(exports1) {
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    useStyles: ()=>useStyles
});
const index_js_namespaceObject = require("../__builtins__/index.js");
const useStyles = (0, index_js_namespaceObject.genStyleHook)('upload', (token)=>{
    const { componentCls, antCls } = token;
    return {
        ["".concat(componentCls, "-wrapper")]: {
            '&.tb-upload-small': {
                ["".concat(componentCls, "-list-picture-card-container").concat(componentCls, "-list-picture-card-container")]: {
                    margin: '0 3px 3px 0 !important',
                    height: '32px !important',
                    width: '32px !important',
                    marginBlock: '0 !important'
                },
                ["".concat(componentCls, "-list-picture-card ").concat(componentCls, "-list-item-name").concat(componentCls, "-list-item-name")]: {
                    display: 'none !important'
                },
                ["".concat(componentCls, "-list-picture ").concat(componentCls, "-list-item, ").concat(componentCls, "-list-picture-card ").concat(componentCls, "-list-item")]: {
                    padding: '1px !important'
                }
            },
            '&.tb-upload-large': {
                ["".concat(componentCls, "-list-picture-card-container").concat(componentCls, "-list-picture-card-container")]: {
                    margin: '0 3px 3px 0 !important',
                    height: '160px !important',
                    width: '160px !important',
                    marginBlock: '0 28px !important'
                }
            },
            '&.tb-upload': {
                ["".concat(componentCls, "-list-item").concat(componentCls, "-list-item-list-type-picture-card")]: {
                    padding: '3px !important'
                },
                ["".concat(componentCls, "-list-item-thumbnail")]: {
                    img: {
                        objectFit: 'cover !important'
                    }
                },
                ["".concat(componentCls, "-list-item-actions")]: {
                    left: 'auto !important',
                    right: '2px !important',
                    top: '2px !important',
                    transform: 'none !important',
                    width: 'fit-content !important',
                    ["".concat(antCls, "-btn-text:hover, ").concat(antCls, "-btn-text:focus")]: {
                        background: 'rgba(0, 0, 0, 0.4)'
                    }
                },
                ["".concat(componentCls, "-list-picture-card ").concat(componentCls, "-list-item-info")]: {
                    overflow: 'inherit',
                    width: '100%',
                    height: '100%'
                },
                ["".concat(componentCls, "-list-picture-card ").concat(componentCls, "-list-item-name")]: {
                    display: 'block !important',
                    marginTop: '10px',
                    fontSize: '13px',
                    color: '#636363'
                },
                ["".concat(componentCls, "-list-picture-card ").concat(componentCls, "-list-item::before")]: {
                    display: 'none !important'
                },
                ["".concat(componentCls, "-list-picture-card ").concat(componentCls, "-list-item-progress")]: {
                    bottom: 'calc(50% - 11px)',
                    pointerEvents: 'none'
                },
                ["".concat(antCls, "-btn")]: {
                    background: 'rgba(0, 0, 0, 0.5)'
                },
                ["".concat(componentCls, "-list-picture-card-container")]: {
                    marginBlock: '0 28px !important'
                }
            }
        }
    };
});
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
