{"ast":null,"code":"import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport raf from \"rc-util/es/raf\";\nfunction throttleByAnimationFrame(fn) {\n let requestId;\n const later = args => () => {\n requestId = null;\n fn.apply(void 0, _toConsumableArray(args));\n };\n const throttled = function () {\n if (requestId == null) {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n requestId = raf(later(args));\n }\n };\n throttled.cancel = () => {\n raf.cancel(requestId);\n requestId = null;\n };\n return throttled;\n}\nexport default throttleByAnimationFrame;","map":{"version":3,"names":["_toConsumableArray","raf","throttleByAnimationFrame","fn","requestId","later","args","apply","throttled","_len","arguments","length","Array","_key","cancel"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/_util/throttleByAnimationFrame.js"],"sourcesContent":["import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport raf from \"rc-util/es/raf\";\nfunction throttleByAnimationFrame(fn) {\n let requestId;\n const later = args => () => {\n requestId = null;\n fn.apply(void 0, _toConsumableArray(args));\n };\n const throttled = function () {\n if (requestId == null) {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n requestId = raf(later(args));\n }\n };\n throttled.cancel = () => {\n raf.cancel(requestId);\n requestId = null;\n };\n return throttled;\n}\nexport default throttleByAnimationFrame;"],"mappings":"AAAA,OAAOA,kBAAkB,MAAM,8CAA8C;AAC7E,OAAOC,GAAG,MAAM,gBAAgB;AAChC,SAASC,wBAAwBA,CAACC,EAAE,EAAE;EACpC,IAAIC,SAAS;EACb,MAAMC,KAAK,GAAGC,IAAI,IAAI,MAAM;IAC1BF,SAAS,GAAG,IAAI;IAChBD,EAAE,CAACI,KAAK,CAAC,KAAK,CAAC,EAAEP,kBAAkB,CAACM,IAAI,CAAC,CAAC;EAC5C,CAAC;EACD,MAAME,SAAS,GAAG,SAAAA,CAAA,EAAY;IAC5B,IAAIJ,SAAS,IAAI,IAAI,EAAE;MACrB,KAAK,IAAIK,IAAI,GAAGC,SAAS,CAACC,MAAM,EAAEL,IAAI,GAAG,IAAIM,KAAK,CAACH,IAAI,CAAC,EAAEI,IAAI,GAAG,CAAC,EAAEA,IAAI,GAAGJ,IAAI,EAAEI,IAAI,EAAE,EAAE;QACvFP,IAAI,CAACO,IAAI,CAAC,GAAGH,SAAS,CAACG,IAAI,CAAC;MAC9B;MACAT,SAAS,GAAGH,GAAG,CAACI,KAAK,CAACC,IAAI,CAAC,CAAC;IAC9B;EACF,CAAC;EACDE,SAAS,CAACM,MAAM,GAAG,MAAM;IACvBb,GAAG,CAACa,MAAM,CAACV,SAAS,CAAC;IACrBA,SAAS,GAAG,IAAI;EAClB,CAAC;EACD,OAAOI,SAAS;AAClB;AACA,eAAeN,wBAAwB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}