From 8b269ea2c40b8a81a1f2ffb00a89b86940aa3058 Mon Sep 17 00:00:00 2001 From: eduauto Date: Fri, 17 May 2024 11:11:07 +0800 Subject: [PATCH] autoUpdataFile --- p__Textbook__Detail__index.async.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p__Textbook__Detail__index.async.js b/p__Textbook__Detail__index.async.js index 2e242bf793..b82c91a1fa 100644 --- a/p__Textbook__Detail__index.async.js +++ b/p__Textbook__Detail__index.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[25713],{58645:function(e,n,t){t.d(n,{Z:function(){return x}});var a=t(82242),s=t.n(a),r=t(7557),o=t.n(r),i=t(41498),l=t.n(i),c=t(79800),u=t.n(c),d=t(59301),m=t(84686),p=t(90694),f=t(51882),h=(t(14331),{editor_css:"editor_css___cm3Z8"}),_=t(37712),x=(0,f.connect)((function(e){return{user:e.user}}))((function(e){var n=e.defaultvalue,t=e.onChange,a=e.style,r=e.user,i=e.placeholder,c=2097152,f=(0,d.useRef)(null),x=(0,d.useState)(null),v=u()(x,2),b=v[0],g=v[1],j=(0,d.useState)(""),C=u()(j,2),w=C[0],N=C[1];(0,d.useEffect)((function(){N(n)}),[n]),(0,d.useEffect)((function(){t(w)}),[w]);var S={placeholder:i||"请输入内容...",MENU_CONF:{}};return S.MENU_CONF.uploadImage={customUpload:function(e,n){return l()(o()().mark((function t(){var a,s;return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(a=new FormData).append("file",e),t.next=4,(0,p.ZP)("/api/attachments.json",{method:"post",body:a},!0);case 4:s=t.sent,n(null==s?void 0:s.url,"","");case 6:case"end":return t.stop()}}),t)})))()}},S.MENU_CONF.uploadVideo={customUpload:function(e,n){return l()(o()().mark((function t(){var a,s,i,l,u,d,m,h,_,x,v,b,g,j;return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.size,s=Math.ceil(a/c),t.prev=2,t.next=5,(0,p.ZP)("/api/attachments/multipart_upload_start",{method:"POST",body:{fileName:e.name,chunkCount:s,user_id:null==r||null===(i=r.userInfo)||void 0===i?void 0:i.user_id}});case 5:if(0===(null==(u=t.sent)?void 0:u.status)){t.next=8;break}throw new Error;case 8:d=u.upload_id,f.current=new AbortController,m=[],0,h=o()().mark((function n(){var t,s,r,i;return o()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=_*c,s=Math.min(t+c,a),r=e.slice(t,s),(i=new FormData).append("chunk",r),i.append("fileName",e.name),i.append("chunkIndex",(_+1).toString()),i.append("uploadId",d),m.push((function(){return(0,p.ZP)("/api/attachments/multipart_upload",{method:"POST",body:i,signal:f.current.signal},!0).then((function(e){}))}));case 9:case"end":return n.stop()}}),n)})),_=0;case 14:if(!(_0)){t.next=29;break}return t.next=27,Promise.all(g);case 27:t.sent,x+=v;case 29:t.next=22;break;case 31:return t.next=33,(0,p.ZP)("/api/attachments/multipart_upload_end",{method:"POST",body:{fileName:e.name,chunkCount:s,uploadId:d,user_id:null==r||null===(l=r.userInfo)||void 0===l?void 0:l.user_id}});case 33:j=t.sent,n(null==j?void 0:j.object,""),t.next=39;break;case 37:t.prev=37,t.t1=t.catch(2);case 39:case"end":return t.stop()}}),t,null,[[2,37]])})))()}},(0,d.useEffect)((function(){return function(){null!=b&&(b.destroy(),g(null))}}),[b]),(0,_.jsx)(_.Fragment,{children:(0,_.jsxs)("div",{className:null==h?void 0:h.editor_css,style:{border:"1px solid #ccc",zIndex:100},children:[(0,_.jsx)(m.o,{editor:b,defaultConfig:{},mode:"default",style:{borderBottom:"1px solid #ccc"}}),(0,_.jsx)(m.M,{defaultConfig:S,value:w,onCreated:g,onChange:function(e){return N(e.getHtml())},mode:"default",style:s()({height:"500px",overflowY:"hidden"},a)})]})})}))},2894:function(e,n,t){t.d(n,{Z:function(){return I}});var a=t(7557),s=t.n(a),r=t(41498),o=t.n(r),i=t(82242),l=t.n(i),c=t(79800),u=t.n(c),d=t(59301),m=t(78241),p=t(8591),f=t(43418),h=t(98135),_=t(57809),x=t(84291),v=t(46651),b=t(51882),g=t(99232),j=t.n(g),C={flex_box_center:"flex_box_center___QyfTI",flex_space_between:"flex_space_between___h3rrj",flex_box_vertical_center:"flex_box_vertical_center___CJQPY",flex_box_center_end:"flex_box_center_end___GyaJk",flex_box_column:"flex_box_column___Q9WpV",form:"form___In2ej",btn:"btn___CMK6g",img:"img___s_IXU"},w=t(30149),N=t(57357),S=t(97650),Z=t(1967),y=t(37712),I=(0,b.connect)((function(e){return{dispatch:e.dispatch,coreCurriculum:e.coreCurriculum}}))((function(e){var n,t,a=e.visible,r=e.onOk,i=e.onCancel,c=e.title,b=void 0===c?"":c,g=e.coreCurriculum,I=e.dispatch,k=g.CoreSubjects,O=m.Z.useForm(),P=u()(O,1)[0],E=(0,d.useState)(!1),M=u()(E,2),F=M[0],T=M[1],B=(0,d.useState)([]),D=u()(B,2),R=D[0],V=D[1],L=(0,d.useState)(!1),Y=u()(L,2),q=Y[0],H=Y[1];(0,d.useEffect)((function(){if(I({type:"coreCurriculum/getCoreSubjects",payload:{page:1,limit:12}}),null!=a&&a.id){var e,n,t;P.setFieldsValue(l()(l()({},a),{},{attachment_id:null==a||null===(e=a.attachment)||void 0===e?void 0:e.id,publication_time:j()(null==a?void 0:a.publication_time),material_type:null==a||null===(n=a.material_type)||void 0===n?void 0:n.toString()}));var s=[l()(l()({},null==a?void 0:a.attachment),{},{response:{id:null==a||null===(t=a.attachment)||void 0===t?void 0:t.id}})];V(s)}}),[a]);var U,W=function(){var e=o()(s()().mark((function e(n){var t,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:T(!0),a=l()(l()({},n),{},{attachment_id:(null==R||null===(t=R[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id)||""}),r(a);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,y.jsx)(f.Z,{title:"".concat(null!=a&&a.id?"编辑":"新建").concat(b),open:a,onOk:function(){P.submit()},centered:!0,onCancel:function(){i()},confirmLoading:F,okButtonProps:{disabled:q},width:686,afterClose:function(){T(!1),V([]),P.resetFields()},okText:"确认",cancelText:"取消",wrapClassName:w.Z.CustomCss,children:(0,y.jsxs)(m.Z,{form:P,colon:!1,labelCol:{span:4},wrapperCol:{span:18},onFinish:W,className:C.form,children:[(0,y.jsx)(m.Z.Item,{label:"教材名称",name:"name",rules:[{required:!0,message:"请输入教材名称"},{whitespace:!0,message:"请输入教材名称"},{max:100,message:"只能输入60个字符"}],children:(0,y.jsx)(h.Z,{maxLength:100,placeholder:"请输入教材名称"})}),(0,y.jsx)(m.Z.Item,{label:"教材类型",name:"material_type",rules:[{required:!0,message:"请选择教材类型"}],children:(0,y.jsxs)(_.default,{children:[(0,y.jsx)(_.default.Option,{value:"1",children:"主教材"}),(0,y.jsx)(_.default.Option,{value:"2",children:"实践教材"})]})}),(0,y.jsx)(m.Z.Item,{label:"课程",name:"core_subject_id",rules:[{required:!0,message:"请选择课程"}],children:(0,y.jsx)(_.default,{children:null==k||null===(n=k.list)||void 0===n?void 0:n.map((function(e,n){return(0,y.jsx)(_.default.Option,{value:null==e?void 0:e.id,children:null==e?void 0:e.name},n)}))})}),(0,y.jsx)(m.Z.Item,{label:"作者",name:"author",rules:[{required:!0,message:"请输入作者"},{whitespace:!0,message:"请输入作者"},{max:50,message:"只能输入50个字符"}],children:(0,y.jsx)(h.Z,{maxLength:50,placeholder:"请输入作者"})}),(0,y.jsx)(m.Z.Item,{label:"出版社",name:"publisher",rules:[{required:!0,message:"请输入出版社"},{whitespace:!0,message:"实践出版社"},{max:50,message:"只能输入50个字符"}],children:(0,y.jsx)(h.Z,{maxLength:50,placeholder:"请输入出版社"})}),(0,y.jsx)(m.Z.Item,{label:"出版时间",name:"publication_time",rules:[{required:!0,message:"请选择出版时间"}],children:(0,y.jsx)(x.default,{style:{width:"100%"},placeholder:"请选择出版时间",format:"YYYY-MM-DD",allowClear:!1})}),(0,y.jsx)(m.Z.Item,{label:"ISBN",name:"number",rules:[{required:!0,message:"请输入ISBN"},{whitespace:!0,message:"请输入ISBN"}],children:(0,y.jsx)(h.Z,{maxLength:60,placeholder:"请输入ISBN"})}),(0,y.jsx)(m.Z.Item,{name:"attachment_id",label:"封面图片",rules:[{required:!0,message:"请上传封面图片"}],children:(0,y.jsx)("div",{className:C.upload,children:null!=R&&null!==(t=R[0])&&void 0!==t&&null!==(t=t.response)&&void 0!==t&&t.id?(0,y.jsxs)("div",{className:C.img,children:[(0,y.jsx)("img",{src:N.Z.API_SERVER+"/api/attachments/"+(null==R||null===(U=R[0])||void 0===U||null===(U=U.response)||void 0===U?void 0:U.id),alt:"avatar",style:{width:"100%"}}),(0,y.jsx)("div",{children:(0,y.jsx)(S.Z,{onClick:function(){V([]),P.setFieldsValue({attachment_id:""})},style:{fontSize:"16px",color:"red"}})})]}):(0,y.jsx)(v.Z,{fileList:R,action:"".concat(N.Z.API_SERVER,"/api/attachments.json"),onChange:function(e){return n=e,P.setFieldsValue({attachment_id:""}),void(["uploading","done","removed"].includes(n.file.status)&&("uploading"===n.file.status&&H(!0),"done"===n.file.status&&H(!1),V(n.fileList),P.setFieldsValue({attachment_id:null===(t=n.fileList)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id})));var n,t},onRemove:function(e){V([])},beforeUpload:function(e){return"image/jpeg"===(n=e).type||"image/png"===n.type?n.size/1024/1024>2?(p.ZP.info("文件大小必须小于2MB"),Promise.reject()):(V([]),!0):(p.ZP.error("请上传jpg或png的图片!"),Promise.reject());var n},withCredentials:!0,accept:"image/*",children:(0,y.jsxs)(Z.op,{style:{borderRadius:"2px",marginLeft:4,marginTop:3},children:[(0,y.jsx)("i",{className:"iconfont icon-shangchuantupian2 mr5"}),"上传图片"]})})})})]})})}))},90630:function(e,n,t){t.r(n),t.d(n,{default:function(){return M}});var a=t(7557),s=t.n(a),r=t(82242),o=t.n(r),i=t(41498),l=t.n(i),c=t(79800),u=t.n(c),d=t(59301),m=t(43418),p=t(8591),f=t(90694),h="wrap___ieM1S",_="editor___EZPNQ",x="btns___shpJD",v="list___LE_2Q",b="left___rPWHk",g="right___LDk76",j="title___XNk6p",C=t(80248),w=t(2894),N=t(57357),S=t(1967),Z=t(58645),y=t(30149),I=t(51882),k=t(64330),O=t(99232),P=t.n(O),E=t(37712),M=(0,I.connect)((function(e){var n=e.virtualSpaces;return{globalSetting:e.globalSetting,virtualSpaces:n,user:e.user}}))((function(e){e.globalSetting,e.dispatch;var n=e.user,t=e.virtualSpaces,a=(0,I.useParams)().id,r=(0,d.useState)("description"),i=u()(r,2),c=i[0],O=i[1],M=(0,d.useState)({}),F=u()(M,2),T=F[0],B=F[1],D=(0,d.useState)(!0),R=u()(D,2),V=(R[0],R[1]),L=(0,d.useState)(!1),Y=u()(L,2),q=Y[0],H=Y[1],U=(0,d.useState)(""),W=u()(U,2),z=W[0],A=W[1],$=(0,d.useState)(""),Q=u()($,2),X=Q[0],G=Q[1],J=(0,d.useRef)(""),K=(0,d.useState)(!1),ee=u()(K,2),ne=ee[0],te=ee[1],ae=(0,d.useState)(!1),se=u()(ae,2),re=se[0],oe=se[1],ie=(t.virtualSpacesDetails,T.name),le=T.attachment,ce=T.author,ue=T.publisher,de=T.number,me=T.publication_time,pe=T.material_type;(0,d.useEffect)((function(){he()}),[a]),(0,d.useEffect)((function(){_e()}),[c]);var fe=function(e){var t;return(0,k.ES)()||(null==n||null===(t=n.userInfo)||void 0===t?void 0:t.user_id)===e},he=function(){var e=l()(s()().mark((function e(){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(!0),e.next=3,(0,f.ZP)("/api/core_materials/".concat(a,".json"),{method:"get"});case 3:-1!==(null==(n=e.sent)?void 0:n.status)&&B(o()({},null==n?void 0:n.data)),V(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_e=function(){var e=l()(s()().mark((function e(){var n,t,r,o;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(!0),e.next=3,(0,f.ZP)("/api/core_materials/".concat(a,"/show_desc.json"),{method:"get",params:{column:c}});case 3:-1!==(null==(n=e.sent)?void 0:n.status)&&(A((null==n||null===(t=n.data)||void 0===t?void 0:t[c])||""),G((null==n||null===(r=n.data)||void 0===r?void 0:r[c])||""),J.current=(null==n||null===(o=n.data)||void 0===o?void 0:o[c])||""),V(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),xe=function(){var e=l()(s()().mark((function e(n){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.ZP)("/api/core_materials/".concat(a,".json"),{method:"put",body:o()({material_type:String(pe)},n)});case 2:-1!==(null==(t=e.sent)?void 0:t.status)&&(he(),p.ZP.success("编辑成功"),H(!1));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),ve=function(){var e=l()(s()().mark((function e(){var n,t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe(!0),(n={})[c]=z,e.next=5,(0,f.ZP)("/api/core_materials/".concat(a,"/update_desc.json"),{method:"put",body:n});case 5:-1!==(null==(t=e.sent)?void 0:t.status)&&(_e(),p.ZP.success("编辑成功"),te(!1)),oe(!1);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,E.jsxs)("div",{className:h,children:[(0,E.jsx)(S.qE,{title:"教材详情",onClick:function(){return I.history.push("/textbook")},children:fe(T.user_id)&&(0,E.jsxs)("div",{className:x,children:[(0,E.jsx)("div",{onClick:function(){H(o()({},T))},children:(0,E.jsxs)("span",{className:"primary-hover",children:[(0,E.jsx)("i",{className:"iconfont icon-bianji7 font14 mr5"}),"编辑"]})}),(0,E.jsx)("div",{onClick:function(){var e;m.Z.confirm({title:"提示",okText:"确定删除",okButtonProps:{danger:!0},icon:!1,className:y.Z.CustomTipsModalCss,cancelText:"取消",content:(0,E.jsxs)("div",{children:[(0,E.jsxs)("div",{children:["确认删除《",ie,"》吗?"]}),(0,E.jsx)("div",{className:"mt10",children:"删除后,将无法恢复,请谨慎操作"})]}),onOk:(e=l()(s()().mark((function e(){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.ZP)("/api/core_materials/".concat(a,".json"),{method:"delete"});case 2:-1!==(null==(n=e.sent)?void 0:n.status)&&(p.ZP.success("操作成功"),I.history.push("/textbook"));case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})},children:(0,E.jsxs)("span",{className:"delete-hover",children:[" ",(0,E.jsx)("i",{className:"iconfont icon-piliangshanchubeifen font14 mr5"}),"删除"]})})]})}),(0,E.jsxs)("div",{className:v,children:[(0,E.jsx)("div",{className:b,children:(0,E.jsx)("img",{src:N.Z.API_SERVER+(null==le?void 0:le.url)})}),(0,E.jsxs)("div",{className:g,children:[(0,E.jsx)("div",{className:j,children:ie}),(0,E.jsxs)("aside",{children:[(0,E.jsxs)("span",{children:["作者:",ce]}),(0,E.jsxs)("span",{children:["出版社:",ue]})]}),(0,E.jsxs)("aside",{children:[(0,E.jsxs)("span",{children:["ISBN:",de]}),(0,E.jsxs)("span",{children:["出版时间:",P()(me).format("YYYY-MM-DD HH:mm")]})]})]})]}),(0,E.jsx)(S.YG,{value:c,onChange:function(e){O(e)},tabBarExtraContent:fe(T.user_id)&&(0,E.jsx)("div",{className:x,children:(0,E.jsx)("div",{onClick:function(){te(!0)},children:(0,E.jsxs)("span",{className:"primary-hover",children:[(0,E.jsx)("i",{className:"iconfont icon-bianji7 font14 mr5"}),"编辑"]})})}),dataSource:[{id:"description",name:"简介"},{id:"directory",name:"目录"},{id:"foreword",name:"前言"}]}),(0,E.jsx)("div",{className:"mt20",children:ne?(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(Z.Z,{defaultvalue:X,onChange:function(e){A(e)}}),(0,E.jsx)(S.QD,{confirmTitle:"保存",confirmLoading:re,confirmClick:ve,cancelClick:function(){te(!1),A(J.current)},cancelTitle:"取消",className:"mb25 mt25"})]}):(0,E.jsx)(C.Z,{className:_,value:z})}),(0,E.jsx)(w.Z,{visible:q,title:"教材",onCancel:function(){return H(!1)},onOk:xe})]})}))},30149:function(e,n){n.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},56762:function(e,n,t){t.d(n,{Z:function(){return s}});var a=t(59301);function s(){const[,e]=a.useReducer((e=>e+1),0);return e}},57809:function(e,n,t){var a=t(92310),s=t.n(a),r=t(77861),o=t(70521),i=t(59301),l=t(53487),c=t(62892),u=t(19080),d=t(36355),m=t(1684),p=t(93891),f=t(19716),h=t(32441),_=t(33234),x=t(14154),v=t(58582),b=t(84443),g=t(66339),j=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(e);s{var t,{prefixCls:a,bordered:l=!0,className:w,rootClassName:N,getPopupContainer:S,popupClassName:Z,dropdownClassName:y,listHeight:I=256,placement:k,listItemHeight:O=24,size:P,disabled:E,notFoundContent:M,status:F,builtinPlacements:T,dropdownMatchSelectWidth:B,popupMatchSelectWidth:D,direction:R,style:V,allowClear:L}=e,Y=j(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:q,getPrefixCls:H,renderEmpty:U,direction:W,virtual:z,popupMatchSelectWidth:A,popupOverflow:$,select:Q}=i.useContext(d.E_),X=H("select",a),G=H(),J=null!=R?R:W,{compactSize:K,compactItemClassnames:ee}=(0,_.ri)(X,J),[ne,te]=(0,x.Z)(X),ae=i.useMemo((()=>{const{mode:e}=Y;if("combobox"!==e)return e===C?"combobox":e}),[Y.mode]),se="multiple"===ae||"tags"===ae,re=(0,b.Z)(Y.suffixIcon,Y.showArrow),oe=null!==(t=null!=D?D:B)&&void 0!==t?t:A,{status:ie,hasFeedback:le,isFormItemInput:ce,feedbackIcon:ue}=i.useContext(h.aM),de=(0,u.F)(ie,F);let me;me=void 0!==M?M:"combobox"===ae?null:(null==U?void 0:U("Select"))||i.createElement(p.Z,{componentName:"Select"});const{suffixIcon:pe,itemIcon:fe,removeIcon:he,clearIcon:_e}=(0,g.Z)(Object.assign(Object.assign({},Y),{multiple:se,hasFeedback:le,feedbackIcon:ue,showSuffixIcon:re,prefixCls:X,showArrow:Y.showArrow,componentName:"Select"})),xe=!0===L?{clearIcon:_e}:L,ve=(0,o.Z)(Y,["suffixIcon","itemIcon"]),be=s()(Z||y,{[`${X}-dropdown-${J}`]:"rtl"===J},N,te),ge=(0,f.Z)((e=>{var n;return null!==(n=null!=P?P:K)&&void 0!==n?n:e})),je=i.useContext(m.Z),Ce=null!=E?E:je,we=s()({[`${X}-lg`]:"large"===ge,[`${X}-sm`]:"small"===ge,[`${X}-rtl`]:"rtl"===J,[`${X}-borderless`]:!l,[`${X}-in-form-item`]:ce},(0,u.Z)(X,de,le),ee,null==Q?void 0:Q.className,w,N,te),Ne=i.useMemo((()=>void 0!==k?k:"rtl"===J?"bottomRight":"bottomLeft"),[k,J]),Se=(0,v.Z)(T,$);return ne(i.createElement(r.ZP,Object.assign({ref:n,virtual:z,showSearch:null==Q?void 0:Q.showSearch},ve,{style:Object.assign(Object.assign({},null==Q?void 0:Q.style),V),dropdownMatchSelectWidth:oe,builtinPlacements:Se,transitionName:(0,c.m)(G,"slide-up",Y.transitionName),listHeight:I,listItemHeight:O,mode:ae,prefixCls:X,placement:Ne,direction:J,suffixIcon:pe,menuItemSelectedIcon:fe,removeIcon:he,allowClear:xe,notFoundContent:me,className:we,getPopupContainer:S||q,dropdownClassName:be,disabled:Ce})))};const N=i.forwardRef(w),S=(0,l.Z)(N);N.SECRET_COMBOBOX_MODE_DO_NOT_USE=C,N.Option=r.Wx,N.OptGroup=r.Xo,N._InternalPanelDoNotUseOrYouWillBeFired=S,n.default=N}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[25713],{58645:function(e,n,t){t.d(n,{Z:function(){return x}});var a=t(82242),s=t.n(a),r=t(7557),o=t.n(r),i=t(41498),l=t.n(i),c=t(79800),u=t.n(c),d=t(59301),m=t(84686),p=t(90694),f=t(51882),h=(t(14331),{editor_css:"editor_css___cm3Z8"}),_=t(37712),x=(0,f.connect)((function(e){return{user:e.user}}))((function(e){var n=e.defaultvalue,t=e.onChange,a=e.style,r=e.user,i=e.placeholder,c=2097152,f=(0,d.useRef)(null),x=(0,d.useState)(null),v=u()(x,2),b=v[0],g=v[1],j=(0,d.useState)(""),C=u()(j,2),w=C[0],N=C[1];(0,d.useEffect)((function(){N(n)}),[n]),(0,d.useEffect)((function(){t(w)}),[w]);var S={placeholder:i||"请输入内容...",MENU_CONF:{}};return S.MENU_CONF.uploadImage={customUpload:function(e,n){return l()(o()().mark((function t(){var a,s;return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(a=new FormData).append("file",e),t.next=4,(0,p.ZP)("/api/attachments.json",{method:"post",body:a},!0);case 4:s=t.sent,n(null==s?void 0:s.url,"","");case 6:case"end":return t.stop()}}),t)})))()}},S.MENU_CONF.uploadVideo={customUpload:function(e,n){return l()(o()().mark((function t(){var a,s,i,l,u,d,m,h,_,x,v,b,g,j;return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.size,s=Math.ceil(a/c),t.prev=2,t.next=5,(0,p.ZP)("/api/attachments/multipart_upload_start",{method:"POST",body:{fileName:e.name,chunkCount:s,user_id:null==r||null===(i=r.userInfo)||void 0===i?void 0:i.user_id}});case 5:if(0===(null==(u=t.sent)?void 0:u.status)){t.next=8;break}throw new Error;case 8:d=u.upload_id,f.current=new AbortController,m=[],0,h=o()().mark((function n(){var t,s,r,i;return o()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=_*c,s=Math.min(t+c,a),r=e.slice(t,s),(i=new FormData).append("chunk",r),i.append("fileName",e.name),i.append("chunkIndex",(_+1).toString()),i.append("uploadId",d),m.push((function(){return(0,p.ZP)("/api/attachments/multipart_upload",{method:"POST",body:i,signal:f.current.signal},!0).then((function(e){}))}));case 9:case"end":return n.stop()}}),n)})),_=0;case 14:if(!(_0)){t.next=29;break}return t.next=27,Promise.all(g);case 27:t.sent,x+=v;case 29:t.next=22;break;case 31:return t.next=33,(0,p.ZP)("/api/attachments/multipart_upload_end",{method:"POST",body:{fileName:e.name,chunkCount:s,uploadId:d,user_id:null==r||null===(l=r.userInfo)||void 0===l?void 0:l.user_id}});case 33:j=t.sent,n(null==j?void 0:j.object,""),t.next=39;break;case 37:t.prev=37,t.t1=t.catch(2);case 39:case"end":return t.stop()}}),t,null,[[2,37]])})))()}},(0,d.useEffect)((function(){return function(){null!=b&&(b.destroy(),g(null))}}),[b]),(0,_.jsx)(_.Fragment,{children:(0,_.jsxs)("div",{className:null==h?void 0:h.editor_css,style:{border:"1px solid #ccc",zIndex:100},children:[(0,_.jsx)(m.o,{editor:b,defaultConfig:{},mode:"default",style:{borderBottom:"1px solid #ccc"}}),(0,_.jsx)(m.M,{defaultConfig:S,value:w,onCreated:g,onChange:function(e){return N(e.getHtml())},mode:"default",style:s()({height:"500px",overflowY:"hidden"},a)})]})})}))},2894:function(e,n,t){t.d(n,{Z:function(){return I}});var a=t(7557),s=t.n(a),r=t(41498),o=t.n(r),i=t(82242),l=t.n(i),c=t(79800),u=t.n(c),d=t(59301),m=t(78241),p=t(8591),f=t(43418),h=t(98135),_=t(57809),x=t(84291),v=t(46651),b=t(51882),g=t(99232),j=t.n(g),C={flex_box_center:"flex_box_center___QyfTI",flex_space_between:"flex_space_between___h3rrj",flex_box_vertical_center:"flex_box_vertical_center___CJQPY",flex_box_center_end:"flex_box_center_end___GyaJk",flex_box_column:"flex_box_column___Q9WpV",form:"form___In2ej",btn:"btn___CMK6g",img:"img___s_IXU"},w=t(30149),N=t(57357),S=t(97650),Z=t(1967),y=t(37712),I=(0,b.connect)((function(e){return{dispatch:e.dispatch,coreCurriculum:e.coreCurriculum}}))((function(e){var n,t,a=e.visible,r=e.onOk,i=e.onCancel,c=e.title,b=void 0===c?"":c,g=e.coreCurriculum,I=e.dispatch,k=g.CoreSubjects,O=m.Z.useForm(),P=u()(O,1)[0],E=(0,d.useState)(!1),M=u()(E,2),F=M[0],T=M[1],B=(0,d.useState)([]),D=u()(B,2),R=D[0],V=D[1],L=(0,d.useState)(!1),Y=u()(L,2),q=Y[0],U=Y[1];(0,d.useEffect)((function(){if(I({type:"coreCurriculum/getCoreSubjects",payload:{page:1,limit:12}}),null!=a&&a.id){var e,n,t;P.setFieldsValue(l()(l()({},a),{},{attachment_id:null==a||null===(e=a.attachment)||void 0===e?void 0:e.id,publication_time:j()(null==a?void 0:a.publication_time),material_type:null==a||null===(n=a.material_type)||void 0===n?void 0:n.toString()}));var s=[l()(l()({},null==a?void 0:a.attachment),{},{response:{id:null==a||null===(t=a.attachment)||void 0===t?void 0:t.id}})];V(s)}}),[a]);var W,H=function(){var e=o()(s()().mark((function e(n){var t,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:T(!0),a=l()(l()({},n),{},{attachment_id:(null==R||null===(t=R[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id)||""}),r(a);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,y.jsx)(f.Z,{title:"".concat(null!=a&&a.id?"编辑":"新建").concat(b),open:a,onOk:function(){P.submit()},centered:!0,onCancel:function(){i()},confirmLoading:F,okButtonProps:{disabled:q},width:686,afterClose:function(){T(!1),V([]),P.resetFields()},okText:"确认",cancelText:"取消",wrapClassName:w.Z.CustomCss,children:(0,y.jsxs)(m.Z,{form:P,colon:!1,labelCol:{span:4},wrapperCol:{span:18},onFinish:H,className:C.form,children:[(0,y.jsx)(m.Z.Item,{label:"教材名称",name:"name",rules:[{required:!0,message:"请输入教材名称"},{whitespace:!0,message:"请输入教材名称"},{max:100,message:"只能输入60个字符"}],children:(0,y.jsx)(h.Z,{maxLength:100,placeholder:"请输入教材名称"})}),(0,y.jsx)(m.Z.Item,{label:"教材类型",name:"material_type",rules:[{required:!0,message:"请选择教材类型"}],children:(0,y.jsxs)(_.default,{children:[(0,y.jsx)(_.default.Option,{value:"1",children:"主教材"}),(0,y.jsx)(_.default.Option,{value:"2",children:"实践教材"})]})}),(0,y.jsx)(m.Z.Item,{label:"课程",name:"core_subject_id",rules:[{required:!0,message:"请选择课程"}],children:(0,y.jsx)(_.default,{children:null==k||null===(n=k.list)||void 0===n?void 0:n.map((function(e,n){return(0,y.jsx)(_.default.Option,{value:null==e?void 0:e.id,children:null==e?void 0:e.name},n)}))})}),(0,y.jsx)(m.Z.Item,{label:"作者",name:"author",rules:[{required:!0,message:"请输入作者"},{whitespace:!0,message:"请输入作者"},{max:50,message:"只能输入50个字符"}],children:(0,y.jsx)(h.Z,{maxLength:50,placeholder:"请输入作者"})}),(0,y.jsx)(m.Z.Item,{label:"出版社",name:"publisher",rules:[{required:!0,message:"请输入出版社"},{whitespace:!0,message:"实践出版社"},{max:50,message:"只能输入50个字符"}],children:(0,y.jsx)(h.Z,{maxLength:50,placeholder:"请输入出版社"})}),(0,y.jsx)(m.Z.Item,{label:"出版时间",name:"publication_time",rules:[{required:!0,message:"请选择出版时间"}],children:(0,y.jsx)(x.default,{style:{width:"100%"},placeholder:"请选择出版时间",format:"YYYY-MM-DD",allowClear:!1})}),(0,y.jsx)(m.Z.Item,{label:"ISBN",name:"number",rules:[{required:!0,message:"请输入ISBN"},{whitespace:!0,message:"请输入ISBN"}],children:(0,y.jsx)(h.Z,{maxLength:60,placeholder:"请输入ISBN"})}),(0,y.jsx)(m.Z.Item,{name:"attachment_id",label:"封面图片",rules:[{required:!0,message:"请上传封面图片"}],children:(0,y.jsx)("div",{className:C.upload,children:null!=R&&null!==(t=R[0])&&void 0!==t&&null!==(t=t.response)&&void 0!==t&&t.id?(0,y.jsxs)("div",{className:C.img,children:[(0,y.jsx)("img",{src:N.Z.API_SERVER+"/api/attachments/"+(null==R||null===(W=R[0])||void 0===W||null===(W=W.response)||void 0===W?void 0:W.id),alt:"avatar",style:{width:"100%"}}),(0,y.jsx)("div",{children:(0,y.jsx)(S.Z,{onClick:function(){V([]),P.setFieldsValue({attachment_id:""})},style:{fontSize:"16px",color:"red"}})})]}):(0,y.jsx)(v.Z,{fileList:R,action:"".concat(N.Z.API_SERVER,"/api/attachments.json"),onChange:function(e){return n=e,P.setFieldsValue({attachment_id:""}),void(["uploading","done","removed"].includes(n.file.status)&&("uploading"===n.file.status&&U(!0),"done"===n.file.status&&U(!1),V(n.fileList),P.setFieldsValue({attachment_id:null===(t=n.fileList)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id})));var n,t},onRemove:function(e){V([])},beforeUpload:function(e){return"image/jpeg"===(n=e).type||"image/png"===n.type?n.size/1024/1024>2?(p.ZP.info("文件大小必须小于2MB"),Promise.reject()):(V([]),!0):(p.ZP.error("请上传jpg或png的图片!"),Promise.reject());var n},withCredentials:!0,accept:"image/*",children:(0,y.jsxs)(Z.op,{style:{borderRadius:"2px",marginLeft:4,marginTop:3},children:[(0,y.jsx)("i",{className:"iconfont icon-shangchuantupian2 mr5"}),"上传图片"]})})})})]})})}))},90630:function(e,n,t){t.r(n),t.d(n,{default:function(){return M}});var a=t(7557),s=t.n(a),r=t(82242),o=t.n(r),i=t(41498),l=t.n(i),c=t(79800),u=t.n(c),d=t(59301),m=t(43418),p=t(8591),f=t(90694),h="wrap___ieM1S",_="editor___EZPNQ",x="btns___shpJD",v="list___LE_2Q",b="left___rPWHk",g="right___LDk76",j="title___XNk6p",C=t(80248),w=t(2894),N=t(57357),S=t(1967),Z=t(58645),y=t(30149),I=t(51882),k=t(64330),O=t(99232),P=t.n(O),E=t(37712),M=(0,I.connect)((function(e){var n=e.virtualSpaces;return{globalSetting:e.globalSetting,virtualSpaces:n,user:e.user}}))((function(e){e.globalSetting,e.dispatch;var n=e.user,t=e.virtualSpaces,a=(0,I.useParams)().id,r=(0,d.useState)("description"),i=u()(r,2),c=i[0],O=i[1],M=(0,d.useState)({}),F=u()(M,2),T=F[0],B=F[1],D=(0,d.useState)(!0),R=u()(D,2),V=(R[0],R[1]),L=(0,d.useState)(!1),Y=u()(L,2),q=Y[0],U=Y[1],W=(0,d.useState)(""),H=u()(W,2),z=H[0],A=H[1],$=(0,d.useState)(""),Q=u()($,2),X=Q[0],G=Q[1],J=(0,d.useRef)(""),K=(0,d.useState)(!1),ee=u()(K,2),ne=ee[0],te=ee[1],ae=(0,d.useState)(!1),se=u()(ae,2),re=se[0],oe=se[1],ie=(t.virtualSpacesDetails,T.name),le=T.attachment,ce=T.author,ue=T.publisher,de=T.number,me=T.publication_time,pe=T.material_type;(0,d.useEffect)((function(){he()}),[a]),(0,d.useEffect)((function(){_e()}),[c]);var fe=function(e){var t;return(0,k.ES)()||(null==n||null===(t=n.userInfo)||void 0===t?void 0:t.user_id)===e},he=function(){var e=l()(s()().mark((function e(){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(!0),e.next=3,(0,f.ZP)("/api/core_materials/".concat(a,".json"),{method:"get"});case 3:-1!==(null==(n=e.sent)?void 0:n.status)&&B(o()({},null==n?void 0:n.data)),V(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_e=function(){var e=l()(s()().mark((function e(){var n,t,r,o;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V(!0),e.next=3,(0,f.ZP)("/api/core_materials/".concat(a,"/show_desc.json"),{method:"get",params:{column:c}});case 3:-1!==(null==(n=e.sent)?void 0:n.status)&&(A((null==n||null===(t=n.data)||void 0===t?void 0:t[c])||""),G((null==n||null===(r=n.data)||void 0===r?void 0:r[c])||""),J.current=(null==n||null===(o=n.data)||void 0===o?void 0:o[c])||""),V(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),xe=function(){var e=l()(s()().mark((function e(n){var t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.ZP)("/api/core_materials/".concat(a,".json"),{method:"put",body:o()({material_type:String(pe)},n)});case 2:-1!==(null==(t=e.sent)?void 0:t.status)&&(he(),p.ZP.success("编辑成功"),U(!1));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),ve=function(){var e=l()(s()().mark((function e(){var n,t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe(!0),(n={})[c]=z,e.next=5,(0,f.ZP)("/api/core_materials/".concat(a,"/update_desc.json"),{method:"put",body:n});case 5:-1!==(null==(t=e.sent)?void 0:t.status)&&(_e(),p.ZP.success("编辑成功"),te(!1)),oe(!1);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,E.jsxs)("div",{className:h,children:[(0,E.jsx)(S.qE,{title:"教材详情",onClick:function(){return I.history.push("/textbook")},children:fe(T.user_id)&&(0,E.jsxs)("div",{className:x,children:[(0,E.jsx)("div",{onClick:function(){U(o()({},T))},children:(0,E.jsxs)("span",{className:"primary-hover",children:[(0,E.jsx)("i",{className:"iconfont icon-bianji7 font14 mr5"}),"编辑"]})}),(0,E.jsx)("div",{onClick:function(){var e;m.Z.confirm({title:"提示",okText:"确定删除",okButtonProps:{danger:!0},icon:!1,className:y.Z.CustomTipsModalCss,cancelText:"取消",content:(0,E.jsxs)("div",{children:[(0,E.jsxs)("div",{children:["确认删除《",ie,"》吗?"]}),(0,E.jsx)("div",{className:"mt10",children:"删除后,将无法恢复,请谨慎操作"})]}),onOk:(e=l()(s()().mark((function e(){var n;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.ZP)("/api/core_materials/".concat(a,".json"),{method:"delete"});case 2:-1!==(null==(n=e.sent)?void 0:n.status)&&(p.ZP.success("操作成功"),I.history.push("/textbook"));case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})},children:(0,E.jsxs)("span",{className:"delete-hover",children:[" ",(0,E.jsx)("i",{className:"iconfont icon-piliangshanchubeifen font14 mr5"}),"删除"]})})]})}),(0,E.jsxs)("div",{className:v,children:[(0,E.jsx)("div",{className:b,children:(0,E.jsx)("img",{src:N.Z.API_SERVER+(null==le?void 0:le.url)})}),(0,E.jsxs)("div",{className:g,children:[(0,E.jsx)("div",{className:j,children:ie}),(0,E.jsxs)("aside",{children:[(0,E.jsxs)("span",{children:["作者:",ce]}),(0,E.jsxs)("span",{children:["出版社:",ue]})]}),(0,E.jsxs)("aside",{children:[(0,E.jsxs)("span",{children:["ISBN:",de]}),(0,E.jsxs)("span",{children:["出版时间:",P()(me).format("YYYY-MM-DD")]})]})]})]}),(0,E.jsx)(S.YG,{value:c,onChange:function(e){O(e)},tabBarExtraContent:fe(T.user_id)&&(0,E.jsx)("div",{className:x,children:(0,E.jsx)("div",{onClick:function(){te(!0)},children:(0,E.jsxs)("span",{className:"primary-hover",children:[(0,E.jsx)("i",{className:"iconfont icon-bianji7 font14 mr5"}),"编辑"]})})}),dataSource:[{id:"description",name:"简介"},{id:"directory",name:"目录"},{id:"foreword",name:"前言"}]}),(0,E.jsx)("div",{className:"mt20",children:ne?(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(Z.Z,{defaultvalue:X,onChange:function(e){A(e)}}),(0,E.jsx)(S.QD,{confirmTitle:"保存",confirmLoading:re,confirmClick:ve,cancelClick:function(){te(!1),A(J.current)},cancelTitle:"取消",className:"mb25 mt25"})]}):(0,E.jsx)(C.Z,{className:_,value:z})}),(0,E.jsx)(w.Z,{visible:q,title:"教材",onCancel:function(){return U(!1)},onOk:xe})]})}))},30149:function(e,n){n.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},56762:function(e,n,t){t.d(n,{Z:function(){return s}});var a=t(59301);function s(){const[,e]=a.useReducer((e=>e+1),0);return e}},57809:function(e,n,t){var a=t(92310),s=t.n(a),r=t(77861),o=t(70521),i=t(59301),l=t(53487),c=t(62892),u=t(19080),d=t(36355),m=t(1684),p=t(93891),f=t(19716),h=t(32441),_=t(33234),x=t(14154),v=t(58582),b=t(84443),g=t(66339),j=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(e);s{var t,{prefixCls:a,bordered:l=!0,className:w,rootClassName:N,getPopupContainer:S,popupClassName:Z,dropdownClassName:y,listHeight:I=256,placement:k,listItemHeight:O=24,size:P,disabled:E,notFoundContent:M,status:F,builtinPlacements:T,dropdownMatchSelectWidth:B,popupMatchSelectWidth:D,direction:R,style:V,allowClear:L}=e,Y=j(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:q,getPrefixCls:U,renderEmpty:W,direction:H,virtual:z,popupMatchSelectWidth:A,popupOverflow:$,select:Q}=i.useContext(d.E_),X=U("select",a),G=U(),J=null!=R?R:H,{compactSize:K,compactItemClassnames:ee}=(0,_.ri)(X,J),[ne,te]=(0,x.Z)(X),ae=i.useMemo((()=>{const{mode:e}=Y;if("combobox"!==e)return e===C?"combobox":e}),[Y.mode]),se="multiple"===ae||"tags"===ae,re=(0,b.Z)(Y.suffixIcon,Y.showArrow),oe=null!==(t=null!=D?D:B)&&void 0!==t?t:A,{status:ie,hasFeedback:le,isFormItemInput:ce,feedbackIcon:ue}=i.useContext(h.aM),de=(0,u.F)(ie,F);let me;me=void 0!==M?M:"combobox"===ae?null:(null==W?void 0:W("Select"))||i.createElement(p.Z,{componentName:"Select"});const{suffixIcon:pe,itemIcon:fe,removeIcon:he,clearIcon:_e}=(0,g.Z)(Object.assign(Object.assign({},Y),{multiple:se,hasFeedback:le,feedbackIcon:ue,showSuffixIcon:re,prefixCls:X,showArrow:Y.showArrow,componentName:"Select"})),xe=!0===L?{clearIcon:_e}:L,ve=(0,o.Z)(Y,["suffixIcon","itemIcon"]),be=s()(Z||y,{[`${X}-dropdown-${J}`]:"rtl"===J},N,te),ge=(0,f.Z)((e=>{var n;return null!==(n=null!=P?P:K)&&void 0!==n?n:e})),je=i.useContext(m.Z),Ce=null!=E?E:je,we=s()({[`${X}-lg`]:"large"===ge,[`${X}-sm`]:"small"===ge,[`${X}-rtl`]:"rtl"===J,[`${X}-borderless`]:!l,[`${X}-in-form-item`]:ce},(0,u.Z)(X,de,le),ee,null==Q?void 0:Q.className,w,N,te),Ne=i.useMemo((()=>void 0!==k?k:"rtl"===J?"bottomRight":"bottomLeft"),[k,J]),Se=(0,v.Z)(T,$);return ne(i.createElement(r.ZP,Object.assign({ref:n,virtual:z,showSearch:null==Q?void 0:Q.showSearch},ve,{style:Object.assign(Object.assign({},null==Q?void 0:Q.style),V),dropdownMatchSelectWidth:oe,builtinPlacements:Se,transitionName:(0,c.m)(G,"slide-up",Y.transitionName),listHeight:I,listItemHeight:O,mode:ae,prefixCls:X,placement:Ne,direction:J,suffixIcon:pe,menuItemSelectedIcon:fe,removeIcon:he,allowClear:xe,notFoundContent:me,className:we,getPopupContainer:S||q,dropdownClassName:be,disabled:Ce})))};const N=i.forwardRef(w),S=(0,l.Z)(N);N.SECRET_COMBOBOX_MODE_DO_NOT_USE=C,N.Option=r.Wx,N.OptGroup=r.Xo,N._InternalPanelDoNotUseOrYouWillBeFired=S,n.default=N}}]); \ No newline at end of file