Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ant-design/cssinjs

Package Overview
Dependencies
Maintainers
10
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/cssinjs - npm Package Compare versions

Comparing version 1.18.1 to 1.18.2

2

dist/umd/cssinjs.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React")):"function"==typeof define&&define.amd?define(["React"],t):"object"==typeof exports?exports.antdCssinjs=t(require("React")):e.antdCssinjs=t(e.React)}(self,(function(e){return function(){var t={302:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);var r=t;for(;r;){if(r===e)return!0;r=r.parentNode}return!1}},138:function(e,t,r){"use strict";var n=r(740).default;t.jL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t);if(r){var n=f(t);n.removeChild(r)}},t.hq=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=f(r);m(n,r);var o=h(t,r);if(o){var i,a,c;if(null!==(i=r.csp)&&void 0!==i&&i.nonce&&o.nonce!==(null===(a=r.csp)||void 0===a?void 0:a.nonce))o.nonce=null===(c=r.csp)||void 0===c?void 0:c.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var u=v(e,r);return u.setAttribute(s(r),t),u};var o=n(r(302)),i=n(r(753)),a="data-rc-order",c="data-rc-priority",u="rc-util-key",l=new Map;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):u}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function p(e){return Array.from((l.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var r=t.csp,n=t.prepend,i=t.priority,u=void 0===i?0:i,l=d(n),s="prependQueue"===l,v=document.createElement("style");v.setAttribute(a,l),s&&u&&v.setAttribute(c,"".concat(u)),null!=r&&r.nonce&&(v.nonce=null==r?void 0:r.nonce),v.innerHTML=e;var h=f(t),m=h.firstChild;if(n){if(s){var y=p(h).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(c)||0);return u>=t}));if(y.length)return h.insertBefore(v,y[y.length-1].nextSibling),v}h.insertBefore(v,m)}else h.appendChild(v);return v}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(t);return p(r).find((function(r){return r.getAttribute(s(t))===e}))}function m(e,t){var r=l.get(e);if(!r||!(0,i.default)(document,r)){var n=v("",t),o=n.parentNode;l.set(e,o),e.removeChild(n)}}},35:function(e,t,r){"use strict";var n=r(740).default,o=r(543).default;t.ZP=void 0;var i=o(r(24)),a=(0,n(r(302)).default)()?i.useLayoutEffect:i.useEffect,c=function(e,t){var r=i.useRef(!0);a((function(){return e(r.current)}),t),a((function(){return r.current=!1,function(){r.current=!0}}),[])};t.ZP=c},793:function(e,t,r){"use strict";var n=r(543).default;t.Z=function(e,t,r){var n=o.useRef({});"value"in n.current&&!r(n.current.condition,t)||(n.current.value=e(),n.current.condition=t);return n.current.value};var o=n(r(24))},872:function(e,t,r){"use strict";var n=r(740).default;t.Z=void 0;var o=n(r(191)),i=n(r(311));t.Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new Set;function a(e,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,u=n.has(e);if((0,i.default)(!u,"Warning: There may be circular references"),u)return!1;if(e===t)return!0;if(r&&c>1)return!1;n.add(e);var l=c+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var s=0;s<e.length;s++)if(!a(e[s],t[s],l))return!1;return!0}if(e&&t&&"object"===(0,o.default)(e)&&"object"===(0,o.default)(t)){var f=Object.keys(e);return f.length===Object.keys(t).length&&f.every((function(r){return a(e[r],t[r],l)}))}return!1}return a(e,t)}},311:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=u,t.default=void 0,t.note=a,t.noteOnce=s,t.preMessage=void 0,t.resetWarned=c,t.warning=i,t.warningOnce=l;var r={},n=[],o=t.preMessage=function(e){n.push(e)};function i(e,t){}function a(e,t){}function c(){r={}}function u(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){u(i,e,t)}function s(e,t){u(a,e,t)}l.preMessage=o,l.resetWarned=c,l.noteOnce=s;t.default=l},24:function(t){"use strict";t.exports=e},740:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},543:function(e,t,r){var n=r(191).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=a?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(i,c,u):i[c]=e[c]}return i.default=e,r&&r.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},191:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},317:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},180:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},786:function(e,t,r){var n=r(317);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},486:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},702:function(e,t,r){var n=r(281);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},143:function(e,t,r){var n=r(281);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},55:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},682:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},249:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}},e.exports.__esModule=!0,e.exports.default=e.exports},20:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},114:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},118:function(e,t,r){var n=r(143);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},5:function(e,t,r){var n=r(166);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},166:function(e){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},925:function(e,t,r){var n=r(180),o=r(249),i=r(508),a=r(20);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},44:function(e,t,r){var n=r(786),o=r(682),i=r(508),a=r(114);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},224:function(e,t,r){var n=r(944).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},281:function(e,t,r){var n=r(944).default,o=r(224);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},944:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},508:function(e,t,r){var n=r(317);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{Keyframes:function(){return Pt},NaNLinter:function(){return ft},StyleProvider:function(){return E},Theme:function(){return B},_experimental:function(){return Dt},createCache:function(){return w},createTheme:function(){return N},extractStyle:function(){return Rt},getComputedToken:function(){return ve},legacyLogicalPropertiesTransformer:function(){return Nt},legacyNotSelectorLinter:function(){return lt},logicalPropertiesLinter:function(){return st},parentSelectorLinter:function(){return dt},px2remTransformer:function(){return zt},token2CSSVar:function(){return te},unit:function(){return J},useCSSVarRegister:function(){return Mt},useCacheToken:function(){return me},useStyleRegister:function(){return wt}});var e=n(925),t=n.n(e),r=n(143),i=n.n(r),a=n(44),c=n.n(a),u=n(118),l=n.n(u);var s=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},f=n(138),d=n(24),p=n(5),v=n.n(p),h=n(793),m=n(872),y=n(486),g=n.n(y),b=n(702),x=n.n(b),S=function(){function e(t){g()(this,e),i()(this,"instanceId",void 0),i()(this,"cache",new Map),this.instanceId=t}return x()(e,[{key:"get",value:function(e){return this.cache.get(e.join("%"))||null}},{key:"update",value:function(e,t){var r=e.join("%"),n=t(this.cache.get(r));null===n?this.cache.delete(r):this.cache.set(r,n)}}]),e}(),_=["children"],k="data-token-hash",C="data-css-hash",j="__cssinjs_instance__";function w(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(C,"]"))||[],r=document.head.firstChild;Array.from(t).forEach((function(t){t[j]=t[j]||e,t[j]===e&&document.head.insertBefore(t,r)}));var n={};Array.from(document.querySelectorAll("style[".concat(C,"]"))).forEach((function(t){var r,o=t.getAttribute(C);n[o]?t[j]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0}))}return new S(e)}var O=d.createContext({hashPriority:"low",cache:w(),defaultCache:!0}),E=function(e){var t=e.children,r=v()(e,_),n=d.useContext(O),o=(0,h.Z)((function(){var e=l()({},n);Object.keys(r).forEach((function(t){var n=r[t];void 0!==r[t]&&(e[t]=n)}));var t=r.cache;return e.cache=e.cache||w(),e.defaultCache=!t&&n.defaultCache,e}),[n,r],(function(e,t){return!(0,m.Z)(e[0],t[0],!0)||!(0,m.Z)(e[1],t[1],!0)}));return d.createElement(O.Provider,{value:o},t)},M=O,A=n(944),T=n.n(A),R=n(302);var L=function(){function e(){g()(this,e),i()(this,"cache",void 0),i()(this,"keys",void 0),i()(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return x()(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,r){var n=t()(e,2)[1];return o.internalGet(r)[1]<n?[r,o.internalGet(r)[1]]:e}),[this.keys[0],this.cacheCallTimes]),a=t()(i,1)[0];this.delete(a)}this.keys.push(r)}var c=this.cache;r.forEach((function(e,t){if(t===r.length-1)c.set(e,{value:[n,o.cacheCallTimes++]});else{var i=c.get(e);i?i.map||(i.map=new Map):c.set(e,{map:new Map}),c=c.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var r,n=e.get(t[0]);if(1===t.length)return n.map?e.set(t[0],{map:n.map}):e.delete(t[0]),null===(r=n.value)||void 0===r?void 0:r[0];var o=this.deleteByPath(n.map,t.slice(1));return n.map&&0!==n.map.size||n.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();i()(L,"MAX_CACHE_SIZE",20),i()(L,"MAX_CACHE_OFFSET",5);var P=n(311),I=0,B=function(){function e(t){g()(this,e),i()(this,"derivatives",void 0),i()(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=I,0===t.length&&(0,P.warning)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),I+=1}return x()(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,r){return r(e,t)}),void 0)}}]),e}(),W=new L;function N(e){var t=Array.isArray(e)?e:[e];return W.has(t)||W.set(t,new B(t)),W.get(t)}var q=new WeakMap,Z={};function z(e,t){for(var r=q,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(Z)||r.set(Z,e()),r.get(Z)}var D=new WeakMap;function F(e){var t=D.get(e)||"";return t||(Object.keys(e).forEach((function(r){var n=e[r];t+=r,n instanceof B?t+=n.id:n&&"object"===T()(n)?t+=F(n):t+=n})),D.set(e,t)),t}function G(e,t){return s("".concat(t,"_").concat(F(e)))}var H="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),K="_bAmBoO_";function $(e,t,r){if((0,R.default)()){var n,o;(0,f.hq)(e,H);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=r?r(i):null===(n=getComputedStyle(i).content)||void 0===n?void 0:n.includes(K);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,f.jL)(H),a}return!1}var Q=void 0;function U(){return void 0===Q&&(Q=$("@layer ".concat(H," { .").concat(H,' { content: "').concat(K,'"!important; } }'),(function(e){e.className=H}))),Q}var Y=void 0;var V=void 0;var X=(0,R.default)();function J(e){return"number"==typeof e?"".concat(e,"px"):e}function ee(e,t,r){var n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(a)return e;var c=l()(l()({},o),{},(n={},i()(n,k,t),i()(n,C,r),n)),u=Object.keys(c).map((function(e){var t=c[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(u,">").concat(e,"</style>")}var te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},re=function(e,r,n){return Object.keys(e).length?".".concat(r).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var r=t()(e,2),n=r[0],o=r[1];return"".concat(n,":").concat(o,";")})).join(""),"}"):""},ne=function(e,r,n){var o={},i={};return Object.entries(e).forEach((function(e){var r,a,c=t()(e,2),u=c[0],l=c[1];if(null!=n&&null!==(r=n.preserve)&&void 0!==r&&r[u])i[u]=l;else if(!("string"!=typeof l&&"number"!=typeof l||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[u])){var s,f=te(u,null==n?void 0:n.prefix);o[f]="number"!=typeof l||null!=n&&null!==(s=n.unitless)&&void 0!==s&&s[u]?String(l):"".concat(l,"px"),i[u]="var(".concat(f,")")}})),[i,re(o,r,{scope:null==n?void 0:n.scope})]},oe=n(35),ie=l()({},d).useInsertionEffect,ae=ie?function(e,t,r){return ie((function(){return e(),t()}),r)}:function(e,t,r){d.useMemo(e,r),(0,oe.ZP)((function(){return t(!0)}),r)},ce=void 0!==l()({},d).useInsertionEffect?function(e){var t=[],r=!1;return d.useEffect((function(){return r=!1,function(){r=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){r||t.push(e)}}:function(){return function(e){e()}};var ue=function(){return!1};function le(e,r,n,o,i){var a=d.useContext(M).cache,u=[e].concat(c()(r)),l=u.join("_"),s=ce([l]),f=(ue(),function(e){a.update(u,(function(r){var o=r||[void 0,void 0],i=t()(o,2),a=i[0];var c=[void 0===a?0:a,i[1]||n()];return e?e(c):c}))});d.useMemo((function(){f()}),[l]);var p=a.get(u)[1];return ae((function(){null==i||i(p)}),(function(e){return f((function(r){var n=t()(r,2),o=n[0],a=n[1];return e&&0===o&&(null==i||i(p)),[o+1,a]})),function(){a.update(u,(function(r){var n=r||[],i=t()(n,2),c=i[0],l=void 0===c?0:c,f=i[1];return 0===l-1?(s((function(){!e&&a.get(u)||null==o||o(f,!1)})),null):[l-1,f]}))}}),[l]),p}var se={},fe=new Map;function de(e){fe.set(e,(fe.get(e)||0)+1)}function pe(e,t){fe.set(e,(fe.get(e)||0)-1);var r=Array.from(fe.keys()),n=r.filter((function(e){return(fe.get(e)||0)<=0}));r.length-n.length>0&&n.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(k,'="').concat(e,'"]')).forEach((function(e){var r;e[j]===t&&(null===(r=e.parentNode)||void 0===r||r.removeChild(e))}))}(e,t),fe.delete(e)}))}var ve=function(e,t,r,n){var o=r.getDerivativeToken(e),i=l()(l()({},o),t);return n&&(i=n(i)),i},he="token";function me(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,d.useContext)(M),i=o.cache.instanceId,a=o.container,u=n.salt,p=void 0===u?"":u,v=n.override,h=void 0===v?se:v,m=n.formatToken,y=n.getComputedToken,g=n.cssVar,b=z((function(){return Object.assign.apply(Object,[{}].concat(c()(r)))}),r),x=F(b),S=F(h),_=g?F(g):"",w=le(he,[p,e.id,x,S,_],(function(){var r,n=y?y(b,h,e):ve(b,h,e,m),o=l()({},n),i="";if(g){var a=ne(n,g.key,{prefix:g.prefix,ignore:g.ignore,unitless:g.unitless,preserve:g.preserve}),c=t()(a,2);n=c[0],i=c[1]}var u=G(n,p);n._tokenKey=u,o._tokenKey=G(o,p);var f=null!==(r=null==g?void 0:g.key)&&void 0!==r?r:u;n._themeKey=f,de(f);var d="".concat("css","-").concat(s(u));return n._hashId=d,[n,d,o,i,(null==g?void 0:g.key)||""]}),(function(e){pe(e[0]._themeKey,i)}),(function(e){var r=t()(e,4),n=r[0],o=r[3];if(g&&o){var c=(0,f.hq)(o,s("css-variables-".concat(n._themeKey)),{mark:C,prepend:"queue",attachTo:a,priority:-999});c[j]=i,c.setAttribute(k,n._themeKey)}}));return w}var ye=n(55),ge=n.n(ye),be={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},xe="comm",Se="rule",_e="decl",ke=Math.abs,Ce=String.fromCharCode;Object.assign;function je(e){return e.trim()}function we(e,t,r){return e.replace(t,r)}function Oe(e,t){return e.indexOf(t)}function Ee(e,t){return 0|e.charCodeAt(t)}function Me(e,t,r){return e.slice(t,r)}function Ae(e){return e.length}function Te(e,t){return t.push(e),e}function Re(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Le(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case _e:return e.return=e.return||e.value;case xe:return"";case"@keyframes":return e.return=e.value+"{"+Re(e.children,n)+"}";case Se:if(!Ae(e.value=e.props.join(",")))return""}return Ae(r=Re(e.children,n))?e.return=e.value+"{"+r+"}":""}var Pe=1,Ie=1,Be=0,We=0,Ne=0,qe="";function Ze(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Pe,column:Ie,length:a,return:"",siblings:c}}function ze(){return Ne=We>0?Ee(qe,--We):0,Ie--,10===Ne&&(Ie=1,Pe--),Ne}function De(){return Ne=We<Be?Ee(qe,We++):0,Ie++,10===Ne&&(Ie=1,Pe++),Ne}function Fe(){return Ee(qe,We)}function Ge(){return We}function He(e,t){return Me(qe,e,t)}function Ke(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $e(e){return Pe=Ie=1,Be=Ae(qe=e),We=0,[]}function Qe(e){return qe="",e}function Ue(e){return je(He(We-1,Xe(91===e?e+2:40===e?e+1:e)))}function Ye(e){for(;(Ne=Fe())&&Ne<33;)De();return Ke(e)>2||Ke(Ne)>3?"":" "}function Ve(e,t){for(;--t&&De()&&!(Ne<48||Ne>102||Ne>57&&Ne<65||Ne>70&&Ne<97););return He(e,Ge()+(t<6&&32==Fe()&&32==De()))}function Xe(e){for(;De();)switch(Ne){case e:return We;case 34:case 39:34!==e&&39!==e&&Xe(Ne);break;case 40:41===e&&Xe(e);break;case 92:De()}return We}function Je(e,t){for(;De()&&e+Ne!==57&&(e+Ne!==84||47!==Fe()););return"/*"+He(t,We-1)+"*"+Ce(47===e?e:De())}function et(e){for(;!Ke(Fe());)De();return He(e,We)}function tt(e){return Qe(rt("",null,null,null,[""],e=$e(e),0,[0],e))}function rt(e,t,r,n,o,i,a,c,u){for(var l=0,s=0,f=a,d=0,p=0,v=0,h=1,m=1,y=1,g=0,b="",x=o,S=i,_=n,k=b;m;)switch(v=g,g=De()){case 40:if(108!=v&&58==Ee(k,f-1)){-1!=Oe(k+=we(Ue(g),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=Ue(g);break;case 9:case 10:case 13:case 32:k+=Ye(v);break;case 92:k+=Ve(Ge()-1,7);continue;case 47:switch(Fe()){case 42:case 47:Te(ot(Je(De(),Ge()),t,r,u),u);break;default:k+="/"}break;case 123*h:c[l++]=Ae(k)*y;case 125*h:case 59:case 0:switch(g){case 0:case 125:m=0;case 59+s:-1==y&&(k=we(k,/\f/g,"")),p>0&&Ae(k)-f&&Te(p>32?it(k+";",n,r,f-1,u):it(we(k," ","")+";",n,r,f-2,u),u);break;case 59:k+=";";default:if(Te(_=nt(k,t,r,l,s,o,c,b,x=[],S=[],f,i),i),123===g)if(0===s)rt(k,t,_,_,x,i,f,c,S);else switch(99===d&&110===Ee(k,3)?100:d){case 100:case 108:case 109:case 115:rt(e,_,_,n&&Te(nt(e,_,_,0,0,o,c,b,o,x=[],f,S),S),o,S,f,c,n?x:S);break;default:rt(k,_,_,_,[""],S,0,c,S)}}l=s=p=0,h=y=1,b=k="",f=a;break;case 58:f=1+Ae(k),p=v;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==ze())continue;switch(k+=Ce(g),g*h){case 38:y=s>0?1:(k+="\f",-1);break;case 44:c[l++]=(Ae(k)-1)*y,y=1;break;case 64:45===Fe()&&(k+=Ue(De())),d=Fe(),s=f=Ae(b=k+=et(Ge())),g++;break;case 45:45===v&&2==Ae(k)&&(h=0)}}return i}function nt(e,t,r,n,o,i,a,c,u,l,s,f){for(var d=o-1,p=0===o?i:[""],v=function(e){return e.length}(p),h=0,m=0,y=0;h<n;++h)for(var g=0,b=Me(e,d+1,d=ke(m=a[h])),x=e;g<v;++g)(x=je(m>0?p[g]+" "+b:we(b,/&\f/g,p[g])))&&(u[y++]=x);return Ze(e,t,r,0===o?Se:c,u,l,s,f)}function ot(e,t,r,n){return Ze(e,t,r,xe,Ce(Ne),Me(e,2,-2),0,n)}function it(e,t,r,n,o){return Ze(e,t,r,_e,Me(e,0,n),Me(e,n+1,-1),n,o)}function at(e,t){var r=t.path,n=t.parentSelectors;(0,P.default)(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}function ct(e){var t;return((null===(t=e.match(/:not\(([^)]*)\)/))||void 0===t?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter((function(e){return e})).length>1}var ut,lt=function(e,t,r){var n=function(e){return e.parentSelectors.reduce((function(e,t){return e?t.includes("&")?t.replace(/&/g,e):"".concat(e," ").concat(t):t}),"")}(r),o=n.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(ct)&&at("Concat ':not' selector not support in legacy browsers.",r)},st=function(e,t,r){switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":return void at("You seem to be using non-logical property '".concat(e,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof t){var n=t.split(" ").map((function(e){return e.trim()}));4===n.length&&n[1]!==n[3]&&at("You seem to be using '".concat(e,"' property with different left ").concat(e," and right ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":return void("left"!==t&&"right"!==t||at("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r));case"borderRadius":if("string"==typeof t)t.split("/").map((function(e){return e.trim()})).reduce((function(e,t){if(e)return e;var r=t.split(" ").map((function(e){return e.trim()}));return r.length>=2&&r[0]!==r[1]||(3===r.length&&r[1]!==r[2]||(4===r.length&&r[2]!==r[3]||e))}),!1)&&at("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return}},ft=function(e,t,r){("string"==typeof t&&/NaN/g.test(t)||Number.isNaN(t))&&at("Unexpected 'NaN' in property '".concat(e,": ").concat(t,"'."),r)},dt=function(e,t,r){r.parentSelectors.some((function(e){return e.split(",").some((function(e){return e.split("&").length>2}))}))&&at("Should not use more than one `&` in a selector.",r)},pt="data-ant-cssinjs-cache-path",vt="_FILE_STYLE__";function ht(e){return Object.keys(e).map((function(t){var r=e[t];return"".concat(t,":").concat(r)})).join(";")}var mt=!0;function yt(e){return function(){if(!ut&&(ut={},(0,R.default)())){var e=document.createElement("div");e.className=pt,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var r=getComputedStyle(e).content||"";(r=r.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var r=e.split(":"),n=t()(r,2),o=n[0],i=n[1];ut[o]=i}));var n,o=document.querySelector("style[".concat(pt,"]"));o&&(mt=!1,null===(n=o.parentNode)||void 0===n||n.removeChild(o)),document.body.removeChild(e)}}(),!!ut[e]}var gt="_multi_value_";function bt(e){return Re(tt(e),Le).replace(/\{%%%\:[^;];}/g,";")}function xt(e){return"object"===T()(e)&&e&&("_skip_check_"in e||gt in e)}function St(e,t,r){if(!t)return e;var n=".".concat(t),o="low"===r?":where(".concat(n,")"):n;return e.split(",").map((function(e){var t,r=e.trim().split(/\s+/),n=r[0]||"",i=(null===(t=n.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[n="".concat(i).concat(o).concat(n.slice(i.length))].concat(c()(r.slice(1))).join(" ")})).join(",")}var _t=function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},i=o.root,a=o.injectHash,u=o.parentSelectors,s=n.hashId,f=n.layer,d=(n.path,n.hashPriority),p=n.transformers,v=void 0===p?[]:p,h=(n.linters,""),m={};function y(r){var o=r.getName(s);if(!m[o]){var i=e(r.style,n,{root:!1,parentSelectors:u}),a=t()(i,1)[0];m[o]="@keyframes ".concat(r.getName(s)).concat(a)}}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach((function(e){Array.isArray(e)?g(e,t):e&&t.push(e)})),t}var b=g(Array.isArray(r)?r:[r]);if(b.forEach((function(r){var o="string"!=typeof r||i?r:{};if("string"==typeof o)h+="".concat(o,"\n");else if(o._keyframe)y(o);else{var f=v.reduce((function(e,t){var r;return(null==t||null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e}),o);Object.keys(f).forEach((function(r){var o=f[r];if("object"!==T()(o)||!o||"animationName"===r&&o._keyframe||xt(o)){var p;function j(e,t){var r=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),n=t;be[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(y(t),n=t.getName(s)),h+="".concat(r,":").concat(n,";")}var v=null!==(p=null==o?void 0:o.value)&&void 0!==p?p:o;"object"===T()(o)&&null!=o&&o[gt]&&Array.isArray(v)?v.forEach((function(e){j(r,e)})):j(r,v)}else{var g=!1,b=r.trim(),x=!1;(i||a)&&s?b.startsWith("@")?g=!0:b=St(r,s,d):!i||s||"&"!==b&&""!==b||(b="",x=!0);var S=e(o,n,{root:x,injectHash:g,parentSelectors:[].concat(c()(u),[b])}),_=t()(S,2),k=_[0],C=_[1];m=l()(l()({},m),C),h+="".concat(b).concat(k)}}))}})),i){if(f&&U()){var x=f.split(","),S=x[x.length-1].trim();h="@layer ".concat(S," {").concat(h,"}"),x.length>1&&(h="@layer ".concat(f,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,m]};function kt(e,t){return s("".concat(e.join("%")).concat(t))}function Ct(){return null}var jt="style";function wt(e,r){var n=e.token,o=e.path,a=e.hashId,u=e.layer,l=e.nonce,s=e.clientOnly,p=e.order,v=void 0===p?0:p,h=d.useContext(M),m=h.autoClear,y=(h.mock,h.defaultCache),g=h.hashPriority,b=h.container,x=h.ssrInline,S=h.transformers,_=h.linters,w=h.cache,O=n._tokenKey,E=[O].concat(c()(o)),A=X;var T=le(jt,E,(function(){var e=E.join("|");if(yt(e)){var n=function(e){var t=ut[e],r=null;if(t&&(0,R.default)())if(mt)r=vt;else{var n=document.querySelector("style[".concat(C,'="').concat(ut[e],'"]'));n?r=n.innerHTML:delete ut[e]}return[r,t]}(e),i=t()(n,2),c=i[0],l=i[1];if(c)return[c,O,l,{},s,v]}var f=r(),d=_t(f,{hashId:a,hashPriority:g,layer:u,path:o.join("-"),transformers:S,linters:_}),p=t()(d,2),h=p[0],m=p[1],y=bt(h),b=kt(E,y);return[y,O,b,m,s,v]}),(function(e,r){var n=t()(e,3)[2];(r||m)&&X&&(0,f.jL)(n,{mark:C})}),(function(e){var r=t()(e,4),n=r[0],o=(r[1],r[2]),i=r[3];if(A&&n!==vt){var a={mark:C,prepend:"queue",attachTo:b,priority:v},c="function"==typeof l?l():l;c&&(a.csp={nonce:c});var u=(0,f.hq)(n,o,a);u[j]=w.instanceId,u.setAttribute(k,O),Object.keys(i).forEach((function(e){(0,f.hq)(bt(i[e]),"_effect-".concat(e),a)}))}})),L=t()(T,3),P=L[0],I=L[1],B=L[2];return function(e){var t,r;x&&!A&&y?t=d.createElement("style",ge()({},(r={},i()(r,k,I),i()(r,C,B),r),{dangerouslySetInnerHTML:{__html:P}})):t=d.createElement(Ct,null);return d.createElement(d.Fragment,null,t,e)}}var Ot,Et="cssVar",Mt=function(e,r){var n=e.key,o=e.prefix,i=e.unitless,a=e.ignore,u=e.token,l=e.scope,s=void 0===l?"":l,p=(0,d.useContext)(M),v=p.cache.instanceId,h=p.container,m=u._tokenKey,y=[].concat(c()(e.path),[n,s,m]);return le(Et,y,(function(){var e=r(),c=ne(e,n,{prefix:o,unitless:i,ignore:a,scope:s}),u=t()(c,2),l=u[0],f=u[1];return[l,f,kt(y,f),n]}),(function(e){var r=t()(e,3)[2];X&&(0,f.jL)(r,{mark:C})}),(function(e){var r=t()(e,3),o=r[1],i=r[2];if(o){var a=(0,f.hq)(o,i,{mark:C,prepend:"queue",attachTo:h,priority:-999});a[j]=v,a.setAttribute(k,n)}}))},At=(Ot={},i()(Ot,jt,(function(e,r,n){var o=t()(e,6),i=o[0],a=o[1],c=o[2],u=o[3],l=o[4],s=o[5],f=(n||{}).plain;if(l)return null;var d=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(s)};return d=ee(i,a,c,p,f),u&&Object.keys(u).forEach((function(e){if(!r[e]){r[e]=!0;var t=bt(u[e]);d+=ee(t,a,"_effect-".concat(e),p,f)}})),[s,c,d]})),i()(Ot,he,(function(e,r,n){var o=t()(e,5),i=o[2],a=o[3],c=o[4],u=(n||{}).plain;if(!a)return null;var l=i._tokenKey;return[-999,l,ee(a,c,l,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},u)]})),i()(Ot,Et,(function(e,r,n){var o=t()(e,4),i=o[1],a=o[2],c=o[3],u=(n||{}).plain;if(!i)return null;return[-999,a,ee(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},u)]})),Ot);function Tt(e){return null!==e}function Rt(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new RegExp("^(".concat(Object.keys(At).join("|"),")%")),o=Array.from(e.cache.keys()).filter((function(e){return n.test(e)})),a={},c={},u="";return o.map((function(o){var i=o.replace(n,"").replace(/%/g,"|"),u=o.split("%"),l=t()(u,1)[0],s=(0,At[l])(e.cache.get(o)[1],a,{plain:r});if(!s)return null;var f=t()(s,3),d=f[0],p=f[1],v=f[2];return o.startsWith("style")&&(c[i]=p),[d,v]})).filter(Tt).sort((function(e,r){return t()(e,1)[0]-t()(r,1)[0]})).forEach((function(e){var r=t()(e,2)[1];u+=r})),u+=ee(".".concat(pt,'{content:"').concat(ht(c),'";}'),void 0,void 0,i()({},pt,pt),r)}var Lt=function(){function e(t,r){g()(this,e),i()(this,"name",void 0),i()(this,"style",void 0),i()(this,"_keyframe",!0),this.name=t,this.style=r}return x()(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}(),Pt=Lt;function It(e){return e.notSplit=!0,e}var Bt={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:It(["borderTop","borderBottom"]),borderBlockStart:It(["borderTop"]),borderBlockEnd:It(["borderBottom"]),borderInline:It(["borderLeft","borderRight"]),borderInlineStart:It(["borderLeft"]),borderInlineEnd:It(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Wt(e,t){var r=e;return t&&(r="".concat(r," !important")),{_skip_check_:!0,value:r}}var Nt={visit:function(e){var r={};return Object.keys(e).forEach((function(n){var o=e[n],i=Bt[n];if(!i||"number"!=typeof o&&"string"!=typeof o)r[n]=o;else{var a=function(e){if("number"==typeof e)return[[e],!1];var t=String(e).trim(),r=t.match(/(.*)(!important)/),n=(r?r[1]:t).trim().split(/\s+/),o="",i=0;return[n.reduce((function(e,t){if(t.includes("(")||t.includes(")")){var r=t.split("(").length-1,n=t.split(")").length-1;i+=r-n}return 0===i?(e.push(o+t),o=""):i>0&&(o+=t),e}),[]),!!r]}(o),c=t()(a,2),u=c[0],l=c[1];i.length&&i.notSplit?i.forEach((function(e){r[e]=Wt(o,l)})):1===i.length?r[i[0]]=Wt(o,l):2===i.length?i.forEach((function(e,t){var n;r[e]=Wt(null!==(n=u[t])&&void 0!==n?n:u[0],l)})):4===i.length?i.forEach((function(e,t){var n,o;r[e]=Wt(null!==(n=null!==(o=u[t])&&void 0!==o?o:u[t-2])&&void 0!==n?n:u[0],l)})):r[n]=o}})),r}},qt=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Zt(e,t){var r=Math.pow(10,t+1),n=Math.floor(e*r);return 10*Math.round(n/10)/r}var zt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.rootValue,n=void 0===r?16:r,o=e.precision,i=void 0===o?5:o,a=e.mediaQuery,c=void 0!==a&&a,u=function(e,t){if(!t)return e;var r=parseFloat(t);if(r<=1)return e;var o=Zt(r/n,i);return"".concat(o,"rem")},s=function(e){var r=l()({},e);return Object.entries(e).forEach((function(e){var n=t()(e,2),o=n[0],i=n[1];if("string"==typeof i&&i.includes("px")){var a=i.replace(qt,u);r[o]=a}be[o]||"number"!=typeof i||0===i||(r[o]="".concat(i,"px").replace(qt,u));var l=o.trim();if(l.startsWith("@")&&l.includes("px")&&c){var s=o.replace(qt,u);r[s]=r[o],delete r[o]}})),r};return{visit:s}},Dt={supportModernCSS:function(){return void 0===Y&&(Y=$(":where(.".concat(H,') { content: "').concat(K,'"!important; }'),(function(e){e.className=H}))),Y&&(void 0===V&&(V=$(".".concat(H," { inset-block: 93px !important; }"),(function(e){e.className=H}),(function(e){return"93px"===getComputedStyle(e).bottom}))),V)}}}(),o}()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React")):"function"==typeof define&&define.amd?define(["React"],t):"object"==typeof exports?exports.antdCssinjs=t(require("React")):e.antdCssinjs=t(e.React)}(self,(function(e){return function(){var t={302:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);var r=t;for(;r;){if(r===e)return!0;r=r.parentNode}return!1}},138:function(e,t,r){"use strict";var n=r(740).default;t.jL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t);if(r){var n=f(t);n.removeChild(r)}},t.hq=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=f(r);m(n,r);var o=h(t,r);if(o){var i,a,c;if(null!==(i=r.csp)&&void 0!==i&&i.nonce&&o.nonce!==(null===(a=r.csp)||void 0===a?void 0:a.nonce))o.nonce=null===(c=r.csp)||void 0===c?void 0:c.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var u=v(e,r);return u.setAttribute(s(r),t),u};var o=n(r(302)),i=n(r(753)),a="data-rc-order",c="data-rc-priority",u="rc-util-key",l=new Map;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):u}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function p(e){return Array.from((l.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var r=t.csp,n=t.prepend,i=t.priority,u=void 0===i?0:i,l=d(n),s="prependQueue"===l,v=document.createElement("style");v.setAttribute(a,l),s&&u&&v.setAttribute(c,"".concat(u)),null!=r&&r.nonce&&(v.nonce=null==r?void 0:r.nonce),v.innerHTML=e;var h=f(t),m=h.firstChild;if(n){if(s){var y=p(h).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(c)||0);return u>=t}));if(y.length)return h.insertBefore(v,y[y.length-1].nextSibling),v}h.insertBefore(v,m)}else h.appendChild(v);return v}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(t);return p(r).find((function(r){return r.getAttribute(s(t))===e}))}function m(e,t){var r=l.get(e);if(!r||!(0,i.default)(document,r)){var n=v("",t),o=n.parentNode;l.set(e,o),e.removeChild(n)}}},35:function(e,t,r){"use strict";var n=r(740).default,o=r(543).default;t.ZP=void 0;var i=o(r(24)),a=(0,n(r(302)).default)()?i.useLayoutEffect:i.useEffect,c=function(e,t){var r=i.useRef(!0);a((function(){return e(r.current)}),t),a((function(){return r.current=!1,function(){r.current=!0}}),[])};t.ZP=c},793:function(e,t,r){"use strict";var n=r(543).default;t.Z=function(e,t,r){var n=o.useRef({});"value"in n.current&&!r(n.current.condition,t)||(n.current.value=e(),n.current.condition=t);return n.current.value};var o=n(r(24))},872:function(e,t,r){"use strict";var n=r(740).default;t.Z=void 0;var o=n(r(191)),i=n(r(311));t.Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new Set;function a(e,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,u=n.has(e);if((0,i.default)(!u,"Warning: There may be circular references"),u)return!1;if(e===t)return!0;if(r&&c>1)return!1;n.add(e);var l=c+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var s=0;s<e.length;s++)if(!a(e[s],t[s],l))return!1;return!0}if(e&&t&&"object"===(0,o.default)(e)&&"object"===(0,o.default)(t)){var f=Object.keys(e);return f.length===Object.keys(t).length&&f.every((function(r){return a(e[r],t[r],l)}))}return!1}return a(e,t)}},311:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=u,t.default=void 0,t.note=a,t.noteOnce=s,t.preMessage=void 0,t.resetWarned=c,t.warning=i,t.warningOnce=l;var r={},n=[],o=t.preMessage=function(e){n.push(e)};function i(e,t){}function a(e,t){}function c(){r={}}function u(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){u(i,e,t)}function s(e,t){u(a,e,t)}l.preMessage=o,l.resetWarned=c,l.noteOnce=s;t.default=l},24:function(t){"use strict";t.exports=e},740:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},543:function(e,t,r){var n=r(191).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=a?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(i,c,u):i[c]=e[c]}return i.default=e,r&&r.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},191:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},317:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},180:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},786:function(e,t,r){var n=r(317);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},486:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},702:function(e,t,r){var n=r(281);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},143:function(e,t,r){var n=r(281);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},55:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},682:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},249:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}},e.exports.__esModule=!0,e.exports.default=e.exports},20:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},114:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},118:function(e,t,r){var n=r(143);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},5:function(e,t,r){var n=r(166);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},166:function(e){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},925:function(e,t,r){var n=r(180),o=r(249),i=r(508),a=r(20);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},44:function(e,t,r){var n=r(786),o=r(682),i=r(508),a=r(114);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},224:function(e,t,r){var n=r(944).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},281:function(e,t,r){var n=r(944).default,o=r(224);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},944:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},508:function(e,t,r){var n=r(317);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{Keyframes:function(){return Lt},NaNLinter:function(){return ft},StyleProvider:function(){return E},Theme:function(){return B},_experimental:function(){return zt},createCache:function(){return w},createTheme:function(){return N},extractStyle:function(){return Tt},getComputedToken:function(){return ve},legacyLogicalPropertiesTransformer:function(){return Wt},legacyNotSelectorLinter:function(){return lt},logicalPropertiesLinter:function(){return st},parentSelectorLinter:function(){return dt},px2remTransformer:function(){return Zt},token2CSSVar:function(){return te},unit:function(){return J},useCSSVarRegister:function(){return Et},useCacheToken:function(){return me},useStyleRegister:function(){return jt}});var e=n(925),t=n.n(e),r=n(143),i=n.n(r),a=n(44),c=n.n(a),u=n(118),l=n.n(u);var s=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},f=n(138),d=n(24),p=n(5),v=n.n(p),h=n(793),m=n(872),y=n(486),g=n.n(y),b=n(702),x=n.n(b),S=function(){function e(t){g()(this,e),i()(this,"instanceId",void 0),i()(this,"cache",new Map),this.instanceId=t}return x()(e,[{key:"get",value:function(e){return this.cache.get(e.join("%"))||null}},{key:"update",value:function(e,t){var r=e.join("%"),n=t(this.cache.get(r));null===n?this.cache.delete(r):this.cache.set(r,n)}}]),e}(),_=["children"],k="data-token-hash",C="data-css-hash",j="__cssinjs_instance__";function w(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(C,"]"))||[],r=document.head.firstChild;Array.from(t).forEach((function(t){t[j]=t[j]||e,t[j]===e&&document.head.insertBefore(t,r)}));var n={};Array.from(document.querySelectorAll("style[".concat(C,"]"))).forEach((function(t){var r,o=t.getAttribute(C);n[o]?t[j]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0}))}return new S(e)}var O=d.createContext({hashPriority:"low",cache:w(),defaultCache:!0}),E=function(e){var t=e.children,r=v()(e,_),n=d.useContext(O),o=(0,h.Z)((function(){var e=l()({},n);Object.keys(r).forEach((function(t){var n=r[t];void 0!==r[t]&&(e[t]=n)}));var t=r.cache;return e.cache=e.cache||w(),e.defaultCache=!t&&n.defaultCache,e}),[n,r],(function(e,t){return!(0,m.Z)(e[0],t[0],!0)||!(0,m.Z)(e[1],t[1],!0)}));return d.createElement(O.Provider,{value:o},t)},M=O,A=n(944),T=n.n(A),R=n(302);var L=function(){function e(){g()(this,e),i()(this,"cache",void 0),i()(this,"keys",void 0),i()(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return x()(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,r){var n=t()(e,2)[1];return o.internalGet(r)[1]<n?[r,o.internalGet(r)[1]]:e}),[this.keys[0],this.cacheCallTimes]),a=t()(i,1)[0];this.delete(a)}this.keys.push(r)}var c=this.cache;r.forEach((function(e,t){if(t===r.length-1)c.set(e,{value:[n,o.cacheCallTimes++]});else{var i=c.get(e);i?i.map||(i.map=new Map):c.set(e,{map:new Map}),c=c.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var r,n=e.get(t[0]);if(1===t.length)return n.map?e.set(t[0],{map:n.map}):e.delete(t[0]),null===(r=n.value)||void 0===r?void 0:r[0];var o=this.deleteByPath(n.map,t.slice(1));return n.map&&0!==n.map.size||n.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();i()(L,"MAX_CACHE_SIZE",20),i()(L,"MAX_CACHE_OFFSET",5);var P=n(311),I=0,B=function(){function e(t){g()(this,e),i()(this,"derivatives",void 0),i()(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=I,0===t.length&&(0,P.warning)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),I+=1}return x()(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,r){return r(e,t)}),void 0)}}]),e}(),W=new L;function N(e){var t=Array.isArray(e)?e:[e];return W.has(t)||W.set(t,new B(t)),W.get(t)}var q=new WeakMap,Z={};function z(e,t){for(var r=q,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(Z)||r.set(Z,e()),r.get(Z)}var D=new WeakMap;function F(e){var t=D.get(e)||"";return t||(Object.keys(e).forEach((function(r){var n=e[r];t+=r,n instanceof B?t+=n.id:n&&"object"===T()(n)?t+=F(n):t+=n})),D.set(e,t)),t}function G(e,t){return s("".concat(t,"_").concat(F(e)))}var H="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),K="_bAmBoO_";function $(e,t,r){if((0,R.default)()){var n,o;(0,f.hq)(e,H);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=r?r(i):null===(n=getComputedStyle(i).content)||void 0===n?void 0:n.includes(K);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,f.jL)(H),a}return!1}var Q=void 0;function U(){return void 0===Q&&(Q=$("@layer ".concat(H," { .").concat(H,' { content: "').concat(K,'"!important; } }'),(function(e){e.className=H}))),Q}var V=void 0;var Y=void 0;var X=(0,R.default)();function J(e){return"number"==typeof e?"".concat(e,"px"):e}function ee(e,t,r){var n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(a)return e;var c=l()(l()({},o),{},(n={},i()(n,k,t),i()(n,C,r),n)),u=Object.keys(c).map((function(e){var t=c[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(u,">").concat(e,"</style>")}var te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},re=function(e,r,n){return Object.keys(e).length?".".concat(r).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var r=t()(e,2),n=r[0],o=r[1];return"".concat(n,":").concat(o,";")})).join(""),"}"):""},ne=function(e,r,n){var o={},i={};return Object.entries(e).forEach((function(e){var r,a,c=t()(e,2),u=c[0],l=c[1];if(null!=n&&null!==(r=n.preserve)&&void 0!==r&&r[u])i[u]=l;else if(!("string"!=typeof l&&"number"!=typeof l||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[u])){var s,f=te(u,null==n?void 0:n.prefix);o[f]="number"!=typeof l||null!=n&&null!==(s=n.unitless)&&void 0!==s&&s[u]?String(l):"".concat(l,"px"),i[u]="var(".concat(f,")")}})),[i,re(o,r,{scope:null==n?void 0:n.scope})]},oe=n(35),ie=l()({},d).useInsertionEffect,ae=ie?function(e,t,r){return ie((function(){return e(),t()}),r)}:function(e,t,r){d.useMemo(e,r),(0,oe.ZP)((function(){return t(!0)}),r)},ce=void 0!==l()({},d).useInsertionEffect?function(e){var t=[],r=!1;return d.useEffect((function(){return r=!1,function(){r=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){r||t.push(e)}}:function(){return function(e){e()}};var ue=function(){return!1};function le(e,r,n,o,i){var a=d.useContext(M).cache,u=[e].concat(c()(r)),l=u.join("_"),s=ce([l]),f=(ue(),function(e){a.update(u,(function(r){var o=r||[void 0,void 0],i=t()(o,2),a=i[0];var c=[void 0===a?0:a,i[1]||n()];return e?e(c):c}))});d.useMemo((function(){f()}),[l]);var p=a.get(u)[1];return ae((function(){null==i||i(p)}),(function(e){return f((function(r){var n=t()(r,2),o=n[0],a=n[1];return e&&0===o&&(null==i||i(p)),[o+1,a]})),function(){a.update(u,(function(r){var n=r||[],i=t()(n,2),c=i[0],l=void 0===c?0:c,f=i[1];return 0===l-1?(s((function(){!e&&a.get(u)||null==o||o(f,!1)})),null):[l-1,f]}))}}),[l]),p}var se={},fe=new Map;function de(e){fe.set(e,(fe.get(e)||0)+1)}function pe(e,t){fe.set(e,(fe.get(e)||0)-1);var r=Array.from(fe.keys()),n=r.filter((function(e){return(fe.get(e)||0)<=0}));r.length-n.length>0&&n.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(k,'="').concat(e,'"]')).forEach((function(e){var r;e[j]===t&&(null===(r=e.parentNode)||void 0===r||r.removeChild(e))}))}(e,t),fe.delete(e)}))}var ve=function(e,t,r,n){var o=r.getDerivativeToken(e),i=l()(l()({},o),t);return n&&(i=n(i)),i},he="token";function me(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,d.useContext)(M),i=o.cache.instanceId,a=o.container,u=n.salt,p=void 0===u?"":u,v=n.override,h=void 0===v?se:v,m=n.formatToken,y=n.getComputedToken,g=n.cssVar,b=z((function(){return Object.assign.apply(Object,[{}].concat(c()(r)))}),r),x=F(b),S=F(h),_=g?F(g):"",w=le(he,[p,e.id,x,S,_],(function(){var r,n=y?y(b,h,e):ve(b,h,e,m),o=l()({},n),i="";if(g){var a=ne(n,g.key,{prefix:g.prefix,ignore:g.ignore,unitless:g.unitless,preserve:g.preserve}),c=t()(a,2);n=c[0],i=c[1]}var u=G(n,p);n._tokenKey=u,o._tokenKey=G(o,p);var f=null!==(r=null==g?void 0:g.key)&&void 0!==r?r:u;n._themeKey=f,de(f);var d="".concat("css","-").concat(s(u));return n._hashId=d,[n,d,o,i,(null==g?void 0:g.key)||""]}),(function(e){pe(e[0]._themeKey,i)}),(function(e){var r=t()(e,4),n=r[0],o=r[3];if(g&&o){var c=(0,f.hq)(o,s("css-variables-".concat(n._themeKey)),{mark:C,prepend:"queue",attachTo:a,priority:-999});c[j]=i,c.setAttribute(k,n._themeKey)}}));return w}var ye=n(55),ge=n.n(ye),be={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},xe="comm",Se="rule",_e="decl",ke=Math.abs,Ce=String.fromCharCode;Object.assign;function je(e){return e.trim()}function we(e,t,r){return e.replace(t,r)}function Oe(e,t){return e.indexOf(t)}function Ee(e,t){return 0|e.charCodeAt(t)}function Me(e,t,r){return e.slice(t,r)}function Ae(e){return e.length}function Te(e,t){return t.push(e),e}function Re(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Le(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case _e:return e.return=e.return||e.value;case xe:return"";case"@keyframes":return e.return=e.value+"{"+Re(e.children,n)+"}";case Se:if(!Ae(e.value=e.props.join(",")))return""}return Ae(r=Re(e.children,n))?e.return=e.value+"{"+r+"}":""}var Pe=1,Ie=1,Be=0,We=0,Ne=0,qe="";function Ze(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Pe,column:Ie,length:a,return:"",siblings:c}}function ze(){return Ne=We>0?Ee(qe,--We):0,Ie--,10===Ne&&(Ie=1,Pe--),Ne}function De(){return Ne=We<Be?Ee(qe,We++):0,Ie++,10===Ne&&(Ie=1,Pe++),Ne}function Fe(){return Ee(qe,We)}function Ge(){return We}function He(e,t){return Me(qe,e,t)}function Ke(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $e(e){return Pe=Ie=1,Be=Ae(qe=e),We=0,[]}function Qe(e){return qe="",e}function Ue(e){return je(He(We-1,Xe(91===e?e+2:40===e?e+1:e)))}function Ve(e){for(;(Ne=Fe())&&Ne<33;)De();return Ke(e)>2||Ke(Ne)>3?"":" "}function Ye(e,t){for(;--t&&De()&&!(Ne<48||Ne>102||Ne>57&&Ne<65||Ne>70&&Ne<97););return He(e,Ge()+(t<6&&32==Fe()&&32==De()))}function Xe(e){for(;De();)switch(Ne){case e:return We;case 34:case 39:34!==e&&39!==e&&Xe(Ne);break;case 40:41===e&&Xe(e);break;case 92:De()}return We}function Je(e,t){for(;De()&&e+Ne!==57&&(e+Ne!==84||47!==Fe()););return"/*"+He(t,We-1)+"*"+Ce(47===e?e:De())}function et(e){for(;!Ke(Fe());)De();return He(e,We)}function tt(e){return Qe(rt("",null,null,null,[""],e=$e(e),0,[0],e))}function rt(e,t,r,n,o,i,a,c,u){for(var l=0,s=0,f=a,d=0,p=0,v=0,h=1,m=1,y=1,g=0,b="",x=o,S=i,_=n,k=b;m;)switch(v=g,g=De()){case 40:if(108!=v&&58==Ee(k,f-1)){-1!=Oe(k+=we(Ue(g),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=Ue(g);break;case 9:case 10:case 13:case 32:k+=Ve(v);break;case 92:k+=Ye(Ge()-1,7);continue;case 47:switch(Fe()){case 42:case 47:Te(ot(Je(De(),Ge()),t,r,u),u);break;default:k+="/"}break;case 123*h:c[l++]=Ae(k)*y;case 125*h:case 59:case 0:switch(g){case 0:case 125:m=0;case 59+s:-1==y&&(k=we(k,/\f/g,"")),p>0&&Ae(k)-f&&Te(p>32?it(k+";",n,r,f-1,u):it(we(k," ","")+";",n,r,f-2,u),u);break;case 59:k+=";";default:if(Te(_=nt(k,t,r,l,s,o,c,b,x=[],S=[],f,i),i),123===g)if(0===s)rt(k,t,_,_,x,i,f,c,S);else switch(99===d&&110===Ee(k,3)?100:d){case 100:case 108:case 109:case 115:rt(e,_,_,n&&Te(nt(e,_,_,0,0,o,c,b,o,x=[],f,S),S),o,S,f,c,n?x:S);break;default:rt(k,_,_,_,[""],S,0,c,S)}}l=s=p=0,h=y=1,b=k="",f=a;break;case 58:f=1+Ae(k),p=v;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==ze())continue;switch(k+=Ce(g),g*h){case 38:y=s>0?1:(k+="\f",-1);break;case 44:c[l++]=(Ae(k)-1)*y,y=1;break;case 64:45===Fe()&&(k+=Ue(De())),d=Fe(),s=f=Ae(b=k+=et(Ge())),g++;break;case 45:45===v&&2==Ae(k)&&(h=0)}}return i}function nt(e,t,r,n,o,i,a,c,u,l,s,f){for(var d=o-1,p=0===o?i:[""],v=function(e){return e.length}(p),h=0,m=0,y=0;h<n;++h)for(var g=0,b=Me(e,d+1,d=ke(m=a[h])),x=e;g<v;++g)(x=je(m>0?p[g]+" "+b:we(b,/&\f/g,p[g])))&&(u[y++]=x);return Ze(e,t,r,0===o?Se:c,u,l,s,f)}function ot(e,t,r,n){return Ze(e,t,r,xe,Ce(Ne),Me(e,2,-2),0,n)}function it(e,t,r,n,o){return Ze(e,t,r,_e,Me(e,0,n),Me(e,n+1,-1),n,o)}function at(e,t){var r=t.path,n=t.parentSelectors;(0,P.default)(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}function ct(e){var t;return((null===(t=e.match(/:not\(([^)]*)\)/))||void 0===t?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter((function(e){return e})).length>1}var ut,lt=function(e,t,r){var n=function(e){return e.parentSelectors.reduce((function(e,t){return e?t.includes("&")?t.replace(/&/g,e):"".concat(e," ").concat(t):t}),"")}(r),o=n.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(ct)&&at("Concat ':not' selector not support in legacy browsers.",r)},st=function(e,t,r){switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":return void at("You seem to be using non-logical property '".concat(e,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof t){var n=t.split(" ").map((function(e){return e.trim()}));4===n.length&&n[1]!==n[3]&&at("You seem to be using '".concat(e,"' property with different left ").concat(e," and right ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":return void("left"!==t&&"right"!==t||at("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r));case"borderRadius":if("string"==typeof t)t.split("/").map((function(e){return e.trim()})).reduce((function(e,t){if(e)return e;var r=t.split(" ").map((function(e){return e.trim()}));return r.length>=2&&r[0]!==r[1]||(3===r.length&&r[1]!==r[2]||(4===r.length&&r[2]!==r[3]||e))}),!1)&&at("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return}},ft=function(e,t,r){("string"==typeof t&&/NaN/g.test(t)||Number.isNaN(t))&&at("Unexpected 'NaN' in property '".concat(e,": ").concat(t,"'."),r)},dt=function(e,t,r){r.parentSelectors.some((function(e){return e.split(",").some((function(e){return e.split("&").length>2}))}))&&at("Should not use more than one `&` in a selector.",r)},pt="data-ant-cssinjs-cache-path",vt="_FILE_STYLE__";var ht=!0;function mt(e){return function(){if(!ut&&(ut={},(0,R.default)())){var e=document.createElement("div");e.className=pt,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var r=getComputedStyle(e).content||"";(r=r.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var r=e.split(":"),n=t()(r,2),o=n[0],i=n[1];ut[o]=i}));var n,o=document.querySelector("style[".concat(pt,"]"));o&&(ht=!1,null===(n=o.parentNode)||void 0===n||n.removeChild(o)),document.body.removeChild(e)}}(),!!ut[e]}var yt="_multi_value_";function gt(e){return Re(tt(e),Le).replace(/\{%%%\:[^;];}/g,";")}function bt(e){return"object"===T()(e)&&e&&("_skip_check_"in e||yt in e)}function xt(e,t,r){if(!t)return e;var n=".".concat(t),o="low"===r?":where(".concat(n,")"):n;return e.split(",").map((function(e){var t,r=e.trim().split(/\s+/),n=r[0]||"",i=(null===(t=n.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[n="".concat(i).concat(o).concat(n.slice(i.length))].concat(c()(r.slice(1))).join(" ")})).join(",")}var St=function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},i=o.root,a=o.injectHash,u=o.parentSelectors,s=n.hashId,f=n.layer,d=(n.path,n.hashPriority),p=n.transformers,v=void 0===p?[]:p,h=(n.linters,""),m={};function y(r){var o=r.getName(s);if(!m[o]){var i=e(r.style,n,{root:!1,parentSelectors:u}),a=t()(i,1)[0];m[o]="@keyframes ".concat(r.getName(s)).concat(a)}}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach((function(e){Array.isArray(e)?g(e,t):e&&t.push(e)})),t}var b=g(Array.isArray(r)?r:[r]);if(b.forEach((function(r){var o="string"!=typeof r||i?r:{};if("string"==typeof o)h+="".concat(o,"\n");else if(o._keyframe)y(o);else{var f=v.reduce((function(e,t){var r;return(null==t||null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e}),o);Object.keys(f).forEach((function(r){var o=f[r];if("object"!==T()(o)||!o||"animationName"===r&&o._keyframe||bt(o)){var p;function j(e,t){var r=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),n=t;be[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(y(t),n=t.getName(s)),h+="".concat(r,":").concat(n,";")}var v=null!==(p=null==o?void 0:o.value)&&void 0!==p?p:o;"object"===T()(o)&&null!=o&&o[yt]&&Array.isArray(v)?v.forEach((function(e){j(r,e)})):j(r,v)}else{var g=!1,b=r.trim(),x=!1;(i||a)&&s?b.startsWith("@")?g=!0:b=xt(r,s,d):!i||s||"&"!==b&&""!==b||(b="",x=!0);var S=e(o,n,{root:x,injectHash:g,parentSelectors:[].concat(c()(u),[b])}),_=t()(S,2),k=_[0],C=_[1];m=l()(l()({},m),C),h+="".concat(b).concat(k)}}))}})),i){if(f&&U()){var x=f.split(","),S=x[x.length-1].trim();h="@layer ".concat(S," {").concat(h,"}"),x.length>1&&(h="@layer ".concat(f,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,m]};function _t(e,t){return s("".concat(e.join("%")).concat(t))}function kt(){return null}var Ct="style";function jt(e,r){var n=e.token,o=e.path,a=e.hashId,u=e.layer,l=e.nonce,s=e.clientOnly,p=e.order,v=void 0===p?0:p,h=d.useContext(M),m=h.autoClear,y=(h.mock,h.defaultCache),g=h.hashPriority,b=h.container,x=h.ssrInline,S=h.transformers,_=h.linters,w=h.cache,O=n._tokenKey,E=[O].concat(c()(o)),A=X;var T=le(Ct,E,(function(){var e=E.join("|");if(mt(e)){var n=function(e){var t=ut[e],r=null;if(t&&(0,R.default)())if(ht)r=vt;else{var n=document.querySelector("style[".concat(C,'="').concat(ut[e],'"]'));n?r=n.innerHTML:delete ut[e]}return[r,t]}(e),i=t()(n,2),c=i[0],l=i[1];if(c)return[c,O,l,{},s,v]}var f=r(),d=St(f,{hashId:a,hashPriority:g,layer:u,path:o.join("-"),transformers:S,linters:_}),p=t()(d,2),h=p[0],m=p[1],y=gt(h),b=_t(E,y);return[y,O,b,m,s,v]}),(function(e,r){var n=t()(e,3)[2];(r||m)&&X&&(0,f.jL)(n,{mark:C})}),(function(e){var r=t()(e,4),n=r[0],o=(r[1],r[2]),i=r[3];if(A&&n!==vt){var a={mark:C,prepend:"queue",attachTo:b,priority:v},c="function"==typeof l?l():l;c&&(a.csp={nonce:c});var u=(0,f.hq)(n,o,a);u[j]=w.instanceId,u.setAttribute(k,O),Object.keys(i).forEach((function(e){(0,f.hq)(gt(i[e]),"_effect-".concat(e),a)}))}})),L=t()(T,3),P=L[0],I=L[1],B=L[2];return function(e){var t,r;x&&!A&&y?t=d.createElement("style",ge()({},(r={},i()(r,k,I),i()(r,C,B),r),{dangerouslySetInnerHTML:{__html:P}})):t=d.createElement(kt,null);return d.createElement(d.Fragment,null,t,e)}}var wt,Ot="cssVar",Et=function(e,r){var n=e.key,o=e.prefix,i=e.unitless,a=e.ignore,u=e.token,l=e.scope,s=void 0===l?"":l,p=(0,d.useContext)(M),v=p.cache.instanceId,h=p.container,m=u._tokenKey,y=[].concat(c()(e.path),[n,s,m]);return le(Ot,y,(function(){var e=r(),c=ne(e,n,{prefix:o,unitless:i,ignore:a,scope:s}),u=t()(c,2),l=u[0],f=u[1];return[l,f,_t(y,f),n]}),(function(e){var r=t()(e,3)[2];X&&(0,f.jL)(r,{mark:C})}),(function(e){var r=t()(e,3),o=r[1],i=r[2];if(o){var a=(0,f.hq)(o,i,{mark:C,prepend:"queue",attachTo:h,priority:-999});a[j]=v,a.setAttribute(k,n)}}))},Mt=(wt={},i()(wt,Ct,(function(e,r,n){var o=t()(e,6),i=o[0],a=o[1],c=o[2],u=o[3],l=o[4],s=o[5],f=(n||{}).plain;if(l)return null;var d=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(s)};return d=ee(i,a,c,p,f),u&&Object.keys(u).forEach((function(e){if(!r[e]){r[e]=!0;var t=gt(u[e]);d+=ee(t,a,"_effect-".concat(e),p,f)}})),[s,c,d]})),i()(wt,he,(function(e,r,n){var o=t()(e,5),i=o[2],a=o[3],c=o[4],u=(n||{}).plain;if(!a)return null;var l=i._tokenKey;return[-999,l,ee(a,c,l,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},u)]})),i()(wt,Ot,(function(e,r,n){var o=t()(e,4),i=o[1],a=o[2],c=o[3],u=(n||{}).plain;if(!i)return null;return[-999,a,ee(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},u)]})),wt);function At(e){return null!==e}function Tt(e,r){var n="boolean"==typeof r?{plain:r}:r||{},o=n.plain,a=void 0!==o&&o,c=n.types,u=void 0===c?["style","token","cssVar"]:c,l=new RegExp("^(".concat(("string"==typeof u?[u]:u).join("|"),")%")),s=Array.from(e.cache.keys()).filter((function(e){return l.test(e)})),f={},d={},p="";return s.map((function(r){var n=r.replace(l,"").replace(/%/g,"|"),o=r.split("%"),i=t()(o,1)[0],c=(0,Mt[i])(e.cache.get(r)[1],f,{plain:a});if(!c)return null;var u=t()(c,3),s=u[0],p=u[1],v=u[2];return r.startsWith("style")&&(d[n]=p),[s,v]})).filter(At).sort((function(e,r){return t()(e,1)[0]-t()(r,1)[0]})).forEach((function(e){var r=t()(e,2)[1];p+=r})),p+=ee(".".concat(pt,'{content:"').concat(function(e){return Object.keys(e).map((function(t){var r=e[t];return"".concat(t,":").concat(r)})).join(";")}(d),'";}'),void 0,void 0,i()({},pt,pt),a),p}var Rt=function(){function e(t,r){g()(this,e),i()(this,"name",void 0),i()(this,"style",void 0),i()(this,"_keyframe",!0),this.name=t,this.style=r}return x()(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}(),Lt=Rt;function Pt(e){return e.notSplit=!0,e}var It={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Pt(["borderTop","borderBottom"]),borderBlockStart:Pt(["borderTop"]),borderBlockEnd:Pt(["borderBottom"]),borderInline:Pt(["borderLeft","borderRight"]),borderInlineStart:Pt(["borderLeft"]),borderInlineEnd:Pt(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Bt(e,t){var r=e;return t&&(r="".concat(r," !important")),{_skip_check_:!0,value:r}}var Wt={visit:function(e){var r={};return Object.keys(e).forEach((function(n){var o=e[n],i=It[n];if(!i||"number"!=typeof o&&"string"!=typeof o)r[n]=o;else{var a=function(e){if("number"==typeof e)return[[e],!1];var t=String(e).trim(),r=t.match(/(.*)(!important)/),n=(r?r[1]:t).trim().split(/\s+/),o="",i=0;return[n.reduce((function(e,t){if(t.includes("(")||t.includes(")")){var r=t.split("(").length-1,n=t.split(")").length-1;i+=r-n}return 0===i?(e.push(o+t),o=""):i>0&&(o+=t),e}),[]),!!r]}(o),c=t()(a,2),u=c[0],l=c[1];i.length&&i.notSplit?i.forEach((function(e){r[e]=Bt(o,l)})):1===i.length?r[i[0]]=Bt(o,l):2===i.length?i.forEach((function(e,t){var n;r[e]=Bt(null!==(n=u[t])&&void 0!==n?n:u[0],l)})):4===i.length?i.forEach((function(e,t){var n,o;r[e]=Bt(null!==(n=null!==(o=u[t])&&void 0!==o?o:u[t-2])&&void 0!==n?n:u[0],l)})):r[n]=o}})),r}},Nt=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function qt(e,t){var r=Math.pow(10,t+1),n=Math.floor(e*r);return 10*Math.round(n/10)/r}var Zt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.rootValue,n=void 0===r?16:r,o=e.precision,i=void 0===o?5:o,a=e.mediaQuery,c=void 0!==a&&a,u=function(e,t){if(!t)return e;var r=parseFloat(t);if(r<=1)return e;var o=qt(r/n,i);return"".concat(o,"rem")},s=function(e){var r=l()({},e);return Object.entries(e).forEach((function(e){var n=t()(e,2),o=n[0],i=n[1];if("string"==typeof i&&i.includes("px")){var a=i.replace(Nt,u);r[o]=a}be[o]||"number"!=typeof i||0===i||(r[o]="".concat(i,"px").replace(Nt,u));var l=o.trim();if(l.startsWith("@")&&l.includes("px")&&c){var s=o.replace(Nt,u);r[s]=r[o],delete r[o]}})),r};return{visit:s}},zt={supportModernCSS:function(){return void 0===V&&(V=$(":where(.".concat(H,') { content: "').concat(K,'"!important; }'),(function(e){e.className=H}))),V&&(void 0===Y&&(Y=$(".".concat(H," { inset-block: 93px !important; }"),(function(e){e.className=H}),(function(e){return"93px"===getComputedStyle(e).bottom}))),Y)}}}(),o}()}));
import type Cache from './Cache';
export default function extractStyle(cache: Cache, plain?: boolean): string;
declare const ExtractStyleFns: {
style: import("./hooks/useGlobalCache").ExtractStyle<[styleStr: string, tokenKey: string, styleId: string, effectStyle: Record<string, string>, clientOnly: boolean | undefined, order: number]>;
token: import("./hooks/useGlobalCache").ExtractStyle<[token: any, hashId: string, realToken: any, cssVarStr: string, cssVarKey: string]>;
cssVar: import("./hooks/useGlobalCache").ExtractStyle<[cssVarToken: import("./util/css-variables").TokenWithCSSVar<any, Record<string, any>>, cssVarStr: string, styleId: string, cssVarKey: string]>;
};
type ExtractStyleType = keyof typeof ExtractStyleFns;
export default function extractStyle(cache: Cache, options?: boolean | {
plain?: boolean;
types?: ExtractStyleType | ExtractStyleType[];
}): string;
export {};

@@ -13,5 +13,11 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";

}
export default function extractStyle(cache) {
var plain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var matchPrefixRegexp = new RegExp("^(".concat(Object.keys(ExtractStyleFns).join('|'), ")%"));
export default function extractStyle(cache, options) {
var _ref = typeof options === 'boolean' ? {
plain: options
} : options || {},
_ref$plain = _ref.plain,
plain = _ref$plain === void 0 ? false : _ref$plain,
_ref$types = _ref.types,
types = _ref$types === void 0 ? ['style', 'token', 'cssVar'] : _ref$types;
var matchPrefixRegexp = new RegExp("^(".concat((typeof types === 'string' ? [types] : types).join('|'), ")%"));

@@ -49,11 +55,11 @@ // prefix with `style` is used for `useStyleRegister` to cache style context

return [order, styleStr];
}).filter(isNotNull).sort(function (_ref, _ref2) {
var _ref3 = _slicedToArray(_ref, 1),
o1 = _ref3[0];
}).filter(isNotNull).sort(function (_ref2, _ref3) {
var _ref4 = _slicedToArray(_ref2, 1),
o2 = _ref4[0];
o1 = _ref4[0];
var _ref5 = _slicedToArray(_ref3, 1),
o2 = _ref5[0];
return o1 - o2;
}).forEach(function (_ref5) {
var _ref6 = _slicedToArray(_ref5, 2),
style = _ref6[1];
}).forEach(function (_ref6) {
var _ref7 = _slicedToArray(_ref6, 2),
style = _ref7[1];
styleText += style;

@@ -60,0 +66,0 @@ });

@@ -14,3 +14,3 @@ import type * as CSS from 'csstype';

export type CSSPropertiesWithMultiValues = {
[K in keyof CSSProperties]: CSSProperties[K] | Extract<CSSProperties[K], string>[] | {
[K in keyof CSSProperties]: CSSProperties[K] | readonly Extract<CSSProperties[K], string>[] | {
[SKIP_CHECK]?: boolean;

@@ -24,3 +24,3 @@ [MULTI_VALUE]?: boolean;

};
type ArrayCSSInterpolation = CSSInterpolation[];
type ArrayCSSInterpolation = readonly CSSInterpolation[];
export type InterpolationPrimitive = null | undefined | boolean | number | string | CSSObject;

@@ -27,0 +27,0 @@ export type CSSInterpolation = InterpolationPrimitive | ArrayCSSInterpolation | Keyframes;

import type Cache from './Cache';
export default function extractStyle(cache: Cache, plain?: boolean): string;
declare const ExtractStyleFns: {
style: import("./hooks/useGlobalCache").ExtractStyle<[styleStr: string, tokenKey: string, styleId: string, effectStyle: Record<string, string>, clientOnly: boolean | undefined, order: number]>;
token: import("./hooks/useGlobalCache").ExtractStyle<[token: any, hashId: string, realToken: any, cssVarStr: string, cssVarKey: string]>;
cssVar: import("./hooks/useGlobalCache").ExtractStyle<[cssVarToken: import("./util/css-variables").TokenWithCSSVar<any, Record<string, any>>, cssVarStr: string, styleId: string, cssVarKey: string]>;
};
type ExtractStyleType = keyof typeof ExtractStyleFns;
export default function extractStyle(cache: Cache, options?: boolean | {
plain?: boolean;
types?: ExtractStyleType | ExtractStyleType[];
}): string;
export {};

@@ -20,5 +20,11 @@ "use strict";

}
function extractStyle(cache) {
var plain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var matchPrefixRegexp = new RegExp("^(".concat(Object.keys(ExtractStyleFns).join('|'), ")%"));
function extractStyle(cache, options) {
var _ref = typeof options === 'boolean' ? {
plain: options
} : options || {},
_ref$plain = _ref.plain,
plain = _ref$plain === void 0 ? false : _ref$plain,
_ref$types = _ref.types,
types = _ref$types === void 0 ? ['style', 'token', 'cssVar'] : _ref$types;
var matchPrefixRegexp = new RegExp("^(".concat((typeof types === 'string' ? [types] : types).join('|'), ")%"));

@@ -56,11 +62,11 @@ // prefix with `style` is used for `useStyleRegister` to cache style context

return [order, styleStr];
}).filter(isNotNull).sort(function (_ref, _ref2) {
var _ref3 = (0, _slicedToArray2.default)(_ref, 1),
o1 = _ref3[0];
}).filter(isNotNull).sort(function (_ref2, _ref3) {
var _ref4 = (0, _slicedToArray2.default)(_ref2, 1),
o2 = _ref4[0];
o1 = _ref4[0];
var _ref5 = (0, _slicedToArray2.default)(_ref3, 1),
o2 = _ref5[0];
return o1 - o2;
}).forEach(function (_ref5) {
var _ref6 = (0, _slicedToArray2.default)(_ref5, 2),
style = _ref6[1];
}).forEach(function (_ref6) {
var _ref7 = (0, _slicedToArray2.default)(_ref6, 2),
style = _ref7[1];
styleText += style;

@@ -67,0 +73,0 @@ });

@@ -14,3 +14,3 @@ import type * as CSS from 'csstype';

export type CSSPropertiesWithMultiValues = {
[K in keyof CSSProperties]: CSSProperties[K] | Extract<CSSProperties[K], string>[] | {
[K in keyof CSSProperties]: CSSProperties[K] | readonly Extract<CSSProperties[K], string>[] | {
[SKIP_CHECK]?: boolean;

@@ -24,3 +24,3 @@ [MULTI_VALUE]?: boolean;

};
type ArrayCSSInterpolation = CSSInterpolation[];
type ArrayCSSInterpolation = readonly CSSInterpolation[];
export type InterpolationPrimitive = null | undefined | boolean | number | string | CSSObject;

@@ -27,0 +27,0 @@ export type CSSInterpolation = InterpolationPrimitive | ArrayCSSInterpolation | Keyframes;

{
"name": "@ant-design/cssinjs",
"version": "1.18.1",
"version": "1.18.2",
"description": "Component level cssinjs resolution for antd",

@@ -47,3 +47,3 @@ "keywords": [

"classnames": "^2.3.1",
"csstype": "3.1.2",
"csstype": "^3.1.3",
"rc-util": "^5.35.0",

@@ -50,0 +50,0 @@ "stylis": "^4.0.13"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc