"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9447],{96074:function(t,e,r){r.d(e,{Z:function(){return g}});var n=r(94184),i=r.n(n),o=r(67294),a=r(53124),l=r(67968),d=r(45503),s=r(14747);const h=t=>{const{componentCls:e,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:i}=t;return{[e]:Object.assign(Object.assign({},(0,s.Wf)(t)),{borderBlockStart:`${i}px solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${t.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${t.dividerHorizontalGutterMargin}px 0`},"&-horizontal&-with-text":{display:"flex",alignItems:"center",margin:`${t.dividerHorizontalWithTextGutterMargin}px 0`,color:t.colorTextHeading,fontWeight:500,fontSize:t.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},"&-horizontal&-with-text-left":{"&::before":{width:"5%"},"&::after":{width:"95%"}},"&-horizontal&-with-text-right":{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${e}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${i}px 0 0`},"&-horizontal&-with-text&-dashed":{"&::before, &::after":{borderStyle:"dashed none none"}},"&-vertical&-dashed":{borderInlineStart:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-plain&-with-text":{color:t.colorText,fontWeight:"normal",fontSize:t.fontSize},"&-horizontal&-with-text-left&-no-default-orientation-margin-left":{"&::before":{width:0},"&::after":{width:"100%"},[`${e}-inner-text`]:{paddingInlineStart:r}},"&-horizontal&-with-text-right&-no-default-orientation-margin-right":{"&::before":{width:"100%"},"&::after":{width:0},[`${e}-inner-text`]:{paddingInlineEnd:r}}})}};var c=(0,l.Z)("Divider",(t=>{const e=(0,d.TS)(t,{dividerVerticalGutterMargin:t.marginXS,dividerHorizontalWithTextGutterMargin:t.margin,dividerHorizontalGutterMargin:t.marginLG});return[h(e)]}),{sizePaddingEdgeHorizontal:0}),f=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r};var g=t=>{const{getPrefixCls:e,direction:r}=o.useContext(a.E_),{prefixCls:n,type:l="horizontal",orientation:d="center",orientationMargin:s,className:h,children:g,dashed:u,plain:p}=t,b=f(t,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),m=e("divider",n),[w,y]=c(m),x=d.length>0?`-${d}`:d,$=!!g,v="left"===d&&null!=s,S="right"===d&&null!=s,z=i()(m,y,`${m}-${l}`,{[`${m}-with-text`]:$,[`${m}-with-text${x}`]:$,[`${m}-dashed`]:!!u,[`${m}-plain`]:!!p,[`${m}-rtl`]:"rtl"===r,[`${m}-no-default-orientation-margin-left`]:v,[`${m}-no-default-orientation-margin-right`]:S},h),E=Object.assign(Object.assign({},v&&{marginLeft:s}),S&&{marginRight:s});return w(o.createElement("div",Object.assign({className:z},b,{role:"separator"}),g&&"vertical"!==l&&o.createElement("span",{className:`${m}-inner-text`,style:E},g)))}},87918:function(t,e,r){var n=r(83454);function i(t){this.name="ErrorList",this.message=t,this.stack=(new Error).stack,this.errors=[],Object.defineProperty(this,"length",{get:function(){return this.errors.length}})}async function o(t){return new Promise((e=>setTimeout(e,t)))}async function a(t,...e){return new Promise(((r,n)=>{t(...e,((t,e)=>{if(t)return n(t);r(e)}))}))}function l(t){return async(...e)=>a(t,...e)}function d(t,e){throw t}function s(t,e){}async function h(t,e=1/0,r=0){return new Promise(((n,o)=>{const a=Math.min(t.length,e),l=Math.min(t.length-a,r),d=[],s=new i("too many failures");function h(t){s.length>l||(d.push(t),d.length===a&&n(d))}function c(t){s.length>l||d.length>=a||(s.add(t),s.length>l&&o(s))}t.forEach((t=>t.then(h).catch(c)))}))}async function c(t,e=0){return new Promise(((r,n)=>{const o=[],a=new i("too many failures"),l=()=>d+a.length===t.length;let d=0;t.forEach(((t,i)=>{t.then((function(t){if(a.length>e)return;o[i]=t,d++,l()&&r(o)})).catch((function(t){if(a.length>e)return;o[i]=void 0,a.add(t),a.length>e?n(a):l()&&r(o)}))}))}))}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.prototype.add=function(t){this.errors.push(t)},i.prototype.get=function(t){return this.errors[t]},i.prototype[Symbol.iterator]=function*(){let t=0;for(;t<this.errors.length;)yield this.errors[t],t++},e.gw=o}}]);