filesbox/web/dist/p__Setting__Custom__desktop...

2 lines
28 KiB
JavaScript
Raw Permalink Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[85096],{70781:function(L){L.exports={searchMoreBtn:"searchMoreBtn___AnOKm",formCol:"formCol___P7fzw",rowForm:"rowForm___1xJOk",btnBom:"btnBom___2NEB0",addBtn:"addBtn___3GXrl",addmodule:"addmodule___2hxgp",addversion:"addversion___Odzd9",metapadd:"metapadd___1YsLm",showhidebtn:"showhidebtn___8WZNF",addbox:"addbox___3ed03",adddesignversion:"adddesignversion___3lBrX",tabsBbox:"tabsBbox___1J5NO",cardbox:"cardbox___2oCrL",hides:"hides___26W1E",designLib:"designLib___3jY4G",rowForm_lu:"rowForm_lu___h0VXx",radioNav:"radioNav___260Cs",cardList:"cardList___3hWNF",cardItem:"cardItem___1B12E",right:"right___235k4",free:"free___2E5zF",price:"price___HpXmT",cardMask:"cardMask___dDjLD",box:"box___1L28N",center:"center___Cuvdo",footer:"footer___nHtV9",nor:"nor___YBnoA",dan:"dan___1SecF",designBuy:"designBuy___3ty1-",payBox:"payBox___H7Bpz",col:"col___1pmr1",addPictureAll:"addPictureAll___2jL94",addPictureContent:"addPictureContent___3PG9P",setoneflex:"setoneflex___iet32",jiaBut:"jiaBut___3gC8y",addBorderHover:"addBorderHover___2b8NR",showFiveCount:"showFiveCount___3ppvA",showColor:"showColor___2ADbY",clearBack:"clearBack___RJeP9"}},65178:function(L,T,r){"use strict";r.r(T),r.d(T,{default:function(){return de}});var ce=r(13062),B=r(71230),he=r(59250),R=r(13013),me=r(89032),S=r(15746),ue=r(58024),F=r(91894),ve=r(30887),Z=r(28682),ge=r(43185),G=r(11324),v=r(11849),pe=r(47673),Q=r(4107),fe=r(74379),O=r(38648),xe=r(34792),z=r(48086),ye=r(71194),w=r(50146),Ze=r(18106),$=r(95562),je=r(9715),P=r(55843),H=r(67294),_=r(28216),ee=r(7085),D=r(49101),K=r(54977),W=r(99165),E=r(73171),k=r(8812),Y=r(44545),te=r(70781),g=r.n(te),se=r(55761),ae=r(1085),ie=r.n(ae),U=r(37406),re=r(93997),ne=r.n(re);function X(n,t){var s=window.cdnPath;return n?n.replace(/(^\s*)/g,"").indexOf("http")!=0&&n.indexOf(s)<0&&n.indexOf("data:image")!==0?s+n:n:""}function be(n){for(var t=document.cookie,s=t.split("; "),a=0;a<s.length;a++){var o=s[a].split("=");if(o[0]==n)return o[1]}return""}function Ae(n,t){var t=t||window.location.href,s=t.split("?");if(s.length==1)return null;for(var a=s[1].split("&"),o={},c=0;c<a.length;c++){var h=a[c].split("=");o[h[0]]=h[1]}return o[n]?o[n]:""}function Ce(n){var t=document.location.href,s=t.indexOf(n+"=");if(s==-1)return!1;var a=t.slice(n.length+s+1),o=a.indexOf("&");return o!=-1&&(a=a.slice(0,o)),a}function ze(n){var t=n%60,s=parseInt(n/60)%60,a=parseInt(n/60/60),o=t<10?"0"+t:t,c=s<10?"0"+s:s,h=a<10?"0"+a:a;return a?h+":"+c+":"+o:c+":"+o}function Ne(n){return!!(n.playLength||n.liveLength)}function Ie(n){switch(parseInt(n.courseWareType)){case 0:return!1;case 1:return!0;case 2:return!0;case 3:return!0;case 4:return!0;case 5:return!0;default:return!1}}function Me(n){var t=n||document.documentElement,s=t.requestFullScreen||t.webkitRequestFullScreen||t.mozRequestFullScreen||t.msRequestFullScreen;if(s)s.call(t);else if(typeof window.ActiveXObject!="undefined"){var a=new ActiveXObject("WScript.Shell");a!=null&&a.SendKeys("{F11}")}}function Se(){var n=document,t=n.cancelFullScreen||n.webkitCancelFullScreen||n.mozCancelFullScreen||n.exitFullScreen;if(t)t.call(n);else if(typeof window.ActiveXObject!="undefined"){var s=new ActiveXObject("WScript.Shell");s!=null&&s.SendKeys("{F11}")}}var N=r(30672),e=r(85893),q,J,V=P.Z.Item,Le=$.Z.TabPane,M=w.Z.confirm;function le(n,t){var s=new FileReader;s.addEventListener("load",()=>t(s.result)),s.readAsDataURL(n)}function oe(n){var t=n.size/1024/1024<2;return t||z.ZP.error("\u4E0A\u4F20\u56FE\u7247\u5927\u5C0F\u4E0D\u8D85\u8FC7 2MB!"),t}var de=(q=(0,_.$j)(n=>{var t=n.loading,s=n.custom;return{loading:t.effects["custom/fetch"],loadingAdd:t.effects["custom/addFetch"],custom:s}}),q(J=class extends H.Component{constructor(){super(...arguments);this.state={visible:!1,imageUrl:"",pcData:[],mobileData:[],visibleCropper:!1,uploading:!1,fileList:[],cropperimg:"",cropperfilename:"",isActiveNum:window.location.hash.indexOf("deskone")>-1?"1":"2"},this.clientType=1,this.formRef=H.createRef(),this.handleCroppershow=()=>{this.setState({visibleCropper: