PromoCursed/node_modules/.cache/babel-loader/73ca03b2cde2864f508c12a34e21ab8ff12da25d98079214a5298c405d74166e.json

1 line
1.9 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"import toArray from \"rc-util/es/Children/toArray\";\nfunction useItems(items, children) {\n if (items && Array.isArray(items)) {\n return items;\n }\n return toArray(children).map(ele => {\n var _a, _b;\n return Object.assign({\n children: (_b = (_a = ele === null || ele === void 0 ? void 0 : ele.props) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : ''\n }, ele.props);\n });\n}\nexport default useItems;","map":{"version":3,"names":["toArray","useItems","items","children","Array","isArray","map","ele","_a","_b","Object","assign","props"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/timeline/useItems.js"],"sourcesContent":["import toArray from \"rc-util/es/Children/toArray\";\nfunction useItems(items, children) {\n if (items && Array.isArray(items)) {\n return items;\n }\n return toArray(children).map(ele => {\n var _a, _b;\n return Object.assign({\n children: (_b = (_a = ele === null || ele === void 0 ? void 0 : ele.props) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : ''\n }, ele.props);\n });\n}\nexport default useItems;"],"mappings":"AAAA,OAAOA,OAAO,MAAM,6BAA6B;AACjD,SAASC,QAAQA,CAACC,KAAK,EAAEC,QAAQ,EAAE;EACjC,IAAID,KAAK,IAAIE,KAAK,CAACC,OAAO,CAACH,KAAK,CAAC,EAAE;IACjC,OAAOA,KAAK;EACd;EACA,OAAOF,OAAO,CAACG,QAAQ,CAAC,CAACG,GAAG,CAACC,GAAG,IAAI;IAClC,IAAIC,EAAE,EAAEC,EAAE;IACV,OAAOC,MAAM,CAACC,MAAM,CAAC;MACnBR,QAAQ,EAAE,CAACM,EAAE,GAAG,CAACD,EAAE,GAAGD,GAAG,KAAK,IAAI,IAAIA,GAAG,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,GAAG,CAACK,KAAK,MAAM,IAAI,IAAIJ,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,EAAE,CAACL,QAAQ,MAAM,IAAI,IAAIM,EAAE,KAAK,KAAK,CAAC,GAAGA,EAAE,GAAG;IAChK,CAAC,EAAEF,GAAG,CAACK,KAAK,CAAC;EACf,CAAC,CAAC;AACJ;AACA,eAAeX,QAAQ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}