You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/64568.async.js

1 line
23 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[64568,37408,52720,99200,42865,12526,81326,94465,85570,30649,47821,87648,82010,61999],{5105:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(1565),o=n(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},l=n(99194),a=function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var s=o.forwardRef(a)},626:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(1565),o=n(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},l=n(99194),a=function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var s=o.forwardRef(a)},56762:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(59301);function o(){const[,e]=r.useReducer((e=>e+1),0);return e}},66104:function(e,t,n){n.d(t,{Z:function(){return N}});var r=n(92310),o=n.n(r),i=n(47783),l=n(90339),a=n(59301),s=n(92343),c=n(36355),d=n(8876),u=n(91857);const p=e=>{let{children:t}=e;const{getPrefixCls:n}=a.useContext(c.E_),r=n("breadcrumb");return a.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var m=p,f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function b(e,t,n,r){if(null==n)return null;const{className:i,onClick:s}=t,c=f(t,["className","onClick"]),d=Object.assign(Object.assign({},(0,l.Z)(c,{data:!0,aria:!0})),{onClick:s});return void 0!==r?a.createElement("a",Object.assign({},d,{className:o()(`${e}-link`,i),href:r}),n):a.createElement("span",Object.assign({},d,{className:o()(`${e}-link`,i)}),n)}function g(e,t){return(n,r,o,i,l)=>{if(t)return t(n,r,o,i);const a=function(e,t){if(void 0===e.title||null===e.title)return null;const n=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${n})`,"g"),((e,n)=>t[n]||e))}(n,r);return b(e,n,a,l)}}var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const v=e=>{const{prefixCls:t,separator:n="/",children:r,menu:o,overlay:i,dropdownProps:l,href:s}=e;const c=(e=>{if(o||i){const n=Object.assign({},l);if(o){const e=o||{},{items:t}=e,r=h(e,["items"]);n.menu=Object.assign(Object.assign({},r),{items:null==t?void 0:t.map(((e,t)=>{var{key:n,title:r,label:o,path:i}=e,l=h(e,["key","title","label","path"]);let c=null!=o?o:r;return i&&(c=a.createElement("a",{href:`${s}${i}`},c)),Object.assign(Object.assign({},l),{key:null!=n?n:t,label:c})}))})}else i&&(n.overlay=i);return a.createElement(u.Z,Object.assign({placement:"bottom"},n),a.createElement("span",{className:`${t}-overlay-link`},e,a.createElement(d.Z,null)))}return e})(r);return null!=c?a.createElement(a.Fragment,null,a.createElement("li",null,c),n&&a.createElement(m,null,n)):null},y=e=>{const{prefixCls:t,children:n,href:r}=e,o=h(e,["prefixCls","children","href"]),{getPrefixCls:i}=a.useContext(c.E_),l=i("breadcrumb",t);return a.createElement(v,Object.assign({},o,{prefixCls:l}),b(l,o,n,r))};y.__ANT_BREADCRUMB_ITEM=!0;var O=y,x=n(17313),C=n(83116),$=n(37613);const S=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,x.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,x.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${n} + span,\n > ${n} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var w=(0,C.Z)("Breadcrumb",(e=>{const t=(0,$.TS)(e,{});return[S(t)]}),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function j(e){const{breadcrumbName:t,children:n}=e,r=k(e,["breadcrumbName","children"]),o=Object.assign({title:t},r);return n&&(o.menu={items:n.map((e=>{var{breadcrumbName:t}=e,n=k(e,["breadcrumbName"]);return Object.assign(Object.assign({},n),{title:t})}))}),o}var E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const I=e=>{const{prefixCls:t,separator:n="/",style:r,className:d,rootClassName:u,routes:p,items:f,children:b,itemRender:h,params:y={}}=e,O=E(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:x,direction:C,breadcrumb:$}=a.useContext(c.E_);let S;const k=x("breadcrumb",t),[I,N]=w(k),P=function(e,t){return(0,a.useMemo)((()=>e||(t?t.map(j):null)),[e,t])}(f,p);const z=g(k,h);if(P&&P.length>0){const e=[],t=f||p;S=P.map(((r,o)=>{const{path:i,key:s,type:c,menu:d,overlay:u,onClick:p,className:f,separator:b,dropdownProps:g}=r,h=((e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{n=n.replace(`:${t}`,e[t])})),n})(y,i);void 0!==h&&e.push(h);const O=null!=s?s:o;if("separator"===c)return a.createElement(m,{key:O},b);const x={},C=o===P.length-1;d?x.menu=d:u&&(x.overlay=u);let{href:$}=r;return e.length&&void 0!==h&&($=`#/${e.join("/")}`),a.createElement(v,Object.assign({key:O},x,(0,l.Z)(r,{data:!0,aria:!0}),{className:f,dropdownProps:g,href:$,separator:C?"":n,onClick:p,prefixCls:k}),z(r,y,t,e,$))}))}else if(b){const e=(0,i.Z)(b).length;S=(0,i.Z)(b).map(((t,r)=>{if(!t)return t;const o=r===e-1;return(0,s.Tm)(t,{separator:o?"":n,key:r})}))}const M=o()(k,null==$?void 0:$.className,{[`${k}-rtl`]:"rtl"===C},d,u,N),Z=Object.assign(Object.assign({},null==$?void 0:$.style),r);return I(a.createElement("nav",Object.assign({className:M,style:Z},O),a.createElement("ol",null,S)))};I.Item=O,I.Separator=m;var N=I},24905:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(92310),o=n.n(r),i=n(5630),l=n(59301),a=n(36355),s=n(1684),c=n(32441);var d=l.createContext(null),u=n(98447),p=n(14088),m=n(4572),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const b=(e,t)=>{var n;const{prefixCls:r,className:b,rootClassName:g,children:h,indeterminate:v=!1,style:y,onMouseEnter:O,onMouseLeave:x,skipGroup:C=!1,disabled:$}=e,S=f(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:w,direction:k,checkbox:j}=l.useContext(a.E_),E=l.useContext(d),{isFormItemInput:I}=l.useContext(c.aM),N=l.useContext(s.Z),P=null!==(n=(null==E?void 0:E.disabled)||$)&&void 0!==n?n:N,z=l.useRef(S.value);l.useEffect((()=>{null==E||E.registerValue(S.value)}),[]),l.useEffect((()=>{if(!C)return S.value!==z.current&&(null==E||E.cancelValue(z.current),null==E||E.registerValue(S.value),z.current=S.value),()=>null==E?void 0:E.cancelValue(S.value)}),[S.value]);const M=w("checkbox",r),[Z,B]=(0,u.ZP)(M),H=Object.assign({},S);E&&!C&&(H.onChange=function(){S.onChange&&S.onChange.apply(S,arguments),E.toggleOption&&E.toggleOption({label:h,value:S.value})},H.name=E.name,H.checked=E.value.includes(S.value));const T=o()(`${M}-wrapper`,{[`${M}-rtl`]:"rtl"===k,[`${M}-wrapper-checked`]:H.checked,[`${M}-wrapper-disabled`]:P,[`${M}-wrapper-in-form-item`]:I},null==j?void 0:j.className,b,g,B),_=o()({[`${M}-indeterminate`]:v},m.A,B),R=v?"mixed":void 0;return Z(l.createElement(p.Z,{component:"Checkbox",disabled:P},l.createElement("label",{className:T,style:Object.assign(Object.assign({},null==j?void 0:j.style),y),onMouseEnter:O,onMouseLeave:x},l.createElement(i.Z,Object.assign({"aria-checked":R},H,{prefixCls:M,className:_,disabled:P,ref:t})),void 0!==h&&l.createElement("span",null,h))))};var g=l.forwardRef(b),h=n(12295),v=n(62805),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const O=(e,t)=>{const{defaultValue:n,children:r,options:i=[],prefixCls:s,className:c,rootClassName:p,style:m,onChange:f}=e,b=y(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:O,direction:x}=l.useContext(a.E_),[C,$]=l.useState(b.value||n||[]),[S,w]=l.useState([]);l.useEffect((()=>{"value"in b&&$(b.value||[])}),[b.value]);const k=l.useMemo((()=>i.map((e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e))),[i]),j=O("checkbox",s),E=`${j}-group`,[I,N]=(0,u.ZP)(j),P=(0,v.Z)(b,["value","disabled"]),z=i.length?k.map((e=>l.createElement(g,{prefixCls:j,key:e.value.toString(),disabled:"disabled"in e?e.disabled:b.disabled,value:e.value,checked:C.includes(e.value),onChange:e.onChange,className:`${E}-item`,style:e.style,title:e.title},e.label))):r,M={toggleOption:e=>{const t=C.indexOf(e.value),n=(0,h.Z)(C);-1===t?n.push(e.value):n.splice(t,1),"value"in b||$(n),null==f||f(n.filter((e=>S.includes(e))).sort(((e,t)=>k.findIndex((t=>t.value===e))-k.findIndex((e=>e.value===t)))))},value:C,disabled:b.disabled,name:b.name,registerValue:e=>{w((t=>[].concat((0,h.Z)(t),[e])))},cancelValue:e=>{w((t=>t.filter((t=>t!==e))))}},Z=o()(E,{[`${E}-rtl`]:"rtl"===x},c,p,N);return I(l.createElement("div",Object.assign({className:Z,style:m},P,{ref:t}),l.createElement(d.Provider,{value:M},z)))},x=l.forwardRef(O);var C=l.memo(x);const $=g;$.Group=C,$.__ANT_CHECKBOX=!0;var S=$},98447:function(e,t,n){n.d(t,{C2:function(){return a}});var r=n(17313),o=n(37613),i=n(83116);const l=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,r.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,r.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,r.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[`\n ${n}:not(${n}-disabled),\n ${t}:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`\n ${n}-checked:not(${n}-disabled),\n ${t}-checked:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function a(e,t){const n=(0,o.TS)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[l(n)]}t.ZP=(0,i.Z)("Checkbox",((e,t)=>{let{prefixCls:n}=t;return[a(n,e)]}))},28103:function(e,t,n){n.d(t,{Z:function(){return m}});var r=n(92310),o=n.n(r),i=n(59301),l=n(36355),a=n(17313),s=n(83116),c=n(37613);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:100*l+"%"},"&::after":{width:100-100*l+"%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:100-100*l+"%"},"&::after":{width:100*l+"%"}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var u=(0,s.Z)("Divider",(e=>{const t=(0,c.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}))),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var m=e=>{const{getPrefixCls:t,direction:n,divider:r}=i.useContext(l.E_),{prefixCls:a,type:s="horizontal",orientation:c="center",orientationMargin:d,className:m,rootClassName:f,children:b,dashed:g,plain:h,style:v}=e,y=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),O=t("divider",a),[x,C]=u(O),$=c.length>0?`-${c}`:c,S=!!b,w="left"===c&&null!=d,k="right"===c&&null!=d,j=o()(O,null==r?void 0:r.className,C,`${O}-${s}`,{[`${O}-with-text`]:S,[`${O}-with-text${$}`]:S,[`${O}-dashed`]:!!g,[`${O}-plain`]:!!h,[`${O}-rtl`]:"rtl"===n,[`${O}-no-default-orientation-margin-left`]:w,[`${O}-no-default-orientation-margin-right`]:k},m,f),E=i.useMemo((()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d),[d]),I=Object.assign(Object.assign({},w&&{marginLeft:E}),k&&{marginRight:E});return x(i.createElement("div",Object.assign({className:j,style:Object.assign(Object.assign({},null==r?void 0:r.style),v)},y,{role:"separator"}),b&&"vertical"!==s&&i.createElement("span",{className:`${O}-inner-text`,style:I},b)))}},57809:function(e,t,n){var r=n(92310),o=n.n(r),i=n(77861),l=n(62805),a=n(59301),s=n(53487),c=n(62892),d=n(19080),u=n(36355),p=n(1684),m=n(93891),f=n(19716),b=n(32441),g=n(33234),h=n(14154),v=n(58582),y=n(84443),O=n(66339),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const C="SECRET_COMBOBOX_MODE_DO_NOT_USE",$=(e,t)=>{var n,{prefixCls:r,bordered:s=!0,className:$,rootClassName:S,getPopupContainer:w,popupClassName:k,dropdownClassName:j,listHeight:E=256,placement:I,listItemHeight:N=24,size:P,disabled:z,notFoundContent:M,status:Z,builtinPlacements:B,dropdownMatchSelectWidth:H,popupMatchSelectWidth:T,direction:_,style:R,allowClear:W}=e,X=x(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:D,getPrefixCls:L,renderEmpty:F,direction:A,virtual:G,popupMatchSelectWidth:V,popupOverflow:U,select:Y}=a.useContext(u.E_),K=L("select",r),Q=L(),q=null!=_?_:A,{compactSize:J,compactItemClassnames:ee}=(0,g.ri)(K,q),[te,ne]=(0,h.Z)(K),re=a.useMemo((()=>{const{mode:e}=X;if("combobox"!==e)return e===C?"combobox":e}),[X.mode]),oe="multiple"===re||"tags"===re,ie=(0,y.Z)(X.suffixIcon,X.showArrow),le=null!==(n=null!=T?T:H)&&void 0!==n?n:V,{status:ae,hasFeedback:se,isFormItemInput:ce,feedbackIcon:de}=a.useContext(b.aM),ue=(0,d.F)(ae,Z);let pe;pe=void 0!==M?M:"combobox"===re?null:(null==F?void 0:F("Select"))||a.createElement(m.Z,{componentName:"Select"});const{suffixIcon:me,itemIcon:fe,removeIcon:be,clearIcon:ge}=(0,O.Z)(Object.assign(Object.assign({},X),{multiple:oe,hasFeedback:se,feedbackIcon:de,showSuffixIcon:ie,prefixCls:K,showArrow:X.showArrow,componentName:"Select"})),he=!0===W?{clearIcon:ge}:W,ve=(0,l.Z)(X,["suffixIcon","itemIcon"]),ye=o()(k||j,{[`${K}-dropdown-${q}`]:"rtl"===q},S,ne),Oe=(0,f.Z)((e=>{var t;return null!==(t=null!=P?P:J)&&void 0!==t?t:e})),xe=a.useContext(p.Z),Ce=null!=z?z:xe,$e=o()({[`${K}-lg`]:"large"===Oe,[`${K}-sm`]:"small"===Oe,[`${K}-rtl`]:"rtl"===q,[`${K}-borderless`]:!s,[`${K}-in-form-item`]:ce},(0,d.Z)(K,ue,se),ee,null==Y?void 0:Y.className,$,S,ne),Se=a.useMemo((()=>void 0!==I?I:"rtl"===q?"bottomRight":"bottomLeft"),[I,q]),we=(0,v.Z)(B,U);return te(a.createElement(i.ZP,Object.assign({ref:t,virtual:G,showSearch:null==Y?void 0:Y.showSearch},ve,{style:Object.assign(Object.assign({},null==Y?void 0:Y.style),R),dropdownMatchSelectWidth:le,builtinPlacements:we,transitionName:(0,c.m)(Q,"slide-up",X.transitionName),listHeight:E,listItemHeight:N,mode:re,prefixCls:K,placement:Se,direction:q,suffixIcon:me,menuItemSelectedIcon:fe,removeIcon:be,allowClear:he,notFoundContent:pe,className:$e,getPopupContainer:w||D,dropdownClassName:ye,disabled:Ce})))};const S=a.forwardRef($),w=(0,s.Z)(S);S.SECRET_COMBOBOX_MODE_DO_NOT_USE=C,S.Option=i.Wx,S.OptGroup=i.Xo,S._InternalPanelDoNotUseOrYouWillBeFired=w,t.default=S},43236:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(4676);function o(e,t,n,o){var i=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,i,o),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,i,o)}}}},13962:function(e,t,n){n.d(t,{g1:function(){return r},os:function(){return o}});function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function o(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}}}]);