filesbox/web/dist/26410.2eab01d0.async.js
2024-07-26 14:10:54 +08:00

2 lines
66 KiB
JavaScript

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[26410],{76734:function(I){I.exports={newColorPicker:"newColorPicker___2va38"}},48779:function(I){I.exports={root:"root___3DHx8",colorWeak:"colorWeak___3MOdi","ant-layout":"ant-layout___1jdxF",globalSpin:"globalSpin___3h5v3","ant-table":"ant-table___1cxIZ","ant-table-thead":"ant-table-thead___1-RMN","ant-table-tbody":"ant-table-tbody___3O3Vd",formBox:"formBox___jDBo9",schoolName:"schoolName___38ypF",PageBox:"PageBox___1RxAc",pageModel:"pageModel___RF76x",pageModelBody:"pageModelBody___2tkaB",menuLiTitle:"menuLiTitle___2c2e-",pageul:"pageul___2nq4A",right:"right___1T_4U",tab:"tab___2MoNn",layerBox:"layerBox___1bYtG",setRow:"setRow___3NKPM",uploadBox:"uploadBox___3uG36",quoteBox:"quoteBox___2D48S",bottomPanel:"bottomPanel___31bfS"}},26825:function(I){I.exports={root:"root___1-Y6o",colorWeak:"colorWeak___1dYJ4","ant-layout":"ant-layout___391aS",globalSpin:"globalSpin___u6L7Y","ant-table":"ant-table___24Yx7","ant-table-thead":"ant-table-thead___NB-yv","ant-table-tbody":"ant-table-tbody___bSbK5",formBox:"formBox___3ereU",schoolName:"schoolName___3ueLu",PageBox:"PageBox___1oyZA",pageModel:"pageModel___2Q18k",pageModelBody:"pageModelBody___1pU0x",menuLiTitle:"menuLiTitle___222Z0",pageul:"pageul___2aNKH",right:"right___1mcN6",tab:"tab___qMsR-",layerBox:"layerBox___YjSpY",setRow:"setRow___3J9H4",uploadBox:"uploadBox___3eLGP",quoteBox:"quoteBox___3cfIV",bottomPanel:"bottomPanel___SnbGe"}},5030:function(I){I.exports={root:"root___jc1_t",colorWeak:"colorWeak___RtYsu","ant-layout":"ant-layout___2i48t",globalSpin:"globalSpin___3oK1A","ant-table":"ant-table___3tl5m","ant-table-thead":"ant-table-thead___3Z7ov","ant-table-tbody":"ant-table-tbody___qLkAw",formBox:"formBox___12294",schoolName:"schoolName___2IjgY",PageBox:"PageBox___1OM9E",pageModel:"pageModel___1m3W5",pageModelBody:"pageModelBody___27jR8",menuLiTitle:"menuLiTitle___2Ij6O",pageul:"pageul___rGiq2",right:"right___3iASM",tab:"tab___1qtYl",layerBox:"layerBox___3gkM1",setRow:"setRow___LdAE9",uploadBox:"uploadBox___3VYyU",quoteBox:"quoteBox___3otNs",globalConfigBox:"globalConfigBox___11rX9",bottomPanel:"bottomPanel___2_zWv"}},35660:function(I){I.exports={root:"root___2iyz4",colorWeak:"colorWeak___VvNix","ant-layout":"ant-layout___j2mVg",globalSpin:"globalSpin___ik78G","ant-table":"ant-table___2zn49","ant-table-thead":"ant-table-thead___3EZSW","ant-table-tbody":"ant-table-tbody___7bovF",formBox:"formBox___3cElx",schoolName:"schoolName___3yLji",PageBox:"PageBox___1zM6-",pageModel:"pageModel___3qsVm",pageModelBody:"pageModelBody___3Gubq",menuLiTitle:"menuLiTitle___1Z9gG",pageul:"pageul___2Fo4D",right:"right___2ru_Z",tab:"tab___1D_7q",layerBox:"layerBox___24bDY",setRow:"setRow___33u4W",uploadBox:"uploadBox___ZEXtI",quoteBox:"quoteBox___1RXNz",bottomPanel:"bottomPanel___nCtlD"}},27251:function(I){I.exports={root:"root___14xrI",colorWeak:"colorWeak___37Dh6","ant-layout":"ant-layout___1K_hK",globalSpin:"globalSpin___3eO05","ant-table":"ant-table___3lsck","ant-table-thead":"ant-table-thead___3ITcP","ant-table-tbody":"ant-table-tbody___2DD6G",formBox:"formBox___1lSJJ",schoolName:"schoolName___1GIHZ",PageBox:"PageBox___Kaq4H",pageModel:"pageModel___3lqYm",pageModelBody:"pageModelBody___2AUkS",menuLiTitle:"menuLiTitle___ZeCmm",pageul:"pageul___26fkm",right:"right___2YCmp",tab:"tab___3r9Vf",layerBox:"layerBox___2lMee",setRow:"setRow___1HX6z",uploadBox:"uploadBox___2gVwl",quoteBox:"quoteBox___2UR4t",bottomPanel:"bottomPanel___2c5FR"}},18003:function(I){I.exports={root:"root___2BJCq",colorWeak:"colorWeak___SZw5F","ant-layout":"ant-layout___2fABB",globalSpin:"globalSpin___1AThB","ant-table":"ant-table___1-_g7","ant-table-thead":"ant-table-thead___3p-k7","ant-table-tbody":"ant-table-tbody___1-6sq",formBox:"formBox___3HBhK",schoolName:"schoolName___34aNP",menuIconBox:"menuIconBox___1XYqk",bottomBtn:"bottomBtn___1stNG",PageBox:"PageBox___NNWcX",pageModel:"pageModel___2_LrY",pageModelBody:"pageModelBody___2wPSX",menuLiTitle:"menuLiTitle___3Bvzu",pageul:"pageul___2EpC4",right:"right___1lmSf",tab:"tab___3yAsA",layerBox:"layerBox___3E2v7",setRow:"setRow___xX0Pb",uploadBox:"uploadBox___1_tPK",quoteBox:"quoteBox___3bqfI",bottomPanel:"bottomPanel___2qoq4"}},96328:function(I,Ae,o){"use strict";var Ue=o(67294),Me=o(79941),Oe=o(53390),ye=o(76734),Ke=o.n(ye),N=o(85893);function Le(H){var K=H.offsetTop;return H.offsetParent!=null&&(K+=Le(H.offsetParent)),K}function De(H){var K=H.offsetLeft;return H.offsetParent!=null&&(K+=De(H.offsetParent)),K}class Qe extends Ue.Component{constructor(){super(...arguments);this.state={displayColorPicker:!1,pageX:0,pageY:0},this.handleClick=K=>{var G=this.props.cssData,ne=G===void 0?{devX:0,devY:0}:G,ae=ne.devX,ue=ne.devY;this.first=!0;var z=root.clientWidth,de=root.clientHeight,Z=$(K.target),te=Z.offset().left+ae,U=Z.offset().top+Z.outerHeight()+5+ue;te+220>z&&(te=z-220),U+333>de&&(U=de-333),this.setState({displayColorPicker:!this.state.displayColorPicker,pageX:te,pageY:U})},this.handleClear=()=>{var K=this.props.onChange,G=K===void 0?ne=>{}:K;this.setState({displayColorPicker:!1,scrollTop:0}),G("transparent")},this.handleClose=()=>{this.setState({displayColorPicker:!1,scrollTop:0})}}render(){var K=this.props,G=K.className,ne=G===void 0?"colorPicker":G,ae=K.onChange,ue=ae===void 0?L=>{}:ae,z=K.value,de=z===void 0?"#000000":z,Z=K.style,te=this.state,U=te.pageX,Ve=te.pageY,q=L=>{L.rgb.a<1&&!(this.first&&L.rgb.a==0)?ue("rgba(".concat(L.rgb.r,", ").concat(L.rgb.g,", ").concat(L.rgb.b,", ").concat(L.rgb.a,")")):ue(L.hex),this.first=!1},T=(0,Me.ZP)({default:{color:{height:"100%",borderRadius:"2px",background:de},colorBox:{height:"100%",borderRadius:"2px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",background:'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==")'},swatch:{width:"100%",height:"100%",padding:"2px",background:"#fff",borderRadius:"1px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"inline-block",cursor:"pointer"},popover:{position:"fixed",zIndex:"101",background:"#ccc",top:Ve,left:U},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"},clearBtn:{position:"absolute",bottom:"10px",height:"18px",lineHeight:"18px",right:"8px",zIndex:1,fontSize:"12px",cursor:"pointer"}}});return(0,N.jsxs)("div",{style:Z,className:ne+" "+Ke().newColorPicker,children:[(0,N.jsx)("div",{style:T.swatch,onClick:this.handleClick,children:(0,N.jsx)("div",{style:T.colorBox,children:(0,N.jsx)("div",{style:T.color})})}),this.state.displayColorPicker?(0,N.jsxs)("div",{style:T.popover,children:[(0,N.jsx)("div",{style:T.clearBtn,onClick:this.handleClear,children:"\u6E05\u7A7A"}),(0,N.jsx)("div",{style:T.cover,onClick:this.handleClose}),(0,N.jsx)(Oe.xS,{color:de,onChange:q})]}):null]})}}Ae.Z=Qe},26410:function(I,Ae,o){"use strict";o.r(Ae),o.d(Ae,{default:function(){return ft}});var Ue=o(20228),Me=o(11382),Oe=o(57338),ye=o(273),Ke=o(47673),N=o(4107),Le=o(78679),De=o(56520),Qe=o(74379),H=o(38648),K=o(59250),G=o(13013),ne=o(34792),ae=o(48086),ue=o(32157),z=o(82363),de=o(30887),Z=o(28682),te=o(57663),U=o(71577),Ve=o(71194),q=o(50146),T=o(67294),L=o(28216),Ee=o(24616),He=o(99165),Ye=o(73171),xa=o(84189),Aa=o(88528),ya=o(8212),ja=o(1870),F=o(30672),At=o(13062),W=o(71230),yt=o(77883),ie=o(85986),jt=o(89032),R=o(15746),v=o(11849),It=o(18106),je=o(95562),bt=o(43358),Ze=o(34041),Bt=o(9715),_=o(55843),St=o(88983),P=o(47933),Ia=o(54549),ze=o(49101),ce=o(56173),Ie=o(96328),ba=o(5030),X=o.n(ba),se=o(70138),Ba=o(37406),e=o(85893),Je,Ge,ge=P.ZP.Group,pe=_.Z.Item,be=Ze.Z.Option,oe=je.Z.TabPane,We=(b,t,a)=>{var s={backgroundImage:"url(".concat(b,")"),backgroundPosition:"top center",backgroundRepeat:"no-repeat",backgroundAttachment:a};switch(t){case"tc":s=(0,v.Z)((0,v.Z)({},s),{},{backgroundSize:"cover"});break;case"sy":s=(0,v.Z)((0,v.Z)({},s),{},{backgroundSize:"contain"});break;case"ls":s=(0,v.Z)((0,v.Z)({},s),{},{backgroundSize:"100% 100%"});break;case"pp":s=(0,v.Z)((0,v.Z)({},s),{},{backgroundRepeat:"repeat",backgroundSize:"auto",backgroundPosition:"top"});break;case"jz":s=(0,v.Z)((0,v.Z)({},s),{},{backgroundPosition:"center top",backgroundSize:"auto"});break}return s},Xe=b=>{var t=b.backgroundPosition,a=b.backgroundSize,s="";switch(a){case"100% 100%":s="ls";break;case"contain":s="sy";break;case"cover":s="tc";break;case"auto":t=="top"?s="pp":s="jz";break}return s},Sa=b=>{var t=b.bgObject,a=b.pgObject,s={bgType:"picture",pgType:"picture"};if(t&&t.backgroundImage)s.bgPic=t.backgroundImage.split("(")[1].split(")")[0],s.bgAttachment=t.backgroundAttachment,s.bgRepeat=Xe(t);else if(t&&t.thumb){var r=t.thumb;s.bgType="video",s.backVideo=t,s.bgPic=r}return a&&a.backgroundImage&&(s.pgPic=a.backgroundImage.split("(")[1].split(")")[0],s.pgAttachment=a.backgroundAttachment,s.pgRepeat=Xe(a)),s},Ca=(Je=(0,L.$j)(b=>{var t=b.commondesign;return{commondesign:t}}),Je(Ge=class extends T.Component{constructor(){super(...arguments);this.state={pageName:"\u4E3B\u9875",mainDesignId:"",mainModel:!1,activeKeyFile:"main",fileData:{fileName:""},width:1200,height:1800,bgColor:"#f0f2f5",pgColor:"#fff",color:"inherit",hoverColor:"inherit",bgType:"picture",bgRepeat:"tc",bgAttachment:"scroll",backVideo:"",videoUrl:"",bgPic:"",pgType:"picture",pgRepeat:"tc",pgAttachment:"scroll",pgPic:"",headerSet:"fixed",footerSet:"fixed"},this.handleOk=()=>{var t=this,a=this.props,s=a.dispatch,r=a.parent,l=a.isMobile,n=a.commondesign,d=n.designId,c=n.mainDesignId,h=n.header,g=n.mainly,A=n.footer,j=n.importBloo,B=this.state,C=B.width,S=B.height,m=B.bgColor,p=B.pgColor,E=B.color,y=B.hoverColor,D=B.bgType,x=B.bgPic,f=B.backVideo,k=B.bgRepeat,O=B.bgAttachment,J=B.pgType,le=B.pgPic,Y=B.pgRepeat,Se=B.pgAttachment,xe=B.fileData,he=B.headerSet,w=B.footerSet;if(xe.fileId)s({type:"share/importDesign",payload:{designId:c,fileId:xe.fileId},callback:M=>{M.success&&((0,se.Ec)(t,c),r.setState({mainModel:!1}))}});else if(j)s({type:"share/designCancelImport",payload:{designId:c},callback:M=>{M.success&&((0,se.Ec)(t,c),r.setState({mainModel:!1}))}});else{var Ce=x?D=="video"?f:We(x,k,O):"",i=le?We(le,Y,Se):"";d==c&&s({type:"commondesign/setState",payload:{height:S,mainly:S-h-A}});var u={width:C,pgColor:p,bgColor:m,color:E,hoverColor:y,pgObject:i,bgObject:Ce,headerSet:he,footerSet:w};s({type:"commondesign/setState",payload:u}),(0,se.jB)({width:C,height:S,header:h,mainly:S-h-A,footer:A,bgColor:m,pgColor:p,color:E,hoverColor:y,bgObject:Ce,pgObject:i,backVideo:f},{props:{commondesign:(0,v.Z)((0,v.Z)({},n),u)}}),r.setState({mainModel:!1}),window.changeState=!0}}}componentDidMount(){var t=this,a=t.props.commondesign,s=a.width,r=a.height,l=a.bgColor,n=a.pgColor,d=a.color,c=a.hoverColor,h=a.bgObject,g=a.pgObject,A=a.mainDesignDetail,j=a.importBloo,B=a.headerSet,C=a.footerSet;t.setState((0,v.Z)({width:s,height:r,bgColor:l,pgColor:n,color:d,hoverColor:c,backVideo:"",fileData:{fileName:A.importFileName},activeKeyFile:j?"quote":"main",headerSet:B,footerSet:C},Sa({bgObject:h,pgObject:g})))}bcTabPaneContent(t){var a=this.props.commondesign,s=a.clientType,r=this.state,l=r.width,n=r.height,d=r.bgColor,c=r.pgColor,h=r.color,g=r.hoverColor,A=r.headerSet,j=r.footerSet,B={value:l,onChange:x=>{this.setState({width:x})},min:0,max:3600,disabled:s==2,style:{width:"100%"},placeholder:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u5BBD\u5EA6"},C={value:n,onChange:x=>{this.setState({height:x})},style:{width:"100%"},min:0,placeholder:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u9AD8\u5EA6"},S={value:d,style:{width:32,height:32,borderRadius:4},onChange:x=>{var f=x||"inherit";this.setState({bgColor:f})}},m={value:c,style:{width:32,height:32,borderRadius:4},onChange:x=>{var f=x||"inherit";this.setState({pgColor:f})}},p={value:h,style:{width:32,height:32,borderRadius:4},onChange:x=>{var f=x||"inherit";this.setState({color:f})}},E={value:g,style:{width:32,height:32,borderRadius:4},onChange:x=>{var f=x||"inherit";this.setState({hoverColor:f})}},y={value:A,style:{width:140,height:32},onChange:x=>{this.setState({headerSet:x})}},D={value:j,style:{width:140,height:32},onChange:x=>{this.setState({footerSet:x})}};return(0,e.jsxs)(W.Z,{children:[(0,e.jsx)(R.Z,{span:13,style:{marginBottom:5},children:"\u9875\u9762\u5BBD\u5EA6\uFF1A"}),(0,e.jsx)(R.Z,{span:11,style:{marginBottom:5},children:"\u9875\u9762\u9AD8\u5EA6\uFF1A"}),(0,e.jsx)(R.Z,{span:11,children:(0,e.jsx)(ie.Z,(0,v.Z)({},B))}),(0,e.jsx)(R.Z,{span:2,style:{textAlign:"center",lineHeight:"30px"},children:(0,e.jsx)(Ia.Z,{})}),(0,e.jsx)(R.Z,{span:11,children:(0,e.jsx)(ie.Z,(0,v.Z)({},C))}),!t&&(0,e.jsxs)(W.Z,{className:X().setRow,children:[(0,e.jsx)(R.Z,{span:2,className:"labelCol",children:"\u80CC\u666F\u8272 :"}),(0,e.jsx)(R.Z,{span:2,className:"conentCol",children:(0,e.jsx)(Ie.Z,(0,v.Z)({},S))})]}),(0,e.jsxs)(W.Z,{className:X().setRow,children:[(0,e.jsx)(R.Z,{span:2,className:"labelCol",children:"\u524D\u666F\u8272 :"}),(0,e.jsx)(R.Z,{span:2,className:"conentCol",children:(0,e.jsx)(Ie.Z,(0,v.Z)({},m))})]}),(0,e.jsxs)(W.Z,{className:X().setRow,children:[(0,e.jsx)(R.Z,{span:2,className:"labelCol",children:"\u6587\u672C\u8272 :"}),(0,e.jsx)(R.Z,{span:2,className:"conentCol",children:(0,e.jsx)(Ie.Z,(0,v.Z)({},p))})]}),!t&&(0,e.jsxs)(W.Z,{className:X().setRow,children:[(0,e.jsx)(R.Z,{span:4,className:"labelCol",children:"\u8D85\u94FE\u63A5hover\u8272 :"}),(0,e.jsx)(R.Z,{span:2,className:"conentCol",children:(0,e.jsx)(Ie.Z,(0,v.Z)({},E))})]}),t&&(0,e.jsxs)(W.Z,{className:X().setRow,children:[(0,e.jsx)(R.Z,{span:2,className:"labelCol",children:"\u5934\u90E8 :"}),(0,e.jsx)(R.Z,{span:2,className:"conentCol",children:(0,e.jsxs)(Ze.Z,(0,v.Z)((0,v.Z)({},y),{},{children:[(0,e.jsx)(be,{value:"fixed",children:"\u60AC\u6D6E"}),(0,e.jsx)(be,{value:"static",children:"\u56FA\u5B9A"})]}))})]}),t&&(0,e.jsxs)(W.Z,{className:X().setRow,children:[(0,e.jsx)(R.Z,{span:2,className:"labelCol",children:"\u5E95\u90E8 :"}),(0,e.jsx)(R.Z,{span:2,className:"conentCol",children:(0,e.jsxs)(Ze.Z,(0,v.Z)((0,v.Z)({},D),{},{children:[(0,e.jsx)(be,{value:"fixed",children:"\u60AC\u6D6E"}),(0,e.jsx)(be,{value:"static",children:"\u56FA\u5B9A"})]}))})]})]})}bgTabPaneContent(){var t=this,a=this.props.dispatch,s=this.state,r=s.bgType,l=s.bgRepeat,n=s.bgAttachment,d=s.bgPic,c=(0,F.lw)((0,F.Kd)()),h={value:r,onChange:B=>{this.setState({bgType:B.target.value,bgPic:B.target.value=="picture"?t.pictureData?t.pictureData.path:"":t.videoData?t.videoData.thumb:""})}},g={value:l,onChange:B=>{this.setState({bgRepeat:B.target.value})}},A={value:n,onChange:B=>{this.setState({bgAttachment:B.target.value})}},j={addBtn:()=>{if(r=="video"){var B=S=>{t.videoData=S,t.setState({backVideo:S,bgPic:S.thumb})};window.fileBoxApi.fileSelect({title:"\u9009\u62E9\u89C6\u9891",type:"file",single:!0,allowExt:"mp4,flv,rm,rmvb,avi,mkv,mov,f4v,mpeg,mpg,vob,wmv,ogv,webm,3gp,mts,m2ts,m4v,mpe,3g2,asf,dat,asx,wvx,mpa",callback:function(m){var p=m.data||{},E=p.selectIds.length?p.selectItems||[]:[],y=E[0];$.ajax({url:"/api/disk/preview?busType=cloud&sourceID=".concat(y.sourceID),method:"get",headers:{token:(0,Ba.ej)("token")},success:D=>{var x=D.success,f=D.message,k=D.data,O=k===void 0?{}:k;x&&(t.videoData=(0,v.Z)((0,v.Z)({},O),{},{thumb:y.thumb||y.path}),t.setState({backVideo:O,bgPic:y.thumb||y.path}))},error:D=>{var x=D.responseJSON,f=x===void 0?{}:x}})}})}else if(r=="picture"){var C=S=>{t.pictureData=S,t.setState({bgPic:S.src})};window.fileBoxApi.fileSelect({title:c.formatMessage({id:"explorer.selectImage"}),type:"file",single:!0,allowExt:"jpg,jpeg,png",callback:function(m){var p=m.data||{},E=p.selectIds.length?p.selectItems||[]:[],y=E[0];t.pictureData=y,t.setState({bgPic:y.path})}})}},closeBtn:()=>{this.state.bgType=="picture"?this.pictureData="":this.videoData="",this.setState({bgPic:""})}};return(0,e.jsxs)(W.Z,{children:[(0,e.jsx)(pe,(0,v.Z)((0,v.Z)({label:"\u7C7B\u578B"},ce.Sy.formItemLayout3),{},{children:(0,e.jsxs)(ge,(0,v.Z)((0,v.Z)({},h),{},{children:[(0,e.jsx)(P.ZP,{value:"picture",children:"\u56FE\u7247"}),(0,e.jsx)(P.ZP,{value:"video",children:"\u89C6\u9891"})]}))})),(0,e.jsxs)(W.Z,{style:{width:"100%",float:"left"},children:[(0,e.jsx)(R.Z,{span:12,children:(0,e.jsx)("div",{className:X().uploadBox,onClick:j.addBtn,children:d?(0,e.jsx)("img",{src:d}):(0,e.jsx)(ze.Z,{})})}),(0,e.jsx)(R.Z,{span:12,children:(0,e.jsx)(U.Z,{style:{marginLeft:10},onClick:j.closeBtn,children:"\u6E05\u9664"})})]}),r=="picture"?(0,e.jsx)(pe,(0,v.Z)((0,v.Z)({label:"\u5951\u5408"},ce.Sy.formItemLayout3),{},{children:(0,e.jsxs)(ge,(0,v.Z)((0,v.Z)({},g),{},{children:[(0,e.jsx)(P.ZP,{value:"tc",children:"\u586B\u5145"}),(0,e.jsx)(P.ZP,{value:"sy",children:"\u9002\u5E94"}),(0,e.jsx)(P.ZP,{value:"ls",children:"\u62C9\u4F38"}),(0,e.jsx)(P.ZP,{value:"pp",children:"\u5E73\u94FA"}),(0,e.jsx)(P.ZP,{value:"jz",children:"\u5C45\u4E2D"})]}))})):"",r=="picture"?(0,e.jsx)(pe,(0,v.Z)((0,v.Z)({label:"\u4F4D\u7F6E"},ce.Sy.formItemLayout3),{},{children:(0,e.jsxs)(ge,(0,v.Z)((0,v.Z)({},A),{},{children:[(0,e.jsx)(P.ZP,{value:"fixed",children:"\u56FA\u5B9A"}),(0,e.jsx)(P.ZP,{value:"scroll",children:"\u6EDA\u52A8"})]}))})):""]})}pgTabPaneContent(){var t=this.props.dispatch,a=this.state,s=a.pgType,r=a.pgRepeat,l=a.pgAttachment,n=a.pgPic,d=(0,F.lw)((0,F.Kd)()),c={value:s,onChange:j=>{this.setState({pgType:j.target.value})}},h={value:r,onChange:j=>{this.setState({pgRepeat:j.target.value})}},g={value:l,onChange:j=>{this.setState({pgAttachment:j.target.value})}},A={addBtn:()=>{var j=this,B=C=>{j.pgPicture=C,j.setState({pgPic:C.src})};window.fileBoxApi.fileSelect({title:d.formatMessage({id:"explorer.selectImage"}),type:"file",single:!0,allowExt:"jpg,jpeg,png",callback:function(S){var m=S.data||{},p=m.selectIds.length?m.selectItems||[]:[],E=p[0];j.pgPicture=E,j.setState({pgPic:E.path})}})},closeBtn:()=>{this.setState({pgPic:""})}};return(0,e.jsxs)(W.Z,{children:[(0,e.jsx)(pe,(0,v.Z)((0,v.Z)({label:"\u7C7B\u578B"},ce.Sy.formItemLayout3),{},{children:(0,e.jsx)(ge,(0,v.Z)((0,v.Z)({},c),{},{children:(0,e.jsx)(P.ZP,{value:"picture",children:"\u56FE\u7247"})}))})),(0,e.jsxs)(W.Z,{style:{width:"100%",float:"left"},children:[(0,e.jsx)(R.Z,{span:12,children:(0,e.jsx)("div",{className:X().uploadBox,onClick:A.addBtn,children:n?(0,e.jsx)("img",{src:n}):(0,e.jsx)(ze.Z,{})})}),(0,e.jsx)(R.Z,{span:12,children:(0,e.jsx)(U.Z,{style:{marginLeft:10},onClick:A.closeBtn,children:"\u6E05\u9664"})})]}),(0,e.jsx)(pe,(0,v.Z)((0,v.Z)({label:"\u5951\u5408"},ce.Sy.formItemLayout3),{},{children:(0,e.jsxs)(ge,(0,v.Z)((0,v.Z)({},h),{},{children:[(0,e.jsx)(P.ZP,{value:"tc",children:"\u586B\u5145"}),(0,e.jsx)(P.ZP,{value:"sy",children:"\u9002\u5E94"}),(0,e.jsx)(P.ZP,{value:"ls",children:"\u62C9\u4F38"}),(0,e.jsx)(P.ZP,{value:"pp",children:"\u5E73\u94FA"}),(0,e.jsx)(P.ZP,{value:"jz",children:"\u5C45\u4E2D"})]}))})),(0,e.jsx)(pe,(0,v.Z)((0,v.Z)({label:"\u4F4D\u7F6E"},ce.Sy.formItemLayout3),{},{children:(0,e.jsxs)(ge,(0,v.Z)((0,v.Z)({},g),{},{children:[(0,e.jsx)(P.ZP,{value:"fixed",children:"\u56FA\u5B9A"}),(0,e.jsx)(P.ZP,{value:"scroll",children:"\u6EDA\u52A8"})]}))}))]})}renderGlobalConfig(){var t=[{key:"courseCenter",name:"\u9009\u8BFE\u4E2D\u5FC3"}],a=s=>{console.log(s)};return(0,e.jsx)("div",{className:X().globalConfigBox,children:t.map(s=>(0,e.jsxs)("div",{className:"libox",children:[s.name,(0,e.jsx)(Ee.Z,{onClick:()=>a(s)})]},s.key))})}renderMainModel(){var t=this.props,a=t.parentState,s=t.commondesign,r=t.parent,l=t.dispatch,n=t.isMobile,d=s.mainDesignDetail,c=s.platformType,h=s.importBloo,g=d.importSourceId,A=a.mainModel,j=this.state,B=j.activeKeyFile,C=j.fileData,S=()=>{r.setState({mainModel:!1})},m=()=>{var y=D=>{this.setState({fileData:D.data})};l({type:"commondesign/setState",payload:{Href:{visible:!0,callback:y,type:{resource:!0}}}})},p=()=>{this.setState({fileData:{fileName:""}})},E=y=>{this.setState({activeKeyFile:y})};return(0,e.jsx)(q.Z,{visible:A,onOk:this.handleOk,width:680,maskClosable:!1,onCancel:S,title:"\u4E3B\u9875\u8BBE\u7F6E",children:(0,e.jsx)(_.Z,{layout:"inline",hideRequiredMark:!0,className:X().formCol,children:c==3?(0,e.jsxs)(je.Z,{activeKey:B,type:"card",onChange:E,children:[(0,e.jsx)(oe,{tab:"\u4E3B\u9875\u8BBE\u7F6E",disabled:C.fileName||g,children:(0,e.jsxs)(je.Z,{children:[(0,e.jsx)(oe,{tab:"\u57FA\u672C",children:this.bcTabPaneContent(n)},"bc"),!n&&(0,e.jsx)(oe,{tab:"\u80CC\u666F",children:this.bgTabPaneContent()},"bg"),(0,e.jsx)(oe,{tab:"\u524D\u666F",children:this.pgTabPaneContent()},"pg")]})},"main"),!1]}):(0,e.jsxs)(je.Z,{children:[(0,e.jsx)(oe,{tab:"\u57FA\u672C",children:this.bcTabPaneContent(n)},"bc"),(0,e.jsx)(oe,{tab:"\u80CC\u666F",children:this.bgTabPaneContent()},"bg"),(0,e.jsx)(oe,{tab:"\u524D\u666F",children:this.pgTabPaneContent()},"pg")]})})})}render(){return(0,e.jsx)("div",{children:this.renderMainModel()})}})||Ge),Ct=o(62999),Ne=o(54680),Ma=o(26825),Da=o.n(Ma),$e=o(58491),qe=o(57254),_e,ea,me=_.Z.Item,Fe=z.Z.TreeNode,Ea=(_e=(0,L.$j)(b=>{var t=b.globaldesign,a=b.page,s=b.commondesign;return{globaldesign:t,page:a,commondesign:s}}),_e(ea=class extends T.Component{constructor(){super(...arguments);this.state={},this.formRef=T.createRef(),this.validateaccount=(t,a)=>{var s=this.props,r=s.page,l=s.parentState,n=r.pageList;if(a&&!/^[a-zA-Z0-9][a-zA-Z0-9]{1,15}$/.test(a))return Promise.reject(new Error("\u8BF7\u8F93\u51652-16\u4F4D\u82F1\u6587\u3001\u6570\u5B57"));var d=!1;return n.map(c=>{c.url==a&&(l.settingModel?this.item.url!=a:!0)&&(d=!0)}),a&&d?Promise.reject(new Error("\u8BBF\u95EE\u5730\u5740\u91CD\u590D")):Promise.resolve()}}componentDidMount(){var t=this,a=this.props,s=a.dispatch,r=a.parent,l=t.formRef.current,n=r.item;l.resetFields(),s({type:"page/getDesignDetail",payload:{designId:n.designId},callback:d=>{if(d.success){var c=d.data,h=c.setting?JSON.parse(c.setting):"";this.subpageSize=n.size?n.size:h?h.width+"|"+h.mainly:"375|664",this.subpageHtml=c.body}}})}renderCopyModel(){var t=this,a=this.props,s=a.dispatch,r=a.parentState,l=a.commondesign,n=a.parent,d=l.clientType,c=r.copyModel,h=r.folderData,g=r.pageUrlBloo,A=()=>{var S=t.formRef.current;S.validateFields().then(m=>{S.resetFields();var p=m.pageName,E=m.pageUrl,y=m.folderId,D=m.keywords,x=m.description;s({type:"page/addCommonDesign",payload:{designType:2,clientType:d,size:t.subpageSize,title:p,url:E,seoKeyword:D,seoDescription:x},callback:f=>(f.success?(n.updateFolderState(y,f.data,"add"),n.getPageList(),s({type:"page/editDesignDetail",payload:{designId:f.data,body:this.subpageHtml},callback:k=>"\u590D\u5236\u9875\u9762"}),n.setState({copyModel:!1})):H.Z.error({message:"\u590D\u5236\u9875\u9762\u5931\u8D25",description:f.message}),!0)})})},j=()=>{n.setState({copyModel:!1})},B=S=>S.map((m,p)=>m.children?(0,e.jsx)(Fe,{title:m.folderName,value:m.folderId,children:B(m.children)},m.folderId):m.folderName?(0,e.jsx)(Fe,{title:m.folderName,value:m.folderId},m.folderId):""),C={style:{color:"rgba(0,0,0,0.5)",float:"right",fontSize:12,cursor:"pointer",position:"relative",zIndex:2,top:8,marginBottom:-10},onClick:()=>{n.setState({pageUrlBloo:!g})}};return(0,e.jsx)(q.Z,{visible:c,maskClosable:!1,onOk:A,onCancel:j,title:"\u590D\u5236\u9875\u9762",children:(0,e.jsxs)(_.Z,{ref:this.formRef,hideRequiredMark:!0,className:Da().formBox,style:{paddingBottom:15},children:[(0,e.jsx)(me,{label:"\u9875\u9762\u540D\u79F0",name:"pageName",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"},{max:256,message:"\u9875\u9762\u540D\u79F0\u4E0D\u5F97\u8D85\u8FC7256\u4E2A\u5B57"}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"})}),(0,e.jsx)(me,{label:"\u76EE\u5F55",name:"folderId",children:(0,e.jsxs)(Ne.Z,{showSearch:!0,dropdownStyle:{maxHeight:400,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u76EE\u5F55",treeDefaultExpandAll:!0,children:[(0,e.jsx)(Fe,{title:"\u4E3B\u76EE\u5F55",value:"main"},"main"),B(h)]})}),(0,e.jsxs)("span",(0,v.Z)((0,v.Z)({},C),{},{children:["\u8BBE\u7F6E ",g?(0,e.jsx)($e.Z,{}):(0,e.jsx)(qe.Z,{})]})),g&&(0,e.jsx)(me,{label:"\u8BBF\u95EE\u5730\u5740",name:"pageUrl",rules:[{validator:this.validateaccount}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u8BBF\u95EE\u5730\u5740"})}),g&&(0,e.jsx)(me,{label:"SEO\u4F18\u5316\u5173\u952E\u8BCD",name:"keywords",rules:[{max:1e3}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD"})}),g&&(0,e.jsx)(me,{label:"SEO\u4F18\u5316\u63CF\u8FF0",name:"description",rules:[{max:1e3}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u63CF\u8FF0"})})]})})}render(){return(0,e.jsx)("div",{children:this.renderCopyModel()})}})||ea),Za=Ea,Na=o(48779),Pe=o.n(Na),aa,ta,ee=_.Z.Item,Te=z.Z.TreeNode,Fa=(aa=(0,L.$j)(b=>{var t=b.globaldesign,a=b.page,s=b.share,r=b.commondesign;return{globaldesign:t,page:a,share:s,commondesign:r}}),aa(ta=class extends T.Component{constructor(){super(...arguments);this.state={},this.formRef=T.createRef(),this.validateaccount=(t,a)=>{var s=this.props,r=s.page,l=s.parentState,n=s.parent,d=r.pageList;if(a&&!/^[a-zA-Z0-9][a-zA-Z0-9]{1,15}$/.test(a))return Promise.reject(new Error("\u8BF7\u8F93\u51652-16\u4F4D\u82F1\u6587\u3001\u6570\u5B57"));var c=!1;return d.map(h=>{h.url==a&&(l.settingModel?n.item.url!=a:!0)&&(c=!0)}),a&&c?Promise.reject(new Error("\u8BBF\u95EE\u5730\u5740\u91CD\u590D")):Promise.resolve()},this.validateMaxHeight=(t,a)=>a&&parseInt(a)>2e4?Promise.reject(new Error("\u9875\u9762\u6700\u5927\u9AD8\u5EA6\u4E0D\u4E3A20000px")):Promise.resolve()}componentDidMount(){var t=this,a=this.props,s=a.commondesign,r=a.parent,l=t.formRef.current,n=r.item;l.resetFields(),l.setFieldsValue({pageName:"\u65B0\u9875\u9762",pageWidth:s.width,pageHeight:2800,folderId:n.folderId,pageType:"new"})}renderAddModel(){var t=this,a=this.props,s=a.dispatch,r=a.share,l=a.parentState,n=a.commondesign,d=a.parent,c=n.clientType,h=l.addModel,g=l.folderData,A=l.pageTypeRadio,j=l.pageUrlBloo,B=r.shareSchool,C=()=>{var x=t.formRef.current;x.validateFields().then(f=>{x.resetFields();var k=f.pageName,O=f.pageUrl,J=f.folderId;d.setState({shareModel:!0,addModel:!1,shareSelect:[],shareStyle:"copy",sharePageData:{pageName:k,pageUrl:O,folderId:J}})})},S=()=>{var x=t.formRef.current;x.validateFields().then(f=>{x.resetFields();var k=f.pageName,O=f.pageUrl,J=f.folderId;d.setState({shareModel:!0,addModel:!1,shareSelect:[],shareStyle:"select",sharePageData:{pageName:k,pageUrl:O,folderId:J}})})},m=()=>{if(A=="new"){var x=t.formRef.current;x.validateFields().then(f=>{x.resetFields();var k=f.pageName,O=f.pageWidth,J=f.pageHeight,le=f.pageUrl,Y=f.folderId,Se=f.pageType,xe=f.keywords,he=f.description;s({type:"page/addCommonDesign",payload:{designType:2,clientType:c,title:k,size:O+"|"+J,url:le||void 0,seoKeyword:xe,seoDescription:he},callback:w=>{w.success&&(d.updateFolderState(Y,w.data,"add"),d.setState({addModel:!1}),d.getPageList(Y||"add"))}})}),d.setState({formBloo:Date.now()})}else A=="shareCopy"?C():A=="shareSelect"&&S()},p=()=>{d.setState({addModel:!1})},E=x=>x.map((f,k)=>f.children&&f.folderName?(0,e.jsx)(Te,{title:f.folderName,value:f.folderId,children:E(f.children)},f.folderId):f.folderName?(0,e.jsx)(Te,{title:f.folderName,value:f.folderId},f.folderId):""),y=x=>{d.setState({pageTypeRadio:x.target.value},()=>{if(x.target.value=="new"){var f=t.formRef.current;f.setFieldsValue({pageWidth:n.width})}})},D={style:{position:"relative",top:-48,color:"#ccc",float:"right",fontSize:12,cursor:"pointer"},onClick:()=>{d.setState({pageUrlBloo:!j})}};return(0,e.jsx)(q.Z,{visible:h,maskClosable:!1,onOk:m,onCancel:p,className:Pe().pageModel+" "+Pe().pageModelBody,footer:[(0,e.jsx)(U.Z,{onClick:p,children:"\u53D6\u6D88"},"back"),(0,e.jsx)(U.Z,{type:"primary",onClick:m,children:"\u786E\u5B9A"},"submit")],title:"\u65B0\u5EFA\u9875\u9762",children:(0,e.jsxs)(_.Z,{hideRequiredMark:!0,ref:this.formRef,className:Pe().formBox,style:{marginTop:15},children:[(0,e.jsx)(ee,{name:"pageName",label:"\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"},{max:256,message:"\u9875\u9762\u540D\u79F0\u4E0D\u5F97\u8D85\u8FC7256\u4E2A\u5B57"}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"})}),A=="new"&&(0,e.jsxs)("div",{className:"rowBox",children:[(0,e.jsx)("div",{className:"colBox",children:(0,e.jsx)(ee,{name:"pageWidth",label:"\u5C3A\u5BF8",rules:[{required:!0,message:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u5BBD\u5EA6"}],children:(0,e.jsx)(ie.Z,{min:0,max:3600,style:{width:"100%"},placeholder:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u5BBD\u5EA6",disabled:!0})})}),(0,e.jsx)("div",{className:"colBox",style:{marginLeft:"4%"},children:(0,e.jsx)(ee,{name:"pageHeight",rules:[{required:!0,message:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u9AD8\u5EA6"},{validator:this.validateMaxHeight}],children:(0,e.jsx)(ie.Z,{min:0,style:{width:"100%"},placeholder:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u9AD8\u5EA6"})})})]}),(0,e.jsx)(ee,{label:"\u76EE\u5F55",name:"folderId",children:(0,e.jsxs)(Ne.Z,{dropdownStyle:{maxHeight:400,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u76EE\u5F55",treeDefaultExpandAll:!0,children:[(0,e.jsx)(Te,{title:"\u4E3B\u76EE\u5F55",value:"main"},"main"),E(g)]})}),(0,e.jsx)(ee,{style:{marginTop:10,width:"100%"},name:"pageType",children:(0,e.jsxs)(P.ZP.Group,{onChange:y,children:[(0,e.jsx)(P.ZP,{value:"new",children:"\u65B0\u9875\u9762"}),(0,e.jsx)(P.ZP,{value:"shareCopy",children:"\u4ECE\u5171\u4EAB\u9875\u590D\u5236"}),(0,e.jsx)(P.ZP,{value:"shareSelect",children:"\u4ECE\u5171\u4EAB\u9875\u9009\u62E9"})]})}),(0,e.jsxs)("span",(0,v.Z)((0,v.Z)({},D),{},{children:["\u8BBE\u7F6E ",j?(0,e.jsx)($e.Z,{}):(0,e.jsx)(qe.Z,{})," "]})),j&&(0,e.jsx)(ee,{name:"pageUrl",label:"\u8BBF\u95EE\u5730\u5740",rules:[{validator:t.validateaccount}],children:(0,e.jsx)(N.Z,{placeholder:"\u81EA\u5B9A\u4E49\u8BBF\u95EE\u5730\u5740\uFF0C\u9ED8\u8BA4\u751F\u6210\u968F\u673A\u5730\u5740"})}),A=="new"&&j?(0,e.jsx)(ee,{label:"\u5173\u952E\u8BCD",name:"keywords",rules:[{max:1e3}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165SEO\u4F18\u5316\u5173\u952E\u8BCD"})}):"",A=="new"&&j?(0,e.jsx)(ee,{label:"\u63CF\u8FF0",name:"description",rules:[{max:1e3}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165SEO\u4F18\u5316\u63CF\u8FF0"})}):""]})})}render(){return(0,e.jsx)("div",{children:this.renderAddModel()})}})||ta),Pa=Fa,Ta=o(35660),Re=o.n(Ta),sa,oa,re=_.Z.Item,ke=z.Z.TreeNode,Ra=(sa=(0,L.$j)(b=>{var t=b.globaldesign,a=b.page,s=b.commondesign;return{globaldesign:t,page:a,commondesign:s}}),sa(oa=class extends T.Component{constructor(){super(...arguments);this.state={},this.formRef=T.createRef(),this.validateaccount=(t,a)=>{var s=this.props,r=s.page,l=s.parentState,n=s.parent,d=r.pageList;if(a&&!/^[a-zA-Z0-9][a-zA-Z0-9]{1,15}$/.test(a))return Promise.reject(new Error("\u8BF7\u8F93\u51652-16\u4F4D\u82F1\u6587\u3001\u6570\u5B57"));var c=!1;return d.map(h=>{h.url==a&&(l.settingModel?n.item.url!=a:!0)&&(c=!0)}),a&&c?Promise.reject(new Error("\u8BBF\u95EE\u5730\u5740\u91CD\u590D")):Promise.resolve()},this.validateMaxHeight=(t,a)=>a&&parseInt(a)>2e4?Promise.reject(new Error("\u9875\u9762\u6700\u5927\u9AD8\u5EA6\u4E0D\u4E3A20000px")):Promise.resolve()}componentDidMount(){var t=this,a=this.props,s=a.commondesign,r=a.parent,l=r.item,n=t.formRef.current;n.setFieldsValue({pageName:l.title,pageWidth:l.size&&s.width||375,pageHeight:l.size&&parseInt(l.size.split("|")[1])||667,pageUrl:l.url,folderId:l.parentId,keywords:l.seoKeyword,description:l.seoDescription})}renderSettingModel(){var t=this,a=this.props,s=a.dispatch,r=a.commondesign,l=a.parent,n=a.parentState,d=n.settingModel,c=n.folderData,h=r.designId,g=l.item,A=!0;g&&g.shareDesignId&&!g.paste&&(A=!1);var j=()=>{var S=t.formRef.current;S.validateFields().then(m=>{S.resetFields();var p=m.pageName,E=m.pageWidth,y=m.pageHeight,D=m.folderId,x=m.pageUrl,f=m.keywords,k=m.description;s({type:"page/editDesignDetail",payload:{designId:g.designId,title:p,size:E+"|"+y,url:x,seoKeyword:f,seoDescription:k},callback:O=>(O.success&&(h==g.designId&&(s({type:"commondesign/setState",payload:{height:y,mainly:y}}),l.setState({pageName:p})),g.parentId!==D&&l.updateFolderState(D,g.designId,"update",g.parentId),l.setState({settingModel:!1}),l.getPageList()),"\u8BBE\u7F6E\u9875\u9762")})})},B=()=>{l.setState({settingModel:!1})},C=S=>S.map((m,p)=>m.children?(0,e.jsx)(ke,{title:m.folderName,value:m.folderId,children:C(m.children)},m.folderId):m.folderName?(0,e.jsx)(ke,{title:m.folderName,value:m.folderId},m.folderId):"");return(0,e.jsx)(q.Z,{visible:d,maskClosable:!1,onOk:j,onCancel:B,className:Re().pageModel+" "+Re().pageModelBody,title:"\u4FEE\u6539\u9875\u9762",children:(0,e.jsxs)(_.Z,{hideRequiredMark:!0,ref:this.formRef,className:Re().formBox,children:[(0,e.jsx)(re,{label:"\u9875\u9762\u540D\u79F0",name:"pageName",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"},{max:256,message:"\u9875\u9762\u540D\u79F0\u4E0D\u5F97\u8D85\u8FC7256\u4E2A\u5B57"}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u9875\u9762\u540D\u79F0"})}),(0,e.jsxs)("div",{className:"rowBox",children:[(0,e.jsx)("div",{className:"colBox",children:(0,e.jsx)(re,{label:"\u5C3A\u5BF8",name:"pageWidth",rules:[{required:!0,message:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u5BBD\u5EA6"}],children:(0,e.jsx)(ie.Z,{min:0,max:3600,style:{width:"100%"},placeholder:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u5BBD\u5EA6",disabled:!0})})}),(0,e.jsx)("div",{className:"colBox",style:{marginLeft:"4%"},children:(0,e.jsx)(re,{name:"pageHeight",rules:[{required:!0,message:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u9AD8\u5EA6"},{validator:this.validateMaxHeight}],children:(0,e.jsx)(ie.Z,{style:{width:"100%"},min:0,placeholder:"\u8BF7\u8BBE\u7F6E\u9875\u9762\u9AD8\u5EA6"})})})]}),(0,e.jsx)(re,{label:"\u76EE\u5F55",name:"folderId",children:(0,e.jsxs)(Ne.Z,{showSearch:!0,dropdownStyle:{maxHeight:400,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u76EE\u5F55",treeDefaultExpandAll:!0,children:[(0,e.jsx)(ke,{title:"\u4E3B\u76EE\u5F55",value:"main"},"main"),C(c)]})}),(0,e.jsx)(re,{label:"\u8BBF\u95EE\u5730\u5740",name:"pageUrl",rules:[{validator:this.validateaccount}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u8BBF\u95EE\u5730\u5740"})}),A&&(0,e.jsx)(re,{label:"SEO\u4F18\u5316\u5173\u952E\u8BCD",name:"keywords",rules:[{max:1e3}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD"})}),A&&(0,e.jsx)(re,{label:"SEO\u4F18\u5316\u63CF\u8FF0",name:"description",rules:[{max:1e3}],children:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u8F93\u5165\u63CF\u8FF0"})})]})})}render(){return(0,e.jsx)("div",{children:this.renderSettingModel()})}})||oa),ka=Ra,Mt=o(13254),ra=o(14277),wa=o(27251),la=o.n(wa),na,da,ia=z.Z.TreeNode,Ua=z.Z.DirectoryTree,Oa=(na=(0,L.$j)(b=>{var t=b.globaldesign,a=b.page,s=b.share,r=b.commondesign;return{globaldesign:t,page:a,share:s,commondesign:r}}),na(da=class extends T.Component{constructor(){super(...arguments);this.state={}}componentDidMount(){var t=this.props,a=t.dispatch,s=t.share,r=t.parentState,l=t.parent,n=t.commondesign,d=n.clientType,c=s.shareSchool;c.length<1&&a({type:"share/getShareSchoolList",payload:{clientType:d}})}renderShareModel(){var t=this.props,a=t.dispatch,s=t.share,r=t.parent,l=t.parentState,n=t.commondesign,d=n.clientType,c=l.shareModel,h=l.shareExpandedKeys,g=l.shareSelect,A=l.shareStyle,j=l.sharePageData,B=l.folderData,C=s.shareSchool,S=()=>{g.length<1?ae.ZP.info("\u8BF7\u9009\u62E9\u5171\u4EAB\u9875\u9762"):a({type:"share/shareDesignApply",payload:{copy:A=="copy",designId:g[0],title:j.pageName,url:j.pageUrl||void 0},callback:y=>{y.success?(H.Z.success({message:"\u6210\u529F",description:A=="copy"?"\u590D\u5236\u5171\u4EAB\u9875\u9762\u6210\u529F":"\u9009\u62E9\u5171\u4EAB\u9875\u9762\u6210\u529F"}),r.updateFolderState(j.folderId,y.data,"add"),r.getPageList(),r.setState({shareModel:!1})):H.Z.error({message:A=="copy"?"\u590D\u5236\u5171\u4EAB\u9875\u9762\u5931\u8D25":"\u9009\u62E9\u5171\u4EAB\u9875\u9762\u5931\u8D25",description:y.message})}})},m=()=>{r.setState({shareModel:!1})},p=(y,D)=>{var x=D.node.props.item,f=y;x.schoolId?a({type:"share/getShareDesignList",payload:{clientType:d,schoolId:y[0]},callback:k=>{k.success&&(C.map(O=>{O.schoolId==x.schoolId&&(O.children=k.data)}),a({type:"share/saveShareShoolList",payload:C}))}}):r.setState({shareSelect:y})},E=y=>{r.setState({shareExpandedKeys:y})};return(0,e.jsx)(q.Z,{visible:c,maskClosable:!1,title:"\u9875\u9762\u5171\u4EAB\u5217\u8868",width:1e3,onOk:S,onCancel:m,className:la().pageModel,children:C.length>0?(0,e.jsx)(Ua,{expandedKeys:h,selectedKeys:g,onSelect:p,onExpand:E,children:C.map(y=>(0,e.jsx)(ia,{title:y.schoolName,item:y,children:y.children&&y.children.map(D=>(0,e.jsx)(ia,{title:(0,e.jsx)("span",{className:la().schoolName,children:D.title}),item:D,isLeaf:!0},D.designId))},y.schoolId))}):(0,e.jsx)(ra.Z,{image:ra.Z.PRESENTED_IMAGE_SIMPLE,description:"\u6682\u65E0\u5171\u4EAB\u9875\u9762"})})}render(){return(0,e.jsx)("div",{children:this.renderShareModel()})}})||da),Ka=Oa,ca=o(3231),La=o(19755),ve=o.n(La),Qa=o(7861),ga=o(38986),Va=o(18003),Q=o.n(Va),Ha=o(19569),Ya=o.n(Ha),za=o(79257),pa=o.n(za),Ja=o(45787),ha=o.n(Ja),Ga=o(8502),Wa=o.n(Ga),Xa=o(25859),$a=o.n(Xa),qa=o(68721),_a=o.n(qa),et=o(66843),at=o.n(et),tt=o(42396),we=o.n(tt),st=o(27923),ot=o.n(st),rt=o(21625),lt=o.n(rt),nt=o(5844),dt=o.n(nt),it=o(12013),ct=o.n(it),gt=o(61495),pt=o.n(gt),ua,ma,ht=T.lazy(()=>o.e(84771).then(o.bind(o,83509))),ut=T.lazy(()=>o.e(10413).then(o.bind(o,10413))),fe=q.Z.confirm,mt=U.Z.Group,va=Z.Z.SubMenu,Be=z.Z.TreeNode,Dt=z.Z.DirectoryTree,fa=b=>{switch(b.backgroundSize){case"cover":return"tc";case"contain":return"sy";case"100% 100%":return"ls";case"auto":return b.backgroundPosition=="top"?"pp":"jz";default:}},vt=(ua=(0,L.$j)(b=>{var t=b.globaldesign,a=b.page,s=b.commondesign,r=b.loading;return{globaldesign:t,page:a,commondesign:s,loading:r.effects["page/getDesignList"]}}),ua(ma=class extends T.Component{constructor(){super(...arguments);this.state={pageName:"\u7F51\u7AD9\u9996\u9875",mainDesignId:"",folderDeiginId:"",folderData:[],editFolderId:"",tabActiveKey:"pageTap",folderExpandedKeys:[],folderSelect:["main"],mainModel:!1,shareModel:!1,shareStyle:"",sharePageData:{},shareExpandedKeys:[],shareSelect:[],fileData:{fileName:""},bgColor:"#f0f2f5",pgColor:"#fff",color:"inherit",hoverColor:"inherit",bgType:"picture",bgRepeat:"tc",bgAttachment:"scroll",backvedio:"",bgPic:"",pgType:"picture",pgRepeat:"tc",pgAttachment:"scroll",pgPic:"",headerSet:"fixed",footerSet:"fixed",copyModel:!1,pageUrlBloo:!1,addModel:!1,settingModel:!1,selectedKeys:["main"],openKeys:[],drawerVisible:!1,drawerQuestionVisible:!1},this.folderData=[],this.formRef=T.createRef(),this.getPageList=t=>{var a=this.props,s=a.dispatch,r=a.commondesign,l=r.designType,n=r.clientType;s({type:"page/getDesignList",payload:{designType:2,clientType:n,pageSize:1e3},callback:d=>{if(d.success){if(Array.isArray(d.data)){var c=!0;d.data.forEach(h=>{h.url=="pageFolderWarehouse"&&(c=!1,this.setState({folderDeiginId:h.designId}),this.getFolderData(h.designId))}),c&&this.createFolderWarehouse(d.data)}t=="add"&&ve()("#page").scrollTop(ve()("#page .ant-menu").height())}}})},this.getDesignIdArray=(t,a)=>{var s=this.state.folderDeiginId,r=this.props.page.pageList,l={},n=[],d=[],c=h=>{h.map(g=>{g&&g.children&&c(g.children),g.designId&&(d.push({parentId:"main",designId:g.designId}),l[g.designId]=!0)})};return c(t),a?d:(r.map(h=>{!l[h.designId]&&h.designId!=s&&n.push({parentId:"main",designId:h.designId})}),n)},this.getCoverFolderData=t=>{var a=t,s=(r,l)=>{for(var n=r.length-1;n>-1;n--){var d=r[n];d?l?d.parentId=l:d.parentId="main":r.splice(n,1),d.children&&s(d.children,d.folderId)}};return s(a),a},this.createFolderWarehouse=t=>{var a=this.props,s=a.dispatch,r=a.commondesign,l=r.clientType,n=(0,F.lw)((0,F.Kd)());s({type:"page/addCommonDesign",payload:{designType:2,clientType:l,title:"\u76EE\u5F55\u6570\u636E",size:"1200|800",url:"pageFolderWarehouse"},callback:d=>{if(d.success){this.setState({folderDeiginId:d.data});var c=[];t.map(g=>{g.url!=="pageFolderWarehouse"&&c.push({parentId:"10000",designId:g.designId})});var h=[{folderId:"10000",folderName:"\u4E8C\u7EA7\u9875",children:c}];return this.setState({folderData:h}),this.updateFolderData(h),!0}}})},this.getFolderData=t=>{var a=this.props.dispatch,s=(0,F.lw)((0,F.Kd)());a({type:"page/getDesignCatalog",payload:{designId:t},callback:r=>{if(r.success&&r.data){var l=r.data.body&&(0,Qa.pM)(r.data.body)?JSON.parse(r.data.body):[{folderId:"10000",folderName:"\u4E8C\u7EA7\u9875",children:[]}],n=this.getCoverFolderData(l),d=this.getDesignIdArray(n);this.setState({folderData:[...n,...d]})}}})},this.updateFolderData=t=>{var a=this.props,s=a.dispatch,r=a.commondesign,l=r.clientType,n=this.state.folderDeiginId;s({type:"page/editDesignDetail",payload:{designType:2,clientType:l,designId:n,setting:"",head:"",body:JSON.stringify(t),foot:""},callback:d=>!1})},this.getFolderIdItem=(t,a)=>{var s=this.state.folderData;if(t=="main"||!t)return{children:s};var r,l,n,d=(c,h)=>{h.map((g,A)=>{g.folderId==c?(l=h,r=g,n=A):g.children&&d(c,g.children)})};return d(t,s),a?{itemData:r,parentItem:l,itemIndex:n}:r},this.updateFolderState=(t,a,s,r)=>{var l=this.state.folderData,n;switch(s){case"add":this.getFolderIdItem(t).children.push({parentId:t,designId:a});break;case"update":n=this.getFolderIdItem(r).children,n.map((d,c)=>{d.designId==a&&n.splice(c,1)}),this.getFolderIdItem(t).children.push({parentId:t,designId:a});break;case"delete":n=this.getFolderIdItem(t).children,n.map((d,c)=>{d.designId==a&&n.splice(c,1)});break}this.setState({folderData:[...l]}),this.updateFolderData(l)},this.changePageEvent=(t,a,s,r)=>{var l=this,n=this.props,d=n.dispatch,c=n.commondesign,h=c.designId,g=(0,F.lw)((0,F.Kd)());if(a==h)return!1;if(window.changeState)var A=fe({title:g.formatMessage({id:"common.tips"}),className:"model-confirm-wrapper",content:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("p",{children:g.formatMessage({id:"mack.dsl.u"})}),(0,e.jsxs)("div",{className:"footerBox",children:[(0,e.jsx)(U.Z,{onClick:()=>{A.destroy()},children:g.formatMessage({id:"common.cancel"})}),(0,e.jsx)(U.Z,{onClick:()=>{l.designId=a,l.changePage(a),A.destroy(),r&&r()},children:g.formatMessage({id:"common.notSave"})}),(0,e.jsx)(U.Z,{onClick:()=>{var j=()=>{l.designId=a,l.changePage(a),d({type:"commondesign/setState",payload:{pageName:s.title||"\u7F51\u7AD9\u9996\u9875"}})};r&&r(),(0,ga.Jq)(l,j),A.destroy()},children:g.formatMessage({id:"common.save"})})]})]}),okText:g.formatMessage({id:"mack.dsl.v"}),cancelText:g.formatMessage({id:"common.goOn"}),onOk(){var j=()=>{l.designId=s.designId,l.changePage(s.designId),d({type:"commondesign/setState",payload:{pageName:s.title||"\u7F51\u7AD9\u9996\u9875"}})};(0,ga.Jq)(l,j)},onCancel(){l.designId=s.designId,l.changePage(s.designId)}});else l.designId=a,d({type:"commondesign/setState",payload:{pageName:s.title||"\u7F51\u7AD9\u9996\u9875"}}),l.changePage(a),r&&r();s.shareDesignId&&!s.paste?d({type:"commondesign/setState",payload:{pasteBloo:!0}}):d({type:"commondesign/setState",payload:{pasteBloo:!1}})},this.onSelect=t=>{var a=t.selectedKeys,s=t.key,r=t.item,l=t.domEvent,n=this.props.dispatch,d=ve()(l.target);(d.hasClass("selectEvent")||d.hasClass("openExpand"))&&(this.setState({selectedKeys:a}),n({type:"page/changeState",payload:{selectedKeys:a}}),s?this.changePageEvent(a,s,r,()=>{this.setState({folderSelect:a})}):this.setState({folderSelect:a}))},this.changePage=t=>{var a=this,s=this.props,r=s.dispatch,l=s.commondesign,n=l.mainDesignId,d=(0,F.lw)((0,F.Kd)());r({type:"commondesign/setState",payload:{designId:t,isResizer:!1}}),t==n?((0,se.Ec)(a,n),ae.ZP.success(d.formatMessage({id:"mack.dsl.w"}))):(0,se.UK)(t,a),r({type:"record/clear"})},this.copyEvent=t=>{this.item=t,this.setState({copyModel:!0})},this.settingMainEvent=t=>{var a=this.props,s=a.commondesign,r=a.globaldesign,l=r.isMobile,n=s.backvedio,d=s.bgObject,c=d===void 0?{}:d,h=s.pgObject,g=s.mainDesignDetail,A=s.headerSet,j=s.footerSet;this.setState({activeKeyFile:g&&g.import?"quote":"main",fileData:{fileName:g.importFileName,fileId:g.importSourceId},mainModel:!0,bgColor:s.bgColor,pgColor:s.pgColor,color:s.color,hoverColor:s.hoverColor,bgType:n?"video":"picture",bgRepeat:c.backgroundSize?fa(c):"tc",bgAttachment:c.backgroundAttachment?c.backgroundAttachment:"scroll",backvedio:n,bgPic:c.backgroundImage?c.backgroundImage.split("url(")[1].split(")")[0]:"",pgType:"picture",pgRepeat:h.backgroundSize?fa(h):"tc",pgAttachment:h.backgroundAttachment?h.backgroundAttachment:"scroll",pgPic:h.backgroundImage?h.backgroundImage.split("url(")[1].split(")")[0]:"",headerSet:A,footerSet:j},()=>{})}}componentDidMount(){var t=this,a=this.props,s=a.design,r=a.dispatch,l=a.commondesign,n=a.page,d=l.title,c=l.mainDesignId,h=l.designId,g=n.selectedKeys;g.length>0?this.setState({selectedKeys:g}):this.setState({selectedKeys:[c]}),parseInt(c)!==parseInt(h)&&this.setState({folderSelect:[h+""]}),this.getPageList()}componentWillUpdate(t,a){if(this.folderData!=a.folderData){var s=this.props.dispatch;this.folderData=a.folderData,s({type:"page/saveFolderData",payload:a.folderData})}}shouldComponentUpdate(){return!window.startMouseMove}renderMainTreeNodes(){var t=this.props.commondesign,a=t.importBloo,s=t.mainDesignId,r=t.designId,l=t.platformType,n=(0,F.lw)((0,F.Kd)()),d=()=>(0,e.jsxs)(Z.Z,{children:[r==s?(0,e.jsx)(Z.Z.Item,{onClick:h=>this.settingMainEvent(h),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(Ee.Z,{title:n.formatMessage({id:"menu.setting"})})," ",(0,e.jsx)("span",{className:"menuTitle",children:n.formatMessage({id:"menu.setting"})})]})}):"",a||l!=3?"":(0,e.jsx)(Z.Z.Item,{onClick:h=>this.copyEvent({designId:s}),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(He.Z,{title:n.formatMessage({id:"explorer.copy"})})," ",(0,e.jsx)("span",{className:"menuTitle",children:n.formatMessage({id:"explorer.copy"})})]})})]}),c=()=>(0,e.jsxs)("span",{className:"openExpand",children:[n.formatMessage({id:"mack.dsl.x"}),a&&r==s||!a?(0,e.jsx)(G.Z,{overlay:d(),trigger:["hover"],overlayClassName:Q().menuLiTitle,children:(0,e.jsx)("div",{className:"liTool",children:(0,e.jsx)("span",{className:"imgIcon",children:(0,e.jsx)("img",{className:"menuIcon",src:we()})})})}):""]});return(0,e.jsxs)(Z.Z.Item,{item:{mainDesignId:s,title:n.formatMessage({id:"mack.dsl.x"})},className:"selectEvent",children:[(0,e.jsx)("div",{className:"textIcon"}),(0,e.jsx)("span",{className:"imgIcon",style:{marginRight:4},children:(0,e.jsx)("img",{className:"menuIcon",src:Wa()})}),c()," "]},s)}renderPageList(){var t=this,a=this.state,s=a.selectedKeys,r=a.openKeys,l=this.props,n=l.page,d=l.design,c=l.dispatch,h=l.share,g=l.commondesign,A=g.importBloo,j=g.platformType,B=g.mainDesignId,C=g.designId,S=n.pageList,m=n.pageListObject,p=(0,F.lw)((0,F.Kd)()),E=i=>{this.item=i,this.setState({settingModel:!0})},y=(i,u)=>{var M=this,V=this.props.dispatch;fe(u?{title:p.formatMessage({id:"explorer.removeTitle"}),content:"".concat(p.formatMessage({id:"mack.dsl.y"}),'"').concat(i.designId,'"'),okText:p.formatMessage({id:"common.ok"}),cancelText:p.formatMessage({id:"common.cancel"}),onOk(){M.updateFolderState(i.parentId,i.designId,"delete")},onCancel(){}}:{title:p.formatMessage({id:"explorer.removeTitle"}),content:"".concat(p.formatMessage({id:"mack.dsl.y"}),'"').concat(i.title,'"').concat(p.formatMessage({id:"mack.dsb.a"})),okText:p.formatMessage({id:"common.ok"}),cancelText:p.formatMessage({id:"common.cancel"}),onOk(){V({type:"page/deleteCommonDesign",payload:{designId:i.designId},callback:xt=>{xt.success&&(M.updateFolderState(i.parentId,i.designId,"delete"),M.getPageList())}})},onCancel(){}})},D=i=>{this.item=i,this.setState({pageUrlBloo:!1,addModel:!0,pageTypeRadio:"new"})},x=i=>{i.share?fe({title:"\u53D6\u6D88\u5171\u4EAB",content:"\u82E5\u53D6\u6D88\u5171\u4EAB\uFF0C\u4F7F\u7528\u8BE5\u5171\u4EAB\u7684\u9875\u9762\u5C06\u4E0D\u80FD\u4F7F\u7528\uFF0C\u662F\u5426\u786E\u5B9A\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk(){c({type:"share/shareDesign",payload:{designId:i.designId,share:!i.share},callback:u=>{u.success&&t.getPageList()}})},onCancel(){}}):c({type:"share/shareDesign",payload:{designId:i.designId,share:!i.share},callback:u=>{u.success&&t.getPageList()}})},f=i=>{c({type:"share/shareDesignUpToDate",payload:{designId:i.designId},callback:u=>{u.success?(H.Z.success({message:"\u66F4\u65B0\u6210\u529F",description:"\u66F4\u65B0\u9875\u9762\u6210\u529F"}),C==i.designId&&(0,se.UK)(i.designId,t)):H.Z.error({message:"\u66F4\u65B0\u5931\u8D25",description:u.message})}})},k=i=>(0,e.jsxs)(Z.Z,{children:[(0,e.jsx)(Z.Z.Item,{onClick:u=>E(i),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(Ee.Z,{title:p.formatMessage({id:"menu.setting"})})," ",(0,e.jsx)("span",{className:"menuTitle",children:p.formatMessage({id:"menu.setting"})})]})}),(0,e.jsx)(Z.Z.Item,{onClick:u=>this.copyEvent(i),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(He.Z,{title:p.formatMessage({id:"explorer.copy"})})," ",(0,e.jsx)("span",{className:"menuTitle",children:p.formatMessage({id:"explorer.copy"})})]})}),i.paste?(0,e.jsx)(Z.Z.Item,{onClick:u=>f(i),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(De.Z,{type:"loading-3-quarters",title:p.formatMessage({id:"common.update"})})," ",(0,e.jsx)("span",{className:"menuTitle",children:p.formatMessage({id:"common.update"})})]})}):"",C!=i.designId&&!i.share?(0,e.jsx)(Z.Z.Item,{onClick:u=>y(i),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(Ye.Z,{title:p.formatMessage({id:"common.delete"})})," ",(0,e.jsx)("span",{className:"menuTitle",children:p.formatMessage({id:"common.delete"})})]})}):""]}),O=i=>{var u=C==i.designId&&he[0]!=i.designId?{color:"#1890ff"}:{};return i.share?(0,e.jsxs)("span",{className:"leftIcon",title:p.formatMessage({id:"mack.dsl.z"}),children:[(0,e.jsx)("div",{className:"textIcon"}),(0,e.jsx)("span",{className:"imgIcon",children:(0,e.jsx)("img",{src:at(),className:"menuIcon"})})]}):i.paste?(0,e.jsxs)("span",{className:"leftIcon",title:p.formatMessage({id:"mack.dsl.za"}),children:[(0,e.jsx)("div",{className:"textIcon"}),(0,e.jsx)("span",{className:"imgIcon",children:(0,e.jsx)("img",{src:Ya(),className:"menuIcon"})})]}):i.shareDesignId?(0,e.jsxs)("span",{className:"leftIcon",title:p.formatMessage({id:"mack.dsl.zb"}),children:[(0,e.jsx)("div",{className:"textIcon"}),(0,e.jsx)("span",{className:"imgIcon",children:(0,e.jsx)("img",{src:_a(),className:"menuIcon"})})]}):(0,e.jsxs)("span",{className:"leftIcon",children:[(0,e.jsx)("div",{className:"textIcon"}),(0,e.jsx)("span",{className:"imgIcon",children:(0,e.jsx)("img",{src:$a(),className:"menuIcon"})})]})},J=this.state,le=J.folderDeiginId,Y=J.folderData,Se=J.editFolderId,xe=J.folderExpandedKeys,he=J.folderSelect,w={folderMenu:(i,u)=>(0,e.jsxs)(Z.Z,{children:[(0,e.jsx)(Z.Z.Item,{onClick:M=>D(i),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(xa.Z,{title:"".concat(p.formatMessage({id:"common.appAdd"})).concat(p.formatMessage({id:"mack.dsb.a"}))})," ",(0,e.jsx)("span",{className:"menuTitle",children:"".concat(p.formatMessage({id:"common.appAdd"})).concat(p.formatMessage({id:"mack.dsb.a"}))})]})}),(0,e.jsx)(Z.Z.Item,{onClick:M=>w.addFolderEvent(i),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(Aa.Z,{title:"".concat(p.formatMessage({id:"common.appAdd"})).concat(p.formatMessage({id:"common.directory"}))})," ",(0,e.jsx)("span",{className:"menuTitle",children:"".concat(p.formatMessage({id:"common.appAdd"})).concat(p.formatMessage({id:"common.directory"}))})]})}),(0,e.jsx)(Z.Z.Item,{onClick:()=>w.editFolderEvent(i),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(ya.Z,{title:"".concat(p.formatMessage({id:"common.edit"})).concat(p.formatMessage({id:"common.directory"}))})," ",(0,e.jsx)("span",{className:"menuTitle",children:p.formatMessage({id:"common.edit"})})]})}),(0,e.jsx)(Z.Z.Item,{onClick:M=>w.deleteFolderEvent(i),children:(0,e.jsxs)("span",{className:Q().menuIconBox,children:[(0,e.jsx)(Ye.Z,{title:"".concat(p.formatMessage({id:"common.delete"})).concat(p.formatMessage({id:"common.directory"}))})," ",(0,e.jsx)("span",{className:"menuTitle",children:p.formatMessage({id:"common.delete"})})]})})]}),editFolderEvent:i=>{this.setState({editFolderId:i.folderId})},editBlurEvent:(i,u)=>{t.getFolderIdItem(u).folderName=i.target.value,t.setState({editFolderId:"",folderData:[...Y]}),t.updateFolderData(Y)},deleteFolderEvent:i=>{fe({title:"".concat(p.formatMessage({id:"common.delete"})).concat(p.formatMessage({id:"common.directory"})),content:"".concat(p.formatMessage({id:"mack.dsl.y"}),'"').concat(i.folderName,'"').concat(p.formatMessage({id:"mack.dsl.zc"})),okText:p.formatMessage({id:"common.ok"}),cancelText:p.formatMessage({id:"common.cancel"}),onOk(){var u=t.getFolderIdItem(i.folderId,!0).parentItem,M=t.getFolderIdItem(i.folderId,!0).itemIndex,V=t.getDesignIdArray(t.getFolderIdItem(i.folderId).children,!0);u.splice(M,1),t.setState({folderData:[...Y,...V]}),t.updateFolderData(Y)},onCancel(){}})},rendeTreeTitle:(i,u)=>Se==i.folderId?(0,e.jsx)(N.Z,{onBlur:M=>w.editBlurEvent(M,i.folderId),onPressEnter:M=>w.editBlurEvent(M,i.folderId),defaultValue:i.folderName,size:"small",style:{width:150},autoFocus:!0,maxLength:13}):(0,e.jsxs)("span",{className:"openExpand",title:i.folderName,children:[i.folderName+(i.children.length>0?"\uFF08".concat(i.children.length,"\uFF09"):""),(0,e.jsx)(G.Z,{overlay:w.folderMenu(i,u),trigger:["hover"],overlayClassName:Q().menuLiTitle,children:(0,e.jsx)("div",{className:"liTool",children:(0,e.jsx)("span",{className:"imgIcon",children:(0,e.jsx)("img",{className:"menuIcon",src:we()})})})})]}),renderPageTitle:i=>(0,e.jsxs)("span",{className:"openExpand",title:i.title,children:[(0,e.jsx)("span",{style:C==i.designId&&he[0]!=i.designId?{color:"#1890ff"}:{pointerEvents:"none"},children:i.title}),(0,e.jsx)(G.Z,{overlay:k(i,!1),trigger:["hover"],overlayClassName:Q().menuLiTitle,children:(0,e.jsx)("div",{className:"liTool",children:(0,e.jsx)("span",{className:"imgIcon",children:(0,e.jsx)("img",{className:"menuIcon",src:we()})})})})]}),renderTreeNodes:i=>i.map((u,M)=>{if(u.children)return(0,e.jsx)(Be,{title:w.rendeTreeTitle(u,M),item:u,selectable:!1,children:w.renderTreeNodes(u.children)},u.folderId);if(le==u.designId)return(0,e.jsx)(Be,{title:u.designId,value:u.designId,style:{display:"none"}},u.designId);if(m[u.designId]){var V=m[u.designId];return V.parentId=u.parentId,(0,e.jsx)(Be,{title:w.renderPageTitle(V),item:V,icon:O(V),isLeaf:!0},V.designId)}else return(0,e.jsx)(Be,{title:(0,e.jsx)("span",{onClick:()=>y(u,!0),children:u.designId}),item:u,isLeaf:!0},u.folderId||u.designId)}),renderMainTreeNodes:()=>{},onExpand:(i,u)=>{var M=u.nativeEvent&&u.nativeEvent.target.className||"";(M=="openExpand"||typeof M=="string"&&M.indexOf("ant-tree-switcher")>-1)&&this.setState({folderExpandedKeys:i})},addFolderEvent:i=>{var u=Y;u=t.getFolderIdItem(i.folderId)&&t.getFolderIdItem(i.folderId).children||Y;var M=u[0]&&u[0].folderId?parseInt(u[0].folderId):i.folderId+"0";u.splice(0,0,{folderId:M+1+"",folderName:"\u76EE\u5F55\u540D\u79F0",children:[]}),t.setState({folderData:[...Y]}),t.updateFolderData(Y),setTimeout(function(){t.setState({openKeys:[i.folderId]})},0)},renderMenuNodes:i=>i.map((u,M)=>{if(u.children&&u.children.length>0)return(0,e.jsx)(va,{title:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"textIcon",children:[(0,e.jsx)("img",{src:pt(),className:"closeFolder"}),(0,e.jsx)("img",{src:ct(),className:"openFolder"})]}),(0,e.jsxs)("span",{className:"imgIcon",children:[(0,e.jsx)("img",{className:"menuIcon closeFolder",src:pa()})," ",(0,e.jsx)("img",{className:"menuIcon openFolder",src:ha()})]})," ",w.rendeTreeTitle(u,M)," "]}),children:w.renderMenuNodes(u.children)},u.folderId);if(u.children)return(0,e.jsx)(va,{title:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"textIcon"}),(0,e.jsxs)("span",{className:"imgIcon",children:[(0,e.jsx)("img",{className:"menuIcon closeFolder",src:pa()})," ",(0,e.jsx)("img",{className:"menuIcon openFolder",src:ha()})]})," ",w.rendeTreeTitle(u,M)]})},u.folderId);if(m[u.designId]){var V=m[u.designId];return V.parentId=u.parentId,(0,e.jsxs)(Z.Z.Item,{className:"selectEvent",info:V,children:[O(V)," ",w.renderPageTitle(V)," "]},V.designId)}})},Ce=i=>{this.setState({openKeys:i})};return(0,e.jsxs)(Z.Z,{mode:"inline",selectedKeys:s,onSelect:t.onSelect,openKeys:r,onOpenChange:Ce,children:[t.renderMainTreeNodes(),w.renderMenuNodes(Y)]})}renderBottomBtn(){var t=this,a=this.state.folderData,s=this.props.commondesign,r=s.importBloo,l=(0,F.lw)((0,F.Kd)()),n=()=>{this.item={folderId:""},t.setState({pageUrlBloo:!1,addModel:!0,pageTypeRadio:"new"},()=>{})},d=()=>{var g=a[a.length-1]||{folderId:"10000",folderName:"\u4E8C\u7EA7\u9875",children:[]},A=Date.now()+"";a.push({folderId:A,folderName:"\u76EE\u5F55\u540D\u79F0",children:[]}),t.setState({folderData:[...a]},()=>{ve()("#page").scrollTop(ve()("#page .ant-menu").height())}),t.updateFolderData(a)},c=()=>{(0,se.gE)(t),this.setState({drawerVisible:!0})},h=()=>{this.setState({drawerQuestionVisible:!0})};return(0,e.jsxs)("div",{className:Q().bottomBtn,children:[(0,e.jsxs)(mt,{children:[(0,e.jsx)(U.Z,{size:"small",onClick:g=>n(),title:"".concat(l.formatMessage({id:"pages.searchTable.new"})).concat(l.formatMessage({id:"mack.dsb.a"})),children:(0,e.jsx)("img",{className:"iconImg",src:lt()})}),(0,e.jsx)(U.Z,{size:"small",onClick:g=>d(),title:"".concat(l.formatMessage({id:"pages.searchTable.new"})).concat(l.formatMessage({id:"common.directory"})),children:(0,e.jsx)("img",{className:"iconImg",src:ot()})}),!r&&(0,e.jsx)(U.Z,{size:"small",onClick:g=>c(),title:l.formatMessage({id:"mack.dsl.zd"}),children:(0,e.jsx)("img",{className:"iconImg",src:dt()})})]}),!r&&(0,e.jsx)(U.Z,{size:"small",onClick:g=>h(),title:l.formatMessage({id:"explorer.editor.shortcut"}),style:{float:"right",fontSize:18,marginRight:10,color:"rgba(0, 0, 0, 0.65)"},children:(0,e.jsx)(ja.Z,{})})]})}renderDrawer(){var t=this.state.drawerVisible,a=(0,F.lw)((0,F.Kd)()),s=()=>{this.setState({drawerVisible:!1})};return(0,e.jsx)(ye.Z,{title:a.formatMessage({id:"mack.dsl.zd"}),placement:"right",width:"100%",onClose:s,open:t,getContainer:!1,style:{position:"absolute"},children:(0,e.jsx)(T.Suspense,{fallback:(0,ca.Z)(),children:(0,e.jsx)(ht,{})})})}renderQuestionDrawer(){var t=this.state.drawerQuestionVisible,a=(0,F.lw)((0,F.Kd)()),s=()=>{this.setState({drawerQuestionVisible:!1})};return(0,e.jsx)(ye.Z,{title:a.formatMessage({id:"explorer.editor.shortcut"}),placement:"right",width:"100%",onClose:s,open:t,getContainer:!1,style:{position:"absolute"},children:(0,e.jsx)(T.Suspense,{fallback:(0,ca.Z)(),children:(0,e.jsx)(ut,{})})})}render(){var t=this.props.globaldesign,a=t.version,s=t.isMobile,r=this.state,l=r.mainModel,n=r.copyModel,d=r.addModel,c=r.settingModel,h=r.shareModel,g=r.style,A=g===void 0?{}:g;return(0,e.jsxs)("div",{className:Q().PageBox,style:A,children:[(0,e.jsxs)("div",{id:"page",className:a,children:[(0,e.jsx)(Me.Z,{spinning:this.props.loading,children:this.renderPageList()}),this.renderBottomBtn()]}),this.renderQuestionDrawer(),this.renderDrawer(),d&&(0,e.jsx)(Pa,{parentState:this.state,parent:this}),n&&(0,e.jsx)(Za,{parentState:this.state,parent:this}),l&&(0,e.jsx)(Ca,{parentState:this.state,parent:this,isMobile:s}),h&&(0,e.jsx)(Ka,{parentState:this.state,parent:this}),c&&(0,e.jsx)(ka,{parentState:this.state,parent:this})]})}})||ma),ft=vt},19569:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAACR0lEQVQ4T42US08TURTH/3emnb6HWoq0tVhw4QewCRpjhIigbWiXJKalC+PKL6Bb4wI37lyxM3GjCxcmxoU7Ek1MBIyACxdGDSS+ghaUdnofx9xpaaFKw2Qyj3vP+Z3/ecwwtI760/snLcMzT8Do7lqPewNEt818+S7bNaLnj24q3pgDay/15hD9MvPlI21r5/H8DSsWvwMpO45SQu1934+sm7lSgC1fyV8jJU8F4/FsKJkcpZYDSQFfOoO+VAJeg8CY0a2oZuZKQfa2UvgWDvgGSCqQ0tGbolS9BvtiAeHsaZgf38HymuhKrwlYrRS3+sL+CNH+AFSvITJZQHTmKn4vvkTg+ycY5j4VbUDVDvntbn1aQfj8FGKV6+7Wn9cv4N9ch4F2pN4AEgLm0SQik0WY/QOQjgNnbRHxRAykXEhvgLbQBZWCAx4LQkpYx4aQGTsH1eCHAzTTIvcUnIMNpjA8Md4D0F1J7d8arDbgwtj/AD5b52UEgiDegDeVgfi6AWo4bskYYx0F/wBmi1XbDtrW8ROw0sOorS0hdHYC4ss65FYVzof3Wj+EEM0UOoDmJK6Wp6vR/qgdODMO3Xs9gernD7BQBJ6BBHZeLUBuVyGlOgBQKVbtoGVrrd6hEXhTadRWluCJD4JvfAYJDmaa3Snoaj3w5EoVtjJb3I5GAmFSym2b4feDOHeftaMuoh5uzjkQH1wYuTQ1h/oOB7OW2eWZTfamPP3EYxjjzX7pK3XPvNsLUuQ0uLiVffjs3t6pPeTHf/Cv4S81tyEiHrSO4QAAAABJRU5ErkJggg=="},61495:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAYAAAA1BOUGAAAARklEQVQYV2M8c+bMAxMTE0UGBob/DGiA8cyZMzDBRSYmJvHI8siSYPH///9HmZqaLgexMSShOv+zsLDIkiaJy1isDsLpFQCCfi0fKbFxaQAAAABJRU5ErkJggg=="},25859:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAYAAAAmlE46AAAA+ElEQVQ4T2Pc6WV/WVNeXIcBD+DKq3stoqkjhqyE8VFm2H98mkBystNWMrw4ffKypJmFHkwt0RpBGu5s2nBQ1T/QAcQmSSNIw6W5s1bop6RHEqWRxyuEQdAnFO6jsxN764nSCNLx++cPht8/fsA1E60RPQAHkUYWYTGGP29f4YxiDKcKpxYxvJ3dxyBe3cXw/8cPhlcTGhkY/v7FMACukV1Dl4FFSITh67H9YEUsEtIMf148ZWCRlGHgsXFh+LB6AYpmTBuT8hj+vH3N8HHjcgbRvBqG11PaGBj+/cNtI7IMi6gEw5/XL/AmYfKjg5hshW71tYevLgIAdpVuoDhA/ogAAAAASUVORK5CYII="},79257:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAQCAYAAADNo/U5AAAA5klEQVQ4T93TS04CQRAG4L9KlB5IhMgpiEpCWKgrT+BKj0xcQACdBM5g4jwcnUczLdWmAy6Bdmvtv9SbssVDwnymQISDYS2sXcc1cEufr491+2J0StwEIHscw8oaRTJNG9AD+gqfynbvLqATBdg9iBh2o5FH48hAD3foJiBWRzI59PzPUI38fRyVRXHpOQiCfOfI40nCZO490G5H8cQtVyDy5oVkU6JMZlCdPnS2qv1RukCrO0CVvlR/QkHnCvoj/EUHzogY2/LmaHWvt5mOH6xDGlUWQp27npaGvF7DvYUYEDcgYvQP5sfXnqkBPToAAAAASUVORK5CYII="},5844:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAADQElEQVQ4T42UT0zcRRzF35sdV0y3Xa3SBGJsL4ZUqok9eKkoapSDHrTKQaOn6tqqW28ICYHhxJ/ES0Vb13ioiR6k8VBPHjALtZKYGJNGemiI0UPhoFldFlPY3/zmmaE/DYXVOsffb+bN+87nfb/Evy8ODQ3ttdY+AaCUbat472fHx8drANTqKFt85Ojo6G5JPZJeB/CIpD1xH8lVAPMkPyR5YWxsrLFdeKtgSyGSN1wqSX8LS6rkcrn5rcIslUq3dHZ27gohHNnqaLvQ9kq2C1trv1leXv6TIyMjT0o6KelRAIWbCbUSBrBGco7kKQ4PDz9FsgzgCIBdAPL/AWrHL0kJyTUAFyW9t1lyR0fHbd77PmPM25IOA2j7H06DpGsAfjDGnCL51crKyjU65/Le+/0k3wLwLIDzkg6QfFhSsRUUAKsk5yV9D+AFklVJ0/V6/edY8ijJYwD2AahLOtZsNufy+XwPyRMAYny2xuaCpNPW2vk0TR8E8BmAdgC/ATgbBS8BOJQ5+cJ7P7SwsPBTtVr1AwMDu9va2nolvZbl8KP19fXq1NRUo7+/P9fV1RUrGY8uJcWcXomU+0IIx0n2AMgBuCrpY2vtp/FW51xwzhWioHNuzTlnNjY27rTWviipRPJuAGkG5cxmaOOBNE2fkfQOyfsAxAe/QvL9XC53zjn3e9w3ODh4u7X2KMk3ARy8nnFeDiG8myTJ+eic5XL51mKxeE8G5bkQwqwx5iCA++OBjOIHMciSTpA8nAldkvQtyT4AX++AImkfyTrJVxuNxsVCoXAUwEkA90bHWQCNpKXM+edJkhwyxsSnuTmU3t7eKHJXmqYvAzgeZ0Ps3RDCJ/l8/tfFxUV2d3fvT9N0YgeUWAqAxwBYAL8AiE0f4xCjYGJLZg5jR8SL9qZp+hKAOI0OAPAA5iRdh1Iul/cUi8XHScYSH4q0IxRjzHSz2Tw3MTHxRysomfh3seWSJJmdnJxcvWF8OeeKIYSnJZUlPZC5iq3VCsqPAKaTJPkyu3Bz4O4YsFnO7rDWPg8gtmMrKKe99zNLS0u1mZmZmMF/VquJvfkzDo329vZOY8wrAN7IoJzx3p+t1WpXK5VK0moq/QWmPuO6VSQtGAAAAABJRU5ErkJggg=="},8502:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABA0lEQVQ4T82STU4CQRSEXzWEE8jeBA/gRlzMbNnBNYhXaEg0EZnmBiy4BYk7VjIjJi48gInu9QQaeWWmwz8zCKzsXb+q+pJXeZCc5xLeibCdyiRvW2HhJsuKrGE3nkYGsGsa0bEhrjf9WwAX80rAfhaYos1WUBysamuA3oQNKod5a6VzFa23g+L93LMARGNewvBpV3ip/VRtUHpO/x7gHnkm5Ot+4ZmrhIq9wBuiB5ZR4MdB4Zn56xtluER5THjRgUt0KiLmSIj6DroJz43w5RCIDYzP7gRQ6Y8JBm4Tvhdgbsrq6Z8B3ISnonzP2/PPFfw1xvopkJNVSG4HlJENTS31/gJhNXnzHsUCZwAAAABJRU5ErkJggg=="},42396:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAADCAYAAAB1c+RqAAAAPUlEQVQYV42OwQ0AIAgDvRF1B9gJ2EFHxJeJDxPp99JrEZEJ9MxcETHalSpDVfP03J1bUmWcNWCZ2fPJj23vfSz1b1O4JwAAAABJRU5ErkJggg=="},27923:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAACk0lEQVQ4T41UPWhTURT+vndvaAL9sU0JuAUtCmauugkuFgdHQVycugktYmkhkduKbQqFFjtJUQQHN8VFdBKkKDo6ZRDBIsEl2taYviTv5cgpL+Ulbahneu/ec7/7ne9857JQKDwDMA4gKyIeYkFSAHwNw/DG4uLil/her28WCoXPAHIiUo8A4rlGRAY9z3taq9Vur6ys/D0OVAFrAPZE5GIYhr/iB6y1YyLyEkA/gFvW2teVSkVZd0Q6naaur6+v1xWwCWDHGDPmnNuOZ05OTiYymcwMgALJnwBeicgegA5p9N/zvGqr1dpkPp9vkPwTBMGZpaWlSvftc3NzaWvtQwDXdE9EhGR3GkUkQfL7sYB6cnZ2djiRSFwRkdNUoUUOyiYZkhwUkbvK9L8A23Scc7a73HK5LKOjoyPGmE3Vug24a4w55/t+k2S3PgfliUirWCyqzocaMz09PZJMJqlNqQPYFZGbJNdEJBNpdEgoANvGmHHnXIcbOrwbAap1Hmg3ASTURj38Fgekc25I85xzO23WWrKvworIC5ITIrJWr9cfW2vVTh3h+76srq7+1sPOuRNhGL7RBGPMRNtyWrKa2pAsAThJ8vrCwsK74yZCAYMg+KZ51tpTcUAtNwlAGVU8zzs/Pz//owcgp6amhlKplDHGjJD8FHnzgk6ZNq09eqlo40Oz2by6vLysmhyKiNVbkjqSasl9DUVkJ7Jneb/kGMNHxpg7zrlGD8D+IAgU8Ky+TL0AdwEMAPBbrdb9RqPx5KiG6AV9fX06JclqteqnUqnhI0vO5/MfSV6IqNdIqi+PDBHRMdsolUr3crncQK+mPAdwWVlGD2zPSYnmdmNra2smm80mwzB8rzc3m81LxWJR7YR/btdy+svCO+kAAAAASUVORK5CYII="},21625:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAArElEQVQ4T2NkwAHKy8v52djYVoKkf/36Fd7Z2fkRm1JGXAZUVlYKs7Cw3ALJ//nzR629vf3tSDOgoaFB4M+fP3dA/mZhYVFpaGj4gDUMQKHNxMTEgi7JzMwsxMDAcBIqbv7379936Gr+/fv3h7GmpmYnIyOjCbrk////GRkZGflB4v/////IyMj4H4sLzlBqwFlGir2AKyERHYijKZEBZ25Eys6Mv379CsOVnQEdl4taFMLb4QAAAABJRU5ErkJggg=="},45787:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAQCAYAAADNo/U5AAAA5klEQVQ4T93TS04CQRAG4L9KlB5IhMgpiEpCWKgrT+BKj0xcQACdBM5g4jwcnUczLdWmAy6Bdmvtv9SbssVDwnymQISDYS2sXcc1cEufr491+2J0StwEIHscw8oaRTJNG9AD+gqfynbvLqATBdg9iBh2o5FH48hAD3foJiBWRzI59PzPUI38fRyVRXHpOQiCfOfI40nCZO490G5H8cQtVyDy5oVkU6JMZlCdPnS2qv1RukCrO0CVvlR/QkHnCvoj/EUHzogY2/LmaHWvt5mOH6xDGlUWQp27npaGvF7DvYUYEDcgYvQP5sfXnqkBPToAAAAASUVORK5CYII="},12013:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAYAAAA1WQxeAAAAfklEQVQYV2PM3fPjIQMDgxwDdvCIkYHhP2Punp//sMlPdmFnYgRJ5O7+uYiB8X8siqL/jIsnu7LHgRWAFe358R9ZwWQXDrAcXEHO7p9RjIz/l4IE//9njJ7iyr4MRQHUlL//GRgYp7hwMMFMg5sAVrDtmwwDJwPDZEeuJzAFAM5jJQrDpRACAAAAAElFTkSuQmCC"},68721:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAC2klEQVQ4T22Uy08TURTGv3PvzHRaoDwK1AQ1EjAmoqi4cSNqIC5ZuiIxGldqXJJoXPmIwT9AN4a4EE1YujOKIrI0aDQgiYivEGyhgLWP6TzuMXfaEkBPMjO5N3O/8/vOOTOE/8TRt2x62VSPlGLQZ/SBeTdAAPF3g+hloORosPxreuZMl7v9OG3f6PzMkbqllXNQfK0pwsnfHlmKwfo9QaAGi91MSaTA6s6fttaR+b1U2qyxVZBZHn6dOm8b4o5iNLXHQFIAChVBgBQDC3lAglfzioY+9LY8BFFQFd0ieGA81WFIemYJdOypAdsSpNEUMwSRNh1GSQFfc4AT8BcOcPpjf3LhX8Exlt2ty5cSEQwnI7AtUcbSIrYgOIo1abjWl6uAFYdLqy7dUGzee3+qcV2Lhkm7ZtiSqdQRyxDDO2PojRtlMo8ZCVPg/K44Rn5mkfEUTCpz6nsxAKcc5LMeP3eJbs6eaH1H+6aW66IBX2HG5R02WpojkILKdJpqhyVxvbMBt+bX8csNQtqqdVdB/cijUGMgtubhfZFxgXom05dtgZs+o769BogIkLYmABgCiEuBoY4G3P2yjmyg4KuwSaGoblbAYAJE2iE/4/IodU+kpy1C955aiKgsJ/eZETcEBttqseIqHG+M4M1aCc2WwKPFHLK+grHJusvg+T/gUoA0HZxIZw2C01lLjbZkQwsGDJgE9DbZGEjG0GRJrLoBnqYKmFx14DEgK771w2PwXBYIFDuacNEk1O+NI2oRRDjB4agAutMnEzb6ElGMZ4qYyDhhd3WNNzpaac5CDuQyz9KhV+kHCRtnkzZCOkN/YVXRyjoqCEXF8LlcWx06sXbiKfDPQniukFO4TV0vlvZHLXm/zuRjBZ+s3THArMxglbQ62JvJtO1vuVCUbcH5oqKxwFFXQ5juqeV95PNFZh4wBZJUKfh//hsbW5rQVVQC8ych8bjkuk/m+ndm/gKLr04NZOjOqgAAAABJRU5ErkJggg=="},66843:function(I){I.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAC3ElEQVQ4T22US28URxSFz63q7ukZP7A92IPEQyAbIcXEJLBhgxMEYskyK6QoKCtAWSKBsgogBD8ANghlgUHyMrsoMZjHMiIIxEPCOAkIwYw9xhnm0dPdVQdVMxNsQm261H3vV+fec7sEn1i7/qCf1Mo7tVaHUmIfyE2AAMJ/PJHrxuops/D67sNvxuOP0+XjF2NPmet7tfgdLE8O5Vj6N5HAEnRxSiADAeNqW5VBe/bt+pHLc1ulvZKxGkjqL26WD4eeOmuJoS0FiFaARQcIiCUw3wA0uNSwcvz+5PDPEDFd6Crg9pnyqKfl10BhdHMPGGqIBWBJKBGoTlbbAn/VgcjwGQ0OPNhfmv8/cJp6YmThaDGHc6UcwkABhoAnQF4LWoZImZXtuonYAosR20ux/GTpX7i3d3DZQTOF4w8Z6HL5y8BT5zYUMNnvQRzMQb8uhthXzGOm2sJsNcpAXWjLgOUIjVrC32KRU4++GvlTtt1Z6Msb/kDi2LoQw2tz0O4Qp2xyKMTBUgFDvsZSYvBLuYlbS9F/SmML+7yBZo+HwpsE91rE97LzVuVYqHAqJdZs6QFyCpKS6PMUDq3vxWJssWcwh9tv2lgbKFx5WUcttfBEMrMMQQFUJZK0GnNKJmYrdwPBxOZeqLx+3wI3I84ATwH9WuH46ADOP1tGzVikNnP9fWDnGROcewu2DSry+Wyl5gmisV4ZDDW9rlsOGlliXaDx49gATs8t43VsELphXDF4bp8QfFIDjGXkFL70BWu29iMfCFQ2wZ2VkCj6Coc39uPyixqqiYUvH3DdnTNnvg6JyUey40blUjHEt6UQmTpnRjewW3qoxc3cqlLdNzcJiQVfNLO8Zt3ijIz//uqzfKAv9vnc3Uwl2FQAfNX5NToNNSS0U9Y5qVMm/q5nUIaKjZaVaRPZE1nIxJ2FbZLyCMmDvkJJVpT1qcuja1xspQ3ysdK42o7ja0/2b6i+A6vcSw3B2d0nAAAAAElFTkSuQmCC"}}]);