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.
2 lines
66 KiB
2 lines
66 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4862],{18344:function(ge,Q,m){var t=m(59301),b=Object.defineProperty,z=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,h=(D,v,E)=>v in D?b(D,v,{enumerable:!0,configurable:!0,writable:!0,value:E}):D[v]=E,I=(D,v)=>{for(var E in v||(v={}))i.call(v,E)&&h(D,E,v[E]);if(z)for(var E of z(v))O.call(v,E)&&h(D,E,v[E]);return D};const B=D=>React.createElement("svg",I({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},D),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Q.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},86570:function(ge,Q,m){var t=m(59301),b=Object.defineProperty,z=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,h=(D,v,E)=>v in D?b(D,v,{enumerable:!0,configurable:!0,writable:!0,value:E}):D[v]=E,I=(D,v)=>{for(var E in v||(v={}))i.call(v,E)&&h(D,E,v[E]);if(z)for(var E of z(v))O.call(v,E)&&h(D,E,v[E]);return D};const B=D=>React.createElement("svg",I({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},D),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Q.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},5068:function(ge,Q,m){m.d(Q,{Z:function(){return B}});var t=m(59301),b=m(58250),z=m(43418),i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAACE5JREFUWAmtWH1snVUZ/533tuvYVreyjGy3Y6srTBo2srI4XbtKgFQxIrKYzeAfk8AfCzHbCkPMjPjBP0aCsjr1D01USCQ6oosyiLF8xMGqc2BHauUj1I2Ntghs7dqytuu99/j7nfOee9/73js+jKd53+d5n3Oe5/zO8zznOafX4EO2ta/bhqlJfM4adFJ1hQWyxiIrM5QNG2CY7EnKei5agMf7V5pR9X3QRv0P1pr77WaO3AGLDoKokZYlY2hBtFqLDHLse9ZE2De41hyoNiYte19AzX22nfPdT8NtnJr6UgkIAl/dTLKXwHupeM9gqzmcBpH8rm6JI7ZYm3nhBfyAQHYlFcr4NL6yTn4kEamPxkxkutevx+5Hjcmnh+u7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aPlIYmNoY3V6PefoY8+tefIUJhWtShSxoZIval4mz395l4fICbCNS1VOABV/GwRCZIx9HaOhhSJDxEYr7hr5jShCSsf16xiaYcGVyb+juEq2sgFU/5xXgvlfp/BrTV8M0vc+2Ue2nOdVTiLnZYLNZdnKVKkY1pKNC22reD10OKb+Ik5x7hSvFK7s/wNfhQ5uiYP7YCuxfV64Rh06MtI+22JbGYw7x6VGyd5XZztYmDPKl2OZ9KKpWDq+9Lb61/bkcRBUiww/F+vo2s+RYf3aFP3Z9u62pieHzU9q2pzAe7VHiVo4SgD8vH4gwS83z/algRCWdMreIqqJY98Ripm9z6phWpCC+9v1jL3096tr350GbtJ0XjLivSFkcU8LsJ7Xz+e6V/3dMRZFmBD6ixvRw+2vMC1f5oBuZxgxIl9oPq5ewCOVzaSFl0WPGd+gUMwEh/sPK8A+rl250qq3R+LgDUiN2a2Mzwsv8GJP6sjMp5xuna6LSGzXzL8HvQjBpp3n5Up9MjJf+B5WVB7lfjXHfAAAAAElFTkSuQmCC",h={tilte:"tilte___IfiMG",flexRow:"flexRow___pQP78",flexColumn:"flexColumn___xrBZQ",footerWrap:"footerWrap___C5kCC",img:"img___GoWZu",content:"content___pumTK",modalContent:"modalContent___XvHiZ"};const I=({visible:D,occupationValue:v,onCancel:E=()=>{}})=>{const k=()=>t.createElement("div",{className:h.flexColumn},t.createElement("img",{className:h.img,src:O}),t.createElement("span",{className:h.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),te=()=>t.createElement("div",{className:h.flexColumn},t.createElement("img",{className:h.img,src:i}),t.createElement("span",{className:h.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),P=()=>v===3?t.createElement(t.Fragment,null,te(),k()):v===2?k():te();return t.createElement(z.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:D,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{E(),b.history.push("/account/certification")},onCancel:()=>{E()}},t.createElement("div",{className:h.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),t.createElement("div",{className:h.flexRow},P()))};var B=(0,b.connect)(({paperlibrary:D,loading:v,globalSetting:E})=>({paperlibrary:D,globalSetting:E,loading:v.effects}))(I)},54381:function(ge,Q,m){m.d(Q,{S:function(){return B}});var t=m(59301),b=m(20834),z=m(38854),i={flex_box_center:"flex_box_center___EIpII",flex_space_between:"flex_space_between___fFu6C",flex_box_vertical_center:"flex_box_vertical_center___dbtuv",flex_box_center_end:"flex_box_center_end___qEYJa",flex_box_column:"flex_box_column___ncMrS",main:"main___A2KB0",wrap:"wrap___PrMse",content:"content___pEqhq",programName:"programName___h8PAJ",name:"name___oxG0a",directionContentWrap:"directionContentWrap____Ymcj",directionItem:"directionItem___uCMBX",active:"active___vOl0l",subActive:"subActive___WzT87",subItem:"subItem___nVuXN",subMenu:"subMenu___DqKGV",action:"action___O7v85"};const O=[{name:"\u7F16\u7A0B\u9898",value:"PROGRAM"},{name:"\u5355\u9009\u9898",value:"SINGLE"},{name:"\u591A\u9009\u9898",value:"MULTIPLE"},{name:"\u5224\u65AD\u9898",value:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",value:"COMPLETION"},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE"},{name:"\u7EC4\u5408\u9898",value:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM"}],h=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],I=[{name:"\u968F\u673A\u7EC4\u5377",value:1},{name:"\u4EBA\u5DE5\u7EC4\u5377",value:2}],B=({showSelectAll:D=!1,disciplinesData:v=[],knowledgeData:E=[],directionValue:k,subDisciplineValue:te,typeValue:P,knowledgeValue:x,showKnowledge:L=!1,showRandomType:fe=!1,difficultyValue:g,randomValue:se,selectAll:ve,languagesvalue:ye,className:me,languages:Ae=[],isprogram_homework:Ne,showShixun:at=!1,showItemType:_e=!0,onShixunChange:He=()=>{},onDirectionChange:K=()=>{},onTypeChange:Me=()=>{},onDifficultyChange:Ie=()=>{},handlelanguagesChange:Qe=()=>{},onKnowledgeChange:Fe=()=>{},onRandomChange:Ve=()=>{},showTeachGroup:xe=!1,teachGroupData:Pe=[],onTeachGroupChange:je=()=>{},teachGroupValue:we})=>{const[U,ue]=(0,t.useState)(0),Ce=(0,t.useRef)(null),[de,le]=(0,t.useState)(0),he=(0,t.useRef)(null);(0,t.useEffect)(()=>{var c;v.length!==0&&(((c=Ce==null?void 0:Ce.current)==null?void 0:c.clientHeight)>108?ue(1):ue(0)),v.length===0&&ue(0)},[v]),(0,t.useEffect)(()=>{var c;E.length!==0&&(((c=he==null?void 0:he.current)==null?void 0:c.clientHeight)>108?le(1):le(0)),E.length===0&&le(0)},[E]);const Se=(c=[],X)=>t.createElement(b.default,{className:i.subMenu},c.map(J=>t.createElement(b.default.Item,{key:J.id},t.createElement("a",{className:`${i.subItem} ${te===J.id?i.subActive:""}`,onClick:()=>K(X,J.id)},J.name))));return t.createElement("aside",{className:me?`${i.main} ${me}`:i.main},t.createElement("div",{className:i.wrap},Ne&&t.createElement("div",{className:i.programName},"\u8BD5\u9898\u5E93-\u7F16\u7A0B\u9898"),xe&&t.createElement("div",{className:i.content},t.createElement("span",{className:i.name},"\u56E2\u961F"),t.createElement("div",{className:i.directionContentWrap},t.createElement("li",{className:`${i.directionItem} ${we?"":i.active} `,onClick:()=>je(null)},"\u5168\u90E8"),Pe==null?void 0:Pe.map(c=>t.createElement("li",{key:c.group_id,className:`${i.directionItem} ${we===c.group_id?i.active:""} `,onClick:()=>je(c.group_id)},c.name)))),t.createElement("div",{className:i.content},t.createElement("span",{className:i.name},"\u65B9\u5411"),t.createElement("span",null),t.createElement("div",{className:i.directionContentWrap,style:{overflow:"hidden",height:U===1?88:"auto"}},t.createElement("li",{className:`${i.directionItem} ${k?"":i.active} `,onClick:()=>K(null)},"\u5168\u90E8"),v.map(c=>{var X;return t.createElement(t.Fragment,{key:c.id},((X=c.sub_disciplines)==null?void 0:X.length)>0?t.createElement(z.Z,{placement:"bottomLeft",overlayStyle:{width:600},getPopupContainer:J=>J.parentNode,dropdownRender:()=>Se(c.sub_disciplines,c.id)},t.createElement("li",{className:`${i.directionItem} ${k===c.id?i.active:""} `,onClick:()=>K(c.id)},c.name)):t.createElement("li",{className:`${i.directionItem} ${k===c.id?i.active:""} `,onClick:()=>K(c.id)},c.name))})),t.createElement("div",{className:i.directionContentWrap,ref:Ce,style:{height:"auto",position:"fixed",left:0,top:0,width:1024,visibility:"hidden"}},v.map(c=>{var X;return t.createElement(t.Fragment,{key:c.id},((X=c.sub_disciplines)==null?void 0:X.length)>0?t.createElement(z.Z,{placement:"bottomLeft",overlayStyle:{width:600},getPopupContainer:J=>J.parentNode,dropdownRender:()=>Se(c.sub_disciplines,c.id)},t.createElement("li",{className:`${i.directionItem} ${k===c.id?i.active:""} `,onClick:()=>K(c.id)},c.name)):t.createElement("li",{className:`${i.directionItem} ${k===c.id?i.active:""} `,onClick:()=>K(c.id)},c.name))})),!!U&&t.createElement("div",{className:i.action},U===1&&t.createElement("span",{onClick:()=>ue(2)},"\u5C55\u5F00",t.createElement("i",{className:"iconfont icon-xiala"})),U===2&&t.createElement("span",{onClick:()=>ue(1)},"\u6536\u8D77",t.createElement("i",{style:{transform:"scale(0.5) rotate(180deg) translateY(2px)"},className:"iconfont icon-xiala"})))),L&&t.createElement("div",{className:i.content},t.createElement("span",{className:i.name},"\u77E5\u8BC6\u70B9"),t.createElement("div",{className:i.directionContentWrap,style:{overflow:"hidden",height:de===1?94:"auto"}},t.createElement("li",{className:`${i.directionItem} ${x===-1?i.active:""} `,onClick:()=>Fe(-1)},"\u5168\u90E8"),E.map(c=>t.createElement("li",{key:c.id,className:`${i.directionItem} ${x===c.id?i.active:""} `,onClick:()=>Fe(c.id)},c.name))),t.createElement("div",{ref:he,className:i.directionContentWrap,style:{height:"auto",position:"fixed",left:0,top:0,width:1010,visibility:"hidden"}},E.map(c=>t.createElement("li",{key:c.id,className:`${i.directionItem} ${x===c.id?i.active:""} `,onClick:()=>Fe(c.id)},c.name))),!!de&&t.createElement("div",{className:i.action},de===1&&t.createElement("span",{onClick:()=>le(2)},"\u5C55\u5F00",t.createElement("i",{className:"iconfont icon-xiala"})),de===2&&t.createElement("span",{onClick:()=>le(1)},"\u6536\u8D77",t.createElement("i",{style:{transform:"scale(0.5) rotate(180deg) translateY(2px)"},className:"iconfont icon-xiala"})))),_e&&!Ne&&t.createElement("div",{className:i.content},t.createElement("span",{className:i.name},"\u9898\u578B"),t.createElement("li",{className:`${i.directionItem} ${P?"":i.active} `,onClick:()=>Me(null)},"\u5168\u90E8"),t.createElement("div",{className:i.directionContentWrap},O.map(c=>t.createElement("li",{key:c.name,className:`${i.directionItem} ${P===c.value?i.active:""} `,onClick:()=>Me(c.value)},c.name)),at&&t.createElement("li",{key:"\u5B9E\u8BAD\u9898",className:i.directionItem,onClick:()=>He()},"\u5B9E\u8BAD\u9898"))),t.createElement("div",{className:i.content},t.createElement("span",{className:i.name},"\u96BE\u5EA6"),t.createElement("li",{className:`${i.directionItem} ${g?"":i.active} `,onClick:()=>Ie(null)},"\u5168\u90E8"),t.createElement("div",{className:i.directionContentWrap},h.map(c=>t.createElement("li",{key:c.name,className:`${i.directionItem} ${g===c.value?i.active:""} `,onClick:()=>Ie(c.value)},c.name)))),fe&&t.createElement("div",{className:i.content},t.createElement("span",{className:i.name},"\u7C7B\u578B"),t.createElement("li",{className:`${i.directionItem} ${se?"":i.active} `,onClick:()=>Ve(null)},"\u5168\u90E8"),t.createElement("div",{className:i.directionContentWrap},I.map(c=>t.createElement("li",{key:c.name,className:`${i.directionItem} ${se===c.value?i.active:""} `,onClick:()=>Ve(c.value)},c.name))))))}},25519:function(ge,Q,m){var t=m(59301),b=m(93314),z=m(3113),i=Object.defineProperty,O=Object.defineProperties,h=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,v=(P,x,L)=>x in P?i(P,x,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[x]=L,E=(P,x)=>{for(var L in x||(x={}))B.call(x,L)&&v(P,L,x[L]);if(I)for(var L of I(x))D.call(x,L)&&v(P,L,x[L]);return P},k=(P,x)=>O(P,h(x));const te=({img:P,buttonProps:x={},styles:L={},customText:fe,ButtonText:g,ButtonClick:se,Buttonclass:ve,ButtonTwo:ye,imgStyles:me,loading:Ae=!1})=>t.createElement("section",{className:"tc animated fadeIn",style:E(E({},{color:"#999",margin:"100px auto",visibility:Ae?"hidden":"visible"}),L)},t.createElement("img",{src:P||b,style:k(E({},me),{pointerEvents:"none",userSelect:"none"})}),t.createElement("p",{className:"mt20 font14"},fe||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),g&&t.createElement(z.ZP,E({className:ve,onClick:se},x),g),ye&&ye);Q.Z=te},75946:function(ge,Q,m){m.r(Q),m.d(Q,{default:function(){return au}});var t=m(59301),b=m(58250),z=m(99313),i=m(98135),O=m(78241),h=m(43418),I=m(24905),B=m(8591),D=m(43604),v=m(3113),E=m(95237),k=m(71418),te=m(53864),P=m(5112),x=m(19842),L=m(25519),fe=m(54381),g={flex_box_center:"flex_box_center___bGwPE",flex_space_between:"flex_space_between___S_dVk",flex_box_vertical_center:"flex_box_vertical_center___JyuWa",flex_box_center_end:"flex_box_center_end___OUF0K",flex_box_column:"flex_box_column___rKVBK",page:"page___scdxd",title:"title___VrDp2",wrap:"wrap___YQdqQ",tabsWrap:"tabsWrap___Oc3uk",filterWrap:"filterWrap___E4RIN",batchWrap:"batchWrap___W_nb0",contentWrap:"contentWrap___R4B3o",checkbox:"checkbox____NenD",modal:"modal___vvk_2",list:"list___kvLHG",btns:"btns___mm_gr",confirm:"confirm___mRLCc",cancel:"cancel___K9XSP",batch:"batch___HZ2dp",btn:"btn____Gjoi",languageSelect:"languageSelect___yXzSf",searchWrp:"searchWrp___PkGd5",searchInput:"searchInput___ChO3U",searchIcon:"searchIcon____721G",actionBtn:"actionBtn___gil1d",applyPublicContainer:"applyPublicContainer___rqkDZ",applyPublicContent:"applyPublicContent___MSHlq",spin:"spin___BC6EP",tips:"tips___t89S9",action:"action___U7a0p"},se=Object.defineProperty,ve=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Ae=(n,e,l)=>e in n?se(n,e,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[e]=l,Ne=(n,e)=>{for(var l in e||(e={}))ye.call(e,l)&&Ae(n,l,e[l]);if(ve)for(var l of ve(e))me.call(e,l)&&Ae(n,l,e[l]);return n};const at=n=>React.createElement("svg",Ne({width:24,height:24,xmlns:"http://www.w3.org/2000/svg"},n),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 17"),React.createElement("path",{d:"M12 .5c3.176 0 6.05 1.287 8.132 3.368A11.464 11.464 0 0 1 23.5 12c0 3.176-1.287 6.05-3.368 8.132A11.464 11.464 0 0 1 12 23.5c-3.176 0-6.05-1.287-8.132-3.368A11.464 11.464 0 0 1 .5 12c0-3.176 1.287-6.05 3.368-8.132A11.464 11.464 0 0 1 12 .5Z",fillRule:"nonzero",stroke:"#D5DFFF",fill:"none"}));var _e="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIC41YzMuMTc2IDAgNi4wNSAxLjI4NyA4LjEzMiAzLjM2OEExMS40NjQgMTEuNDY0IDAgMCAxIDIzLjUgMTJjMCAzLjE3Ni0xLjI4NyA2LjA1LTMuMzY4IDguMTMyQTExLjQ2NCAxMS40NjQgMCAwIDEgMTIgMjMuNWMtMy4xNzYgMC02LjA1LTEuMjg3LTguMTMyLTMuMzY4QTExLjQ2NCAxMS40NjQgMCAwIDEgLjUgMTJjMC0zLjE3NiAxLjI4Ny02LjA1IDMuMzY4LTguMTMyQTExLjQ2NCAxMS40NjQgMCAwIDEgMTIgLjVaIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0iI0Q1REZGRiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==",He=Object.defineProperty,K=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Qe=(n,e,l)=>e in n?He(n,e,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[e]=l,Fe=(n,e)=>{for(var l in e||(e={}))Me.call(e,l)&&Qe(n,l,e[l]);if(K)for(var l of K(e))Ie.call(e,l)&&Qe(n,l,e[l]);return n};const Ve=n=>React.createElement("svg",Fe({width:24,height:24,xmlns:"http://www.w3.org/2000/svg"},n),React.createElement("title",null,"\u9009\u62E9\u5907\u4EFD 2"),React.createElement("path",{d:"M11.968.427C5.586.427.413 5.6.413 11.982c0 6.381 5.173 11.554 11.555 11.554 6.381 0 11.554-5.173 11.554-11.554C23.522 5.6 18.35.427 11.968.427Zm6.232 8.6-7.815 7.816c-.154.154-.422.136-.598-.04l-.523-.523-3.502-3.502a.45.45 0 0 1 0-.637l.955-.955a.45.45 0 0 1 .636 0l2.753 2.753 6.503-6.503c.154-.155.421-.137.597.039l.955.955c.176.176.193.443.04.597Z",fill:"#68C79F",fillRule:"nonzero"}));var xe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk2OC40MjdDNS41ODYuNDI3LjQxMyA1LjYuNDEzIDExLjk4MmMwIDYuMzgxIDUuMTczIDExLjU1NCAxMS41NTUgMTEuNTU0IDYuM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rmrKiWWUimicAKbo4T225Q9IEWYfjK31ZwQ5PMPm5tXc5s3l2oNw15eKGiXlypqY0XVo5MCA+Tapv0QJd5X9V6x2haFptp4Zm8jOiv1NBklo6loYEskIryQDDJbV6xK5QlZPX7AHGF8rfddsWpVkmj0JkMr3agohZRSKBLd8yzeoeCauP28HM45zoDueE0P4ODg7VYOv3stC7AieJ6FHAghGo25wXB0jyiIa0yt8Pr69eu/0HU/ZToiCKWU3LBixTpN1a4bHBxApVyBZZl+6D3fYjsM6tPA3VeUncUNJlxCycd9PL1nY4Rp62WJp2O9jsxxHARRRDyeQDKZVAVe/OG6dY+9+I0jcscdd8zo7j70fl9fX9C2rXG17vkVz934mSAwXQ6NNS69+YKSy3OUPL45TPZ2coRnHd/TeL7XV/gM8YHkQBDZbLZ52aWXnL18+VeV/BEjctEllz7S13t4haaqjCzLYFkOjt9DPLk37mk8MMsmkMRxPaLqLgTOhedxPGYPxrMXHjl1XViWhUg0Wshk0lc/99xzrx5VoTU1nZ5xnNKblm01OrYDSfLyLfiGaTzcvF+crvOJPWH48d1Ty4+U54M/A2HGbamXVg+EZVmX4/mNO3fsuOqoIAsWHHelaenrREGMWLbl714URTi27UfB87meV3PccRDPenop8EC9d33rSQgcdzw63nPvHwFveD7ZMK2PDINecvDgvo7Pw/wfMpt0cCj5/YEAAAAASUVORK5CYII=",we=m(5068),U={tilte:"tilte___jz7Vd",flexRow:"flexRow___gHhjK",flexColumn:"flexColumn___lgqLH",footerWrap:"footerWrap___rAdHU",img:"img___dctXO",content:"content___BqYfA",modalContent:"modalContent___E9goj",modalContentLeft:"modalContentLeft___WKPjp",modal:"modal___ambJI"},ue=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(n,e)=>{var l={};for(var p in n)Ce.call(n,p)&&e.indexOf(p)<0&&(l[p]=n[p]);if(n!=null&&ue)for(var p of ue(n))e.indexOf(p)<0&&de.call(n,p)&&(l[p]=n[p]);return l};const he=n=>{var e=n,{paperlibrary:l,globalSetting:p,loading:d,dispatch:T}=e,G=le(e,["paperlibrary","globalSetting","loading","dispatch"]);return t.createElement(h.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:l.actionTabs.key==="Paperlibrary-RandomPrompt",title:"\u6E29\u99A8\u63D0\u793A",footer:null},"\u968F\u673A\u7EC4\u5377\u529F\u80FD\u5728\u7F16\u8F91\u65F6\u4EC5\u80FD\u786E\u5B9A\u968F\u673A\u89C4\u5219\uFF0C\u4E0D\u80FD\u7F16\u8F91\u786E\u5B9A\u7684\u8BD5\u9898\u3002 \u5728\u8BFE\u5802\u4E0A\u5E94\u7528\u65F6\uFF0C\u5C06\u6839\u636E\u89C4\u5219\u4E3A\u6BCF\u4F4D\u5B66\u751F\u968F\u673A\u751F\u6210\u4E00\u4EFD\u8003\u5BDF\u70B9\u548C\u9898\u578B\u76F8\u540C\uFF0C\u4F46\u8BD5\u9898\u4E92\u4E0D\u76F8\u540C\u7684\u8BD5\u5377\u3002 \u4E3A\u987A\u5229\u7EC4\u5377\uFF0C\u8BF7\u53CA\u65F6\u5220\u9664\u4E2A\u4EBA\u9898\u5E93\u4E2D\u5197\u4F59\u3001\u9519\u8BEF\u3001\u65E0\u6548\u7684\u8BD5\u9898\uFF0C\u786E\u4FDD\u60A8\u7684\u4E2A\u4EBA\u9898\u5E93\u4E2D\u5168\u90E8\u8BD5\u9898\u5747\u6B63\u786E\u4E14\u6709\u6548\u3002",t.createElement("div",{className:`${U.footerWrap} mt30`},t.createElement(I.default,{onChange:j=>{const A=window.localStorage;A&&(A.no_alert_randompaper=j.target.checked?"1":"0")}},"\u4E0D\u518D\u63D0\u793A"),t.createElement(v.ZP,{type:"primary",onClick:()=>{T({type:"paperlibrary/setActionTabs",payload:{}}),b.history.push("/randompaper")}},"\u786E\u5B9A")))};var Se=(0,b.connect)(({paperlibrary:n,loading:e,globalSetting:l})=>({paperlibrary:n,globalSetting:l,loading:e.effects}))(he),c=m(20834),X=m(38854),J=m(99232),xt=m.n(J),s={itemWrap:"itemWrap___KEbZ9",checkBoxWrapper:"checkBoxWrapper___Y_kuj",listWrap:"listWrap___VlWgM",list:"list___XIr6d",flexCenter:"flexCenter___eacyI",flexRow:"flexRow___A_mOc",imgWrap:"imgWrap___KI9io",img:"img___vjS11",contentWrap:"contentWrap___NI0Vt",titleWrap:"titleWrap___SlBWX",title:"title___KGh5v",content:"content___B0PxW",bottomWrap:"bottomWrap___WVJb4",updateTime:"updateTime___sxvSt",useCount:"useCount___puqPx",actionBtn:"actionBtn___JUWfj",actionButton:"actionButton___jabv3",actionBar:"actionBar___I1pC8",typeIcon:"typeIcon___bramC",private:"private___sdERX",public:"public___noSmD",random:"random___l2hTA",actionLinkWrapper:"actionLinkWrapper___Him3y",actionLink:"actionLink___rWBLq",actionIcon:"actionIcon___lMmL7",line:"line___HQJlK",b1:"b1___Y4KZd",b2:"b2___QxMOG",actionLeftItem:"actionLeftItem___Fnq4b",export_type_modal:"export_type_modal___ISAzV",export_type_modal_con:"export_type_modal_con___qw5B2",type_item:"type_item___pdMxs",img_warp:"img_warp___cDH7f",img_warp_active:"img_warp_active___rLrYN",menu:"menu___Q2PXr"},Ue=m(85572),Pt=m(8939),nt=m(90735),jt=m(89392),wt=m(81641),r=m(59301),Je=(n,e,l)=>new Promise((p,d)=>{var T=A=>{try{j(l.next(A))}catch(w){d(w)}},G=A=>{try{j(l.throw(A))}catch(w){d(w)}},j=A=>A.done?p(A.value):Promise.resolve(A.value).then(T,G);j((l=l.apply(n,e)).next())});const St={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Tt=({showCheckbox:n=!1,data:e,user:l,authRole:p,activeTabsKey:d,selectIds:T=[],onSetSelectIds:G=()=>{},onPublicReview:j=()=>{},onSetPublic:A=()=>{},onCancelPublic:w=()=>{},onShare:Oe=()=>{},onCancelShare:Le=()=>{},onEdit:Re=()=>{},onDelete:qe=()=>{},onSendToClass:De=()=>{},onCopy:o=()=>{}})=>{var Z,Be,ze,N,ke,re;const[$e,Ge]=(0,t.useState)(!1),[Ze,q]=(0,t.useState)(!1),[Ye,Y]=(0,t.useState)(!1),[ie,F]=(0,t.useState)(""),$=()=>{h.default.warning({centered:!0,width:530,okText:"\u77E5\u9053\u5566",title:"\u63D0\u793A",icon:null,content:r.createElement("div",{className:"tc font16"},"\u672C\u5957\u8BD5\u5377\u6240\u9009\u7528\u8BD5\u9898\u90E8\u5206\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u5E76\u53CA\u65F6\u8C03\u6574\u3002")})},oe=()=>Je(void 0,null,function*(){var W;Ge(!0);const We=yield(0,Pt.Mb)({categoryId:e.id});Ge(!1),We!=null&&We.exercise_id&&b.history.push(`/classrooms/coursesId/exercise/${We.exercise_id}/${(W=l.userInfo)==null?void 0:W.login}/initate_answer`)}),S=[{label:r.createElement("a",{className:s.actionLink,onClick:()=>{Oe(e.id)}},"\u5171\u4EAB"),key:"1",show:!e.is_random&&!e.is_share&&d==="0"},{label:r.createElement("a",{className:s.actionLink,onClick:()=>{Le(e.id)}},"\u64A4\u9500\u5171\u4EAB"),key:"2",show:!e.is_random&&e.is_share&&d==="0"},{label:r.createElement("a",{className:s.actionLink,onClick:()=>A(e)},"\u516C\u5F00"),key:"3",show:!e.is_random&&!e.public&&!e.apply&&d==="0"},{label:r.createElement("a",{className:s.actionLink,onClick:()=>w(e.id)},"\u64A4\u9500\u516C\u5F00"),key:"4",show:!e.is_random&&e.public&&d==="0"},{label:r.createElement("a",{className:s.actionLink,onClick:j},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:!e.is_random&&!e.public&&e.apply&&d==="0",disabled:!0},{label:r.createElement("a",{className:s.actionLink,onClick:W=>o(W,e)},"\u590D\u5236"),key:"8",show:d==="0"},{label:r.createElement("a",{className:s.actionLink,onClick:()=>{e.is_random?Y(!0):(F(""),q(!0))}},"\u5BFC\u51FA\u8BD5\u5377"),key:"6",show:!0},{label:r.createElement("a",{className:s.actionLink,onClick:()=>qe(e.id)},"\u5220\u9664"),key:"7",show:!e.public||d==="1"&&((Z=e.author)==null?void 0:Z.login)!==((Be=l.userInfo)==null?void 0:Be.login)&&(0,Ue.fn)()}].filter(W=>W.show),Et=r.createElement(c.default,{forceSubMenuRender:!0,className:s.menu,items:S});return r.createElement("div",{className:s.itemWrap},r.createElement("div",{className:s.listWrap},r.createElement("div",{className:`${s.list} ${s.flexCenter}`},r.createElement("div",{className:s.contentWrap},r.createElement(E.Z,{align:"top"},n&&r.createElement(I.default,{className:`${s.checkBoxWrapper} mr10`,checked:T.includes(e.id),onChange:W=>{G(e.id)}}),r.createElement(D.Z,null,r.createElement(E.Z,{align:"middle",className:s.titleWrap},r.createElement("a",{onClick:()=>{if(p){const W=e.is_random?`/randompaper/detail/${e.id}`:`/paperlibrary/see/${e.id}?defaultActiveKey=${d}`;b.history.push(W)}}},r.createElement("p",{className:s.title,title:e.name},e.name)),r.createElement(E.Z,{align:"middle"},(d==="0"||d==="2")&&r.createElement(r.Fragment,null,e.public?r.createElement("div",{className:`${s.typeIcon} ${s.public}`},"\u5DF2\u516C\u5F00"):r.createElement("div",{className:`${s.typeIcon} ${s.private}`},"\u81EA\u7528"),e.is_random&&r.createElement("div",{className:`${s.typeIcon} ${s.random}`},"\u968F\u673A")),(d==="1"&&(0,Ue.ag)()||d==="0")&&e.changed&&r.createElement("i",{className:"iconfont icon-jinggao1 c-red font16 ml10 current",onClick:$}))),r.createElement("div",{className:`${s.flexRow}`},r.createElement("div",{className:s.content},"\u8BD5\u9898\u6570",r.createElement("span",null,e.question_count)),r.createElement("div",{className:s.content},"\u603B\u5206",r.createElement("span",null,e.total_score)),r.createElement("div",{className:s.content},"\u96BE\u5EA6",r.createElement("span",null,St[e.difficulty]))))),r.createElement("div",null,p&&r.createElement("a",{className:`${s.actionBtn}`,onClick:()=>{if(e!=null&&e.need_authorize){(0,nt.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}De(e.id,e)}},"\u53D1\u9001\u81F3\u8BFE\u5802")))),r.createElement("div",{className:s.actionBar},r.createElement("div",{className:s.flexRow},r.createElement("div",{className:s.actionLeftItem},"\u66F4\u65B0",r.createElement("span",null,e.update_time?xt()(e.update_time).format("YYYY-MM-DD"):"")),r.createElement("div",{className:s.actionLeftItem},"\u4F7F\u7528\u6B21\u6570",r.createElement("span",null,e.quotes)),d==="1"&&r.createElement("div",{className:s.actionLeftItem},"\u521B\u5EFA\u8005",r.createElement("span",null,(ze=e.author)==null?void 0:ze.name)),d==="2"&&r.createElement("div",{className:s.actionLeftItem},"\u5206\u4EAB\u4EBA",r.createElement("span",null,(N=e.author)==null?void 0:N.name))),r.createElement("div",{className:s.flexRow},((d==="0"||d==="2")&&!e.public||d==="1"&&((ke=e.author)==null?void 0:ke.login)!==((re=l.userInfo)==null?void 0:re.login)&&(0,Ue.ag)())&&r.createElement(E.Z,{align:"middle",className:s.actionLinkWrapper},r.createElement("div",{className:s.line},r.createElement("b",{className:s.b1}),r.createElement("b",{className:s.b2})),r.createElement("a",{className:`${s.actionLink}`,onClick:()=>Re(e.id,e.is_random)},r.createElement("i",{className:`iconfont icon-bianji10 ${s.actionIcon}`}),"\u7F16\u8F91")),p&&r.createElement(E.Z,{align:"middle",className:s.actionLinkWrapper},r.createElement("div",{className:s.line},r.createElement("b",{className:s.b1}),r.createElement("b",{className:s.b2})),r.createElement(k.Z,{spinning:$e},r.createElement("a",{className:`${s.actionLink}`,type:"primary",onClick:(0,jt.throttle)(oe,3500)},r.createElement("i",{className:`iconfont icon-monikaoshi2 ${s.actionIcon}`}),"\u6A21\u62DF\u8003\u8BD5"))),(d==="0"||d==="2")&&r.createElement(X.Z,{dropdownRender:()=>Et},r.createElement(E.Z,{align:"middle",className:s.actionLinkWrapper},r.createElement("div",{className:s.line},r.createElement("b",{className:s.b1}),r.createElement("b",{className:s.b2})),r.createElement("a",{className:`${s.actionLink}`},r.createElement("i",{className:`iconfont icon-gengduo5 font14 mr5 ${s.actionIcon}`}),"\u66F4\u591A")))))),r.createElement(h.default,{width:450,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u7A7A\u767D\u8BD5\u5377\u683C\u5F0F",open:Ze,onCancel:()=>q(!1),onOk:()=>Je(void 0,null,function*(){if(ie==""){B.ZP.info("\u8BF7\u9009\u62E9\u4E00\u79CD\u5BFC\u51FA\u683C\u5F0F");return}else if(ie=="pdf"){const W=`/paperlibrary/see/${e.id}?defaultActiveKey=${d}&exportPDF=true`;b.history.push({pathname:W,state:{}})}else ie=="word"&&(0,wt.ON)({id:e==null?void 0:e.id,middle_export:1,export_type:0});q(!1)})},r.createElement("div",{className:s.export_type_modal},r.createElement("div",{className:s.export_type_modal_con},r.createElement("div",{className:s.type_item},r.createElement("div",{className:`${s.img_warp} ${ie=="pdf"?s.img_warp_active:""}`,onClick:()=>F("pdf")},r.createElement("img",{src:m(45614),width:70,height:70})),"pdf\u683C\u5F0F"),r.createElement("div",{className:s.type_item},r.createElement("div",{className:`${s.img_warp} ${ie=="word"?s.img_warp_active:""}`,onClick:()=>F("word")},r.createElement("img",{src:m(38347),width:70,height:70})),"word\u683C\u5F0F")))),r.createElement(h.default,{width:450,title:"\u63D0\u793A",open:Ye,okText:"\u53D1\u9001\u81F3\u8BFE\u5802",onCancel:()=>Y(!1),onOk:()=>Je(void 0,null,function*(){if(e!=null&&e.need_authorize){(0,nt.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002");return}De(e.id,e),Y(!1)})},"\u7531\u4E8E\u6539\u8BD5\u5377\u4E3A\u968F\u673A\u7EC4\u5377\uFF0C\u8BF7\u53D1\u9001\u81F3\u8BFE\u5802\u540E\u5728\u8FDB\u884C\u5BFC\u51FA"))};var lt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Rt=(n,e)=>{var l={};for(var p in n)Ot.call(n,p)&&e.indexOf(p)<0&&(l[p]=n[p]);if(n!=null&<)for(var p of lt(n))e.indexOf(p)<0&&Lt.call(n,p)&&(l[p]=n[p]);return l};const zt=n=>{var e=n,{paperlibrary:l,globalSetting:p,loading:d,dispatch:T}=e,G=Rt(e,["paperlibrary","globalSetting","loading","dispatch"]);return t.createElement(h.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:l.actionTabs.key==="Paperlibrary-PublicReview",title:"\u5BA1\u6838\u544A\u77E5",okText:"\u77E5\u9053\u5566",cancelText:"",width:"442px",onOk:()=>{T({type:"paperlibrary/setActionTabs",payload:{}})},onCancel:()=>{T({type:"paperlibrary/setActionTabs",payload:{}})}},t.createElement("div",{className:U.modalContent},"\u516C\u5F00\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u7684\u5BA1\u6838"),t.createElement("div",{className:U.modalContent},"\u6211\u4EEC\u5C06\u57281-2\u4E2A\u5DE5\u4F5C\u65E5\u5185\u5B8C\u6210\u5BA1\u6838"))};var kt=(0,b.connect)(({paperlibrary:n,loading:e,globalSetting:l})=>({paperlibrary:n,globalSetting:l,loading:e.effects}))(zt),rt=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Yt=(n,e)=>{var l={};for(var p in n)Gt.call(n,p)&&e.indexOf(p)<0&&(l[p]=n[p]);if(n!=null&&rt)for(var p of rt(n))e.indexOf(p)<0&&Zt.call(n,p)&&(l[p]=n[p]);return l},Wt=(n,e,l)=>new Promise((p,d)=>{var T=A=>{try{j(l.next(A))}catch(w){d(w)}},G=A=>{try{j(l.throw(A))}catch(w){d(w)}},j=A=>A.done?p(A.value):Promise.resolve(A.value).then(T,G);j((l=l.apply(n,e)).next())});const Ht=n=>{var e=n,{paperlibrary:l,globalSetting:p,loading:d,dispatch:T,onReloadData:G=()=>{}}=e,j=Yt(e,["paperlibrary","globalSetting","loading","dispatch","onReloadData"]);const A=()=>Wt(void 0,null,function*(){const w=yield T({type:"paperlibrary/handleDelete",payload:l.actionTabs.params});T({type:"paperlibrary/setActionTabs",payload:{}}),w.status===0&&G()});return t.createElement(h.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:l.actionTabs.key==="Paperlibrary-Delete",title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:d["paperlibrary/handleDelete"],width:"442px",onOk:A,onCancel:()=>{T({type:"paperlibrary/setActionTabs",payload:{}})}},t.createElement("div",{className:U.modalContent},"\u786E\u8BA4\u5220\u9664\u540E\uFF0C\u65E0\u6CD5\u64A4\u9500"),t.createElement("div",{className:U.modalContent},"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F"))};var Qt=(0,b.connect)(({paperlibrary:n,loading:e,globalSetting:l})=>({paperlibrary:n,globalSetting:l,loading:e.effects}))(Ht),Vt=m(12816),it=m(89424),Ke=m(38905),Te=m(75772),ot=m(66750),Ut=m(42695),ct=m(86570),st=m(18344),u=m(59301),Jt=Object.defineProperty,Kt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,dt=(n,e,l)=>e in n?Jt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[e]=l,pt=(n,e)=>{for(var l in e||(e={}))qt.call(e,l)&&dt(n,l,e[l]);if(mt)for(var l of mt(e))$t.call(e,l)&&dt(n,l,e[l]);return n},eu=(n,e)=>Kt(n,Xt(e)),R=(n,e,l)=>new Promise((p,d)=>{var T=A=>{try{j(l.next(A))}catch(w){d(w)}},G=A=>{try{j(l.throw(A))}catch(w){d(w)}},j=A=>A.done?p(A.value):Promise.resolve(A.value).then(T,G);j((l=l.apply(n,e)).next())});const Xe=z.default.TabPane,tu=i.default.Search,uu=({paperlibrary:n,user:e,globalSetting:l,loading:p,dispatch:d,location:T})=>{var G,j,A,w,Oe,Le,Re;const[qe]=(0,b.useSearchParams)(),De=qe.get("defaultActiveKey")||"0",[o,Z]=(0,t.useState)({discipline_id:null,sub_discipline_id:null,tag_discipline_id:null,public:De,difficulty:null,keyword:null,page:1,per_page:10,group_id:null,is_random:null,sort_by:"updated_at",sort_direction:"desc"}),[Be,ze]=(0,t.useState)(0),[N,ke]=(0,t.useState)([]),[re,$e]=(0,t.useState)(),[Ge,Ze]=(0,t.useState)(!1),[q,Ye]=(0,t.useState)(0),[Y,ie]=(0,t.useState)(De),[F,$]=(0,t.useState)([]),oe=(0,t.useRef)(!1),S=(0,t.useRef)(),[Et,W]=(0,t.useState)("\u6309\u66F4\u65B0\u65F6\u95F4\u964D\u5E8F"),[We,nu]=(0,t.useState)("\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F"),[pe,gt]=(0,t.useState)(1),[Ee,ft]=(0,t.useState)(1),[V]=O.default.useForm(),[vt,yt]=(0,t.useState)(1),[lu,ru]=(0,t.useState)([]),[iu,et]=(0,t.useState)(!1),[ae,tt]=(0,t.useState)(null),[At,Ft]=(0,t.useState)(!1),Ct=[{name:"\u6309\u66F4\u65B0\u65F6\u95F4\u5347\u5E8F",type:"updated_at",direction:"asc"},{name:"\u6309\u66F4\u65B0\u65F6\u95F4\u964D\u5E8F",type:"updated_at",direction:"desc"}],ht=[{name:"\u6309\u4F7F\u7528\u6B21\u6570\u5347\u5E8F",type:"quotes",direction:"asc"},{name:"\u6309\u4F7F\u7528\u6B21\u6570\u964D\u5E8F",type:"quotes",direction:"desc"}];(0,t.useEffect)(()=>(document.body.setAttribute("data-custom","initial"),document.body.style.background="#FFF",()=>{document.body.removeAttribute("data-custom"),document.body.style.background=""}),[]),(0,t.useEffect)(()=>{Dt(Y),H(o),ou()},[]),(0,t.useEffect)(()=>(d({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),d({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),()=>{d({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),d({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),(0,t.useEffect)(()=>{(0,it.Dk)("\u8BD5\u5377\u5E93"),d({type:"globalSetting/headerFooterToggle",payload:!0})},[]);const Dt=a=>{d({type:"paperlibrary/getCustomDisciplines",payload:{clazz:a==="0"?"my":a==="1"?"public":"teacher"}})},ou=()=>R(void 0,null,function*(){d({type:"paperlibrary/getTeachGroupData"})}),H=a=>R(void 0,null,function*(){const f=pt({},a);f.keyword=encodeURIComponent(a.keyword||"");const C=yield d({type:"paperlibrary/getPaperlibraryList",payload:f});C&&C.status!==403&&C.status!==401&&C.status!==500&&(ze(C.exam_count||0),ke(C.exams||[]),$e(C.auth_role),$([]))}),ce=()=>{o.per_page=10,Z(o),H(o)},cu=(a,f)=>{o.discipline_id=a||"",o.sub_discipline_id=f||"",o.page=1,o.per_page=10,Z(o),H(o)},su=a=>{o.item_type=a||"",o.page=1,o.per_page=10,Z(o),H(o)},mu=a=>{o.difficulty=a||"",o.page=1,o.per_page=10,Z(o),H(o)},du=a=>{o.is_random=a,o.page=1,o.per_page=10,Z(o),H(o)},Bt=a=>{console.log("\u65F6\u95F4\u7684item",a),o.sort_by=a.type,o.sort_direction=a.direction,o.page=1,o.per_page=10,W(a.name),Z(o),H(o)},bt=a=>{console.log("\u6B21\u6570\u7684item",a),o.sort_by=a.type,o.sort_direction=a.direction,o.page=1,o.per_page=10,nu(a.name),Z(o),H(o)},pu=a=>{o.public=a,o.group_id=null,o.page=1,o.per_page=10,o.discipline_id=null,o.sub_discipline_id=null,o.tag_discipline_id=null,o.difficulty=null,o.is_random=null,Dt(a),ie(a),Z(o),H(o)},Eu=a=>{o.page=a,o.per_page=10,Z(o),H(o)},Nt=a=>{o.page=1,o.keyword=a,a&&(0,Ut.tk)({name:a,copywriting:a,position:"Exercise"}),H(o)},_t=()=>{if(!re){d({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-Auth",params:{occupation:2}}});return}b.history.push("/paperlibrary/add")},Ru=()=>{if(localStorage.no_alert_randompaper==="1"){b.history.push("/randompaper");return}d({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-RandomPrompt"}})},gu=a=>{oe.current=!1,window.localStorage.getItem("paperlibrary-cancel-public-hint-flag")==="1"?Mt(a):h.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u64A4\u9500\u516C\u5F00\u544A\u77E5",className:g.modal,content:u.createElement("div",{className:"font16"},"\u672C\u8BD5\u5377\u5DF2\u516C\u5F00\uFF0C\u64A4\u9500\u516C\u5F00\u540E\u5C06\u5BF9\u5176\u4ED6\u7528\u6237\u4E0D\u53EF\u89C1\u3002 \u786E\u8BA4\u64A4\u9500\u516C\u5F00\u56DE\u5230\u81EA\u6709\u72B6\u6001\u5417\uFF1F",u.createElement("div",null,u.createElement(I.default,{className:"mt10",defaultChecked:!1,onChange:f=>oe.current=f.target.checked},"\u4E0D\u518D\u63D0\u793A"))),onOk:()=>{oe.current&&window.localStorage.setItem("paperlibrary-cancel-public-hint-flag","1"),Mt(a)}})},Mt=a=>R(void 0,null,function*(){const f=yield(0,Ke.Pl)({id:a});(f==null?void 0:f.status)===0&&ce()}),fu=()=>{d({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-PublicReview"}})},vu=(a,f)=>{if(!re){d({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-Auth",params:{occupation:2}}});return}const C=f?`/randompaper/edit/${a}?type=settings`:`/paperlibrary/add/${a}?defaultActiveKey=${Y}&type=2`;(0,it.xg)(C)},yu=a=>{if(!re){d({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-Auth",params:{occupation:2}}});return}d({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-Delete",params:{id:a}}})},Au=(a,f)=>{d({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{id:a,data:f}}})},Fu=a=>{$(F!=null&&F.includes(a)?F.filter(f=>f!==a):[...F,a])},Cu=a=>{$(a?N==null?void 0:N.map(f=>f.id):[])},hu=()=>{if(!(F!=null&&F.length))return B.ZP.info("\u8BF7\u5148\u9009\u62E9\u8BD5\u5377");h.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u6279\u91CF\u5220\u9664",maskClosable:!0,icon:null,content:"\u786E\u5B9A\u5220\u9664\u9009\u4E2D\u7684\u8BD5\u5377\u5417",onOk:()=>new Promise((a,f)=>R(void 0,null,function*(){const C=yield(0,ot.ZP)("/api/examination_banks/batch_delete.json",{method:"delete",body:{ids:F}});(C==null?void 0:C.status)===0&&(ce(),$([]),a())}))})},Du=()=>{var a,f,C,y,_;if(!(F!=null&&F.length))return B.ZP.info("\u8BF7\u5148\u9009\u62E9\u8BD5\u5377");if((a=N==null?void 0:N.filter(M=>F.includes(M.id)))!=null&&a.find(M=>M.is_random))return B.ZP.info("\u968F\u673A\u8BD5\u5377\u4E0D\u53EF\u516C\u5F00\u6216\u5171\u4EAB\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");if(!((C=(f=n.teachGroupData)==null?void 0:f.groups)!=null&&C.length))return B.ZP.info("\u60A8\u6682\u672A\u521B\u5EFA\u6216\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u524D\u5F80\u201C\u8D26\u53F7\u7BA1\u7406-\u6559\u7814\u56E2\u961F\u201D\u67E5\u770B");h.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u5171\u4EAB\u81F3\u6559\u7814\u56E2\u961F",maskClosable:!0,icon:null,content:u.createElement("div",{className:`font14 ${g.overflow}`},u.createElement(I.default.Group,{className:g.checkbox,defaultValue:S.current,onChange:M=>S.current=M},(_=(y=n.teachGroupData)==null?void 0:y.groups)==null?void 0:_.map(M=>u.createElement(I.default,{key:M.group_id,value:M.group_id},M.name)))),onOk:()=>new Promise((M,be)=>R(void 0,null,function*(){var ne;if(!((ne=S.current)!=null&&ne.length))return B.ZP.info("\u8BF7\u5148\u9009\u62E9\u6559\u7814\u56E2\u961F"),be();const ee=yield(0,Te.GW)({ids:F,clazz:"ExaminationBank",group_ids:S.current});(ee==null?void 0:ee.status)===0&&(B.ZP.info("\u6240\u9009\u8BD5\u5377\u6210\u529F\u5206\u4EAB\u81F3\u6559\u7814\u56E2\u961F"),S.current=[],ce(),$([]),M())}))})},Bu=a=>R(void 0,null,function*(){var f,C,y,_;if(!((C=(f=n.teachGroupData)==null?void 0:f.groups)!=null&&C.length))return B.ZP.info("\u60A8\u6682\u672A\u521B\u5EFA\u6216\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u524D\u5F80\u201C\u8D26\u53F7\u7BA1\u7406-\u6559\u7814\u56E2\u961F\u201D\u67E5\u770B");h.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u5171\u4EAB\u81F3\u6559\u7814\u56E2\u961F",maskClosable:!0,icon:null,content:u.createElement("div",{className:`font14 ${g.overflow}`},u.createElement(I.default.Group,{className:g.checkbox,defaultValue:S.current,onChange:M=>S.current=M},(_=(y=n.teachGroupData)==null?void 0:y.groups)==null?void 0:_.map(M=>u.createElement(I.default,{key:M.group_id,value:M.group_id},M.name)))),onOk:()=>new Promise((M,be)=>R(void 0,null,function*(){var ne;if(!((ne=S.current)!=null&&ne.length))return B.ZP.info("\u8BF7\u5148\u9009\u62E9\u6559\u7814\u56E2\u961F"),be();const ee=yield(0,Te.GW)({ids:a,clazz:"ExaminationBank",group_ids:S.current});(ee==null?void 0:ee.status)===0&&(B.ZP.info("\u6240\u9009\u8BD5\u5377\u6210\u529F\u5206\u4EAB\u81F3\u6559\u7814\u56E2\u961F"),S.current=[],ce(),$([]),M())}))})}),bu=()=>{var a,f,C;if(!(F!=null&&F.length))return B.ZP.info("\u8BF7\u5148\u9009\u62E9\u8BD5\u5377");if((a=N==null?void 0:N.filter(y=>F.includes(y.id)))!=null&&a.find(y=>y.is_random))return B.ZP.info("\u968F\u673A\u8BD5\u5377\u4E0D\u53EF\u516C\u5F00\u6216\u5171\u4EAB\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");if((f=N==null?void 0:N.filter(y=>F.includes(y.id)))!=null&&f.every(y=>y.public))return B.ZP.info("\u6240\u9009\u8BD5\u5377\u5DF2\u516C\u5F00\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");if(window.localStorage.getItem("paperlibrary-set-public-hint-flag")==="1")ut();else{if((C=N==null?void 0:N.filter(y=>F.includes(y.id)))!=null&&C.find(y=>!(y!=null&&y.sub_discipline_id)))return B.ZP.info("\u90E8\u5206\u8BD5\u5377\u6682\u672A\u8BBE\u7F6E\u65B9\u5411\u8BFE\u7A0B\u4FE1\u606F\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u65B9\u5411\u8BFE\u7A0B\u518D\u8FDB\u884C\u516C\u5F00");Ft(!0),It()}},Nu=a=>R(void 0,null,function*(){var f;if((f=N==null?void 0:N.filter(C=>C.id===(a==null?void 0:a.id)))!=null&&f.every(C=>C.public))return B.ZP.info("\u6240\u9009\u8BD5\u5377\u5DF2\u516C\u5F00\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");window.localStorage.getItem("paperlibrary-set-public-hint-flag")==="1"?ut():(Ft(!1),It(a))}),It=a=>{et(!0),yt(1),V.setFieldValue("type",1),_u(a),tt(a)},_u=a=>R(void 0,null,function*(){const f=yield(0,ot.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});ru(f.disciplines||[]),a!=null&&a.sub_discipline_id&&V.setFieldValue("sub_discipline_id",[a==null?void 0:a.discipline_id,a==null?void 0:a.sub_discipline_id])}),ut=()=>R(void 0,null,function*(){var a;const f=Y==="2"?1:2,C=N?N.filter(_=>F.includes(_.id)&&!(_.public||_.apply)).map(_=>_.id):[];let y=null;if(At)y=yield(0,Ke.Qp)({ids:C,source:f});else{let _=V.getFieldsValue();y=yield(0,Ke.wX)({id:ae==null?void 0:ae.id,source:f,user_customize:(_==null?void 0:_.type)==2,sub_discipline_id:(a=_==null?void 0:_.sub_discipline_id)==null?void 0:a[1],discipline_name:_==null?void 0:_.discipline_name,sub_discipline_name:_==null?void 0:_.sub_discipline_name})}y.status===0&&(oe.current&&window.localStorage.setItem("paperlibrary-set-public-hint-flag","1"),oe.current=!1,ce(),B.ZP.success("\u7533\u8BF7\u6210\u529F"),V.resetFields(),tt(null),et(!1))}),Mu=a=>R(void 0,null,function*(){const f=yield(0,Te.hg)({clazz:"ExaminationBank",id:a}),C=(f==null?void 0:f.groups)||[];S.current=[],h.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A\u64A4\u9500",cancelText:"\u53D6\u6D88",title:"\u672C\u9898\u5DF2\u5171\u4EAB\u7684\u6559\u7814\u56E2\u961F",maskClosable:!0,icon:null,content:u.createElement("div",{className:`font14 ${g.overflow}`},u.createElement("p",{className:"c-grey-999"},"\u9009\u4E2D\u5E76\u786E\u5B9A\uFF0C\u5373\u64A4\u9500\u672C\u9898\u5BF9\u9009\u4E2D\u6559\u7814\u56E2\u961F\u7684\u5206\u4EAB"),u.createElement(I.default.Group,{className:g.checkbox,defaultValue:S.current,onChange:y=>S.current=y},C==null?void 0:C.map(y=>u.createElement(I.default,{key:y.group_id,value:y.group_id},y.name)))),onOk:()=>R(void 0,null,function*(){return new Promise((y,_)=>R(void 0,null,function*(){var M;if(!S.current.length)return B.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64A4\u9500\u5171\u4EAB\u7684\u6559\u7814\u56E2\u961F"),_();const be=(M=C==null?void 0:C.map(ee=>ee.group_id))==null?void 0:M.filter(ee=>!S.current.includes(ee)),ne=yield(0,Te.GW)({ids:[a],clazz:"ExaminationBank",group_ids:be});return S.current=[],(ne==null?void 0:ne.status)===0&&(B.ZP.info("\u64A4\u9500\u5171\u4EAB\u6210\u529F"),ce()),y()}))})})}),Iu=a=>{o.page=1,o.group_id=a,Z(o),H(o)},xu=(a,...f)=>R(void 0,[a,...f],function*(C,y={}){console.log("\u590D\u5236",y),(yield d({type:"paperlibrary/postPaperlibraryCopy",payload:{id:y==null?void 0:y.id}})).status==0&&(B.ZP.success("\u590D\u5236\u6210\u529F"),H(eu(pt({},o),{page:1})))}),Pu=a=>R(void 0,null,function*(){if(!(F!=null&&F.length)){B.ZP.warning("\u8BF7\u5148\u9009\u62E9\u8BD5\u5377");return}if((F==null?void 0:F.length)>10){B.ZP.warning("\u5355\u6B21\u6279\u91CF\u53D1\u9001\u7684\u8BD5\u5377\u6570\u91CF\u4E0D\u80FD>10\u4EFD");return}(yield d({type:"paperlibrary/postCheckExaminationBanks",payload:{examination_bank_ids:F}})).status==0&&d({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{examination_bank_ids:F,data:{is_random:!1},isBatch:!0}}})}),{admin:ju,business:wu,is_shixun_marker:Su,is_teacher:Tu,user_identity:Ou}=e.userInfo||{},Lu=ju||wu||Su||Tu||Ou!=="\u5B66\u751F";return u.createElement(t.Fragment,null,u.createElement("section",{className:g.page},u.createElement("div",{className:g.title},"\u8BD5\u5377\u5E93"),u.createElement("div",{className:g.wrap},u.createElement("div",{className:g.tabsWrap},u.createElement(z.default,{tabBarExtraContent:u.createElement("div",null,u.createElement("div",{className:g.searchWrp},Lu&&u.createElement(D.Z,{style:{marginLeft:"auto"}},u.createElement(v.ZP,{className:`mr20 ${g.actionBtn}`,onClick:_t},u.createElement("img",{src:je,alt:""}),"\u4EBA\u5DE5\u7EC4\u5377"),u.createElement(v.ZP,{className:`${g.actionBtn}`,onClick:()=>b.history.push("/randompaper")},u.createElement("img",{src:Pe,alt:""}),"\u968F\u673A\u7EC4\u5377")),u.createElement(tu,{allowClear:!0,suffix:u.createElement("i",{className:`iconfont icon-sousuo9 font14 ${g.searchIcon}`,onClick:()=>Nt(o.keyword)}),placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u641C\u7D22",size:"middle",onChange:a=>{o.keyword=a.target.value,Z(o)},className:g.searchInput,onSearch:Nt}))),activeKey:Y,onChange:pu},u.createElement(Xe,{tab:"\u516C\u5171",key:"1"}),((j=(G=n.teachGroupData)==null?void 0:G.groups)==null?void 0:j.length)&&u.createElement(Xe,{tab:"\u56E2\u961F\u5171\u4EAB",key:"2"}),u.createElement(Xe,{tab:"\u6211\u521B\u5EFA\u7684",key:"0"}))),u.createElement("div",{className:g.filterWrap},u.createElement(fe.S,{className:g.languageSelect,randomValue:o.is_random,showRandomType:Y==="0",onRandomChange:du,disciplinesData:(A=n.disciplinesData)==null?void 0:A.disciplines,subDisciplineValue:o.sub_discipline_id,directionValue:o.discipline_id,typeValue:o.item_type,difficultyValue:o.difficulty,showItemType:!1,onDirectionChange:cu,onTypeChange:su,onDifficultyChange:mu,teachGroupData:(w=n==null?void 0:n.teachGroupData)==null?void 0:w.groups,onTeachGroupChange:Iu,teachGroupValue:o.group_id,showTeachGroup:Y==="2"})),u.createElement(E.Z,{align:"middle",className:g.batchWrap},u.createElement(D.Z,{className:"font14 c-light-primary"},u.createElement("span",{style:{color:"#464F66",cursor:"pointer"},onClick:()=>{gt(pe+1),pe>0&&pe%2===0?Bt(Ct[1]):Bt(Ct[0]),ft(1)}},pe===1?u.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}):u.createElement("img",{src:pe>0&&pe%2===0?ct.Z:st.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F")),u.createElement(D.Z,{className:"font14 c-light-primary",style:{marginLeft:"20px"}},u.createElement("span",{style:{color:"#464F66",cursor:"pointer"},onClick:()=>{ft(Ee+1),Ee>0&&Ee%2===0?bt(ht[1]):bt(ht[0]),gt(1)}},Ee===1?u.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}):u.createElement("img",{src:Ee>0&&Ee%2===0?ct.Z:st.Z,style:{width:"16px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F"))),u.createElement("div",{className:g.contentWrap},N.length?u.createElement(k.Z,{size:"middle",spinning:p["paperlibrary/getPaperlibraryList"]||!!p["paperlibrary/postPaperlibraryCopy"]},N.map((a,f)=>u.createElement(Tt,{showCheckbox:Y==="0",key:a.id,data:a,user:e,authRole:re,activeTabsKey:Y,selectIds:F,onSetSelectIds:Fu,onSetPublic:Nu,onCancelPublic:gu,onShare:Bu,onCancelShare:Mu,onPublicReview:fu,onEdit:vu,onDelete:yu,onSendToClass:Au,onCopy:xu}))):u.createElement(k.Z,{size:"middle",spinning:p["paperlibrary/getPaperlibraryList"]},u.createElement(L.Z,null))),Be!==0&&u.createElement(te.Z,{showSizeChanger:!1,showQuickJumper:!0,onChange:Eu,pageSize:o==null?void 0:o.per_page,defaultCurrent:1,current:o.page||1,total:Be,showTotal:a=>u.createElement("span",{className:"mr10"},"\u5171",u.createElement("span",{className:"c-orange"},a),"\u6761\u6570\u636E")})),u.createElement(we.Z,{visible:((Oe=n.actionTabs)==null?void 0:Oe.key)==="Paperlibrary-Auth",occupationValue:(Re=(Le=n.actionTabs)==null?void 0:Le.params)==null?void 0:Re.occupation,onCancel:()=>{d({type:"paperlibrary/setActionTabs",payload:{}})}}),u.createElement(Se,null),u.createElement(kt,null),u.createElement(Qt,{onReloadData:ce}),u.createElement(Vt.Z,null),u.createElement(h.default,{centered:!0,closable:!1,width:472,footer:null,open:Ge},u.createElement("section",{className:g.modal},u.createElement("div",{className:g.title},u.createElement("span",null," \u9009\u62E9\u7EC4\u5377\u65B9\u5F0F"),u.createElement("i",{onClick:()=>Ze(!1),className:"icon-guanbi1 current"})),u.createElement("div",{className:g.list},u.createElement("div",{onClick:()=>Ye(0),style:{color:q?"#999999":"#4AA37E"}},u.createElement("img",{src:q?_e:xe}),"\u4EBA\u5DE5\u7EC4\u5377"),u.createElement("aside",null,"\uFF08\u624B\u52A8\u7F16\u8F91\u521B\u5EFA\u65B0\u8BD5\u5377\uFF09")),u.createElement("div",{className:g.list},u.createElement("div",{onClick:()=>Ye(1),style:{color:q?"#4AA37E":"#999999"}},u.createElement("img",{src:q?xe:_e}),"\u968F\u673A\u7EC4\u5377"),u.createElement("aside",null,"\uFF08\u7CFB\u7EDF\u4ECE\u5DF2\u6709\u9898\u5E93\u4E2D\u968F\u673A\u9009\u9898\u7EC4\u5377\uFF09")),u.createElement("div",{className:g.btns},u.createElement("div",{onClick:()=>Ze(!1),className:g.cancel},"\u53D6\u6D88"),u.createElement("div",{onClick:()=>{q===0?_t():b.history.push("/randompaper")},className:g.confirm},"\u786E\u8BA4")))),u.createElement(h.default,{width:640,className:g.applyPublicContainer,centered:!0,closable:!1,title:"\u516C\u5F00\u89C4\u5219\u544A\u77E5",open:iu,onCancel:()=>{et(!1),V.resetFields(),tt(null)},onOk:()=>{V.validateFields().then(a=>R(void 0,null,function*(){ut()}))}},u.createElement("div",{className:g.applyPublicContent},u.createElement("div",{className:g.tips},"1.\u516C\u5F00\u7684\u8BD5\u5377\u9700\u8981\u8BBE\u7F6E\u65B9\u5411&\u8BFE\u7A0B\u4FE1\u606F\u3002",u.createElement("br",null),"2.\u516C\u5F00\u8BD5\u5377\u7533\u8BF7\u7ECF\u5E73\u53F0\u5BA1\u6838\u540E\uFF0C\u8BE5\u8BD5\u5377\u5C06\u5728\u516C\u5171\u8BD5\u5377\u5E93\u53EF\u89C1\uFF0CEducoder\u7684\u6240\u6709\u7528\u6237\u5747\u53EF\u4F7F\u7528\u8BE5\u8BD5\u5377\uFF0C\u4E14\u8BE5\u8BD5\u5377\u4E0B\u7684\u6240\u6709\u8BD5\u9898\u4E00\u5E76\u516C\u5F00\u3002",u.createElement("br",null),"3.\u516C\u5F00\u540E\u7684\u8BD5\u5377\u4E0D\u652F\u6301\u8FDB\u884C\u7F16\u8F91\uFF0C\u53EF\u4EE5\u64A4\u9500\u540E\u518D\u8FDB\u884C\u7F16\u8F91\u3002",u.createElement("br",null)),!At&&u.createElement(O.default,{labelAlign:"left",form:V},u.createElement(O.default.Item,{name:"type"},u.createElement(P.ZP.Group,{onChange:a=>{if(yt(a.target.value),a.target.value==1)V.setFieldsValue({discipline_name:"",sub_discipline_name:""});else{if(ae!=null&&ae.sub_discipline_id){V.setFieldValue("sub_discipline_id",[ae==null?void 0:ae.discipline_id,ae==null?void 0:ae.sub_discipline_id]);return}V.setFieldsValue({sub_discipline_id:[]})}}},u.createElement(P.ZP,{value:1},"\u5FEB\u901F\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"),u.createElement(P.ZP,{value:2,style:{marginLeft:40}},"\u81EA\u5B9A\u4E49\u65B9\u5411&\u8BFE\u7A0B"))),vt==1&&u.createElement(O.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",rules:[{required:!0}]},u.createElement(x.Z,{expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:lu,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(a,f)=>V.setFieldsValue({sub_discipline_id:a})})),vt==2&&u.createElement(u.Fragment,null,u.createElement(O.default.Item,{label:"\u65B9\u5411",name:"discipline_name",rules:[{required:!0}]},u.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u65B9\u5411",autoComplete:"off"})),u.createElement(O.default.Item,{label:"\u8BFE\u7A0B",name:"sub_discipline_name",rules:[{required:!0}]},u.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u8BFE\u7A0B",autoComplete:"off"}))))))),Y==="0"&&!!(F!=null&&F.length)&&u.createElement("div",{className:g.batch},u.createElement("aside",null,u.createElement("div",{style:{flexShrink:0,marginRight:20}},u.createElement(I.default,{className:"font14",checked:N!=null&&N.length?F.length===(N==null?void 0:N.length):!1,onChange:a=>Cu(a.target.checked)},"\u672C\u9875\u5168\u9009",u.createElement("span",{style:{color:"#999",fontSize:12}},"/\u5DF2\u9009(",F==null?void 0:F.length,")"))),u.createElement("div",{className:g.btns},u.createElement("div",{className:g.btn,onClick:Du}," ",u.createElement("i",{className:"iconfont icon-pilianggongxiang"}),"\u6279\u91CF\u5171\u4EAB"),u.createElement("div",{className:g.btn,onClick:bu}," ",u.createElement("i",{className:"iconfont icon-pilianggongkai"}),"\u6279\u91CF\u516C\u5F00"),u.createElement("div",{className:g.btn,onClick:hu}," ",u.createElement("i",{className:"iconfont icon-piliangshanchu3 c-red"}),"\u6279\u91CF\u5220\u9664"),u.createElement("div",{className:g.btn,onClick:Pu}," ",u.createElement("i",{className:"iconfont icon-fasong"}),"\u53D1\u9001\u81F3\u8BFE\u5802"),u.createElement("div",{onClick:()=>$([]),style:{marginLeft:"auto"},className:g.btn}," ",u.createElement("i",{className:"iconfont icon-piliangcaozuoicon2"}),"\u53D6\u6D88\u64CD\u4F5C")))))};var au=(0,b.connect)(({paperlibrary:n,user:e,loading:l,globalSetting:p})=>({paperlibrary:n,user:e,globalSetting:p,loading:l.effects}))(uu)}}]);
|