{"ast":null,"code":"const initMotionCommon = duration => ({\n animationDuration: duration,\n animationFillMode: 'both'\n});\n// FIXME: origin less code seems same as initMotionCommon. Maybe we can safe remove\nconst initMotionCommonLeave = duration => ({\n animationDuration: duration,\n animationFillMode: 'both'\n});\nexport const initMotion = function (motionCls, inKeyframes, outKeyframes, duration) {\n let sameLevel = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n const sameLevelPrefix = sameLevel ? '&' : '';\n return {\n [`\n ${sameLevelPrefix}${motionCls}-enter,\n ${sameLevelPrefix}${motionCls}-appear\n `]: Object.assign(Object.assign({}, initMotionCommon(duration)), {\n animationPlayState: 'paused'\n }),\n [`${sameLevelPrefix}${motionCls}-leave`]: Object.assign(Object.assign({}, initMotionCommonLeave(duration)), {\n animationPlayState: 'paused'\n }),\n [`\n ${sameLevelPrefix}${motionCls}-enter${motionCls}-enter-active,\n ${sameLevelPrefix}${motionCls}-appear${motionCls}-appear-active\n `]: {\n animationName: inKeyframes,\n animationPlayState: 'running'\n },\n [`${sameLevelPrefix}${motionCls}-leave${motionCls}-leave-active`]: {\n animationName: outKeyframes,\n animationPlayState: 'running',\n pointerEvents: 'none'\n }\n };\n};","map":{"version":3,"names":["initMotionCommon","duration","animationDuration","animationFillMode","initMotionCommonLeave","initMotion","motionCls","inKeyframes","outKeyframes","sameLevel","arguments","length","undefined","sameLevelPrefix","Object","assign","animationPlayState","animationName","pointerEvents"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/style/motion/motion.js"],"sourcesContent":["const initMotionCommon = duration => ({\n animationDuration: duration,\n animationFillMode: 'both'\n});\n// FIXME: origin less code seems same as initMotionCommon. Maybe we can safe remove\nconst initMotionCommonLeave = duration => ({\n animationDuration: duration,\n animationFillMode: 'both'\n});\nexport const initMotion = function (motionCls, inKeyframes, outKeyframes, duration) {\n let sameLevel = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n const sameLevelPrefix = sameLevel ? '&' : '';\n return {\n [`\n ${sameLevelPrefix}${motionCls}-enter,\n ${sameLevelPrefix}${motionCls}-appear\n `]: Object.assign(Object.assign({}, initMotionCommon(duration)), {\n animationPlayState: 'paused'\n }),\n [`${sameLevelPrefix}${motionCls}-leave`]: Object.assign(Object.assign({}, initMotionCommonLeave(duration)), {\n animationPlayState: 'paused'\n }),\n [`\n ${sameLevelPrefix}${motionCls}-enter${motionCls}-enter-active,\n ${sameLevelPrefix}${motionCls}-appear${motionCls}-appear-active\n `]: {\n animationName: inKeyframes,\n animationPlayState: 'running'\n },\n [`${sameLevelPrefix}${motionCls}-leave${motionCls}-leave-active`]: {\n animationName: outKeyframes,\n animationPlayState: 'running',\n pointerEvents: 'none'\n }\n };\n};"],"mappings":"AAAA,MAAMA,gBAAgB,GAAGC,QAAQ,KAAK;EACpCC,iBAAiB,EAAED,QAAQ;EAC3BE,iBAAiB,EAAE;AACrB,CAAC,CAAC;AACF;AACA,MAAMC,qBAAqB,GAAGH,QAAQ,KAAK;EACzCC,iBAAiB,EAAED,QAAQ;EAC3BE,iBAAiB,EAAE;AACrB,CAAC,CAAC;AACF,OAAO,MAAME,UAAU,GAAG,SAAAA,CAAUC,SAAS,EAAEC,WAAW,EAAEC,YAAY,EAAEP,QAAQ,EAAE;EAClF,IAAIQ,SAAS,GAAGC,SAAS,CAACC,MAAM,GAAG,CAAC,IAAID,SAAS,CAAC,CAAC,CAAC,KAAKE,SAAS,GAAGF,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK;EACzF,MAAMG,eAAe,GAAGJ,SAAS,GAAG,GAAG,GAAG,EAAE;EAC5C,OAAO;IACL,CAAC;AACL,QAAQI,eAAe,GAAGP,SAAS;AACnC,QAAQO,eAAe,GAAGP,SAAS;AACnC,KAAK,GAAGQ,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEf,gBAAgB,CAACC,QAAQ,CAAC,CAAC,EAAE;MAC/De,kBAAkB,EAAE;IACtB,CAAC,CAAC;IACF,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