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.
1 line
19 KiB
1 line
19 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[96444],{36579:function(e,t,i){i.d(t,{Z:function(){return j}});var n=i(42122),a=i.n(n),o=i(17061),l=i.n(o),s=i(17156),c=i.n(s),r=i(27424),d=i.n(r),u=i(67294),f={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},_=i(71577),p=i(77171),v=i(8691),m=i(83062),x=i(29427),h=i(51412),g=i(82982),b=i(59758),y=i(85893),j=function(e){e.editOffice;var t,i,n,o,s,r,j,w=e.data,k=(e.theme,e.type),N=e.filename,D=e.monacoEditor,I=e.className,Z=e.style,S=e.close,E=e.onClose,V=e.hasMask,R=e.disabledDownload,P=e.onImgDimensions,C=e.showNodata,B=(0,u.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),L=d()(B,2),T=(L[0],L[1],(0,u.useState)("")),z=d()(T,2),A=(z[0],z[1]),F=(0,u.useState)(),W=d()(F,2),q=W[0],U=W[1],H="build"===window.ENV?"/react/build":"",O=location.host.startsWith("localhost")?b.Z.PROXY_SERVER:b.Z.API_SERVER,G=(0,u.useRef)();null!==(t=w)&&void 0!==t&&t.startsWith("/api")&&"txt"!==k&&(w=b.Z.API_SERVER+w),N&&(D.filename=N),(0,u.useEffect)((function(){var e,t,i=null===(e=document.cookie)||void 0===e||null===(t=e.replace(/\s/g,""))||void 0===t?void 0:t.split(";");null==i||i.map((function(e){var t=e.split("=");"_educoder_session"===t[0]&&A(t[1])}))}),[]),(0,u.useEffect)((function(){"office"===k&&J()}),[k,w]);var J=function(){var e=c()(l()().mark((function e(){var t,i,n;return l()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=w,w.startsWith("http")||(t=location.origin+t),i=new URL(t).pathname.split("/").pop(),e.next=5,(0,h.gJ)({attachment_id:i});case 5:n=e.sent,U(n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),X=function(){M()},M=function(){(0,x.Nd)(N||"educoder",decodeURIComponent(w))};return(0,y.jsxs)("div",{style:a()({},Z||{}),className:"".concat(V&&f.bgBlack," ").concat(k?f.wrp:"hide"),children:[S&&(0,y.jsxs)("div",{className:f.close,ref:G,children:[!!P&&(0,y.jsx)(m.Z,{title:"点击对图片进行批注",getPopupContainer:function(){return G.current},children:(0,y.jsx)("span",{onClick:function(){E(),P()},children:(0,y.jsx)("i",{className:"icon-yulanpizhu"})})}),!R&&(0,y.jsx)(m.Z,{title:"点击下载此文件",getPopupContainer:function(){return G.current},children:(0,y.jsx)("span",{onClick:M,children:(0,y.jsx)("i",{className:"icon-quxiaozhiding"})})}),(0,y.jsx)(m.Z,{title:"关闭",getPopupContainer:function(){return G.current},children:(0,y.jsx)("span",{className:"",onClick:E,children:(0,y.jsx)("i",{className:"icon-guanbi1"})})})]}),(0,y.jsx)("div",{className:"".concat(f[I]," ").concat(I," ").concat(f.monaco," ").concat("txt"===k?"show":"hide"),children:"txt"===k&&(0,y.jsx)(v.ZP,a()({},D))}),"audio"===k&&(0,y.jsx)("audio",{src:(null===(i=w)||void 0===i?void 0:i.indexOf("http"))>-1||null!==(n=w)&&void 0!==n&&n.startsWith("/api")?w:"data:image/png;base64,".concat(w),autoPlay:!0}),"video"===k&&(0,y.jsx)(y.Fragment,{children:(null===(o=w)||void 0===o?void 0:o.indexOf("http"))>-1||null!==(s=w)&&void 0!==s&&s.startsWith("/api")?(0,y.jsx)("video",{controls:!0,src:"".concat(w),autoPlay:!0}):(0,y.jsx)("video",{controls:!0,src:"data:video/mp4;base64,".concat(w),autoPlay:!0})}),"office"===k&&q&&(0,y.jsx)("iframe",{src:"https://preview.sysu.edu.cn/op/view.aspx?src=".concat(O+q.url)}),"html"===k&&(0,y.jsx)("iframe",{src:w+"&disposition=inline"}),"pdf"===k&&(0,y.jsx)("iframe",{src:"".concat(H,"/js/pdfview/index.html?url=").concat(w,"&disabledDownload=").concat(!!R)}),"image"===k&&(0,y.jsx)("img",{src:(null===(r=w)||void 0===r?void 0:r.indexOf("http"))>-1||null!==(j=w)&&void 0!==j&&j.startsWith("/api")?w:"data:image/png;base64,".concat(w)}),("other"===k||"download"===k)&&(0,y.jsx)(y.Fragment,{children:C?(0,y.jsx)(g.Z,{customText:"当前文件不支持预览,可点击下载查看",ButtonTwo:(0,y.jsx)(_.ZP,{icon:(0,y.jsx)("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:X,children:"下载"})}):(0,y.jsxs)(_.ZP,{type:"primary",size:"middle",onClick:X,children:[(0,y.jsx)(p.Z,{}),"点击下载"]})})]})}},61891:function(e,t,i){i.d(t,{Z:function(){return a}});var n=i(67294);function a(e,t){var i=(0,n.useRef)();(0,n.useEffect)((function(){i.current=e})),(0,n.useEffect)((function(){if(null!==t){var e=setInterval((function(){i.current()}),t);return function(){return clearInterval(e)}}}),[t])}},37866:function(e,t,i){i.r(t),i.d(t,{default:function(){return H},formatQuery:function(){return U}});var n=i(17061),a=i.n(n),o=i(17156),l=i.n(o),s=i(42122),c=i.n(s),r=i(70215),d=i.n(r),u=i(67294),f=i(88275),_=i(57953),p="bg___eq_Aq",v="container___j770l",m="widthle___ouh1T",x=i(19575),h=i(8423),g=i(14446),b=i(91708),y=i(47897),j=i(32983),w={contentWrap:"contentWrap___xMJQi",title:"title___z4t4P",footer:"footer___CLzrT",footer_left:"footer_left___N2sZZ",footer_bfcs:"footer_bfcs___UmvUE",footer_bfcs_value:"footer_bfcs_value___yiYga",pingfen:"pingfen___aEEMe",fenshu:"fenshu___I6HCo",radioGroup:"radioGroup___RT1dL",wrap:"wrap___QZGSJ",introName:"introName___m17tA",rating:"rating___MXLBr",modalRating:"modalRating___aluwj",zdbf:"zdbf___9PNEF"},k=i(61891),N=i(43196),D=i(29427),I=i(85893),Z=["videoDetail","globalSetting","loading","dispatch"],S=(0,f.connect)((function(e){var t=e.videoDetail,i=e.loading;return{videoDetail:t,globalSetting:e.globalSetting,loading:i}}))((function(e){var t=e.videoDetail,i=(e.globalSetting,e.loading,e.dispatch),n=(d()(e,Z),t.queryParams),o=t.selectParams,s=t.videoList,r=(n.subject_id,n.videoId),f=o.checkBoxValue,_=o.radioValue,p={videoId:r},v=(0,u.useRef)(),m=(0,u.useRef)(),D=((0,u.useRef)(),(0,u.useRef)(5)),S=(t.detail||{}).video_item;(0,k.Z)(l()(a()().mark((function e(){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m.current){e.next=5;break}return console.log("videoRef lastUpdatedTime: ",v.current.getLastUpdatedTime()),console.log(v.current),e.next=5,E();case 5:case"end":return e.stop()}}),e)}))),1e3*D.current);var E=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?{is_f:1}:{};return(0,N.DH)(c()(c()({},t),{id:p.videoId,point:v.current.getLastUpdatedTime(),total:v.current.getDuration()}))};return(0,I.jsx)("aside",{className:w.contentWrap,children:(0,I.jsxs)("aside",{className:w.wrap,children:[(0,I.jsx)("header",{}),(0,I.jsx)("div",{className:w.title,children:null==S?void 0:S.name}),null!=S&&S.can_edit||null!=S&&S.is_public?(0,I.jsx)(h.Z,{ref:v,startTime:null==S?void 0:S.last_point,src:null!=S&&S.is_link?null==S?void 0:S.link:(null==S?void 0:S.play_url)&&x.Base64.decode(null==S?void 0:S.play_url),videoId:null==S?void 0:S.video_id,logWatchHistory:function(e){return"1"===e.ed&&(m.current=!1,E(!0)),m.current||e.ed||(m.current=!0,D.current=v.current.getDuration()<=5?1:5,E()),i({type:"userDetail/logWatchHistory",payload:e})},handlePause:function(){m.current=!1},handlePlay:function(){m.current=!0},allow_skip:null==S?void 0:S.allow_skip,handlePlayEnded:function(e){var t=window.filterVideoSign,n=t.findIndex((function(e){return e.id===r}));if(!(n===t.length-1)){var a=t[n+1].id,o=t[n+1].can_view,l=t[n+1].link,s=t[n+1].is_public;if(window.checkBoxValue){if(l)return void window.open(l);if(!o)return void g.Z.info({centered:!0,width:400,okText:"知道啦",icon:null,content:(0,I.jsx)("div",{className:"tc font14",children:"下一条视频为创建者所属单位内部教学资料,外单位用户无观看权限"})});if(!s)return void g.Z.info({centered:!0,width:400,okText:"知道啦",icon:null,content:(0,I.jsx)("div",{className:"tc font14",children:"下一条视频暂未公开,敬请期待"})});i({type:"videoDetail/handleListItemClick",payload:{videoId:a}}),window.videoTimer=setTimeout((function(){e.current.play()}),2e3)}}},toLog:function(){}}):(0,I.jsx)(j.Z,{description:"当前视频暂未公开,敬请期待"}),(0,I.jsxs)("div",{className:w.footer,children:[(0,I.jsxs)("div",{className:w.footer_left,children:[(0,I.jsx)("div",{className:w.footer_bfcs,children:"播放次数 "}),(0,I.jsx)("div",{className:w.footer_bfcs_value,children:(null==S?void 0:S.itemstudy_video_items_count)||0}),(0,I.jsx)("div",{className:w.pingfen,children:"评分"}),(0,I.jsx)(b.Z,{value:null==S?void 0:S.star,disabled:!0,className:w.rating,style:{color:"#FFA100",fontSize:12,marginLeft:10}}),(0,I.jsxs)("div",{className:w.fenshu,children:[(null==S?void 0:S.star)||0,"分"]})]}),null!=S&&S.can_edit||null!=S&&S.is_public?(0,I.jsx)("div",{children:(0,I.jsx)("div",{className:w.checkBox,children:s.findIndex((function(e){return e.id===r}))===s.length-1?(0,I.jsx)("div",{children:"当前已是最后一个视频"}):(0,I.jsxs)("div",{children:[(0,I.jsx)(y.Z,{onChange:function(e){!function(e,t){if("checkBox"===e){var n=t;return window.checkBoxValue=n,void i({type:"videoDetail/setSelectValue",payload:{radioValue:_,checkBoxValue:n}})}i({type:"videoDetail/setSelectValue",payload:{checkBoxValue:f,radioValue:t.target.value}})}("checkBox",e)},defaultChecked:f,size:"small"}),(0,I.jsx)("span",{className:w.zdbf,children:"自动播放下一个视频"})]})})}):null]}),(0,I.jsx)("div",{className:"mt10",children:(null==S?void 0:S.description)&&(0,I.jsxs)("span",{className:w.introName,children:["简介:",S.description]})})]})})})),E=i(27424),V=i.n(E),R=i(2453),P=i(86132),C={flex_box_center:"flex_box_center___yWqSL",flex_space_between:"flex_space_between___LgFmv",flex_box_vertical_center:"flex_box_vertical_center____lt6U",flex_box_center_end:"flex_box_center_end___UqkaD",flex_box_column:"flex_box_column___V8XLF",list:"list___8tjfT",tree_style:"tree_style___ZzDvO",title:"title___IVfkQ",gray:"gray___RnyYk",brght:"brght___EWRNa",s1:"s1___dPBQg",s3:"s3___SRBBG",active:"active___hsNCX",tree_line:"tree_line___EGn30",tabs_style:"tabs_style___Nwkiq",tabs_item:"tabs_item___Vzu_U",tabs_item_active:"tabs_item_active___BcIwZ"},B=i(51412),L=i(56088),T=i(59758),z=["dispatch","pathsDetail","videoDetail","user"],A=[{name:"实践项目",type:"Shixun",icon:(0,I.jsx)("i",{className:"iconfont icon-shixun2 font20"}),bq:(0,I.jsx)("span",{style:{border:"1px solid #FF9D18",color:"#FF9D18"},className:C.s1,children:"实训"})},{name:"视频项目",type:"VideoItem",icon:(0,I.jsx)("i",{className:"iconfont icon-shipin font20"}),bq:(0,I.jsx)("span",{style:{border:"1px solid #9B18FF",color:"#9B18FF"},className:C.s1,children:"视频"})},{name:"教学课件",type:"Attachment",icon:(0,I.jsx)("i",{className:"iconfont icon-jiaoxueanli font20"}),bq:(0,I.jsx)("span",{style:{border:"1px solid #3061D0",color:"#3061D0"},className:C.s1,children:"资料"})},{name:"空目录",type:"StageCatalog",icon:(0,I.jsx)("i",{className:"iconfont icon-kongbai font20"}),bq:(0,I.jsx)("span",{})}],F=(0,f.connect)((function(e){var t=e.user,i=e.videoDetail,n=e.loading;return{user:t,videoDetail:i,globalSetting:e.globalSetting,loading:n,pathsDetail:e.pathsDetail}}))((function(e){var t=e.dispatch,i=e.pathsDetail,n=e.videoDetail,o=e.user,s=(d()(e,z),n.queryParams),r=n.stages,_=(n.cust_seq,n.active),p=s.subject_id,v=s.course_id,m=(0,f.useSearchParams)(),x=(V()(m,1)[0],(0,u.useState)([])),h=V()(x,2),b=h[0],y=h[1],j=(0,u.useState)(0),w=V()(j,2),k=w[0],Z=(w[1],(0,u.useState)("课程资源目录")),S=V()(Z,2),E=S[0],F=S[1];(0,u.useEffect)((function(){t(p?{type:"videoDetail/getStageData",payload:{subject_id:p,page_type:"video"}}:{type:"videoDetail/getCourseStageData",payload:{coursesId:v}})}),[]),(0,u.useEffect)((function(){console.log(k)}),[k]),(0,u.useEffect)((function(){console.log("2222",n),r&&console.log("xxxx"),W()}),[null==n?void 0:n.stages]);var W=function(){console.log(r);var e=b;r.forEach((function(t,i){e.push({title:(0,I.jsx)("div",{title:t.stage_name,className:C.title,children:t.stage_name}),value:null==t?void 0:t.stage_id,key:null==t?void 0:t.stage_id,icon:(0,I.jsx)("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:q(t.items||[])})})),console.log(e),y(e)},q=function(e){function t(e){var i,n=e.children,a=Array.isArray(n)&&n.length>0,o=null==e?void 0:e.id,l=e.name,s=e.item_type,c=e.id,r=null===(i=A.find((function(e){return e.type===s})))||void 0===i?void 0:i.bq,d=C.brght;_.id===c&&"".concat(d," ").concat(C.active);return{title:(0,I.jsxs)("div",{onClick:function(){return G(e)},className:d,title:l,children:[r,(0,I.jsx)("div",{className:C.s3,children:l})]}),value:o,key:o,icon:(0,I.jsx)("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:a?null==n?void 0:n.map((function(e){return t(e)})):[]}}return null==e?void 0:e.map((function(e){return t(e)}))},U=function(){var e=l()(a()().mark((function e(i,n){var o;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"正在进入实践项目,请稍后..."}}),!n){e.next=7;break}return e.next=4,(0,L.BK)({id:i});case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,(0,L.Ir)({id:i});case 9:e.t0=e.sent;case 10:if(o=e.t0,t({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),!(null!=o&&o.game_identifier||null!=o&&o.identifier)){e.next=15;break}return(0,D.xg)(n?"/tasks/".concat(null==o?void 0:o.identifier,"/jupyter"):"/tasks/".concat(o.game_identifier)),e.abrupt("return");case 15:2===(null==o?void 0:o.status)?O(null==o?void 0:o.message):3===(null==o?void 0:o.status)&&H(null==o?void 0:o.message);case 16:case"end":return e.stop()}}),e)})));return function(t,i){return e.apply(this,arguments)}}(),H=function(e){g.Z.confirm({centered:!0,title:"提示",okText:"确定",cancelText:"取消",content:(0,I.jsxs)("div",{className:"tc font16",children:["目前该实践项目尚在内测中,将于",e,"之后开放,谢谢!"]})})},O=function e(t){var i,n;t=null!==(i=t)&&void 0!==i&&i.includes(".json")?t:"".concat(t,".json"),g.Z.confirm({centered:!0,title:"提示",okText:"确定",cancelText:"取消",content:(0,I.jsx)("div",{className:"tc font16",children:"实训已经更新了,正在为您重置!"}),onOk:(n=l()(a()().mark((function i(){var n,o;return a()().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,B.$Q)({url:t});case 2:if(n=i.sent){i.next=5;break}return i.abrupt("return");case 5:return R.ZP.success("重置成功,正在进入实践项目!"),i.next=8,(0,L.Ir)({id:n.shixun_identifier});case 8:if(null==(o=i.sent)||!o.game_identifier){i.next=12;break}return(0,D.xg)("/tasks/".concat(o.game_identifier)),i.abrupt("return");case 12:2===(null==o?void 0:o.status)?e(null==o?void 0:o.message):3===(null==o?void 0:o.status)&&H(null==o?void 0:o.message);case 13:case"end":return i.stop()}}),i)}))),function(){return n.apply(this,arguments)})})},G=function(e){if("StageCatalog"!==(null==e?void 0:e.item_type)){clearTimeout(window.videoTimer);var n,a,l=e.id,r=e.item_type,d=e.identifier,u=e.is_jupyter,f=e.url,_=e.link;if("VideoItem"===r&&!_)return null!==(n=o.userInfo)&&void 0!==n&&n.admin||null!==(a=o.userInfo)&&void 0!==a&&a.business||e.can_view?(t({type:"videoDetail/handleListItemClick",payload:{videoId:l}}),void t({type:"videoDetail/getVideoDetail",payload:c()(c()({id:l},s),{},{videoId:l}),callback:function(t){!t||!t.video_item||t.video_item.can_edit||e.is_public||g.Z.info({centered:!0,width:400,okText:"知道啦",icon:null,content:(0,I.jsx)("div",{className:"tc font14",children:"当前视频暂未公开,敬请期待"})})}})):void g.Z.info({centered:!0,width:400,okText:"知道啦",icon:null,content:(0,I.jsx)("div",{className:"tc font14",children:"当前视频为创建者所属单位内部教学资料,外单位用户无观看权限"})});if("VideoItem"===r&&_)return e.link&&(0,N.DH)({is_f:1,id:e.id,point:0,total:0}),void window.open(_);if("Shixun"!==r){var p,v,m;if("Attachment"===r)return".ZIP"===(null==e||null===(p=e.name)||void 0===p?void 0:p.substr(null==e||null===(v=e.name)||void 0===v?void 0:v.lastIndexOf("."))).toUpperCase()?null!==(m=i.detail)&&void 0!==m&&m.allow_download?void(0,D.FH)(e.name,T.Z.API_SERVER+e.url):void R.ZP.info("教学课件不支持下载"):void t({type:"videoDetail/handleListItemClick",payload:{attachmentId:l}});window.open(T.Z.IMG_SERVER+f)}else U(d,u)}};return(0,I.jsxs)("aside",{className:C.list,children:[(0,I.jsx)("div",{className:C.tabs_style,children:(0,I.jsxs)("div",{className:C.tabs_item,onClick:function(){F("课程资源目录")},children:["课程资源目录","课程资源目录"==E&&(0,I.jsx)("div",{className:C.tabs_item_active})]})}),(0,I.jsx)("div",{className:C.tree_style,children:(null==b?void 0:b.length)>0&&(0,I.jsx)(P.Z,{blockNode:!0,treeData:b,defaultExpandAll:!0,className:C.tree_line})})]})})),W=i(36579),q=["videoDetail","globalSetting","loading","pathsDetail","dispatch"],U=function(e){var t=e.subject_id;return{subject_id:t,course_id:t}},H=(0,f.connect)((function(e){var t=e.videoDetail,i=e.loading;return{videoDetail:t,globalSetting:e.globalSetting,loading:i,pathsDetail:e.pathsDetail}}))((function(e){var t,i,n=e.videoDetail,o=(e.globalSetting,e.loading,e.pathsDetail),s=e.dispatch,r=(d()(e,q),n.queryParams),f=(n.videoList,n.attachmentList,n.active),x=r.subject_id;r.videoId;function h(){return(h=l()(a()().mark((function e(){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({type:"pathsDetail/getPathsDetail",payload:{id:x}});case 2:e.sent;case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,u.useEffect)((function(){if(f){var e=f.item_type,t=f.id;"VideoItem"===e&&s({type:"videoDetail/getVideoDetail",payload:c()(c()({},r),{},{id:t})})}}),[f.id]),console.log("---",f),(0,u.useEffect)((function(){x&&function(){h.apply(this,arguments)}()}),[]),(0,u.useEffect)((function(){var e,t;(0,D.Dk)(null===(e=n.detail)||void 0===e||null===(t=e.video_item)||void 0===t?void 0:t.name)}),[n]);var g={width:1200};return f&&"Attachment"===f.item_type&&"application/pdf"===f.content_type&&(g={width:1250,marginLeft:(document.body.clientWidth-1200)/2}),(0,I.jsx)(_.Z,{spinning:!1,children:(0,I.jsx)("section",{className:p,children:(0,I.jsxs)("div",{className:v,style:g,children:[(0,I.jsx)(F,{}),f&&"VideoItem"===f.item_type&&(0,I.jsx)(S,{}),f&&"Attachment"===f.item_type&&"application/pdf"===f.content_type&&f.url&&(0,I.jsx)("div",{className:m,children:(0,I.jsx)(W.Z,{disabledDownload:!(null!==(t=o.detail)&&void 0!==t&&t.allow_download),type:"pdf",data:T.Z.API_SERVER+f.url,style:{position:"absolute",zIndex:1}})}),f&&"Attachment"===f.item_type&&["application/msword","application/vnd.ms-excel","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(f.content_type)&&f.url&&(0,I.jsx)("div",{className:m,children:(0,I.jsx)(W.Z,{disabledDownload:!(null!==(i=o.detail)&&void 0!==i&&i.allow_download),type:"office",data:T.Z.API_SERVER+f.url,style:{position:"absolute",zIndex:1}})})]})})})}))}}]); |