0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.116.63.107


Current Path : /var/www/qpms/assets/
Upload File :
Current File : /var/www/qpms/assets/index-DAtDV0BY.js

import{aN as L,r as l,aV as Q,g as T,ab as U,aW as Z,c as w,aX as E,aY as h}from"./index-DoOhtRM-.js";const j=L.createContext({latestIndex:0}),ee=j.Provider,te=a=>{let{className:i,index:n,children:e,split:s,style:u}=a;const{latestIndex:t}=l.useContext(j);return e==null?null:l.createElement(l.Fragment,null,l.createElement("div",{className:i,style:u},e),n<t&&s&&l.createElement("span",{className:`${i}-split`},s))};var se=function(a,i){var n={};for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&i.indexOf(e)<0&&(n[e]=a[e]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,e=Object.getOwnPropertySymbols(a);s<e.length;s++)i.indexOf(e[s])<0&&Object.prototype.propertyIsEnumerable.call(a,e[s])&&(n[e[s]]=a[e[s]]);return n};const ae=l.forwardRef((a,i)=>{var n,e,s;const{getPrefixCls:u,space:t,direction:V}=l.useContext(T),{size:c=(n=t==null?void 0:t.size)!==null&&n!==void 0?n:"small",align:N,className:I,rootClassName:_,children:A,direction:S="horizontal",prefixCls:k,split:G,style:H,wrap:W=!1,classNames:v,styles:f}=a,B=se(a,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[d,m]=Array.isArray(c)?c:[c,c],z=E(m),b=E(d),F=h(m),M=h(d),$=U(A,{keepEmpty:!0}),O=N===void 0&&S==="horizontal"?"center":N,o=u("space",k),[R,X,Y]=Z(o),q=w(o,t==null?void 0:t.className,X,`${o}-${S}`,{[`${o}-rtl`]:V==="rtl",[`${o}-align-${O}`]:O,[`${o}-gap-row-${m}`]:z,[`${o}-gap-col-${d}`]:b},I,_,Y),P=w(`${o}-item`,(e=v==null?void 0:v.item)!==null&&e!==void 0?e:(s=t==null?void 0:t.classNames)===null||s===void 0?void 0:s.item);let y=0;const D=$.map((r,g)=>{var x,C;r!=null&&(y=g);const K=(r==null?void 0:r.key)||`${P}-${g}`;return l.createElement(te,{className:P,key:K,index:g,split:G,style:(x=f==null?void 0:f.item)!==null&&x!==void 0?x:(C=t==null?void 0:t.styles)===null||C===void 0?void 0:C.item},r)}),J=l.useMemo(()=>({latestIndex:y}),[y]);if($.length===0)return null;const p={};return W&&(p.flexWrap="wrap"),!b&&M&&(p.columnGap=d),!z&&F&&(p.rowGap=m),R(l.createElement("div",Object.assign({ref:i,className:q,style:Object.assign(Object.assign(Object.assign({},p),t==null?void 0:t.style),H)},B),l.createElement(ee,{value:J},D)))}),le=ae;le.Compact=Q;export{le as S};