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.

p__Feedback__index.96e2e9ad.async.js 17KB

6 months ago
1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[325],{64082:function(z,O,e){e.d(O,{Z:function(){return s}});var i=e(87462),u=e(62435),o={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"},v=o,p=e(84089),M=function(h,l){return u.createElement(p.Z,(0,i.Z)({},h,{ref:l,icon:v}))},m=u.forwardRef(M),s=m},21134:function(z,O,e){var i=e(1413),u=e(45987),o=e(62435),v=e(92767),p=e(86074),M=["fieldProps","request","params","proFieldProps"],m=function(h,l){var E=h.fieldProps,t=h.request,C=h.params,f=h.proFieldProps,c=(0,u.Z)(h,M);return(0,p.jsx)(v.Z,(0,i.Z)({valueType:"segmented",fieldProps:E,ref:l,request:t,params:C,filedConfig:{customLightMode:!0},proFieldProps:f},c))},s=o.forwardRef(m);O.Z=s},64317:function(z,O,e){var i=e(1413),u=e(45987),o=e(22270),v=e(62435),p=e(66758),M=e(92767),m=e(86074),s=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],P=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],h=function(c,j){var F=c.fieldProps,y=c.children,U=c.params,G=c.proFieldProps,A=c.mode,I=c.valueEnum,N=c.request,H=c.showSearch,Z=c.options,n=(0,u.Z)(c,s),a=(0,v.useContext)(p.Z);return(0,m.jsx)(M.Z,(0,i.Z)((0,i.Z)({valueEnum:(0,o.h)(I),request:N,params:U,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,i.Z)({options:Z,mode:A,showSearch:H,getPopupContainer:a.getPopupContainer},F),ref:j,proFieldProps:G},n),{},{children:y}))},l=v.forwardRef(function(f,c){var j=f.fieldProps,F=f.children,y=f.params,U=f.proFieldProps,G=f.mode,A=f.valueEnum,I=f.request,N=f.options,H=(0,u.Z)(f,P),Z=(0,i.Z)({options:N,mode:G||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},j),n=(0,v.useContext)(p.Z);return(0,m.jsx)(M.Z,(0,i.Z)((0,i.Z)({valueEnum:(0,o.h)(A),request:I,params:y,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,i.Z)({getPopupContainer:n.getPopupContainer},Z),ref:c,proFieldProps:U},H),{},{children:F}))}),E=v.forwardRef(h),t=l,C=E;C.SearchSelect=t,C.displayName="ProFormComponent",O.Z=C},52688:function(z,O,e){var i=e(1413),u=e(45987),o=e(62435),v=e(92767),p=e(86074),M=["fieldProps","unCheckedChildren","checkedChildren","proFieldProps"],m=o.forwardRef(function(s,P){var h=s.fieldProps,l=s.unCheckedChildren,E=s.checkedChildren,t=s.proFieldProps,C=(0,u.Z)(s,M);return(0,p.jsx)(v.Z,(0,i.Z)({valueType:"switch",fieldProps:(0,i.Z)({unCheckedChildren:l,checkedChildren:E},h),ref:P,valuePropName:"checked",proFieldProps:t,filedConfig:{valuePropName:"checked",ignoreWidth:!0,customLightMode:!0}},C))});O.Z=m},80876:function(z,O,e){var i=e(1413),u=e(64082),o=e(28459),v=e(2058),p=e(62435),M=e(9105),m=e(28614),s=e(86074),P=p.forwardRef(function(l,E){var t=l.fieldProps,C=l.title,f=C===void 0?"\u5355\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u8FDB\u884C\u4E0A\u4F20":C,c=l.icon,j=c===void 0?(0,s.jsx)(u.Z,{}):c,F=l.description,y=F===void 0?"\u652F\u6301\u5355\u6B21\u6216\u6279\u91CF\u4E0A\u4F20":F,U=l.action,G=l.accept,A=l.onChange,I=l.value,N=l.children,H=l.max,Z=l.proFieldProps,n=(0,p.useContext)(o.ZP.ConfigContext),a=(0,p.useContext)(M.A),d=(Z==null?void 0:Z.mode)||a.mode||"edit",r=n.getPrefixCls("upload"),D=(H===void 0||!I||(I==null?void 0:I.length)<H)&&d!=="read"&&(Z==null?void 0:Z.readonly)!==!0;return(0,s.jsxs)(v.Z.Dragger,(0,i.Z)((0,i.Z)({ref:E,name:"files",action:U,accept:G,fileList:I},t),{},{onChange:function(J){A==null||A(J),t!=null&&t.onChange&&(t==null||t.onChange(J))},style:(0,i.Z)((0,i.Z)({},t==null?void 0:t.style),{},{display:D?void 0:"none"}),children:[(0,s.jsx)("p",{className:"".concat(r,"-drag-icon"),children:j}),(0,s.jsx)("p",{className:"".concat(r,"-text"),children:f}),(0,s.jsx)("p",{className:"".concat(r,"-hint"),children:y}),N?(0,s.jsx)("div",{className:"".concat(r,"-extra"),style:{padding:16},children:N}):null]}))}),h=(0,m.G)(P,{getValueFromEvent:function(E){return E.fileList}});O.Z=h},57759:function(z,O,e){var i=e(59530),u=e(55375),o=e(68872),v=e(80876),p=e(86074),M=function(s){var P=s.onUploadComplete,h=s.uploadTxt,l=s.form_name,E=function(C){P&&P(C)};return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(v.Z,{label:h,name:l,icon:null,fieldProps:{fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(C){var f=new FormData;f.append("doc",C.file),console.log(f),(0,i.request)(u.FH+"/common/doc/upload?doctype=1",{method:"post",data:f,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(c){E(c.data.filename)}).catch(function(c){console.log(c),o.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u6587\u4EF6\u7C7B\u578B\uFF0C\u5982\u6709\u7591\u95EE\uFF0C\u8BF7\u54A8\u8BE2\u7BA1\u7406\u5458")})}}})})};O.Z=M},67562:function(z,O,e){var i=e(5574),u=e.n(i),o=e(71167),v=e.n(o),p=e(40190),M=e(62435),m=e(86074),s=function(h){var l=h.defaultValue,E=h.placeholder,t=h.onChange,C=(0,M.useState)(l),f=u()(C,2),c=f[0],j=f[1],F=function(U){j(U),t(U)};return(0,M.useEffect)(function(){if(l){var y=l.replace(/<[^>]*>/g,"");F(y?l:"")}},[l]),(0,m.jsx)("div",{children:(0,m.jsx)(v(),{bounds:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},value:c,onChange:F,theme:"snow",placeholder:E})})};O.Z=s},67119:function(z,O,e){var i=e(59530),u=e(55375),o=e(68872),v=e(32443),p=e(86074),M=function(s){var P=s.onUploadComplete,h=s.uploadTxt,l=s.image_type,E=s.form_name,t=s.image_length,C=s.multiple,f=function(j){P&&P(j)};return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(v.Z,{label:h,name:E,icon:null,title:h,fieldProps:{maxCount:t,multiple:C,fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(j){var F=new FormData;F.append("image",j.file),console.log(F),(0,i.request)(u.FH+"/common/image/upload?imgtype="+l,{method:"post",data:F,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(y){f(y.data.filename)}).catch(function(y){console.log(y),o.ZP.error("\u4E0A\u4F20\u5931\u8D25")})}}})})};O.Z=M},32572:function(z,O,e){e.r(O),e.d(O,{default:function(){return Ee}});var i=e(5574),u=e.n(i),o=e(62435),v=e(59530),p=e(28459),M=e(15009),m=e.n(M),s=e(99289),P=e.n(s),h=e(67211),l=e(14726),E=e(39680),t=e(86074),C=function(g){var T=g.dispatch,q=g.getId,X=g.openModel,R=(0,o.useRef)(),ee=(0,o.useState)([]),V=u()(ee,2),ae=V[0],ie=V[1],le=(0,o.useState)(0),ue=u()(le,2),ce=ue[0],te=ue[1],Ce=(0,o.useState)(1),pe=u()(Ce,2),re=pe[0],w=pe[1],xe=(0,o.useState)(10),se=u()(xe,2),me=se[0],de=se[1],he=function(B){q(B)};return(0,o.useEffect)(function(){X.openModal||R.current.reload()},[X.openModal]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(p.ZP,{theme:{token:{colorPrimary:"#4FBE70",colorLink:"#4FBE70"}},children:(0,t.jsx)(h.Z,{size:"small",bordered:!0,scroll:{x:1300},actionRef:R,dataSource:ae,columns:[{title:"\u7528\u6237",dataIndex:"name"},{title:"\u90AE\u7BB1",dataIndex:"email"},{title:"\u6D88\u606F\u5185\u5BB9",dataIndex:"content"},{title:"\u64CD\u4F5C",width:300,key:"option",valueType:"option",fixed:"right",render:function(B,W,Me){return[(0,t.jsx)(l.ZP,{type:"link",onClick:function(){he(W.id),T({type:"openModel/getOpenModal",payload:!0})},children:"\u7F16\u8F91"},"1"),(0,t.jsx)(l.ZP,{type:"link",onClick:function(){},children:"\u5220\u9664"},"2")]}}],rowKey:"id",pagination:{current:re,pageSize:me,showSizeChanger:!0,total:ce,pageSizeOptions:[9,18,27,99],onChange:function(B,W){w(B),de(W)},onShowSizeChange:function(B,W){w(B),de(W)}},request:P()(m()().mark(function ne(){var B,W=arguments;return m()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return B=W.length>0&&W[0]!==void 0?W[0]:{},Q.abrupt("return",(0,E.ofO)({page:re,pagesize:me,sort:"id",sortby:"desc",keyword:B.name,customer_id:B.customer_id}).then(function(fe){ie(fe.data.feedbacks),te(fe.data.total)}));case 2:case"end":return Q.stop()}},ne)})),headerTitle:"\u53CD\u9988\u5217\u8868"})})})},f=(0,v.connect)(function(L){var g=L.dictModel,T=L.openModel;return{dictModel:g,openModel:T}})(C),c=e(97269),j=e(5966),F=e(52688),y=e(64317),U=e(19109),G=e(97462),A=e(21134),I=e(17788),N=e(86250),H=e(42075),Z=e(68872),n=e(71230),a=e(15746),d=e(98163),r=e(22015),D=e(23323),Y=e(55375),J=e(67119),k=e(57759),ve=e(67562),oe={label:"name",value:"id"},ge=function(g){var T=g.dispatch,q=g.dictModel,X=g.openModel,R=g.id,ee=(0,o.useRef)(),V=(0,o.useState)(!1),ae=u()(V,2),ie=ae[0],le=ae[1],ue=(0,o.useState)(null),ce=u()(ue,2),te=ce[0],Ce=ce[1];(0,o.useEffect)(function(){le(X.openModal)},[X.openModal]);var pe=(0,o.useState)(""),re=u()(pe,2),w=re[0],xe=re[1],se=function(S){xe(S)},me=(0,o.useState)(!1),de=u()(me,2),he=de[0],ne=de[1],B=(0,o.useState)(""),W=u()(B,2),Me=W[0],Q=W[1],fe=function(S){Q(S)},De=(0,o.useState)(""),Fe=u()(De,2),ye=Fe[0],Se=Fe[1];return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(p.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,t.jsx)(I.Z,{open:ie,title:R?"\u7F16\u8F91\u6587\u7AE0":"\u6DFB\u52A0\u6587\u7AE0",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){T({type:"openModel/getOpenModal",payload:!1})},children:(0,t.jsxs)(c.A,{formRef:ee,request:P()(m()().mark(function _(){var S;return m()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(!R){K.next=7;break}return K.next=3,(0,E.USp)({id:R});case 3:return S=K.sent,K.abrupt("return",S.data);case 7:return K.abrupt("return",{title:"",cover_img:"",doc_url:"",section_id:null,content:"",stick_top:0,hot:0,author:""});case 8:case"end":return K.stop()}},_)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(S,x){return(0,t.jsxs)(N.Z,{justify:"flex-end",children:[" ",(0,t.jsx)(H.Z,{children:x})]})},onReset:function(){Ce(null),T({type:"openModel/getOpenModal",payload:!1})}},onFinish:function(){var _=P()(m()().mark(function S(x){var K,Oe;return m()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(x.cover_img=w||"",console.log(x),!R){b.next=11;break}return x.id=R,b.next=6,(0,E.XcO)(x);case 6:K=b.sent,Z.ZP.success("\u63D0\u4EA4\u6210\u529F"),T({type:"openModel/getOpenModal",payload:!1}),b.next=16;break;case 11:return b.next=13,(0,E.qMy)(x);case 13:Oe=b.sent,Z.ZP.success("\u63D0\u4EA4\u6210\u529F"),T({type:"openModel/getOpenModal",payload:!1});case 16:case"end":return b.stop()}},S)}));return function(S){return _.apply(this,arguments)}}(),children:[(0,t.jsx)(j.Z,{label:"\u6587\u7AE0\u6807\u9898",name:"title",placeholder:"\u8BF7\u8F93\u5165\u6587\u7AE0\u6807\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u7AE0\u6807\u9898"}]}),(0,t.jsxs)(n.Z,{gutter:[16,16],children:[te?(0,t.jsx)(a.Z,{span:4,children:(0,t.jsx)(J.Z,{multiple:!1,form_name:"cover_img",image_length:1,uploadTxt:"\u4E0A\u4F20\u5C01\u9762\u56FE",image_type:1,onUploadComplete:se})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(a.Z,{span:4,children:(0,t.jsx)(J.Z,{multiple:!1,form_name:"cover_img",image_length:1,uploadTxt:"\u4E0A\u4F20\u5C01\u9762\u56FE",image_type:1,onUploadComplete:se})})}),te?(0,t.jsx)(a.Z,{span:4,children:w?(0,t.jsx)(d.Z,{src:"".concat(Y.VO).concat(w),style:{marginBottom:"16px",width:"100px",height:"100px"}}):(0,t.jsx)(d.Z,{src:"".concat(Y.VO).concat(te==null?void 0:te.cover_img),style:{marginTop:"16px",width:"200px",height:"200px"}})}):(0,t.jsx)(t.Fragment,{children:w?(0,t.jsxs)(a.Z,{span:4,children:[" ",(0,t.jsx)(d.Z,{src:"".concat(Y.VO).concat(w),style:{marginTop:"32px",width:"100px",height:"100px"}})," "]}):""})]}),(0,t.jsx)(F.Z,{fieldProps:{checked:he,checkedChildren:"\u5173\u95ED\u4E0A\u4F20\u6587\u4EF6",unCheckedChildren:"\u5F00\u542F\u4E0A\u4F20\u6587\u4EF6",onChange:function(S){ne(S)}}}),he&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.Z,{form_name:"doc_url",uploadTxt:"\u4E0A\u4F20\u6587\u4EF6",onUploadComplete:fe}),(0,t.jsxs)(r.Z.Paragraph,{copyable:!0,children:["\u94FE\u63A5\uFF1A","".concat(Y.VO).concat(Me)]})]}),(0,t.jsx)(y.Z,{showSearch:!0,name:"section_id",label:"\u680F\u76EE/\u9891\u9053",placeholder:"\u8BF7\u9009\u62E9\u680F\u76EE/\u9891\u9053",fieldProps:{fieldNames:oe},request:function(S){return(0,E.DGC)({page:1,pagesize:100,keyword:S.keyWords}).then(function(x){return x.data.sections})}}),(0,t.jsx)(n.Z,{gutter:[16,16],children:(0,t.jsx)(a.Z,{span:24,children:(0,t.jsx)(D.Z.Item,{name:"content",label:"\u6587\u7AE0\u5185\u5BB9",rules:[{required:!0}],children:(0,t.jsx)(U.i$,{children:function(){return(0,t.jsx)(G.Z,{name:["content"],children:function(x,K){var Oe=x.content;return(0,t.jsx)(ve.Z,{placeholder:"\u8BF7\u8F93\u5165\u6587\u7AE0\u5185\u5BB9",defaultValue:Oe,onChange:function(b){Se(b),K.formRef.current.setFieldsValue({content:b})}})}})}})})})}),(0,t.jsx)(A.Z,{name:"stick_top",label:"\u662F\u5426\u7F6E\u9876",request:P()(m()().mark(function _(){return m()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.abrupt("return",[{label:"\u662F",value:1},{label:"\u5426",value:2}]);case 1:case"end":return x.stop()}},_)})),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u7F6E\u9876"}]}),(0,t.jsx)(A.Z,{name:"hot",label:"\u6210\u4E3A\u70ED\u95E8",request:P()(m()().mark(function _(){return m()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.abrupt("return",[{label:"\u666E\u901A",value:1},{label:"\u70ED\u95E8\u63A8\u8350",value:2}]);case 1:case"end":return x.stop()}},_)})),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6210\u4E3A\u70ED\u95E8"}]}),(0,t.jsx)(j.Z,{name:"author",label:"\u4F5C\u8005",placeholder:"\u8BF7\u8F93\u5165\u4F5C\u8005"})]})})})})},Pe=(0,v.connect)(function(L){var g=L.dictModel,T=L.openModel;return{dictModel:g,openModel:T}})(ge),$=function(g){var T=g.dispatch,q=g.openModel,X=(0,o.useState)(0),R=u()(X,2),ee=R[0],V=R[1],ae=function(le){V(le)};return(0,o.useEffect)(function(){q.openModal||V(0)},[q.openModal]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(p.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:[(0,t.jsx)(f,{getId:ae}),(0,t.jsx)(Pe,{id:ee})]})})},Ee=(0,v.connect)(function(L){var g=L.openModel;return{openModel:g}})($)},86250:function(z,O,e){e.d(O,{Z:function(){return Z}});var i=e(62435),u=e(93967),o=e.n(u),v=e(98423),p=e(98065),M=e(53124),m=e(92030),s=e(45503);const P=["wrap","nowrap","wrap-reverse"],h=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],l=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],E=(n,a)=>{const d=a.wrap===!0?"wrap":a.wrap;return{[`${n}-wrap-${d}`]:d&&P.includes(d)}},t=(n,a)=>{const d={};return l.forEach(r=>{d[`${n}-align-${r}`]=a.align===r}),d[`${n}-align-stretch`]=!a.align&&!!a.vertical,d},C=(n,a)=>{const d={};return h.forEach(r=>{d[`${n}-justify-${r}`]=a.justify===r}),d};function f(n,a){return o()(Object.assign(Object.assign(Object.assign({},E(n,a)),t(n,a)),C(n,a)))}var c=f;const j=n=>{const{componentCls:a}=n;return{[a]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},F=n=>{const{componentCls:a}=n;return{[a]:{"&-gap-small":{gap:n.flexGapSM},"&-gap-middle":{gap:n.flexGap},"&-gap-large":{gap:n.flexGapLG}}}},y=n=>{const{componentCls:a}=n,d={};return P.forEach(r=>{d[`${a}-wrap-${r}`]={flexWrap:r}}),d},U=n=>{const{componentCls:a}=n,d={};return l.forEach(r=>{d[`${a}-align-${r}`]={alignItems:r}}),d},G=n=>{const{componentCls:a}=n,d={};return h.forEach(r=>{d[`${a}-justify-${r}`]={justifyContent:r}}),d},A=()=>({});var I=(0,m.I$)("Flex",n=>{const{paddingXS:a,padding:d,paddingLG:r}=n,D=(0,s.TS)(n,{flexGapSM:a,flexGap:d,flexGapLG:r});return[j(D),F(D),y(D),U(D),G(D)]},A,{resetStyle:!1}),N=function(n,a){var d={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&a.indexOf(r)<0&&(d[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,r=Object.getOwnPropertySymbols(n);D<r.length;D++)a.indexOf(r[D])<0&&Object.prototype.propertyIsEnumerable.call(n,r[D])&&(d[r[D]]=n[r[D]]);return d},Z=i.forwardRef((n,a)=>{const{prefixCls:d,rootClassName:r,className:D,style:Y,flex:J,gap:k,children:ve,vertical:oe=!1,component:ge="div"}=n,Pe=N(n,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:Ee,getPrefixCls:L}=i.useContext(M.E_),g=L("flex",d),[T,q,X]=I(g),R=oe!=null?oe:$==null?void 0:$.vertical,ee=o()(D,r,$==null?void 0:$.className,g,q,X,c(g,n),{[`${g}-rtl`]:Ee==="rtl",[`${g}-gap-${k}`]:(0,p.n)(k),[`${g}-vertical`]:R}),V=Object.assign(Object.assign({},$==null?void 0:$.style),Y);return J&&(V.flex=J),k&&!(0,p.n)(k)&&(V.gap=k),T(i.createElement(ge,Object.assign({ref:a,className:ee,style:V},(0,v.Z)(Pe,["justify","wrap","align"])),ve))})}}]);