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/9310.async.js

1 line
9.3 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9310],{11407:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(1565),i=n(59301),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=n(68475),l=function(e,t){return i.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:r}))};var c=i.forwardRef(l)},88845:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(1565),i=n(59301),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=n(68475),l=function(e,t){return i.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:r}))};var c=i.forwardRef(l)},28103:function(e,t,n){n.d(t,{Z:function(){return p}});var o=n(92310),i=n.n(o),r=n(59301),a=n(36355),l=n(17313),c=n(83116),s=n(37613);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:i,textPaddingInline:r,orientationMargin:a,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,l.Wf)(e)),{borderBlockStart:`${i}px solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${o}`},"&-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 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:100*a+"%"},"&::after":{width:100-100*a+"%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:100-100*a+"%"},"&::after":{width:100*a+"%"}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,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 f=(0,c.Z)("Divider",(e=>{const t=(0,s.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}))),u=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n};var p=e=>{const{getPrefixCls:t,direction:n,divider:o}=r.useContext(a.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:p,rootClassName:g,children:h,dashed:m,plain:v,style:b}=e,w=u(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),y=t("divider",l),[$,x]=f(y),C=s.length>0?`-${s}`:s,E=!!h,O="left"===s&&null!=d,S="right"===s&&null!=d,k=i()(y,null==o?void 0:o.className,x,`${y}-${c}`,{[`${y}-with-text`]:E,[`${y}-with-text${C}`]:E,[`${y}-dashed`]:!!m,[`${y}-plain`]:!!v,[`${y}-rtl`]:"rtl"===n,[`${y}-no-default-orientation-margin-left`]:O,[`${y}-no-default-orientation-margin-right`]:S},p,g),z=r.useMemo((()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d),[d]),M=Object.assign(Object.assign({},O&&{marginLeft:z}),S&&{marginRight:z});return $(r.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},null==o?void 0:o.style),b)},w,{role:"separator"}),h&&"vertical"!==c&&r.createElement("span",{className:`${y}-inner-text`,style:M},h)))}},8378:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},31561:function(e,t,n){n.d(t,{Z:function(){return x}});var o=n(1565),i=n(22386),r=n(88703),a=n(52167),l=n(35593),c=n(92310),s=n.n(c),d=n(16863),f=n(59301),u=n(13108),p=n(3490),g=u.Z.ESC,h=u.Z.TAB;var m=(0,f.forwardRef)((function(e,t){var n=e.overlay,o=e.arrow,i=e.prefixCls,r=(0,f.useMemo)((function(){return"function"==typeof n?n():n}),[n]),a=(0,d.sQ)(t,null==r?void 0:r.ref);return f.createElement(f.Fragment,null,o&&f.createElement("div",{className:"".concat(i,"-arrow")}),f.cloneElement(r,{ref:(0,d.Yr)(r)?a:void 0}))})),v={adjustX:1,adjustY:1},b=[0,0],w={topLeft:{points:["bl","tl"],overflow:v,offset:[0,-4],targetOffset:b},top:{points:["bc","tc"],overflow:v,offset:[0,-4],targetOffset:b},topRight:{points:["br","tr"],overflow:v,offset:[0,-4],targetOffset:b},bottomLeft:{points:["tl","bl"],overflow:v,offset:[0,4],targetOffset:b},bottom:{points:["tc","bc"],overflow:v,offset:[0,4],targetOffset:b},bottomRight:{points:["tr","br"],overflow:v,offset:[0,4],targetOffset:b}},y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function $(e,t){var n,c=e.arrow,u=void 0!==c&&c,v=e.prefixCls,b=void 0===v?"rc-dropdown":v,$=e.transitionName,x=e.animation,C=e.align,E=e.placement,O=void 0===E?"bottomLeft":E,S=e.placements,k=void 0===S?w:S,z=e.getPopupContainer,M=e.showAction,Z=e.hideAction,I=e.overlayClassName,N=e.overlayStyle,L=e.visible,P=e.trigger,R=void 0===P?["hover"]:P,j=e.autoFocus,B=e.overlay,T=e.children,W=e.onVisibleChange,A=(0,a.Z)(e,y),H=f.useState(),V=(0,r.Z)(H,2),D=V[0],G=V[1],F="visible"in e?L:D,Y=f.useRef(null),X=f.useRef(null),_=f.useRef(null);f.useImperativeHandle(t,(function(){return Y.current}));var Q=function(e){G(e),null==W||W(e)};!function(e){var t=e.visible,n=e.triggerRef,o=e.onVisibleChange,i=e.autoFocus,r=e.overlayRef,a=f.useRef(!1),l=function(){var e,i;t&&(null===(e=n.current)||void 0===e||null===(i=e.focus)||void 0===i||i.call(e),null==o||o(!1))},c=function(){var e;return!(null===(e=r.current)||void 0===e||!e.focus||(r.current.focus(),a.current=!0,0))},s=function(e){switch(e.keyCode){case g:l();break;case h:var t=!1;a.current||(t=c()),t?e.preventDefault():l()}};f.useEffect((function(){return t?(window.addEventListener("keydown",s),i&&(0,p.Z)(c,3),function(){window.removeEventListener("keydown",s),a.current=!1}):function(){a.current=!1}}),[t])}({visible:F,triggerRef:_,onVisibleChange:Q,autoFocus:j,overlayRef:X});var U,q,J,K=function(){return f.createElement(m,{ref:X,overlay:B,prefixCls:b,arrow:u})},ee=f.cloneElement(T,{className:s()(null===(n=T.props)||void 0===n?void 0:n.className,F&&(U=e.openClassName,void 0!==U?U:"".concat(b,"-open"))),ref:(0,d.Yr)(T)?(0,d.sQ)(_,T.ref):void 0}),te=Z;return te||-1===R.indexOf("contextMenu")||(te=["click"]),f.createElement(l.Z,(0,o.Z)({builtinPlacements:k},A,{prefixCls:b,ref:Y,popupClassName:s()(I,(0,i.Z)({},"".concat(b,"-show-arrow"),u)),popupStyle:N,action:R,showAction:M,hideAction:te,popupPlacement:O,popupAlign:C,popupTransitionName:$,popupAnimation:x,popupVisible:F,stretch:(q=e.minOverlayWidthMatchTrigger,J=e.alignPoint,("minOverlayWidthMatchTrigger"in e?q:!J)?"minWidth":""),popup:"function"==typeof B?K:K(),onPopupVisibleChange:Q,onPopupClick:function(t){var n=e.onOverlayClick;G(!1),n&&n(t)},getPopupContainer:z}),ee)}var x=f.forwardRef($)},10740:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(4676);function i(e,t,n,i){var r=o.unstable_batchedUpdates?function(e){o.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,r,i),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,r,i)}}}},49910:function(e,t,n){n.d(t,{g1:function(){return o},os:function(){return i}});function o(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function i(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)}}}}]);