"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2725],{9836:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(12115),o=r(39985);let i=t=>{let e=n.useContext(o.A);return n.useMemo(()=>t?"string"==typeof t?null!=t?t:e:"function"==typeof t?t(e):e:e,[t,e])}},17980:(t,e,r)=>{r.d(e,{A:()=>n});function n(t,e){var r=Object.assign({},t);return Array.isArray(e)&&e.forEach(function(t){delete r[t]}),r}},18574:(t,e,r)=>{r.d(e,{Ay:()=>v,K6:()=>h,RQ:()=>f});var n=r(12115),o=r(29300),i=r.n(o),a=r(63715),c=r(15982),l=r(9836),u=r(93355),s=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);oe.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};let p=n.createContext(null),f=(t,e)=>{let r=n.useContext(p),o=n.useMemo(()=>{if(!r)return"";let{compactDirection:n,isFirstItem:o,isLastItem:a}=r,c="vertical"===n?"-vertical-":"-";return i()("".concat(t,"-compact").concat(c,"item"),{["".concat(t,"-compact").concat(c,"first-item")]:o,["".concat(t,"-compact").concat(c,"last-item")]:a,["".concat(t,"-compact").concat(c,"item-rtl")]:"rtl"===e})},[t,e,r]);return{compactSize:null==r?void 0:r.compactSize,compactDirection:null==r?void 0:r.compactDirection,compactItemClassnames:o}},h=t=>{let{children:e}=t;return n.createElement(p.Provider,{value:null},e)},d=t=>{let{children:e}=t,r=s(t,["children"]);return n.createElement(p.Provider,{value:n.useMemo(()=>r,[r])},e)},v=t=>{let{getPrefixCls:e,direction:r}=n.useContext(c.QO),{size:o,direction:f,block:h,prefixCls:v,className:y,rootClassName:m,children:g}=t,w=s(t,["size","direction","block","prefixCls","className","rootClassName","children"]),b=(0,l.A)(t=>null!=o?o:t),x=e("space-compact",v),[E,L]=(0,u.A)(x),O=i()(x,L,{["".concat(x,"-rtl")]:"rtl"===r,["".concat(x,"-block")]:h,["".concat(x,"-vertical")]:"vertical"===f},y,m),S=n.useContext(p),G=(0,a.A)(g),A=n.useMemo(()=>G.map((t,e)=>{let r=(null==t?void 0:t.key)||"".concat(x,"-item-").concat(e);return n.createElement(d,{key:r,compactSize:b,compactDirection:f,isFirstItem:0===e&&(!S||(null==S?void 0:S.isFirstItem)),isLastItem:e===G.length-1&&(!S||(null==S?void 0:S.isLastItem))},t)}),[o,G,S]);return 0===G.length?null:E(n.createElement("div",Object.assign({className:O},w),A))}},39985:(t,e,r)=>{r.d(e,{A:()=>a,c:()=>i});var n=r(12115);let o=n.createContext(void 0),i=t=>{let{children:e,size:r}=t,i=n.useContext(o);return n.createElement(o.Provider,{value:r||i},e)},a=o},58211:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(86608);function o(){o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(t){p=function(t,e,r){return t[e]=r}}function f(e,r,n,o){var i,c,l,u,s=Object.create((r&&r.prototype instanceof g?r:g).prototype);return a(s,"_invoke",{value:(i=e,c=n,l=new k(o||[]),u=d,function(e,r){if(u===v)throw Error("Generator is already running");if(u===y){if("throw"===e)throw r;return{value:t,done:!0}}for(l.method=e,l.arg=r;;){var n=l.delegate;if(n){var o=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),m;var a=h(i,r.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var c=a.arg;return c?c.done?(n[r.resultName]=c.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):c:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,m)}(n,l);if(o){if(o===m)continue;return o}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(u===d)throw u=y,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);u=v;var a=h(i,c,l);if("normal"===a.type){if(u=l.done?y:"suspendedYield",a.arg===m)continue;return{value:a.arg,done:l.done}}"throw"===a.type&&(u=y,l.method="throw",l.arg=a.arg)}})}),s}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var d="suspendedStart",v="executing",y="completed",m={};function g(){}function w(){}function b(){}var x={};p(x,l,function(){return this});var E=Object.getPrototypeOf,L=E&&E(E(_([])));L&&L!==r&&i.call(L,l)&&(x=L);var O=b.prototype=g.prototype=Object.create(x);function S(t){["next","throw","return"].forEach(function(e){p(t,e,function(t){return this._invoke(e,t)})})}function G(t,e){var r;a(this,"_invoke",{value:function(o,a){function c(){return new e(function(r,c){!function r(o,a,c,l){var u=h(t[o],t,a);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==(0,n.A)(p)&&i.call(p,"__await")?e.resolve(p.__await).then(function(t){r("next",t,c,l)},function(t){r("throw",t,c,l)}):e.resolve(p).then(function(t){s.value=t,c(s)},function(t){return r("throw",t,c,l)})}l(u.arg)}(o,a,r,c)})}return r=r?r.then(c,c):c()}})}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}},63715:(t,e,r)=>{r.d(e,{A:()=>function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[];return o.Children.forEach(e,function(e){(null!=e||r.keepEmpty)&&(Array.isArray(e)?i=i.concat(t(e)):(0,n.A)(e)&&e.props?i=i.concat(t(e.props.children,r)):i.push(e))}),i}});var n=r(10337),o=r(12115)},93355:(t,e,r)=>{r.d(e,{A:()=>l});var n=r(45431),o=r(61388);let i=t=>{let{componentCls:e}=t;return{[e]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},a=t=>{let{componentCls:e,antCls:r}=t;return{[e]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},["".concat(e,"-item:empty")]:{display:"none"},["".concat(e,"-item > ").concat(r,"-badge-not-a-wrapper:only-child")]:{display:"block"}}}},c=t=>{let{componentCls:e}=t;return{[e]:{"&-gap-row-small":{rowGap:t.spaceGapSmallSize},"&-gap-row-middle":{rowGap:t.spaceGapMiddleSize},"&-gap-row-large":{rowGap:t.spaceGapLargeSize},"&-gap-col-small":{columnGap:t.spaceGapSmallSize},"&-gap-col-middle":{columnGap:t.spaceGapMiddleSize},"&-gap-col-large":{columnGap:t.spaceGapLargeSize}}}},l=(0,n.OF)("Space",t=>{let e=(0,o.oX)(t,{spaceGapSmallSize:t.paddingXS,spaceGapMiddleSize:t.padding,spaceGapLargeSize:t.paddingLG});return[a(e),c(e),i(e)]},()=>({}),{resetStyle:!1})},94251:(t,e,r)=>{function n(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void r(t)}c.done?e(l):Promise.resolve(l).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,l,"next",t)}function l(t){n(a,o,i,c,l,"throw",t)}c(void 0)})}}r.d(e,{A:()=>o})}}]);