diff --git a/assets/index-CtPaZKbP.js b/assets/index-CcwlJn7M.js similarity index 97% rename from assets/index-CtPaZKbP.js rename to assets/index-CcwlJn7M.js index ceb225fb..228e3176 100644 --- a/assets/index-CtPaZKbP.js +++ b/assets/index-CcwlJn7M.js @@ -355,4 +355,4 @@ https://github.com/nodeca/pako/blob/main/LICENSE ${u} ${c} - `),e.close()},lze=(e,t)=>{const n=aze(),r=n.contentWindow;if(!n.contentDocument||!r)return;sze(n.contentDocument,e,t);const i=()=>{r.focus(),r.print()},o=()=>{n.removeEventListener("load",i),r.removeEventListener("afterprint",o),document.body.removeChild(n)};n.addEventListener("load",i),r.addEventListener("afterprint",o)},m4=e=>(en("data-v-d3a30d69"),e=e(),tn(),e),uze={class:"export-pdf-dialog"},cze={class:"thumbnails-view"},fze={class:"configs"},dze={class:"row"},hze=m4(()=>V("div",{class:"title"},"导出范围:",-1)),pze={class:"row"},vze=m4(()=>V("div",{class:"title"},"每页数量:",-1)),gze={class:"row"},mze=m4(()=>V("div",{class:"title"},"边缘留白:",-1)),yze={class:"config-item"},Aze=m4(()=>V("div",{class:"tip"}," 提示:若打印预览与实际样式不一致,请在弹出的打印窗口中勾选【背景图形】选项。 ",-1)),Rze={class:"btns"},bze=Xe({__name:"ExportPDF",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i,viewportRatio:o}=De(ut()),a=pe(),s=pe("all"),l=pe(1),u=pe(!0),c=()=>{if(!a.value)return;const f={width:1600,height:s.value==="all"?1600*o.value*l.value:1600*o.value,margin:u.value?50:0};lze(a.value,f)};return(f,d)=>(U(),te("div",uze,[V("div",cze,[V("div",{class:"thumbnails",ref_key:"pdfThumbnailsRef",ref:a},[s.value==="current"?(U(),_e(dl,{key:0,class:"thumbnail",slide:z(i),size:1600},null,8,["slide"])):(U(!0),te(We,{key:1},tt(z(r),(h,p)=>(U(),_e(dl,{class:$e(["thumbnail",{"break-page":(p+1)%l.value===0}]),key:h.id,slide:h,size:1600},null,8,["class","slide"]))),128))],512)]),V("div",fze,[V("div",dze,[hze,O(Au,{class:"config-item",value:s.value,"onUpdate:value":d[0]||(d[0]=h=>s.value=h)},{default:ie(()=>[O(zn,{style:{width:"50%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"50%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1})]),_:1},8,["value"])]),V("div",pze,[vze,O(zr,{class:"config-item",value:l.value,"onUpdate:value":d[1]||(d[1]=h=>l.value=h),options:[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3}]},null,8,["value"])]),V("div",gze,[mze,V("div",yze,[O(Cs,{value:u.value,"onUpdate:value":d[2]||(d[2]=h=>u.value=h)},null,8,["value"])])]),Aze]),V("div",Rze,[O(et,{class:"btn export",type:"primary",onClick:d[3]||(d[3]=h=>c())},{default:ie(()=>[Ue("打印 / 导出 PDF")]),_:1}),O(et,{class:"btn close",onClick:d[4]||(d[4]=h=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})])]))}}),xze=Be(bze,[["__scopeId","data-v-d3a30d69"]]),nC=e=>(en("data-v-254b6b07"),e=e(),tn(),e),Sze={class:"export-pptx-dialog"},wze={class:"configs"},Mze={class:"row"},Lze=nC(()=>V("div",{class:"title"},"导出范围:",-1)),Tze={key:0,class:"row"},_ze=["data-range"],Oze={class:"row"},kze=nC(()=>V("div",{class:"title"},"忽略音频/视频:",-1)),Pze={class:"config-item"},Cze={class:"row"},Ize=nC(()=>V("div",{class:"title"},"覆盖默认母版:",-1)),Nze={class:"config-item"},Fze={key:1,class:"tip"},Eze={class:"btns"},Xze=Xe({__name:"ExportPPTX",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i}=De(ut()),{exportPPTX:o,exporting:a}=v4(),s=pe("all"),l=pe([1,r.value.length]),u=pe(!0),c=pe(!0),f=we(()=>s.value==="all"?r.value:s.value==="current"?[i.value]:r.value.filter((d,h)=>{const[p,v]=l.value;return h>=p-1&&h<=v-1}));return(d,h)=>{const p=Fn("tooltip");return U(),te("div",Sze,[V("div",wze,[V("div",Mze,[Lze,O(Au,{class:"config-item",value:s.value,"onUpdate:value":h[0]||(h[0]=v=>s.value=v)},{default:ie(()=>[O(zn,{style:{width:"33.33%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"33.33%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1}),O(zn,{style:{width:"33.33%"},value:"custom"},{default:ie(()=>[Ue("自定义")]),_:1})]),_:1},8,["value"])]),s.value==="custom"?(U(),te("div",Tze,[V("div",{class:"title","data-range":`(${l.value[0]} ~ ${l.value[1]})`},"自定义范围:",8,_ze),O(Ki,{class:"config-item",range:"",min:1,max:z(r).length,step:1,value:l.value,"onUpdate:value":h[1]||(h[1]=v=>l.value=v)},null,8,["max","value"])])):Ze("",!0),V("div",Oze,[kze,V("div",Pze,[ze(O(Cs,{value:c.value,"onUpdate:value":h[2]||(h[2]=v=>c.value=v)},null,8,["value"]),[[p,"导出时默认忽略音视频,若您的幻灯片中存在音视频元素,且希望将其导出到PPTX文件中,可选择关闭【忽略音视频】选项,但要注意这将会大幅增加导出用时。"]])])]),V("div",Cze,[Ize,V("div",Nze,[O(Cs,{value:u.value,"onUpdate:value":h[3]||(h[3]=v=>u.value=v)},null,8,["value"])])]),c.value?Ze("",!0):(U(),te("div",Fze," 提示:1. 支持导出格式:avi、mp4、mov、wmv、mp3、wav;2. 跨域资源无法导出。 "))]),V("div",Eze,[O(et,{class:"btn export",type:"primary",onClick:h[4]||(h[4]=v=>z(o)(f.value,u.value,c.value))},{default:ie(()=>[Ue("导出 PPTX")]),_:1}),O(et,{class:"btn close",onClick:h[5]||(h[5]=v=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})]),O(ty,{loading:z(a),tip:"正在导出..."},null,8,["loading"])])}}}),Wze=Be(Xze,[["__scopeId","data-v-254b6b07"]]),Fte=e=>(en("data-v-bc56c9db"),e=e(),tn(),e),Vze={class:"export-pptist-dialog"},Dze={class:"configs"},Uze={class:"row"},Bze=Fte(()=>V("div",{class:"title"},"导出范围:",-1)),Yze={key:0,class:"row"},Zze=["data-range"],Qze=Fte(()=>V("div",{class:"tip"}," 提示:.pptist 是本应用的特有文件后缀,支持将该类型的文件导入回应用中。 ",-1)),Hze={class:"btns"},Kze=Xe({__name:"ExportSpecificFile",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i}=De(ut()),{exportSpecificFile:o}=v4(),a=pe("all"),s=pe([1,r.value.length]),l=we(()=>a.value==="all"?r.value:a.value==="current"?[i.value]:r.value.filter((u,c)=>{const[f,d]=s.value;return c>=f-1&&c<=d-1}));return(u,c)=>(U(),te("div",Vze,[V("div",Dze,[V("div",Uze,[Bze,O(Au,{class:"config-item",value:a.value,"onUpdate:value":c[0]||(c[0]=f=>a.value=f)},{default:ie(()=>[O(zn,{style:{width:"33.33%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"33.33%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1}),O(zn,{style:{width:"33.33%"},value:"custom"},{default:ie(()=>[Ue("自定义")]),_:1})]),_:1},8,["value"])]),a.value==="custom"?(U(),te("div",Yze,[V("div",{class:"title","data-range":`(${s.value[0]} ~ ${s.value[1]})`},"自定义范围:",8,Zze),O(Ki,{class:"config-item",range:"",min:1,max:z(r).length,step:1,value:s.value,"onUpdate:value":c[1]||(c[1]=f=>s.value=f)},null,8,["max","value"])])):Ze("",!0),Qze]),V("div",Hze,[O(et,{class:"btn export",type:"primary",onClick:c[2]||(c[2]=f=>z(o)(l.value))},{default:ie(()=>[Ue("导出 .pptist 文件")]),_:1}),O(et,{class:"btn close",onClick:c[3]||(c[3]=f=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})])]))}}),Gze=Be(Kze,[["__scopeId","data-v-bc56c9db"]]),zze={class:"export-dialog"},Jze={class:"content"},$ze=Xe({__name:"index",setup(e){const t=ht(),{dialogForExport:n}=De(t),r=t.setDialogForExport,i=[{key:"pptist",label:"导出 pptist 文件"},{key:"pptx",label:"导出 PPTX"},{key:"image",label:"导出图片"},{key:"json",label:"导出 JSON"},{key:"pdf",label:"打印 / 导出 PDF"}],o=we(()=>{const a={image:eze,json:oze,pdf:xze,pptx:Wze,pptist:Gze};return n.value&&a[n.value]||null});return(a,s)=>(U(),te("div",zze,[O(hl,{tabs:i,value:z(n),card:"","onUpdate:value":s[0]||(s[0]=l=>z(r)(l))},null,8,["value"]),V("div",Jze,[(U(),_e(Ru(o.value),{onClose:s[1]||(s[1]=l=>z(r)(""))},null,32))])]))}}),jze=Be($ze,[["__scopeId","data-v-b54f4542"]]),qze=()=>{const e=ut(),t=ht(),{currentSlide:n}=De(e),{activeElementIdList:r,hiddenElementIdList:i}=De(t);return{toggleHideElement:l=>{i.value.includes(l)?t.setHiddenElementIdList(i.value.filter(u=>u!==l)):t.setHiddenElementIdList([...i.value,l]),r.value.includes(l)&&t.setActiveElementIdList([])},showAllElements:()=>{const l=n.value.elements.map(c=>c.id),u=i.value.filter(c=>!l.includes(c));t.setHiddenElementIdList(u)},hideAllElements:()=>{const l=n.value.elements.map(u=>u.id);t.setHiddenElementIdList([...i.value,...l]),r.value.length&&t.setActiveElementIdList([])}}},eJe={class:"title"},tJe={class:"content"},nJe=Xe({__name:"MoveablePanel",props:{width:{},height:{},minWidth:{default:20},minHeight:{default:20},maxWidth:{default:500},maxHeight:{default:500},left:{default:10},top:{default:10},title:{default:""},moveable:{type:Boolean,default:!0},resizeable:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,i=pe(0),o=pe(0),a=pe(0),s=pe(0),l=pe(),u=we(()=>{var d;return s.value?s.value:((d=l.value)==null?void 0:d.clientHeight)||0});Ht(()=>{n.left>=0?i.value=n.left:i.value=document.body.clientWidth+n.left-n.width,n.top>=0?o.value=n.top:o.value=document.body.clientHeight+n.top-u.value,a.value=n.width,s.value=n.height});const c=d=>{if(!n.moveable)return;let h=!0;const p=document.body.clientWidth,v=document.body.clientHeight,g=d.pageX,m=d.pageY,y=i.value,R=o.value;document.onmousemove=A=>{if(!h)return;const x=A.pageX-g,S=A.pageY-m;let L=y+x,w=R+S;L<0&&(L=0),w<0&&(w=0),L+a.value>p&&(L=p-a.value),w+u.value>v&&(w=v-u.value),i.value=L,o.value=w},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null}},f=d=>{if(!n.resizeable)return;let h=!0;const p=d.pageX,v=d.pageY,g=a.value,m=s.value;document.onmousemove=y=>{if(!h)return;const R=y.pageX-p,A=y.pageY-v;let x=g+R,S=m+A;xn.maxWidth&&(x=n.maxWidth),S>n.maxHeight&&(S=n.maxHeight),a.value=x,s.value=S},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null}};return(d,h)=>{const p=Se("IconClose");return U(),te("div",{class:"moveable-panel",ref_key:"moveablePanelRef",ref:l,style:Le({width:a.value+"px",height:s.value?s.value+"px":"auto",left:i.value+"px",top:o.value+"px"})},[d.title?(U(),te(We,{key:0},[V("div",{class:"header",onMousedown:h[1]||(h[1]=v=>c(v))},[V("div",eJe,vt(d.title),1),V("div",{class:"close-btn",onClick:h[0]||(h[0]=v=>r("close"))},[O(p)])],32),V("div",tJe,[ar(d.$slots,"default",{},void 0,!0)])],64)):(U(),te("div",{key:1,class:"content",onMousedown:h[2]||(h[2]=v=>c(v))},[ar(d.$slots,"default",{},void 0,!0)],32)),d.resizeable?(U(),te("div",{key:2,class:"resizer",onMousedown:h[3]||(h[3]=v=>f(v))},null,32)):Ze("",!0)],4)}}}),i1=Be(nJe,[["__scopeId","data-v-3fb89101"]]),rJe=e=>(en("data-v-d562651b"),e=e(),tn(),e),iJe={key:0,class:"handler"},oJe={class:"btns"},aJe={key:0,class:"icon-btns"},sJe={class:"element-list"},lJe={key:0,class:"group-els"},uJe=rJe(()=>V("div",{class:"group-title"},"组合",-1)),cJe=["onClick","onDblclick"],fJe=["id","value","onBlur","onKeydown"],dJe={key:1,class:"name"},hJe={class:"icons"},pJe=["onClick","onDblclick"],vJe=["id","value","onBlur","onKeydown"],gJe={key:1,class:"name"},mJe={class:"icons"},yJe=Xe({__name:"SelectPanel",setup(e){const t=ut(),n=ht(),{currentSlide:r}=De(t),{handleElement:i,handleElementId:o,activeElementIdList:a,activeGroupElementId:s,hiddenElementIdList:l}=De(n),{orderElement:u}=G2(),{selectElement:c}=i3(),{toggleHideElement:f,showAllElements:d,hideAllElements:h}=qze(),p=we(()=>{const A=[];for(const x of r.value.elements)if(x.groupId){const S=A[A.length-1];S&&S.type==="group"&&S.id&&S.id===x.groupId?S.elements.push(x):A.push({type:"group",id:x.groupId,elements:[x]})}else A.push(x);return A}),v=(A,x)=>{if(o.value===x||l.value.includes(x))return;const S=A.elements.map(L=>L.id);n.setActiveElementIdList(S),n.setHandleElementId(x),Ir(()=>n.setActiveGroupElementId(x))},g=pe(""),m=(A,x)=>{const S=A.target.value;t.updateElement({id:x,props:{name:S}}),g.value=""},y=A=>{g.value=A,Ir(()=>{document.querySelector(`#select-panel-input-${A}`).focus()})},R=()=>{n.setSelectPanelState(!1)};return(A,x)=>{const S=Se("IconDown"),L=Se("IconUp"),w=Se("IconPreviewClose"),M=Se("IconPreviewOpen");return U(),_e(i1,{class:"select-panel",width:200,height:360,title:`选择(${z(a).length}/${z(r).elements.length})`,left:-270,top:90,onClose:x[4]||(x[4]=_=>R())},{default:ie(()=>[p.value.length?(U(),te("div",iJe,[V("div",oJe,[O(et,{size:"small",style:{"margin-right":"5px"},onClick:x[0]||(x[0]=_=>z(d)())},{default:ie(()=>[Ue("全部显示")]),_:1}),O(et,{size:"small",onClick:x[1]||(x[1]=_=>z(h)())},{default:ie(()=>[Ue("全部隐藏")]),_:1})]),z(i)?(U(),te("div",aJe,[O(S,{class:"icon-btn",onClick:x[2]||(x[2]=_=>z(u)(z(i),z(Wr).UP))}),O(L,{class:"icon-btn",onClick:x[3]||(x[3]=_=>z(u)(z(i),z(Wr).DOWN))})])):Ze("",!0)])):Ze("",!0),V("div",sJe,[(U(!0),te(We,null,tt(p.value,_=>(U(),te(We,{key:_.id},[_.type==="group"?(U(),te("div",lJe,[uJe,(U(!0),te(We,null,tt(_.elements,k=>(U(),te("div",{class:$e(["item",{active:z(a).includes(k.id),"group-active":z(s).includes(k.id)}]),key:k.id,onClick:P=>v(_,k.id),onDblclick:P=>y(k.id)},[g.value===k.id?(U(),te("input",{key:0,id:`select-panel-input-${k.id}`,value:k.name||z(Mg)[k.type],class:"input",type:"text",onBlur:P=>m(P,k.id),onKeydown:du(P=>m(P,k.id),["enter"])},null,40,fJe)):(U(),te("div",dJe,vt(k.name||z(Mg)[k.type]),1)),V("div",hJe,[z(l).includes(k.id)?(U(),_e(w,{key:0,style:{"font-size":"17px"},onClick:Ft(P=>z(f)(k.id),["stop"])},null,8,["onClick"])):(U(),_e(M,{key:1,style:{"font-size":"17px"},onClick:Ft(P=>z(f)(k.id),["stop"])},null,8,["onClick"]))])],42,cJe))),128))])):(U(),te("div",{key:1,class:$e(["item",{active:z(a).includes(_.id)}]),onClick:k=>z(c)(_.id),onDblclick:k=>y(_.id)},[g.value===_.id?(U(),te("input",{key:0,id:`select-panel-input-${_.id}`,value:_.name||z(Mg)[_.type],class:"input",type:"text",onBlur:k=>m(k,_.id),onKeydown:du(k=>m(k,_.id),["enter"])},null,40,vJe)):(U(),te("div",gJe,vt(_.name||z(Mg)[_.type]),1)),V("div",mJe,[z(l).includes(_.id)?(U(),_e(w,{key:0,style:{"font-size":"17px"},onClick:Ft(k=>z(f)(_.id),["stop"])},null,8,["onClick"])):(U(),_e(M,{key:1,style:{"font-size":"17px"},onClick:Ft(k=>z(f)(_.id),["stop"])},null,8,["onClick"]))])],42,pJe))],64))),128))])]),_:1},8,["title"])}}}),AJe=Be(yJe,[["__scopeId","data-v-d562651b"]]),RJe=()=>{const e=ht(),t=ut(),{handleElement:n}=De(e),{slides:r,slideIndex:i,currentSlide:o}=De(t),a=pe(""),s=pe(""),l=pe([]),u=pe(-1),c=pe("g"),f=()=>{const k=[],P=new RegExp(a.value,c.value),N=/(<([^>]+)>)/g;for(const C of r.value)for(const F of C.elements)if(F.type==="text"){const W=F.content.replace(N,"").match(P);W&&k.push(...new Array(W.length).fill({slideId:C.id,elId:F.id,elType:F.type}))}else if(F.type==="shape"&&F.text&&F.text.content){const W=F.text.content.replace(N,"").match(P);W&&k.push(...new Array(W.length).fill({slideId:C.id,elId:F.id,elType:F.type}))}else if(F.type==="table")for(let I=0;I{const P=[...k.childNodes],N=[];for(;P.length;){const C=P.shift();C.nodeType===C.TEXT_NODE?C.wholeText&&N.push(C):P.unshift(...C.childNodes)}return N},h=k=>{let P=0;return k.map(C=>{const F=P,I=P+C.wholeText.length;return P=I,{text:C.wholeText,startIdx:F,endIdx:I}})},p=(k,P)=>{const N=new RegExp(P,c.value),C=[];let F=N.exec(k);for(;F;)C.push(F),F=N.exec(k);return C},v=(k,P,N,C)=>{for(let F=N.length-1;F>=0;F--){const I=N[F],W=I.index,D=W+I[0].length;for(let Z=0;Z=D)break;let Q=k[Z];const K=Math.max(0,W-B),q=Math.min(Y,D)-B-K;K>0&&(Q=Q.splitText(K)),q{for(const N of k)N.innerHTML=N.innerHTML.replace(new RegExp(a.value,c.value),()=>`${a.value}`)},m=()=>{const k=document.querySelectorAll(".editable-element mark");for(const P of k)setTimeout(()=>{const N=P.parentNode,C=P.textContent;N.replaceChild(document.createTextNode(C),P)},0)},y=()=>{m(),setTimeout(()=>{for(let k=0;kZ).join(""),D=p(W,a.value);v(F,I,D,k)}}},0)},R=()=>{const k=document.querySelectorAll("mark[data-index]");for(const P of k)setTimeout(()=>{const N=P.dataset.index;N!==void 0&&+N===u.value?P.classList.add("active"):P.classList.remove("active")},0)},A=()=>{if(u.value===-1)return;const k=l.value[u.value];if(k.slideId===o.value.id)setTimeout(R,0);else{const P=r.value.findIndex(N=>N.id===k.slideId);P!==-1&&t.updateSlideIndex(P)}},x=()=>{if(!a.value)return gn.warning("请先输入查找内容");e.setActiveElementIdList([]),u.value===-1?f():u.value{if(!a.value)return gn.warning("请先输入查找内容");e.setActiveElementIdList([]),u.value===-1?f():u.value>0?u.value-=1:u.value=l.value.length-1,A()},L=()=>{if(!a.value)return;if(u.value===-1){x();return}const k=l.value[u.value];let P=null;if(k.elType==="table"){const[I,W]=k.cellIndex;P=document.querySelector(`#editable-element-${k.elId} .cell[data-cell-index="${I}_${W}"] .cell-text`)}else P=document.querySelector(`#editable-element-${k.elId} .ProseMirror`);if(!P)return;const N=document.createElement("div");N.innerHTML=P.innerHTML;let C=!1;const F=N.querySelectorAll("mark[data-index]");for(const I of F){const W=I.parentNode;if(I.classList.contains("active"))C?W.removeChild(I):(W.replaceChild(document.createTextNode(s.value),I),C=!0);else{const D=I.textContent;W.replaceChild(document.createTextNode(D),I)}}if(k.elType==="text"){const I={content:N.innerHTML};t.updateElement({id:k.elId,props:I})}else if(k.elType==="shape"){const I=o.value.elements.find(W=>W.id===k.elId);if(I&&I.type==="shape"&&I.text){const W={text:{...I.text,content:N.innerHTML}};t.updateElement({id:k.elId,props:W})}}else if(k.elType==="table"){const I=o.value.elements.find(W=>W.id===k.elId);if(I&&I.type==="table"){const D={data:I.data.map((Z,re)=>re===k.cellIndex[0]?Z.map((B,Y)=>Y===k.cellIndex[1]?{...B,text:N.innerHTML}:B):Z)};t.updateElement({id:k.elId,props:D})}}l.value.splice(u.value,1),l.value.length?(u.value>l.value.length-1&&(u.value=0),Ir(()=>{y(),A()})):u.value=-1},w=()=>{var k;if(a.value){if(u.value===-1){x();return}for(let P=0;PD.id===C.slideId);if(!F)continue;const I=F.elements.find(D=>D.id===C.elId);if(!I)continue;const W=document.createElement("div");if(I.type==="text"?W.innerHTML=I.content:I.type==="shape"&&(W.innerHTML=((k=I.text)==null?void 0:k.content)||""),C.elType==="table"){const Z={data:I.data.map(re=>re.map(B=>B.text?{...B,text:B.text.replace(new RegExp(a.value,"g"),s.value)}:B))};t.updateElement({id:C.elId,slideId:C.slideId,props:Z})}else{const D=d(W),Z=h(D),re=Z.map(({text:K})=>K).join(""),B=p(re,a.value);v(D,Z,B,P);const Y=W.querySelectorAll("mark[data-index]");let Q=-1;for(const K of Y){const q=+K.dataset.index,$=K.parentNode;q===Q?$.removeChild(K):($.replaceChild(document.createTextNode(s.value),K),Q=q)}if(C.elType==="text"){const K={content:W.innerHTML};t.updateElement({id:C.elId,slideId:C.slideId,props:K})}else if(C.elType==="shape"){const K=o.value.elements.find(q=>q.id===C.elId);if(K&&K.type==="shape"&&K.text){const q={text:{...K.text,content:W.innerHTML}};t.updateElement({id:C.elId,slideId:C.slideId,props:q})}}}}l.value=[],u.value=-1}},M=()=>{u.value=-1,l.value=[],a.value||m()};return Ot(a,M),Ot(i,()=>{Ir(()=>{y(),setTimeout(R,0)})}),Ot(n,()=>{n.value&&(u.value=-1,l.value=[],m())}),o0(m),{searchWord:a,replaceWord:s,searchResults:l,searchIndex:u,modifiers:c,searchNext:x,searchPrev:S,replace:L,replaceAll:w,toggleModifiers:()=>{c.value=c.value==="g"?"gi":"g",M()}}},bJe={class:"count"},xJe={key:1,class:"footer"},SJe=Xe({__name:"SearchPanel",setup(e){const t=ht(),{searchWord:n,replaceWord:r,searchResults:i,searchIndex:o,modifiers:a,searchNext:s,searchPrev:l,replace:u,replaceAll:c,toggleModifiers:f}=RJe(),d=pe("search"),h=[{key:"search",label:"查找"},{key:"replace",label:"替换"}],p=()=>{t.setSearchPanelState(!1)},v=pe();return Ht(()=>{v.value.focus()}),Ot(d,()=>{Ir(()=>{v.value.focus()})}),(g,m)=>{const y=Se("IconClose"),R=Se("IconLeft"),A=Se("IconRight"),x=Fn("tooltip");return U(),_e(i1,{class:"search-panel",width:330,height:0,left:-270,top:90},{default:ie(()=>[V("div",{class:"close-btn",onClick:m[0]||(m[0]=S=>p()),onMousedown:m[1]||(m[1]=Ft(()=>{},["stop"]))},[O(y)],32),O(hl,{tabs:h,value:d.value,"onUpdate:value":m[2]||(m[2]=S=>d.value=S)},null,8,["value"]),V("div",{class:$e(["content",d.value]),onMousedown:m[12]||(m[12]=Ft(()=>{},["stop"]))},[O(fc,{class:"input",value:z(n),"onUpdate:value":m[6]||(m[6]=S=>Cr(n)?n.value=S:null),placeholder:"输入查找内容",onEnter:m[7]||(m[7]=S=>z(s)()),ref_key:"searchInpRef",ref:v},{suffix:ie(()=>[V("span",bJe,vt(z(o)+1)+"/"+vt(z(i).length),1),O(Zt,{type:"vertical"}),ze((U(),te("span",{class:$e(["ignore-case",{active:z(a)==="g"}]),onClick:m[3]||(m[3]=S=>z(f)())},[Ue("Aa")],2)),[[x,"忽略大小写"]]),O(Zt,{type:"vertical"}),ze(O(R,{class:"next-btn left",onClick:m[4]||(m[4]=S=>z(l)())},null,512),[[x,"上一个"]]),ze(O(A,{class:"next-btn right",onClick:m[5]||(m[5]=S=>z(s)())},null,512),[[x,"下一个"]])]),_:1},8,["value"]),d.value==="replace"?(U(),_e(fc,{key:0,class:"input",value:z(r),"onUpdate:value":m[8]||(m[8]=S=>Cr(r)?r.value=S:null),placeholder:"输入替换内容",onEnter:m[9]||(m[9]=S=>z(u)())},null,8,["value"])):Ze("",!0),d.value==="replace"?(U(),te("div",xJe,[O(et,{disabled:!z(n),style:{"margin-left":"5px"},onClick:m[10]||(m[10]=S=>z(u)())},{default:ie(()=>[Ue("替换")]),_:1},8,["disabled"]),O(et,{disabled:!z(n),type:"primary",style:{"margin-left":"5px"},onClick:m[11]||(m[11]=S=>z(c)())},{default:ie(()=>[Ue("全部替换")]),_:1},8,["disabled"])])):Ze("",!0)],34)]),_:1})}}}),wJe=Be(SJe,[["__scopeId","data-v-c6ed3d92"]]),MJe={class:"container"},LJe=["onClick"],TJe={class:"header note-header"},_Je={class:"user"},OJe={class:"avatar"},kJe={class:"user-info"},PJe={class:"username"},CJe={class:"time"},IJe={class:"btns"},NJe=["onClick"],FJe=["onClick"],EJe={class:"content"},XJe={key:0,class:"replies"},WJe={class:"header reply-header"},VJe={class:"user"},DJe={class:"avatar"},UJe={class:"user-info"},BJe={class:"username"},YJe={class:"time"},ZJe={class:"btns"},QJe=["onClick"],HJe={class:"content"},KJe={key:1,class:"note-reply"},GJe={class:"reply-btns"},zJe={key:0,class:"empty"},JJe={class:"send"},$Je={class:"footer"},jJe=Xe({__name:"NotesPanel",setup(e){const t=ut(),n=ht(),{slideIndex:r,currentSlide:i}=De(t),{handleElementId:o}=De(n),a=pe(""),s=pe(""),l=we(()=>{var x;return((x=i.value)==null?void 0:x.notes)||[]}),u=pe(""),c=pe(""),f=pe(),d=pe();Ot(r,()=>{u.value="",c.value=""});const h=()=>{d.value&&(d.value.scrollTop=d.value.scrollHeight)},p=()=>{if(!a.value){f.value&&f.value.focus();return}const x={id:on(),content:a.value,time:new Date().getTime(),user:"测试用户"};o.value&&(x.elId=o.value);const S=[...l.value,x];t.updateSlide({notes:S}),a.value="",Ir(h)},v=x=>{const S=l.value.filter(L=>L.id!==x);t.updateSlide({notes:S})},g=()=>{if(!s.value)return;const x=l.value.find(M=>M.id===c.value);if(!x)return;const S=[...x.replies||[],{id:on(),content:s.value,time:new Date().getTime(),user:"测试用户"}],L={...x,replies:S},w=l.value.map(M=>M.id===c.value?L:M);t.updateSlide({notes:w}),s.value="",c.value="",Ir(h)},m=(x,S)=>{const L=l.value.find(k=>k.id===x);if(!L||!L.replies)return;const w=L.replies.filter(k=>k.id!==S),M={...L,replies:w},_=l.value.map(k=>k.id===x?M:k);t.updateSlide({notes:_})},y=x=>{u.value=x.id,x.elId?i.value.elements.map(L=>L.id).includes(x.elId)?n.setActiveElementIdList([x.elId]):n.setActiveElementIdList([]):n.setActiveElementIdList([])},R=()=>{t.updateSlide({notes:[]})},A=()=>{n.setNotesPanelState(!1)};return(x,S)=>{const L=Se("IconUser"),w=Se("IconDelete"),M=Fn("tooltip");return U(),_e(i1,{class:"notes-panel",width:300,height:560,title:`幻灯片${z(r)+1}的批注`,left:-270,top:90,minWidth:300,minHeight:400,maxWidth:480,maxHeight:780,resizeable:"",onClose:S[9]||(S[9]=_=>A())},{default:ie(()=>[V("div",MJe,[V("div",{class:"notes",ref_key:"notesRef",ref:d},[(U(!0),te(We,null,tt(l.value,_=>{var k;return U(),te("div",{class:$e(["note",{active:u.value===_.id}]),key:_.id,onClick:P=>y(_)},[V("div",TJe,[V("div",_Je,[V("div",OJe,[O(L)]),V("div",kJe,[V("div",PJe,vt(_.user),1),V("div",CJe,vt(new Date(_.time).toLocaleString()),1)])]),V("div",IJe,[V("div",{class:"btn reply",onClick:P=>c.value=_.id},"回复",8,NJe),V("div",{class:"btn delete",onClick:Ft(P=>v(_.id),["stop"])},"删除",8,FJe)])]),V("div",EJe,vt(_.content),1),(k=_.replies)!=null&&k.length?(U(),te("div",XJe,[(U(!0),te(We,null,tt(_.replies,P=>(U(),te("div",{class:"reply-item",key:P.id},[V("div",WJe,[V("div",VJe,[V("div",DJe,[O(L)]),V("div",UJe,[V("div",BJe,vt(P.user),1),V("div",YJe,vt(new Date(P.time).toLocaleString()),1)])]),V("div",ZJe,[V("div",{class:"btn delete",onClick:Ft(N=>m(_.id,P.id),["stop"])},"删除",8,QJe)])]),V("div",HJe,vt(P.content),1)]))),128))])):Ze("",!0),c.value===_.id?(U(),te("div",KJe,[O(S_,{padding:6,value:s.value,"onUpdate:value":S[0]||(S[0]=P=>s.value=P),placeholder:"输入回复内容",rows:1,onEnter:S[1]||(S[1]=Ft(P=>g(),["prevent"]))},null,8,["value"]),V("div",GJe,[O(et,{class:"btn",size:"small",onClick:S[2]||(S[2]=P=>c.value="")},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",size:"small",type:"primary",onClick:S[3]||(S[3]=P=>g())},{default:ie(()=>[Ue("回复")]),_:1})])])):Ze("",!0)],10,LJe)}),128)),l.value.length?Ze("",!0):(U(),te("div",zJe,"本页暂无批注"))],512),V("div",JJe,[O(S_,{ref_key:"textAreaRef",ref:f,value:a.value,"onUpdate:value":S[4]||(S[4]=_=>a.value=_),padding:6,placeholder:`输入批注(为${z(o)?"选中元素":"当前页幻灯片"})`,rows:2,onFocus:S[5]||(S[5]=_=>{c.value="",u.value=""}),onEnter:S[6]||(S[6]=Ft(_=>p(),["prevent"]))},null,8,["value","placeholder"]),V("div",$Je,[ze(O(w,{class:"btn icon",style:{flex:"1"},onClick:S[7]||(S[7]=_=>R())},null,512),[[M,"清空本页批注"]]),O(et,{type:"primary",class:"btn",style:{flex:"12"},onClick:S[8]||(S[8]=_=>p())},{default:ie(()=>[Ue("添加批注")]),_:1})])])])]),_:1},8,["title"])}}}),qJe=Be(jJe,[["__scopeId","data-v-d22b7a23"]]),rC=e=>(en("data-v-ff22c094"),e=e(),tn(),e),e$e={class:"container"},t$e={class:"row"},n$e=rC(()=>V("div",{style:{width:"40%"}},"当前页面类型:",-1)),r$e={key:0,class:"row"},i$e=rC(()=>V("div",{style:{width:"40%"}},"当前文本类型:",-1)),o$e={key:1,class:"row"},a$e=rC(()=>V("div",{style:{width:"40%"}},"当前图片类型:",-1)),s$e={key:2,class:"placeholder"},l$e=Xe({__name:"MarkupPanel",setup(e){const t=ut(),n=ht(),{currentSlide:r}=De(t),{handleElement:i,handleElementId:o}=De(n),a=pe([{label:"未标记类型",value:""},{label:"封面页",value:"cover"},{label:"目录页",value:"contents"},{label:"过渡页",value:"transition"},{label:"内容页",value:"content"},{label:"结束页",value:"end"}]),s=pe([{label:"未标记类型",value:""},{label:"标题",value:"title"},{label:"副标题",value:"subtitle"},{label:"正文",value:"content"},{label:"列表项目",value:"item"},{label:"列表项标题",value:"itemTitle"},{label:"注释",value:"notes"},{label:"页眉",value:"header"},{label:"页脚",value:"footer"},{label:"节编号",value:"partNumber"},{label:"项目编号",value:"itemNumber"}]),l=pe([{label:"未标记类型",value:""},{label:"页面插图",value:"pageFigure"},{label:"项目插图",value:"itemFigure"},{label:"背景图",value:"background"}]),u=we(()=>{var v;return((v=r.value)==null?void 0:v.type)||""}),c=we(()=>i.value?i.value.type==="text"?i.value.textType||"":i.value.type==="shape"&&i.value.text&&i.value.text.type||"":""),f=we(()=>i.value&&i.value.type==="image"&&i.value.imageType||""),d=v=>{v?t.updateSlide({type:v}):t.removeSlideProps({id:r.value.id,propName:"type"})},h=v=>{if(i.value&&(i.value.type==="image"&&(v?t.updateElement({id:o.value,props:{imageType:v}}):t.removeElementProps({id:o.value,propName:"imageType"})),i.value.type==="text"&&(v?t.updateElement({id:o.value,props:{textType:v}}):t.removeElementProps({id:o.value,propName:"textType"})),i.value.type==="shape")){const g=i.value.text;if(!g)return;v?t.updateElement({id:o.value,props:{text:{...g,type:v}}}):(delete g.type,t.updateElement({id:o.value,props:{text:g}}))}},p=()=>{n.setMarkupPanelState(!1)};return(v,g)=>(U(),_e(i1,{class:"notes-panel",width:300,height:130,title:"幻灯片类型标注",left:-270,top:90,onClose:g[3]||(g[3]=m=>p())},{default:ie(()=>[V("div",e$e,[V("div",t$e,[n$e,O(zr,{style:{width:"60%"},value:u.value,"onUpdate:value":g[0]||(g[0]=m=>d(m)),options:a.value},null,8,["value","options"])]),z(i)&&(z(i).type==="text"||z(i).type==="shape"&&z(i).text)?(U(),te("div",r$e,[i$e,O(zr,{style:{width:"60%"},value:c.value,"onUpdate:value":g[1]||(g[1]=m=>h(m)),options:s.value},null,8,["value","options"])])):Ze("",!0),z(i)&&z(i).type==="image"?(U(),te("div",o$e,[a$e,O(zr,{style:{width:"60%"},value:f.value,"onUpdate:value":g[2]||(g[2]=m=>h(m)),options:l.value},null,8,["value","options"])])):(U(),te("div",s$e,"选中图片、文字、带文字的形状,标记类型"))])]),_:1}))}}),u$e=Be(l$e,[["__scopeId","data-v-ff22c094"]]),c$e=()=>{const e=ut(),{addSlidesFromData:t}=H2(),{isEmptySlide:n}=gc(),r=pe([]),i=(h,p)=>h.type==="text"&&h.textType===p||h.type==="shape"&&h.text&&h.text.type===p,o=(h,p,v)=>{if(p===1){const y=h.filter(R=>{const A=R.elements.filter(L=>i(L,v)),x=R.elements.filter(L=>i(L,"title")),S=R.elements.filter(L=>i(L,"content"));return!A.length&&x.length===1&&S.length===1});if(y.length)return y}let g=null;const m=h.filter(y=>y.elements.filter(A=>i(A,v)).length>=p);if(m.length===0){const y=h.sort((R,A)=>{const x=R.elements.filter(L=>i(L,v)).length,S=A.elements.filter(L=>i(L,v)).length;return x-S});g=y[y.length-1]}else g=m.reduce((y,R)=>{const A=R.elements.filter(S=>i(S,v)).length,x=y.elements.filter(S=>i(S,v)).length;return A-p<=x-p?R:y});return h.filter(y=>{const R=y.elements.filter(x=>i(x,v)).length,A=g.elements.filter(x=>i(x,v)).length;return R===A})},a=({text:h,fontSize:p,fontFamily:v,width:g,maxLine:m})=>{const R=document.createElement("canvas").getContext("2d");let A=p;const x=10;for(;A>=x;){R.font=`${A}px ${v}`;const S=R.measureText(h).width;if(Math.ceil(S/g)<=m)return A;const w=A<=22?1:2;A=A-w}return x},s=h=>{const p=/font-size:\s*(\d+)\s*px/i,v=/font-family:\s*['"]?([^'";]+)['"]?\s*(?=;|>|$)/i,g={fontSize:16,fontFamily:"Microsoft Yahei"},m=h.match(p),y=h.match(v);return{fontSize:m?+m[1].trim():g.fontSize,fontFamily:y?y[1].trim():g.fontFamily}},l=({el:h,text:p,maxLine:v,longestText:g,digitPadding:m})=>{const R=h.width-20-10;let A=h.type==="text"?h.content:h.text.content;const x=s(A),S=a({text:g||p,fontSize:x.fontSize,fontFamily:x.fontFamily,width:R,maxLine:v}),w=new DOMParser().parseFromString(A,"text/html"),_=document.createTreeWalker(w.body,NodeFilter.SHOW_TEXT).nextNode();if(_&&(m&&_.textContent&&_.textContent.length===2&&p.length===1?_.textContent="0"+p:_.textContent=p),w.body.innerHTML.indexOf("font-size")===-1){const k=w.querySelector("p");k&&(k.style.fontSize="16px")}return A=w.body.innerHTML.replace(/font-size:(.+?)px/g,`font-size: ${S}px`),h.type==="text"?{...h,content:A,lineHeight:S<15?1.2:h.lineHeight}:{...h,text:{...h.text,content:A}}},u=h=>{let p=null,v=[];return h.width===h.height?v=r.value.filter(g=>g.width===g.height):h.width>h.height?v=r.value.filter(g=>g.width>g.height):v=r.value.filter(g=>g.width<=g.height),v.length||(v=r.value),p=v[Math.floor(Math.random()*v.length)],r.value=r.value.filter(g=>g.id!==p.id),p},c=h=>{const p=u(h);if(!p)return h;let v=1,g=h.width,m=h.height,y=[[0,0],[0,0]];const R=h.width/h.height;if(p.width/p.height>=R){v=p.height/h.height,g=p.width/v;const L=(g-h.width)/2/g*100;y=[[L,0],[100-L,100]]}else{v=p.width/h.width,m=p.height/v;const L=(m-h.height)/2/m*100;y=[[0,L],[100,100-L]]}const A=h.clip&&h.clip.shape?h.clip.shape:"rect",x={range:y,shape:A},S=p.src;return{...h,src:S,clip:x}};return{AIPPT:(h,p,v)=>{v&&(r.value=v);const g=[];for(const k of p)if(k.type==="content"){const P=k.data.items;if(P.length===5||P.length===6){const N=P.slice(0,3),C=P.slice(3);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:3})}else if(P.length===7||P.length===8){const N=P.slice(0,4),C=P.slice(4);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:4})}else if(P.length===9||P.length===10){const N=P.slice(0,3),C=P.slice(3,6),F=P.slice(6);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:3}),g.push({...k,data:{...k.data,items:F},offset:6})}else if(P.length>10){const N=P.slice(0,4),C=P.slice(4,8),F=P.slice(8);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:4}),g.push({...k,data:{...k.data,items:F},offset:8})}else g.push(k)}else if(k.type==="contents"){const P=k.data.items;if(P.length===7){const N=P.slice(0,5),C=P.slice(5);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:5})}else if(P.length>7&&P.length<=12){const N=P.slice(0,6),C=P.slice(6);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:6})}else if(P.length===13){const N=P.slice(0,6),C=P.slice(6,11),F=P.slice(11);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:6}),g.push({...k,data:{...k.data,items:F},offset:11})}else if(P.length>13){const N=P.slice(0,6),C=P.slice(6,12),F=P.slice(12);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:6}),g.push({...k,data:{...k.data,items:F},offset:12})}else g.push(k)}else g.push(k);const m=h.filter(k=>k.type==="cover"),y=h.filter(k=>k.type==="contents"),R=h.filter(k=>k.type==="transition"),A=h.filter(k=>k.type==="content"),x=h.filter(k=>k.type==="end"),S=m[Math.floor(Math.random()*m.length)],L=R[Math.floor(Math.random()*R.length)],w=x[Math.floor(Math.random()*x.length)],M=[];let _=0;for(const k of g)if(k.type==="cover"){const P=S.elements.map(N=>N.type==="image"&&N.imageType&&r.value.length?c(N):N.type!=="text"&&N.type!=="shape"?N:i(N,"title")&&k.data.title?l({el:N,text:k.data.title,maxLine:1}):i(N,"content")&&k.data.text?l({el:N,text:k.data.text,maxLine:3}):N);M.push({...S,id:on(10),elements:P})}else if(k.type==="contents"){const P=o(y,k.data.items.length,"item"),N=P[Math.floor(Math.random()*P.length)],C=N.elements.filter(D=>i(D,"item")).sort((D,Z)=>{const re=D.left+D.top*2,B=Z.left+Z.top*2;return re-B}).map(D=>D.id),F=N.elements.filter(D=>i(D,"itemNumber")).sort((D,Z)=>{const re=D.left+D.top*2,B=Z.left+Z.top*2;return re-B}).map(D=>D.id),I=k.data.items.reduce((D,Z)=>Z.length>D.length?Z:D,""),W=N.elements.map(D=>{if(D.type==="image"&&D.imageType&&r.value.length)return c(D);if(D.type!=="text"&&D.type!=="shape")return D;if(i(D,"item")){const Z=C.findIndex(B=>B===D.id),re=k.data.items[Z];if(re)return l({el:D,text:re,maxLine:1,longestText:I})}if(i(D,"itemNumber")){const Z=F.findIndex(B=>B===D.id),re=k.offset||0;return l({el:D,text:Z+re+1+"",maxLine:1,digitPadding:!0})}return D});M.push({...N,id:on(10),elements:W})}else if(k.type==="transition"){_++;const P=L.elements.map(N=>N.type==="image"&&N.imageType&&r.value.length?c(N):N.type!=="text"&&N.type!=="shape"?N:i(N,"title")&&k.data.title?l({el:N,text:k.data.title,maxLine:1}):i(N,"content")&&k.data.text?l({el:N,text:k.data.text,maxLine:3}):i(N,"partNumber")?l({el:N,text:_+"",maxLine:1,digitPadding:!0}):N);M.push({...L,id:on(10),elements:P})}else if(k.type==="content"){const P=o(A,k.data.items.length,"item"),N=P[Math.floor(Math.random()*P.length)],C=N.elements.filter(Y=>i(Y,"itemTitle")).sort((Y,Q)=>{const K=Y.left+Y.top*2,q=Q.left+Q.top*2;return K-q}).map(Y=>Y.id),F=N.elements.filter(Y=>i(Y,"item")).sort((Y,Q)=>{const K=Y.left+Y.top*2,q=Q.left+Q.top*2;return K-q}).map(Y=>Y.id),I=N.elements.filter(Y=>i(Y,"itemNumber")).sort((Y,Q)=>{const K=Y.left+Y.top*2,q=Q.left+Q.top*2;return K-q}).map(Y=>Y.id),W=[],D=[];for(const Y of k.data.items)Y.title&&W.push(Y.title),Y.text&&D.push(Y.text);const Z=W.reduce((Y,Q)=>Q.length>Y.length?Q:Y,""),re=D.reduce((Y,Q)=>Q.length>Y.length?Q:Y,""),B=N.elements.map(Y=>{if(Y.type==="image"&&Y.imageType&&r.value.length)return c(Y);if(Y.type!=="text"&&Y.type!=="shape")return Y;if(k.data.items.length===1){const Q=k.data.items[0];if(i(Y,"content")&&Q.text)return l({el:Y,text:Q.text,maxLine:6})}else{if(i(Y,"itemTitle")){const Q=C.findIndex(q=>q===Y.id),K=k.data.items[Q];if(K&&K.title)return l({el:Y,text:K.title,longestText:Z,maxLine:1})}if(i(Y,"item")){const Q=F.findIndex(q=>q===Y.id),K=k.data.items[Q];if(K&&K.text)return l({el:Y,text:K.text,longestText:re,maxLine:4})}if(i(Y,"itemNumber")){const Q=I.findIndex(q=>q===Y.id),K=k.offset||0;return l({el:Y,text:Q+K+1+"",maxLine:1,digitPadding:!0})}}return i(Y,"title")&&k.data.title?l({el:Y,text:k.data.title,maxLine:1}):Y});M.push({...N,id:on(10),elements:B})}else if(k.type==="end"){const P=w.elements.map(N=>N.type==="image"&&N.imageType&&r.value.length?c(N):N);M.push({...w,id:on(10),elements:P})}n.value?e.setSlides(M):t(M)},getMdContent:h=>{const p=/```markdown([^```]*)```/,v=h.match(p);return v?v[1].trim():h.replace("```markdown","").replace("```","")}}},f$e=e=>(en("data-v-11cc4aad"),e=e(),tn(),e),d$e={class:"aippt-dialog"},h$e={class:"header"},p$e=f$e(()=>V("span",{class:"title"},"AIPPT",-1)),v$e={key:0,class:"subtite"},g$e={key:1,class:"subtite"},m$e={key:0,class:"preview"},y$e={class:"btns"},A$e={class:"count"},R$e={class:"recommends"},b$e=["onClick"],x$e=Xe({__name:"AIPPTDialog",setup(e){const t=ht(),{getMdContent:n,AIPPT:r}=c$e(),i=pe("zh"),o=pe(""),a=pe(""),s=pe(!1),l=pe(),u=pe(["年度工作总结","大学生职业生涯规划","公司年会策划方案","大数据如何改变世界","餐饮市场调查与研究"]);Ht(()=>{setTimeout(()=>{l.value.focus()},500)});const c=async()=>{if(!o.value)return gn.error("请先输入PPT主题");s.value=!0,a.value=await $g.AIPPT_Outline(o.value,i.value).then(d=>n(d.data[0].content)),s.value=!1},f=async()=>{if(!a.value)return gn.error("缺少PPT大纲");s.value=!0;const d=await $g.AIPPT(a.value,i.value).then(p=>JSON.parse(p.data[0].content).data),h=await $g.getFileData("template_1").then(p=>p.slides);r(h,d),s.value=!1,t.setAIPPTDialogState(!1)};return(d,h)=>{const p=Se("IconSend");return U(),te("div",d$e,[V("div",h$e,[p$e,a.value?(U(),te("span",v$e,"检查确认下方PPT大纲,点击继续生成PPT")):(U(),te("span",g$e,"在下方输入您的PPT主题,并适当补充信息,如行业、岗位、学科、用途等"))]),a.value?(U(),te("div",m$e,[V("pre",null,vt(a.value),1),V("div",y$e,[O(et,{class:"btn",type:"primary",onClick:h[0]||(h[0]=v=>f())},{default:ie(()=>[Ue("继续")]),_:1}),O(et,{class:"btn",onClick:h[1]||(h[1]=v=>a.value="")},{default:ie(()=>[Ue("返回重新生成")]),_:1})])])):(U(),te(We,{key:1},[O(fc,{class:"input",ref_key:"inputRef",ref:l,value:o.value,"onUpdate:value":h[3]||(h[3]=v=>o.value=v),maxlength:50,placeholder:"请输入PPT主题,如:大学生职业生涯规划",onEnter:h[4]||(h[4]=v=>c())},{suffix:ie(()=>[V("span",A$e,vt(o.value.length)+" / 50",1),V("div",{class:"submit",type:"primary",onClick:h[2]||(h[2]=v=>c())},[O(p,{class:"icon"}),Ue(" AI 生成")])]),_:1},8,["value"]),V("div",R$e,[(U(!0),te(We,null,tt(u.value,(v,g)=>(U(),te("div",{class:"recommend",key:g,onClick:m=>o.value=v},vt(v),9,b$e))),128))])],64)),O(ty,{loading:s.value,tip:"AI生成中,请稍等 ..."},null,8,["loading"])])}}}),S$e=Be(x$e,[["__scopeId","data-v-11cc4aad"]]),w$e={class:"pptist-editor"},M$e={class:"layout-content"},L$e={class:"layout-content-center"},T$e=Xe({__name:"index",setup(e){const t=ht(),{dialogForExport:n,showSelectPanel:r,showSearchPanel:i,showNotesPanel:o,showMarkupPanel:a,showAIPPTDialog:s}=De(t),l=()=>t.setDialogForExport(""),u=()=>t.setAIPPTDialogState(!1),c=pe(40);return Q2e(),H2e(),(f,d)=>(U(),te(We,null,[V("div",w$e,[O(_Se,{class:"layout-header"}),V("div",M$e,[O(_We,{class:"layout-content-left"}),V("div",L$e,[O(wXe,{class:"center-top"}),O(EFe,{class:"center-body",style:Le({height:`calc(100% - ${c.value+40}px)`})},null,8,["style"]),O(SKe,{class:"center-bottom",height:c.value,"onUpdate:height":d[0]||(d[0]=h=>c.value=h),style:Le({height:`${c.value}px`})},null,8,["height","style"])]),O(mKe,{class:"layout-content-right"})])]),z(r)?(U(),_e(AJe,{key:0})):Ze("",!0),z(i)?(U(),_e(wJe,{key:1})):Ze("",!0),z(o)?(U(),_e(qJe,{key:2})):Ze("",!0),z(a)?(U(),_e(u$e,{key:3})):Ze("",!0),O(n0,{visible:!!z(n),width:680,onClosed:d[1]||(d[1]=h=>l())},{default:ie(()=>[O(jze)]),_:1},8,["visible"]),O(n0,{visible:z(s),width:680,closeOnClickMask:!1,closeOnEsc:!1,closeButton:"",onClosed:d[2]||(d[2]=h=>u())},{default:ie(()=>[O(S$e)]),_:1},8,["visible"])],64))}}),_$e=Be(T$e,[["__scopeId","data-v-017cd48e"]]),Ete=()=>{const e=ut(),{slides:t,slideIndex:n,formatedAnimations:r}=De(e),i=pe(0),o=pe(!1),a=pe(n.value),s=()=>{if(o.value)return;const{animations:P,autoNext:N}=r.value[i.value];i.value+=1,o.value=!0;let C=0;for(const F of P){const I=document.querySelector(`#screen-element-${F.elId} [class^=base-element-]`);if(!I){C+=1;continue}const W=`${Pa}${F.effect}`;I.style.removeProperty("--animate-duration");for(const Z of I.classList)Z.indexOf(Pa)!==-1&&I.classList.remove(Z,`${Pa}animated`);I.style.setProperty("--animate-duration",`${F.duration}ms`),I.classList.add(W,`${Pa}animated`);const D=()=>{F.type!=="out"&&(I.style.removeProperty("--animate-duration"),I.classList.remove(W,`${Pa}animated`)),C+=1,C===P.length&&(o.value=!1,N&&s())};I.addEventListener("animationend",D,{once:!0})}};Ht(()=>{const P=r.value[0];P&&P.animations.length&&P.animations.every(C=>C.trigger==="auto"||C.trigger==="meantime")&&s()});const l=()=>{i.value-=1;const{animations:P}=r.value[i.value];for(const N of P){const C=document.querySelector(`#screen-element-${N.elId} [class^=base-element-]`);if(C){C.style.removeProperty("--animate-duration");for(const F of C.classList)F.indexOf(Pa)!==-1&&C.classList.remove(F,`${Pa}animated`)}}P.every(N=>N.type==="attention")&&p()},u=pe(0),c=()=>{u.value&&(clearInterval(u.value),u.value=0)};Nn(c);const f=pe(!1),d=P=>{f.value=P},h=Yn.throttle(function(P){gn.success(P)},1e3,{leading:!0,trailing:!1}),p=()=>{r.value.length&&i.value>0?l():n.value>0?(e.updateSlideIndex(n.value-1),n.value{r.value.length&&i.value{c(),gn.success("开始自动放映"),u.value=setInterval(v,g.value)},y=P=>{c(),g.value=P,m()},R=Yn.throttle(function(P){P.deltaY<0?p():P.deltaY>0&&v()},500,{leading:!0,trailing:!1}),A=pe(null),x=P=>{A.value={x:P.changedTouches[0].pageX,y:P.changedTouches[0].pageY}},S=P=>{if(!A.value)return;const N=Math.abs(A.value.x-P.changedTouches[0].pageX),C=P.changedTouches[0].pageY-A.value.y;Math.abs(C)>N&&Math.abs(C)>50&&(A.value=null,C>0?p():v())},L=P=>{const N=P.key.toUpperCase();N===At.UP||N===At.LEFT||N===At.PAGEUP?p():(N===At.DOWN||N===At.RIGHT||N===At.SPACE||N===At.ENTER||N===At.PAGEDOWN)&&v()};Ht(()=>document.addEventListener("keydown",L)),Nn(()=>document.removeEventListener("keydown",L));const w=()=>{e.updateSlideIndex(n.value-1),i.value=0},M=()=>{e.updateSlideIndex(n.value+1),i.value=0},_=P=>{e.updateSlideIndex(P),i.value=0};return{autoPlayTimer:u,autoPlayInterval:g,setAutoPlayInterval:y,autoPlay:m,closeAutoPlay:c,loopPlay:f,setLoopPlay:d,mousewheelListener:R,touchStartListener:x,touchEndListener:S,turnPrevSlide:w,turnNextSlide:M,turnSlideToIndex:_,turnSlideToId:P=>{const N=t.value.findIndex(C=>C.id===P);N!==-1&&(e.updateSlideIndex(N),i.value=0)},execPrev:p,execNext:v,animationIndex:i}},Xte=e=>{const t=ut(),{viewportRatio:n}=De(t),r=pe(0),i=pe(0),o=()=>{const a=(e==null?void 0:e.value)||document.body,s=a.clientWidth,l=a.clientHeight;let u,c;l/s===n.value?(u=s,c=l):l/s>n.value?(u=s,c=s*n.value):(u=l/n.value,c=l),r.value=u,i.value=c};return Ht(()=>{o(),window.addEventListener("resize",o)}),Nn(()=>{window.removeEventListener("resize",o)}),{slideWidth:r,slideHeight:i}},Wte=()=>{const e=pe(!0),t=pe(!0),{exitScreening:n}=ld(),r=()=>{e.value=TT(),!e.value&&t.value&&n(),t.value=!0};return Ht(()=>{e.value=TT(),document.addEventListener("fullscreenchange",r),document.addEventListener("webkitfullscreenchange",r)}),Nn(()=>{document.removeEventListener("fullscreenchange",r),document.removeEventListener("webkitfullscreenchange",r)}),{fullscreenState:e,manualExitFullscreen:()=>{e.value&&(t.value=!1,DH())}}},O$e={class:"element-content"},k$e=Xe({__name:"ScreenVideoElement",props:{elementInfo:{}},setup(e){const{currentSlide:t}=De(ut()),n=bs(iy)||pe(1),r=bs(yk)||pe(""),i=we(()=>t.value.id===r.value);return(o,a)=>(U(),te("div",{class:"base-element-video screen-element-video",style:Le({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${o.elementInfo.rotate}deg)`})},[V("div",O$e,[i.value?(U(),_e(Ree,{key:0,width:o.elementInfo.width,height:o.elementInfo.height,src:o.elementInfo.src,poster:o.elementInfo.poster,autoplay:o.elementInfo.autoplay,scale:z(n)},null,8,["width","height","src","poster","autoplay","scale"])):Ze("",!0)])],4)],4))}}),P$e=Be(k$e,[["__scopeId","data-v-d9f232b0"]]),C$e={class:"element-content"},I$e=Xe({__name:"ScreenAudioElement",props:{elementInfo:{}},setup(e){const t=e,{viewportRatio:n,currentSlide:r,viewportSize:i}=De(ut()),o=bs(iy)||pe(1),a=bs(yk)||pe(""),s=we(()=>r.value.id===a.value),l=we(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),u=we(()=>{const d=i.value,h=i.value*n.value,p=280/o.value,v=50/o.value,g=t.elementInfo.width,m=t.elementInfo.height,y=t.elementInfo.left,R=t.elementInfo.top;let A=0,x=m;return y+p>=d&&(A=g-p),R+m+v>=h&&(x=-v),{left:A+"px",top:x+"px"}}),c=pe(),f=()=>{c.value&&c.value.toggle()};return(d,h)=>{const p=Se("IconVolumeNotice");return U(),te("div",{class:"base-element-audio screen-element-audio",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",C$e,[O(p,{class:"audio-icon",style:Le({fontSize:l.value,color:d.elementInfo.color}),onClick:h[0]||(h[0]=v=>f())},null,8,["style"]),s.value?(U(),_e(See,{key:0,class:"audio-player",ref_key:"audioPlayerRef",ref:c,style:Le({...u.value}),src:d.elementInfo.src,loop:d.elementInfo.loop,autoplay:d.elementInfo.autoplay,scale:z(o)},null,8,["style","src","loop","autoplay","scale"])):Ze("",!0)])],4)],4)}}}),N$e=Be(I$e,[["__scopeId","data-v-db0543f3"]]),F$e=["id","title"],E$e=Xe({__name:"ScreenElement",props:{elementInfo:{},elementIndex:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,n=we(()=>({[Et.IMAGE]:Tee,[Et.TEXT]:_ee,[Et.SHAPE]:Oee,[Et.LINE]:kee,[Et.CHART]:Pee,[Et.TABLE]:Cee,[Et.LATEX]:Iee,[Et.VIDEO]:P$e,[Et.AUDIO]:N$e})[t.elementInfo.type]||null),{formatedAnimations:r,theme:i}=De(ut()),o=we(()=>{const s=r.value.findIndex(u=>u.animations.map(f=>f.elId).includes(t.elementInfo.id));if(s===-1||su.elId===t.elementInfo.id);return(l==null?void 0:l.type)==="in"}),a=s=>{if(s.target.tagName==="A"){t.manualExitFullscreen();return}const l=t.elementInfo.link;l&&(l.type==="web"?(t.manualExitFullscreen(),window.open(l.target)):l.type==="slide"&&t.turnSlideToId(l.target))};return(s,l)=>{var u;return U(),te("div",{class:$e(["screen-element",{link:s.elementInfo.link}]),id:`screen-element-${s.elementInfo.id}`,style:Le({zIndex:s.elementIndex,color:z(i).fontColor,fontFamily:z(i).fontName,visibility:o.value?"hidden":"visible"}),title:((u=s.elementInfo.link)==null?void 0:u.target)||"",onClick:l[0]||(l[0]=c=>a(c))},[(U(),_e(Ru(n.value),{elementInfo:s.elementInfo},null,8,["elementInfo"]))],14,F$e)}}}),X$e=Be(E$e,[["__scopeId","data-v-28b05f52"]]),W$e=Xe({__name:"ScreenSlide",props:{slide:{},scale:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{viewportRatio:n,viewportSize:r}=De(ut()),i=we(()=>t.slide.background),{backgroundStyle:o}=t4(i),a=we(()=>t.slide.id);return a0(yk,a),(s,l)=>(U(),te("div",{class:"screen-slide",style:Le({width:z(r)+"px",height:z(r)*z(n)+"px",transform:`scale(${s.scale})`})},[V("div",{class:"background",style:Le({...z(o)})},null,4),(U(!0),te(We,null,tt(s.slide.elements,(u,c)=>(U(),_e(X$e,{key:u.id,elementInfo:u,elementIndex:c+1,animationIndex:s.animationIndex,turnSlideToId:s.turnSlideToId,manualExitFullscreen:s.manualExitFullscreen},null,8,["elementInfo","elementIndex","animationIndex","turnSlideToId","manualExitFullscreen"]))),128))],4))}}),V$e=Be(W$e,[["__scopeId","data-v-54069779"]]),D$e={class:"screen-slide-list"},U$e=Xe({__name:"ScreenSlideList",props:{slideWidth:{},slideHeight:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r,viewportSize:i}=De(ut()),o=we(()=>n.value.map(s=>{let l=s.turningMode;if(l||(l="slideY"),l==="random"){const u=gte.filter(c=>!["random","no"].includes(c.value)).map(c=>c.value);l=u[Math.floor(Math.random()*u.length)]}return{...s,turningMode:l}})),a=we(()=>t.slideWidth/i.value);return a0(iy,a),(s,l)=>(U(),te("div",D$e,[(U(!0),te(We,null,tt(o.value,(u,c)=>{var f;return U(),te("div",{class:$e(["slide-item",`turning-mode-${u.turningMode}`,{current:c===z(r),before:cz(r),hide:(c===z(r)-1||c===z(r)+1)&&u.turningMode!==o.value[z(r)].turningMode}]),key:u.id},[Math.abs(z(r)-c)<2||(f=u.animations)!=null&&f.length?(U(),te("div",{key:0,class:"slide-content",style:Le({width:s.slideWidth+"px",height:s.slideHeight+"px"})},[O(V$e,{slide:u,scale:a.value,animationIndex:s.animationIndex,turnSlideToId:s.turnSlideToId,manualExitFullscreen:s.manualExitFullscreen},null,8,["slide","scale","animationIndex","turnSlideToId","manualExitFullscreen"])],4)):Ze("",!0)],2)}),128))]))}}),Vte=Be(U$e,[["__scopeId","data-v-30b01007"]]),B$e={class:"slide-thumbnails"},Y$e={class:"return-button"},Z$e={class:"slide-thumbnails-content"},Q$e=["onClick"],H$e=Xe({__name:"SlideThumbnails",props:{turnSlideToIndex:{type:Function}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,{slides:i,slideIndex:o}=De(ut()),{slidesLoadLimit:a}=vy(),s=l=>{n.turnSlideToIndex(l),r("close")};return(l,u)=>{const c=Se("IconArrowCircleLeft");return U(),te("div",B$e,[V("div",Y$e,[O(c,{class:"icon",onClick:u[0]||(u[0]=f=>r("close"))})]),V("div",Z$e,[(U(!0),te(We,null,tt(z(i),(f,d)=>(U(),te("div",{class:$e(["thumbnail",{active:d===z(o)}]),key:f.id,onClick:h=>s(d)},[O(dl,{slide:f,size:150,visible:ds.value?p.value/s.value.width:1),m=we(()=>s.value?v.value/s.value.height:1),y=()=>{a.value&&(p.value=a.value.clientWidth,v.value=a.value.clientHeight)},R=new ResizeObserver(y);Ht(()=>{a.value&&R.observe(a.value)}),Nn(()=>{a.value&&R.unobserve(a.value)}),Ht(()=>{!s.value||!a.value||(o=s.value.getContext("2d"),o&&(s.value.width=a.value.clientWidth,s.value.height=a.value.clientHeight,o.lineCap="round",o.lineJoin="round"))});const x=()=>{o&&(r.model==="mark"?(o.globalCompositeOperation="xor",o.globalAlpha=.5):r.model==="pen"&&(o.globalCompositeOperation="source-over",o.globalAlpha=1))};Ot(()=>r.model,x);const S=(D,Z,re)=>{if(!o)return;const B=l.x,Y=l.y;o.lineWidth=re,o.strokeStyle=r.color,o.beginPath(),o.moveTo(B,Y),o.lineTo(D,Z),o.stroke(),o.closePath()},L=(D,Z)=>{if(!o||!s.value)return;const re=l.x,B=l.y,Y=r.rubberSize/2,Q=Y*Math.sin(Math.atan((Z-B)/(D-re))),K=Y*Math.cos(Math.atan((Z-B)/(D-re))),q=[re+Q,B-K],$=[re-Q,B+K],de=[D+Q,Z-K],G=[D-Q,Z+K];o.save(),o.beginPath(),o.arc(D,Z,Y,0,Math.PI*2),o.clip(),o.clearRect(0,0,s.value.width,s.value.height),o.restore(),o.save(),o.beginPath(),o.moveTo(...q),o.lineTo(...de),o.lineTo(...G),o.lineTo(...$),o.closePath(),o.clip(),o.clearRect(0,0,s.value.width,s.value.height),o.restore()},w=(D,Z)=>{const re=l.x,B=l.y;return Math.sqrt((D-re)*(D-re)+(Z-B)*(Z-B))},M=(D,Z)=>{const Y=r.penSize,Q=3,K=D/Z;let q;return K<=.1?q=Y:K>=10?q=Q:q=Y-K/10*Y,f===-1?q:q*1/3+f*2/3},_=(D,Z)=>{const re=new Date().getTime();if(r.model==="pen"){const B=w(D,Z),Y=re-c,Q=M(B,Y);S(D,Z,Q),f=Q}else r.model==="mark"?S(D,Z,r.markSize):L(D,Z);l={x:D,y:Z},c=new Date().getTime()},k=D=>{if(!s.value)return[0,0];const Z=D instanceof MouseEvent?D:D.changedTouches[0],re=s.value.getBoundingClientRect(),B=Z.pageX-re.x,Y=Z.pageY-re.y;return[B,Y]},P=D=>{const[Z,re]=k(D),B=Z/g.value,Y=re/m.value;u=!0,l={x:B,y:Y},c=new Date().getTime(),D instanceof MouseEvent||(d.value={x:Z,y:re},h.value=!0)},N=D=>{const[Z,re]=k(D),B=Z/g.value,Y=re/m.value;d.value={x:Z,y:re},u&&_(B,Y)},C=()=>{u&&(u=!1,i("end"))};return t({clearCanvas:()=>{!o||!s.value||(o.clearRect(0,0,s.value.width,s.value.height),i("end"))},getImageDataURL:()=>{var D;return(D=s.value)==null?void 0:D.toDataURL()},setImageDataURL:D=>{if(!(!o||!s.value)&&(o.clearRect(0,0,s.value.width,s.value.height),D)){o.globalCompositeOperation="source-over",o.globalAlpha=1;const Z=new Image;Z.src=D,Z.onload=()=>{o.drawImage(Z,0,0),x()}}}}),(D,Z)=>{const re=Se("IconWrite"),B=Se("IconHighLight");return U(),te("div",{class:"writing-board",ref_key:"writingBoardRef",ref:a},[D.blackboard?(U(),te("div",G$e)):Ze("",!0),V("canvas",{class:"canvas",ref_key:"canvasRef",ref:s,style:Le({width:p.value+"px",height:v.value+"px"}),onMousedown:Z[0]||(Z[0]=Y=>P(Y)),onMousemove:Z[1]||(Z[1]=Y=>N(Y)),onMouseup:Z[2]||(Z[2]=Y=>C()),onTouchstart:Z[3]||(Z[3]=Y=>P(Y)),onTouchmove:Z[4]||(Z[4]=Y=>N(Y)),onTouchend:Z[5]||(Z[5]=Y=>{C(),h.value=!1}),onMouseleave:Z[6]||(Z[6]=Y=>{C(),h.value=!1}),onMouseenter:Z[7]||(Z[7]=Y=>h.value=!0)},null,36),h.value?(U(),te(We,{key:1},[D.model==="eraser"?(U(),te("div",{key:0,class:"eraser",style:Le({left:d.value.x-D.rubberSize/2+"px",top:d.value.y-D.rubberSize/2+"px",width:D.rubberSize+"px",height:D.rubberSize+"px"})},null,4)):Ze("",!0),D.model==="pen"?(U(),te("div",{key:1,class:"pen",style:Le({left:d.value.x-D.penSize/2+"px",top:d.value.y-D.penSize*6+D.penSize/2+"px",color:D.color})},[D.model==="pen"?(U(),_e(re,{key:0,class:"icon",size:D.penSize*6},null,8,["size"])):Ze("",!0)],4)):Ze("",!0),D.model==="mark"?(U(),te("div",{key:2,class:"pen",style:Le({left:d.value.x-D.markSize/2+"px",top:d.value.y+"px",color:D.color})},[D.model==="mark"?(U(),_e(B,{key:0,class:"icon",size:D.markSize*1.5},null,8,["size"])):Ze("",!0)],4)):Ze("",!0)],64)):Ze("",!0)],512)}}}),J$e=Be(z$e,[["__scopeId","data-v-55ae5f6c"]]),iC=e=>(en("data-v-47295ef6"),e=e(),tn(),e),$$e={class:"writing-board-tool"},j$e={class:"tool-content"},q$e={class:"size"},eje=iC(()=>V("div",{class:"label"},"墨迹粗细:",-1)),tje={class:"size"},nje=iC(()=>V("div",{class:"label"},"墨迹粗细:",-1)),rje={class:"size"},ije=iC(()=>V("div",{class:"label"},"橡皮大小:",-1)),oje={class:"colors"},aje=["onClick"],sje=Xe({__name:"WritingBoardTool",props:{slideWidth:{},slideHeight:{},left:{default:-5},top:{default:-5}},emits:["close"],setup(e,{emit:t}){const n=["#000000","#ffffff","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#ffff3a"],r=t,{currentSlide:i}=De(ut()),o=pe(),a=pe("#e2534d"),s=pe("pen"),l=pe(!1),u=pe(""),c=pe(6),f=pe(24),d=pe(80),h=y=>{s.value===y?u.value=u.value===y?"":y:(u.value&&(u.value=""),s.value=y)},p=()=>{o.value.clearCanvas()},v=y=>{s.value==="eraser"&&(s.value="pen"),a.value=y},g=()=>{r("close")};Ot(i,()=>{el.writingBoardImgs.where("id").equals(i.value.id).toArray().then(y=>{const R=y[0];o.value.setImageDataURL((R==null?void 0:R.dataURL)||"")})},{immediate:!0});const m=()=>{const y=o.value.getImageDataURL();y&&el.writingBoardImgs.where("id").equals(i.value.id).toArray().then(R=>{const A=R[0];A?el.writingBoardImgs.update(A,{dataURL:y}):el.writingBoardImgs.add({id:i.value.id,dataURL:y})})};return(y,R)=>{const A=Se("IconWrite"),x=Se("IconHighLight"),S=Se("IconErase"),L=Se("IconClear"),w=Se("IconFill"),M=Se("IconClose"),_=Fn("tooltip");return U(),te("div",$$e,[V("div",{class:"writing-board-wrap",style:Le({width:y.slideWidth+"px",height:y.slideHeight+"px"})},[O(J$e,{ref_key:"writingBoardRef",ref:o,color:a.value,blackboard:l.value,model:s.value,penSize:c.value,markSize:f.value,rubberSize:d.value,onEnd:R[0]||(R[0]=k=>m())},null,8,["color","blackboard","model","penSize","markSize","rubberSize"])],4),O(i1,{class:"tools-panel",width:520,height:50,left:y.left,top:y.top,moveable:u.value===""},{default:ie(()=>[V("div",{class:"tools",onMousedown:R[10]||(R[10]=Ft(()=>{},["stop"]))},[V("div",j$e,[O(Nt,{trigger:"manual",value:u.value==="pen"},{content:ie(()=>[V("div",q$e,[eje,O(Ki,{class:"size-slider",min:4,max:10,step:2,value:c.value,"onUpdate:value":R[1]||(R[1]=k=>c.value=k)},null,8,["value"])])]),default:ie(()=>[ze((U(),te("div",{class:$e(["btn",{active:s.value==="pen"}]),onClick:R[2]||(R[2]=k=>h("pen"))},[O(A,{class:"icon"})],2)),[[_,"画笔"]])]),_:1},8,["value"]),O(Nt,{trigger:"manual",value:u.value==="mark"},{content:ie(()=>[V("div",tje,[nje,O(Ki,{class:"size-slider",min:16,max:40,step:4,value:f.value,"onUpdate:value":R[3]||(R[3]=k=>f.value=k)},null,8,["value"])])]),default:ie(()=>[ze((U(),te("div",{class:$e(["btn",{active:s.value==="mark"}]),onClick:R[4]||(R[4]=k=>h("mark"))},[O(x,{class:"icon"})],2)),[[_,"荧光笔"]])]),_:1},8,["value"]),O(Nt,{trigger:"manual",value:u.value==="eraser"},{content:ie(()=>[V("div",rje,[ije,O(Ki,{class:"size-slider",min:20,max:200,step:20,value:d.value,"onUpdate:value":R[5]||(R[5]=k=>d.value=k)},null,8,["value"])])]),default:ie(()=>[ze((U(),te("div",{class:$e(["btn",{active:s.value==="eraser"}]),onClick:R[6]||(R[6]=k=>h("eraser"))},[O(S,{class:"icon"})],2)),[[_,"橡皮擦"]])]),_:1},8,["value"]),ze((U(),te("div",{class:"btn",onClick:R[7]||(R[7]=k=>p())},[O(L,{class:"icon"})])),[[_,"清除墨迹"]]),ze((U(),te("div",{class:$e(["btn",{active:l.value}]),onClick:R[8]||(R[8]=k=>l.value=!l.value)},[O(w,{class:"icon"})],2)),[[_,"黑板"]]),V("div",oje,[(U(),te(We,null,tt(n,k=>V("div",{class:$e(["color",{active:k===a.value}]),key:k,style:Le({backgroundColor:k}),onClick:P=>v(k)},null,14,aje)),64))])]),ze((U(),te("div",{class:"btn",onClick:R[9]||(R[9]=k=>g())},[O(M,{class:"icon"})])),[[_,"关闭画笔"]])],32)]),_:1},8,["left","top","moveable"])])}}}),Dte=Be(sje,[["__scopeId","data-v-47295ef6"]]),lje=e=>(en("data-v-92c1f9be"),e=e(),tn(),e),uje={class:"header"},cje={class:"content"},fje={class:"timer"},dje=["value","disabled"],hje=lje(()=>V("div",{class:"colon"},":",-1)),pje={class:"timer"},vje=["value","disabled"],gje=Xe({__name:"CountdownTimer",props:{left:{default:5},top:{default:5}},emits:["close"],setup(e,{emit:t}){const n=t,r=pe(null),i=pe(!1),o=pe(!1),a=pe(0),s=we(()=>Math.floor(a.value/60)),l=we(()=>a.value%60),u=we(()=>!o.value||i.value),c=()=>{r.value&&clearInterval(r.value)};Nn(c);const f=()=>{c(),i.value=!1},d=()=>{c(),i.value=!1,o.value?a.value=600:a.value=0},h=()=>{c(),o.value?r.value=setInterval(()=>{a.value=a.value-1,a.value<=0&&d()},1e3):r.value=setInterval(()=>{a.value=a.value+1,a.value>36e3&&f()},1e3),i.value=!0},p=()=>{i.value?f():h()},v=()=>{o.value=!o.value,d()},g=(m,y)=>{const R=m.target;let A=R.value;/^(\d)+$/.test(A)?(y==="second"&&+A>=60&&(A="59"),a.value=y==="minute"?+A*60+l.value:+A+s.value*60):R.value=dg(y==="minute"?s.value:l.value,2)};return(m,y)=>{const R=Se("IconClose");return U(),_e(i1,{class:"countdown-timer",width:180,height:110,left:m.left,top:m.top},{default:ie(()=>[V("div",uje,[V("span",{class:"text-btn",onClick:y[0]||(y[0]=A=>p())},vt(i.value?"暂停":"开始"),1),V("span",{class:"text-btn",onClick:y[1]||(y[1]=A=>d())},"重置"),V("span",{class:$e(["text-btn",{active:o.value}]),onClick:y[2]||(y[2]=A=>v())},"倒计时",2)]),V("div",cje,[V("div",fje,[V("input",{type:"text",value:z(dg)(s.value,2),maxlength:3,disabled:u.value,onMousedown:y[3]||(y[3]=Ft(()=>{},["stop"])),onBlur:y[4]||(y[4]=A=>g(A,"minute")),onKeydown:[y[5]||(y[5]=Ft(()=>{},["stop"])),y[6]||(y[6]=du(Ft(A=>g(A,"minute"),["stop"]),["enter"]))]},null,40,dje)]),hje,V("div",pje,[V("input",{type:"text",value:z(dg)(l.value,2),maxlength:3,disabled:u.value,onMousedown:y[7]||(y[7]=Ft(()=>{},["stop"])),onBlur:y[8]||(y[8]=A=>g(A,"second")),onKeydown:[y[9]||(y[9]=Ft(()=>{},["stop"])),y[10]||(y[10]=du(Ft(A=>g(A,"second"),["stop"]),["enter"]))]},null,40,vje)])]),V("div",{class:"close-btn",onClick:y[11]||(y[11]=A=>n("close"))},[O(R,{class:"icon"})])]),_:1},8,["left","top"])}}}),Ute=Be(gje,[["__scopeId","data-v-92c1f9be"]]),mje={class:"tools-left"},yje={class:"content"},Aje=Xe({__name:"BaseView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r}=De(ut()),{autoPlayTimer:i,autoPlay:o,closeAutoPlay:a,autoPlayInterval:s,setAutoPlayInterval:l,loopPlay:u,setLoopPlay:c,mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:v,turnSlideToIndex:g,turnSlideToId:m,execPrev:y,execNext:R,animationIndex:A}=Ete(),{slideWidth:x,slideHeight:S}=Xte(),{exitScreening:L}=ld(),{fullscreenState:w,manualExitFullscreen:M}=Wte(),_=pe(!1),k=pe(!1),P=pe(!1),N=pe(!1),C=pe(!1),F=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>v()},{text:"第一页",disable:r.value===0,handler:()=>g(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>g(n.value.length-1)},{divider:!0},{text:i.value?"取消自动放映":"自动放映",handler:i.value?a:o,children:[{text:"2.5秒",subText:s.value===2500?"√":"",handler:()=>l(2500)},{text:"5秒",subText:s.value===5e3?"√":"",handler:()=>l(5e3)},{text:"7.5秒",subText:s.value===7500?"√":"",handler:()=>l(7500)},{text:"10秒",subText:s.value===1e4?"√":"",handler:()=>l(1e4)}]},{text:"循环放映",subText:u.value?"√":"",handler:()=>c(!u.value)},{divider:!0},{text:"显示工具栏",handler:()=>_.value=!0},{text:"查看所有幻灯片",handler:()=>N.value=!0},{text:"画笔工具",handler:()=>k.value=!0},{text:"演讲者视图",handler:()=>t.changeViewMode("presenter")},{divider:!0},{text:"结束放映",subText:"ESC",handler:L}];return(I,W)=>{const D=Se("IconLeftTwo"),Z=Se("IconRightTwo"),re=Se("IconWrite"),B=Se("IconMagic"),Y=Se("IconStopwatchStart"),Q=Se("IconListView"),K=Se("IconOffScreenOne"),q=Se("IconFullScreenOne"),$=Se("IconPower"),de=Fn("contextmenu"),G=Fn("tooltip");return U(),te("div",{class:$e(["base-view",{"laser-pen":C.value}])},[ze(O(Vte,{slideWidth:z(x),slideHeight:z(S),animationIndex:z(A),turnSlideToId:z(m),manualExitFullscreen:z(M),onWheel:W[0]||(W[0]=Ae=>z(f)(Ae)),onTouchstart:W[1]||(W[1]=Ae=>z(d)(Ae)),onTouchend:W[2]||(W[2]=Ae=>z(h)(Ae))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[de,F]]),N.value?(U(),_e(K$e,{key:0,turnSlideToIndex:z(g),onClose:W[3]||(W[3]=Ae=>N.value=!1)},null,8,["turnSlideToIndex"])):Ze("",!0),k.value?(U(),_e(Dte,{key:1,slideWidth:z(x),slideHeight:z(S),onClose:W[4]||(W[4]=Ae=>k.value=!1)},null,8,["slideWidth","slideHeight"])):Ze("",!0),P.value?(U(),_e(Ute,{key:2,onClose:W[5]||(W[5]=Ae=>P.value=!1)})):Ze("",!0),V("div",mje,[O(D,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:W[6]||(W[6]=Ae=>z(y)())}),O(Z,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:W[7]||(W[7]=Ae=>z(R)())})]),V("div",{class:$e(["tools-right",{visible:_.value}]),onMouseleave:W[16]||(W[16]=Ae=>_.value=!1),onMouseenter:W[17]||(W[17]=Ae=>_.value=!0)},[V("div",yje,[V("div",{class:"tool-btn page-number",onClick:W[8]||(W[8]=Ae=>N.value=!0)},"幻灯片 "+vt(z(r)+1)+" / "+vt(z(n).length),1),ze(O(re,{class:"tool-btn",onClick:W[9]||(W[9]=Ae=>k.value=!0)},null,512),[[G,"画笔工具"]]),ze(O(B,{class:$e(["tool-btn",{active:C.value}]),onClick:W[10]||(W[10]=Ae=>C.value=!C.value)},null,8,["class"]),[[G,"激光笔"]]),ze(O(Y,{class:$e(["tool-btn",{active:P.value}]),onClick:W[11]||(W[11]=Ae=>P.value=!P.value)},null,8,["class"]),[[G,"计时器"]]),ze(O(Q,{class:"tool-btn",onClick:W[12]||(W[12]=Ae=>I.changeViewMode("presenter"))},null,512),[[G,"演讲者视图"]]),z(w)?ze((U(),_e(K,{key:0,class:"tool-btn",onClick:W[13]||(W[13]=Ae=>z(M)())},null,512)),[[G,"退出全屏"]]):ze((U(),_e(q,{key:1,class:"tool-btn",onClick:W[14]||(W[14]=Ae=>z(GO)())},null,512)),[[G,"进入全屏"]]),ze(O($,{class:"tool-btn",onClick:W[15]||(W[15]=Ae=>z(L)())},null,512),[[G,"结束放映"]])])],34)],2)}}}),Rje=Be(Aje,[["__scopeId","data-v-85c13201"]]),o1=e=>(en("data-v-acf86e50"),e=e(),tn(),e),bje={class:"presenter-view"},xje={class:"toolbar"},Sje=o1(()=>V("span",null,"普通视图",-1)),wje=o1(()=>V("span",null,"画笔",-1)),Mje=o1(()=>V("span",null,"激光笔",-1)),Lje=o1(()=>V("span",null,"计时器",-1)),Tje=o1(()=>V("span",null,"结束放映",-1)),_je={class:"content"},Oje=["onClick"],kje={class:"remark"},Pje={class:"header"},Cje=o1(()=>V("span",null,"演讲者备注",-1)),Ije=["innerHTML"],Nje={class:"remark-scale"},Fje=Xe({__name:"PresenterView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r,viewportRatio:i,currentSlide:o}=De(ut()),a=pe(),s=pe(),l=pe(!1),u=pe(!1),c=pe(!1),{mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:v,turnSlideToIndex:g,turnSlideToId:m,animationIndex:y}=Ete(),{slideWidth:R,slideHeight:A}=Xte(a),{exitScreening:x}=ld(),{slidesLoadLimit:S}=vy(),{fullscreenState:L,manualExitFullscreen:w}=Wte(),M=pe(16),_=we(()=>o.value.remark?Sx(o.value.remark):""),k=C=>{s.value&&s.value.scrollBy(C.deltaY,0)},P=C=>{C<12||C>40||(M.value=C)};Ot(r,()=>{Ir(()=>{if(!s.value)return;const C=s.value.querySelector(".thumbnail.active");if(!C)return;const F=s.value.offsetWidth,I=C.offsetLeft;s.value.scrollTo({left:I-F/2,behavior:"smooth"})})});const N=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>v()},{text:"第一页",disable:r.value===0,handler:()=>g(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>g(n.value.length-1)},{divider:!0},{text:"画笔工具",handler:()=>l.value=!0},{text:"普通视图",handler:()=>t.changeViewMode("base")},{divider:!0},{text:"结束放映",subText:"ESC",handler:x}];return(C,F)=>{const I=Se("IconListView"),W=Se("IconWrite"),D=Se("IconMagic"),Z=Se("IconStopwatchStart"),re=Se("IconOffScreenOne"),B=Se("IconPower"),Y=Se("IconMinus"),Q=Se("IconPlus"),K=Fn("contextmenu");return U(),te("div",bje,[V("div",xje,[V("div",{class:"tool-btn",onClick:F[0]||(F[0]=q=>C.changeViewMode("base"))},[O(I,{class:"tool-icon"}),Sje]),V("div",{class:$e(["tool-btn",{active:l.value}]),onClick:F[1]||(F[1]=q=>l.value=!l.value)},[O(W,{class:"tool-icon"}),wje],2),V("div",{class:$e(["tool-btn",{active:c.value}]),onClick:F[2]||(F[2]=q=>c.value=!c.value)},[O(D,{class:"tool-icon"}),Mje],2),V("div",{class:$e(["tool-btn",{active:u.value}]),onClick:F[3]||(F[3]=q=>u.value=!u.value)},[O(Z,{class:"tool-icon"}),Lje],2),V("div",{class:"tool-btn",onClick:F[4]||(F[4]=()=>z(L)?z(w)():z(GO)())},[z(L)?(U(),_e(re,{key:0,class:"tool-icon"})):(U(),_e(re,{key:1,class:"tool-icon"})),V("span",null,vt(z(L)?"退出全屏":"全屏"),1)]),O(Zt,{class:"divider"}),V("div",{class:"tool-btn",onClick:F[5]||(F[5]=q=>z(x)())},[O(B,{class:"tool-icon"}),Tje])]),V("div",_je,[V("div",{class:$e(["slide-list-wrap",{"laser-pen":c.value}]),ref_key:"slideListWrapRef",ref:a},[ze(O(Vte,{slideWidth:z(R),slideHeight:z(A),animationIndex:z(y),turnSlideToId:z(m),manualExitFullscreen:z(w),onWheel:F[6]||(F[6]=q=>z(f)(q)),onTouchstart:F[7]||(F[7]=q=>z(d)(q)),onTouchend:F[8]||(F[8]=q=>z(h)(q))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[K,N]]),l.value?(U(),_e(Dte,{key:0,slideWidth:z(R),slideHeight:z(A),left:-365,top:-155,onClose:F[9]||(F[9]=q=>l.value=!1)},null,8,["slideWidth","slideHeight"])):Ze("",!0),u.value?(U(),_e(Ute,{key:1,left:75,onClose:F[10]||(F[10]=q=>u.value=!1)})):Ze("",!0)],2),V("div",{class:"thumbnails",ref_key:"thumbnailsRef",ref:s,onWheel:F[11]||(F[11]=Ft(q=>k(q),["prevent"]))},[(U(!0),te(We,null,tt(z(n),(q,$)=>(U(),te("div",{class:$e(["thumbnail",{active:$===z(r)}]),key:q.id,onClick:de=>z(g)($)},[O(dl,{slide:q,size:120/z(i),visible:$P(M.value-2))},[O(Y)],2),V("div",{class:$e(["scale-btn",{disable:M.value===40}]),onClick:F[13]||(F[13]=q=>P(M.value+2))},[O(Q)],2)])])])}}}),Eje=Be(Fje,[["__scopeId","data-v-acf86e50"]]),Xje={class:"pptist-screen"},Wje=Xe({__name:"index",setup(e){const t=pe("base"),n=o=>{t.value=o},{exitScreening:r}=ld(),i=o=>{o.key.toUpperCase()===At.ESC&&r()};return Ht(()=>document.addEventListener("keydown",i)),Nn(()=>document.removeEventListener("keydown",i)),(o,a)=>(U(),te("div",Xje,[t.value==="base"?(U(),_e(Rje,{key:0,changeViewMode:n})):t.value==="presenter"?(U(),_e(Eje,{key:1,changeViewMode:n})):Ze("",!0)]))}}),Vje=Be(Wje,[["__scopeId","data-v-2f0dc4b8"]]),Dje=Xe({__name:"MobileEditableElement",props:{elementInfo:{},elementIndex:{},selectElement:{type:Function}},setup(e){const t=e,n=we(()=>({[Et.IMAGE]:vz,[Et.TEXT]:uJ,[Et.SHAPE]:fJ,[Et.LINE]:dJ,[Et.CHART]:hee,[Et.TABLE]:yee,[Et.LATEX]:Aee,[Et.VIDEO]:bee,[Et.AUDIO]:wee})[t.elementInfo.type]||null);return(r,i)=>(U(),te("div",{class:"mobile-editable-element",style:Le({zIndex:r.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:r.elementInfo,selectElement:r.selectElement,contextmenus:()=>null},null,8,["elementInfo","selectElement"]))],4))}}),Uje=Xe({__name:"MobileOperate",props:{elementInfo:{},isSelected:{type:Boolean},canvasScale:{},scaleElement:{type:Function},rotateElement:{type:Function}},setup(e){const t=e,n=we(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),r=we(()=>t.elementInfo.width*t.canvasScale),i=we(()=>t.elementInfo.height*t.canvasScale),{borderLines:o,resizeHandlers:a,textElementResizeHandlers:s}=g0(r,i),l=t.elementInfo.type==="text"||t.elementInfo.type==="table"?s:a,u=we(()=>["chart","video","audio"].includes(t.elementInfo.type));return(c,f)=>(U(),te("div",{class:"mobile-operate",style:Le({top:c.elementInfo.top*c.canvasScale+"px",left:c.elementInfo.left*c.canvasScale+"px",transform:`rotate(${n.value}deg)`,transformOrigin:`${c.elementInfo.width*c.canvasScale/2}px ${c.elementInfo.height*c.canvasScale/2}px`})},[c.isSelected?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(o),d=>(U(),_e(m0,{class:"operate-border-line",key:d.type,type:d.type,style:Le(d.style)},null,8,["type","style"]))),128)),(U(!0),te(We,null,tt(z(l),d=>(U(),_e(pd,{class:"operate-resize-handler",key:d.direction,type:d.direction,rotate:c.elementInfo.rotate,style:Le(d.style),onTouchstart:Ft(h=>c.scaleElement(h,c.elementInfo,d.direction),["stop"])},null,8,["type","rotate","style","onTouchstart"]))),128)),u.value?Ze("",!0):(U(),_e(r1,{key:0,class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onTouchstart:f[0]||(f[0]=Ft(d=>c.rotateElement(d,c.elementInfo),["stop"]))},null,8,["style"]))],64)):Ze("",!0)],4))}}),Bje=Be(Uje,[["__scopeId","data-v-b61bf2dc"]]),Yje={class:"mobile-thumbnails"},Zje=["onClick"],Qje={class:"label"},Hje=Xe({__name:"MobileThumbnails",setup(e){const t=ut(),{slides:n,slideIndex:r}=De(t),{sortSlides:i}=gc(),{slidesLoadLimit:o}=vy(),a=l=>{t.updateSlideIndex(l)},s=l=>{const{newIndex:u,oldIndex:c}=l;u===void 0||c===void 0||u===c||i(u,c)};return(l,u)=>(U(),te("div",Yje,[O(z(ZP),{class:"thumbnail-list",modelValue:z(n),animation:200,scroll:!0,scrollSensitivity:50,delayOnTouchOnly:!0,delay:800,itemKey:"id",onEnd:s},{item:ie(({element:c,index:f})=>[V("div",{class:$e(["thumbnail-item",{active:z(r)===f}]),onClick:d=>a(f)},[V("div",Qje,vt(f+1),1),O(dl,{class:"thumbnail",slide:c,size:120,visible:f{l({left:(i.value-400)/2,top:(i.value*n.value-56)/2,width:400,height:56},{content:"

新添加文本

"})},d=g=>{!g||!g[0]||sd(g[0]).then(m=>u(m))},h=g=>{const R={square:{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"},round:{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"}},A=200;c({left:(i.value-A)/2,top:(i.value*n.value-A)/2,width:A,height:A},R[g])},p=we(()=>{var g;return((g=r.value)==null?void 0:g.remark)||""}),v=g=>{const m=g.target.value;t.updateSlide({remark:m})};return(g,m)=>{const y=Se("IconPlus"),R=Se("IconCopy"),A=Se("IconDelete"),x=Se("IconFontSize"),S=Se("IconPicture"),L=Se("IconSquare"),w=Se("IconRound");return U(),te("div",Kje,[V("div",Gje,[V("textarea",{value:p.value,placeholder:"点击输入演讲者备注",onInput:m[0]||(m[0]=M=>v(M))},null,40,zje)]),V("div",Jje,[O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:m[1]||(m[1]=M=>z(o)())},{default:ie(()=>[O(y,{class:"icon"}),Ue(" 新幻灯片")]),_:1}),O(et,{style:{flex:"1"},onClick:m[2]||(m[2]=M=>z(a)())},{default:ie(()=>[O(R,{class:"icon"}),Ue(" 复制")]),_:1}),O(et,{style:{flex:"1"},onClick:m[3]||(m[3]=M=>z(s)())},{default:ie(()=>[O(A,{class:"icon"}),Ue(" 删除")]),_:1})]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:m[4]||(m[4]=M=>f())},{default:ie(()=>[O(x,{class:"icon"}),Ue(" 文字")]),_:1}),O(et,{style:{flex:"1"}},{default:ie(()=>[O($h,{onChange:m[5]||(m[5]=M=>d(M))},{default:ie(()=>[O(S,{class:"icon"}),Ue("图片 ")]),_:1})]),_:1}),O(et,{style:{flex:"1"},onClick:m[6]||(m[6]=M=>h("square"))},{default:ie(()=>[O(L,{class:"icon"}),Ue(" 矩形")]),_:1}),O(et,{style:{flex:"1"},onClick:m[7]||(m[7]=M=>h("round"))},{default:ie(()=>[O(w,{class:"icon"}),Ue(" 圆形")]),_:1})]),_:1})]),O(Bte)])}}}),jje=Be($je,[["__scopeId","data-v-34808e39"]]),Yte=e=>(en("data-v-14deecba"),e=e(),tn(),e),qje={class:"element-toolbar"},eqe={class:"content"},tqe={key:0,class:"style"},nqe={class:"row-block"},rqe=Yte(()=>V("div",{class:"label"},"文字颜色:",-1)),iqe={class:"colors"},oqe=["onClick"],aqe={class:"row-block"},sqe=Yte(()=>V("div",{class:"label"},"填充色:",-1)),lqe={class:"colors"},uqe=["onClick"],cqe={key:1,class:"common"},fqe=Xe({__name:"ElementToolbar",setup(e){const t=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57"],n=ht(),r=ut(),{handleElement:i,handleElementId:o,richTextAttrs:a}=De(n),{addHistorySnapshot:s}=nn(),l=(R,A)=>{r.updateElement({id:R,props:A}),s()},u=[{key:"style",label:"样式"},{key:"common",label:"布局"}],c=pe("common"),{orderElement:f}=G2(),{alignElementToCanvas:d}=m3(),{addElementsFromData:h}=H2(),{deleteElement:p}=K2(),v=()=>{const R=JSON.parse(JSON.stringify(i.value));h([R])},g=(R,A)=>{Hi.emit(Ti.RICH_TEXT_COMMAND,{action:{command:R,value:A}})},m=R=>{var A;if(i.value){if((i.value.type==="text"||i.value.type==="shape"&&((A=i.value.text)!=null&&A.content))&&Hi.emit(Ti.RICH_TEXT_COMMAND,{action:{command:"color",value:R}}),i.value.type==="table"){const x=JSON.parse(JSON.stringify(i.value.data));for(let S=0;S{if(i.value){if((i.value.type==="text"||i.value.type==="shape"||i.value.type==="chart")&&l(o.value,{fill:R}),i.value.type==="table"){const A=JSON.parse(JSON.stringify(i.value.data));for(let x=0;x{const x=Se("IconTextBold"),S=Se("IconTextItalic"),L=Se("IconTextUnderline"),w=Se("IconStrikethrough"),M=Se("IconFontSize"),_=Se("IconAlignTextLeft"),k=Se("IconAlignTextCenter"),P=Se("IconAlignTextRight"),N=Se("IconCopy"),C=Se("IconDelete"),F=Se("IconSendToBack"),I=Se("IconBringToFrontOne"),W=Se("IconBringToFront"),D=Se("IconSentToBack"),Z=Se("IconAlignLeft"),re=Se("IconAlignVertically"),B=Se("IconAlignRight"),Y=Se("IconAlignTop"),Q=Se("IconAlignHorizontally"),K=Se("IconAlignBottom");return U(),te("div",qje,[O(hl,{tabs:u,value:c.value,"onUpdate:value":A[0]||(A[0]=q=>c.value=q),tabsStyle:{marginBottom:"8px"},tabStyle:{width:"30%",margin:"0 10%"}},null,8,["value"]),V("div",eqe,[c.value==="style"?(U(),te("div",tqe,[O(Bn,{class:"row"},{default:ie(()=>[O(Qr,{style:{flex:"1"},checked:z(a).bold,onClick:A[1]||(A[1]=q=>g("bold"))},{default:ie(()=>[O(x)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).em,onClick:A[2]||(A[2]=q=>g("em"))},{default:ie(()=>[O(S)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).underline,onClick:A[3]||(A[3]=q=>g("underline"))},{default:ie(()=>[O(L)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).strikethrough,onClick:A[4]||(A[4]=q=>g("strikethrough"))},{default:ie(()=>[O(w)]),_:1},8,["checked"])]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[5]||(A[5]=q=>g("fontsize-add"))},{default:ie(()=>[O(M),Ue("+")]),_:1}),O(et,{style:{flex:"1"},onClick:A[6]||(A[6]=q=>g("fontsize-reduce"))},{default:ie(()=>[O(M),Ue("-")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Au,{class:"row","button-style":"solid",value:z(a).align,"onUpdate:value":A[7]||(A[7]=q=>g("align",q))},{default:ie(()=>[O(zn,{value:"left",style:{flex:"1"}},{default:ie(()=>[O(_)]),_:1}),O(zn,{value:"center",style:{flex:"1"}},{default:ie(()=>[O(k)]),_:1}),O(zn,{value:"right",style:{flex:"1"}},{default:ie(()=>[O(P)]),_:1})]),_:1},8,["value"]),O(Zt,{margin:20}),V("div",nqe,[rqe,V("div",iqe,[(U(),te(We,null,tt(t,q=>V("div",{class:"color",key:q,onClick:$=>m(q)},[V("div",{class:"color-block",style:Le({backgroundColor:q})},null,4)],8,oqe)),64))])]),V("div",aqe,[sqe,V("div",lqe,[(U(),te(We,null,tt(t,q=>V("div",{class:"color",key:q,onClick:$=>y(q)},[V("div",{class:"color-block",style:Le({backgroundColor:q})},null,4)],8,uqe)),64))])])])):Ze("",!0),c.value==="common"?(U(),te("div",cqe,[O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[8]||(A[8]=q=>v())},{default:ie(()=>[O(N,{class:"icon"}),Ue(" 复制")]),_:1}),O(et,{style:{flex:"1"},onClick:A[9]||(A[9]=q=>z(p)())},{default:ie(()=>[O(C,{class:"icon"}),Ue(" 删除")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[10]||(A[10]=q=>z(f)(z(i),z(Wr).TOP))},{default:ie(()=>[O(F,{class:"icon"}),Ue(" 置顶")]),_:1}),O(et,{style:{flex:"1"},onClick:A[11]||(A[11]=q=>z(f)(z(i),z(Wr).BOTTOM))},{default:ie(()=>[O(I,{class:"icon"}),Ue(" 置底")]),_:1}),O(et,{style:{flex:"1"},onClick:A[12]||(A[12]=q=>z(f)(z(i),z(Wr).UP))},{default:ie(()=>[O(W,{class:"icon"}),Ue(" 上移")]),_:1}),O(et,{style:{flex:"1"},onClick:A[13]||(A[13]=q=>z(f)(z(i),z(Wr).DOWN))},{default:ie(()=>[O(D,{class:"icon"}),Ue(" 下移")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[14]||(A[14]=q=>z(d)(z(pn).LEFT))},{default:ie(()=>[O(Z,{class:"icon"}),Ue(" 左对齐")]),_:1}),O(et,{style:{flex:"1"},onClick:A[15]||(A[15]=q=>z(d)(z(pn).HORIZONTAL))},{default:ie(()=>[O(re,{class:"icon"}),Ue(" 水平居中")]),_:1}),O(et,{style:{flex:"1"},onClick:A[16]||(A[16]=q=>z(d)(z(pn).RIGHT))},{default:ie(()=>[O(B,{class:"icon"}),Ue(" 右对齐")]),_:1})]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[17]||(A[17]=q=>z(d)(z(pn).TOP))},{default:ie(()=>[O(Y,{class:"icon"}),Ue(" 上对齐")]),_:1}),O(et,{style:{flex:"1"},onClick:A[18]||(A[18]=q=>z(d)(z(pn).VERTICAL))},{default:ie(()=>[O(Q,{class:"icon"}),Ue(" 垂直居中")]),_:1}),O(et,{style:{flex:"1"},onClick:A[19]||(A[19]=q=>z(d)(z(pn).BOTTOM))},{default:ie(()=>[O(K,{class:"icon"}),Ue(" 下对齐")]),_:1})]),_:1})])):Ze("",!0)])])}}}),dqe=Be(fqe,[["__scopeId","data-v-14deecba"]]),hqe={class:"mobile-editor-header"},pqe={class:"history"},vqe=Xe({__name:"Header",props:{changeMode:{type:Function}},setup(e){const{canUndo:t,canRedo:n}=De(JS()),{redo:r,undo:i}=nn();return(o,a)=>{const s=Se("IconBack"),l=Se("IconNext"),u=Se("IconLogout");return U(),te("div",hqe,[V("div",pqe,[V("div",{class:$e(["history-item",{disable:!z(t)}]),onClick:a[0]||(a[0]=Ft(c=>z(i)(),["stop"]))},[O(s),Ue(" 撤销")],2),V("div",{class:$e(["history-item",{disable:!z(n)}]),onClick:a[1]||(a[1]=Ft(c=>z(r)(),["stop"]))},[O(l),Ue(" 重做")],2)]),V("div",{class:"back",onClick:a[2]||(a[2]=c=>o.changeMode("preview"))},[O(u),Ue(" 退出编辑")])])}}}),gqe=Be(vqe,[["__scopeId","data-v-091403e4"]]),mqe={class:"mobile-editor"},yqe=Xe({__name:"index",props:{changeMode:{type:Function}},setup(e){const t=ut(),n=ht(),{slideIndex:r,currentSlide:i,viewportRatio:o,viewportSize:a}=De(t),{activeElementIdList:s,handleElement:l}=De(n),u=pe(),c=pe(),f=pe([]),d=we(()=>i.value.background),{backgroundStyle:h}=t4(d),p=we(()=>{if(!u.value)return 1;const L=u.value.clientWidth,w=u.value.clientHeight;return w/L>=o.value?(L-20)/a.value:(w-20)/o.value/a.value});Ht(()=>{s.value.length&&n.setActiveElementIdList([]),r.value!==0&&t.updateSlideIndex(0)});const v=we(()=>({width:a.value*p.value+"px",height:a.value*o.value*p.value+"px"})),g=pe([]);Xv(()=>{g.value=i.value?JSON.parse(JSON.stringify(i.value.elements)):[]});const{dragElement:y}=cz(g,f,p),{scaleElement:R}=uz(g,f,p),{rotateElement:A}=sz(g,c,p),x=(L,w,M=!0)=>{s.value.includes(w.id)||(n.setActiveElementIdList([w.id]),n.setHandleElementId(w.id)),M&&y(L,w)},S=()=>{n.setActiveElementIdList([])};return(L,w)=>(U(),te("div",mqe,[O(gqe,{changeMode:L.changeMode},null,8,["changeMode"]),V("div",{class:"content",ref_key:"contentRef",ref:u,onTouchstart:w[0]||(w[0]=M=>S())},[V("div",{class:"viewport-wrapper",style:Le(v.value)},[V("div",{class:"background",style:Le(z(h))},null,4),(U(!0),te(We,null,tt(f.value,(M,_)=>(U(),_e(Mee,{key:_,type:M.type,axis:M.axis,length:M.length,canvasScale:p.value},null,8,["type","axis","length","canvasScale"]))),128)),(U(!0),te(We,null,tt(g.value,M=>(U(),te(We,{key:M.id},[M.type!=="line"?(U(),_e(Bje,{key:0,elementInfo:M,isSelected:z(s).includes(M.id),canvasScale:p.value,scaleElement:z(R),rotateElement:z(A)},null,8,["elementInfo","isSelected","canvasScale","scaleElement","rotateElement"])):Ze("",!0)],64))),128)),V("div",{class:"viewport",ref_key:"viewportRef",ref:c,style:Le({transform:`scale(${p.value})`})},[(U(!0),te(We,null,tt(g.value,(M,_)=>(U(),_e(Dje,{key:M.id,elementInfo:M,elementIndex:_+1,selectElement:x},null,8,["elementInfo","elementIndex"]))),128))],4)],4)],544),O(jje),z(l)?(U(),_e(dqe,{key:0})):Ze("",!0)]))}}),Aqe=Be(yqe,[["__scopeId","data-v-94103018"]]),Rqe={class:"header"},bqe=Xe({__name:"MobilePlayer",props:{changeMode:{type:Function}},setup(e){const t=ut(),{slides:n,slideIndex:r,currentSlide:i,viewportRatio:o}=De(t),a=pe(!1),s=pe({width:0,height:0});Ht(()=>{r.value!==0&&t.updateSlideIndex(0),s.value={width:document.body.clientHeight,height:document.body.clientWidth}});const l=we(()=>{const d=s.value.height/s.value.width;let h=0,p=0;return d>=o.value?(h=s.value.width,p=h*o.value):(p=s.value.height,h=p/o.value),{width:h,height:p}}),u=pe(null),c=d=>{u.value={x:d.changedTouches[0].pageX,y:d.changedTouches[0].pageY}},f=d=>{if(!u.value)return;const h=Math.abs(u.value.y-d.changedTouches[0].pageY),p=d.changedTouches[0].pageX-u.value.x;Math.abs(p)>h&&Math.abs(p)>50&&(u.value=null,p<0&&r.value>0&&t.updateSlideIndex(r.value-1),p>0&&r.value{const p=Se("IconLogout");return U(),te("div",{class:"mobile-player",style:Le({width:s.value.width+"px",height:s.value.height+"px",transform:`rotate(90deg) translateY(-${s.value.height}px)`})},[V("div",{class:"screen-slide-list",onClick:h[0]||(h[0]=v=>a.value=!a.value),onTouchstart:h[1]||(h[1]=v=>c(v)),onTouchend:h[2]||(h[2]=v=>f(v))},[(U(!0),te(We,null,tt(z(n),(v,g)=>(U(),te("div",{class:$e(["slide-item",`turning-mode-${v.turningMode||"slideY"}`,{current:g===z(r),before:gz(r),hide:(g===z(r)-1||g===z(r)+1)&&v.turningMode!==z(i).turningMode}]),key:v.id},[Math.abs(z(r)-g)<2?(U(),te("div",{key:0,class:"slide-content",style:Le({width:l.value.width+"px",height:l.value.height+"px"})},[O(dl,{slide:v,size:l.value.width},null,8,["slide","size"])],4)):Ze("",!0)],2))),128))],32),a.value?(U(),te(We,{key:0},[V("div",Rqe,[V("div",{class:"back",onClick:h[3]||(h[3]=v=>d.changeMode("preview"))},[O(p),Ue(" 退出播放")])]),O(Bte,{class:"thumbnails"})],64)):Ze("",!0)],4)}}}),xqe=Be(bqe,[["__scopeId","data-v-c846a018"]]),Sqe={class:"thumbnail-list"},wqe={class:"menu"},Mqe=Xe({__name:"MobilePreview",props:{changeMode:{type:Function}},setup(e){const{slides:t}=De(ut()),{slidesLoadLimit:n}=vy(),r=pe(),i=pe(0);return Ht(()=>{r.value&&(i.value=r.value.clientWidth)}),(o,a)=>{const s=Se("IconEdit"),l=Se("IconFullScreenPlay");return U(),te("div",{class:"mobile-preview",ref_key:"mobileRef",ref:r},[V("div",Sqe,[(U(!0),te(We,null,tt(z(t),(u,c)=>(U(),te("div",{class:"thumbnail-item",key:u.id},[O(dl,{slide:u,size:i.value-20,visible:co.changeMode("editor"))},[O(s,{class:"icon"}),Ue(" 编辑")]),O(Zt,{type:"vertical",style:{height:"30px"}}),V("div",{class:"menu-item",onClick:a[1]||(a[1]=u=>o.changeMode("player"))},[O(l,{class:"icon"}),Ue(" 播放")])])],512)}}}),Lqe=Be(Mqe,[["__scopeId","data-v-99aa0ac4"]]),Tqe={class:"mobile"},_qe=Xe({__name:"index",setup(e){const t=pe("preview"),n=i=>t.value=i,r=we(()=>({editor:Aqe,player:xqe,preview:Lqe})[t.value]||null);return(i,o)=>(U(),te("div",Tqe,[(U(),_e(Ru(r.value),{changeMode:n}))]))}}),Oqe=Be(_qe,[["__scopeId","data-v-d02011cb"]]),kqe=Xe({__name:"App",setup(e){const t=Jpe(),n=ht(),r=ut(),i=JS(),{databaseId:o}=De(n),{slides:a}=De(r),{screening:s}=De(rH());return window.onbeforeunload=()=>!1,Ht(async()=>{$g.getFileData("slides").then(l=>{r.setSlides(l)}),$g.getFileData("layouts").then(l=>{r.setLayouts(l)}),await Gpe(),i.initSnapshotDatabase()}),window.addEventListener("unload",()=>{const l=localStorage.getItem(yx),u=l?JSON.parse(l):[];u.push(o.value);const c=JSON.stringify(u);localStorage.setItem(yx,c)}),(l,u)=>z(a).length?(U(),te(We,{key:0},[z(s)?(U(),_e(Vje,{key:0})):z(t)?(U(),_e(_$e,{key:1})):(U(),_e(Oqe,{key:2}))],64)):(U(),_e(ty,{key:1,tip:"数据初始化中,请稍等 ...",loading:"",mask:!1}))}}),Pqe={class:"menu-content"},Cqe=["onClick"],Iqe={class:"text"},Nqe={key:0,class:"sub-text"},Fqe=Xe({__name:"MenuContent",props:{menus:{},handleClickMenuItem:{type:Function}},setup(e){return(t,n)=>{const r=Se("menu-content",!0);return U(),te("ul",Pqe,[(U(!0),te(We,null,tt(t.menus,(i,o)=>(U(),te(We,{key:i.text||o},[i.hide?Ze("",!0):(U(),te("li",{key:0,class:$e(["menu-item",{divider:i.divider,disable:i.disable}]),onClick:Ft(a=>t.handleClickMenuItem(i),["stop"])},[i.divider?Ze("",!0):(U(),te("div",{key:0,class:$e(["menu-item-content",{"has-children":i.children,"has-handler":i.handler}])},[V("span",Iqe,vt(i.text),1),i.subText&&!i.children?(U(),te("span",Nqe,vt(i.subText),1)):Ze("",!0),i.children&&i.children.length?(U(),_e(r,{key:1,class:"sub-menu",menus:i.children,handleClickMenuItem:t.handleClickMenuItem},null,8,["menus","handleClickMenuItem"])):Ze("",!0)],2))],10,Cqe))],64))),128))])}}}),Eqe=Be(Fqe,[["__scopeId","data-v-d336650d"]]),Xqe=Xe({__name:"index",props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){const t=e,n=we(()=>{const{x:l,y:u}=t.axis,c=t.menus.filter(g=>!(g.divider||g.hide)).length,f=t.menus.filter(g=>g.divider).length,d=180,h=c*30+f*11+5*2,p=document.body.clientWidth,v=document.body.clientHeight;return{left:p<=l+d?l-d:l,top:v<=u+h?u-h:u}}),r=i=>{i.disable||i.children&&!i.handler||(i.handler&&i.handler(t.el),t.removeContextmenu())};return(i,o)=>(U(),te(We,null,[V("div",{class:"mask",onContextmenu:o[0]||(o[0]=Ft(a=>i.removeContextmenu(),["prevent"])),onMousedown:o[1]||(o[1]=Ft(a=>i.removeContextmenu(),["left"]))},null,32),V("div",{class:"contextmenu",style:Le({left:n.value.left+"px",top:n.value.top+"px"}),onContextmenu:o[2]||(o[2]=Ft(()=>{},["prevent"]))},[O(Eqe,{menus:i.menus,handleClickMenuItem:r},null,8,["menus"])],36)],64))}}),tg="CTX_CONTEXTMENU_HANDLER",Wqe=(e,t,n)=>{t.stopPropagation(),t.preventDefault();const r=n.value(e);if(!r)return;let i=null;const o=()=>{i&&(document.body.removeChild(i),i=null),e.classList.remove("contextmenu-active"),document.body.removeEventListener("scroll",o),window.removeEventListener("resize",o)},a={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:o};i=document.createElement("div");const s=O(Xqe,a,null);vv(s,i),document.body.appendChild(i),e.classList.add("contextmenu-active"),document.body.addEventListener("scroll",o),window.addEventListener("resize",o)},Vqe={mounted(e,t){e[tg]=n=>Wqe(e,n,t),e.addEventListener("contextmenu",e[tg])},unmounted(e){e&&e[tg]&&(e.removeEventListener("contextmenu",e[tg]),delete e[tg])}},ng="CTX_CLICK_OUTSIDE_HANDLER",Dqe=(e,t,n)=>{const r=n.value,i=t.composedPath();(i?i.indexOf(e)<0:!e.contains(t.target))&&r(t)},Uqe={mounted(e,t){e[ng]=n=>Dqe(e,n,t),setTimeout(()=>{document.addEventListener("click",e[ng])},0)},unmounted(e){e[ng]&&(document.removeEventListener("click",e[ng]),delete e[ng])}},rg="TOOLTIP_INSTANCE",Bqe={mounted(e,t){let n="",r="top",i=[300,0];typeof t.value=="string"?n=t.value:(n=t.value.content,t.value.placement!==void 0&&(r=t.value.placement),t.value.delay!==void 0&&(i=t.value.delay)),e[rg]=h0(e,{content:n,theme:"tooltip",duration:100,animation:"scale",allowHTML:!0,placement:r,delay:i})},updated(e,t){let n="";typeof t.value=="string"?n=t.value:n=t.value.content,e[rg]&&e[rg].setContent(n)},unmounted(e){e[rg]&&e[rg].destroy()}},Yqe={install(e){e.directive("contextmenu",Vqe),e.directive("click-outside",Uqe),e.directive("tooltip",Bqe)}},y4=yZ(kqe);y4.use(Kme);y4.use(Yqe);y4.use(Lde());y4.mount("#app"); + `),e.close()},lze=(e,t)=>{const n=aze(),r=n.contentWindow;if(!n.contentDocument||!r)return;sze(n.contentDocument,e,t);const i=()=>{r.focus(),r.print()},o=()=>{n.removeEventListener("load",i),r.removeEventListener("afterprint",o),document.body.removeChild(n)};n.addEventListener("load",i),r.addEventListener("afterprint",o)},m4=e=>(en("data-v-d3a30d69"),e=e(),tn(),e),uze={class:"export-pdf-dialog"},cze={class:"thumbnails-view"},fze={class:"configs"},dze={class:"row"},hze=m4(()=>V("div",{class:"title"},"导出范围:",-1)),pze={class:"row"},vze=m4(()=>V("div",{class:"title"},"每页数量:",-1)),gze={class:"row"},mze=m4(()=>V("div",{class:"title"},"边缘留白:",-1)),yze={class:"config-item"},Aze=m4(()=>V("div",{class:"tip"}," 提示:若打印预览与实际样式不一致,请在弹出的打印窗口中勾选【背景图形】选项。 ",-1)),Rze={class:"btns"},bze=Xe({__name:"ExportPDF",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i,viewportRatio:o}=De(ut()),a=pe(),s=pe("all"),l=pe(1),u=pe(!0),c=()=>{if(!a.value)return;const f={width:1600,height:s.value==="all"?1600*o.value*l.value:1600*o.value,margin:u.value?50:0};lze(a.value,f)};return(f,d)=>(U(),te("div",uze,[V("div",cze,[V("div",{class:"thumbnails",ref_key:"pdfThumbnailsRef",ref:a},[s.value==="current"?(U(),_e(dl,{key:0,class:"thumbnail",slide:z(i),size:1600},null,8,["slide"])):(U(!0),te(We,{key:1},tt(z(r),(h,p)=>(U(),_e(dl,{class:$e(["thumbnail",{"break-page":(p+1)%l.value===0}]),key:h.id,slide:h,size:1600},null,8,["class","slide"]))),128))],512)]),V("div",fze,[V("div",dze,[hze,O(Au,{class:"config-item",value:s.value,"onUpdate:value":d[0]||(d[0]=h=>s.value=h)},{default:ie(()=>[O(zn,{style:{width:"50%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"50%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1})]),_:1},8,["value"])]),V("div",pze,[vze,O(zr,{class:"config-item",value:l.value,"onUpdate:value":d[1]||(d[1]=h=>l.value=h),options:[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3}]},null,8,["value"])]),V("div",gze,[mze,V("div",yze,[O(Cs,{value:u.value,"onUpdate:value":d[2]||(d[2]=h=>u.value=h)},null,8,["value"])])]),Aze]),V("div",Rze,[O(et,{class:"btn export",type:"primary",onClick:d[3]||(d[3]=h=>c())},{default:ie(()=>[Ue("打印 / 导出 PDF")]),_:1}),O(et,{class:"btn close",onClick:d[4]||(d[4]=h=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})])]))}}),xze=Be(bze,[["__scopeId","data-v-d3a30d69"]]),nC=e=>(en("data-v-254b6b07"),e=e(),tn(),e),Sze={class:"export-pptx-dialog"},wze={class:"configs"},Mze={class:"row"},Lze=nC(()=>V("div",{class:"title"},"导出范围:",-1)),Tze={key:0,class:"row"},_ze=["data-range"],Oze={class:"row"},kze=nC(()=>V("div",{class:"title"},"忽略音频/视频:",-1)),Pze={class:"config-item"},Cze={class:"row"},Ize=nC(()=>V("div",{class:"title"},"覆盖默认母版:",-1)),Nze={class:"config-item"},Fze={key:1,class:"tip"},Eze={class:"btns"},Xze=Xe({__name:"ExportPPTX",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i}=De(ut()),{exportPPTX:o,exporting:a}=v4(),s=pe("all"),l=pe([1,r.value.length]),u=pe(!0),c=pe(!0),f=we(()=>s.value==="all"?r.value:s.value==="current"?[i.value]:r.value.filter((d,h)=>{const[p,v]=l.value;return h>=p-1&&h<=v-1}));return(d,h)=>{const p=Fn("tooltip");return U(),te("div",Sze,[V("div",wze,[V("div",Mze,[Lze,O(Au,{class:"config-item",value:s.value,"onUpdate:value":h[0]||(h[0]=v=>s.value=v)},{default:ie(()=>[O(zn,{style:{width:"33.33%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"33.33%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1}),O(zn,{style:{width:"33.33%"},value:"custom"},{default:ie(()=>[Ue("自定义")]),_:1})]),_:1},8,["value"])]),s.value==="custom"?(U(),te("div",Tze,[V("div",{class:"title","data-range":`(${l.value[0]} ~ ${l.value[1]})`},"自定义范围:",8,_ze),O(Ki,{class:"config-item",range:"",min:1,max:z(r).length,step:1,value:l.value,"onUpdate:value":h[1]||(h[1]=v=>l.value=v)},null,8,["max","value"])])):Ze("",!0),V("div",Oze,[kze,V("div",Pze,[ze(O(Cs,{value:c.value,"onUpdate:value":h[2]||(h[2]=v=>c.value=v)},null,8,["value"]),[[p,"导出时默认忽略音视频,若您的幻灯片中存在音视频元素,且希望将其导出到PPTX文件中,可选择关闭【忽略音视频】选项,但要注意这将会大幅增加导出用时。"]])])]),V("div",Cze,[Ize,V("div",Nze,[O(Cs,{value:u.value,"onUpdate:value":h[3]||(h[3]=v=>u.value=v)},null,8,["value"])])]),c.value?Ze("",!0):(U(),te("div",Fze," 提示:1. 支持导出格式:avi、mp4、mov、wmv、mp3、wav;2. 跨域资源无法导出。 "))]),V("div",Eze,[O(et,{class:"btn export",type:"primary",onClick:h[4]||(h[4]=v=>z(o)(f.value,u.value,c.value))},{default:ie(()=>[Ue("导出 PPTX")]),_:1}),O(et,{class:"btn close",onClick:h[5]||(h[5]=v=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})]),O(ty,{loading:z(a),tip:"正在导出..."},null,8,["loading"])])}}}),Wze=Be(Xze,[["__scopeId","data-v-254b6b07"]]),Fte=e=>(en("data-v-bc56c9db"),e=e(),tn(),e),Vze={class:"export-pptist-dialog"},Dze={class:"configs"},Uze={class:"row"},Bze=Fte(()=>V("div",{class:"title"},"导出范围:",-1)),Yze={key:0,class:"row"},Zze=["data-range"],Qze=Fte(()=>V("div",{class:"tip"}," 提示:.pptist 是本应用的特有文件后缀,支持将该类型的文件导入回应用中。 ",-1)),Hze={class:"btns"},Kze=Xe({__name:"ExportSpecificFile",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:i}=De(ut()),{exportSpecificFile:o}=v4(),a=pe("all"),s=pe([1,r.value.length]),l=we(()=>a.value==="all"?r.value:a.value==="current"?[i.value]:r.value.filter((u,c)=>{const[f,d]=s.value;return c>=f-1&&c<=d-1}));return(u,c)=>(U(),te("div",Vze,[V("div",Dze,[V("div",Uze,[Bze,O(Au,{class:"config-item",value:a.value,"onUpdate:value":c[0]||(c[0]=f=>a.value=f)},{default:ie(()=>[O(zn,{style:{width:"33.33%"},value:"all"},{default:ie(()=>[Ue("全部")]),_:1}),O(zn,{style:{width:"33.33%"},value:"current"},{default:ie(()=>[Ue("当前页")]),_:1}),O(zn,{style:{width:"33.33%"},value:"custom"},{default:ie(()=>[Ue("自定义")]),_:1})]),_:1},8,["value"])]),a.value==="custom"?(U(),te("div",Yze,[V("div",{class:"title","data-range":`(${s.value[0]} ~ ${s.value[1]})`},"自定义范围:",8,Zze),O(Ki,{class:"config-item",range:"",min:1,max:z(r).length,step:1,value:s.value,"onUpdate:value":c[1]||(c[1]=f=>s.value=f)},null,8,["max","value"])])):Ze("",!0),Qze]),V("div",Hze,[O(et,{class:"btn export",type:"primary",onClick:c[2]||(c[2]=f=>z(o)(l.value))},{default:ie(()=>[Ue("导出 .pptist 文件")]),_:1}),O(et,{class:"btn close",onClick:c[3]||(c[3]=f=>n("close"))},{default:ie(()=>[Ue("关闭")]),_:1})])]))}}),Gze=Be(Kze,[["__scopeId","data-v-bc56c9db"]]),zze={class:"export-dialog"},Jze={class:"content"},$ze=Xe({__name:"index",setup(e){const t=ht(),{dialogForExport:n}=De(t),r=t.setDialogForExport,i=[{key:"pptist",label:"导出 pptist 文件"},{key:"pptx",label:"导出 PPTX"},{key:"image",label:"导出图片"},{key:"json",label:"导出 JSON"},{key:"pdf",label:"打印 / 导出 PDF"}],o=we(()=>{const a={image:eze,json:oze,pdf:xze,pptx:Wze,pptist:Gze};return n.value&&a[n.value]||null});return(a,s)=>(U(),te("div",zze,[O(hl,{tabs:i,value:z(n),card:"","onUpdate:value":s[0]||(s[0]=l=>z(r)(l))},null,8,["value"]),V("div",Jze,[(U(),_e(Ru(o.value),{onClose:s[1]||(s[1]=l=>z(r)(""))},null,32))])]))}}),jze=Be($ze,[["__scopeId","data-v-b54f4542"]]),qze=()=>{const e=ut(),t=ht(),{currentSlide:n}=De(e),{activeElementIdList:r,hiddenElementIdList:i}=De(t);return{toggleHideElement:l=>{i.value.includes(l)?t.setHiddenElementIdList(i.value.filter(u=>u!==l)):t.setHiddenElementIdList([...i.value,l]),r.value.includes(l)&&t.setActiveElementIdList([])},showAllElements:()=>{const l=n.value.elements.map(c=>c.id),u=i.value.filter(c=>!l.includes(c));t.setHiddenElementIdList(u)},hideAllElements:()=>{const l=n.value.elements.map(u=>u.id);t.setHiddenElementIdList([...i.value,...l]),r.value.length&&t.setActiveElementIdList([])}}},eJe={class:"title"},tJe={class:"content"},nJe=Xe({__name:"MoveablePanel",props:{width:{},height:{},minWidth:{default:20},minHeight:{default:20},maxWidth:{default:500},maxHeight:{default:500},left:{default:10},top:{default:10},title:{default:""},moveable:{type:Boolean,default:!0},resizeable:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,i=pe(0),o=pe(0),a=pe(0),s=pe(0),l=pe(),u=we(()=>{var d;return s.value?s.value:((d=l.value)==null?void 0:d.clientHeight)||0});Ht(()=>{n.left>=0?i.value=n.left:i.value=document.body.clientWidth+n.left-n.width,n.top>=0?o.value=n.top:o.value=document.body.clientHeight+n.top-u.value,a.value=n.width,s.value=n.height});const c=d=>{if(!n.moveable)return;let h=!0;const p=document.body.clientWidth,v=document.body.clientHeight,g=d.pageX,m=d.pageY,y=i.value,R=o.value;document.onmousemove=A=>{if(!h)return;const x=A.pageX-g,S=A.pageY-m;let L=y+x,w=R+S;L<0&&(L=0),w<0&&(w=0),L+a.value>p&&(L=p-a.value),w+u.value>v&&(w=v-u.value),i.value=L,o.value=w},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null}},f=d=>{if(!n.resizeable)return;let h=!0;const p=d.pageX,v=d.pageY,g=a.value,m=s.value;document.onmousemove=y=>{if(!h)return;const R=y.pageX-p,A=y.pageY-v;let x=g+R,S=m+A;xn.maxWidth&&(x=n.maxWidth),S>n.maxHeight&&(S=n.maxHeight),a.value=x,s.value=S},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null}};return(d,h)=>{const p=Se("IconClose");return U(),te("div",{class:"moveable-panel",ref_key:"moveablePanelRef",ref:l,style:Le({width:a.value+"px",height:s.value?s.value+"px":"auto",left:i.value+"px",top:o.value+"px"})},[d.title?(U(),te(We,{key:0},[V("div",{class:"header",onMousedown:h[1]||(h[1]=v=>c(v))},[V("div",eJe,vt(d.title),1),V("div",{class:"close-btn",onClick:h[0]||(h[0]=v=>r("close"))},[O(p)])],32),V("div",tJe,[ar(d.$slots,"default",{},void 0,!0)])],64)):(U(),te("div",{key:1,class:"content",onMousedown:h[2]||(h[2]=v=>c(v))},[ar(d.$slots,"default",{},void 0,!0)],32)),d.resizeable?(U(),te("div",{key:2,class:"resizer",onMousedown:h[3]||(h[3]=v=>f(v))},null,32)):Ze("",!0)],4)}}}),i1=Be(nJe,[["__scopeId","data-v-3fb89101"]]),rJe=e=>(en("data-v-d562651b"),e=e(),tn(),e),iJe={key:0,class:"handler"},oJe={class:"btns"},aJe={key:0,class:"icon-btns"},sJe={class:"element-list"},lJe={key:0,class:"group-els"},uJe=rJe(()=>V("div",{class:"group-title"},"组合",-1)),cJe=["onClick","onDblclick"],fJe=["id","value","onBlur","onKeydown"],dJe={key:1,class:"name"},hJe={class:"icons"},pJe=["onClick","onDblclick"],vJe=["id","value","onBlur","onKeydown"],gJe={key:1,class:"name"},mJe={class:"icons"},yJe=Xe({__name:"SelectPanel",setup(e){const t=ut(),n=ht(),{currentSlide:r}=De(t),{handleElement:i,handleElementId:o,activeElementIdList:a,activeGroupElementId:s,hiddenElementIdList:l}=De(n),{orderElement:u}=G2(),{selectElement:c}=i3(),{toggleHideElement:f,showAllElements:d,hideAllElements:h}=qze(),p=we(()=>{const A=[];for(const x of r.value.elements)if(x.groupId){const S=A[A.length-1];S&&S.type==="group"&&S.id&&S.id===x.groupId?S.elements.push(x):A.push({type:"group",id:x.groupId,elements:[x]})}else A.push(x);return A}),v=(A,x)=>{if(o.value===x||l.value.includes(x))return;const S=A.elements.map(L=>L.id);n.setActiveElementIdList(S),n.setHandleElementId(x),Ir(()=>n.setActiveGroupElementId(x))},g=pe(""),m=(A,x)=>{const S=A.target.value;t.updateElement({id:x,props:{name:S}}),g.value=""},y=A=>{g.value=A,Ir(()=>{document.querySelector(`#select-panel-input-${A}`).focus()})},R=()=>{n.setSelectPanelState(!1)};return(A,x)=>{const S=Se("IconDown"),L=Se("IconUp"),w=Se("IconPreviewClose"),M=Se("IconPreviewOpen");return U(),_e(i1,{class:"select-panel",width:200,height:360,title:`选择(${z(a).length}/${z(r).elements.length})`,left:-270,top:90,onClose:x[4]||(x[4]=_=>R())},{default:ie(()=>[p.value.length?(U(),te("div",iJe,[V("div",oJe,[O(et,{size:"small",style:{"margin-right":"5px"},onClick:x[0]||(x[0]=_=>z(d)())},{default:ie(()=>[Ue("全部显示")]),_:1}),O(et,{size:"small",onClick:x[1]||(x[1]=_=>z(h)())},{default:ie(()=>[Ue("全部隐藏")]),_:1})]),z(i)?(U(),te("div",aJe,[O(S,{class:"icon-btn",onClick:x[2]||(x[2]=_=>z(u)(z(i),z(Wr).UP))}),O(L,{class:"icon-btn",onClick:x[3]||(x[3]=_=>z(u)(z(i),z(Wr).DOWN))})])):Ze("",!0)])):Ze("",!0),V("div",sJe,[(U(!0),te(We,null,tt(p.value,_=>(U(),te(We,{key:_.id},[_.type==="group"?(U(),te("div",lJe,[uJe,(U(!0),te(We,null,tt(_.elements,k=>(U(),te("div",{class:$e(["item",{active:z(a).includes(k.id),"group-active":z(s).includes(k.id)}]),key:k.id,onClick:P=>v(_,k.id),onDblclick:P=>y(k.id)},[g.value===k.id?(U(),te("input",{key:0,id:`select-panel-input-${k.id}`,value:k.name||z(Mg)[k.type],class:"input",type:"text",onBlur:P=>m(P,k.id),onKeydown:du(P=>m(P,k.id),["enter"])},null,40,fJe)):(U(),te("div",dJe,vt(k.name||z(Mg)[k.type]),1)),V("div",hJe,[z(l).includes(k.id)?(U(),_e(w,{key:0,style:{"font-size":"17px"},onClick:Ft(P=>z(f)(k.id),["stop"])},null,8,["onClick"])):(U(),_e(M,{key:1,style:{"font-size":"17px"},onClick:Ft(P=>z(f)(k.id),["stop"])},null,8,["onClick"]))])],42,cJe))),128))])):(U(),te("div",{key:1,class:$e(["item",{active:z(a).includes(_.id)}]),onClick:k=>z(c)(_.id),onDblclick:k=>y(_.id)},[g.value===_.id?(U(),te("input",{key:0,id:`select-panel-input-${_.id}`,value:_.name||z(Mg)[_.type],class:"input",type:"text",onBlur:k=>m(k,_.id),onKeydown:du(k=>m(k,_.id),["enter"])},null,40,vJe)):(U(),te("div",gJe,vt(_.name||z(Mg)[_.type]),1)),V("div",mJe,[z(l).includes(_.id)?(U(),_e(w,{key:0,style:{"font-size":"17px"},onClick:Ft(k=>z(f)(_.id),["stop"])},null,8,["onClick"])):(U(),_e(M,{key:1,style:{"font-size":"17px"},onClick:Ft(k=>z(f)(_.id),["stop"])},null,8,["onClick"]))])],42,pJe))],64))),128))])]),_:1},8,["title"])}}}),AJe=Be(yJe,[["__scopeId","data-v-d562651b"]]),RJe=()=>{const e=ht(),t=ut(),{handleElement:n}=De(e),{slides:r,slideIndex:i,currentSlide:o}=De(t),a=pe(""),s=pe(""),l=pe([]),u=pe(-1),c=pe("g"),f=()=>{const k=[],P=new RegExp(a.value,c.value),N=/(<([^>]+)>)/g;for(const C of r.value)for(const F of C.elements)if(F.type==="text"){const W=F.content.replace(N,"").match(P);W&&k.push(...new Array(W.length).fill({slideId:C.id,elId:F.id,elType:F.type}))}else if(F.type==="shape"&&F.text&&F.text.content){const W=F.text.content.replace(N,"").match(P);W&&k.push(...new Array(W.length).fill({slideId:C.id,elId:F.id,elType:F.type}))}else if(F.type==="table")for(let I=0;I{const P=[...k.childNodes],N=[];for(;P.length;){const C=P.shift();C.nodeType===C.TEXT_NODE?C.wholeText&&N.push(C):P.unshift(...C.childNodes)}return N},h=k=>{let P=0;return k.map(C=>{const F=P,I=P+C.wholeText.length;return P=I,{text:C.wholeText,startIdx:F,endIdx:I}})},p=(k,P)=>{const N=new RegExp(P,c.value),C=[];let F=N.exec(k);for(;F;)C.push(F),F=N.exec(k);return C},v=(k,P,N,C)=>{for(let F=N.length-1;F>=0;F--){const I=N[F],W=I.index,D=W+I[0].length;for(let Z=0;Z=D)break;let Q=k[Z];const K=Math.max(0,W-B),q=Math.min(Y,D)-B-K;K>0&&(Q=Q.splitText(K)),q{for(const N of k)N.innerHTML=N.innerHTML.replace(new RegExp(a.value,c.value),()=>`${a.value}`)},m=()=>{const k=document.querySelectorAll(".editable-element mark");for(const P of k)setTimeout(()=>{const N=P.parentNode,C=P.textContent;N.replaceChild(document.createTextNode(C),P)},0)},y=()=>{m(),setTimeout(()=>{for(let k=0;kZ).join(""),D=p(W,a.value);v(F,I,D,k)}}},0)},R=()=>{const k=document.querySelectorAll("mark[data-index]");for(const P of k)setTimeout(()=>{const N=P.dataset.index;N!==void 0&&+N===u.value?P.classList.add("active"):P.classList.remove("active")},0)},A=()=>{if(u.value===-1)return;const k=l.value[u.value];if(k.slideId===o.value.id)setTimeout(R,0);else{const P=r.value.findIndex(N=>N.id===k.slideId);P!==-1&&t.updateSlideIndex(P)}},x=()=>{if(!a.value)return gn.warning("请先输入查找内容");e.setActiveElementIdList([]),u.value===-1?f():u.value{if(!a.value)return gn.warning("请先输入查找内容");e.setActiveElementIdList([]),u.value===-1?f():u.value>0?u.value-=1:u.value=l.value.length-1,A()},L=()=>{if(!a.value)return;if(u.value===-1){x();return}const k=l.value[u.value];let P=null;if(k.elType==="table"){const[I,W]=k.cellIndex;P=document.querySelector(`#editable-element-${k.elId} .cell[data-cell-index="${I}_${W}"] .cell-text`)}else P=document.querySelector(`#editable-element-${k.elId} .ProseMirror`);if(!P)return;const N=document.createElement("div");N.innerHTML=P.innerHTML;let C=!1;const F=N.querySelectorAll("mark[data-index]");for(const I of F){const W=I.parentNode;if(I.classList.contains("active"))C?W.removeChild(I):(W.replaceChild(document.createTextNode(s.value),I),C=!0);else{const D=I.textContent;W.replaceChild(document.createTextNode(D),I)}}if(k.elType==="text"){const I={content:N.innerHTML};t.updateElement({id:k.elId,props:I})}else if(k.elType==="shape"){const I=o.value.elements.find(W=>W.id===k.elId);if(I&&I.type==="shape"&&I.text){const W={text:{...I.text,content:N.innerHTML}};t.updateElement({id:k.elId,props:W})}}else if(k.elType==="table"){const I=o.value.elements.find(W=>W.id===k.elId);if(I&&I.type==="table"){const D={data:I.data.map((Z,re)=>re===k.cellIndex[0]?Z.map((B,Y)=>Y===k.cellIndex[1]?{...B,text:N.innerHTML}:B):Z)};t.updateElement({id:k.elId,props:D})}}l.value.splice(u.value,1),l.value.length?(u.value>l.value.length-1&&(u.value=0),Ir(()=>{y(),A()})):u.value=-1},w=()=>{var k;if(a.value){if(u.value===-1){x();return}for(let P=0;PD.id===C.slideId);if(!F)continue;const I=F.elements.find(D=>D.id===C.elId);if(!I)continue;const W=document.createElement("div");if(I.type==="text"?W.innerHTML=I.content:I.type==="shape"&&(W.innerHTML=((k=I.text)==null?void 0:k.content)||""),C.elType==="table"){const Z={data:I.data.map(re=>re.map(B=>B.text?{...B,text:B.text.replace(new RegExp(a.value,"g"),s.value)}:B))};t.updateElement({id:C.elId,slideId:C.slideId,props:Z})}else{const D=d(W),Z=h(D),re=Z.map(({text:K})=>K).join(""),B=p(re,a.value);v(D,Z,B,P);const Y=W.querySelectorAll("mark[data-index]");let Q=-1;for(const K of Y){const q=+K.dataset.index,$=K.parentNode;q===Q?$.removeChild(K):($.replaceChild(document.createTextNode(s.value),K),Q=q)}if(C.elType==="text"){const K={content:W.innerHTML};t.updateElement({id:C.elId,slideId:C.slideId,props:K})}else if(C.elType==="shape"){const K=o.value.elements.find(q=>q.id===C.elId);if(K&&K.type==="shape"&&K.text){const q={text:{...K.text,content:W.innerHTML}};t.updateElement({id:C.elId,slideId:C.slideId,props:q})}}}}l.value=[],u.value=-1}},M=()=>{u.value=-1,l.value=[],a.value||m()};return Ot(a,M),Ot(i,()=>{Ir(()=>{y(),setTimeout(R,0)})}),Ot(n,()=>{n.value&&(u.value=-1,l.value=[],m())}),o0(m),{searchWord:a,replaceWord:s,searchResults:l,searchIndex:u,modifiers:c,searchNext:x,searchPrev:S,replace:L,replaceAll:w,toggleModifiers:()=>{c.value=c.value==="g"?"gi":"g",M()}}},bJe={class:"count"},xJe={key:1,class:"footer"},SJe=Xe({__name:"SearchPanel",setup(e){const t=ht(),{searchWord:n,replaceWord:r,searchResults:i,searchIndex:o,modifiers:a,searchNext:s,searchPrev:l,replace:u,replaceAll:c,toggleModifiers:f}=RJe(),d=pe("search"),h=[{key:"search",label:"查找"},{key:"replace",label:"替换"}],p=()=>{t.setSearchPanelState(!1)},v=pe();return Ht(()=>{v.value.focus()}),Ot(d,()=>{Ir(()=>{v.value.focus()})}),(g,m)=>{const y=Se("IconClose"),R=Se("IconLeft"),A=Se("IconRight"),x=Fn("tooltip");return U(),_e(i1,{class:"search-panel",width:330,height:0,left:-270,top:90},{default:ie(()=>[V("div",{class:"close-btn",onClick:m[0]||(m[0]=S=>p()),onMousedown:m[1]||(m[1]=Ft(()=>{},["stop"]))},[O(y)],32),O(hl,{tabs:h,value:d.value,"onUpdate:value":m[2]||(m[2]=S=>d.value=S)},null,8,["value"]),V("div",{class:$e(["content",d.value]),onMousedown:m[12]||(m[12]=Ft(()=>{},["stop"]))},[O(fc,{class:"input",value:z(n),"onUpdate:value":m[6]||(m[6]=S=>Cr(n)?n.value=S:null),placeholder:"输入查找内容",onEnter:m[7]||(m[7]=S=>z(s)()),ref_key:"searchInpRef",ref:v},{suffix:ie(()=>[V("span",bJe,vt(z(o)+1)+"/"+vt(z(i).length),1),O(Zt,{type:"vertical"}),ze((U(),te("span",{class:$e(["ignore-case",{active:z(a)==="g"}]),onClick:m[3]||(m[3]=S=>z(f)())},[Ue("Aa")],2)),[[x,"忽略大小写"]]),O(Zt,{type:"vertical"}),ze(O(R,{class:"next-btn left",onClick:m[4]||(m[4]=S=>z(l)())},null,512),[[x,"上一个"]]),ze(O(A,{class:"next-btn right",onClick:m[5]||(m[5]=S=>z(s)())},null,512),[[x,"下一个"]])]),_:1},8,["value"]),d.value==="replace"?(U(),_e(fc,{key:0,class:"input",value:z(r),"onUpdate:value":m[8]||(m[8]=S=>Cr(r)?r.value=S:null),placeholder:"输入替换内容",onEnter:m[9]||(m[9]=S=>z(u)())},null,8,["value"])):Ze("",!0),d.value==="replace"?(U(),te("div",xJe,[O(et,{disabled:!z(n),style:{"margin-left":"5px"},onClick:m[10]||(m[10]=S=>z(u)())},{default:ie(()=>[Ue("替换")]),_:1},8,["disabled"]),O(et,{disabled:!z(n),type:"primary",style:{"margin-left":"5px"},onClick:m[11]||(m[11]=S=>z(c)())},{default:ie(()=>[Ue("全部替换")]),_:1},8,["disabled"])])):Ze("",!0)],34)]),_:1})}}}),wJe=Be(SJe,[["__scopeId","data-v-c6ed3d92"]]),MJe={class:"container"},LJe=["onClick"],TJe={class:"header note-header"},_Je={class:"user"},OJe={class:"avatar"},kJe={class:"user-info"},PJe={class:"username"},CJe={class:"time"},IJe={class:"btns"},NJe=["onClick"],FJe=["onClick"],EJe={class:"content"},XJe={key:0,class:"replies"},WJe={class:"header reply-header"},VJe={class:"user"},DJe={class:"avatar"},UJe={class:"user-info"},BJe={class:"username"},YJe={class:"time"},ZJe={class:"btns"},QJe=["onClick"],HJe={class:"content"},KJe={key:1,class:"note-reply"},GJe={class:"reply-btns"},zJe={key:0,class:"empty"},JJe={class:"send"},$Je={class:"footer"},jJe=Xe({__name:"NotesPanel",setup(e){const t=ut(),n=ht(),{slideIndex:r,currentSlide:i}=De(t),{handleElementId:o}=De(n),a=pe(""),s=pe(""),l=we(()=>{var x;return((x=i.value)==null?void 0:x.notes)||[]}),u=pe(""),c=pe(""),f=pe(),d=pe();Ot(r,()=>{u.value="",c.value=""});const h=()=>{d.value&&(d.value.scrollTop=d.value.scrollHeight)},p=()=>{if(!a.value){f.value&&f.value.focus();return}const x={id:on(),content:a.value,time:new Date().getTime(),user:"测试用户"};o.value&&(x.elId=o.value);const S=[...l.value,x];t.updateSlide({notes:S}),a.value="",Ir(h)},v=x=>{const S=l.value.filter(L=>L.id!==x);t.updateSlide({notes:S})},g=()=>{if(!s.value)return;const x=l.value.find(M=>M.id===c.value);if(!x)return;const S=[...x.replies||[],{id:on(),content:s.value,time:new Date().getTime(),user:"测试用户"}],L={...x,replies:S},w=l.value.map(M=>M.id===c.value?L:M);t.updateSlide({notes:w}),s.value="",c.value="",Ir(h)},m=(x,S)=>{const L=l.value.find(k=>k.id===x);if(!L||!L.replies)return;const w=L.replies.filter(k=>k.id!==S),M={...L,replies:w},_=l.value.map(k=>k.id===x?M:k);t.updateSlide({notes:_})},y=x=>{u.value=x.id,x.elId?i.value.elements.map(L=>L.id).includes(x.elId)?n.setActiveElementIdList([x.elId]):n.setActiveElementIdList([]):n.setActiveElementIdList([])},R=()=>{t.updateSlide({notes:[]})},A=()=>{n.setNotesPanelState(!1)};return(x,S)=>{const L=Se("IconUser"),w=Se("IconDelete"),M=Fn("tooltip");return U(),_e(i1,{class:"notes-panel",width:300,height:560,title:`幻灯片${z(r)+1}的批注`,left:-270,top:90,minWidth:300,minHeight:400,maxWidth:480,maxHeight:780,resizeable:"",onClose:S[9]||(S[9]=_=>A())},{default:ie(()=>[V("div",MJe,[V("div",{class:"notes",ref_key:"notesRef",ref:d},[(U(!0),te(We,null,tt(l.value,_=>{var k;return U(),te("div",{class:$e(["note",{active:u.value===_.id}]),key:_.id,onClick:P=>y(_)},[V("div",TJe,[V("div",_Je,[V("div",OJe,[O(L)]),V("div",kJe,[V("div",PJe,vt(_.user),1),V("div",CJe,vt(new Date(_.time).toLocaleString()),1)])]),V("div",IJe,[V("div",{class:"btn reply",onClick:P=>c.value=_.id},"回复",8,NJe),V("div",{class:"btn delete",onClick:Ft(P=>v(_.id),["stop"])},"删除",8,FJe)])]),V("div",EJe,vt(_.content),1),(k=_.replies)!=null&&k.length?(U(),te("div",XJe,[(U(!0),te(We,null,tt(_.replies,P=>(U(),te("div",{class:"reply-item",key:P.id},[V("div",WJe,[V("div",VJe,[V("div",DJe,[O(L)]),V("div",UJe,[V("div",BJe,vt(P.user),1),V("div",YJe,vt(new Date(P.time).toLocaleString()),1)])]),V("div",ZJe,[V("div",{class:"btn delete",onClick:Ft(N=>m(_.id,P.id),["stop"])},"删除",8,QJe)])]),V("div",HJe,vt(P.content),1)]))),128))])):Ze("",!0),c.value===_.id?(U(),te("div",KJe,[O(S_,{padding:6,value:s.value,"onUpdate:value":S[0]||(S[0]=P=>s.value=P),placeholder:"输入回复内容",rows:1,onEnter:S[1]||(S[1]=Ft(P=>g(),["prevent"]))},null,8,["value"]),V("div",GJe,[O(et,{class:"btn",size:"small",onClick:S[2]||(S[2]=P=>c.value="")},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",size:"small",type:"primary",onClick:S[3]||(S[3]=P=>g())},{default:ie(()=>[Ue("回复")]),_:1})])])):Ze("",!0)],10,LJe)}),128)),l.value.length?Ze("",!0):(U(),te("div",zJe,"本页暂无批注"))],512),V("div",JJe,[O(S_,{ref_key:"textAreaRef",ref:f,value:a.value,"onUpdate:value":S[4]||(S[4]=_=>a.value=_),padding:6,placeholder:`输入批注(为${z(o)?"选中元素":"当前页幻灯片"})`,rows:2,onFocus:S[5]||(S[5]=_=>{c.value="",u.value=""}),onEnter:S[6]||(S[6]=Ft(_=>p(),["prevent"]))},null,8,["value","placeholder"]),V("div",$Je,[ze(O(w,{class:"btn icon",style:{flex:"1"},onClick:S[7]||(S[7]=_=>R())},null,512),[[M,"清空本页批注"]]),O(et,{type:"primary",class:"btn",style:{flex:"12"},onClick:S[8]||(S[8]=_=>p())},{default:ie(()=>[Ue("添加批注")]),_:1})])])])]),_:1},8,["title"])}}}),qJe=Be(jJe,[["__scopeId","data-v-d22b7a23"]]),rC=e=>(en("data-v-39f8fcb9"),e=e(),tn(),e),e$e={class:"container"},t$e={class:"row"},n$e=rC(()=>V("div",{style:{width:"40%"}},"当前页面类型:",-1)),r$e={key:0,class:"row"},i$e=rC(()=>V("div",{style:{width:"40%"}},"当前文本类型:",-1)),o$e={key:1,class:"row"},a$e=rC(()=>V("div",{style:{width:"40%"}},"当前图片类型:",-1)),s$e={key:2,class:"placeholder"},l$e=Xe({__name:"MarkupPanel",setup(e){const t=ut(),n=ht(),{currentSlide:r}=De(t),{handleElement:i,handleElementId:o}=De(n),a=pe([{label:"未标记类型",value:""},{label:"封面页",value:"cover"},{label:"目录页",value:"contents"},{label:"过渡页",value:"transition"},{label:"内容页",value:"content"},{label:"结束页",value:"end"}]),s=pe([{label:"未标记类型",value:""},{label:"标题",value:"title"},{label:"副标题",value:"subtitle"},{label:"正文",value:"content"},{label:"列表项目",value:"item"},{label:"列表项标题",value:"itemTitle"},{label:"注释",value:"notes"},{label:"页眉",value:"header"},{label:"页脚",value:"footer"},{label:"节编号",value:"partNumber"},{label:"项目编号",value:"itemNumber"}]),l=pe([{label:"未标记类型",value:""},{label:"页面插图",value:"pageFigure"},{label:"项目插图",value:"itemFigure"},{label:"背景图",value:"background"}]),u=we(()=>{var v;return((v=r.value)==null?void 0:v.type)||""}),c=we(()=>i.value?i.value.type==="text"?i.value.textType||"":i.value.type==="shape"&&i.value.text&&i.value.text.type||"":""),f=we(()=>i.value&&i.value.type==="image"&&i.value.imageType||""),d=v=>{v?t.updateSlide({type:v}):t.removeSlideProps({id:r.value.id,propName:"type"})},h=v=>{if(i.value&&(i.value.type==="image"&&(v?t.updateElement({id:o.value,props:{imageType:v}}):t.removeElementProps({id:o.value,propName:"imageType"})),i.value.type==="text"&&(v?t.updateElement({id:o.value,props:{textType:v}}):t.removeElementProps({id:o.value,propName:"textType"})),i.value.type==="shape")){const g=i.value.text;if(!g)return;v?t.updateElement({id:o.value,props:{text:{...g,type:v}}}):(delete g.type,t.updateElement({id:o.value,props:{text:g}}))}},p=()=>{n.setMarkupPanelState(!1)};return(v,g)=>(U(),_e(i1,{class:"notes-panel",width:300,height:130,title:"幻灯片类型标注",left:-270,top:90,onClose:g[3]||(g[3]=m=>p())},{default:ie(()=>[V("div",e$e,[V("div",t$e,[n$e,O(zr,{style:{width:"60%"},value:u.value,"onUpdate:value":g[0]||(g[0]=m=>d(m)),options:a.value},null,8,["value","options"])]),z(i)&&(z(i).type==="text"||z(i).type==="shape"&&z(i).text)?(U(),te("div",r$e,[i$e,O(zr,{style:{width:"60%"},value:c.value,"onUpdate:value":g[1]||(g[1]=m=>h(m)),options:s.value},null,8,["value","options"])])):z(i)&&z(i).type==="image"?(U(),te("div",o$e,[a$e,O(zr,{style:{width:"60%"},value:f.value,"onUpdate:value":g[2]||(g[2]=m=>h(m)),options:l.value},null,8,["value","options"])])):(U(),te("div",s$e,"选中图片、文字、带文字的形状,标记类型"))])]),_:1}))}}),u$e=Be(l$e,[["__scopeId","data-v-39f8fcb9"]]),c$e=()=>{const e=ut(),{addSlidesFromData:t}=H2(),{isEmptySlide:n}=gc(),r=pe([]),i=(h,p)=>h.type==="text"&&h.textType===p||h.type==="shape"&&h.text&&h.text.type===p,o=(h,p,v)=>{if(p===1){const y=h.filter(R=>{const A=R.elements.filter(L=>i(L,v)),x=R.elements.filter(L=>i(L,"title")),S=R.elements.filter(L=>i(L,"content"));return!A.length&&x.length===1&&S.length===1});if(y.length)return y}let g=null;const m=h.filter(y=>y.elements.filter(A=>i(A,v)).length>=p);if(m.length===0){const y=h.sort((R,A)=>{const x=R.elements.filter(L=>i(L,v)).length,S=A.elements.filter(L=>i(L,v)).length;return x-S});g=y[y.length-1]}else g=m.reduce((y,R)=>{const A=R.elements.filter(S=>i(S,v)).length,x=y.elements.filter(S=>i(S,v)).length;return A-p<=x-p?R:y});return h.filter(y=>{const R=y.elements.filter(x=>i(x,v)).length,A=g.elements.filter(x=>i(x,v)).length;return R===A})},a=({text:h,fontSize:p,fontFamily:v,width:g,maxLine:m})=>{const R=document.createElement("canvas").getContext("2d");let A=p;const x=10;for(;A>=x;){R.font=`${A}px ${v}`;const S=R.measureText(h).width;if(Math.ceil(S/g)<=m)return A;const w=A<=22?1:2;A=A-w}return x},s=h=>{const p=/font-size:\s*(\d+)\s*px/i,v=/font-family:\s*['"]?([^'";]+)['"]?\s*(?=;|>|$)/i,g={fontSize:16,fontFamily:"Microsoft Yahei"},m=h.match(p),y=h.match(v);return{fontSize:m?+m[1].trim():g.fontSize,fontFamily:y?y[1].trim():g.fontFamily}},l=({el:h,text:p,maxLine:v,longestText:g,digitPadding:m})=>{const R=h.width-20-10;let A=h.type==="text"?h.content:h.text.content;const x=s(A),S=a({text:g||p,fontSize:x.fontSize,fontFamily:x.fontFamily,width:R,maxLine:v}),w=new DOMParser().parseFromString(A,"text/html"),_=document.createTreeWalker(w.body,NodeFilter.SHOW_TEXT).nextNode();if(_&&(m&&_.textContent&&_.textContent.length===2&&p.length===1?_.textContent="0"+p:_.textContent=p),w.body.innerHTML.indexOf("font-size")===-1){const k=w.querySelector("p");k&&(k.style.fontSize="16px")}return A=w.body.innerHTML.replace(/font-size:(.+?)px/g,`font-size: ${S}px`),h.type==="text"?{...h,content:A,lineHeight:S<15?1.2:h.lineHeight}:{...h,text:{...h.text,content:A}}},u=h=>{let p=null,v=[];return h.width===h.height?v=r.value.filter(g=>g.width===g.height):h.width>h.height?v=r.value.filter(g=>g.width>g.height):v=r.value.filter(g=>g.width<=g.height),v.length||(v=r.value),p=v[Math.floor(Math.random()*v.length)],r.value=r.value.filter(g=>g.id!==p.id),p},c=h=>{const p=u(h);if(!p)return h;let v=1,g=h.width,m=h.height,y=[[0,0],[0,0]];const R=h.width/h.height;if(p.width/p.height>=R){v=p.height/h.height,g=p.width/v;const L=(g-h.width)/2/g*100;y=[[L,0],[100-L,100]]}else{v=p.width/h.width,m=p.height/v;const L=(m-h.height)/2/m*100;y=[[0,L],[100,100-L]]}const A=h.clip&&h.clip.shape?h.clip.shape:"rect",x={range:y,shape:A},S=p.src;return{...h,src:S,clip:x}};return{AIPPT:(h,p,v)=>{v&&(r.value=v);const g=[];for(const k of p)if(k.type==="content"){const P=k.data.items;if(P.length===5||P.length===6){const N=P.slice(0,3),C=P.slice(3);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:3})}else if(P.length===7||P.length===8){const N=P.slice(0,4),C=P.slice(4);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:4})}else if(P.length===9||P.length===10){const N=P.slice(0,3),C=P.slice(3,6),F=P.slice(6);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:3}),g.push({...k,data:{...k.data,items:F},offset:6})}else if(P.length>10){const N=P.slice(0,4),C=P.slice(4,8),F=P.slice(8);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:4}),g.push({...k,data:{...k.data,items:F},offset:8})}else g.push(k)}else if(k.type==="contents"){const P=k.data.items;if(P.length===7){const N=P.slice(0,5),C=P.slice(5);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:5})}else if(P.length>7&&P.length<=12){const N=P.slice(0,6),C=P.slice(6);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:6})}else if(P.length===13){const N=P.slice(0,6),C=P.slice(6,11),F=P.slice(11);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:6}),g.push({...k,data:{...k.data,items:F},offset:11})}else if(P.length>13){const N=P.slice(0,6),C=P.slice(6,12),F=P.slice(12);g.push({...k,data:{...k.data,items:N}}),g.push({...k,data:{...k.data,items:C},offset:6}),g.push({...k,data:{...k.data,items:F},offset:12})}else g.push(k)}else g.push(k);const m=h.filter(k=>k.type==="cover"),y=h.filter(k=>k.type==="contents"),R=h.filter(k=>k.type==="transition"),A=h.filter(k=>k.type==="content"),x=h.filter(k=>k.type==="end"),S=m[Math.floor(Math.random()*m.length)],L=R[Math.floor(Math.random()*R.length)],w=x[Math.floor(Math.random()*x.length)],M=[];let _=0;for(const k of g)if(k.type==="cover"){const P=S.elements.map(N=>N.type==="image"&&N.imageType&&r.value.length?c(N):N.type!=="text"&&N.type!=="shape"?N:i(N,"title")&&k.data.title?l({el:N,text:k.data.title,maxLine:1}):i(N,"content")&&k.data.text?l({el:N,text:k.data.text,maxLine:3}):N);M.push({...S,id:on(10),elements:P})}else if(k.type==="contents"){const P=o(y,k.data.items.length,"item"),N=P[Math.floor(Math.random()*P.length)],C=N.elements.filter(D=>i(D,"item")).sort((D,Z)=>{const re=D.left+D.top*2,B=Z.left+Z.top*2;return re-B}).map(D=>D.id),F=N.elements.filter(D=>i(D,"itemNumber")).sort((D,Z)=>{const re=D.left+D.top*2,B=Z.left+Z.top*2;return re-B}).map(D=>D.id),I=k.data.items.reduce((D,Z)=>Z.length>D.length?Z:D,""),W=N.elements.map(D=>{if(D.type==="image"&&D.imageType&&r.value.length)return c(D);if(D.type!=="text"&&D.type!=="shape")return D;if(i(D,"item")){const Z=C.findIndex(B=>B===D.id),re=k.data.items[Z];if(re)return l({el:D,text:re,maxLine:1,longestText:I})}if(i(D,"itemNumber")){const Z=F.findIndex(B=>B===D.id),re=k.offset||0;return l({el:D,text:Z+re+1+"",maxLine:1,digitPadding:!0})}return D});M.push({...N,id:on(10),elements:W})}else if(k.type==="transition"){_++;const P=L.elements.map(N=>N.type==="image"&&N.imageType&&r.value.length?c(N):N.type!=="text"&&N.type!=="shape"?N:i(N,"title")&&k.data.title?l({el:N,text:k.data.title,maxLine:1}):i(N,"content")&&k.data.text?l({el:N,text:k.data.text,maxLine:3}):i(N,"partNumber")?l({el:N,text:_+"",maxLine:1,digitPadding:!0}):N);M.push({...L,id:on(10),elements:P})}else if(k.type==="content"){const P=o(A,k.data.items.length,"item"),N=P[Math.floor(Math.random()*P.length)],C=N.elements.filter(Y=>i(Y,"itemTitle")).sort((Y,Q)=>{const K=Y.left+Y.top*2,q=Q.left+Q.top*2;return K-q}).map(Y=>Y.id),F=N.elements.filter(Y=>i(Y,"item")).sort((Y,Q)=>{const K=Y.left+Y.top*2,q=Q.left+Q.top*2;return K-q}).map(Y=>Y.id),I=N.elements.filter(Y=>i(Y,"itemNumber")).sort((Y,Q)=>{const K=Y.left+Y.top*2,q=Q.left+Q.top*2;return K-q}).map(Y=>Y.id),W=[],D=[];for(const Y of k.data.items)Y.title&&W.push(Y.title),Y.text&&D.push(Y.text);const Z=W.reduce((Y,Q)=>Q.length>Y.length?Q:Y,""),re=D.reduce((Y,Q)=>Q.length>Y.length?Q:Y,""),B=N.elements.map(Y=>{if(Y.type==="image"&&Y.imageType&&r.value.length)return c(Y);if(Y.type!=="text"&&Y.type!=="shape")return Y;if(k.data.items.length===1){const Q=k.data.items[0];if(i(Y,"content")&&Q.text)return l({el:Y,text:Q.text,maxLine:6})}else{if(i(Y,"itemTitle")){const Q=C.findIndex(q=>q===Y.id),K=k.data.items[Q];if(K&&K.title)return l({el:Y,text:K.title,longestText:Z,maxLine:1})}if(i(Y,"item")){const Q=F.findIndex(q=>q===Y.id),K=k.data.items[Q];if(K&&K.text)return l({el:Y,text:K.text,longestText:re,maxLine:4})}if(i(Y,"itemNumber")){const Q=I.findIndex(q=>q===Y.id),K=k.offset||0;return l({el:Y,text:Q+K+1+"",maxLine:1,digitPadding:!0})}}return i(Y,"title")&&k.data.title?l({el:Y,text:k.data.title,maxLine:1}):Y});M.push({...N,id:on(10),elements:B})}else if(k.type==="end"){const P=w.elements.map(N=>N.type==="image"&&N.imageType&&r.value.length?c(N):N);M.push({...w,id:on(10),elements:P})}n.value?e.setSlides(M):t(M)},getMdContent:h=>{const p=/```markdown([^```]*)```/,v=h.match(p);return v?v[1].trim():h.replace("```markdown","").replace("```","")}}},f$e=e=>(en("data-v-11cc4aad"),e=e(),tn(),e),d$e={class:"aippt-dialog"},h$e={class:"header"},p$e=f$e(()=>V("span",{class:"title"},"AIPPT",-1)),v$e={key:0,class:"subtite"},g$e={key:1,class:"subtite"},m$e={key:0,class:"preview"},y$e={class:"btns"},A$e={class:"count"},R$e={class:"recommends"},b$e=["onClick"],x$e=Xe({__name:"AIPPTDialog",setup(e){const t=ht(),{getMdContent:n,AIPPT:r}=c$e(),i=pe("zh"),o=pe(""),a=pe(""),s=pe(!1),l=pe(),u=pe(["年度工作总结","大学生职业生涯规划","公司年会策划方案","大数据如何改变世界","餐饮市场调查与研究"]);Ht(()=>{setTimeout(()=>{l.value.focus()},500)});const c=async()=>{if(!o.value)return gn.error("请先输入PPT主题");s.value=!0,a.value=await $g.AIPPT_Outline(o.value,i.value).then(d=>n(d.data[0].content)),s.value=!1},f=async()=>{if(!a.value)return gn.error("缺少PPT大纲");s.value=!0;const d=await $g.AIPPT(a.value,i.value).then(p=>JSON.parse(p.data[0].content).data),h=await $g.getFileData("template_1").then(p=>p.slides);r(h,d),s.value=!1,t.setAIPPTDialogState(!1)};return(d,h)=>{const p=Se("IconSend");return U(),te("div",d$e,[V("div",h$e,[p$e,a.value?(U(),te("span",v$e,"检查确认下方PPT大纲,点击继续生成PPT")):(U(),te("span",g$e,"在下方输入您的PPT主题,并适当补充信息,如行业、岗位、学科、用途等"))]),a.value?(U(),te("div",m$e,[V("pre",null,vt(a.value),1),V("div",y$e,[O(et,{class:"btn",type:"primary",onClick:h[0]||(h[0]=v=>f())},{default:ie(()=>[Ue("继续")]),_:1}),O(et,{class:"btn",onClick:h[1]||(h[1]=v=>a.value="")},{default:ie(()=>[Ue("返回重新生成")]),_:1})])])):(U(),te(We,{key:1},[O(fc,{class:"input",ref_key:"inputRef",ref:l,value:o.value,"onUpdate:value":h[3]||(h[3]=v=>o.value=v),maxlength:50,placeholder:"请输入PPT主题,如:大学生职业生涯规划",onEnter:h[4]||(h[4]=v=>c())},{suffix:ie(()=>[V("span",A$e,vt(o.value.length)+" / 50",1),V("div",{class:"submit",type:"primary",onClick:h[2]||(h[2]=v=>c())},[O(p,{class:"icon"}),Ue(" AI 生成")])]),_:1},8,["value"]),V("div",R$e,[(U(!0),te(We,null,tt(u.value,(v,g)=>(U(),te("div",{class:"recommend",key:g,onClick:m=>o.value=v},vt(v),9,b$e))),128))])],64)),O(ty,{loading:s.value,tip:"AI生成中,请稍等 ..."},null,8,["loading"])])}}}),S$e=Be(x$e,[["__scopeId","data-v-11cc4aad"]]),w$e={class:"pptist-editor"},M$e={class:"layout-content"},L$e={class:"layout-content-center"},T$e=Xe({__name:"index",setup(e){const t=ht(),{dialogForExport:n,showSelectPanel:r,showSearchPanel:i,showNotesPanel:o,showMarkupPanel:a,showAIPPTDialog:s}=De(t),l=()=>t.setDialogForExport(""),u=()=>t.setAIPPTDialogState(!1),c=pe(40);return Q2e(),H2e(),(f,d)=>(U(),te(We,null,[V("div",w$e,[O(_Se,{class:"layout-header"}),V("div",M$e,[O(_We,{class:"layout-content-left"}),V("div",L$e,[O(wXe,{class:"center-top"}),O(EFe,{class:"center-body",style:Le({height:`calc(100% - ${c.value+40}px)`})},null,8,["style"]),O(SKe,{class:"center-bottom",height:c.value,"onUpdate:height":d[0]||(d[0]=h=>c.value=h),style:Le({height:`${c.value}px`})},null,8,["height","style"])]),O(mKe,{class:"layout-content-right"})])]),z(r)?(U(),_e(AJe,{key:0})):Ze("",!0),z(i)?(U(),_e(wJe,{key:1})):Ze("",!0),z(o)?(U(),_e(qJe,{key:2})):Ze("",!0),z(a)?(U(),_e(u$e,{key:3})):Ze("",!0),O(n0,{visible:!!z(n),width:680,onClosed:d[1]||(d[1]=h=>l())},{default:ie(()=>[O(jze)]),_:1},8,["visible"]),O(n0,{visible:z(s),width:680,closeOnClickMask:!1,closeOnEsc:!1,closeButton:"",onClosed:d[2]||(d[2]=h=>u())},{default:ie(()=>[O(S$e)]),_:1},8,["visible"])],64))}}),_$e=Be(T$e,[["__scopeId","data-v-017cd48e"]]),Ete=()=>{const e=ut(),{slides:t,slideIndex:n,formatedAnimations:r}=De(e),i=pe(0),o=pe(!1),a=pe(n.value),s=()=>{if(o.value)return;const{animations:P,autoNext:N}=r.value[i.value];i.value+=1,o.value=!0;let C=0;for(const F of P){const I=document.querySelector(`#screen-element-${F.elId} [class^=base-element-]`);if(!I){C+=1;continue}const W=`${Pa}${F.effect}`;I.style.removeProperty("--animate-duration");for(const Z of I.classList)Z.indexOf(Pa)!==-1&&I.classList.remove(Z,`${Pa}animated`);I.style.setProperty("--animate-duration",`${F.duration}ms`),I.classList.add(W,`${Pa}animated`);const D=()=>{F.type!=="out"&&(I.style.removeProperty("--animate-duration"),I.classList.remove(W,`${Pa}animated`)),C+=1,C===P.length&&(o.value=!1,N&&s())};I.addEventListener("animationend",D,{once:!0})}};Ht(()=>{const P=r.value[0];P&&P.animations.length&&P.animations.every(C=>C.trigger==="auto"||C.trigger==="meantime")&&s()});const l=()=>{i.value-=1;const{animations:P}=r.value[i.value];for(const N of P){const C=document.querySelector(`#screen-element-${N.elId} [class^=base-element-]`);if(C){C.style.removeProperty("--animate-duration");for(const F of C.classList)F.indexOf(Pa)!==-1&&C.classList.remove(F,`${Pa}animated`)}}P.every(N=>N.type==="attention")&&p()},u=pe(0),c=()=>{u.value&&(clearInterval(u.value),u.value=0)};Nn(c);const f=pe(!1),d=P=>{f.value=P},h=Yn.throttle(function(P){gn.success(P)},1e3,{leading:!0,trailing:!1}),p=()=>{r.value.length&&i.value>0?l():n.value>0?(e.updateSlideIndex(n.value-1),n.value{r.value.length&&i.value{c(),gn.success("开始自动放映"),u.value=setInterval(v,g.value)},y=P=>{c(),g.value=P,m()},R=Yn.throttle(function(P){P.deltaY<0?p():P.deltaY>0&&v()},500,{leading:!0,trailing:!1}),A=pe(null),x=P=>{A.value={x:P.changedTouches[0].pageX,y:P.changedTouches[0].pageY}},S=P=>{if(!A.value)return;const N=Math.abs(A.value.x-P.changedTouches[0].pageX),C=P.changedTouches[0].pageY-A.value.y;Math.abs(C)>N&&Math.abs(C)>50&&(A.value=null,C>0?p():v())},L=P=>{const N=P.key.toUpperCase();N===At.UP||N===At.LEFT||N===At.PAGEUP?p():(N===At.DOWN||N===At.RIGHT||N===At.SPACE||N===At.ENTER||N===At.PAGEDOWN)&&v()};Ht(()=>document.addEventListener("keydown",L)),Nn(()=>document.removeEventListener("keydown",L));const w=()=>{e.updateSlideIndex(n.value-1),i.value=0},M=()=>{e.updateSlideIndex(n.value+1),i.value=0},_=P=>{e.updateSlideIndex(P),i.value=0};return{autoPlayTimer:u,autoPlayInterval:g,setAutoPlayInterval:y,autoPlay:m,closeAutoPlay:c,loopPlay:f,setLoopPlay:d,mousewheelListener:R,touchStartListener:x,touchEndListener:S,turnPrevSlide:w,turnNextSlide:M,turnSlideToIndex:_,turnSlideToId:P=>{const N=t.value.findIndex(C=>C.id===P);N!==-1&&(e.updateSlideIndex(N),i.value=0)},execPrev:p,execNext:v,animationIndex:i}},Xte=e=>{const t=ut(),{viewportRatio:n}=De(t),r=pe(0),i=pe(0),o=()=>{const a=(e==null?void 0:e.value)||document.body,s=a.clientWidth,l=a.clientHeight;let u,c;l/s===n.value?(u=s,c=l):l/s>n.value?(u=s,c=s*n.value):(u=l/n.value,c=l),r.value=u,i.value=c};return Ht(()=>{o(),window.addEventListener("resize",o)}),Nn(()=>{window.removeEventListener("resize",o)}),{slideWidth:r,slideHeight:i}},Wte=()=>{const e=pe(!0),t=pe(!0),{exitScreening:n}=ld(),r=()=>{e.value=TT(),!e.value&&t.value&&n(),t.value=!0};return Ht(()=>{e.value=TT(),document.addEventListener("fullscreenchange",r),document.addEventListener("webkitfullscreenchange",r)}),Nn(()=>{document.removeEventListener("fullscreenchange",r),document.removeEventListener("webkitfullscreenchange",r)}),{fullscreenState:e,manualExitFullscreen:()=>{e.value&&(t.value=!1,DH())}}},O$e={class:"element-content"},k$e=Xe({__name:"ScreenVideoElement",props:{elementInfo:{}},setup(e){const{currentSlide:t}=De(ut()),n=bs(iy)||pe(1),r=bs(yk)||pe(""),i=we(()=>t.value.id===r.value);return(o,a)=>(U(),te("div",{class:"base-element-video screen-element-video",style:Le({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${o.elementInfo.rotate}deg)`})},[V("div",O$e,[i.value?(U(),_e(Ree,{key:0,width:o.elementInfo.width,height:o.elementInfo.height,src:o.elementInfo.src,poster:o.elementInfo.poster,autoplay:o.elementInfo.autoplay,scale:z(n)},null,8,["width","height","src","poster","autoplay","scale"])):Ze("",!0)])],4)],4))}}),P$e=Be(k$e,[["__scopeId","data-v-d9f232b0"]]),C$e={class:"element-content"},I$e=Xe({__name:"ScreenAudioElement",props:{elementInfo:{}},setup(e){const t=e,{viewportRatio:n,currentSlide:r,viewportSize:i}=De(ut()),o=bs(iy)||pe(1),a=bs(yk)||pe(""),s=we(()=>r.value.id===a.value),l=we(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),u=we(()=>{const d=i.value,h=i.value*n.value,p=280/o.value,v=50/o.value,g=t.elementInfo.width,m=t.elementInfo.height,y=t.elementInfo.left,R=t.elementInfo.top;let A=0,x=m;return y+p>=d&&(A=g-p),R+m+v>=h&&(x=-v),{left:A+"px",top:x+"px"}}),c=pe(),f=()=>{c.value&&c.value.toggle()};return(d,h)=>{const p=Se("IconVolumeNotice");return U(),te("div",{class:"base-element-audio screen-element-audio",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",C$e,[O(p,{class:"audio-icon",style:Le({fontSize:l.value,color:d.elementInfo.color}),onClick:h[0]||(h[0]=v=>f())},null,8,["style"]),s.value?(U(),_e(See,{key:0,class:"audio-player",ref_key:"audioPlayerRef",ref:c,style:Le({...u.value}),src:d.elementInfo.src,loop:d.elementInfo.loop,autoplay:d.elementInfo.autoplay,scale:z(o)},null,8,["style","src","loop","autoplay","scale"])):Ze("",!0)])],4)],4)}}}),N$e=Be(I$e,[["__scopeId","data-v-db0543f3"]]),F$e=["id","title"],E$e=Xe({__name:"ScreenElement",props:{elementInfo:{},elementIndex:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,n=we(()=>({[Et.IMAGE]:Tee,[Et.TEXT]:_ee,[Et.SHAPE]:Oee,[Et.LINE]:kee,[Et.CHART]:Pee,[Et.TABLE]:Cee,[Et.LATEX]:Iee,[Et.VIDEO]:P$e,[Et.AUDIO]:N$e})[t.elementInfo.type]||null),{formatedAnimations:r,theme:i}=De(ut()),o=we(()=>{const s=r.value.findIndex(u=>u.animations.map(f=>f.elId).includes(t.elementInfo.id));if(s===-1||su.elId===t.elementInfo.id);return(l==null?void 0:l.type)==="in"}),a=s=>{if(s.target.tagName==="A"){t.manualExitFullscreen();return}const l=t.elementInfo.link;l&&(l.type==="web"?(t.manualExitFullscreen(),window.open(l.target)):l.type==="slide"&&t.turnSlideToId(l.target))};return(s,l)=>{var u;return U(),te("div",{class:$e(["screen-element",{link:s.elementInfo.link}]),id:`screen-element-${s.elementInfo.id}`,style:Le({zIndex:s.elementIndex,color:z(i).fontColor,fontFamily:z(i).fontName,visibility:o.value?"hidden":"visible"}),title:((u=s.elementInfo.link)==null?void 0:u.target)||"",onClick:l[0]||(l[0]=c=>a(c))},[(U(),_e(Ru(n.value),{elementInfo:s.elementInfo},null,8,["elementInfo"]))],14,F$e)}}}),X$e=Be(E$e,[["__scopeId","data-v-28b05f52"]]),W$e=Xe({__name:"ScreenSlide",props:{slide:{},scale:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{viewportRatio:n,viewportSize:r}=De(ut()),i=we(()=>t.slide.background),{backgroundStyle:o}=t4(i),a=we(()=>t.slide.id);return a0(yk,a),(s,l)=>(U(),te("div",{class:"screen-slide",style:Le({width:z(r)+"px",height:z(r)*z(n)+"px",transform:`scale(${s.scale})`})},[V("div",{class:"background",style:Le({...z(o)})},null,4),(U(!0),te(We,null,tt(s.slide.elements,(u,c)=>(U(),_e(X$e,{key:u.id,elementInfo:u,elementIndex:c+1,animationIndex:s.animationIndex,turnSlideToId:s.turnSlideToId,manualExitFullscreen:s.manualExitFullscreen},null,8,["elementInfo","elementIndex","animationIndex","turnSlideToId","manualExitFullscreen"]))),128))],4))}}),V$e=Be(W$e,[["__scopeId","data-v-54069779"]]),D$e={class:"screen-slide-list"},U$e=Xe({__name:"ScreenSlideList",props:{slideWidth:{},slideHeight:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r,viewportSize:i}=De(ut()),o=we(()=>n.value.map(s=>{let l=s.turningMode;if(l||(l="slideY"),l==="random"){const u=gte.filter(c=>!["random","no"].includes(c.value)).map(c=>c.value);l=u[Math.floor(Math.random()*u.length)]}return{...s,turningMode:l}})),a=we(()=>t.slideWidth/i.value);return a0(iy,a),(s,l)=>(U(),te("div",D$e,[(U(!0),te(We,null,tt(o.value,(u,c)=>{var f;return U(),te("div",{class:$e(["slide-item",`turning-mode-${u.turningMode}`,{current:c===z(r),before:cz(r),hide:(c===z(r)-1||c===z(r)+1)&&u.turningMode!==o.value[z(r)].turningMode}]),key:u.id},[Math.abs(z(r)-c)<2||(f=u.animations)!=null&&f.length?(U(),te("div",{key:0,class:"slide-content",style:Le({width:s.slideWidth+"px",height:s.slideHeight+"px"})},[O(V$e,{slide:u,scale:a.value,animationIndex:s.animationIndex,turnSlideToId:s.turnSlideToId,manualExitFullscreen:s.manualExitFullscreen},null,8,["slide","scale","animationIndex","turnSlideToId","manualExitFullscreen"])],4)):Ze("",!0)],2)}),128))]))}}),Vte=Be(U$e,[["__scopeId","data-v-30b01007"]]),B$e={class:"slide-thumbnails"},Y$e={class:"return-button"},Z$e={class:"slide-thumbnails-content"},Q$e=["onClick"],H$e=Xe({__name:"SlideThumbnails",props:{turnSlideToIndex:{type:Function}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,{slides:i,slideIndex:o}=De(ut()),{slidesLoadLimit:a}=vy(),s=l=>{n.turnSlideToIndex(l),r("close")};return(l,u)=>{const c=Se("IconArrowCircleLeft");return U(),te("div",B$e,[V("div",Y$e,[O(c,{class:"icon",onClick:u[0]||(u[0]=f=>r("close"))})]),V("div",Z$e,[(U(!0),te(We,null,tt(z(i),(f,d)=>(U(),te("div",{class:$e(["thumbnail",{active:d===z(o)}]),key:f.id,onClick:h=>s(d)},[O(dl,{slide:f,size:150,visible:ds.value?p.value/s.value.width:1),m=we(()=>s.value?v.value/s.value.height:1),y=()=>{a.value&&(p.value=a.value.clientWidth,v.value=a.value.clientHeight)},R=new ResizeObserver(y);Ht(()=>{a.value&&R.observe(a.value)}),Nn(()=>{a.value&&R.unobserve(a.value)}),Ht(()=>{!s.value||!a.value||(o=s.value.getContext("2d"),o&&(s.value.width=a.value.clientWidth,s.value.height=a.value.clientHeight,o.lineCap="round",o.lineJoin="round"))});const x=()=>{o&&(r.model==="mark"?(o.globalCompositeOperation="xor",o.globalAlpha=.5):r.model==="pen"&&(o.globalCompositeOperation="source-over",o.globalAlpha=1))};Ot(()=>r.model,x);const S=(D,Z,re)=>{if(!o)return;const B=l.x,Y=l.y;o.lineWidth=re,o.strokeStyle=r.color,o.beginPath(),o.moveTo(B,Y),o.lineTo(D,Z),o.stroke(),o.closePath()},L=(D,Z)=>{if(!o||!s.value)return;const re=l.x,B=l.y,Y=r.rubberSize/2,Q=Y*Math.sin(Math.atan((Z-B)/(D-re))),K=Y*Math.cos(Math.atan((Z-B)/(D-re))),q=[re+Q,B-K],$=[re-Q,B+K],de=[D+Q,Z-K],G=[D-Q,Z+K];o.save(),o.beginPath(),o.arc(D,Z,Y,0,Math.PI*2),o.clip(),o.clearRect(0,0,s.value.width,s.value.height),o.restore(),o.save(),o.beginPath(),o.moveTo(...q),o.lineTo(...de),o.lineTo(...G),o.lineTo(...$),o.closePath(),o.clip(),o.clearRect(0,0,s.value.width,s.value.height),o.restore()},w=(D,Z)=>{const re=l.x,B=l.y;return Math.sqrt((D-re)*(D-re)+(Z-B)*(Z-B))},M=(D,Z)=>{const Y=r.penSize,Q=3,K=D/Z;let q;return K<=.1?q=Y:K>=10?q=Q:q=Y-K/10*Y,f===-1?q:q*1/3+f*2/3},_=(D,Z)=>{const re=new Date().getTime();if(r.model==="pen"){const B=w(D,Z),Y=re-c,Q=M(B,Y);S(D,Z,Q),f=Q}else r.model==="mark"?S(D,Z,r.markSize):L(D,Z);l={x:D,y:Z},c=new Date().getTime()},k=D=>{if(!s.value)return[0,0];const Z=D instanceof MouseEvent?D:D.changedTouches[0],re=s.value.getBoundingClientRect(),B=Z.pageX-re.x,Y=Z.pageY-re.y;return[B,Y]},P=D=>{const[Z,re]=k(D),B=Z/g.value,Y=re/m.value;u=!0,l={x:B,y:Y},c=new Date().getTime(),D instanceof MouseEvent||(d.value={x:Z,y:re},h.value=!0)},N=D=>{const[Z,re]=k(D),B=Z/g.value,Y=re/m.value;d.value={x:Z,y:re},u&&_(B,Y)},C=()=>{u&&(u=!1,i("end"))};return t({clearCanvas:()=>{!o||!s.value||(o.clearRect(0,0,s.value.width,s.value.height),i("end"))},getImageDataURL:()=>{var D;return(D=s.value)==null?void 0:D.toDataURL()},setImageDataURL:D=>{if(!(!o||!s.value)&&(o.clearRect(0,0,s.value.width,s.value.height),D)){o.globalCompositeOperation="source-over",o.globalAlpha=1;const Z=new Image;Z.src=D,Z.onload=()=>{o.drawImage(Z,0,0),x()}}}}),(D,Z)=>{const re=Se("IconWrite"),B=Se("IconHighLight");return U(),te("div",{class:"writing-board",ref_key:"writingBoardRef",ref:a},[D.blackboard?(U(),te("div",G$e)):Ze("",!0),V("canvas",{class:"canvas",ref_key:"canvasRef",ref:s,style:Le({width:p.value+"px",height:v.value+"px"}),onMousedown:Z[0]||(Z[0]=Y=>P(Y)),onMousemove:Z[1]||(Z[1]=Y=>N(Y)),onMouseup:Z[2]||(Z[2]=Y=>C()),onTouchstart:Z[3]||(Z[3]=Y=>P(Y)),onTouchmove:Z[4]||(Z[4]=Y=>N(Y)),onTouchend:Z[5]||(Z[5]=Y=>{C(),h.value=!1}),onMouseleave:Z[6]||(Z[6]=Y=>{C(),h.value=!1}),onMouseenter:Z[7]||(Z[7]=Y=>h.value=!0)},null,36),h.value?(U(),te(We,{key:1},[D.model==="eraser"?(U(),te("div",{key:0,class:"eraser",style:Le({left:d.value.x-D.rubberSize/2+"px",top:d.value.y-D.rubberSize/2+"px",width:D.rubberSize+"px",height:D.rubberSize+"px"})},null,4)):Ze("",!0),D.model==="pen"?(U(),te("div",{key:1,class:"pen",style:Le({left:d.value.x-D.penSize/2+"px",top:d.value.y-D.penSize*6+D.penSize/2+"px",color:D.color})},[D.model==="pen"?(U(),_e(re,{key:0,class:"icon",size:D.penSize*6},null,8,["size"])):Ze("",!0)],4)):Ze("",!0),D.model==="mark"?(U(),te("div",{key:2,class:"pen",style:Le({left:d.value.x-D.markSize/2+"px",top:d.value.y+"px",color:D.color})},[D.model==="mark"?(U(),_e(B,{key:0,class:"icon",size:D.markSize*1.5},null,8,["size"])):Ze("",!0)],4)):Ze("",!0)],64)):Ze("",!0)],512)}}}),J$e=Be(z$e,[["__scopeId","data-v-55ae5f6c"]]),iC=e=>(en("data-v-47295ef6"),e=e(),tn(),e),$$e={class:"writing-board-tool"},j$e={class:"tool-content"},q$e={class:"size"},eje=iC(()=>V("div",{class:"label"},"墨迹粗细:",-1)),tje={class:"size"},nje=iC(()=>V("div",{class:"label"},"墨迹粗细:",-1)),rje={class:"size"},ije=iC(()=>V("div",{class:"label"},"橡皮大小:",-1)),oje={class:"colors"},aje=["onClick"],sje=Xe({__name:"WritingBoardTool",props:{slideWidth:{},slideHeight:{},left:{default:-5},top:{default:-5}},emits:["close"],setup(e,{emit:t}){const n=["#000000","#ffffff","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#ffff3a"],r=t,{currentSlide:i}=De(ut()),o=pe(),a=pe("#e2534d"),s=pe("pen"),l=pe(!1),u=pe(""),c=pe(6),f=pe(24),d=pe(80),h=y=>{s.value===y?u.value=u.value===y?"":y:(u.value&&(u.value=""),s.value=y)},p=()=>{o.value.clearCanvas()},v=y=>{s.value==="eraser"&&(s.value="pen"),a.value=y},g=()=>{r("close")};Ot(i,()=>{el.writingBoardImgs.where("id").equals(i.value.id).toArray().then(y=>{const R=y[0];o.value.setImageDataURL((R==null?void 0:R.dataURL)||"")})},{immediate:!0});const m=()=>{const y=o.value.getImageDataURL();y&&el.writingBoardImgs.where("id").equals(i.value.id).toArray().then(R=>{const A=R[0];A?el.writingBoardImgs.update(A,{dataURL:y}):el.writingBoardImgs.add({id:i.value.id,dataURL:y})})};return(y,R)=>{const A=Se("IconWrite"),x=Se("IconHighLight"),S=Se("IconErase"),L=Se("IconClear"),w=Se("IconFill"),M=Se("IconClose"),_=Fn("tooltip");return U(),te("div",$$e,[V("div",{class:"writing-board-wrap",style:Le({width:y.slideWidth+"px",height:y.slideHeight+"px"})},[O(J$e,{ref_key:"writingBoardRef",ref:o,color:a.value,blackboard:l.value,model:s.value,penSize:c.value,markSize:f.value,rubberSize:d.value,onEnd:R[0]||(R[0]=k=>m())},null,8,["color","blackboard","model","penSize","markSize","rubberSize"])],4),O(i1,{class:"tools-panel",width:520,height:50,left:y.left,top:y.top,moveable:u.value===""},{default:ie(()=>[V("div",{class:"tools",onMousedown:R[10]||(R[10]=Ft(()=>{},["stop"]))},[V("div",j$e,[O(Nt,{trigger:"manual",value:u.value==="pen"},{content:ie(()=>[V("div",q$e,[eje,O(Ki,{class:"size-slider",min:4,max:10,step:2,value:c.value,"onUpdate:value":R[1]||(R[1]=k=>c.value=k)},null,8,["value"])])]),default:ie(()=>[ze((U(),te("div",{class:$e(["btn",{active:s.value==="pen"}]),onClick:R[2]||(R[2]=k=>h("pen"))},[O(A,{class:"icon"})],2)),[[_,"画笔"]])]),_:1},8,["value"]),O(Nt,{trigger:"manual",value:u.value==="mark"},{content:ie(()=>[V("div",tje,[nje,O(Ki,{class:"size-slider",min:16,max:40,step:4,value:f.value,"onUpdate:value":R[3]||(R[3]=k=>f.value=k)},null,8,["value"])])]),default:ie(()=>[ze((U(),te("div",{class:$e(["btn",{active:s.value==="mark"}]),onClick:R[4]||(R[4]=k=>h("mark"))},[O(x,{class:"icon"})],2)),[[_,"荧光笔"]])]),_:1},8,["value"]),O(Nt,{trigger:"manual",value:u.value==="eraser"},{content:ie(()=>[V("div",rje,[ije,O(Ki,{class:"size-slider",min:20,max:200,step:20,value:d.value,"onUpdate:value":R[5]||(R[5]=k=>d.value=k)},null,8,["value"])])]),default:ie(()=>[ze((U(),te("div",{class:$e(["btn",{active:s.value==="eraser"}]),onClick:R[6]||(R[6]=k=>h("eraser"))},[O(S,{class:"icon"})],2)),[[_,"橡皮擦"]])]),_:1},8,["value"]),ze((U(),te("div",{class:"btn",onClick:R[7]||(R[7]=k=>p())},[O(L,{class:"icon"})])),[[_,"清除墨迹"]]),ze((U(),te("div",{class:$e(["btn",{active:l.value}]),onClick:R[8]||(R[8]=k=>l.value=!l.value)},[O(w,{class:"icon"})],2)),[[_,"黑板"]]),V("div",oje,[(U(),te(We,null,tt(n,k=>V("div",{class:$e(["color",{active:k===a.value}]),key:k,style:Le({backgroundColor:k}),onClick:P=>v(k)},null,14,aje)),64))])]),ze((U(),te("div",{class:"btn",onClick:R[9]||(R[9]=k=>g())},[O(M,{class:"icon"})])),[[_,"关闭画笔"]])],32)]),_:1},8,["left","top","moveable"])])}}}),Dte=Be(sje,[["__scopeId","data-v-47295ef6"]]),lje=e=>(en("data-v-92c1f9be"),e=e(),tn(),e),uje={class:"header"},cje={class:"content"},fje={class:"timer"},dje=["value","disabled"],hje=lje(()=>V("div",{class:"colon"},":",-1)),pje={class:"timer"},vje=["value","disabled"],gje=Xe({__name:"CountdownTimer",props:{left:{default:5},top:{default:5}},emits:["close"],setup(e,{emit:t}){const n=t,r=pe(null),i=pe(!1),o=pe(!1),a=pe(0),s=we(()=>Math.floor(a.value/60)),l=we(()=>a.value%60),u=we(()=>!o.value||i.value),c=()=>{r.value&&clearInterval(r.value)};Nn(c);const f=()=>{c(),i.value=!1},d=()=>{c(),i.value=!1,o.value?a.value=600:a.value=0},h=()=>{c(),o.value?r.value=setInterval(()=>{a.value=a.value-1,a.value<=0&&d()},1e3):r.value=setInterval(()=>{a.value=a.value+1,a.value>36e3&&f()},1e3),i.value=!0},p=()=>{i.value?f():h()},v=()=>{o.value=!o.value,d()},g=(m,y)=>{const R=m.target;let A=R.value;/^(\d)+$/.test(A)?(y==="second"&&+A>=60&&(A="59"),a.value=y==="minute"?+A*60+l.value:+A+s.value*60):R.value=dg(y==="minute"?s.value:l.value,2)};return(m,y)=>{const R=Se("IconClose");return U(),_e(i1,{class:"countdown-timer",width:180,height:110,left:m.left,top:m.top},{default:ie(()=>[V("div",uje,[V("span",{class:"text-btn",onClick:y[0]||(y[0]=A=>p())},vt(i.value?"暂停":"开始"),1),V("span",{class:"text-btn",onClick:y[1]||(y[1]=A=>d())},"重置"),V("span",{class:$e(["text-btn",{active:o.value}]),onClick:y[2]||(y[2]=A=>v())},"倒计时",2)]),V("div",cje,[V("div",fje,[V("input",{type:"text",value:z(dg)(s.value,2),maxlength:3,disabled:u.value,onMousedown:y[3]||(y[3]=Ft(()=>{},["stop"])),onBlur:y[4]||(y[4]=A=>g(A,"minute")),onKeydown:[y[5]||(y[5]=Ft(()=>{},["stop"])),y[6]||(y[6]=du(Ft(A=>g(A,"minute"),["stop"]),["enter"]))]},null,40,dje)]),hje,V("div",pje,[V("input",{type:"text",value:z(dg)(l.value,2),maxlength:3,disabled:u.value,onMousedown:y[7]||(y[7]=Ft(()=>{},["stop"])),onBlur:y[8]||(y[8]=A=>g(A,"second")),onKeydown:[y[9]||(y[9]=Ft(()=>{},["stop"])),y[10]||(y[10]=du(Ft(A=>g(A,"second"),["stop"]),["enter"]))]},null,40,vje)])]),V("div",{class:"close-btn",onClick:y[11]||(y[11]=A=>n("close"))},[O(R,{class:"icon"})])]),_:1},8,["left","top"])}}}),Ute=Be(gje,[["__scopeId","data-v-92c1f9be"]]),mje={class:"tools-left"},yje={class:"content"},Aje=Xe({__name:"BaseView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r}=De(ut()),{autoPlayTimer:i,autoPlay:o,closeAutoPlay:a,autoPlayInterval:s,setAutoPlayInterval:l,loopPlay:u,setLoopPlay:c,mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:v,turnSlideToIndex:g,turnSlideToId:m,execPrev:y,execNext:R,animationIndex:A}=Ete(),{slideWidth:x,slideHeight:S}=Xte(),{exitScreening:L}=ld(),{fullscreenState:w,manualExitFullscreen:M}=Wte(),_=pe(!1),k=pe(!1),P=pe(!1),N=pe(!1),C=pe(!1),F=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>v()},{text:"第一页",disable:r.value===0,handler:()=>g(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>g(n.value.length-1)},{divider:!0},{text:i.value?"取消自动放映":"自动放映",handler:i.value?a:o,children:[{text:"2.5秒",subText:s.value===2500?"√":"",handler:()=>l(2500)},{text:"5秒",subText:s.value===5e3?"√":"",handler:()=>l(5e3)},{text:"7.5秒",subText:s.value===7500?"√":"",handler:()=>l(7500)},{text:"10秒",subText:s.value===1e4?"√":"",handler:()=>l(1e4)}]},{text:"循环放映",subText:u.value?"√":"",handler:()=>c(!u.value)},{divider:!0},{text:"显示工具栏",handler:()=>_.value=!0},{text:"查看所有幻灯片",handler:()=>N.value=!0},{text:"画笔工具",handler:()=>k.value=!0},{text:"演讲者视图",handler:()=>t.changeViewMode("presenter")},{divider:!0},{text:"结束放映",subText:"ESC",handler:L}];return(I,W)=>{const D=Se("IconLeftTwo"),Z=Se("IconRightTwo"),re=Se("IconWrite"),B=Se("IconMagic"),Y=Se("IconStopwatchStart"),Q=Se("IconListView"),K=Se("IconOffScreenOne"),q=Se("IconFullScreenOne"),$=Se("IconPower"),de=Fn("contextmenu"),G=Fn("tooltip");return U(),te("div",{class:$e(["base-view",{"laser-pen":C.value}])},[ze(O(Vte,{slideWidth:z(x),slideHeight:z(S),animationIndex:z(A),turnSlideToId:z(m),manualExitFullscreen:z(M),onWheel:W[0]||(W[0]=Ae=>z(f)(Ae)),onTouchstart:W[1]||(W[1]=Ae=>z(d)(Ae)),onTouchend:W[2]||(W[2]=Ae=>z(h)(Ae))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[de,F]]),N.value?(U(),_e(K$e,{key:0,turnSlideToIndex:z(g),onClose:W[3]||(W[3]=Ae=>N.value=!1)},null,8,["turnSlideToIndex"])):Ze("",!0),k.value?(U(),_e(Dte,{key:1,slideWidth:z(x),slideHeight:z(S),onClose:W[4]||(W[4]=Ae=>k.value=!1)},null,8,["slideWidth","slideHeight"])):Ze("",!0),P.value?(U(),_e(Ute,{key:2,onClose:W[5]||(W[5]=Ae=>P.value=!1)})):Ze("",!0),V("div",mje,[O(D,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:W[6]||(W[6]=Ae=>z(y)())}),O(Z,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:W[7]||(W[7]=Ae=>z(R)())})]),V("div",{class:$e(["tools-right",{visible:_.value}]),onMouseleave:W[16]||(W[16]=Ae=>_.value=!1),onMouseenter:W[17]||(W[17]=Ae=>_.value=!0)},[V("div",yje,[V("div",{class:"tool-btn page-number",onClick:W[8]||(W[8]=Ae=>N.value=!0)},"幻灯片 "+vt(z(r)+1)+" / "+vt(z(n).length),1),ze(O(re,{class:"tool-btn",onClick:W[9]||(W[9]=Ae=>k.value=!0)},null,512),[[G,"画笔工具"]]),ze(O(B,{class:$e(["tool-btn",{active:C.value}]),onClick:W[10]||(W[10]=Ae=>C.value=!C.value)},null,8,["class"]),[[G,"激光笔"]]),ze(O(Y,{class:$e(["tool-btn",{active:P.value}]),onClick:W[11]||(W[11]=Ae=>P.value=!P.value)},null,8,["class"]),[[G,"计时器"]]),ze(O(Q,{class:"tool-btn",onClick:W[12]||(W[12]=Ae=>I.changeViewMode("presenter"))},null,512),[[G,"演讲者视图"]]),z(w)?ze((U(),_e(K,{key:0,class:"tool-btn",onClick:W[13]||(W[13]=Ae=>z(M)())},null,512)),[[G,"退出全屏"]]):ze((U(),_e(q,{key:1,class:"tool-btn",onClick:W[14]||(W[14]=Ae=>z(GO)())},null,512)),[[G,"进入全屏"]]),ze(O($,{class:"tool-btn",onClick:W[15]||(W[15]=Ae=>z(L)())},null,512),[[G,"结束放映"]])])],34)],2)}}}),Rje=Be(Aje,[["__scopeId","data-v-85c13201"]]),o1=e=>(en("data-v-acf86e50"),e=e(),tn(),e),bje={class:"presenter-view"},xje={class:"toolbar"},Sje=o1(()=>V("span",null,"普通视图",-1)),wje=o1(()=>V("span",null,"画笔",-1)),Mje=o1(()=>V("span",null,"激光笔",-1)),Lje=o1(()=>V("span",null,"计时器",-1)),Tje=o1(()=>V("span",null,"结束放映",-1)),_je={class:"content"},Oje=["onClick"],kje={class:"remark"},Pje={class:"header"},Cje=o1(()=>V("span",null,"演讲者备注",-1)),Ije=["innerHTML"],Nje={class:"remark-scale"},Fje=Xe({__name:"PresenterView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r,viewportRatio:i,currentSlide:o}=De(ut()),a=pe(),s=pe(),l=pe(!1),u=pe(!1),c=pe(!1),{mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:v,turnSlideToIndex:g,turnSlideToId:m,animationIndex:y}=Ete(),{slideWidth:R,slideHeight:A}=Xte(a),{exitScreening:x}=ld(),{slidesLoadLimit:S}=vy(),{fullscreenState:L,manualExitFullscreen:w}=Wte(),M=pe(16),_=we(()=>o.value.remark?Sx(o.value.remark):""),k=C=>{s.value&&s.value.scrollBy(C.deltaY,0)},P=C=>{C<12||C>40||(M.value=C)};Ot(r,()=>{Ir(()=>{if(!s.value)return;const C=s.value.querySelector(".thumbnail.active");if(!C)return;const F=s.value.offsetWidth,I=C.offsetLeft;s.value.scrollTo({left:I-F/2,behavior:"smooth"})})});const N=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>v()},{text:"第一页",disable:r.value===0,handler:()=>g(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>g(n.value.length-1)},{divider:!0},{text:"画笔工具",handler:()=>l.value=!0},{text:"普通视图",handler:()=>t.changeViewMode("base")},{divider:!0},{text:"结束放映",subText:"ESC",handler:x}];return(C,F)=>{const I=Se("IconListView"),W=Se("IconWrite"),D=Se("IconMagic"),Z=Se("IconStopwatchStart"),re=Se("IconOffScreenOne"),B=Se("IconPower"),Y=Se("IconMinus"),Q=Se("IconPlus"),K=Fn("contextmenu");return U(),te("div",bje,[V("div",xje,[V("div",{class:"tool-btn",onClick:F[0]||(F[0]=q=>C.changeViewMode("base"))},[O(I,{class:"tool-icon"}),Sje]),V("div",{class:$e(["tool-btn",{active:l.value}]),onClick:F[1]||(F[1]=q=>l.value=!l.value)},[O(W,{class:"tool-icon"}),wje],2),V("div",{class:$e(["tool-btn",{active:c.value}]),onClick:F[2]||(F[2]=q=>c.value=!c.value)},[O(D,{class:"tool-icon"}),Mje],2),V("div",{class:$e(["tool-btn",{active:u.value}]),onClick:F[3]||(F[3]=q=>u.value=!u.value)},[O(Z,{class:"tool-icon"}),Lje],2),V("div",{class:"tool-btn",onClick:F[4]||(F[4]=()=>z(L)?z(w)():z(GO)())},[z(L)?(U(),_e(re,{key:0,class:"tool-icon"})):(U(),_e(re,{key:1,class:"tool-icon"})),V("span",null,vt(z(L)?"退出全屏":"全屏"),1)]),O(Zt,{class:"divider"}),V("div",{class:"tool-btn",onClick:F[5]||(F[5]=q=>z(x)())},[O(B,{class:"tool-icon"}),Tje])]),V("div",_je,[V("div",{class:$e(["slide-list-wrap",{"laser-pen":c.value}]),ref_key:"slideListWrapRef",ref:a},[ze(O(Vte,{slideWidth:z(R),slideHeight:z(A),animationIndex:z(y),turnSlideToId:z(m),manualExitFullscreen:z(w),onWheel:F[6]||(F[6]=q=>z(f)(q)),onTouchstart:F[7]||(F[7]=q=>z(d)(q)),onTouchend:F[8]||(F[8]=q=>z(h)(q))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[K,N]]),l.value?(U(),_e(Dte,{key:0,slideWidth:z(R),slideHeight:z(A),left:-365,top:-155,onClose:F[9]||(F[9]=q=>l.value=!1)},null,8,["slideWidth","slideHeight"])):Ze("",!0),u.value?(U(),_e(Ute,{key:1,left:75,onClose:F[10]||(F[10]=q=>u.value=!1)})):Ze("",!0)],2),V("div",{class:"thumbnails",ref_key:"thumbnailsRef",ref:s,onWheel:F[11]||(F[11]=Ft(q=>k(q),["prevent"]))},[(U(!0),te(We,null,tt(z(n),(q,$)=>(U(),te("div",{class:$e(["thumbnail",{active:$===z(r)}]),key:q.id,onClick:de=>z(g)($)},[O(dl,{slide:q,size:120/z(i),visible:$P(M.value-2))},[O(Y)],2),V("div",{class:$e(["scale-btn",{disable:M.value===40}]),onClick:F[13]||(F[13]=q=>P(M.value+2))},[O(Q)],2)])])])}}}),Eje=Be(Fje,[["__scopeId","data-v-acf86e50"]]),Xje={class:"pptist-screen"},Wje=Xe({__name:"index",setup(e){const t=pe("base"),n=o=>{t.value=o},{exitScreening:r}=ld(),i=o=>{o.key.toUpperCase()===At.ESC&&r()};return Ht(()=>document.addEventListener("keydown",i)),Nn(()=>document.removeEventListener("keydown",i)),(o,a)=>(U(),te("div",Xje,[t.value==="base"?(U(),_e(Rje,{key:0,changeViewMode:n})):t.value==="presenter"?(U(),_e(Eje,{key:1,changeViewMode:n})):Ze("",!0)]))}}),Vje=Be(Wje,[["__scopeId","data-v-2f0dc4b8"]]),Dje=Xe({__name:"MobileEditableElement",props:{elementInfo:{},elementIndex:{},selectElement:{type:Function}},setup(e){const t=e,n=we(()=>({[Et.IMAGE]:vz,[Et.TEXT]:uJ,[Et.SHAPE]:fJ,[Et.LINE]:dJ,[Et.CHART]:hee,[Et.TABLE]:yee,[Et.LATEX]:Aee,[Et.VIDEO]:bee,[Et.AUDIO]:wee})[t.elementInfo.type]||null);return(r,i)=>(U(),te("div",{class:"mobile-editable-element",style:Le({zIndex:r.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:r.elementInfo,selectElement:r.selectElement,contextmenus:()=>null},null,8,["elementInfo","selectElement"]))],4))}}),Uje=Xe({__name:"MobileOperate",props:{elementInfo:{},isSelected:{type:Boolean},canvasScale:{},scaleElement:{type:Function},rotateElement:{type:Function}},setup(e){const t=e,n=we(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),r=we(()=>t.elementInfo.width*t.canvasScale),i=we(()=>t.elementInfo.height*t.canvasScale),{borderLines:o,resizeHandlers:a,textElementResizeHandlers:s}=g0(r,i),l=t.elementInfo.type==="text"||t.elementInfo.type==="table"?s:a,u=we(()=>["chart","video","audio"].includes(t.elementInfo.type));return(c,f)=>(U(),te("div",{class:"mobile-operate",style:Le({top:c.elementInfo.top*c.canvasScale+"px",left:c.elementInfo.left*c.canvasScale+"px",transform:`rotate(${n.value}deg)`,transformOrigin:`${c.elementInfo.width*c.canvasScale/2}px ${c.elementInfo.height*c.canvasScale/2}px`})},[c.isSelected?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(o),d=>(U(),_e(m0,{class:"operate-border-line",key:d.type,type:d.type,style:Le(d.style)},null,8,["type","style"]))),128)),(U(!0),te(We,null,tt(z(l),d=>(U(),_e(pd,{class:"operate-resize-handler",key:d.direction,type:d.direction,rotate:c.elementInfo.rotate,style:Le(d.style),onTouchstart:Ft(h=>c.scaleElement(h,c.elementInfo,d.direction),["stop"])},null,8,["type","rotate","style","onTouchstart"]))),128)),u.value?Ze("",!0):(U(),_e(r1,{key:0,class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onTouchstart:f[0]||(f[0]=Ft(d=>c.rotateElement(d,c.elementInfo),["stop"]))},null,8,["style"]))],64)):Ze("",!0)],4))}}),Bje=Be(Uje,[["__scopeId","data-v-b61bf2dc"]]),Yje={class:"mobile-thumbnails"},Zje=["onClick"],Qje={class:"label"},Hje=Xe({__name:"MobileThumbnails",setup(e){const t=ut(),{slides:n,slideIndex:r}=De(t),{sortSlides:i}=gc(),{slidesLoadLimit:o}=vy(),a=l=>{t.updateSlideIndex(l)},s=l=>{const{newIndex:u,oldIndex:c}=l;u===void 0||c===void 0||u===c||i(u,c)};return(l,u)=>(U(),te("div",Yje,[O(z(ZP),{class:"thumbnail-list",modelValue:z(n),animation:200,scroll:!0,scrollSensitivity:50,delayOnTouchOnly:!0,delay:800,itemKey:"id",onEnd:s},{item:ie(({element:c,index:f})=>[V("div",{class:$e(["thumbnail-item",{active:z(r)===f}]),onClick:d=>a(f)},[V("div",Qje,vt(f+1),1),O(dl,{class:"thumbnail",slide:c,size:120,visible:f{l({left:(i.value-400)/2,top:(i.value*n.value-56)/2,width:400,height:56},{content:"

新添加文本

"})},d=g=>{!g||!g[0]||sd(g[0]).then(m=>u(m))},h=g=>{const R={square:{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"},round:{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"}},A=200;c({left:(i.value-A)/2,top:(i.value*n.value-A)/2,width:A,height:A},R[g])},p=we(()=>{var g;return((g=r.value)==null?void 0:g.remark)||""}),v=g=>{const m=g.target.value;t.updateSlide({remark:m})};return(g,m)=>{const y=Se("IconPlus"),R=Se("IconCopy"),A=Se("IconDelete"),x=Se("IconFontSize"),S=Se("IconPicture"),L=Se("IconSquare"),w=Se("IconRound");return U(),te("div",Kje,[V("div",Gje,[V("textarea",{value:p.value,placeholder:"点击输入演讲者备注",onInput:m[0]||(m[0]=M=>v(M))},null,40,zje)]),V("div",Jje,[O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:m[1]||(m[1]=M=>z(o)())},{default:ie(()=>[O(y,{class:"icon"}),Ue(" 新幻灯片")]),_:1}),O(et,{style:{flex:"1"},onClick:m[2]||(m[2]=M=>z(a)())},{default:ie(()=>[O(R,{class:"icon"}),Ue(" 复制")]),_:1}),O(et,{style:{flex:"1"},onClick:m[3]||(m[3]=M=>z(s)())},{default:ie(()=>[O(A,{class:"icon"}),Ue(" 删除")]),_:1})]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:m[4]||(m[4]=M=>f())},{default:ie(()=>[O(x,{class:"icon"}),Ue(" 文字")]),_:1}),O(et,{style:{flex:"1"}},{default:ie(()=>[O($h,{onChange:m[5]||(m[5]=M=>d(M))},{default:ie(()=>[O(S,{class:"icon"}),Ue("图片 ")]),_:1})]),_:1}),O(et,{style:{flex:"1"},onClick:m[6]||(m[6]=M=>h("square"))},{default:ie(()=>[O(L,{class:"icon"}),Ue(" 矩形")]),_:1}),O(et,{style:{flex:"1"},onClick:m[7]||(m[7]=M=>h("round"))},{default:ie(()=>[O(w,{class:"icon"}),Ue(" 圆形")]),_:1})]),_:1})]),O(Bte)])}}}),jje=Be($je,[["__scopeId","data-v-34808e39"]]),Yte=e=>(en("data-v-14deecba"),e=e(),tn(),e),qje={class:"element-toolbar"},eqe={class:"content"},tqe={key:0,class:"style"},nqe={class:"row-block"},rqe=Yte(()=>V("div",{class:"label"},"文字颜色:",-1)),iqe={class:"colors"},oqe=["onClick"],aqe={class:"row-block"},sqe=Yte(()=>V("div",{class:"label"},"填充色:",-1)),lqe={class:"colors"},uqe=["onClick"],cqe={key:1,class:"common"},fqe=Xe({__name:"ElementToolbar",setup(e){const t=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57"],n=ht(),r=ut(),{handleElement:i,handleElementId:o,richTextAttrs:a}=De(n),{addHistorySnapshot:s}=nn(),l=(R,A)=>{r.updateElement({id:R,props:A}),s()},u=[{key:"style",label:"样式"},{key:"common",label:"布局"}],c=pe("common"),{orderElement:f}=G2(),{alignElementToCanvas:d}=m3(),{addElementsFromData:h}=H2(),{deleteElement:p}=K2(),v=()=>{const R=JSON.parse(JSON.stringify(i.value));h([R])},g=(R,A)=>{Hi.emit(Ti.RICH_TEXT_COMMAND,{action:{command:R,value:A}})},m=R=>{var A;if(i.value){if((i.value.type==="text"||i.value.type==="shape"&&((A=i.value.text)!=null&&A.content))&&Hi.emit(Ti.RICH_TEXT_COMMAND,{action:{command:"color",value:R}}),i.value.type==="table"){const x=JSON.parse(JSON.stringify(i.value.data));for(let S=0;S{if(i.value){if((i.value.type==="text"||i.value.type==="shape"||i.value.type==="chart")&&l(o.value,{fill:R}),i.value.type==="table"){const A=JSON.parse(JSON.stringify(i.value.data));for(let x=0;x{const x=Se("IconTextBold"),S=Se("IconTextItalic"),L=Se("IconTextUnderline"),w=Se("IconStrikethrough"),M=Se("IconFontSize"),_=Se("IconAlignTextLeft"),k=Se("IconAlignTextCenter"),P=Se("IconAlignTextRight"),N=Se("IconCopy"),C=Se("IconDelete"),F=Se("IconSendToBack"),I=Se("IconBringToFrontOne"),W=Se("IconBringToFront"),D=Se("IconSentToBack"),Z=Se("IconAlignLeft"),re=Se("IconAlignVertically"),B=Se("IconAlignRight"),Y=Se("IconAlignTop"),Q=Se("IconAlignHorizontally"),K=Se("IconAlignBottom");return U(),te("div",qje,[O(hl,{tabs:u,value:c.value,"onUpdate:value":A[0]||(A[0]=q=>c.value=q),tabsStyle:{marginBottom:"8px"},tabStyle:{width:"30%",margin:"0 10%"}},null,8,["value"]),V("div",eqe,[c.value==="style"?(U(),te("div",tqe,[O(Bn,{class:"row"},{default:ie(()=>[O(Qr,{style:{flex:"1"},checked:z(a).bold,onClick:A[1]||(A[1]=q=>g("bold"))},{default:ie(()=>[O(x)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).em,onClick:A[2]||(A[2]=q=>g("em"))},{default:ie(()=>[O(S)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).underline,onClick:A[3]||(A[3]=q=>g("underline"))},{default:ie(()=>[O(L)]),_:1},8,["checked"]),O(Qr,{style:{flex:"1"},checked:z(a).strikethrough,onClick:A[4]||(A[4]=q=>g("strikethrough"))},{default:ie(()=>[O(w)]),_:1},8,["checked"])]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[5]||(A[5]=q=>g("fontsize-add"))},{default:ie(()=>[O(M),Ue("+")]),_:1}),O(et,{style:{flex:"1"},onClick:A[6]||(A[6]=q=>g("fontsize-reduce"))},{default:ie(()=>[O(M),Ue("-")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Au,{class:"row","button-style":"solid",value:z(a).align,"onUpdate:value":A[7]||(A[7]=q=>g("align",q))},{default:ie(()=>[O(zn,{value:"left",style:{flex:"1"}},{default:ie(()=>[O(_)]),_:1}),O(zn,{value:"center",style:{flex:"1"}},{default:ie(()=>[O(k)]),_:1}),O(zn,{value:"right",style:{flex:"1"}},{default:ie(()=>[O(P)]),_:1})]),_:1},8,["value"]),O(Zt,{margin:20}),V("div",nqe,[rqe,V("div",iqe,[(U(),te(We,null,tt(t,q=>V("div",{class:"color",key:q,onClick:$=>m(q)},[V("div",{class:"color-block",style:Le({backgroundColor:q})},null,4)],8,oqe)),64))])]),V("div",aqe,[sqe,V("div",lqe,[(U(),te(We,null,tt(t,q=>V("div",{class:"color",key:q,onClick:$=>y(q)},[V("div",{class:"color-block",style:Le({backgroundColor:q})},null,4)],8,uqe)),64))])])])):Ze("",!0),c.value==="common"?(U(),te("div",cqe,[O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[8]||(A[8]=q=>v())},{default:ie(()=>[O(N,{class:"icon"}),Ue(" 复制")]),_:1}),O(et,{style:{flex:"1"},onClick:A[9]||(A[9]=q=>z(p)())},{default:ie(()=>[O(C,{class:"icon"}),Ue(" 删除")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[10]||(A[10]=q=>z(f)(z(i),z(Wr).TOP))},{default:ie(()=>[O(F,{class:"icon"}),Ue(" 置顶")]),_:1}),O(et,{style:{flex:"1"},onClick:A[11]||(A[11]=q=>z(f)(z(i),z(Wr).BOTTOM))},{default:ie(()=>[O(I,{class:"icon"}),Ue(" 置底")]),_:1}),O(et,{style:{flex:"1"},onClick:A[12]||(A[12]=q=>z(f)(z(i),z(Wr).UP))},{default:ie(()=>[O(W,{class:"icon"}),Ue(" 上移")]),_:1}),O(et,{style:{flex:"1"},onClick:A[13]||(A[13]=q=>z(f)(z(i),z(Wr).DOWN))},{default:ie(()=>[O(D,{class:"icon"}),Ue(" 下移")]),_:1})]),_:1}),O(Zt,{margin:20}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[14]||(A[14]=q=>z(d)(z(pn).LEFT))},{default:ie(()=>[O(Z,{class:"icon"}),Ue(" 左对齐")]),_:1}),O(et,{style:{flex:"1"},onClick:A[15]||(A[15]=q=>z(d)(z(pn).HORIZONTAL))},{default:ie(()=>[O(re,{class:"icon"}),Ue(" 水平居中")]),_:1}),O(et,{style:{flex:"1"},onClick:A[16]||(A[16]=q=>z(d)(z(pn).RIGHT))},{default:ie(()=>[O(B,{class:"icon"}),Ue(" 右对齐")]),_:1})]),_:1}),O(Bn,{class:"row"},{default:ie(()=>[O(et,{style:{flex:"1"},onClick:A[17]||(A[17]=q=>z(d)(z(pn).TOP))},{default:ie(()=>[O(Y,{class:"icon"}),Ue(" 上对齐")]),_:1}),O(et,{style:{flex:"1"},onClick:A[18]||(A[18]=q=>z(d)(z(pn).VERTICAL))},{default:ie(()=>[O(Q,{class:"icon"}),Ue(" 垂直居中")]),_:1}),O(et,{style:{flex:"1"},onClick:A[19]||(A[19]=q=>z(d)(z(pn).BOTTOM))},{default:ie(()=>[O(K,{class:"icon"}),Ue(" 下对齐")]),_:1})]),_:1})])):Ze("",!0)])])}}}),dqe=Be(fqe,[["__scopeId","data-v-14deecba"]]),hqe={class:"mobile-editor-header"},pqe={class:"history"},vqe=Xe({__name:"Header",props:{changeMode:{type:Function}},setup(e){const{canUndo:t,canRedo:n}=De(JS()),{redo:r,undo:i}=nn();return(o,a)=>{const s=Se("IconBack"),l=Se("IconNext"),u=Se("IconLogout");return U(),te("div",hqe,[V("div",pqe,[V("div",{class:$e(["history-item",{disable:!z(t)}]),onClick:a[0]||(a[0]=Ft(c=>z(i)(),["stop"]))},[O(s),Ue(" 撤销")],2),V("div",{class:$e(["history-item",{disable:!z(n)}]),onClick:a[1]||(a[1]=Ft(c=>z(r)(),["stop"]))},[O(l),Ue(" 重做")],2)]),V("div",{class:"back",onClick:a[2]||(a[2]=c=>o.changeMode("preview"))},[O(u),Ue(" 退出编辑")])])}}}),gqe=Be(vqe,[["__scopeId","data-v-091403e4"]]),mqe={class:"mobile-editor"},yqe=Xe({__name:"index",props:{changeMode:{type:Function}},setup(e){const t=ut(),n=ht(),{slideIndex:r,currentSlide:i,viewportRatio:o,viewportSize:a}=De(t),{activeElementIdList:s,handleElement:l}=De(n),u=pe(),c=pe(),f=pe([]),d=we(()=>i.value.background),{backgroundStyle:h}=t4(d),p=we(()=>{if(!u.value)return 1;const L=u.value.clientWidth,w=u.value.clientHeight;return w/L>=o.value?(L-20)/a.value:(w-20)/o.value/a.value});Ht(()=>{s.value.length&&n.setActiveElementIdList([]),r.value!==0&&t.updateSlideIndex(0)});const v=we(()=>({width:a.value*p.value+"px",height:a.value*o.value*p.value+"px"})),g=pe([]);Xv(()=>{g.value=i.value?JSON.parse(JSON.stringify(i.value.elements)):[]});const{dragElement:y}=cz(g,f,p),{scaleElement:R}=uz(g,f,p),{rotateElement:A}=sz(g,c,p),x=(L,w,M=!0)=>{s.value.includes(w.id)||(n.setActiveElementIdList([w.id]),n.setHandleElementId(w.id)),M&&y(L,w)},S=()=>{n.setActiveElementIdList([])};return(L,w)=>(U(),te("div",mqe,[O(gqe,{changeMode:L.changeMode},null,8,["changeMode"]),V("div",{class:"content",ref_key:"contentRef",ref:u,onTouchstart:w[0]||(w[0]=M=>S())},[V("div",{class:"viewport-wrapper",style:Le(v.value)},[V("div",{class:"background",style:Le(z(h))},null,4),(U(!0),te(We,null,tt(f.value,(M,_)=>(U(),_e(Mee,{key:_,type:M.type,axis:M.axis,length:M.length,canvasScale:p.value},null,8,["type","axis","length","canvasScale"]))),128)),(U(!0),te(We,null,tt(g.value,M=>(U(),te(We,{key:M.id},[M.type!=="line"?(U(),_e(Bje,{key:0,elementInfo:M,isSelected:z(s).includes(M.id),canvasScale:p.value,scaleElement:z(R),rotateElement:z(A)},null,8,["elementInfo","isSelected","canvasScale","scaleElement","rotateElement"])):Ze("",!0)],64))),128)),V("div",{class:"viewport",ref_key:"viewportRef",ref:c,style:Le({transform:`scale(${p.value})`})},[(U(!0),te(We,null,tt(g.value,(M,_)=>(U(),_e(Dje,{key:M.id,elementInfo:M,elementIndex:_+1,selectElement:x},null,8,["elementInfo","elementIndex"]))),128))],4)],4)],544),O(jje),z(l)?(U(),_e(dqe,{key:0})):Ze("",!0)]))}}),Aqe=Be(yqe,[["__scopeId","data-v-94103018"]]),Rqe={class:"header"},bqe=Xe({__name:"MobilePlayer",props:{changeMode:{type:Function}},setup(e){const t=ut(),{slides:n,slideIndex:r,currentSlide:i,viewportRatio:o}=De(t),a=pe(!1),s=pe({width:0,height:0});Ht(()=>{r.value!==0&&t.updateSlideIndex(0),s.value={width:document.body.clientHeight,height:document.body.clientWidth}});const l=we(()=>{const d=s.value.height/s.value.width;let h=0,p=0;return d>=o.value?(h=s.value.width,p=h*o.value):(p=s.value.height,h=p/o.value),{width:h,height:p}}),u=pe(null),c=d=>{u.value={x:d.changedTouches[0].pageX,y:d.changedTouches[0].pageY}},f=d=>{if(!u.value)return;const h=Math.abs(u.value.y-d.changedTouches[0].pageY),p=d.changedTouches[0].pageX-u.value.x;Math.abs(p)>h&&Math.abs(p)>50&&(u.value=null,p<0&&r.value>0&&t.updateSlideIndex(r.value-1),p>0&&r.value{const p=Se("IconLogout");return U(),te("div",{class:"mobile-player",style:Le({width:s.value.width+"px",height:s.value.height+"px",transform:`rotate(90deg) translateY(-${s.value.height}px)`})},[V("div",{class:"screen-slide-list",onClick:h[0]||(h[0]=v=>a.value=!a.value),onTouchstart:h[1]||(h[1]=v=>c(v)),onTouchend:h[2]||(h[2]=v=>f(v))},[(U(!0),te(We,null,tt(z(n),(v,g)=>(U(),te("div",{class:$e(["slide-item",`turning-mode-${v.turningMode||"slideY"}`,{current:g===z(r),before:gz(r),hide:(g===z(r)-1||g===z(r)+1)&&v.turningMode!==z(i).turningMode}]),key:v.id},[Math.abs(z(r)-g)<2?(U(),te("div",{key:0,class:"slide-content",style:Le({width:l.value.width+"px",height:l.value.height+"px"})},[O(dl,{slide:v,size:l.value.width},null,8,["slide","size"])],4)):Ze("",!0)],2))),128))],32),a.value?(U(),te(We,{key:0},[V("div",Rqe,[V("div",{class:"back",onClick:h[3]||(h[3]=v=>d.changeMode("preview"))},[O(p),Ue(" 退出播放")])]),O(Bte,{class:"thumbnails"})],64)):Ze("",!0)],4)}}}),xqe=Be(bqe,[["__scopeId","data-v-c846a018"]]),Sqe={class:"thumbnail-list"},wqe={class:"menu"},Mqe=Xe({__name:"MobilePreview",props:{changeMode:{type:Function}},setup(e){const{slides:t}=De(ut()),{slidesLoadLimit:n}=vy(),r=pe(),i=pe(0);return Ht(()=>{r.value&&(i.value=r.value.clientWidth)}),(o,a)=>{const s=Se("IconEdit"),l=Se("IconFullScreenPlay");return U(),te("div",{class:"mobile-preview",ref_key:"mobileRef",ref:r},[V("div",Sqe,[(U(!0),te(We,null,tt(z(t),(u,c)=>(U(),te("div",{class:"thumbnail-item",key:u.id},[O(dl,{slide:u,size:i.value-20,visible:co.changeMode("editor"))},[O(s,{class:"icon"}),Ue(" 编辑")]),O(Zt,{type:"vertical",style:{height:"30px"}}),V("div",{class:"menu-item",onClick:a[1]||(a[1]=u=>o.changeMode("player"))},[O(l,{class:"icon"}),Ue(" 播放")])])],512)}}}),Lqe=Be(Mqe,[["__scopeId","data-v-99aa0ac4"]]),Tqe={class:"mobile"},_qe=Xe({__name:"index",setup(e){const t=pe("preview"),n=i=>t.value=i,r=we(()=>({editor:Aqe,player:xqe,preview:Lqe})[t.value]||null);return(i,o)=>(U(),te("div",Tqe,[(U(),_e(Ru(r.value),{changeMode:n}))]))}}),Oqe=Be(_qe,[["__scopeId","data-v-d02011cb"]]),kqe=Xe({__name:"App",setup(e){const t=Jpe(),n=ht(),r=ut(),i=JS(),{databaseId:o}=De(n),{slides:a}=De(r),{screening:s}=De(rH());return window.onbeforeunload=()=>!1,Ht(async()=>{$g.getFileData("slides").then(l=>{r.setSlides(l)}),$g.getFileData("layouts").then(l=>{r.setLayouts(l)}),await Gpe(),i.initSnapshotDatabase()}),window.addEventListener("unload",()=>{const l=localStorage.getItem(yx),u=l?JSON.parse(l):[];u.push(o.value);const c=JSON.stringify(u);localStorage.setItem(yx,c)}),(l,u)=>z(a).length?(U(),te(We,{key:0},[z(s)?(U(),_e(Vje,{key:0})):z(t)?(U(),_e(_$e,{key:1})):(U(),_e(Oqe,{key:2}))],64)):(U(),_e(ty,{key:1,tip:"数据初始化中,请稍等 ...",loading:"",mask:!1}))}}),Pqe={class:"menu-content"},Cqe=["onClick"],Iqe={class:"text"},Nqe={key:0,class:"sub-text"},Fqe=Xe({__name:"MenuContent",props:{menus:{},handleClickMenuItem:{type:Function}},setup(e){return(t,n)=>{const r=Se("menu-content",!0);return U(),te("ul",Pqe,[(U(!0),te(We,null,tt(t.menus,(i,o)=>(U(),te(We,{key:i.text||o},[i.hide?Ze("",!0):(U(),te("li",{key:0,class:$e(["menu-item",{divider:i.divider,disable:i.disable}]),onClick:Ft(a=>t.handleClickMenuItem(i),["stop"])},[i.divider?Ze("",!0):(U(),te("div",{key:0,class:$e(["menu-item-content",{"has-children":i.children,"has-handler":i.handler}])},[V("span",Iqe,vt(i.text),1),i.subText&&!i.children?(U(),te("span",Nqe,vt(i.subText),1)):Ze("",!0),i.children&&i.children.length?(U(),_e(r,{key:1,class:"sub-menu",menus:i.children,handleClickMenuItem:t.handleClickMenuItem},null,8,["menus","handleClickMenuItem"])):Ze("",!0)],2))],10,Cqe))],64))),128))])}}}),Eqe=Be(Fqe,[["__scopeId","data-v-d336650d"]]),Xqe=Xe({__name:"index",props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){const t=e,n=we(()=>{const{x:l,y:u}=t.axis,c=t.menus.filter(g=>!(g.divider||g.hide)).length,f=t.menus.filter(g=>g.divider).length,d=180,h=c*30+f*11+5*2,p=document.body.clientWidth,v=document.body.clientHeight;return{left:p<=l+d?l-d:l,top:v<=u+h?u-h:u}}),r=i=>{i.disable||i.children&&!i.handler||(i.handler&&i.handler(t.el),t.removeContextmenu())};return(i,o)=>(U(),te(We,null,[V("div",{class:"mask",onContextmenu:o[0]||(o[0]=Ft(a=>i.removeContextmenu(),["prevent"])),onMousedown:o[1]||(o[1]=Ft(a=>i.removeContextmenu(),["left"]))},null,32),V("div",{class:"contextmenu",style:Le({left:n.value.left+"px",top:n.value.top+"px"}),onContextmenu:o[2]||(o[2]=Ft(()=>{},["prevent"]))},[O(Eqe,{menus:i.menus,handleClickMenuItem:r},null,8,["menus"])],36)],64))}}),tg="CTX_CONTEXTMENU_HANDLER",Wqe=(e,t,n)=>{t.stopPropagation(),t.preventDefault();const r=n.value(e);if(!r)return;let i=null;const o=()=>{i&&(document.body.removeChild(i),i=null),e.classList.remove("contextmenu-active"),document.body.removeEventListener("scroll",o),window.removeEventListener("resize",o)},a={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:o};i=document.createElement("div");const s=O(Xqe,a,null);vv(s,i),document.body.appendChild(i),e.classList.add("contextmenu-active"),document.body.addEventListener("scroll",o),window.addEventListener("resize",o)},Vqe={mounted(e,t){e[tg]=n=>Wqe(e,n,t),e.addEventListener("contextmenu",e[tg])},unmounted(e){e&&e[tg]&&(e.removeEventListener("contextmenu",e[tg]),delete e[tg])}},ng="CTX_CLICK_OUTSIDE_HANDLER",Dqe=(e,t,n)=>{const r=n.value,i=t.composedPath();(i?i.indexOf(e)<0:!e.contains(t.target))&&r(t)},Uqe={mounted(e,t){e[ng]=n=>Dqe(e,n,t),setTimeout(()=>{document.addEventListener("click",e[ng])},0)},unmounted(e){e[ng]&&(document.removeEventListener("click",e[ng]),delete e[ng])}},rg="TOOLTIP_INSTANCE",Bqe={mounted(e,t){let n="",r="top",i=[300,0];typeof t.value=="string"?n=t.value:(n=t.value.content,t.value.placement!==void 0&&(r=t.value.placement),t.value.delay!==void 0&&(i=t.value.delay)),e[rg]=h0(e,{content:n,theme:"tooltip",duration:100,animation:"scale",allowHTML:!0,placement:r,delay:i})},updated(e,t){let n="";typeof t.value=="string"?n=t.value:n=t.value.content,e[rg]&&e[rg].setContent(n)},unmounted(e){e[rg]&&e[rg].destroy()}},Yqe={install(e){e.directive("contextmenu",Vqe),e.directive("click-outside",Uqe),e.directive("tooltip",Bqe)}},y4=yZ(kqe);y4.use(Kme);y4.use(Yqe);y4.use(Lde());y4.mount("#app"); diff --git a/assets/index-BO_Kb7oj.css b/assets/index-Cu_ibl5_.css similarity index 99% rename from assets/index-BO_Kb7oj.css rename to assets/index-Cu_ibl5_.css index 76b7b547..20bf838c 100644 --- a/assets/index-BO_Kb7oj.css +++ b/assets/index-Cu_ibl5_.css @@ -1,4 +1,4 @@ -@charset "UTF-8";.message[data-v-5f638602]{max-width:600px}.message+.message[data-v-5f638602]{margin-top:15px}.message-container[data-v-5f638602]{min-width:50px;display:flex;align-items:center;padding:10px;font-size:13px;overflow:hidden;border-radius:2px;box-shadow:0 1px 8px #00000026;background:#fff;pointer-events:all;position:relative}.message-container .icons[data-v-5f638602]{display:flex;align-items:center;margin-right:10px}.message-container .title[data-v-5f638602]{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-container .content[data-v-5f638602]{width:100%}.message-container .description[data-v-5f638602]{line-height:1.5;color:#41464b}.message-container .title+.description[data-v-5f638602]{margin-top:5px}.message-container .control[data-v-5f638602]{position:relative;height:100%;margin-left:10px}.message-container .close-btn[data-v-5f638602]{font-size:15px;color:#666;display:flex;align-items:center;cursor:pointer}.message-container .close-btn[data-v-5f638602]:hover{color:#d14424}.message-fade-enter-active[data-v-5f638602]{animation:message-fade-in-down-5f638602 .3s}.message-fade-leave-active[data-v-5f638602]{animation:message-fade-out-5f638602 .3s}@keyframes message-fade-in-down-5f638602{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes message-fade-out-5f638602{0%{opacity:1;margin-top:0}to{opacity:0;margin-top:-45px}}.hotkey-doc[data-v-0762be00]{height:100%;overflow:auto;font-size:12px;margin:0 -15px;padding:0 15px 15px}.title[data-v-0762be00]{font-size:14px;font-weight:700;border-bottom:1px solid #e5e5e5;padding:25px 0 5px}.title[data-v-0762be00]:first-child{padding-top:0}.hotkey-item[data-v-0762be00]{border-bottom:1px solid #e5e5e5;padding:15px 0 5px;display:flex;align-items:center}.label[data-v-0762be00]{width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input[data-v-1bd53d05]{display:none}.fullscreen-spin[data-v-cb40f98b]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;justify-content:center;align-items:center}.fullscreen-spin.mask[data-v-cb40f98b]{background-color:#f1f1f1b3}.spin[data-v-cb40f98b]{width:200px;height:200px;position:fixed;top:50%;left:50%;margin-top:-100px;margin-left:-100px;display:flex;flex-direction:column;justify-content:center;align-items:center}.spinner[data-v-cb40f98b]{width:36px;height:36px;border:3px solid #d14424;border-top-color:transparent;border-radius:50%;animation:spinner-cb40f98b .8s linear infinite}.text[data-v-cb40f98b]{margin-top:20px;color:#d14424}@keyframes spinner-cb40f98b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.drawer[data-v-46f39759]{height:100%;position:fixed;top:0;bottom:0;z-index:5000;background:#fff;display:flex;flex-direction:column}.drawer.left[data-v-46f39759]{left:0;box-shadow:3px 0 6px -4px #0000001f,9px 0 28px 8px #0000000d}.drawer.right[data-v-46f39759]{right:0;box-shadow:-3px 0 6px -4px #0000001f,-9px 0 28px 8px #0000000d}.header[data-v-46f39759]{height:50px;padding:0 15px;position:relative;display:flex;align-items:center}.header .close-btn[data-v-46f39759]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:15px;right:15px;cursor:pointer}.content[data-v-46f39759]{padding:0 15px;overflow:auto;flex:1}.drawer-slide-right-enter-active[data-v-46f39759]{animation:drawer-slide-right-enter-46f39759 .25s both ease}.drawer-slide-right-leave-active[data-v-46f39759]{animation:drawer-slide-right-leave-46f39759 .25s both ease}.drawer-slide-left-enter-active[data-v-46f39759]{animation:drawer-slide-left-enter-46f39759 .25s both ease}.drawer-slide-left-leave-active[data-v-46f39759]{animation:drawer-slide-left-leave-46f39759 .25s both ease}@keyframes drawer-slide-right-enter-46f39759{0%{transform:translate(100%)}}@keyframes drawer-slide-right-leave-46f39759{to{transform:translate(100%)}}@keyframes drawer-slide-left-enter-46f39759{0%{transform:translate(-100%)}}@keyframes drawer-slide-left-leave-46f39759{to{transform:translate(-100%)}}.input[data-v-4c62eb45]{background-color:#fff;border:1px solid #d9d9d9;padding:0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:flex}.input input[data-v-4c62eb45]{min-width:0;height:30px;outline:0;border:0;line-height:30px;vertical-align:top;color:#41464b;padding:0 5px;flex:1;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.input input[data-v-4c62eb45]::placeholder{color:#bfbfbf}.input[data-v-4c62eb45]:not(.disabled):hover,.input.focused[data-v-4c62eb45]{border-color:#d14424}.input.disabled[data-v-4c62eb45]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.input.disabled input[data-v-4c62eb45]{color:#b7b7b7}.input.simple[data-v-4c62eb45]{border:0}.input .prefix[data-v-4c62eb45],.input .suffix[data-v-4c62eb45]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0}.popover.center[data-v-6a57fbcf]{display:flex;justify-content:center;align-items:center}.popover-content[data-v-6a57fbcf]{background-color:#fff;padding:10px;border:1px solid #e5e7eb;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;border-radius:2px;font-size:13px}.tippy-box[data-theme~=popover]{border:0;outline:0}.popover-menu-item[data-v-1f176c16]{min-width:80px;padding:6px 10px;border-radius:2px;font-size:13px;cursor:pointer}.popover-menu-item.center[data-v-1f176c16]{text-align:center}.popover-menu-item[data-v-1f176c16]:hover{background-color:#f1f1f1}.popover-menu-item+.popover-menu-item[data-v-1f176c16]{margin-top:2px}.editor-header[data-v-c5f9ed82]{background-color:#fff;-webkit-user-select:none;user-select:none;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:0 5px}.left[data-v-c5f9ed82],.right[data-v-c5f9ed82]{display:flex;justify-content:center;align-items:center}.menu-item[data-v-c5f9ed82]{height:30px;display:flex;justify-content:center;align-items:center;font-size:14px;padding:0 10px;border-radius:2px;cursor:pointer}.menu-item .icon[data-v-c5f9ed82]{font-size:18px;color:#666}.menu-item .text[data-v-c5f9ed82]{width:18px;text-align:center;font-size:16px}.menu-item[data-v-c5f9ed82]:hover{background-color:#f1f1f1}.group-menu-item[data-v-c5f9ed82]{height:30px;display:flex;margin:0 8px;padding:0 2px;border-radius:2px}.group-menu-item[data-v-c5f9ed82]:hover{background-color:#f1f1f1}.group-menu-item .menu-item[data-v-c5f9ed82]{padding:0 3px}.group-menu-item .arrow-btn[data-v-c5f9ed82]{display:flex;justify-content:center;align-items:center;cursor:pointer}.title[data-v-c5f9ed82]{height:30px;margin-left:2px;font-size:13px}.title .title-input[data-v-c5f9ed82]{width:200px;height:100%;padding-left:0;padding-right:0}.title .title-input[data-v-c5f9ed82] input{height:28px;line-height:28px}.title .title-text[data-v-c5f9ed82]{min-width:20px;max-width:400px;line-height:30px;padding:0 6px;border-radius:2px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.title .title-text[data-v-c5f9ed82]:hover{background-color:#f1f1f1}.github-link[data-v-c5f9ed82]{display:inline-block;height:30px}svg[data-v-09a0319c]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-19e68d74]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-a036b0a3]{overflow:visible;position:absolute;z-index:2;top:0;left:0}.image-clip-handler[data-v-31b3b0f9]{width:100%;height:100%;position:relative}.image-clip-handler .bottom-img[data-v-31b3b0f9]{top:0;left:0;width:100%;height:100%;opacity:.5}.image-clip-handler img[data-v-31b3b0f9]{width:100%;height:100%}.image-clip-handler .top-image-content[data-v-31b3b0f9]{position:absolute;overflow:hidden}.image-clip-handler .top-image-content img[data-v-31b3b0f9]{position:absolute}.operate[data-v-31b3b0f9]{position:absolute;width:100%;height:100%;top:0;left:0;cursor:move}.clip-point[data-v-31b3b0f9]{position:absolute;width:16px;height:16px}.clip-point svg[data-v-31b3b0f9]{overflow:visible}.clip-point.left-top[data-v-31b3b0f9]{left:0;top:0}.clip-point.right-top[data-v-31b3b0f9]{left:100%;top:0;transform:rotate(90deg);transform-origin:0 0}.clip-point.left-bottom[data-v-31b3b0f9]{left:0;top:100%;transform:rotate(-90deg);transform-origin:0 0}.clip-point.right-bottom[data-v-31b3b0f9]{left:100%;top:100%;transform:rotate(180deg);transform-origin:0 0}.clip-point.top[data-v-31b3b0f9]{left:50%;top:0;margin-left:-8px}.clip-point.bottom[data-v-31b3b0f9]{left:50%;bottom:0;margin-left:-8px;transform:rotate(180deg)}.clip-point.left[data-v-31b3b0f9]{left:0;top:50%;margin-top:-8px;transform:rotate(-90deg)}.clip-point.right[data-v-31b3b0f9]{right:0;top:50%;margin-top:-8px;transform:rotate(90deg)}.clip-point.left-top.rotate-0[data-v-31b3b0f9],.clip-point.right-bottom.rotate-0[data-v-31b3b0f9],.clip-point.left.rotate-45[data-v-31b3b0f9],.clip-point.right.rotate-45[data-v-31b3b0f9],.clip-point.left-bottom.rotate-90[data-v-31b3b0f9],.clip-point.right-top.rotate-90[data-v-31b3b0f9],.clip-point.top.rotate-135[data-v-31b3b0f9],.clip-point.bottom.rotate-135[data-v-31b3b0f9]{cursor:nwse-resize}.clip-point.top.rotate-0[data-v-31b3b0f9],.clip-point.bottom.rotate-0[data-v-31b3b0f9],.clip-point.left-top.rotate-45[data-v-31b3b0f9],.clip-point.right-bottom.rotate-45[data-v-31b3b0f9],.clip-point.left.rotate-90[data-v-31b3b0f9],.clip-point.right.rotate-90[data-v-31b3b0f9],.clip-point.left-bottom.rotate-135[data-v-31b3b0f9],.clip-point.right-top.rotate-135[data-v-31b3b0f9]{cursor:ns-resize}.clip-point.left-bottom.rotate-0[data-v-31b3b0f9],.clip-point.right-top.rotate-0[data-v-31b3b0f9],.clip-point.top.rotate-45[data-v-31b3b0f9],.clip-point.bottom.rotate-45[data-v-31b3b0f9],.clip-point.left-top.rotate-90[data-v-31b3b0f9],.clip-point.right-bottom.rotate-90[data-v-31b3b0f9],.clip-point.left.rotate-135[data-v-31b3b0f9],.clip-point.right.rotate-135[data-v-31b3b0f9]{cursor:nesw-resize}.clip-point.left.rotate-0[data-v-31b3b0f9],.clip-point.right.rotate-0[data-v-31b3b0f9],.clip-point.left-bottom.rotate-45[data-v-31b3b0f9],.clip-point.right-top.rotate-45[data-v-31b3b0f9],.clip-point.top.rotate-90[data-v-31b3b0f9],.clip-point.bottom.rotate-90[data-v-31b3b0f9],.clip-point.left-top.rotate-135[data-v-31b3b0f9],.clip-point.right-bottom.rotate-135[data-v-31b3b0f9]{cursor:ew-resize}.editable-element-image[data-v-86b9f3af]{position:absolute}.editable-element-image.lock .element-content[data-v-86b9f3af]{cursor:default}.rotate-wrapper[data-v-86b9f3af]{width:100%;height:100%}.element-content[data-v-86b9f3af]{width:100%;height:100%;position:relative;cursor:move}.element-content .image-content[data-v-86b9f3af]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-86b9f3af]{position:absolute}.color-mask[data-v-86b9f3af]{position:absolute;top:0;bottom:0;left:0;right:0}svg[data-v-e2ef58f5]{overflow:visible;position:absolute;top:0;left:0}.prosemirror-editor[data-v-c7cc0fa2]{cursor:text}.prosemirror-editor.format-painter[data-v-c7cc0fa2]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzUuMDEybC0uMDY2Ljk5OGE1LjI3MSA1LjI3MSAwIDAwLTEuMTg0LjA2IDMuOCAzLjggMCAwMC0uOTMzLjQ3MmMtLjQ0LjM1Ni0uNzgzLjgxMS0uOTk4IDEuMzI0bC4wMTgtLjAzNnY1LjEyaDEuMDR2Ljk4aC0xLjA0bC0uMDAyIDQuMTVjLjE4Ny40MjYuNDYuODEuNzkxIDEuMTE3bC4xNzUuMTUyYy4yOTMuMjA4LjYxNS4zNzMuODkuNDcyLjQxLjA4Mi44My4xMTIgMS4yNDkuMDlsLjA1Ny45OTlhNi4wNjMgNi4wNjMgMCAwMS0xLjU4OC0uMTI5IDQuODM2IDQuODM2IDAgMDEtMS4yNS0uNjQ3IDQuNDYzIDQuNDYzIDAgMDEtLjgzOC0uODgzYy0uMjI0LjMzMi0uNS42NDItLjgyNC45MjdhNC4xMSA0LjExIDAgMDEtMS4zMDUuNjMzQTYuMTI2IDYuMTI2IDAgMDEwIDE1LjkwOWwuMDY4LS45OTdjLjQyNC4wMjYuODUtLjAwMSAxLjIxNy0uMDcuMzM2LS4wOTkuNjUxLS4yNTQuODk0LS40My40My0uMzguNzY1LS44NDcuOTgyLTEuMzY4bC0uMDA1LjAxNFY4LjkzSDIuMTE1di0uOThoMS4wNFYyLjg2MmEzLjc3IDMuNzcgMCAwMC0uNzc0LTEuMTY3bC0uMTY1LS4xNTZhMy4wNjQgMy4wNjQgMCAwMC0uODgtLjQ0OEE1LjA2MiA1LjA2MiAwIDAwLjA2NyAxLjAxTDAgLjAxMmE2LjE0IDYuMTQgMCAwMTEuNTkyLjExYy40NTMuMTM1Ljg3Ny4zNDUgMS4yOS42NS4zLjI2NS41NjUuNTY0Ljc4Ny44OS4yMzMtLjMzMS41Mi0uNjM0Ljg1My0uOTA0YTQuODM1IDQuODM1IDAgMDExLjMtLjY0OEE2LjE1NSA2LjE1NSAwIDAxNy4zNS4wMTJ6IiBmaWxsPSIjMEQwRDBEIi8+PHBhdGggZD0iTTE3LjM1IDE0LjVsNC41LTQuNS02LTZjLTIgMi0zIDItNS41IDIuNS40IDMuMiA0LjgzMyA2LjY2NyA3IDh6bTQuNTg4LTQuNDkzYS4zLjMgMCAwMC40MjQgMGwuNjgtLjY4YTEuNSAxLjUgMCAwMDAtMi4xMjJMMjEuNjkgNS44NTNsMi4wMjUtMS41ODNhMS42MjkgMS42MjkgMCAxMC0yLjI3OS0yLjI5NmwtMS42MDMgMi4wMjItMS4zNTctMS4zNTdhMS41IDEuNSAwIDAwLTIuMTIxIDBsLS42OC42OGEuMy4zIDAgMDAwIC40MjVsNi4yNjMgNi4yNjN6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTE1Ljg5MiAzLjk2MnMtMS4wMyAxLjIwMi0yLjQ5NCAxLjg5Yy0xLjAwNi40NzQtMi4xOC41ODYtMi43MzQuNjI3LS4yLjAxNS0uMzQ0LjIxLS4yNzYuMzk5LjI5Mi44MiAxLjExMiAyLjggMi42NTggNC4zNDYgMi4xMjYgMi4xMjcgMy42NTggMi45NjggNC4xNDIgMy4yMDMuMS4wNDguMjE0LjAzLjI5OC0uMDQyLjM4Ni0uMzI1IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5Mi0uODg5IDIuMTg3LTIuNDQ3IDIuMTg3LTIuNDQ3bS40NzkuMDU1YS4zLjMgMCAwMS0uNDI0IDBsLTYuMjY0LTYuMjYzYS4zLjMgMCAwMTAtLjQyNWwuNjgtLjY4YTEuNSAxLjUgMCAwMTIuMTIyIDBsMS4zNTcgMS4zNTcgMS42MDMtMi4wMjJhMS42MjkgMS42MjkgMCAxMTIuMjggMi4yOTZMMjEuNjkgNS44NTNsMS4zNTIgMS4zNTJhMS41IDEuNSAwIDAxMCAyLjEyMmwtLjY4LjY4eiIgc3Ryb2tlPSIjMzMzIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+) 2 5,default!important}.editable-element-text[data-v-3b68a2d9]{position:absolute}.editable-element-text.lock .element-content[data-v-3b68a2d9]{cursor:default}.rotate-wrapper[data-v-3b68a2d9]{width:100%;height:100%}.element-content[data-v-3b68a2d9]{position:relative;padding:10px;line-height:1.5;word-break:break-word;cursor:move}.element-content .text[data-v-3b68a2d9]{position:relative}.element-content[data-v-3b68a2d9] a{cursor:text}.drag-handler[data-v-3b68a2d9]{height:10px;position:absolute;left:0;right:0}.drag-handler.top[data-v-3b68a2d9]{top:0}.drag-handler.bottom[data-v-3b68a2d9]{bottom:0}.editable-element-shape[data-v-48c2d216]{position:absolute;pointer-events:none}.editable-element-shape.lock .element-content[data-v-48c2d216]{cursor:default}.editable-element-shape.format-painter .element-content[data-v-48c2d216]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNzUgMTMuNzY0VjEuNDIxYS4zLjMgMCAwMS40NDgtLjI2bDEwLjkxIDYuMTk3YS4zLjMgMCAwMS0uMTE2LjU1OWwtNC4xOTYuNDQyIDIuNTgyIDQuNDcyYS4zLjMgMCAwMS0uMTEuNDFsLTMuMTg0IDEuODM4YS4zLjMgMCAwMS0uNDEtLjExbC0yLjU4MS00LjQ3Mi0yLjgxIDMuNDU2YS4zLjMgMCAwMS0uNTMzLS4xODl6IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNMjYgMTQuNWw0LjUtNC41LTYtNmMtMiAyLTMgMi01LjUgMi41LjQgMy4yIDQuODMzIDYuNjY3IDcgOHptNC41ODgtNC40OTRhLjMuMyAwIDAwLjQyNCAwbC42OC0uNjhhMS41IDEuNSAwIDAwMC0yLjEyMUwzMC4zNCA1Ljg1MmwyLjAyNi0xLjU4MmExLjYyOSAxLjYyOSAwIDEwLTIuMjgtMi4yOTZsLTEuNjAzIDIuMDIxLTEuMzU3LTEuMzU2YTEuNSAxLjUgMCAwMC0yLjEyIDBsLS42ODEuNjhhLjMuMyAwIDAwMCAuNDI0bDYuMjYzIDYuMjYzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNC41NDMgMy45NjFzLTEuMDMgMS4yMDItMi40OTQgMS44OTFjLTEuMDA2LjQ3NC0yLjE4MS41ODUtMi43MzQuNjI3LS4yLjAxNC0uMzQ0LjIwOS0uMjc3LjM5OC4yOTMuODIgMS4xMTIgMi44MDEgMi42NTggNC4zNDcgMi4xMjYgMi4xMjYgMy42NTkgMi45NjggNC4xNDIgMy4yMDIuMS4wNDguMjE1LjAzLjI5OS0uMDQxLjM4NS0uMzI2IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5MS0uODkgMi4xODYtMi40NDggMi4xODYtMi40NDhtLjQ4LjA1NWEuMy4zIDAgMDEtLjQyNSAwbC02LjI2My02LjI2M2EuMy4zIDAgMDEwLS40MjRsLjY4LS42OGExLjUgMS41IDAgMDEyLjEyMiAwbDEuMzU2IDEuMzU2IDEuNjA0LTIuMDIxYTEuNjI5IDEuNjI5IDAgMTEyLjI3OSAyLjI5NkwzMC4zNCA1Ljg1MmwxLjM1MyAxLjM1M2ExLjUgMS41IDAgMDEwIDIuMTIxbC0uNjguNjh6IiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=) 2 5,default!important}.rotate-wrapper[data-v-48c2d216]{width:100%;height:100%}.element-content[data-v-48c2d216]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-48c2d216]{transform-origin:0 0;overflow:visible}.element-content .shape-path[data-v-48c2d216]{pointer-events:all}.shape-text[data-v-48c2d216]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word;pointer-events:none}.shape-text.editable[data-v-48c2d216]{pointer-events:all}.shape-text.top[data-v-48c2d216]{justify-content:flex-start}.shape-text.middle[data-v-48c2d216]{justify-content:center}.shape-text.bottom[data-v-48c2d216]{justify-content:flex-end}.editable-element-shape[data-v-9dc09347]{position:absolute;pointer-events:none}.editable-element-shape.lock .line-path[data-v-9dc09347],.editable-element-shape.lock .line-point[data-v-9dc09347]{cursor:default}.element-content[data-v-9dc09347]{width:100%;height:100%;position:relative}.element-content svg[data-v-9dc09347]{transform-origin:0 0;overflow:visible}.line-path[data-v-9dc09347],.line-point[data-v-9dc09347]{pointer-events:all;cursor:move}.chart[data-v-1e5b5ad9]{width:100%;height:100%}.editable-element-chart[data-v-3b1105a2]{position:absolute}.editable-element-chart.lock .element-content[data-v-3b1105a2]{cursor:default}.rotate-wrapper[data-v-3b1105a2]{width:100%;height:100%}.element-content[data-v-3b1105a2]{width:100%;height:100%;overflow:hidden;cursor:move}.custom-textarea[data-v-cfadb975]{border:0;outline:0;-webkit-user-modify:read-write-plaintext-only}.editable-table[data-v-938823e2]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-938823e2]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-938823e2]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-938823e2]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-938823e2]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-938823e2]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-938823e2]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-938823e2]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-938823e2]:last-child{background-color:var(--themeColor)}table .cell[data-v-938823e2]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;font-size:14px;background-clip:padding-box;cursor:default}table .cell.selected[data-v-938823e2]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;background-color:#6666}table .cell-text[data-v-938823e2]{padding:5px;line-height:1.5;-webkit-user-select:none;user-select:none;cursor:text}table .cell-text.active[data-v-938823e2]{-webkit-user-select:text;user-select:text}.drag-line[data-v-938823e2]{position:absolute;top:0;bottom:0;width:3px;background-color:#d14424;margin-left:-1px;opacity:0;z-index:2;cursor:col-resize}.editable-element-table[data-v-7795910a]{position:absolute}.editable-element-table.lock .element-content[data-v-7795910a]{cursor:default}.rotate-wrapper[data-v-7795910a]{width:100%;height:100%}.element-content[data-v-7795910a]{width:100%;height:100%;position:relative;cursor:move}.table-mask[data-v-7795910a]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .2s}.table-mask .mask-tip[data-v-7795910a]{position:absolute;top:5px;left:5px;background-color:#00000080;color:#fff;padding:6px 12px;font-size:12px;transform-origin:0 0}.table-mask[data-v-7795910a]:hover:not(.lock){opacity:.9}.editable-element-latex[data-v-b73586f6]{position:absolute}.editable-element-latex.lock .element-content[data-v-b73586f6]{cursor:default}.rotate-wrapper[data-v-b73586f6]{width:100%;height:100%}.element-content[data-v-b73586f6]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-b73586f6]{transform-origin:0 0;overflow:visible}.video-player[data-v-597c0901]{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0}.video-player.hide-controller[data-v-597c0901]{cursor:none}.video-player.hide-controller .controller-mask[data-v-597c0901],.video-player.hide-controller .controller[data-v-597c0901]{opacity:0;transform:translateY(100%)}.video-wrap[data-v-597c0901]{position:relative;background:#000;font-size:0;width:100%;height:100%}.video-wrap .video[data-v-597c0901]{width:100%;height:100%}.controller-mask[data-v-597c0901]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==) repeat-x bottom;height:98px;width:100%;position:absolute;bottom:0;transition:all .3s ease}.controller[data-v-597c0901]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-597c0901]{padding:5px 0;cursor:pointer;position:absolute;bottom:33px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-597c0901]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-597c0901]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-597c0901]{opacity:0}.controller .bar-wrap .bar[data-v-597c0901]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-597c0901]{height:38px;position:absolute;bottom:0;display:flex;align-items:center}.controller .icons.icons-right[data-v-597c0901]{right:15px}.controller .icons .time[data-v-597c0901]{line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .icons .icon[data-v-597c0901]{width:40px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-597c0901]{font-size:26px}.controller .icons .icon .icon-content[data-v-597c0901]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.loop-icon[data-v-597c0901]{font-size:12px}.controller .icons .icon.loop-icon .icon-content[data-v-597c0901]{opacity:.5}.controller .icons .icon.speed-icon[data-v-597c0901]{font-size:12px;position:relative}.controller .icons .icon .speed-menu[data-v-597c0901]{width:70px;position:absolute;bottom:30px;left:-23px;background-color:#22211b;padding:5px 0;color:#ddd}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]{padding:8px 0;text-align:center}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]:hover{background-color:#393833;color:#fff}.controller .icons .icon .speed-menu .speed-menu-item.active[data-v-597c0901]{font-weight:700;color:#fff}.controller .icons .icon.active .icon-content[data-v-597c0901],.controller .icons .icon:hover .icon-content[data-v-597c0901]{opacity:1}.controller .icons .volume[data-v-597c0901]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-597c0901]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-597c0901]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-597c0901]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons .loop[data-v-597c0901]{display:inline-block;height:100%}.bezel[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:22px;color:#fff;pointer-events:none}.bezel .bezel-icon[data-v-597c0901]{position:absolute;top:50%;left:50%;margin:-26px 0 0 -26px;height:52px;width:52px;padding:12px;display:flex;justify-content:center;align-items:center;background:#00000080;border-radius:50%;opacity:0;pointer-events:none;font-size:40px}.bezel .bezel-icon.bezel-transition[data-v-597c0901]{animation:bezel-hide-597c0901 .5s linear}@keyframes bezel-hide-597c0901{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.load-error[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:15px;color:#fff;pointer-events:none;display:flex;justify-content:center;align-items:center}.editable-element-video[data-v-c50d3bc7]{position:absolute}.editable-element-video.lock .handler-border[data-v-c50d3bc7]{cursor:default}.rotate-wrapper[data-v-c50d3bc7]{width:100%;height:100%}.element-content[data-v-c50d3bc7]{width:100%;height:100%;position:relative}.handler-border[data-v-c50d3bc7]{position:absolute;cursor:move}.handler-border.t[data-v-c50d3bc7]{width:100%;height:20px;top:0;left:0}.handler-border.b[data-v-c50d3bc7]{width:100%;height:5px;bottom:0;left:0}.handler-border.l[data-v-c50d3bc7]{width:10px;height:100%;left:0;top:0}.handler-border.r[data-v-c50d3bc7]{width:10px;height:100%;right:0;top:0}.audio-player[data-v-32038f5c]{width:280px;height:50px;position:relative;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0;background:#000}.controller[data-v-32038f5c]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-32038f5c]{padding:5px 0;cursor:pointer;position:absolute;bottom:35px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-32038f5c]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-32038f5c]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-32038f5c]{opacity:0}.controller .bar-wrap .bar[data-v-32038f5c]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-32038f5c]{height:38px;position:absolute;bottom:0;left:14px;display:flex;align-items:center}.controller .icons .icon[data-v-32038f5c]{width:36px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-32038f5c]{font-size:26px}.controller .icons .icon .icon-content[data-v-32038f5c]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.active .icon-content[data-v-32038f5c],.controller .icons .icon:hover .icon-content[data-v-32038f5c]{opacity:1}.controller .icons .volume[data-v-32038f5c]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-32038f5c]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-32038f5c]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-32038f5c]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .time[data-v-32038f5c]{height:38px;position:absolute;right:20px;bottom:0;display:flex;align-items:center;line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .time .ptime[data-v-32038f5c]{margin-right:2px}.controller .time .dtime[data-v-32038f5c]{margin-left:2px}.editable-element-audio[data-v-07f623ea]{position:absolute}.editable-element-audio.lock .audio-icon[data-v-07f623ea]{cursor:default}.rotate-wrapper[data-v-07f623ea]{width:100%;height:100%}.element-content[data-v-07f623ea]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-07f623ea]{cursor:move}.audio-player[data-v-07f623ea]{position:absolute}.mouse-selection[data-v-053bfa3e]{position:absolute;background-color:#d144241a;border:1px solid #d14424;z-index:200}.mouse-selection.quadrant-1[data-v-053bfa3e]{transform-origin:50% 0;transform:rotate(180deg)}.mouse-selection.quadrant-2[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(180deg)}.mouse-selection.quadrant-3[data-v-053bfa3e]{transform-origin:0 50%;transform:rotate(180deg)}.mouse-selection.quadrant-4[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(0)}.grid-lines[data-v-93264269]{width:100%;height:100%;overflow:visible;z-index:999;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-background[data-v-203ea8ff]{width:100%;height:100%;background-position:center;position:absolute}.alignment-line[data-v-7cd3d25d]{position:absolute;z-index:100}.alignment-line .line[data-v-7cd3d25d]{width:0;height:0;border:0 dashed #d14424}.alignment-line .line.vertical[data-v-7cd3d25d]{transform:translateY(-.5px);border-left-width:1px}.alignment-line .line.horizontal[data-v-7cd3d25d]{transform:translate(-.5px);border-top-width:1px}.ruler[data-v-c6df5cc2]{font-size:12px}.h[data-v-c6df5cc2]{position:absolute;background-color:#fff;border:1px solid #e5e7eb;height:20px;top:5px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.h .range[data-v-c6df5cc2]{position:absolute;top:0;bottom:0;background-color:#d144241a}.h .ruler-marker-100[data-v-c6df5cc2]{height:100%;line-height:20px;text-align:right;flex-shrink:0;padding-right:5px;position:relative}.h .ruler-marker-100.hide span[data-v-c6df5cc2]{display:none}.h .ruler-marker-100.omit[data-v-c6df5cc2]:before{display:none}.h .ruler-marker-100[data-v-c6df5cc2]:not(:last-child):after{content:"";width:.1px;height:12px;position:absolute;right:0;bottom:0;background-color:#999}.h .ruler-marker-100[data-v-c6df5cc2]:before{content:"";width:.1px;height:8px;position:absolute;right:50%;bottom:0;background-color:#999}.v[data-v-c6df5cc2]{position:absolute;background-color:#fff;border:1px solid #e5e7eb;width:20px;left:5px;overflow:hidden}.v .range[data-v-c6df5cc2]{position:absolute;left:0;right:0;background-color:#d144241a}.v .ruler-marker-100[data-v-c6df5cc2]{width:100%;line-height:20px;text-align:right;padding-bottom:5px;position:relative;writing-mode:vertical-rl}.v .ruler-marker-100.hide span[data-v-c6df5cc2]{display:none}.v .ruler-marker-100.omit[data-v-c6df5cc2]:before{display:none}.v .ruler-marker-100[data-v-c6df5cc2]:not(:last-child):after{content:"";height:.1px;width:12px;position:absolute;bottom:0;right:0;background-color:#999}.v .ruler-marker-100[data-v-c6df5cc2]:before{content:"";height:.1px;width:8px;position:absolute;bottom:50%;right:0;background-color:#999}.element-create-selection[data-v-7b17a883]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.element-create-selection svg[data-v-7b17a883]{overflow:visible}.selection[data-v-7b17a883]{position:absolute;opacity:.8}.selection[data-v-7b17a883]:not(.line){border:1px solid #d14424}.shape-create-canvas[data-v-8ea8c340]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.shape-create-canvas svg[data-v-8ea8c340]{width:100%;height:100%;overflow:visible}.resize-handler[data-v-bb3f9e62]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:pointer}.resize-handler.left-top.rotate-0[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left.rotate-45[data-v-bb3f9e62],.resize-handler.right.rotate-45[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.right-top.rotate-90[data-v-bb3f9e62],.resize-handler.top.rotate-135[data-v-bb3f9e62],.resize-handler.bottom.rotate-135[data-v-bb3f9e62]{cursor:nwse-resize}.resize-handler.top.rotate-0[data-v-bb3f9e62],.resize-handler.bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left-top.rotate-45[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left.rotate-90[data-v-bb3f9e62],.resize-handler.right.rotate-90[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-135[data-v-bb3f9e62],.resize-handler.right-top.rotate-135[data-v-bb3f9e62]{cursor:ns-resize}.resize-handler.left-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.right-top.rotate-0[data-v-bb3f9e62],.resize-handler.top.rotate-45[data-v-bb3f9e62],.resize-handler.bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left-top.rotate-90[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left.rotate-135[data-v-bb3f9e62],.resize-handler.right.rotate-135[data-v-bb3f9e62]{cursor:nesw-resize}.resize-handler.left.rotate-0[data-v-bb3f9e62],.resize-handler.right.rotate-0[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.right-top.rotate-45[data-v-bb3f9e62],.resize-handler.top.rotate-90[data-v-bb3f9e62],.resize-handler.bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left-top.rotate-135[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-135[data-v-bb3f9e62]{cursor:ew-resize}.border-line[data-v-7114fb45]{position:absolute;width:0;height:0;left:0;top:0;border:0 dashed #d14424}.border-line.top[data-v-7114fb45]{border-top-width:1px}.border-line.bottom[data-v-7114fb45]{border-bottom-width:1px}.border-line.left[data-v-7114fb45]{border-left-width:1px}.border-line.right[data-v-7114fb45]{border-right-width:1px}.border-line.wide[data-v-7114fb45]:before{content:"";position:absolute;background:transparent;cursor:move}.border-line.wide.top[data-v-7114fb45]:before{top:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.bottom[data-v-7114fb45]:before{bottom:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.left[data-v-7114fb45]:before{top:-8px;left:-8px;width:16px;height:calc(100% + 16px)}.border-line.wide.right[data-v-7114fb45]:before{top:-8px;right:-8px;width:16px;height:calc(100% + 16px)}.multi-select-operate[data-v-135c8cb7]{position:absolute;top:0;left:0;z-index:101}.rotate-handler[data-v-9f21fc0f]{position:absolute;width:10px;height:10px;top:-25px;margin-left:-5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:grab}.rotate-handler[data-v-9f21fc0f]:active{cursor:grabbing}.image-element-operate.cliping[data-v-2a1bef4e]{visibility:hidden}.operate-keypoint-handler[data-v-11747e5a]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#ffe873;border-radius:1px}svg[data-v-9dea4d6a]{position:absolute;left:0;top:0;pointer-events:none;transform-origin:0 0}.anchor-line[data-v-9dea4d6a]{stroke-width:1px;stroke-dasharray:5 5;opacity:.5}.divider.horizontal[data-v-80adabfa]{width:100%;margin:24px 0;border-block-start:1px solid rgba(5,5,5,.06)}.divider.vertical[data-v-80adabfa]{position:relative;height:1em;display:inline-block;margin:0 8px;border-inline-start:1px solid rgba(5,5,5,.06)}.link-handler[data-v-f8f46f78]{height:30px;position:absolute;left:0;font-size:12px;padding:0 10px;background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;display:flex;align-items:center;color:#d14424}.link[data-v-f8f46f78]{max-width:300px;margin-right:20px;word-break:keep-all;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.btns[data-v-f8f46f78]{display:flex;align-items:center}.btns .btn[data-v-f8f46f78]{word-break:keep-all;cursor:pointer}.operate[data-v-7c6be7e7]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.operate.multi-select[data-v-7c6be7e7]{opacity:.2}.animation-index[data-v-7c6be7e7]{position:absolute;top:0;left:-24px;font-size:12px}.animation-index .index-item[data-v-7c6be7e7]{width:18px;height:18px;background-color:#fff;color:#d14424;border:1px solid #d14424;display:flex;justify-content:center;align-items:center}.animation-index .index-item+.index-item[data-v-7c6be7e7]{margin-top:5px}.base-element-image[data-v-67c9bdc0]{position:absolute}.rotate-wrapper[data-v-67c9bdc0]{width:100%;height:100%}.element-content[data-v-67c9bdc0]{width:100%;height:100%;position:relative}.element-content .image-content[data-v-67c9bdc0]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-67c9bdc0]{position:absolute}.color-mask[data-v-67c9bdc0]{position:absolute;top:0;bottom:0;left:0;right:0}.base-element-text[data-v-a3ec163d]{position:absolute}.rotate-wrapper[data-v-a3ec163d]{width:100%;height:100%}.element-content[data-v-a3ec163d]{position:relative;padding:10px;line-height:1.5;word-break:break-word}.element-content .text[data-v-a3ec163d]{position:relative}.element-content .text.thumbnail[data-v-a3ec163d]{pointer-events:none}.base-element-shape[data-v-ed406be1]{position:absolute}.rotate-wrapper[data-v-ed406be1]{width:100%;height:100%}.element-content[data-v-ed406be1]{width:100%;height:100%;position:relative}.element-content svg[data-v-ed406be1]{transform-origin:0 0;overflow:visible}.shape-text[data-v-ed406be1]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word}.shape-text.top[data-v-ed406be1]{justify-content:flex-start}.shape-text.middle[data-v-ed406be1]{justify-content:center}.shape-text.bottom[data-v-ed406be1]{justify-content:flex-end}.base-element-line[data-v-833e88cd]{position:absolute}.element-content[data-v-833e88cd]{width:100%;height:100%;position:relative}.element-content svg[data-v-833e88cd]{transform-origin:0 0;overflow:visible}.base-element-chart[data-v-5a1fd6e3]{position:absolute}.base-element-chart.is-thumbnail[data-v-5a1fd6e3]{pointer-events:none}.rotate-wrapper[data-v-5a1fd6e3],.element-content[data-v-5a1fd6e3]{width:100%;height:100%}.static-table[data-v-6d887dcd]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-6d887dcd]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-6d887dcd]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-6d887dcd]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-6d887dcd]:last-child{background-color:var(--themeColor)}table .cell[data-v-6d887dcd]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;background-clip:padding-box}table .cell-text[data-v-6d887dcd]{padding:5px;line-height:1.5}.base-element-table[data-v-77cfa6e4]{position:absolute}.rotate-wrapper[data-v-77cfa6e4]{width:100%;height:100%}.element-content[data-v-77cfa6e4]{width:100%;height:100%;position:relative}.base-element-latex[data-v-93374af9]{position:absolute}.rotate-wrapper[data-v-93374af9]{width:100%;height:100%}.element-content[data-v-93374af9]{width:100%;height:100%;position:relative}.element-content svg[data-v-93374af9]{transform-origin:0 0;overflow:visible}.base-element-video[data-v-2fb0e771]{position:absolute}.rotate-wrapper[data-v-2fb0e771]{width:100%;height:100%}.element-content[data-v-2fb0e771]{width:100%;height:100%;background-color:#000;background-position:center;background-size:contain;background-repeat:no-repeat;display:flex;justify-content:center;align-items:center}.icon[data-v-2fb0e771]{font-size:140px;color:#aaa}.base-element-audio[data-v-b33e6120]{position:absolute}.rotate-wrapper[data-v-b33e6120]{width:100%;height:100%}.element-content[data-v-b33e6120]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-b33e6120]{cursor:move}.thumbnail-slide[data-v-c8cdb1af]{background-color:#fff;overflow:hidden;-webkit-user-select:none;user-select:none}.elements[data-v-c8cdb1af]{transform-origin:0 0}.background[data-v-c8cdb1af]{width:100%;height:100%;background-position:center;position:absolute}.placeholder[data-v-c8cdb1af]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.tabs[data-v-c7f9dce0]{display:flex;-webkit-user-select:none;user-select:none;line-height:1}.tabs[data-v-c7f9dce0]:not(.card){font-size:13px;align-items:center;justify-content:flex-start;border-bottom:1px solid #e5e7eb}.tabs:not(.card).space-around[data-v-c7f9dce0]{justify-content:space-around}.tabs:not(.card).space-between[data-v-c7f9dce0]{justify-content:space-between}.tabs:not(.card) .tab[data-v-c7f9dce0]{text-align:center;border-bottom:2px solid transparent;padding:8px 10px;cursor:pointer}.tabs:not(.card) .tab.active[data-v-c7f9dce0]{border-bottom:2px solid var(--color, #d14424)}.tabs.card[data-v-c7f9dce0]{height:40px;font-size:12px;flex-shrink:0}.tabs.card .tab[data-v-c7f9dce0]{flex:1;display:flex;justify-content:center;align-items:center;background-color:#f9f9f9;border-bottom:1px solid #e5e7eb;cursor:pointer}.tabs.card .tab.active[data-v-c7f9dce0]{background-color:transparent;border-bottom-color:transparent}.tabs.card .tab+.tab[data-v-c7f9dce0]{border-left:1px solid #e5e7eb}.button[data-v-3a484f58]{height:32px;line-height:32px;outline:0;font-size:13px;padding:0 15px;text-align:center;color:#41464b;border-radius:2px;-webkit-user-select:none;user-select:none;letter-spacing:1px;cursor:pointer}.button.small[data-v-3a484f58]{height:24px;line-height:24px;padding:0 7px;letter-spacing:0;font-size:12px}.button.default[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.default[data-v-3a484f58]:hover{color:#d14424;border-color:#d14424}.button.primary[data-v-3a484f58]{background-color:#d14424;border:1px solid #d14424;color:#fff}.button.primary[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.checkbox[data-v-3a484f58],.button.radio[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.checkbox[data-v-3a484f58]:not(.checked):hover,.button.radio[data-v-3a484f58]:not(.checked):hover{color:#d14424}.button.checked[data-v-3a484f58]{color:#fff;background-color:#d14424;border-color:#d14424}.button.checked[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.disabled[data-v-3a484f58]{background-color:#f5f5f5;border:1px solid #d9d9d9;color:#b7b7b7;cursor:default}.select[data-v-eb1f268a]{width:100%;height:32px;padding-right:32px;border-radius:2px;transition:border-color .25s;font-size:13px;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #d9d9d9;position:relative;cursor:pointer}.select[data-v-eb1f268a]:not(.disabled):hover{border-color:#d14424}.select.disabled[data-v-eb1f268a]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7;cursor:default}.select .selector[data-v-eb1f268a]{min-width:50px;height:30px;line-height:30px;padding-left:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.options[data-v-eb1f268a]{max-height:260px;padding:5px;overflow:auto;text-align:left;font-size:13px;-webkit-user-select:none;user-select:none}.option[data-v-eb1f268a]{height:32px;line-height:32px;padding:0 5px;border-radius:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option.disabled[data-v-eb1f268a]{color:#b7b7b7}.option[data-v-eb1f268a]:not(.disabled,.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-eb1f268a]{color:#d14424;font-weight:700}.icon[data-v-eb1f268a]{width:32px;height:30px;color:#bfbfbf;position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center}.link-dialog[data-v-853e5bc2]{font-size:13px;line-height:1.675}.input[data-v-853e5bc2]{width:100%;height:32px}.preview[data-v-853e5bc2]{margin-top:12px}.thumbnail[data-v-853e5bc2]{border:1px solid rgba(209,68,36,.15);margin-top:5px;border-radius:2px}.btns[data-v-853e5bc2]{margin-top:20px;text-align:right}.modal[data-v-4d27bcca],.mask[data-v-4d27bcca]{top:0;left:0;width:100%;height:100%;z-index:5000}.modal[data-v-4d27bcca]{position:fixed;display:flex;justify-content:center;align-items:center;outline:0;border:0}.mask[data-v-4d27bcca]{position:absolute;background:#00000040}.modal-content[data-v-4d27bcca]{z-index:5001;padding:20px;background:#fff;border-radius:2px;overflow:hidden;box-shadow:0 1px 3px #0003;position:relative}.close-btn[data-v-4d27bcca]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:16px;right:16px;cursor:pointer}.modal-fade-enter-active[data-v-4d27bcca]{animation:modal-fade-enter-4d27bcca .25s both ease-in}.modal-fade-leave-active[data-v-4d27bcca]{animation:modal-fade-leave-4d27bcca .25s both ease-out}.modal-zoom-enter-active[data-v-4d27bcca]{animation:modal-zoom-enter-4d27bcca .25s both cubic-bezier(.4,0,0,1.5)}.modal-zoom-leave-active[data-v-4d27bcca]{animation:modal-zoom-leave-4d27bcca .25s both}@keyframes modal-fade-enter-4d27bcca{0%{opacity:0}}@keyframes modal-fade-leave-4d27bcca{to{opacity:0}}@keyframes modal-zoom-enter-4d27bcca{0%{transform:scale3d(.3,.3,.3)}}@keyframes modal-zoom-leave-4d27bcca{to{transform:scale3d(.3,.3,.3)}}.canvas[data-v-904dbab0]{height:100%;-webkit-user-select:none;user-select:none;overflow:hidden;background-color:#f9f9f9;position:relative}.drag-mask[data-v-904dbab0]{cursor:grab;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-wrapper[data-v-904dbab0]{position:absolute;box-shadow:0 0 0 1px #00000003,0 0 12px #0000001a}.viewport[data-v-904dbab0]{position:absolute;top:0;left:0;transform-origin:0 0}.shape-item-thumbnail[data-v-2896ae03]{position:relative;cursor:pointer}.shape-content[data-v-2896ae03]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center}.shape-content:hover .shape-path[data-v-2896ae03]:not(.outlined){stroke:#d14424}.shape-content:hover .shape-path.outlined[data-v-2896ae03]{fill:#d14424}.shape-content svg[data-v-2896ae03]:not(:root){overflow:visible}.shape-pool[data-v-d92f642a]{width:340px;max-height:520px;overflow:auto;margin-top:-8px;margin-bottom:-8px;margin-right:-10px;padding-right:10px;padding-top:10px}.category-name[data-v-d92f642a]{width:100%;font-size:12px;margin-bottom:10px;border-left:4px solid #bbb;background-color:#f1f1f1;padding:3px 0 3px 8px;color:#555}.shape-list[data-v-d92f642a]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.shape-item[data-v-d92f642a]{width:8%;margin-bottom:calc(20% / 9);height:0;padding-bottom:8%;flex-shrink:0}.shape-item[data-v-d92f642a]:not(:nth-child(10n)){margin-right:calc(20% / 9)}.line-pool[data-v-fd42a3c4]{width:220px;overflow:auto;margin-bottom:-12px;margin-right:-12px;padding-right:12px}.category-name[data-v-fd42a3c4]{width:100%;font-size:12px;margin-bottom:10px;border-left:4px solid #bbb;background-color:#f1f1f1;padding:3px 0 3px 8px;color:#555}.line-list[data-v-fd42a3c4]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.line-item[data-v-fd42a3c4]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.line-item[data-v-fd42a3c4]:not(:nth-child(5n)){margin-right:1.25%}.line-content[data-v-fd42a3c4]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.line-content[data-v-fd42a3c4]:hover{color:#d14424}.line-content svg[data-v-fd42a3c4]:not(:root){overflow:visible}.chart-pool[data-v-55770a5d]{width:240px;margin-bottom:-5px;display:flex;flex-wrap:wrap;align-content:flex-start}.chart-item[data-v-55770a5d]{width:24%;margin-bottom:calc(4% / 3);height:0;padding-bottom:25%;flex-shrink:0;position:relative;cursor:pointer}.chart-item[data-v-55770a5d]:not(:nth-child(4n)){margin-right:calc(4% / 3)}.chart-content[data-v-55770a5d]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#999}.chart-content[data-v-55770a5d]:hover{color:#d14424}.chart-content .name[data-v-55770a5d]{margin-top:4px}.number-input[data-v-ba8ef208]{background-color:#fff;border:1px solid #d9d9d9;padding:0 0 0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:inline-flex}.number-input .input-wrap[data-v-ba8ef208]{flex:1;color:#41464b;padding:0 0 0 5px;position:relative}.number-input:not(.disabled) .input-wrap:hover .handlers[data-v-ba8ef208]{opacity:1}.number-input .handlers[data-v-ba8ef208]{width:20px;position:absolute;top:0;bottom:0;right:0;display:flex;flex-direction:column;font-size:6px;color:#999;opacity:0;-webkit-user-select:none;user-select:none;transition:opacity .25s}.number-input .handlers .handler[data-v-ba8ef208]{width:100%;height:50%;display:flex;justify-content:center;align-items:center;border-left:1px solid #d9d9d9;cursor:pointer}.number-input .handlers .handler+.handler[data-v-ba8ef208]{border-top:1px solid #d9d9d9}.number-input .handlers .handler[data-v-ba8ef208]:hover{color:#d14424}.number-input input[data-v-ba8ef208]{width:100%;min-width:0;padding:0;height:30px;line-height:30px;outline:0;border:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.number-input input[data-v-ba8ef208]::placeholder{color:#bfbfbf}.number-input[data-v-ba8ef208]:not(.disabled):hover,.number-input.focused[data-v-ba8ef208]{border-color:#d14424}.number-input.disabled[data-v-ba8ef208]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.number-input.disabled input[data-v-ba8ef208]{color:#b7b7b7}.number-input .prefix[data-v-ba8ef208],.number-input .suffix[data-v-ba8ef208]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.table-generator[data-v-dcc16f05]{width:100%;margin-top:-10px}.title[data-v-dcc16f05]{height:28px;line-height:28px;background-color:#f9f9f9;margin:0 -10px 10px;padding:0 14px;font-size:12px;display:flex;justify-content:space-between;border-top-left-radius:2px;border-top-right-radius:2px;-webkit-user-select:none;user-select:none}.title .right[data-v-dcc16f05]{cursor:pointer}.title .right[data-v-dcc16f05]:hover{color:#d14424}table[data-v-dcc16f05]{border-collapse:separate}td[data-v-dcc16f05]{width:23px;height:23px;line-height:23px;border:2px solid #fff;background-color:#f7f7f7}.cell[data-v-dcc16f05]{width:100%;height:100%;border:1px solid #dcdcdc}.cell.active[data-v-dcc16f05]{background-color:#d144241a;border-color:#d14424}.custom[data-v-dcc16f05]{width:230px}.custom .row[data-v-dcc16f05]{display:flex;align-items:center}.custom .row+.row[data-v-dcc16f05]{margin-top:10px}.btns[data-v-dcc16f05]{margin-top:10px;text-align:right}.btns .btn[data-v-dcc16f05]{margin-left:10px}.media-input[data-v-999b18ca]{width:480px}.btns[data-v-999b18ca]{margin-top:10px;text-align:right}svg[data-v-fa1b116d]{overflow:hidden}.textarea[data-v-96f315e1]{outline:0;width:100%;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;padding:10px;transition:border-color .25s;box-sizing:border-box;line-height:1.675;resize:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.textarea[data-v-96f315e1]:focus{border-color:#d14424;background-color:#fff}.textarea.resizable[data-v-96f315e1]{resize:vertical}.textarea.disabled[data-v-96f315e1]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.textarea[data-v-96f315e1]::placeholder{color:#bfbfbf}.latex-editor[data-v-fc449335]{height:560px}.container[data-v-fc449335]{height:calc(100% - 50px);display:flex}.left[data-v-fc449335]{width:540px;height:100%;display:flex;flex-direction:column;flex-shrink:0}.input-area[data-v-fc449335]{flex:1}.input-area textarea[data-v-fc449335]{height:100%!important;border-color:#e5e7eb!important;padding:10px!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.input-area textarea[data-v-fc449335]:focus{box-shadow:none!important}.preview[data-v-fc449335]{height:160px;display:flex;justify-content:center;align-items:center;text-align:center;margin-top:20px;border:1px solid #e5e7eb;-webkit-user-select:none;user-select:none}.placeholder[data-v-fc449335]{color:#888;font-size:13px}.preview-content[data-v-fc449335]{width:100%;height:100%;padding:10px;display:flex;justify-content:center;align-items:center}.right[data-v-fc449335]{width:280px;height:100%;margin-left:20px;border:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.content[data-v-fc449335]{height:calc(100% - 40px);font-size:13px}.formula[data-v-fc449335]{height:100%;padding:12px;overflow:auto;overflow:overlay}.formula-item+.formula-item[data-v-fc449335]{margin-top:10px}.formula-item .formula-title[data-v-fc449335]{margin-bottom:5px}.formula-item .formula-item-content[data-v-fc449335]{height:60px;padding:5px;display:flex;align-items:center;background-color:#f9f9f9;cursor:pointer}.symbol[data-v-fc449335]{height:100%;display:flex;flex-direction:column}.symbol-pool[data-v-fc449335]{display:flex;flex-wrap:wrap;flex:1;padding:12px;overflow:auto;overflow:overlay}.symbol-item[data-v-fc449335]{display:flex;justify-content:center;align-items:center}.symbol-item[data-v-fc449335]:hover{background-color:#f9f9f9;cursor:pointer}.footer[data-v-fc449335]{height:50px;display:flex;justify-content:flex-end;align-items:flex-end}.footer .btn[data-v-fc449335]{margin-left:10px}.canvas-tool[data-v-5a02ef27]{position:relative;border-bottom:1px solid #e5e7eb;background-color:#fff;display:flex;justify-content:space-between;padding:0 10px;font-size:13px;-webkit-user-select:none;user-select:none}.left-handler[data-v-5a02ef27],.more[data-v-5a02ef27]{display:flex;align-items:center}.more-icon[data-v-5a02ef27]{display:none}.add-element-handler[data-v-5a02ef27]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex}.add-element-handler .handler-item[data-v-5a02ef27]{width:32px}.add-element-handler .handler-item[data-v-5a02ef27]:not(.group-btn):hover{background-color:#f1f1f1}.add-element-handler .handler-item.active[data-v-5a02ef27]{color:#d14424}.add-element-handler .handler-item.group-btn[data-v-5a02ef27]{width:auto;margin-right:5px}.add-element-handler .handler-item.group-btn[data-v-5a02ef27]:hover{background-color:#f3f3f3}.add-element-handler .handler-item.group-btn .icon[data-v-5a02ef27],.add-element-handler .handler-item.group-btn .arrow[data-v-5a02ef27]{height:100%;display:flex;justify-content:center;align-items:center}.add-element-handler .handler-item.group-btn .icon[data-v-5a02ef27]{width:26px;padding:0 2px}.add-element-handler .handler-item.group-btn .icon[data-v-5a02ef27]:hover{background-color:#e9e9e9}.add-element-handler .handler-item.group-btn .icon.active[data-v-5a02ef27]{color:#d14424}.add-element-handler .handler-item.group-btn .arrow[data-v-5a02ef27]{font-size:12px}.add-element-handler .handler-item.group-btn .arrow[data-v-5a02ef27]:hover{background-color:#e9e9e9}.handler-item[data-v-5a02ef27]{height:30px;font-size:14px;margin:0 2px;display:flex;justify-content:center;align-items:center;border-radius:2px;overflow:hidden;cursor:pointer}.handler-item.disable[data-v-5a02ef27]{opacity:.5}.left-handler .handler-item[data-v-5a02ef27],.right-handler .handler-item[data-v-5a02ef27]{padding:0 8px}.left-handler .handler-item.active[data-v-5a02ef27],.left-handler .handler-item[data-v-5a02ef27]:not(.disable):hover,.right-handler .handler-item.active[data-v-5a02ef27],.right-handler .handler-item[data-v-5a02ef27]:not(.disable):hover{background-color:#f1f1f1}.right-handler[data-v-5a02ef27]{display:flex;align-items:center}.right-handler .text[data-v-5a02ef27]{display:inline-block;width:40px;text-align:center;cursor:pointer}.right-handler .viewport-size[data-v-5a02ef27]{font-size:13px}@media screen and (width <= 1200px){.right-handler .text[data-v-5a02ef27]{display:none}.more>.handler-item[data-v-5a02ef27]{display:none}.more-icon[data-v-5a02ef27]{display:block}}@media screen and (width <= 1000px){.left-handler[data-v-5a02ef27],.right-handler[data-v-5a02ef27]{display:none}}.layout-pool[data-v-5a791b40]{width:382px;height:500px}.header[data-v-5a791b40]{height:40px;margin:-10px -10px 10px;padding:10px 12px 0;background-color:#f9f9f9;border-bottom:1px solid #e5e7eb}.list[data-v-5a791b40]{height:calc(100% - 50px);padding:2px 10px 2px 2px;margin-right:-10px;overflow:auto;display:flex;flex-wrap:wrap;align-content:flex-start}.layout-item[data-v-5a791b40]{position:relative;width:48%;margin-bottom:4%}.layout-item[data-v-5a791b40]:not(:nth-child(2n)){margin-right:4%}.layout-item[data-v-5a791b40]:nth-last-child(2),.layout-item[data-v-5a791b40]:last-child{margin-bottom:0}.layout-item:hover .btns[data-v-5a791b40]{opacity:1}.layout-item:hover .thumbnail[data-v-5a791b40]{outline-color:#d14424}.layout-item .btns[data-v-5a791b40]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.layout-item .thumbnail[data-v-5a791b40]{outline:2px solid #e5e7eb;transition:outline .2s;border-radius:2px;cursor:pointer}.thumbnails[data-v-95c2a62e]{border-right:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.add-slide[data-v-95c2a62e]{height:40px;font-size:12px;display:flex;flex-shrink:0;border-bottom:1px solid #e5e7eb;cursor:pointer}.add-slide .btn[data-v-95c2a62e]{flex:1;display:flex;justify-content:center;align-items:center}.add-slide .btn[data-v-95c2a62e]:hover{background-color:#f9f9f9}.add-slide .select-btn[data-v-95c2a62e]{width:30px;height:100%;display:flex;justify-content:center;align-items:center;border-left:1px solid #e5e7eb}.add-slide .select-btn[data-v-95c2a62e]:hover{background-color:#f9f9f9}.add-slide .icon[data-v-95c2a62e]{margin-right:3px;font-size:14px}.thumbnail-list[data-v-95c2a62e]{padding:5px 0;flex:1;overflow:auto}.thumbnail-item[data-v-95c2a62e]{display:flex;justify-content:center;align-items:center;padding:5px 0;position:relative}.thumbnail-item .thumbnail[data-v-95c2a62e]{border-radius:2px;outline:2px solid rgba(209,68,36,.15)}.thumbnail-item.active .label[data-v-95c2a62e]{color:#d14424}.thumbnail-item.active .thumbnail[data-v-95c2a62e],.thumbnail-item.selected .thumbnail[data-v-95c2a62e]{outline-color:#d14424}.thumbnail-item.selected .note-flag[data-v-95c2a62e]{background-color:#d14424}.thumbnail-item.selected .note-flag[data-v-95c2a62e]:after{border-top-color:#d14424}.thumbnail-item .note-flag[data-v-95c2a62e]{width:16px;height:12px;border-radius:1px;position:absolute;left:8px;top:13px;font-size:8px;background-color:#d14424bf;color:#fff;text-align:center;line-height:12px;cursor:pointer}.thumbnail-item .note-flag[data-v-95c2a62e]:after{content:"";width:0;height:0;position:absolute;top:10px;left:4px;border:4px solid transparent;border-top-color:#d14424bf}.label[data-v-95c2a62e]{font-size:12px;color:#999;width:20px;cursor:grab}.label.offset-left[data-v-95c2a62e]{position:relative;left:-4px}.label[data-v-95c2a62e]:active{cursor:grabbing}.page-number[data-v-95c2a62e]{height:40px;font-size:12px;border-top:1px solid #e5e7eb;line-height:40px;text-align:center;color:#666}.section-title[data-v-95c2a62e]{height:26px;font-size:12px;padding:6px 8px 2px 18px;color:#555}.section-title.contextmenu-active[data-v-95c2a62e]{color:#d14424}.section-title.contextmenu-active .text[data-v-95c2a62e]:before{border-bottom-color:#d14424;border-right-color:#d14424}.section-title .text[data-v-95c2a62e]{display:flex;align-items:center;position:relative}.section-title .text[data-v-95c2a62e]:before{content:"";width:0;height:0;border-top:3px solid transparent;border-left:3px solid transparent;border-bottom:3px solid #555;border-right:3px solid #555;margin-right:5px}.section-title .text .text-content[data-v-95c2a62e]{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.section-title input[data-v-95c2a62e]{width:100%;border:0;outline:0;padding:0;font-size:12px}.slider[data-v-a7428be4]{width:100%;height:12px;padding:4px 0;-webkit-user-select:none;user-select:none}.slider.disabled .track[data-v-a7428be4]{background-color:#b4b4b4}.slider.disabled .thumb[data-v-a7428be4]{outline:2px solid #b4b4b4}.slider[data-v-a7428be4]:not(.disabled){cursor:pointer}.slider:not(.disabled) .bar[data-v-a7428be4]:hover{background-color:#f0f0f0}.slider:not(.disabled) .track[data-v-a7428be4]:hover{background-color:#de6949}.slider:not(.disabled) .thumb[data-v-a7428be4]:hover,.slider:not(.disabled) .thumb[data-v-a7428be4]:active{outline:4px solid #d14424}.bar[data-v-a7428be4]{width:calc(100% - 10px);margin-left:5px;height:4px;border-radius:2px;position:relative;background-color:#f5f5f5;-webkit-user-select:none;user-select:none;transition:background-color .2s}.track[data-v-a7428be4]{position:absolute;top:0;left:0;height:100%;background-color:#d14424;transition:background-color .2s}.thumb[data-v-a7428be4]{position:absolute;top:50%;left:0;width:10px;height:10px;background-color:#fff;outline:2px solid #d14424;transform:translate(-50%,-50%);border-radius:50%;z-index:100}.thumb[data-v-a7428be4]:hover:before,.thumb[data-v-a7428be4]:hover:after,.thumb[data-v-a7428be4]:active:before,.thumb[data-v-a7428be4]:active:after{display:block}.thumb[data-v-a7428be4]:before{content:attr(data-tooltip);min-width:28px;display:none;position:absolute;left:50%;bottom:24px;transform:translate(-50%);background-color:#262626;text-align:center;color:#fff;border-radius:2px;padding:6px 5px;font-size:12px}.thumb[data-v-a7428be4]:after{content:"";display:none;position:absolute;left:50%;bottom:15px;transform:translate(-50%);border:5px solid transparent;border-top-color:#262626}.row[data-v-c3b27b40]{width:100%;display:flex;align-items:center;margin-bottom:10px}.color-btn[data-v-53175c6f]{width:100%;display:flex!important;align-items:center;justify-content:center;padding:0!important}.color-block[data-v-53175c6f]{height:20px;margin-left:8px;flex:1;outline:1px dashed rgba(102,102,102,.12);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAEBJREFUOE9jfPbs2X8GIoCkpCQRqhgYGEcNxBlOo2GIM2iGQLL5//8/UTnl+fPnxOWUUQNxhtNoGOLOKYM+2QAAh2Nq10DwkukAAAAASUVORK5CYII=)}.content[data-v-53175c6f]{width:100%;height:100%}.color-btn-icon[data-v-53175c6f]{width:32px;font-size:13px;color:#bfbfbf}.checkerboard[data-v-46275348]{background-size:contain;position:absolute;top:0;right:0;bottom:0;left:0}.alpha[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-checkboard-wrap[data-v-429f62d3]{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.alpha-gradient[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-container[data-v-429f62d3]{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.alpha-pointer[data-v-429f62d3]{z-index:2;position:absolute}.alpha-picker[data-v-429f62d3]{cursor:pointer;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}.hue[data-v-21ccc370]{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);position:absolute;top:0;right:0;bottom:0;left:0}.hue-container[data-v-21ccc370]{cursor:pointer;margin:0 2px;position:relative;height:100%}.hue-pointer[data-v-21ccc370]{z-index:2;position:absolute;top:0}.hue-picker[data-v-21ccc370]{cursor:pointer;margin-top:1px;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.saturation[data-v-1a7711ae],.saturation-white[data-v-1a7711ae],.saturation-black[data-v-1a7711ae]{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.saturation-white[data-v-1a7711ae]{background:linear-gradient(to right,#fff,#fff0)}.saturation-black[data-v-1a7711ae]{background:linear-gradient(to top,#000,#0000)}.saturation-pointer[data-v-1a7711ae]{cursor:pointer;position:absolute}.saturation-circle[data-v-1a7711ae]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.editable-input[data-v-573b4dde]{width:100%;position:relative;overflow:hidden;text-align:center;font-size:14px}.editable-input[data-v-573b4dde]:after{content:"#";position:absolute;left:0;top:50%;transform:translateY(-50%);color:#999}.input-content[data-v-573b4dde]{width:100%;padding:3px;border:0;border-bottom:1px solid #ddd;outline:none;text-align:center}.input-label[data-v-573b4dde]{text-transform:capitalize}.color-picker[data-v-58b37f0f]{position:relative;width:240px;background:#fff;-webkit-user-select:none;user-select:none;margin-bottom:-10px}.picker-saturation-wrap[data-v-58b37f0f]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-58b37f0f]{display:flex}.picker-sliders[data-v-58b37f0f]{padding:4px 0;flex:1}.picker-hue-wrap[data-v-58b37f0f]{position:relative;height:10px}.picker-alpha-wrap[data-v-58b37f0f]{position:relative;height:10px;margin-top:4px;overflow:hidden}.picker-color-wrap[data-v-58b37f0f]{width:24px;height:24px;position:relative;margin-top:4px;margin-right:4px;outline:1px dashed rgba(102,102,102,.12)}.picker-color-wrap .checkerboard[data-v-58b37f0f]{background-size:auto}.picker-current-color[data-v-58b37f0f]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.picker-field[data-v-58b37f0f]{display:flex;margin-bottom:8px}.picker-field .transparent[data-v-58b37f0f]{width:24px;height:24px;margin-top:4px;margin-left:8px;position:relative;cursor:pointer}.picker-field .transparent[data-v-58b37f0f]:after{content:"";width:26px;height:2px;position:absolute;top:11px;left:-1px;transform:rotate(-45deg);background-color:red}.picker-field .transparent .checkerboard[data-v-58b37f0f]{background-size:auto}.picker-field .straw[data-v-58b37f0f]{width:24px;height:24px;margin-top:4px;margin-left:8px;display:flex;justify-content:center;align-items:center;font-size:20px;background-color:#f5f5f5;outline:1px solid #f1f1f1;cursor:pointer}.picker-field .input[data-v-58b37f0f]{flex:1}.picker-presets[data-v-58b37f0f]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-presets-color[data-v-58b37f0f]{width:7%;margin-bottom:calc(30% / 9);height:0;padding-bottom:7%;flex-shrink:0;position:relative;cursor:pointer}.picker-presets-color[data-v-58b37f0f]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-presets-color.alpha[data-v-58b37f0f]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-58b37f0f]{position:absolute;top:0;right:0;bottom:0;left:0}.picker-gradient-presets[data-v-58b37f0f]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-gradient-col[data-v-58b37f0f]{width:7%;margin-bottom:calc(30% / 9);display:flex;flex-direction:column}.picker-gradient-col[data-v-58b37f0f]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-gradient-color[data-v-58b37f0f]{width:100%;height:16px;position:relative;cursor:pointer}.recent-colors-title[data-v-58b37f0f]{font-size:12px;margin-bottom:4px}.switch[data-v-a0d44a99]{height:20px;display:inline-block;cursor:pointer}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]{border-color:#d14424;background-color:#d14424}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]:after{left:100%;margin-left:-17px}.switch.disabled[data-v-a0d44a99]{cursor:default}.switch.disabled .switch-core[data-v-a0d44a99]:after{background-color:#f5f5f5}.switch-core[data-v-a0d44a99]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid #d9d9d9;outline:none;border-radius:10px;box-sizing:border-box;background:#d9d9d9;transition:border-color .3s,background-color .3s;vertical-align:middle}.switch-core[data-v-a0d44a99]:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.select[data-v-36a09887]{width:100%;height:32px;padding-right:32px;border-radius:2px;transition:border-color .25s;font-size:13px;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #d9d9d9;position:relative;cursor:pointer}.select[data-v-36a09887]:not(.disabled):hover{border-color:#d14424}.select.disabled[data-v-36a09887]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7;cursor:default}.select .selector[data-v-36a09887]{min-width:50px;height:30px;line-height:30px;padding-left:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.options[data-v-36a09887]{max-height:260px;padding:5px;overflow:auto;text-align:left;font-size:13px;-webkit-user-select:none;user-select:none}.icon[data-v-36a09887]{width:32px;height:30px;color:#bfbfbf;position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center}.row[data-v-ee2e9ad5]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-ee2e9ad5]{text-align:right}.option[data-v-ee2e9ad5]{height:32px;padding:0 5px;border-radius:2px}.option[data-v-ee2e9ad5]:not(.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-ee2e9ad5]{color:#d14424;font-weight:700}.row[data-v-671988a4]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-671988a4]{text-align:right}.text-color-btn[data-v-97cd463a]{width:100%;display:flex!important;flex-direction:column;justify-content:center;align-items:center;padding:0}.text-color-block[data-v-97cd463a]{width:17px;height:4px;margin-top:1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACdJREFUGFdjfPbs2X8GBgYGSUlJEMXAiCHw//9/sIrnz59DVKALAADNxxVfaiODNQAAAABJRU5ErkJggg==)}.text-color-block .text-color-block-content[data-v-97cd463a]{width:100%;height:100%}.button-group[data-v-6a640ef5]{display:flex;align-items:center}.button-group[data-v-6a640ef5] button.button{border-radius:0;border-left-width:1px;border-right-width:0;display:inline-block}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover{position:relative}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover{position:relative}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group.passive[data-v-6a640ef5] button.button.first{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group.passive[data-v-6a640ef5] button.button.last{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.select-group[data-v-ed58c719]{display:flex;align-items:center}.select-group[data-v-ed58c719] .select-wrap .select{border-radius:0;border-left-width:0;border-right-width:0}.select-group[data-v-ed58c719] .select-wrap+.select-wrap .select{border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:hover+.select-wrap .select{border-left-color:#d14424}.select-group[data-v-ed58c719] .select-wrap:first-child .select{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:last-child .select{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.rich-text-base[data-v-f8e123db]{-webkit-user-select:none;user-select:none}.row[data-v-f8e123db]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-f8e123db]{padding:0}.link-popover[data-v-f8e123db]{width:240px}.link-popover .btns[data-v-f8e123db]{margin-top:10px;text-align:right}.list-wrap[data-v-f8e123db]{width:176px;color:#666;padding:8px;margin:-12px;display:flex;flex-wrap:wrap;align-content:flex-start}.list[data-v-f8e123db]{background-color:#f9f9f9;padding:4px 4px 4px 20px;cursor:pointer}.list[data-v-f8e123db]:not(:nth-child(3n)){margin-right:8px}.list[data-v-f8e123db]:nth-child(4),.list[data-v-f8e123db]:nth-child(5),.list[data-v-f8e123db]:nth-child(6){margin-top:8px}.list[data-v-f8e123db]:hover{color:#d14424}.list:hover span[data-v-f8e123db]{background-color:#d14424}.list-item[data-v-f8e123db]{width:24px;height:12px;position:relative;font-size:12px;top:-3px}.list-item span[data-v-f8e123db]{width:100%;height:2px;display:inline-block;position:absolute;top:8px;background-color:#666}.popover-btn[data-v-f8e123db]{padding:0 3px}.text-style-panel[data-v-82b69e69]{-webkit-user-select:none;user-select:none}.row[data-v-82b69e69]{width:100%;display:flex;align-items:center;margin-bottom:10px}.preset-style[data-v-82b69e69]{display:flex;flex-wrap:wrap;margin-bottom:10px}.preset-style-item[data-v-82b69e69]{width:50%;height:50px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;justify-content:center;align-items:center;position:relative;cursor:pointer;transition:all .2s}.preset-style-item[data-v-82b69e69]:hover{border-color:#d14424;color:#d14424;z-index:1}.preset-style-item[data-v-82b69e69]:nth-child(2n){margin-left:-1px}.preset-style-item[data-v-82b69e69]:nth-child(n+3){margin-top:-1px}.row[data-v-100c8a7c],.row[data-v-e7ba40ca]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-e7ba40ca]{text-align:right}.filter[data-v-e7ba40ca]{font-size:12px}.filter-item[data-v-e7ba40ca]{padding:6px 0;display:flex;justify-content:center;align-items:center}.filter-item .name[data-v-e7ba40ca]{width:60px}.filter-item .filter-slider[data-v-e7ba40ca]{flex:1;margin:0 6px}.presets[data-v-e7ba40ca]{margin-bottom:5px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-item[data-v-e7ba40ca]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;width:31%;margin-bottom:3.5%}.preset-item[data-v-e7ba40ca]:not(:nth-child(3n)){margin-right:3.5%}.preset-item img[data-v-e7ba40ca]{max-width:100%;max-height:120px}.preset-item .preset-label[data-v-e7ba40ca]{font-size:12px;color:#888}.row[data-v-51ffed2c]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-51ffed2c]{text-align:right}.row[data-v-b758ebc3]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-b758ebc3]{text-align:right}.origin-image[data-v-b758ebc3]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-b758ebc3]{width:100%;margin-bottom:10px}.btn-icon[data-v-b758ebc3]{margin-right:3px}.clip[data-v-b758ebc3]{width:260px;font-size:12px}.clip .title[data-v-b758ebc3]{margin-bottom:5px}.shape-clip[data-v-b758ebc3]{margin-bottom:10px;display:flex;flex-wrap:wrap;align-content:flex-start}.shape-clip-item[data-v-b758ebc3]{display:flex;justify-content:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-b758ebc3]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-b758ebc3]{background-color:#ccc}.shape-clip-item .shape[data-v-b758ebc3]{width:40px;height:40px;background-color:#e1e1e1}.popover-btn[data-v-b758ebc3]{padding:0 3px}.gradient-bar[data-v-c1273c7e]{width:calc(100% - 10px);height:18px;padding:1px 0;margin:3px 0;position:relative;left:5px}.gradient-bar .bar[data-v-c1273c7e]{height:16px;border:1px solid #d9d9d9}.gradient-bar .point[data-v-c1273c7e]{width:10px;height:18px;background-color:#fff;position:absolute;top:0;border:2px solid #fff;outline:1px solid #d9d9d9;box-shadow:0 0 2px 2px #d9d9d9;border-radius:1px;cursor:pointer}.gradient-bar .point.active[data-v-c1273c7e]{outline:1px solid #d14424;box-shadow:0 0 2px 2px #d14424}.shape-style-panel[data-v-2b49aafb]{-webkit-user-select:none;user-select:none}.row[data-v-2b49aafb]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-2b49aafb]{padding:0}.title[data-v-2b49aafb]{display:flex;justify-content:space-between;margin-bottom:10px}.shape-pool[data-v-2b49aafb]{width:235px;height:150px;overflow:auto;padding:5px 10px 5px 5px;border:1px solid #e5e7eb;margin-bottom:20px}.shape-list[data-v-2b49aafb]{display:flex;flex-wrap:wrap;align-content:flex-start}.shape-item[data-v-2b49aafb]{width:14%;margin-bottom:3.2%;height:0;padding-bottom:14%;flex-shrink:0}.shape-item[data-v-2b49aafb]:not(:nth-child(6n)){margin-right:3.2%}.row[data-v-149431ff]{width:100%;display:flex;align-items:center;margin-bottom:10px}.line-btn[data-v-149431ff]{display:flex;align-items:center;justify-content:space-between;padding:0!important}.line-btn .line-wrapper[data-v-149431ff]{margin-left:8px}.line-wrapper[data-v-149431ff]{overflow:visible}.line-btn-icon[data-v-149431ff]{width:30px;font-size:12px;margin-top:2px;color:#bfbfbf}.preset-point-style[data-v-149431ff]{padding:0 10px}.preset-point-style+.preset-point-style[data-v-149431ff]{margin-top:10px}.option[data-v-149431ff]{height:32px;padding:0 5px;border-radius:2px}.option[data-v-149431ff]:not(.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-149431ff]{color:#d14424;font-weight:700}.chart-data-editor[data-v-31747c29]{width:600px;position:relative}.editor-content[data-v-31747c29]{width:100%;height:360px;position:relative;border-right:1px solid #ccc;border-bottom:1px solid #ccc;padding-left:30px;padding-top:20px;overflow:auto;overflow:overlay}.range-box[data-v-31747c29]{position:absolute;top:20px;left:30px;z-index:100;-webkit-user-select:none;user-select:none}.temp-range[data-v-31747c29]{width:0;height:0;position:absolute;top:0;left:0;background-color:#8888884d}.range-line[data-v-31747c29]{width:0;height:0;position:absolute;left:0;top:0;border:0 solid #d14424}.range-line.t[data-v-31747c29]{border-top-width:1px}.range-line.b[data-v-31747c29]{border-bottom-width:1px}.range-line.l[data-v-31747c29]{border-left-width:1px}.range-line.r[data-v-31747c29]{border-right-width:1px}.resizable[data-v-31747c29]{position:absolute;width:12px;height:12px;left:0;top:0;margin:-9px 0 0 -9px;cursor:nwse-resize}.resizable[data-v-31747c29]:after{content:"";position:absolute;width:4px;height:12px;right:0;top:0;background-color:#d14424}.resizable[data-v-31747c29]:before{content:"";position:absolute;width:12px;height:4px;right:0;bottom:0;background-color:#d14424}table[data-v-31747c29]{width:100%;height:100%;-webkit-user-select:none;user-select:none;table-layout:fixed}table td[data-v-31747c29]{text-align:center;border:1px solid #ccc;vertical-align:middle;width:100px;height:32px}table td.head[data-v-31747c29]{background-color:#d1442414}table .item[data-v-31747c29]{width:100%;height:100%;border:0;outline:0;padding:0;font-size:13px;text-align:center;background-color:transparent}.btns[data-v-31747c29]{margin-top:10px;display:flex;justify-content:space-between}.btns .btn[data-v-31747c29]{margin-left:10px}.btns .left[data-v-31747c29]{display:flex;align-items:center;font-size:12px}.btns .left .change[data-v-31747c29]{color:#ccc;margin-left:5px;cursor:pointer}.btns .left .change[data-v-31747c29]:hover{text-decoration:underline}.col-header[data-v-31747c29]{width:auto;height:20px;position:absolute;top:0;left:30px;display:flex;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.col-header-item[data-v-31747c29]{width:100px;position:relative;border-right:1px solid #ccc}.col-key[data-v-31747c29]{font-size:10px;text-align:center;line-height:20px}.row-header[data-v-31747c29]{height:auto;width:30px;position:absolute;top:20px;left:0;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.row-header-item[data-v-31747c29]{height:32px;position:relative;border-bottom:1px solid #ccc}.row-key[data-v-31747c29]{height:100%;font-size:10px;display:flex;justify-content:center;align-items:center}.all-header[data-v-31747c29]{width:30px;height:20px;position:absolute;top:0;left:0;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.all-header .triangle[data-v-31747c29]{position:absolute;bottom:4px;right:4px}.checkbox[data-v-40b4de83]{height:20px;display:flex;align-items:center;cursor:pointer}.checkbox:not(.disabled).checked .checkbox-input[data-v-40b4de83]{background-color:#d14424;border-color:#d14424}.checkbox:not(.disabled).checked .checkbox-input[data-v-40b4de83]:after{transform:rotate(45deg) scaleY(1)}.checkbox:not(.disabled).checked .checkbox-label[data-v-40b4de83]{color:#d14424}.checkbox.disabled[data-v-40b4de83]{color:#b7b7b7;cursor:default}.checkbox.disabled .checkbox-input[data-v-40b4de83]{background-color:#f5f5f5}.checkbox-input[data-v-40b4de83]{display:inline-block;position:relative;border:1px solid #d9d9d9;border-radius:2px;width:16px;height:16px;background-color:#fff;vertical-align:middle;transition:border-color .15s cubic-bezier(.71,-.46,.29,1.46),background-color .15s cubic-bezier(.71,-.46,.29,1.46);z-index:1}.checkbox-input[data-v-40b4de83]:after{content:"";border:2px solid #fff;border-left:0;border-top:0;height:9px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:6px;transition:transform .15s ease-in .05s;transform-origin:center}.checkbox-original[data-v-40b4de83]{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.checkbox-label[data-v-40b4de83]{margin-left:5px;line-height:20px;font-size:13px;-webkit-user-select:none;user-select:none}.chart-style-panel[data-v-c779ea7f]{-webkit-user-select:none;user-select:none}.row[data-v-c779ea7f]{width:100%;display:flex;align-items:center;margin-bottom:10px}.full-width-btn[data-v-c779ea7f]{width:100%}.btn-icon[data-v-c779ea7f]{margin-right:3px}.color-btn-wrap[data-v-c779ea7f]{position:relative}.delete-color-btn[data-v-c779ea7f]{position:absolute;width:30px;right:2px;top:2px;bottom:2px;display:flex;justify-content:center;align-items:center;background-color:#fff;cursor:pointer}.preset-themes[data-v-c779ea7f]{width:250px;margin-bottom:-10px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-theme[data-v-c779ea7f]{display:flex;cursor:pointer;width:48%;margin-bottom:4%}.preset-theme[data-v-c779ea7f]:not(:nth-child(2n)){margin-right:4%}.preset-theme-color[data-v-c779ea7f]{width:20px;height:20px}.preset-theme-color.select[data-v-c779ea7f]{transform:scale(1.2);transition:transform .1s}.row[data-v-1c68b8b8]{width:100%;display:flex;align-items:center;margin-bottom:10px}.theme-switch[data-v-1c68b8b8]{margin-bottom:18px}.switch-wrapper[data-v-1c68b8b8]{text-align:right}.set-count[data-v-1c68b8b8]{display:flex;justify-content:center;align-items:center}.set-count .btn[data-v-1c68b8b8]{padding:0 8px}.set-count .count-text[data-v-1c68b8b8]{flex:1;text-align:center;margin:0 8px}.row[data-v-e173eae4],.row[data-v-b289959e]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-b289959e],.background-image-wrapper[data-v-b289959e]{margin-bottom:10px}.background-image[data-v-b289959e]{height:0;padding-bottom:56.25%;border:1px dashed #e5e7eb;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-b289959e]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-b289959e]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.switch-row[data-v-b289959e]{height:32px}.switch-wrapper[data-v-b289959e]{text-align:right}.row[data-v-685cdba7]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-row[data-v-685cdba7]{height:32px}.switch-wrapper[data-v-685cdba7]{text-align:right}.row[data-v-f0b44396]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-f0b44396]{padding:0}.option[data-v-f0b44396]{height:32px;padding:0 5px;border-radius:2px}.option[data-v-f0b44396]:not(.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-f0b44396]{color:#d14424;font-weight:700}.row[data-v-83cc71d7]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-83cc71d7]{margin-bottom:10px}.label[data-v-83cc71d7]{text-align:center}.btn-icon[data-v-83cc71d7]{margin-right:3px}.icon-btn[data-v-83cc71d7]{cursor:pointer}.icon-btn.active[data-v-83cc71d7]{color:#d14424}.text-btn[data-v-83cc71d7]{height:30px;line-height:30px;text-align:center;cursor:pointer}.text-btn[data-v-83cc71d7]:hover{background-color:#efefef;border-radius:2px}.element-animation-panel[data-v-d71f68dd]{height:100%;display:flex;flex-direction:column}.element-animation[data-v-d71f68dd]{height:32px;display:flex;align-items:center}.element-animation-btn[data-v-d71f68dd]{width:100%}.config-item[data-v-d71f68dd]{display:flex;align-items:center}.config-item+.config-item[data-v-d71f68dd]{margin-top:5px}.tip[data-v-d71f68dd]{height:32px;display:flex;justify-content:center;align-items:center;font-style:italic}.animation-pool[data-v-d71f68dd]{width:400px;height:500px;overflow-y:auto;overflow-x:hidden;font-size:12px;margin-right:-10px;padding-right:5px;position:relative}.animation-pool .mask[data-v-d71f68dd]{position:absolute;top:0;right:0;bottom:0;left:0}.animation-pool.in .type-title[data-v-d71f68dd]{border-left-color:#68a490;background-color:#68a49026}.animation-pool.out .type-title[data-v-d71f68dd]{border-left-color:#d86344;background-color:#d8634426}.animation-pool.attention .type-title[data-v-d71f68dd]{border-left-color:#e8b76a;background-color:#e8b76a26}.pool-type[data-v-d71f68dd]:not(:last-child){margin-bottom:5px}.type-title[data-v-d71f68dd]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:4px 0 4px 10px}.pool-item-wrapper[data-v-d71f68dd]{display:flex;flex-wrap:wrap;align-content:flex-start}.pool-item[data-v-d71f68dd]{width:24%;margin-bottom:calc(4% / 3);margin-bottom:5px;height:40px;line-height:40px;text-align:center;cursor:pointer}.pool-item[data-v-d71f68dd]:not(:nth-child(4n)){margin-right:calc(4% / 3)}.animation-box[data-v-d71f68dd]{background-color:#f9f9f9;border-radius:2px}.animation-sequence[data-v-d71f68dd]{flex:1;padding-right:12px;margin-right:-12px;overflow:auto;overflow:overlay}.sequence-item[data-v-d71f68dd]{border:1px solid #e5e7eb;padding:8px;border-radius:2px;margin-bottom:8px;transition:all .5s}.sequence-item.in.active[data-v-d71f68dd]{border-color:#68a490}.sequence-item.out.active[data-v-d71f68dd]{border-color:#d86344}.sequence-item.attention.active[data-v-d71f68dd]{border-color:#e8b76a}.sequence-item.active[data-v-d71f68dd]{height:auto}.sequence-item .sequence-content[data-v-d71f68dd]{display:flex;align-items:center;cursor:grab}.sequence-item .sequence-content[data-v-d71f68dd]:active{cursor:grabbing}.sequence-item .sequence-content .index[data-v-d71f68dd]{flex:1}.sequence-item .sequence-content .text[data-v-d71f68dd]{flex:6}.sequence-item .sequence-content .handler[data-v-d71f68dd]{flex:2;font-size:15px;text-align:right}.sequence-item .sequence-content .handler-btn[data-v-d71f68dd]{margin-left:8px;cursor:pointer}.theme-styles-extract[data-v-20d39df7]{height:500px;display:flex;flex-direction:column}.content[data-v-20d39df7]{flex:1;overflow:auto;padding-right:20px;margin-right:-20px}.config-item[data-v-20d39df7]{padding:12px 0 10px;border-bottom:1px dashed #f5f5f5;font-size:13px}.label[data-v-20d39df7]{margin-bottom:5px}.values .value-wrap[data-v-20d39df7]{display:flex;align-items:center;justify-content:space-between}.values .value-wrap+.value-wrap[data-v-20d39df7]{margin-top:3px}.values .handler[data-v-20d39df7]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-left:10px}.values .handler .state[data-v-20d39df7]{opacity:0}.values .handler .state.active[data-v-20d39df7]{opacity:1}.values .handler .config-btn[data-v-20d39df7]{cursor:pointer}.values .handler .config-btn[data-v-20d39df7]:hover{color:#d14424}.values .value[data-v-20d39df7]{width:150px;height:24px;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-size:12px;padding:5px;border-radius:2px}.btns[data-v-20d39df7]{margin-top:12px}.btns .btn[data-v-20d39df7]{width:100%}.slide-design-panel[data-v-17fccaef]{-webkit-user-select:none;user-select:none}.row[data-v-17fccaef]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-17fccaef]{display:flex;justify-content:space-between;margin-bottom:10px}.title .more[data-v-17fccaef]{cursor:pointer}.title .more .text[data-v-17fccaef]{font-size:12px;margin-right:3px}.background-image-wrapper[data-v-17fccaef]{margin-bottom:10px}.background-image[data-v-17fccaef]{height:0;padding-bottom:56.25%;border:1px dashed #e5e7eb;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-17fccaef]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-17fccaef]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-17fccaef]{display:flex;flex-wrap:wrap;align-content:flex-start}.theme-item[data-v-17fccaef]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-17fccaef]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-17fccaef]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;padding:8px;border:1px solid #e5e7eb;border-radius:2px}.theme-item .text[data-v-17fccaef]{font-size:16px}.theme-item .colors[data-v-17fccaef]{display:flex}.theme-item .color-block[data-v-17fccaef]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-17fccaef]{opacity:1}.theme-item .btns[data-v-17fccaef]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.option[data-v-17fccaef]{height:32px;padding:0 5px;border-radius:2px}.option[data-v-17fccaef]:not(.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-17fccaef]{color:#d14424;font-weight:700}.animation-pool[data-v-ae84c3f4]{display:flex;flex-wrap:wrap;margin-bottom:10px}.animation-item[data-v-ae84c3f4]{width:50%;height:100px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 0 15px;position:relative;cursor:pointer}.animation-item.active[data-v-ae84c3f4]{border-color:#d14424;z-index:1}.animation-item[data-v-ae84c3f4]:nth-child(2n){margin-left:-1px}.animation-item[data-v-ae84c3f4]:nth-child(n+3){margin-top:-1px}.animation-block[data-v-ae84c3f4]{width:64px;height:36px;background:#666;position:relative;overflow:hidden}.animation-block.fade[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:fade-ae84c3f4 .3s linear}.animation-block.slideX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX-ae84c3f4 .3s linear}.animation-block.slideY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY-ae84c3f4 .3s linear}.animation-block.slideX3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX3D-ae84c3f4 .3s linear}.animation-block.slideY3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY3D-ae84c3f4 .3s linear}.animation-block.rotate[data-v-ae84c3f4]:hover:after{transform-origin:0 0;content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:rotate-ae84c3f4 .3s linear}.animation-block.scaleY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleY-ae84c3f4 .3s linear}.animation-block.scaleX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleX-ae84c3f4 .3s linear}.animation-block.scale[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scale-ae84c3f4 .3s linear}.animation-block.scaleReverse[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleReverse-ae84c3f4 .3s linear}.animation-text[data-v-ae84c3f4]{font-size:12px;color:#333;text-align:center}@keyframes fade-ae84c3f4{0%{opacity:0}to{opacity:1}}@keyframes slideX-ae84c3f4{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slideY-ae84c3f4{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideX3D-ae84c3f4{0%{transform:translate(100%) scale(.5)}to{transform:translate(0)}}@keyframes slideY3D-ae84c3f4{0%{transform:translateY(100%) scale(.5)}to{transform:translateY(0)}}@keyframes rotate-ae84c3f4{0%{transform:rotate(-90deg)}to{transform:rotate(0)}}@keyframes scaleY-ae84c3f4{0%{transform:scaleY(.1)}to{transform:scaleY(1)}}@keyframes scaleX-ae84c3f4{0%{transform:scaleX(.1)}to{transform:scaleY(1)}}@keyframes scale-ae84c3f4{0%{transform:scale(.25)}to{transform:scale(1)}}@keyframes scaleReverse-ae84c3f4{0%{transform:scale(2)}to{transform:scale(1)}}.row[data-v-d41009b1]{width:100%;display:flex;align-items:center;margin-bottom:10px}.symbol-panel[data-v-0f662bb0]{height:100%;display:flex;flex-direction:column}.symbol-panel .pool[data-v-0f662bb0]{padding:5px 12px;margin:0 -12px;flex:1;font-size:18px;overflow:auto;overflow:overlay;display:flex;flex-wrap:wrap;align-content:flex-start}.symbol-panel .symbol-item[data-v-0f662bb0]{width:18%;margin-bottom:2.5%;height:0;padding-bottom:18%;position:relative;cursor:pointer;border:1px solid #e5e7eb}.symbol-panel .symbol-item[data-v-0f662bb0]:not(:nth-child(5n)){margin-right:2.5%}.symbol-panel .symbol-item[data-v-0f662bb0]:hover{color:#d14424}.symbol-panel .symbol-item .symbol[data-v-0f662bb0]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-color:#fff}.toolbar[data-v-83fff59a]{border-left:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column}.content[data-v-83fff59a]{padding:12px;font-size:13px;overflow:auto;overflow:overlay}.editor[data-v-4042a280]{height:100%;overflow:auto}.prosemirror-editor[data-v-4042a280]{height:100%;cursor:text}.prosemirror-editor[data-v-4042a280] .ProseMirror{height:100%;font-size:12px;overflow:auto;padding:8px;line-height:1.5}.prosemirror-editor[data-v-4042a280] .ProseMirror>p[data-placeholder]:before{content:attr(data-placeholder);pointer-events:none;position:absolute;font-size:12px;color:#66666680}.menu[data-v-4042a280]{display:flex;background-color:#fff;padding:6px 4px;border-radius:2px;box-shadow:0 0 20px #00000026}.menu button[data-v-4042a280]{outline:0;border:0;background-color:#fff;padding:3px;border-radius:2px;font-size:16px;margin:0 3px;display:flex;align-items:center;justify-content:center;cursor:pointer}.menu button[data-v-4042a280]:hover,.menu button.active[data-v-4042a280]{background-color:#d14424;color:#fff}.remark[data-v-1c52a472]{position:relative;border-top:1px solid #e5e7eb}.resize-handler[data-v-1c52a472]{height:7px;position:absolute;top:-3px;left:0;right:0;cursor:n-resize;z-index:2}.export-img-dialog[data-v-32b43d99]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-32b43d99]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-32b43d99]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.configs[data-v-32b43d99]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-32b43d99]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-32b43d99]{width:100px;position:relative}.configs .title[data-v-32b43d99]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-32b43d99]{flex:1}.btns[data-v-32b43d99]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-32b43d99]{flex:1}.btns .close[data-v-32b43d99]{width:100px;margin-left:10px}.export-json-dialog[data-v-aaf5a228]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.preview[data-v-aaf5a228]{width:100%;height:calc(100% - 100px);background-color:#f9f9f9;color:#0451a5;overflow:auto}pre[data-v-aaf5a228]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.btns[data-v-aaf5a228]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-aaf5a228]{flex:1}.btns .close[data-v-aaf5a228]{width:100px;margin-left:10px}[data-v-aaf5a228]::-webkit-scrollbar{width:10px;height:10px;background-color:transparent}[data-v-aaf5a228]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:5px}.export-pdf-dialog[data-v-d3a30d69]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-d3a30d69]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-d3a30d69]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.thumbnail.break-page[data-v-d3a30d69]{break-after:page}.configs[data-v-d3a30d69]{width:300px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-d3a30d69]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-d3a30d69]{width:100px}.configs .config-item[data-v-d3a30d69]{flex:1}.configs .tip[data-v-d3a30d69]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-d3a30d69]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-d3a30d69]{flex:1}.btns .close[data-v-d3a30d69]{width:100px;margin-left:10px}.export-pptx-dialog[data-v-254b6b07]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-254b6b07]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-254b6b07]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-254b6b07]{width:100px;position:relative}.configs .title[data-v-254b6b07]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-254b6b07]{flex:1}.configs .tip[data-v-254b6b07]{font-size:12px;color:#aaa;line-height:1.8;margin-top:10px}.btns[data-v-254b6b07]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-254b6b07]{flex:1}.btns .close[data-v-254b6b07]{width:100px;margin-left:10px}.export-pptist-dialog[data-v-bc56c9db]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-bc56c9db]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-bc56c9db]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-bc56c9db]{width:100px;position:relative}.configs .title[data-v-bc56c9db]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-bc56c9db]{flex:1}.configs .tip[data-v-bc56c9db]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-bc56c9db]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-bc56c9db]{flex:1}.btns .close[data-v-bc56c9db]{width:100px;margin-left:10px}.export-dialog[data-v-b54f4542]{margin:-20px}.content[data-v-b54f4542]{height:460px;padding:12px;font-size:13px;overflow:auto;overflow:overlay}.moveable-panel[data-v-3fb89101]{position:fixed;background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;border:1px solid #e5e7eb;border-radius:2px;display:flex;flex-direction:column;z-index:999}.resizer[data-v-3fb89101]{width:10px;height:10px;position:absolute;bottom:0;right:0;cursor:se-resize}.resizer[data-v-3fb89101]:after{content:"";position:absolute;bottom:-4px;right:-4px;transform:rotate(45deg);transform-origin:center;width:0;height:0;border:6px solid transparent;border-left-color:#e1e1e1}.header[data-v-3fb89101]{height:40px;display:flex;align-items:center;border-bottom:1px solid #f0f0f0;cursor:move}.title[data-v-3fb89101]{flex:1;font-size:13px;padding-left:10px}.close-btn[data-v-3fb89101]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.content[data-v-3fb89101]{flex:1;padding:10px;overflow:auto}.select-panel[data-v-d562651b]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.handler[data-v-d562651b]{height:24px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.handler .icon-btns[data-v-d562651b]{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end}.handler .icon-btn[data-v-d562651b]{width:16px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.handler .icon-btn[data-v-d562651b]:hover{color:#d14424}.element-list[data-v-d562651b]{height:calc(100% - 32px);padding-right:10px;margin-right:-10px;overflow:auto}.item[data-v-d562651b]{padding:5px;font-size:12px;border-radius:2px;display:flex;align-items:center;cursor:pointer}.item.active[data-v-d562651b]{background-color:#d144241a}.item.group-active[data-v-d562651b]{background-color:#d1442433}.item[data-v-d562651b]:hover{background-color:#d1442440}.item .name[data-v-d562651b]{height:18px;line-height:18px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item .icons[data-v-d562651b]{width:20px;display:flex;align-items:center;justify-content:center;margin-left:5px}.group-els[data-v-d562651b]{padding:5px 0}.group-els .group-title[data-v-d562651b]{margin-bottom:5px;padding:0 5px}.group-els .item[data-v-d562651b]{margin-left:15px}.input[data-v-d562651b]{width:100%;height:16px;border:0;outline:0;padding-left:0;padding-right:0;flex:1;font-size:12px;background-color:transparent}.search-panel[data-v-c6ed3d92]{font-size:13px}.content[data-v-c6ed3d92]{display:flex;flex-direction:column;justify-content:space-between}.input[data-v-c6ed3d92]{margin-top:10px}.count[data-v-c6ed3d92]{font-size:12px;margin-right:8px;-webkit-user-select:none;user-select:none}.ignore-case[data-v-c6ed3d92]{font-size:12px;-webkit-user-select:none;user-select:none;cursor:pointer}.ignore-case.active[data-v-c6ed3d92]{color:#d14424}.next-btn[data-v-c6ed3d92]{width:22px;height:100%;display:flex;justify-content:center;align-items:center;margin:0!important;-webkit-user-select:none;user-select:none;cursor:pointer}.next-btn[data-v-c6ed3d92]:hover{color:#d14424}.footer[data-v-c6ed3d92]{display:flex;justify-content:flex-end;align-items:center;margin-top:10px}.close-btn[data-v-c6ed3d92]{width:32px;height:32px;position:absolute;top:8px;right:3px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.notes-panel[data-v-d22b7a23]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.container[data-v-d22b7a23]{height:100%;display:flex;flex-direction:column}.notes[data-v-d22b7a23]{flex:1;overflow:auto;margin:0 -10px;padding:2px 12px}.empty[data-v-d22b7a23]{width:100%;height:100%;color:#999;font-style:italic;display:flex;justify-content:center;align-items:center}.note[data-v-d22b7a23]{border:1px solid #eee;border-radius:4px;padding:10px}.note+.note[data-v-d22b7a23]{margin-top:10px}.note.active[data-v-d22b7a23]{background-color:#f7f7f7}.note .header[data-v-d22b7a23]{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.note .header:hover .btns[data-v-d22b7a23]{opacity:1}.note .user[data-v-d22b7a23]{display:flex;align-items:center}.note .user .avatar[data-v-d22b7a23]{width:30px;height:30px;border-radius:50%;background-color:#42ba97;color:#fff;font-size:18px;display:flex;justify-content:center;align-items:center;margin-right:10px}.note .user .username[data-v-d22b7a23]{font-size:14px}.note .user .time[data-v-d22b7a23]{font-size:12px;color:#aaa}.note .btns[data-v-d22b7a23]{display:flex;align-items:center;opacity:0}.note .btns .btn[data-v-d22b7a23]{margin-left:5px;cursor:pointer}.note .btns .btn[data-v-d22b7a23]:hover{text-decoration:underline;color:#d14424}.note .replies[data-v-d22b7a23]{margin-left:20px;margin-top:15px}.note .replies .reply-item[data-v-d22b7a23]{margin-top:10px}.note .replies .reply-item .content[data-v-d22b7a23]{margin-top:5px}.note-reply[data-v-d22b7a23]{margin-top:15px}.reply-btns[data-v-d22b7a23]{margin-top:5px;text-align:right}.reply-btns .btn[data-v-d22b7a23]{margin-left:8px}.send[data-v-d22b7a23]{height:120px;flex-shrink:0;text-align:right;display:flex;flex-direction:column;justify-content:flex-end}.send .footer[data-v-d22b7a23]{margin-top:10px;display:flex}.send .footer .btn[data-v-d22b7a23]{display:flex;justify-content:center;align-items:center}.send .footer .btn.icon[data-v-d22b7a23]{font-size:18px;color:#666;cursor:pointer}.send .footer .btn+.btn[data-v-d22b7a23]{margin-left:8px}.notes-panel[data-v-ff22c094]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.container[data-v-ff22c094]{height:100%;display:flex;flex-direction:column}.row[data-v-ff22c094]{width:100%;display:flex;align-items:center}.row+.row[data-v-ff22c094]{margin-top:5px}.placeholder[data-v-ff22c094]{height:30px;line-height:30px;text-align:center;color:#999;font-style:italic;border:1px dashed #ccc;border-radius:2px;margin-top:5px}.aippt-dialog[data-v-11cc4aad]{margin:-20px;padding:30px}.header[data-v-11cc4aad]{margin-bottom:12px}.header .title[data-v-11cc4aad]{font-weight:700;font-size:18px;margin-right:8px}.header .subtite[data-v-11cc4aad]{color:#888;font-size:12px}.preview pre[data-v-11cc4aad]{max-height:450px;padding:10px;margin-bottom:15px;background-color:#f1f1f1;overflow:auto}.preview .btns[data-v-11cc4aad]{display:flex;justify-content:center;align-items:center}.preview .btns .btn[data-v-11cc4aad]{width:120px;margin:0 5px}.configs[data-v-11cc4aad]{margin-top:5px;display:flex;justify-content:space-between}.configs .items[data-v-11cc4aad]{display:flex}.configs .item[data-v-11cc4aad]{margin-right:5px}.recommends[data-v-11cc4aad]{display:flex;flex-wrap:wrap;margin-top:15px}.recommends .recommend[data-v-11cc4aad]{font-size:12px;background-color:#f1f1f1;border-radius:2px;padding:2px 4px;margin-right:5px;cursor:pointer}.count[data-v-11cc4aad]{font-size:12px;color:#999;margin-right:5px}.submit[data-v-11cc4aad]{height:20px;font-size:12px;background-color:#d14424;color:#fff;display:flex;align-items:center;padding:0 5px;border-radius:2px;cursor:pointer}.submit[data-v-11cc4aad]:hover{background-color:#de6949}.submit .icon[data-v-11cc4aad]{font-size:15px;margin-right:3px}.pptist-editor[data-v-017cd48e]{height:100%}.layout-header[data-v-017cd48e]{height:40px}.layout-content[data-v-017cd48e]{height:calc(100% - 40px);display:flex}.layout-content-left[data-v-017cd48e]{width:160px;height:100%;flex-shrink:0}.layout-content-center[data-v-017cd48e]{width:calc(100% - 420px)}.layout-content-center .center-top[data-v-017cd48e]{height:40px}.layout-content-right[data-v-017cd48e]{width:260px;height:100%}.screen-element-video[data-v-d9f232b0]{position:absolute}.rotate-wrapper[data-v-d9f232b0],.element-content[data-v-d9f232b0]{width:100%;height:100%}.screen-element-audio[data-v-db0543f3]{position:absolute}.rotate-wrapper[data-v-db0543f3]{width:100%;height:100%}.element-content[data-v-db0543f3]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.element-content:hover .audio-player[data-v-db0543f3]{display:block}.audio-icon[data-v-db0543f3]{cursor:pointer}.audio-player[data-v-db0543f3]{position:absolute;display:none}.link[data-v-28b05f52]{cursor:pointer}.screen-slide[data-v-54069779]{position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden}.background[data-v-54069779]{width:100%;height:100%;background-position:center;position:absolute}.screen-slide-list[data-v-30b01007]{background:#1d1d1d;position:relative;width:100%;height:100%}.slide-item[data-v-30b01007]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-30b01007]{z-index:2}.slide-item.hide[data-v-30b01007]{opacity:0}.slide-item.turning-mode-no.before[data-v-30b01007]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-30b01007]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-30b01007]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-30b01007],.slide-item.turning-mode-fade.after[data-v-30b01007]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-30b01007]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-30b01007]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-30b01007]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-30b01007]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-30b01007]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-30b01007]{transform:translateY(100%)}.slide-item.turning-mode-slideX3D[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-slideX3D.before[data-v-30b01007]{transform:translate(-100%) scale(.5)}.slide-item.turning-mode-slideX3D.after[data-v-30b01007]{transform:translate(100%) scale(.5)}.slide-item.turning-mode-slideY3D[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-slideY3D.before[data-v-30b01007]{transform:translateY(-100%) scale(.5)}.slide-item.turning-mode-slideY3D.after[data-v-30b01007]{transform:translateY(100%) scale(.5)}.slide-item.turning-mode-rotate[data-v-30b01007]{transition:transform .5s;transform-origin:0 0}.slide-item.turning-mode-rotate.before[data-v-30b01007]{transform:rotate(90deg)}.slide-item.turning-mode-rotate.after[data-v-30b01007]{transform:rotate(-90deg)}.slide-item.turning-mode-scaleY[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleY.before[data-v-30b01007],.slide-item.turning-mode-scaleY.after[data-v-30b01007]{transform:scaleY(.1)}.slide-item.turning-mode-scaleX[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleX.before[data-v-30b01007],.slide-item.turning-mode-scaleX.after[data-v-30b01007]{transform:scaleX(.1)}.slide-item.turning-mode-scale[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scale.before[data-v-30b01007],.slide-item.turning-mode-scale.after[data-v-30b01007]{transform:scale(.25)}.slide-item.turning-mode-scaleReverse[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleReverse.before[data-v-30b01007],.slide-item.turning-mode-scaleReverse.after[data-v-30b01007]{transform:scale(2)}.slide-content[data-v-30b01007]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.slide-thumbnails[data-v-09d790f0]{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#1a1a1a;z-index:99}.return-button[data-v-09d790f0]{height:60px;padding:20px 30px 0}.return-button .icon[data-v-09d790f0]{color:#fff;font-size:36px;cursor:pointer}.return-button .icon[data-v-09d790f0]:hover{color:#d14424}.slide-thumbnails-content[data-v-09d790f0]{height:calc(100% - 100px);padding:20px 30px 30px;display:flex;flex-wrap:wrap;align-content:flex-start;overflow:auto;overflow:overlay}.slide-thumbnails-content .thumbnail[data-v-09d790f0]{width:150px;outline:2px solid #aaa;margin-right:12px;margin-bottom:12px}.slide-thumbnails-content .thumbnail[data-v-09d790f0]:hover{outline-color:#d14424}.slide-thumbnails-content .thumbnail.active[data-v-09d790f0]{outline-width:3px;outline-color:#d14424}.writing-board[data-v-55ae5f6c]{z-index:8;cursor:none;position:absolute;top:0;right:0;bottom:0;left:0}.blackboard[data-v-55ae5f6c]{width:100%;height:100%;background-color:#0f392b}.canvas[data-v-55ae5f6c]{position:absolute;top:0;left:0}.eraser[data-v-55ae5f6c],.pen[data-v-55ae5f6c]{pointer-events:none;position:absolute;z-index:9}.eraser .icon[data-v-55ae5f6c],.pen .icon[data-v-55ae5f6c]{filter:drop-shadow(2px 2px 2px #555)}.eraser[data-v-55ae5f6c]{display:flex;justify-content:center;align-items:center;border-radius:50%;border:4px solid rgba(85,85,85,.15);color:#555555bf}.writing-board-tool[data-v-47295ef6]{font-size:12px;z-index:10;position:absolute;top:0;right:0;bottom:0;left:0}.writing-board-tool .writing-board-wrap[data-v-47295ef6]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.writing-board-tool .tools[data-v-47295ef6]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between}.writing-board-tool .tool-content[data-v-47295ef6]{display:flex;align-items:center}.writing-board-tool .btn[data-v-47295ef6]{padding:5px 10px;cursor:pointer}.writing-board-tool .btn[data-v-47295ef6]:hover{color:#d14424}.writing-board-tool .btn.active[data-v-47295ef6]{background-color:#d1442480;color:#fff}.writing-board-tool .icon[data-v-47295ef6]{font-size:20px}.writing-board-tool .colors[data-v-47295ef6]{display:flex;padding:0 10px}.writing-board-tool .color[data-v-47295ef6]{width:16px;height:16px;border-radius:2px;cursor:pointer}.writing-board-tool .color[data-v-47295ef6]:hover{transform:scale(1.15)}.writing-board-tool .color.active[data-v-47295ef6]{transform:scale(1.3)}.writing-board-tool .color+.color[data-v-47295ef6]{margin-left:8px}.size[data-v-47295ef6]{width:200px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;font-size:13px}.size .label[data-v-47295ef6]{width:70px}.size .size-slider[data-v-47295ef6]{flex:1}.countdown-timer[data-v-92c1f9be]{-webkit-user-select:none;user-select:none}.header[data-v-92c1f9be]{height:16px;font-size:13px;margin-bottom:16px;display:flex;align-items:center}.header .text-btn[data-v-92c1f9be]{margin-right:8px;cursor:pointer}.header .text-btn[data-v-92c1f9be]:hover,.header .text-btn.active[data-v-92c1f9be]{color:#d14424}.content[data-v-92c1f9be]{display:flex;justify-content:space-between;padding:0 5px}.timer[data-v-92c1f9be]{width:54px;height:54px;border-radius:50%;background-color:#d144240d;font-size:22px;overflow:hidden}.timer input[data-v-92c1f9be]{width:100%;height:100%;border:0;outline:0;background-color:transparent;text-align:center}.colon[data-v-92c1f9be]{height:54px;line-height:54px;font-size:22px}.icon-btn[data-v-92c1f9be]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.pause[data-v-92c1f9be],.play[data-v-92c1f9be]{font-size:17px}.reset[data-v-92c1f9be]{font-size:12px}.close-btn[data-v-92c1f9be]{position:absolute;top:0;right:0;padding:10px;cursor:pointer}.base-view[data-v-85c13201]{width:100%;height:100%}.base-view.laser-pen[data-v-85c13201]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.tools-left[data-v-85c13201]{position:fixed;bottom:8px;left:8px;font-size:25px;color:#666;z-index:10}.tools-left .tool-btn[data-v-85c13201]{opacity:.35;cursor:pointer}.tools-left .tool-btn[data-v-85c13201]:hover{opacity:.9}.tools-left .tool-btn+.tool-btn[data-v-85c13201]{margin-left:8px}.tools-right[data-v-85c13201]{height:66px;position:fixed;bottom:-66px;right:0;z-index:5;padding:8px;transition:bottom .2s}.tools-right.visible[data-v-85c13201]{bottom:0}.tools-right[data-v-85c13201]:after{content:"";width:100%;height:66px;position:absolute;left:0;top:-66px}.tools-right .content[data-v-85c13201]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:2px;font-size:25px;background-color:#fff;color:#41464b;padding:8px 10px;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed}.tools-right .tool-btn[data-v-85c13201]{cursor:pointer}.tools-right .tool-btn[data-v-85c13201]:hover,.tools-right .tool-btn.active[data-v-85c13201]{color:#d14424}.tools-right .tool-btn+.tool-btn[data-v-85c13201]{margin-left:15px}.tools-right .page-number[data-v-85c13201]{font-size:13px;padding:8px 12px;cursor:pointer}.presenter-view[data-v-acf86e50]{width:100%;height:100%;display:flex}.toolbar[data-v-acf86e50]{width:70px;height:100%;background-color:#fff;border-right:solid 1px #eee;font-size:12px;margin:20px 0}.toolbar .tool-btn[data-v-acf86e50]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer}.toolbar .tool-btn+.tool-btn[data-v-acf86e50]{margin-top:22px}.toolbar .tool-btn[data-v-acf86e50]:hover,.toolbar .tool-btn.active[data-v-acf86e50]{color:#d14424}.toolbar .divider[data-v-acf86e50]{width:70%;margin:24px 15%!important}.toolbar .tool-icon[data-v-acf86e50]{margin-bottom:8px;font-size:22px}.content[data-v-acf86e50]{width:calc(100% - 430px);height:100%;background-color:#1d1d1d}.slide-list-wrap[data-v-acf86e50]{height:calc(100% - 190px);margin:20px;overflow:hidden;position:relative}.slide-list-wrap.laser-pen[data-v-acf86e50]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.thumbnails[data-v-acf86e50]{height:150px;padding:15px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;border-top:solid 1px #3a3a3a}.thumbnail[data-v-acf86e50]{display:inline-block;outline:2px solid #aaa}.thumbnail+.thumbnail[data-v-acf86e50]{margin-left:10px}.thumbnail[data-v-acf86e50]:hover{outline-color:#d14424}.thumbnail.active[data-v-acf86e50]{outline-width:3px;outline-color:#d14424}.remark[data-v-acf86e50]{width:360px;height:100%;position:relative;background-color:#2a2a2a;border-left:solid 1px #3a3a3a;color:#fff}.remark .header[data-v-acf86e50]{height:60px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;font-size:18px;border-bottom:1px solid #3a3a3a}.remark .remark-content[data-v-acf86e50]{height:calc(100% - 60px);padding:20px;line-height:1.5;overflow:auto;overflow:overlay}.remark .remark-content.empty[data-v-acf86e50]{color:#999;font-style:italic}.remark .remark-scale[data-v-acf86e50]{position:absolute;right:5px;bottom:5px;font-size:22px;display:flex}.remark .scale-btn[data-v-acf86e50]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer}.remark .scale-btn.disable[data-v-acf86e50]{color:#666;cursor:no-drop}.remark .scale-btn[data-v-acf86e50]:not(.disable):hover{background-color:#333}[data-v-acf86e50]::-webkit-scrollbar{width:0;height:0}.pptist-screen[data-v-2f0dc4b8]{width:100%;height:100%}.mobile-operate[data-v-b61bf2dc]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.mobile-thumbnails[data-v-f47af55e]{padding:10px;white-space:nowrap;overflow-x:auto;overflow-y:hidden}.thumbnail-item[data-v-f47af55e]{position:relative;display:inline-block;outline:2px solid #aaa}.thumbnail-item+.thumbnail-item[data-v-f47af55e]{margin-left:10px}.thumbnail-item.active[data-v-f47af55e]{outline-color:#d14424}.thumbnail-item.active .label[data-v-f47af55e]{background-color:#d14424}.thumbnail-item .label[data-v-f47af55e]{min-width:20px;height:14px;line-height:14px;position:absolute;right:-1px;top:-1px;color:#fff;background-color:#aaa;z-index:1;font-size:12px;text-align:center;padding:0 5px}.sortable-chosen[data-v-f47af55e]{top:-5px}[data-v-f47af55e]::-webkit-scrollbar{width:0;height:0}.slide-toolbar[data-v-34808e39]{height:230px;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;position:relative;z-index:2}.remark[data-v-34808e39]{position:relative;flex:1;border-bottom:1px solid #e5e7eb;line-height:1.5}.remark textarea[data-v-34808e39]{width:100%;height:100%;overflow-y:auto;resize:none;border:0;outline:0;padding:8px 10px;font-size:12px;box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0}.toolbar[data-v-34808e39]{height:90px;border-bottom:1px solid #e5e7eb;padding:10px}.row[data-v-34808e39]{width:100%;display:flex;align-items:center;margin-bottom:5px}.row .icon[data-v-34808e39]{margin-right:3px}.element-toolbar[data-v-14deecba]{width:100%;height:240px;position:absolute;z-index:99;bottom:0;left:0;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;animation:slideInUp-14deecba .15s}@keyframes slideInUp-14deecba{0%{transform:translateY(100%)}to{transform:translateY(0)}}.content[data-v-14deecba]{padding:10px;flex:1;overflow:auto}.row[data-v-14deecba]{width:100%;display:flex;align-items:center;margin-bottom:10px}.row .icon[data-v-14deecba]{margin-right:3px}.row-block[data-v-14deecba]{margin-bottom:10px;background-color:#f9f9f9;border-radius:2px;padding:10px}.label[data-v-14deecba]{font-size:13px;margin-bottom:20px;margin-left:6px}.colors[data-v-14deecba]{display:flex;flex-wrap:wrap;align-content:flex-start}.color[data-v-14deecba]{width:12%;margin-bottom:calc(4% / 7);padding-bottom:5px;display:flex;justify-content:center;align-items:center}.color[data-v-14deecba]:not(:nth-child(8n)){margin-right:calc(4% / 7)}.color .color-block[data-v-14deecba]{width:30px;height:30px;border-radius:50%}.mobile-editor-header[data-v-091403e4]{height:50px;background-color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:13px;box-shadow:0 0 15px #0000001a;position:relative;z-index:2}.history[data-v-091403e4]{display:flex;justify-content:center;align-items:center}.history-item[data-v-091403e4]{margin-right:20px}.history-item.disable[data-v-091403e4]{opacity:.5}.mobile-editor[data-v-94103018]{height:100%;position:relative;background-color:#f9f9f9}.content[data-v-94103018]{height:calc(100% - 280px);display:flex;justify-content:center;align-items:center}.viewport[data-v-94103018]{transform-origin:0 0}.viewport-wrapper[data-v-94103018]{position:relative;box-shadow:0 0 0 1px #00000003,0 0 12px #0000001a}.background[data-v-94103018]{width:100%;height:100%;background-position:center;position:absolute}.mobile-player[data-v-c846a018]{transform-origin:0 0;background-color:#1d1d1d;position:relative}.screen-slide-list[data-v-c846a018]{position:relative;width:100%;height:100%}.slide-item[data-v-c846a018]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-c846a018]{z-index:2}.slide-item.hide[data-v-c846a018]{opacity:0}.slide-item.turning-mode-no.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-c846a018]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-c846a018]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-c846a018],.slide-item.turning-mode-fade.after[data-v-c846a018]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-c846a018]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-c846a018]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-c846a018]{transform:translateY(100%)}.slide-content[data-v-c846a018]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.header[data-v-c846a018]{width:100%;height:40px;line-height:40px;padding:0 15px;position:absolute;top:0;left:0;z-index:99;background-color:#1d1d1db3;text-align:right;font-size:13px;color:#fff;animation:slideInDown-c846a018 .15s}.header .back[data-v-c846a018]{height:100%}.thumbnails[data-v-c846a018]{width:100%;position:absolute;bottom:0;left:0;z-index:99;background-color:#1d1d1db3;overflow:auto!important;animation:slideInUp-c846a018 .15s}@keyframes slideInUp-c846a018{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInDown-c846a018{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.mobile-preview[data-v-99aa0ac4]{height:100%;background-color:#f9f9f9}.thumbnail-list[data-v-99aa0ac4]{height:calc(100% - 50px);padding:10px;overflow:auto}.thumbnail-item[data-v-99aa0ac4]{display:flex;justify-content:center;align-items:center;box-shadow:0 0 15px #0000001a}.thumbnail-item+.thumbnail-item[data-v-99aa0ac4]{margin-top:10px}.menu[data-v-99aa0ac4]{height:50px;position:relative;box-shadow:0 -2px 4px #3333330d;background:#fff;display:flex;justify-content:center;align-items:center}.menu .menu-item[data-v-99aa0ac4]{width:50%;height:100%;display:flex;justify-content:center;align-items:center;font-size:13px}.menu .menu-item .icon[data-v-99aa0ac4]{margin-right:8px;font-size:18px}.mobile[data-v-d02011cb],#app{height:100%}.i-icon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.i-icon-spin svg{animation:i-icon-spin 1s infinite linear}.i-icon-rtl{transform:scaleX(-1)}@keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}/*! +@charset "UTF-8";.message[data-v-5f638602]{max-width:600px}.message+.message[data-v-5f638602]{margin-top:15px}.message-container[data-v-5f638602]{min-width:50px;display:flex;align-items:center;padding:10px;font-size:13px;overflow:hidden;border-radius:2px;box-shadow:0 1px 8px #00000026;background:#fff;pointer-events:all;position:relative}.message-container .icons[data-v-5f638602]{display:flex;align-items:center;margin-right:10px}.message-container .title[data-v-5f638602]{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-container .content[data-v-5f638602]{width:100%}.message-container .description[data-v-5f638602]{line-height:1.5;color:#41464b}.message-container .title+.description[data-v-5f638602]{margin-top:5px}.message-container .control[data-v-5f638602]{position:relative;height:100%;margin-left:10px}.message-container .close-btn[data-v-5f638602]{font-size:15px;color:#666;display:flex;align-items:center;cursor:pointer}.message-container .close-btn[data-v-5f638602]:hover{color:#d14424}.message-fade-enter-active[data-v-5f638602]{animation:message-fade-in-down-5f638602 .3s}.message-fade-leave-active[data-v-5f638602]{animation:message-fade-out-5f638602 .3s}@keyframes message-fade-in-down-5f638602{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes message-fade-out-5f638602{0%{opacity:1;margin-top:0}to{opacity:0;margin-top:-45px}}.hotkey-doc[data-v-0762be00]{height:100%;overflow:auto;font-size:12px;margin:0 -15px;padding:0 15px 15px}.title[data-v-0762be00]{font-size:14px;font-weight:700;border-bottom:1px solid #e5e5e5;padding:25px 0 5px}.title[data-v-0762be00]:first-child{padding-top:0}.hotkey-item[data-v-0762be00]{border-bottom:1px solid #e5e5e5;padding:15px 0 5px;display:flex;align-items:center}.label[data-v-0762be00]{width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input[data-v-1bd53d05]{display:none}.fullscreen-spin[data-v-cb40f98b]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;justify-content:center;align-items:center}.fullscreen-spin.mask[data-v-cb40f98b]{background-color:#f1f1f1b3}.spin[data-v-cb40f98b]{width:200px;height:200px;position:fixed;top:50%;left:50%;margin-top:-100px;margin-left:-100px;display:flex;flex-direction:column;justify-content:center;align-items:center}.spinner[data-v-cb40f98b]{width:36px;height:36px;border:3px solid #d14424;border-top-color:transparent;border-radius:50%;animation:spinner-cb40f98b .8s linear infinite}.text[data-v-cb40f98b]{margin-top:20px;color:#d14424}@keyframes spinner-cb40f98b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.drawer[data-v-46f39759]{height:100%;position:fixed;top:0;bottom:0;z-index:5000;background:#fff;display:flex;flex-direction:column}.drawer.left[data-v-46f39759]{left:0;box-shadow:3px 0 6px -4px #0000001f,9px 0 28px 8px #0000000d}.drawer.right[data-v-46f39759]{right:0;box-shadow:-3px 0 6px -4px #0000001f,-9px 0 28px 8px #0000000d}.header[data-v-46f39759]{height:50px;padding:0 15px;position:relative;display:flex;align-items:center}.header .close-btn[data-v-46f39759]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:15px;right:15px;cursor:pointer}.content[data-v-46f39759]{padding:0 15px;overflow:auto;flex:1}.drawer-slide-right-enter-active[data-v-46f39759]{animation:drawer-slide-right-enter-46f39759 .25s both ease}.drawer-slide-right-leave-active[data-v-46f39759]{animation:drawer-slide-right-leave-46f39759 .25s both ease}.drawer-slide-left-enter-active[data-v-46f39759]{animation:drawer-slide-left-enter-46f39759 .25s both ease}.drawer-slide-left-leave-active[data-v-46f39759]{animation:drawer-slide-left-leave-46f39759 .25s both ease}@keyframes drawer-slide-right-enter-46f39759{0%{transform:translate(100%)}}@keyframes drawer-slide-right-leave-46f39759{to{transform:translate(100%)}}@keyframes drawer-slide-left-enter-46f39759{0%{transform:translate(-100%)}}@keyframes drawer-slide-left-leave-46f39759{to{transform:translate(-100%)}}.input[data-v-4c62eb45]{background-color:#fff;border:1px solid #d9d9d9;padding:0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:flex}.input input[data-v-4c62eb45]{min-width:0;height:30px;outline:0;border:0;line-height:30px;vertical-align:top;color:#41464b;padding:0 5px;flex:1;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.input input[data-v-4c62eb45]::placeholder{color:#bfbfbf}.input[data-v-4c62eb45]:not(.disabled):hover,.input.focused[data-v-4c62eb45]{border-color:#d14424}.input.disabled[data-v-4c62eb45]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.input.disabled input[data-v-4c62eb45]{color:#b7b7b7}.input.simple[data-v-4c62eb45]{border:0}.input .prefix[data-v-4c62eb45],.input .suffix[data-v-4c62eb45]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0}.popover.center[data-v-6a57fbcf]{display:flex;justify-content:center;align-items:center}.popover-content[data-v-6a57fbcf]{background-color:#fff;padding:10px;border:1px solid #e5e7eb;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;border-radius:2px;font-size:13px}.tippy-box[data-theme~=popover]{border:0;outline:0}.popover-menu-item[data-v-1f176c16]{min-width:80px;padding:6px 10px;border-radius:2px;font-size:13px;cursor:pointer}.popover-menu-item.center[data-v-1f176c16]{text-align:center}.popover-menu-item[data-v-1f176c16]:hover{background-color:#f1f1f1}.popover-menu-item+.popover-menu-item[data-v-1f176c16]{margin-top:2px}.editor-header[data-v-c5f9ed82]{background-color:#fff;-webkit-user-select:none;user-select:none;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:0 5px}.left[data-v-c5f9ed82],.right[data-v-c5f9ed82]{display:flex;justify-content:center;align-items:center}.menu-item[data-v-c5f9ed82]{height:30px;display:flex;justify-content:center;align-items:center;font-size:14px;padding:0 10px;border-radius:2px;cursor:pointer}.menu-item .icon[data-v-c5f9ed82]{font-size:18px;color:#666}.menu-item .text[data-v-c5f9ed82]{width:18px;text-align:center;font-size:16px}.menu-item[data-v-c5f9ed82]:hover{background-color:#f1f1f1}.group-menu-item[data-v-c5f9ed82]{height:30px;display:flex;margin:0 8px;padding:0 2px;border-radius:2px}.group-menu-item[data-v-c5f9ed82]:hover{background-color:#f1f1f1}.group-menu-item .menu-item[data-v-c5f9ed82]{padding:0 3px}.group-menu-item .arrow-btn[data-v-c5f9ed82]{display:flex;justify-content:center;align-items:center;cursor:pointer}.title[data-v-c5f9ed82]{height:30px;margin-left:2px;font-size:13px}.title .title-input[data-v-c5f9ed82]{width:200px;height:100%;padding-left:0;padding-right:0}.title .title-input[data-v-c5f9ed82] input{height:28px;line-height:28px}.title .title-text[data-v-c5f9ed82]{min-width:20px;max-width:400px;line-height:30px;padding:0 6px;border-radius:2px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.title .title-text[data-v-c5f9ed82]:hover{background-color:#f1f1f1}.github-link[data-v-c5f9ed82]{display:inline-block;height:30px}svg[data-v-09a0319c]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-19e68d74]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-a036b0a3]{overflow:visible;position:absolute;z-index:2;top:0;left:0}.image-clip-handler[data-v-31b3b0f9]{width:100%;height:100%;position:relative}.image-clip-handler .bottom-img[data-v-31b3b0f9]{top:0;left:0;width:100%;height:100%;opacity:.5}.image-clip-handler img[data-v-31b3b0f9]{width:100%;height:100%}.image-clip-handler .top-image-content[data-v-31b3b0f9]{position:absolute;overflow:hidden}.image-clip-handler .top-image-content img[data-v-31b3b0f9]{position:absolute}.operate[data-v-31b3b0f9]{position:absolute;width:100%;height:100%;top:0;left:0;cursor:move}.clip-point[data-v-31b3b0f9]{position:absolute;width:16px;height:16px}.clip-point svg[data-v-31b3b0f9]{overflow:visible}.clip-point.left-top[data-v-31b3b0f9]{left:0;top:0}.clip-point.right-top[data-v-31b3b0f9]{left:100%;top:0;transform:rotate(90deg);transform-origin:0 0}.clip-point.left-bottom[data-v-31b3b0f9]{left:0;top:100%;transform:rotate(-90deg);transform-origin:0 0}.clip-point.right-bottom[data-v-31b3b0f9]{left:100%;top:100%;transform:rotate(180deg);transform-origin:0 0}.clip-point.top[data-v-31b3b0f9]{left:50%;top:0;margin-left:-8px}.clip-point.bottom[data-v-31b3b0f9]{left:50%;bottom:0;margin-left:-8px;transform:rotate(180deg)}.clip-point.left[data-v-31b3b0f9]{left:0;top:50%;margin-top:-8px;transform:rotate(-90deg)}.clip-point.right[data-v-31b3b0f9]{right:0;top:50%;margin-top:-8px;transform:rotate(90deg)}.clip-point.left-top.rotate-0[data-v-31b3b0f9],.clip-point.right-bottom.rotate-0[data-v-31b3b0f9],.clip-point.left.rotate-45[data-v-31b3b0f9],.clip-point.right.rotate-45[data-v-31b3b0f9],.clip-point.left-bottom.rotate-90[data-v-31b3b0f9],.clip-point.right-top.rotate-90[data-v-31b3b0f9],.clip-point.top.rotate-135[data-v-31b3b0f9],.clip-point.bottom.rotate-135[data-v-31b3b0f9]{cursor:nwse-resize}.clip-point.top.rotate-0[data-v-31b3b0f9],.clip-point.bottom.rotate-0[data-v-31b3b0f9],.clip-point.left-top.rotate-45[data-v-31b3b0f9],.clip-point.right-bottom.rotate-45[data-v-31b3b0f9],.clip-point.left.rotate-90[data-v-31b3b0f9],.clip-point.right.rotate-90[data-v-31b3b0f9],.clip-point.left-bottom.rotate-135[data-v-31b3b0f9],.clip-point.right-top.rotate-135[data-v-31b3b0f9]{cursor:ns-resize}.clip-point.left-bottom.rotate-0[data-v-31b3b0f9],.clip-point.right-top.rotate-0[data-v-31b3b0f9],.clip-point.top.rotate-45[data-v-31b3b0f9],.clip-point.bottom.rotate-45[data-v-31b3b0f9],.clip-point.left-top.rotate-90[data-v-31b3b0f9],.clip-point.right-bottom.rotate-90[data-v-31b3b0f9],.clip-point.left.rotate-135[data-v-31b3b0f9],.clip-point.right.rotate-135[data-v-31b3b0f9]{cursor:nesw-resize}.clip-point.left.rotate-0[data-v-31b3b0f9],.clip-point.right.rotate-0[data-v-31b3b0f9],.clip-point.left-bottom.rotate-45[data-v-31b3b0f9],.clip-point.right-top.rotate-45[data-v-31b3b0f9],.clip-point.top.rotate-90[data-v-31b3b0f9],.clip-point.bottom.rotate-90[data-v-31b3b0f9],.clip-point.left-top.rotate-135[data-v-31b3b0f9],.clip-point.right-bottom.rotate-135[data-v-31b3b0f9]{cursor:ew-resize}.editable-element-image[data-v-86b9f3af]{position:absolute}.editable-element-image.lock .element-content[data-v-86b9f3af]{cursor:default}.rotate-wrapper[data-v-86b9f3af]{width:100%;height:100%}.element-content[data-v-86b9f3af]{width:100%;height:100%;position:relative;cursor:move}.element-content .image-content[data-v-86b9f3af]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-86b9f3af]{position:absolute}.color-mask[data-v-86b9f3af]{position:absolute;top:0;bottom:0;left:0;right:0}svg[data-v-e2ef58f5]{overflow:visible;position:absolute;top:0;left:0}.prosemirror-editor[data-v-c7cc0fa2]{cursor:text}.prosemirror-editor.format-painter[data-v-c7cc0fa2]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzUuMDEybC0uMDY2Ljk5OGE1LjI3MSA1LjI3MSAwIDAwLTEuMTg0LjA2IDMuOCAzLjggMCAwMC0uOTMzLjQ3MmMtLjQ0LjM1Ni0uNzgzLjgxMS0uOTk4IDEuMzI0bC4wMTgtLjAzNnY1LjEyaDEuMDR2Ljk4aC0xLjA0bC0uMDAyIDQuMTVjLjE4Ny40MjYuNDYuODEuNzkxIDEuMTE3bC4xNzUuMTUyYy4yOTMuMjA4LjYxNS4zNzMuODkuNDcyLjQxLjA4Mi44My4xMTIgMS4yNDkuMDlsLjA1Ny45OTlhNi4wNjMgNi4wNjMgMCAwMS0xLjU4OC0uMTI5IDQuODM2IDQuODM2IDAgMDEtMS4yNS0uNjQ3IDQuNDYzIDQuNDYzIDAgMDEtLjgzOC0uODgzYy0uMjI0LjMzMi0uNS42NDItLjgyNC45MjdhNC4xMSA0LjExIDAgMDEtMS4zMDUuNjMzQTYuMTI2IDYuMTI2IDAgMDEwIDE1LjkwOWwuMDY4LS45OTdjLjQyNC4wMjYuODUtLjAwMSAxLjIxNy0uMDcuMzM2LS4wOTkuNjUxLS4yNTQuODk0LS40My40My0uMzguNzY1LS44NDcuOTgyLTEuMzY4bC0uMDA1LjAxNFY4LjkzSDIuMTE1di0uOThoMS4wNFYyLjg2MmEzLjc3IDMuNzcgMCAwMC0uNzc0LTEuMTY3bC0uMTY1LS4xNTZhMy4wNjQgMy4wNjQgMCAwMC0uODgtLjQ0OEE1LjA2MiA1LjA2MiAwIDAwLjA2NyAxLjAxTDAgLjAxMmE2LjE0IDYuMTQgMCAwMTEuNTkyLjExYy40NTMuMTM1Ljg3Ny4zNDUgMS4yOS42NS4zLjI2NS41NjUuNTY0Ljc4Ny44OS4yMzMtLjMzMS41Mi0uNjM0Ljg1My0uOTA0YTQuODM1IDQuODM1IDAgMDExLjMtLjY0OEE2LjE1NSA2LjE1NSAwIDAxNy4zNS4wMTJ6IiBmaWxsPSIjMEQwRDBEIi8+PHBhdGggZD0iTTE3LjM1IDE0LjVsNC41LTQuNS02LTZjLTIgMi0zIDItNS41IDIuNS40IDMuMiA0LjgzMyA2LjY2NyA3IDh6bTQuNTg4LTQuNDkzYS4zLjMgMCAwMC40MjQgMGwuNjgtLjY4YTEuNSAxLjUgMCAwMDAtMi4xMjJMMjEuNjkgNS44NTNsMi4wMjUtMS41ODNhMS42MjkgMS42MjkgMCAxMC0yLjI3OS0yLjI5NmwtMS42MDMgMi4wMjItMS4zNTctMS4zNTdhMS41IDEuNSAwIDAwLTIuMTIxIDBsLS42OC42OGEuMy4zIDAgMDAwIC40MjVsNi4yNjMgNi4yNjN6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTE1Ljg5MiAzLjk2MnMtMS4wMyAxLjIwMi0yLjQ5NCAxLjg5Yy0xLjAwNi40NzQtMi4xOC41ODYtMi43MzQuNjI3LS4yLjAxNS0uMzQ0LjIxLS4yNzYuMzk5LjI5Mi44MiAxLjExMiAyLjggMi42NTggNC4zNDYgMi4xMjYgMi4xMjcgMy42NTggMi45NjggNC4xNDIgMy4yMDMuMS4wNDguMjE0LjAzLjI5OC0uMDQyLjM4Ni0uMzI1IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5Mi0uODg5IDIuMTg3LTIuNDQ3IDIuMTg3LTIuNDQ3bS40NzkuMDU1YS4zLjMgMCAwMS0uNDI0IDBsLTYuMjY0LTYuMjYzYS4zLjMgMCAwMTAtLjQyNWwuNjgtLjY4YTEuNSAxLjUgMCAwMTIuMTIyIDBsMS4zNTcgMS4zNTcgMS42MDMtMi4wMjJhMS42MjkgMS42MjkgMCAxMTIuMjggMi4yOTZMMjEuNjkgNS44NTNsMS4zNTIgMS4zNTJhMS41IDEuNSAwIDAxMCAyLjEyMmwtLjY4LjY4eiIgc3Ryb2tlPSIjMzMzIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+) 2 5,default!important}.editable-element-text[data-v-3b68a2d9]{position:absolute}.editable-element-text.lock .element-content[data-v-3b68a2d9]{cursor:default}.rotate-wrapper[data-v-3b68a2d9]{width:100%;height:100%}.element-content[data-v-3b68a2d9]{position:relative;padding:10px;line-height:1.5;word-break:break-word;cursor:move}.element-content .text[data-v-3b68a2d9]{position:relative}.element-content[data-v-3b68a2d9] a{cursor:text}.drag-handler[data-v-3b68a2d9]{height:10px;position:absolute;left:0;right:0}.drag-handler.top[data-v-3b68a2d9]{top:0}.drag-handler.bottom[data-v-3b68a2d9]{bottom:0}.editable-element-shape[data-v-48c2d216]{position:absolute;pointer-events:none}.editable-element-shape.lock .element-content[data-v-48c2d216]{cursor:default}.editable-element-shape.format-painter .element-content[data-v-48c2d216]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNzUgMTMuNzY0VjEuNDIxYS4zLjMgMCAwMS40NDgtLjI2bDEwLjkxIDYuMTk3YS4zLjMgMCAwMS0uMTE2LjU1OWwtNC4xOTYuNDQyIDIuNTgyIDQuNDcyYS4zLjMgMCAwMS0uMTEuNDFsLTMuMTg0IDEuODM4YS4zLjMgMCAwMS0uNDEtLjExbC0yLjU4MS00LjQ3Mi0yLjgxIDMuNDU2YS4zLjMgMCAwMS0uNTMzLS4xODl6IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNMjYgMTQuNWw0LjUtNC41LTYtNmMtMiAyLTMgMi01LjUgMi41LjQgMy4yIDQuODMzIDYuNjY3IDcgOHptNC41ODgtNC40OTRhLjMuMyAwIDAwLjQyNCAwbC42OC0uNjhhMS41IDEuNSAwIDAwMC0yLjEyMUwzMC4zNCA1Ljg1MmwyLjAyNi0xLjU4MmExLjYyOSAxLjYyOSAwIDEwLTIuMjgtMi4yOTZsLTEuNjAzIDIuMDIxLTEuMzU3LTEuMzU2YTEuNSAxLjUgMCAwMC0yLjEyIDBsLS42ODEuNjhhLjMuMyAwIDAwMCAuNDI0bDYuMjYzIDYuMjYzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNC41NDMgMy45NjFzLTEuMDMgMS4yMDItMi40OTQgMS44OTFjLTEuMDA2LjQ3NC0yLjE4MS41ODUtMi43MzQuNjI3LS4yLjAxNC0uMzQ0LjIwOS0uMjc3LjM5OC4yOTMuODIgMS4xMTIgMi44MDEgMi42NTggNC4zNDcgMi4xMjYgMi4xMjYgMy42NTkgMi45NjggNC4xNDIgMy4yMDIuMS4wNDguMjE1LjAzLjI5OS0uMDQxLjM4NS0uMzI2IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5MS0uODkgMi4xODYtMi40NDggMi4xODYtMi40NDhtLjQ4LjA1NWEuMy4zIDAgMDEtLjQyNSAwbC02LjI2My02LjI2M2EuMy4zIDAgMDEwLS40MjRsLjY4LS42OGExLjUgMS41IDAgMDEyLjEyMiAwbDEuMzU2IDEuMzU2IDEuNjA0LTIuMDIxYTEuNjI5IDEuNjI5IDAgMTEyLjI3OSAyLjI5NkwzMC4zNCA1Ljg1MmwxLjM1MyAxLjM1M2ExLjUgMS41IDAgMDEwIDIuMTIxbC0uNjguNjh6IiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=) 2 5,default!important}.rotate-wrapper[data-v-48c2d216]{width:100%;height:100%}.element-content[data-v-48c2d216]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-48c2d216]{transform-origin:0 0;overflow:visible}.element-content .shape-path[data-v-48c2d216]{pointer-events:all}.shape-text[data-v-48c2d216]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word;pointer-events:none}.shape-text.editable[data-v-48c2d216]{pointer-events:all}.shape-text.top[data-v-48c2d216]{justify-content:flex-start}.shape-text.middle[data-v-48c2d216]{justify-content:center}.shape-text.bottom[data-v-48c2d216]{justify-content:flex-end}.editable-element-shape[data-v-9dc09347]{position:absolute;pointer-events:none}.editable-element-shape.lock .line-path[data-v-9dc09347],.editable-element-shape.lock .line-point[data-v-9dc09347]{cursor:default}.element-content[data-v-9dc09347]{width:100%;height:100%;position:relative}.element-content svg[data-v-9dc09347]{transform-origin:0 0;overflow:visible}.line-path[data-v-9dc09347],.line-point[data-v-9dc09347]{pointer-events:all;cursor:move}.chart[data-v-1e5b5ad9]{width:100%;height:100%}.editable-element-chart[data-v-3b1105a2]{position:absolute}.editable-element-chart.lock .element-content[data-v-3b1105a2]{cursor:default}.rotate-wrapper[data-v-3b1105a2]{width:100%;height:100%}.element-content[data-v-3b1105a2]{width:100%;height:100%;overflow:hidden;cursor:move}.custom-textarea[data-v-cfadb975]{border:0;outline:0;-webkit-user-modify:read-write-plaintext-only}.editable-table[data-v-938823e2]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-938823e2]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-938823e2]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-938823e2]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-938823e2]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-938823e2]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-938823e2]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-938823e2]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-938823e2]:last-child{background-color:var(--themeColor)}table .cell[data-v-938823e2]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;font-size:14px;background-clip:padding-box;cursor:default}table .cell.selected[data-v-938823e2]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;background-color:#6666}table .cell-text[data-v-938823e2]{padding:5px;line-height:1.5;-webkit-user-select:none;user-select:none;cursor:text}table .cell-text.active[data-v-938823e2]{-webkit-user-select:text;user-select:text}.drag-line[data-v-938823e2]{position:absolute;top:0;bottom:0;width:3px;background-color:#d14424;margin-left:-1px;opacity:0;z-index:2;cursor:col-resize}.editable-element-table[data-v-7795910a]{position:absolute}.editable-element-table.lock .element-content[data-v-7795910a]{cursor:default}.rotate-wrapper[data-v-7795910a]{width:100%;height:100%}.element-content[data-v-7795910a]{width:100%;height:100%;position:relative;cursor:move}.table-mask[data-v-7795910a]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .2s}.table-mask .mask-tip[data-v-7795910a]{position:absolute;top:5px;left:5px;background-color:#00000080;color:#fff;padding:6px 12px;font-size:12px;transform-origin:0 0}.table-mask[data-v-7795910a]:hover:not(.lock){opacity:.9}.editable-element-latex[data-v-b73586f6]{position:absolute}.editable-element-latex.lock .element-content[data-v-b73586f6]{cursor:default}.rotate-wrapper[data-v-b73586f6]{width:100%;height:100%}.element-content[data-v-b73586f6]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-b73586f6]{transform-origin:0 0;overflow:visible}.video-player[data-v-597c0901]{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0}.video-player.hide-controller[data-v-597c0901]{cursor:none}.video-player.hide-controller .controller-mask[data-v-597c0901],.video-player.hide-controller .controller[data-v-597c0901]{opacity:0;transform:translateY(100%)}.video-wrap[data-v-597c0901]{position:relative;background:#000;font-size:0;width:100%;height:100%}.video-wrap .video[data-v-597c0901]{width:100%;height:100%}.controller-mask[data-v-597c0901]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==) repeat-x bottom;height:98px;width:100%;position:absolute;bottom:0;transition:all .3s ease}.controller[data-v-597c0901]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-597c0901]{padding:5px 0;cursor:pointer;position:absolute;bottom:33px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-597c0901]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-597c0901]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-597c0901]{opacity:0}.controller .bar-wrap .bar[data-v-597c0901]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-597c0901]{height:38px;position:absolute;bottom:0;display:flex;align-items:center}.controller .icons.icons-right[data-v-597c0901]{right:15px}.controller .icons .time[data-v-597c0901]{line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .icons .icon[data-v-597c0901]{width:40px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-597c0901]{font-size:26px}.controller .icons .icon .icon-content[data-v-597c0901]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.loop-icon[data-v-597c0901]{font-size:12px}.controller .icons .icon.loop-icon .icon-content[data-v-597c0901]{opacity:.5}.controller .icons .icon.speed-icon[data-v-597c0901]{font-size:12px;position:relative}.controller .icons .icon .speed-menu[data-v-597c0901]{width:70px;position:absolute;bottom:30px;left:-23px;background-color:#22211b;padding:5px 0;color:#ddd}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]{padding:8px 0;text-align:center}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]:hover{background-color:#393833;color:#fff}.controller .icons .icon .speed-menu .speed-menu-item.active[data-v-597c0901]{font-weight:700;color:#fff}.controller .icons .icon.active .icon-content[data-v-597c0901],.controller .icons .icon:hover .icon-content[data-v-597c0901]{opacity:1}.controller .icons .volume[data-v-597c0901]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-597c0901]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-597c0901]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-597c0901]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons .loop[data-v-597c0901]{display:inline-block;height:100%}.bezel[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:22px;color:#fff;pointer-events:none}.bezel .bezel-icon[data-v-597c0901]{position:absolute;top:50%;left:50%;margin:-26px 0 0 -26px;height:52px;width:52px;padding:12px;display:flex;justify-content:center;align-items:center;background:#00000080;border-radius:50%;opacity:0;pointer-events:none;font-size:40px}.bezel .bezel-icon.bezel-transition[data-v-597c0901]{animation:bezel-hide-597c0901 .5s linear}@keyframes bezel-hide-597c0901{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.load-error[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:15px;color:#fff;pointer-events:none;display:flex;justify-content:center;align-items:center}.editable-element-video[data-v-c50d3bc7]{position:absolute}.editable-element-video.lock .handler-border[data-v-c50d3bc7]{cursor:default}.rotate-wrapper[data-v-c50d3bc7]{width:100%;height:100%}.element-content[data-v-c50d3bc7]{width:100%;height:100%;position:relative}.handler-border[data-v-c50d3bc7]{position:absolute;cursor:move}.handler-border.t[data-v-c50d3bc7]{width:100%;height:20px;top:0;left:0}.handler-border.b[data-v-c50d3bc7]{width:100%;height:5px;bottom:0;left:0}.handler-border.l[data-v-c50d3bc7]{width:10px;height:100%;left:0;top:0}.handler-border.r[data-v-c50d3bc7]{width:10px;height:100%;right:0;top:0}.audio-player[data-v-32038f5c]{width:280px;height:50px;position:relative;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0;background:#000}.controller[data-v-32038f5c]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-32038f5c]{padding:5px 0;cursor:pointer;position:absolute;bottom:35px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-32038f5c]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-32038f5c]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-32038f5c]{opacity:0}.controller .bar-wrap .bar[data-v-32038f5c]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-32038f5c]{height:38px;position:absolute;bottom:0;left:14px;display:flex;align-items:center}.controller .icons .icon[data-v-32038f5c]{width:36px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-32038f5c]{font-size:26px}.controller .icons .icon .icon-content[data-v-32038f5c]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.active .icon-content[data-v-32038f5c],.controller .icons .icon:hover .icon-content[data-v-32038f5c]{opacity:1}.controller .icons .volume[data-v-32038f5c]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-32038f5c]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-32038f5c]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-32038f5c]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .time[data-v-32038f5c]{height:38px;position:absolute;right:20px;bottom:0;display:flex;align-items:center;line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .time .ptime[data-v-32038f5c]{margin-right:2px}.controller .time .dtime[data-v-32038f5c]{margin-left:2px}.editable-element-audio[data-v-07f623ea]{position:absolute}.editable-element-audio.lock .audio-icon[data-v-07f623ea]{cursor:default}.rotate-wrapper[data-v-07f623ea]{width:100%;height:100%}.element-content[data-v-07f623ea]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-07f623ea]{cursor:move}.audio-player[data-v-07f623ea]{position:absolute}.mouse-selection[data-v-053bfa3e]{position:absolute;background-color:#d144241a;border:1px solid #d14424;z-index:200}.mouse-selection.quadrant-1[data-v-053bfa3e]{transform-origin:50% 0;transform:rotate(180deg)}.mouse-selection.quadrant-2[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(180deg)}.mouse-selection.quadrant-3[data-v-053bfa3e]{transform-origin:0 50%;transform:rotate(180deg)}.mouse-selection.quadrant-4[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(0)}.grid-lines[data-v-93264269]{width:100%;height:100%;overflow:visible;z-index:999;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-background[data-v-203ea8ff]{width:100%;height:100%;background-position:center;position:absolute}.alignment-line[data-v-7cd3d25d]{position:absolute;z-index:100}.alignment-line .line[data-v-7cd3d25d]{width:0;height:0;border:0 dashed #d14424}.alignment-line .line.vertical[data-v-7cd3d25d]{transform:translateY(-.5px);border-left-width:1px}.alignment-line .line.horizontal[data-v-7cd3d25d]{transform:translate(-.5px);border-top-width:1px}.ruler[data-v-c6df5cc2]{font-size:12px}.h[data-v-c6df5cc2]{position:absolute;background-color:#fff;border:1px solid #e5e7eb;height:20px;top:5px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.h .range[data-v-c6df5cc2]{position:absolute;top:0;bottom:0;background-color:#d144241a}.h .ruler-marker-100[data-v-c6df5cc2]{height:100%;line-height:20px;text-align:right;flex-shrink:0;padding-right:5px;position:relative}.h .ruler-marker-100.hide span[data-v-c6df5cc2]{display:none}.h .ruler-marker-100.omit[data-v-c6df5cc2]:before{display:none}.h .ruler-marker-100[data-v-c6df5cc2]:not(:last-child):after{content:"";width:.1px;height:12px;position:absolute;right:0;bottom:0;background-color:#999}.h .ruler-marker-100[data-v-c6df5cc2]:before{content:"";width:.1px;height:8px;position:absolute;right:50%;bottom:0;background-color:#999}.v[data-v-c6df5cc2]{position:absolute;background-color:#fff;border:1px solid #e5e7eb;width:20px;left:5px;overflow:hidden}.v .range[data-v-c6df5cc2]{position:absolute;left:0;right:0;background-color:#d144241a}.v .ruler-marker-100[data-v-c6df5cc2]{width:100%;line-height:20px;text-align:right;padding-bottom:5px;position:relative;writing-mode:vertical-rl}.v .ruler-marker-100.hide span[data-v-c6df5cc2]{display:none}.v .ruler-marker-100.omit[data-v-c6df5cc2]:before{display:none}.v .ruler-marker-100[data-v-c6df5cc2]:not(:last-child):after{content:"";height:.1px;width:12px;position:absolute;bottom:0;right:0;background-color:#999}.v .ruler-marker-100[data-v-c6df5cc2]:before{content:"";height:.1px;width:8px;position:absolute;bottom:50%;right:0;background-color:#999}.element-create-selection[data-v-7b17a883]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.element-create-selection svg[data-v-7b17a883]{overflow:visible}.selection[data-v-7b17a883]{position:absolute;opacity:.8}.selection[data-v-7b17a883]:not(.line){border:1px solid #d14424}.shape-create-canvas[data-v-8ea8c340]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.shape-create-canvas svg[data-v-8ea8c340]{width:100%;height:100%;overflow:visible}.resize-handler[data-v-bb3f9e62]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:pointer}.resize-handler.left-top.rotate-0[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left.rotate-45[data-v-bb3f9e62],.resize-handler.right.rotate-45[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.right-top.rotate-90[data-v-bb3f9e62],.resize-handler.top.rotate-135[data-v-bb3f9e62],.resize-handler.bottom.rotate-135[data-v-bb3f9e62]{cursor:nwse-resize}.resize-handler.top.rotate-0[data-v-bb3f9e62],.resize-handler.bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left-top.rotate-45[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left.rotate-90[data-v-bb3f9e62],.resize-handler.right.rotate-90[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-135[data-v-bb3f9e62],.resize-handler.right-top.rotate-135[data-v-bb3f9e62]{cursor:ns-resize}.resize-handler.left-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.right-top.rotate-0[data-v-bb3f9e62],.resize-handler.top.rotate-45[data-v-bb3f9e62],.resize-handler.bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left-top.rotate-90[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left.rotate-135[data-v-bb3f9e62],.resize-handler.right.rotate-135[data-v-bb3f9e62]{cursor:nesw-resize}.resize-handler.left.rotate-0[data-v-bb3f9e62],.resize-handler.right.rotate-0[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.right-top.rotate-45[data-v-bb3f9e62],.resize-handler.top.rotate-90[data-v-bb3f9e62],.resize-handler.bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left-top.rotate-135[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-135[data-v-bb3f9e62]{cursor:ew-resize}.border-line[data-v-7114fb45]{position:absolute;width:0;height:0;left:0;top:0;border:0 dashed #d14424}.border-line.top[data-v-7114fb45]{border-top-width:1px}.border-line.bottom[data-v-7114fb45]{border-bottom-width:1px}.border-line.left[data-v-7114fb45]{border-left-width:1px}.border-line.right[data-v-7114fb45]{border-right-width:1px}.border-line.wide[data-v-7114fb45]:before{content:"";position:absolute;background:transparent;cursor:move}.border-line.wide.top[data-v-7114fb45]:before{top:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.bottom[data-v-7114fb45]:before{bottom:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.left[data-v-7114fb45]:before{top:-8px;left:-8px;width:16px;height:calc(100% + 16px)}.border-line.wide.right[data-v-7114fb45]:before{top:-8px;right:-8px;width:16px;height:calc(100% + 16px)}.multi-select-operate[data-v-135c8cb7]{position:absolute;top:0;left:0;z-index:101}.rotate-handler[data-v-9f21fc0f]{position:absolute;width:10px;height:10px;top:-25px;margin-left:-5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:grab}.rotate-handler[data-v-9f21fc0f]:active{cursor:grabbing}.image-element-operate.cliping[data-v-2a1bef4e]{visibility:hidden}.operate-keypoint-handler[data-v-11747e5a]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#ffe873;border-radius:1px}svg[data-v-9dea4d6a]{position:absolute;left:0;top:0;pointer-events:none;transform-origin:0 0}.anchor-line[data-v-9dea4d6a]{stroke-width:1px;stroke-dasharray:5 5;opacity:.5}.divider.horizontal[data-v-80adabfa]{width:100%;margin:24px 0;border-block-start:1px solid rgba(5,5,5,.06)}.divider.vertical[data-v-80adabfa]{position:relative;height:1em;display:inline-block;margin:0 8px;border-inline-start:1px solid rgba(5,5,5,.06)}.link-handler[data-v-f8f46f78]{height:30px;position:absolute;left:0;font-size:12px;padding:0 10px;background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;display:flex;align-items:center;color:#d14424}.link[data-v-f8f46f78]{max-width:300px;margin-right:20px;word-break:keep-all;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.btns[data-v-f8f46f78]{display:flex;align-items:center}.btns .btn[data-v-f8f46f78]{word-break:keep-all;cursor:pointer}.operate[data-v-7c6be7e7]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.operate.multi-select[data-v-7c6be7e7]{opacity:.2}.animation-index[data-v-7c6be7e7]{position:absolute;top:0;left:-24px;font-size:12px}.animation-index .index-item[data-v-7c6be7e7]{width:18px;height:18px;background-color:#fff;color:#d14424;border:1px solid #d14424;display:flex;justify-content:center;align-items:center}.animation-index .index-item+.index-item[data-v-7c6be7e7]{margin-top:5px}.base-element-image[data-v-67c9bdc0]{position:absolute}.rotate-wrapper[data-v-67c9bdc0]{width:100%;height:100%}.element-content[data-v-67c9bdc0]{width:100%;height:100%;position:relative}.element-content .image-content[data-v-67c9bdc0]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-67c9bdc0]{position:absolute}.color-mask[data-v-67c9bdc0]{position:absolute;top:0;bottom:0;left:0;right:0}.base-element-text[data-v-a3ec163d]{position:absolute}.rotate-wrapper[data-v-a3ec163d]{width:100%;height:100%}.element-content[data-v-a3ec163d]{position:relative;padding:10px;line-height:1.5;word-break:break-word}.element-content .text[data-v-a3ec163d]{position:relative}.element-content .text.thumbnail[data-v-a3ec163d]{pointer-events:none}.base-element-shape[data-v-ed406be1]{position:absolute}.rotate-wrapper[data-v-ed406be1]{width:100%;height:100%}.element-content[data-v-ed406be1]{width:100%;height:100%;position:relative}.element-content svg[data-v-ed406be1]{transform-origin:0 0;overflow:visible}.shape-text[data-v-ed406be1]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word}.shape-text.top[data-v-ed406be1]{justify-content:flex-start}.shape-text.middle[data-v-ed406be1]{justify-content:center}.shape-text.bottom[data-v-ed406be1]{justify-content:flex-end}.base-element-line[data-v-833e88cd]{position:absolute}.element-content[data-v-833e88cd]{width:100%;height:100%;position:relative}.element-content svg[data-v-833e88cd]{transform-origin:0 0;overflow:visible}.base-element-chart[data-v-5a1fd6e3]{position:absolute}.base-element-chart.is-thumbnail[data-v-5a1fd6e3]{pointer-events:none}.rotate-wrapper[data-v-5a1fd6e3],.element-content[data-v-5a1fd6e3]{width:100%;height:100%}.static-table[data-v-6d887dcd]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-6d887dcd]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-6d887dcd]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-6d887dcd]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-6d887dcd]:last-child{background-color:var(--themeColor)}table .cell[data-v-6d887dcd]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;background-clip:padding-box}table .cell-text[data-v-6d887dcd]{padding:5px;line-height:1.5}.base-element-table[data-v-77cfa6e4]{position:absolute}.rotate-wrapper[data-v-77cfa6e4]{width:100%;height:100%}.element-content[data-v-77cfa6e4]{width:100%;height:100%;position:relative}.base-element-latex[data-v-93374af9]{position:absolute}.rotate-wrapper[data-v-93374af9]{width:100%;height:100%}.element-content[data-v-93374af9]{width:100%;height:100%;position:relative}.element-content svg[data-v-93374af9]{transform-origin:0 0;overflow:visible}.base-element-video[data-v-2fb0e771]{position:absolute}.rotate-wrapper[data-v-2fb0e771]{width:100%;height:100%}.element-content[data-v-2fb0e771]{width:100%;height:100%;background-color:#000;background-position:center;background-size:contain;background-repeat:no-repeat;display:flex;justify-content:center;align-items:center}.icon[data-v-2fb0e771]{font-size:140px;color:#aaa}.base-element-audio[data-v-b33e6120]{position:absolute}.rotate-wrapper[data-v-b33e6120]{width:100%;height:100%}.element-content[data-v-b33e6120]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-b33e6120]{cursor:move}.thumbnail-slide[data-v-c8cdb1af]{background-color:#fff;overflow:hidden;-webkit-user-select:none;user-select:none}.elements[data-v-c8cdb1af]{transform-origin:0 0}.background[data-v-c8cdb1af]{width:100%;height:100%;background-position:center;position:absolute}.placeholder[data-v-c8cdb1af]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.tabs[data-v-c7f9dce0]{display:flex;-webkit-user-select:none;user-select:none;line-height:1}.tabs[data-v-c7f9dce0]:not(.card){font-size:13px;align-items:center;justify-content:flex-start;border-bottom:1px solid #e5e7eb}.tabs:not(.card).space-around[data-v-c7f9dce0]{justify-content:space-around}.tabs:not(.card).space-between[data-v-c7f9dce0]{justify-content:space-between}.tabs:not(.card) .tab[data-v-c7f9dce0]{text-align:center;border-bottom:2px solid transparent;padding:8px 10px;cursor:pointer}.tabs:not(.card) .tab.active[data-v-c7f9dce0]{border-bottom:2px solid var(--color, #d14424)}.tabs.card[data-v-c7f9dce0]{height:40px;font-size:12px;flex-shrink:0}.tabs.card .tab[data-v-c7f9dce0]{flex:1;display:flex;justify-content:center;align-items:center;background-color:#f9f9f9;border-bottom:1px solid #e5e7eb;cursor:pointer}.tabs.card .tab.active[data-v-c7f9dce0]{background-color:transparent;border-bottom-color:transparent}.tabs.card .tab+.tab[data-v-c7f9dce0]{border-left:1px solid #e5e7eb}.button[data-v-3a484f58]{height:32px;line-height:32px;outline:0;font-size:13px;padding:0 15px;text-align:center;color:#41464b;border-radius:2px;-webkit-user-select:none;user-select:none;letter-spacing:1px;cursor:pointer}.button.small[data-v-3a484f58]{height:24px;line-height:24px;padding:0 7px;letter-spacing:0;font-size:12px}.button.default[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.default[data-v-3a484f58]:hover{color:#d14424;border-color:#d14424}.button.primary[data-v-3a484f58]{background-color:#d14424;border:1px solid #d14424;color:#fff}.button.primary[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.checkbox[data-v-3a484f58],.button.radio[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.checkbox[data-v-3a484f58]:not(.checked):hover,.button.radio[data-v-3a484f58]:not(.checked):hover{color:#d14424}.button.checked[data-v-3a484f58]{color:#fff;background-color:#d14424;border-color:#d14424}.button.checked[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.disabled[data-v-3a484f58]{background-color:#f5f5f5;border:1px solid #d9d9d9;color:#b7b7b7;cursor:default}.select[data-v-eb1f268a]{width:100%;height:32px;padding-right:32px;border-radius:2px;transition:border-color .25s;font-size:13px;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #d9d9d9;position:relative;cursor:pointer}.select[data-v-eb1f268a]:not(.disabled):hover{border-color:#d14424}.select.disabled[data-v-eb1f268a]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7;cursor:default}.select .selector[data-v-eb1f268a]{min-width:50px;height:30px;line-height:30px;padding-left:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.options[data-v-eb1f268a]{max-height:260px;padding:5px;overflow:auto;text-align:left;font-size:13px;-webkit-user-select:none;user-select:none}.option[data-v-eb1f268a]{height:32px;line-height:32px;padding:0 5px;border-radius:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option.disabled[data-v-eb1f268a]{color:#b7b7b7}.option[data-v-eb1f268a]:not(.disabled,.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-eb1f268a]{color:#d14424;font-weight:700}.icon[data-v-eb1f268a]{width:32px;height:30px;color:#bfbfbf;position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center}.link-dialog[data-v-853e5bc2]{font-size:13px;line-height:1.675}.input[data-v-853e5bc2]{width:100%;height:32px}.preview[data-v-853e5bc2]{margin-top:12px}.thumbnail[data-v-853e5bc2]{border:1px solid rgba(209,68,36,.15);margin-top:5px;border-radius:2px}.btns[data-v-853e5bc2]{margin-top:20px;text-align:right}.modal[data-v-4d27bcca],.mask[data-v-4d27bcca]{top:0;left:0;width:100%;height:100%;z-index:5000}.modal[data-v-4d27bcca]{position:fixed;display:flex;justify-content:center;align-items:center;outline:0;border:0}.mask[data-v-4d27bcca]{position:absolute;background:#00000040}.modal-content[data-v-4d27bcca]{z-index:5001;padding:20px;background:#fff;border-radius:2px;overflow:hidden;box-shadow:0 1px 3px #0003;position:relative}.close-btn[data-v-4d27bcca]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:16px;right:16px;cursor:pointer}.modal-fade-enter-active[data-v-4d27bcca]{animation:modal-fade-enter-4d27bcca .25s both ease-in}.modal-fade-leave-active[data-v-4d27bcca]{animation:modal-fade-leave-4d27bcca .25s both ease-out}.modal-zoom-enter-active[data-v-4d27bcca]{animation:modal-zoom-enter-4d27bcca .25s both cubic-bezier(.4,0,0,1.5)}.modal-zoom-leave-active[data-v-4d27bcca]{animation:modal-zoom-leave-4d27bcca .25s both}@keyframes modal-fade-enter-4d27bcca{0%{opacity:0}}@keyframes modal-fade-leave-4d27bcca{to{opacity:0}}@keyframes modal-zoom-enter-4d27bcca{0%{transform:scale3d(.3,.3,.3)}}@keyframes modal-zoom-leave-4d27bcca{to{transform:scale3d(.3,.3,.3)}}.canvas[data-v-904dbab0]{height:100%;-webkit-user-select:none;user-select:none;overflow:hidden;background-color:#f9f9f9;position:relative}.drag-mask[data-v-904dbab0]{cursor:grab;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-wrapper[data-v-904dbab0]{position:absolute;box-shadow:0 0 0 1px #00000003,0 0 12px #0000001a}.viewport[data-v-904dbab0]{position:absolute;top:0;left:0;transform-origin:0 0}.shape-item-thumbnail[data-v-2896ae03]{position:relative;cursor:pointer}.shape-content[data-v-2896ae03]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center}.shape-content:hover .shape-path[data-v-2896ae03]:not(.outlined){stroke:#d14424}.shape-content:hover .shape-path.outlined[data-v-2896ae03]{fill:#d14424}.shape-content svg[data-v-2896ae03]:not(:root){overflow:visible}.shape-pool[data-v-d92f642a]{width:340px;max-height:520px;overflow:auto;margin-top:-8px;margin-bottom:-8px;margin-right:-10px;padding-right:10px;padding-top:10px}.category-name[data-v-d92f642a]{width:100%;font-size:12px;margin-bottom:10px;border-left:4px solid #bbb;background-color:#f1f1f1;padding:3px 0 3px 8px;color:#555}.shape-list[data-v-d92f642a]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.shape-item[data-v-d92f642a]{width:8%;margin-bottom:calc(20% / 9);height:0;padding-bottom:8%;flex-shrink:0}.shape-item[data-v-d92f642a]:not(:nth-child(10n)){margin-right:calc(20% / 9)}.line-pool[data-v-fd42a3c4]{width:220px;overflow:auto;margin-bottom:-12px;margin-right:-12px;padding-right:12px}.category-name[data-v-fd42a3c4]{width:100%;font-size:12px;margin-bottom:10px;border-left:4px solid #bbb;background-color:#f1f1f1;padding:3px 0 3px 8px;color:#555}.line-list[data-v-fd42a3c4]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.line-item[data-v-fd42a3c4]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.line-item[data-v-fd42a3c4]:not(:nth-child(5n)){margin-right:1.25%}.line-content[data-v-fd42a3c4]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.line-content[data-v-fd42a3c4]:hover{color:#d14424}.line-content svg[data-v-fd42a3c4]:not(:root){overflow:visible}.chart-pool[data-v-55770a5d]{width:240px;margin-bottom:-5px;display:flex;flex-wrap:wrap;align-content:flex-start}.chart-item[data-v-55770a5d]{width:24%;margin-bottom:calc(4% / 3);height:0;padding-bottom:25%;flex-shrink:0;position:relative;cursor:pointer}.chart-item[data-v-55770a5d]:not(:nth-child(4n)){margin-right:calc(4% / 3)}.chart-content[data-v-55770a5d]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#999}.chart-content[data-v-55770a5d]:hover{color:#d14424}.chart-content .name[data-v-55770a5d]{margin-top:4px}.number-input[data-v-ba8ef208]{background-color:#fff;border:1px solid #d9d9d9;padding:0 0 0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:inline-flex}.number-input .input-wrap[data-v-ba8ef208]{flex:1;color:#41464b;padding:0 0 0 5px;position:relative}.number-input:not(.disabled) .input-wrap:hover .handlers[data-v-ba8ef208]{opacity:1}.number-input .handlers[data-v-ba8ef208]{width:20px;position:absolute;top:0;bottom:0;right:0;display:flex;flex-direction:column;font-size:6px;color:#999;opacity:0;-webkit-user-select:none;user-select:none;transition:opacity .25s}.number-input .handlers .handler[data-v-ba8ef208]{width:100%;height:50%;display:flex;justify-content:center;align-items:center;border-left:1px solid #d9d9d9;cursor:pointer}.number-input .handlers .handler+.handler[data-v-ba8ef208]{border-top:1px solid #d9d9d9}.number-input .handlers .handler[data-v-ba8ef208]:hover{color:#d14424}.number-input input[data-v-ba8ef208]{width:100%;min-width:0;padding:0;height:30px;line-height:30px;outline:0;border:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.number-input input[data-v-ba8ef208]::placeholder{color:#bfbfbf}.number-input[data-v-ba8ef208]:not(.disabled):hover,.number-input.focused[data-v-ba8ef208]{border-color:#d14424}.number-input.disabled[data-v-ba8ef208]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.number-input.disabled input[data-v-ba8ef208]{color:#b7b7b7}.number-input .prefix[data-v-ba8ef208],.number-input .suffix[data-v-ba8ef208]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.table-generator[data-v-dcc16f05]{width:100%;margin-top:-10px}.title[data-v-dcc16f05]{height:28px;line-height:28px;background-color:#f9f9f9;margin:0 -10px 10px;padding:0 14px;font-size:12px;display:flex;justify-content:space-between;border-top-left-radius:2px;border-top-right-radius:2px;-webkit-user-select:none;user-select:none}.title .right[data-v-dcc16f05]{cursor:pointer}.title .right[data-v-dcc16f05]:hover{color:#d14424}table[data-v-dcc16f05]{border-collapse:separate}td[data-v-dcc16f05]{width:23px;height:23px;line-height:23px;border:2px solid #fff;background-color:#f7f7f7}.cell[data-v-dcc16f05]{width:100%;height:100%;border:1px solid #dcdcdc}.cell.active[data-v-dcc16f05]{background-color:#d144241a;border-color:#d14424}.custom[data-v-dcc16f05]{width:230px}.custom .row[data-v-dcc16f05]{display:flex;align-items:center}.custom .row+.row[data-v-dcc16f05]{margin-top:10px}.btns[data-v-dcc16f05]{margin-top:10px;text-align:right}.btns .btn[data-v-dcc16f05]{margin-left:10px}.media-input[data-v-999b18ca]{width:480px}.btns[data-v-999b18ca]{margin-top:10px;text-align:right}svg[data-v-fa1b116d]{overflow:hidden}.textarea[data-v-96f315e1]{outline:0;width:100%;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;padding:10px;transition:border-color .25s;box-sizing:border-box;line-height:1.675;resize:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.textarea[data-v-96f315e1]:focus{border-color:#d14424;background-color:#fff}.textarea.resizable[data-v-96f315e1]{resize:vertical}.textarea.disabled[data-v-96f315e1]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.textarea[data-v-96f315e1]::placeholder{color:#bfbfbf}.latex-editor[data-v-fc449335]{height:560px}.container[data-v-fc449335]{height:calc(100% - 50px);display:flex}.left[data-v-fc449335]{width:540px;height:100%;display:flex;flex-direction:column;flex-shrink:0}.input-area[data-v-fc449335]{flex:1}.input-area textarea[data-v-fc449335]{height:100%!important;border-color:#e5e7eb!important;padding:10px!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.input-area textarea[data-v-fc449335]:focus{box-shadow:none!important}.preview[data-v-fc449335]{height:160px;display:flex;justify-content:center;align-items:center;text-align:center;margin-top:20px;border:1px solid #e5e7eb;-webkit-user-select:none;user-select:none}.placeholder[data-v-fc449335]{color:#888;font-size:13px}.preview-content[data-v-fc449335]{width:100%;height:100%;padding:10px;display:flex;justify-content:center;align-items:center}.right[data-v-fc449335]{width:280px;height:100%;margin-left:20px;border:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.content[data-v-fc449335]{height:calc(100% - 40px);font-size:13px}.formula[data-v-fc449335]{height:100%;padding:12px;overflow:auto;overflow:overlay}.formula-item+.formula-item[data-v-fc449335]{margin-top:10px}.formula-item .formula-title[data-v-fc449335]{margin-bottom:5px}.formula-item .formula-item-content[data-v-fc449335]{height:60px;padding:5px;display:flex;align-items:center;background-color:#f9f9f9;cursor:pointer}.symbol[data-v-fc449335]{height:100%;display:flex;flex-direction:column}.symbol-pool[data-v-fc449335]{display:flex;flex-wrap:wrap;flex:1;padding:12px;overflow:auto;overflow:overlay}.symbol-item[data-v-fc449335]{display:flex;justify-content:center;align-items:center}.symbol-item[data-v-fc449335]:hover{background-color:#f9f9f9;cursor:pointer}.footer[data-v-fc449335]{height:50px;display:flex;justify-content:flex-end;align-items:flex-end}.footer .btn[data-v-fc449335]{margin-left:10px}.canvas-tool[data-v-5a02ef27]{position:relative;border-bottom:1px solid #e5e7eb;background-color:#fff;display:flex;justify-content:space-between;padding:0 10px;font-size:13px;-webkit-user-select:none;user-select:none}.left-handler[data-v-5a02ef27],.more[data-v-5a02ef27]{display:flex;align-items:center}.more-icon[data-v-5a02ef27]{display:none}.add-element-handler[data-v-5a02ef27]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex}.add-element-handler .handler-item[data-v-5a02ef27]{width:32px}.add-element-handler .handler-item[data-v-5a02ef27]:not(.group-btn):hover{background-color:#f1f1f1}.add-element-handler .handler-item.active[data-v-5a02ef27]{color:#d14424}.add-element-handler .handler-item.group-btn[data-v-5a02ef27]{width:auto;margin-right:5px}.add-element-handler .handler-item.group-btn[data-v-5a02ef27]:hover{background-color:#f3f3f3}.add-element-handler .handler-item.group-btn .icon[data-v-5a02ef27],.add-element-handler .handler-item.group-btn .arrow[data-v-5a02ef27]{height:100%;display:flex;justify-content:center;align-items:center}.add-element-handler .handler-item.group-btn .icon[data-v-5a02ef27]{width:26px;padding:0 2px}.add-element-handler .handler-item.group-btn .icon[data-v-5a02ef27]:hover{background-color:#e9e9e9}.add-element-handler .handler-item.group-btn .icon.active[data-v-5a02ef27]{color:#d14424}.add-element-handler .handler-item.group-btn .arrow[data-v-5a02ef27]{font-size:12px}.add-element-handler .handler-item.group-btn .arrow[data-v-5a02ef27]:hover{background-color:#e9e9e9}.handler-item[data-v-5a02ef27]{height:30px;font-size:14px;margin:0 2px;display:flex;justify-content:center;align-items:center;border-radius:2px;overflow:hidden;cursor:pointer}.handler-item.disable[data-v-5a02ef27]{opacity:.5}.left-handler .handler-item[data-v-5a02ef27],.right-handler .handler-item[data-v-5a02ef27]{padding:0 8px}.left-handler .handler-item.active[data-v-5a02ef27],.left-handler .handler-item[data-v-5a02ef27]:not(.disable):hover,.right-handler .handler-item.active[data-v-5a02ef27],.right-handler .handler-item[data-v-5a02ef27]:not(.disable):hover{background-color:#f1f1f1}.right-handler[data-v-5a02ef27]{display:flex;align-items:center}.right-handler .text[data-v-5a02ef27]{display:inline-block;width:40px;text-align:center;cursor:pointer}.right-handler .viewport-size[data-v-5a02ef27]{font-size:13px}@media screen and (width <= 1200px){.right-handler .text[data-v-5a02ef27]{display:none}.more>.handler-item[data-v-5a02ef27]{display:none}.more-icon[data-v-5a02ef27]{display:block}}@media screen and (width <= 1000px){.left-handler[data-v-5a02ef27],.right-handler[data-v-5a02ef27]{display:none}}.layout-pool[data-v-5a791b40]{width:382px;height:500px}.header[data-v-5a791b40]{height:40px;margin:-10px -10px 10px;padding:10px 12px 0;background-color:#f9f9f9;border-bottom:1px solid #e5e7eb}.list[data-v-5a791b40]{height:calc(100% - 50px);padding:2px 10px 2px 2px;margin-right:-10px;overflow:auto;display:flex;flex-wrap:wrap;align-content:flex-start}.layout-item[data-v-5a791b40]{position:relative;width:48%;margin-bottom:4%}.layout-item[data-v-5a791b40]:not(:nth-child(2n)){margin-right:4%}.layout-item[data-v-5a791b40]:nth-last-child(2),.layout-item[data-v-5a791b40]:last-child{margin-bottom:0}.layout-item:hover .btns[data-v-5a791b40]{opacity:1}.layout-item:hover .thumbnail[data-v-5a791b40]{outline-color:#d14424}.layout-item .btns[data-v-5a791b40]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.layout-item .thumbnail[data-v-5a791b40]{outline:2px solid #e5e7eb;transition:outline .2s;border-radius:2px;cursor:pointer}.thumbnails[data-v-95c2a62e]{border-right:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.add-slide[data-v-95c2a62e]{height:40px;font-size:12px;display:flex;flex-shrink:0;border-bottom:1px solid #e5e7eb;cursor:pointer}.add-slide .btn[data-v-95c2a62e]{flex:1;display:flex;justify-content:center;align-items:center}.add-slide .btn[data-v-95c2a62e]:hover{background-color:#f9f9f9}.add-slide .select-btn[data-v-95c2a62e]{width:30px;height:100%;display:flex;justify-content:center;align-items:center;border-left:1px solid #e5e7eb}.add-slide .select-btn[data-v-95c2a62e]:hover{background-color:#f9f9f9}.add-slide .icon[data-v-95c2a62e]{margin-right:3px;font-size:14px}.thumbnail-list[data-v-95c2a62e]{padding:5px 0;flex:1;overflow:auto}.thumbnail-item[data-v-95c2a62e]{display:flex;justify-content:center;align-items:center;padding:5px 0;position:relative}.thumbnail-item .thumbnail[data-v-95c2a62e]{border-radius:2px;outline:2px solid rgba(209,68,36,.15)}.thumbnail-item.active .label[data-v-95c2a62e]{color:#d14424}.thumbnail-item.active .thumbnail[data-v-95c2a62e],.thumbnail-item.selected .thumbnail[data-v-95c2a62e]{outline-color:#d14424}.thumbnail-item.selected .note-flag[data-v-95c2a62e]{background-color:#d14424}.thumbnail-item.selected .note-flag[data-v-95c2a62e]:after{border-top-color:#d14424}.thumbnail-item .note-flag[data-v-95c2a62e]{width:16px;height:12px;border-radius:1px;position:absolute;left:8px;top:13px;font-size:8px;background-color:#d14424bf;color:#fff;text-align:center;line-height:12px;cursor:pointer}.thumbnail-item .note-flag[data-v-95c2a62e]:after{content:"";width:0;height:0;position:absolute;top:10px;left:4px;border:4px solid transparent;border-top-color:#d14424bf}.label[data-v-95c2a62e]{font-size:12px;color:#999;width:20px;cursor:grab}.label.offset-left[data-v-95c2a62e]{position:relative;left:-4px}.label[data-v-95c2a62e]:active{cursor:grabbing}.page-number[data-v-95c2a62e]{height:40px;font-size:12px;border-top:1px solid #e5e7eb;line-height:40px;text-align:center;color:#666}.section-title[data-v-95c2a62e]{height:26px;font-size:12px;padding:6px 8px 2px 18px;color:#555}.section-title.contextmenu-active[data-v-95c2a62e]{color:#d14424}.section-title.contextmenu-active .text[data-v-95c2a62e]:before{border-bottom-color:#d14424;border-right-color:#d14424}.section-title .text[data-v-95c2a62e]{display:flex;align-items:center;position:relative}.section-title .text[data-v-95c2a62e]:before{content:"";width:0;height:0;border-top:3px solid transparent;border-left:3px solid transparent;border-bottom:3px solid #555;border-right:3px solid #555;margin-right:5px}.section-title .text .text-content[data-v-95c2a62e]{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.section-title input[data-v-95c2a62e]{width:100%;border:0;outline:0;padding:0;font-size:12px}.slider[data-v-a7428be4]{width:100%;height:12px;padding:4px 0;-webkit-user-select:none;user-select:none}.slider.disabled .track[data-v-a7428be4]{background-color:#b4b4b4}.slider.disabled .thumb[data-v-a7428be4]{outline:2px solid #b4b4b4}.slider[data-v-a7428be4]:not(.disabled){cursor:pointer}.slider:not(.disabled) .bar[data-v-a7428be4]:hover{background-color:#f0f0f0}.slider:not(.disabled) .track[data-v-a7428be4]:hover{background-color:#de6949}.slider:not(.disabled) .thumb[data-v-a7428be4]:hover,.slider:not(.disabled) .thumb[data-v-a7428be4]:active{outline:4px solid #d14424}.bar[data-v-a7428be4]{width:calc(100% - 10px);margin-left:5px;height:4px;border-radius:2px;position:relative;background-color:#f5f5f5;-webkit-user-select:none;user-select:none;transition:background-color .2s}.track[data-v-a7428be4]{position:absolute;top:0;left:0;height:100%;background-color:#d14424;transition:background-color .2s}.thumb[data-v-a7428be4]{position:absolute;top:50%;left:0;width:10px;height:10px;background-color:#fff;outline:2px solid #d14424;transform:translate(-50%,-50%);border-radius:50%;z-index:100}.thumb[data-v-a7428be4]:hover:before,.thumb[data-v-a7428be4]:hover:after,.thumb[data-v-a7428be4]:active:before,.thumb[data-v-a7428be4]:active:after{display:block}.thumb[data-v-a7428be4]:before{content:attr(data-tooltip);min-width:28px;display:none;position:absolute;left:50%;bottom:24px;transform:translate(-50%);background-color:#262626;text-align:center;color:#fff;border-radius:2px;padding:6px 5px;font-size:12px}.thumb[data-v-a7428be4]:after{content:"";display:none;position:absolute;left:50%;bottom:15px;transform:translate(-50%);border:5px solid transparent;border-top-color:#262626}.row[data-v-c3b27b40]{width:100%;display:flex;align-items:center;margin-bottom:10px}.color-btn[data-v-53175c6f]{width:100%;display:flex!important;align-items:center;justify-content:center;padding:0!important}.color-block[data-v-53175c6f]{height:20px;margin-left:8px;flex:1;outline:1px dashed rgba(102,102,102,.12);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAEBJREFUOE9jfPbs2X8GIoCkpCQRqhgYGEcNxBlOo2GIM2iGQLL5//8/UTnl+fPnxOWUUQNxhtNoGOLOKYM+2QAAh2Nq10DwkukAAAAASUVORK5CYII=)}.content[data-v-53175c6f]{width:100%;height:100%}.color-btn-icon[data-v-53175c6f]{width:32px;font-size:13px;color:#bfbfbf}.checkerboard[data-v-46275348]{background-size:contain;position:absolute;top:0;right:0;bottom:0;left:0}.alpha[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-checkboard-wrap[data-v-429f62d3]{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.alpha-gradient[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-container[data-v-429f62d3]{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.alpha-pointer[data-v-429f62d3]{z-index:2;position:absolute}.alpha-picker[data-v-429f62d3]{cursor:pointer;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}.hue[data-v-21ccc370]{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);position:absolute;top:0;right:0;bottom:0;left:0}.hue-container[data-v-21ccc370]{cursor:pointer;margin:0 2px;position:relative;height:100%}.hue-pointer[data-v-21ccc370]{z-index:2;position:absolute;top:0}.hue-picker[data-v-21ccc370]{cursor:pointer;margin-top:1px;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.saturation[data-v-1a7711ae],.saturation-white[data-v-1a7711ae],.saturation-black[data-v-1a7711ae]{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.saturation-white[data-v-1a7711ae]{background:linear-gradient(to right,#fff,#fff0)}.saturation-black[data-v-1a7711ae]{background:linear-gradient(to top,#000,#0000)}.saturation-pointer[data-v-1a7711ae]{cursor:pointer;position:absolute}.saturation-circle[data-v-1a7711ae]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.editable-input[data-v-573b4dde]{width:100%;position:relative;overflow:hidden;text-align:center;font-size:14px}.editable-input[data-v-573b4dde]:after{content:"#";position:absolute;left:0;top:50%;transform:translateY(-50%);color:#999}.input-content[data-v-573b4dde]{width:100%;padding:3px;border:0;border-bottom:1px solid #ddd;outline:none;text-align:center}.input-label[data-v-573b4dde]{text-transform:capitalize}.color-picker[data-v-58b37f0f]{position:relative;width:240px;background:#fff;-webkit-user-select:none;user-select:none;margin-bottom:-10px}.picker-saturation-wrap[data-v-58b37f0f]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-58b37f0f]{display:flex}.picker-sliders[data-v-58b37f0f]{padding:4px 0;flex:1}.picker-hue-wrap[data-v-58b37f0f]{position:relative;height:10px}.picker-alpha-wrap[data-v-58b37f0f]{position:relative;height:10px;margin-top:4px;overflow:hidden}.picker-color-wrap[data-v-58b37f0f]{width:24px;height:24px;position:relative;margin-top:4px;margin-right:4px;outline:1px dashed rgba(102,102,102,.12)}.picker-color-wrap .checkerboard[data-v-58b37f0f]{background-size:auto}.picker-current-color[data-v-58b37f0f]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.picker-field[data-v-58b37f0f]{display:flex;margin-bottom:8px}.picker-field .transparent[data-v-58b37f0f]{width:24px;height:24px;margin-top:4px;margin-left:8px;position:relative;cursor:pointer}.picker-field .transparent[data-v-58b37f0f]:after{content:"";width:26px;height:2px;position:absolute;top:11px;left:-1px;transform:rotate(-45deg);background-color:red}.picker-field .transparent .checkerboard[data-v-58b37f0f]{background-size:auto}.picker-field .straw[data-v-58b37f0f]{width:24px;height:24px;margin-top:4px;margin-left:8px;display:flex;justify-content:center;align-items:center;font-size:20px;background-color:#f5f5f5;outline:1px solid #f1f1f1;cursor:pointer}.picker-field .input[data-v-58b37f0f]{flex:1}.picker-presets[data-v-58b37f0f]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-presets-color[data-v-58b37f0f]{width:7%;margin-bottom:calc(30% / 9);height:0;padding-bottom:7%;flex-shrink:0;position:relative;cursor:pointer}.picker-presets-color[data-v-58b37f0f]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-presets-color.alpha[data-v-58b37f0f]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-58b37f0f]{position:absolute;top:0;right:0;bottom:0;left:0}.picker-gradient-presets[data-v-58b37f0f]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-gradient-col[data-v-58b37f0f]{width:7%;margin-bottom:calc(30% / 9);display:flex;flex-direction:column}.picker-gradient-col[data-v-58b37f0f]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-gradient-color[data-v-58b37f0f]{width:100%;height:16px;position:relative;cursor:pointer}.recent-colors-title[data-v-58b37f0f]{font-size:12px;margin-bottom:4px}.switch[data-v-a0d44a99]{height:20px;display:inline-block;cursor:pointer}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]{border-color:#d14424;background-color:#d14424}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]:after{left:100%;margin-left:-17px}.switch.disabled[data-v-a0d44a99]{cursor:default}.switch.disabled .switch-core[data-v-a0d44a99]:after{background-color:#f5f5f5}.switch-core[data-v-a0d44a99]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid #d9d9d9;outline:none;border-radius:10px;box-sizing:border-box;background:#d9d9d9;transition:border-color .3s,background-color .3s;vertical-align:middle}.switch-core[data-v-a0d44a99]:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.select[data-v-36a09887]{width:100%;height:32px;padding-right:32px;border-radius:2px;transition:border-color .25s;font-size:13px;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #d9d9d9;position:relative;cursor:pointer}.select[data-v-36a09887]:not(.disabled):hover{border-color:#d14424}.select.disabled[data-v-36a09887]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7;cursor:default}.select .selector[data-v-36a09887]{min-width:50px;height:30px;line-height:30px;padding-left:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.options[data-v-36a09887]{max-height:260px;padding:5px;overflow:auto;text-align:left;font-size:13px;-webkit-user-select:none;user-select:none}.icon[data-v-36a09887]{width:32px;height:30px;color:#bfbfbf;position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center}.row[data-v-ee2e9ad5]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-ee2e9ad5]{text-align:right}.option[data-v-ee2e9ad5]{height:32px;padding:0 5px;border-radius:2px}.option[data-v-ee2e9ad5]:not(.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-ee2e9ad5]{color:#d14424;font-weight:700}.row[data-v-671988a4]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-671988a4]{text-align:right}.text-color-btn[data-v-97cd463a]{width:100%;display:flex!important;flex-direction:column;justify-content:center;align-items:center;padding:0}.text-color-block[data-v-97cd463a]{width:17px;height:4px;margin-top:1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACdJREFUGFdjfPbs2X8GBgYGSUlJEMXAiCHw//9/sIrnz59DVKALAADNxxVfaiODNQAAAABJRU5ErkJggg==)}.text-color-block .text-color-block-content[data-v-97cd463a]{width:100%;height:100%}.button-group[data-v-6a640ef5]{display:flex;align-items:center}.button-group[data-v-6a640ef5] button.button{border-radius:0;border-left-width:1px;border-right-width:0;display:inline-block}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover{position:relative}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover{position:relative}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group.passive[data-v-6a640ef5] button.button.first{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group.passive[data-v-6a640ef5] button.button.last{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.select-group[data-v-ed58c719]{display:flex;align-items:center}.select-group[data-v-ed58c719] .select-wrap .select{border-radius:0;border-left-width:0;border-right-width:0}.select-group[data-v-ed58c719] .select-wrap+.select-wrap .select{border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:hover+.select-wrap .select{border-left-color:#d14424}.select-group[data-v-ed58c719] .select-wrap:first-child .select{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:last-child .select{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.rich-text-base[data-v-f8e123db]{-webkit-user-select:none;user-select:none}.row[data-v-f8e123db]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-f8e123db]{padding:0}.link-popover[data-v-f8e123db]{width:240px}.link-popover .btns[data-v-f8e123db]{margin-top:10px;text-align:right}.list-wrap[data-v-f8e123db]{width:176px;color:#666;padding:8px;margin:-12px;display:flex;flex-wrap:wrap;align-content:flex-start}.list[data-v-f8e123db]{background-color:#f9f9f9;padding:4px 4px 4px 20px;cursor:pointer}.list[data-v-f8e123db]:not(:nth-child(3n)){margin-right:8px}.list[data-v-f8e123db]:nth-child(4),.list[data-v-f8e123db]:nth-child(5),.list[data-v-f8e123db]:nth-child(6){margin-top:8px}.list[data-v-f8e123db]:hover{color:#d14424}.list:hover span[data-v-f8e123db]{background-color:#d14424}.list-item[data-v-f8e123db]{width:24px;height:12px;position:relative;font-size:12px;top:-3px}.list-item span[data-v-f8e123db]{width:100%;height:2px;display:inline-block;position:absolute;top:8px;background-color:#666}.popover-btn[data-v-f8e123db]{padding:0 3px}.text-style-panel[data-v-82b69e69]{-webkit-user-select:none;user-select:none}.row[data-v-82b69e69]{width:100%;display:flex;align-items:center;margin-bottom:10px}.preset-style[data-v-82b69e69]{display:flex;flex-wrap:wrap;margin-bottom:10px}.preset-style-item[data-v-82b69e69]{width:50%;height:50px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;justify-content:center;align-items:center;position:relative;cursor:pointer;transition:all .2s}.preset-style-item[data-v-82b69e69]:hover{border-color:#d14424;color:#d14424;z-index:1}.preset-style-item[data-v-82b69e69]:nth-child(2n){margin-left:-1px}.preset-style-item[data-v-82b69e69]:nth-child(n+3){margin-top:-1px}.row[data-v-100c8a7c],.row[data-v-e7ba40ca]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-e7ba40ca]{text-align:right}.filter[data-v-e7ba40ca]{font-size:12px}.filter-item[data-v-e7ba40ca]{padding:6px 0;display:flex;justify-content:center;align-items:center}.filter-item .name[data-v-e7ba40ca]{width:60px}.filter-item .filter-slider[data-v-e7ba40ca]{flex:1;margin:0 6px}.presets[data-v-e7ba40ca]{margin-bottom:5px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-item[data-v-e7ba40ca]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;width:31%;margin-bottom:3.5%}.preset-item[data-v-e7ba40ca]:not(:nth-child(3n)){margin-right:3.5%}.preset-item img[data-v-e7ba40ca]{max-width:100%;max-height:120px}.preset-item .preset-label[data-v-e7ba40ca]{font-size:12px;color:#888}.row[data-v-51ffed2c]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-51ffed2c]{text-align:right}.row[data-v-b758ebc3]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-b758ebc3]{text-align:right}.origin-image[data-v-b758ebc3]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-b758ebc3]{width:100%;margin-bottom:10px}.btn-icon[data-v-b758ebc3]{margin-right:3px}.clip[data-v-b758ebc3]{width:260px;font-size:12px}.clip .title[data-v-b758ebc3]{margin-bottom:5px}.shape-clip[data-v-b758ebc3]{margin-bottom:10px;display:flex;flex-wrap:wrap;align-content:flex-start}.shape-clip-item[data-v-b758ebc3]{display:flex;justify-content:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-b758ebc3]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-b758ebc3]{background-color:#ccc}.shape-clip-item .shape[data-v-b758ebc3]{width:40px;height:40px;background-color:#e1e1e1}.popover-btn[data-v-b758ebc3]{padding:0 3px}.gradient-bar[data-v-c1273c7e]{width:calc(100% - 10px);height:18px;padding:1px 0;margin:3px 0;position:relative;left:5px}.gradient-bar .bar[data-v-c1273c7e]{height:16px;border:1px solid #d9d9d9}.gradient-bar .point[data-v-c1273c7e]{width:10px;height:18px;background-color:#fff;position:absolute;top:0;border:2px solid #fff;outline:1px solid #d9d9d9;box-shadow:0 0 2px 2px #d9d9d9;border-radius:1px;cursor:pointer}.gradient-bar .point.active[data-v-c1273c7e]{outline:1px solid #d14424;box-shadow:0 0 2px 2px #d14424}.shape-style-panel[data-v-2b49aafb]{-webkit-user-select:none;user-select:none}.row[data-v-2b49aafb]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-2b49aafb]{padding:0}.title[data-v-2b49aafb]{display:flex;justify-content:space-between;margin-bottom:10px}.shape-pool[data-v-2b49aafb]{width:235px;height:150px;overflow:auto;padding:5px 10px 5px 5px;border:1px solid #e5e7eb;margin-bottom:20px}.shape-list[data-v-2b49aafb]{display:flex;flex-wrap:wrap;align-content:flex-start}.shape-item[data-v-2b49aafb]{width:14%;margin-bottom:3.2%;height:0;padding-bottom:14%;flex-shrink:0}.shape-item[data-v-2b49aafb]:not(:nth-child(6n)){margin-right:3.2%}.row[data-v-149431ff]{width:100%;display:flex;align-items:center;margin-bottom:10px}.line-btn[data-v-149431ff]{display:flex;align-items:center;justify-content:space-between;padding:0!important}.line-btn .line-wrapper[data-v-149431ff]{margin-left:8px}.line-wrapper[data-v-149431ff]{overflow:visible}.line-btn-icon[data-v-149431ff]{width:30px;font-size:12px;margin-top:2px;color:#bfbfbf}.preset-point-style[data-v-149431ff]{padding:0 10px}.preset-point-style+.preset-point-style[data-v-149431ff]{margin-top:10px}.option[data-v-149431ff]{height:32px;padding:0 5px;border-radius:2px}.option[data-v-149431ff]:not(.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-149431ff]{color:#d14424;font-weight:700}.chart-data-editor[data-v-31747c29]{width:600px;position:relative}.editor-content[data-v-31747c29]{width:100%;height:360px;position:relative;border-right:1px solid #ccc;border-bottom:1px solid #ccc;padding-left:30px;padding-top:20px;overflow:auto;overflow:overlay}.range-box[data-v-31747c29]{position:absolute;top:20px;left:30px;z-index:100;-webkit-user-select:none;user-select:none}.temp-range[data-v-31747c29]{width:0;height:0;position:absolute;top:0;left:0;background-color:#8888884d}.range-line[data-v-31747c29]{width:0;height:0;position:absolute;left:0;top:0;border:0 solid #d14424}.range-line.t[data-v-31747c29]{border-top-width:1px}.range-line.b[data-v-31747c29]{border-bottom-width:1px}.range-line.l[data-v-31747c29]{border-left-width:1px}.range-line.r[data-v-31747c29]{border-right-width:1px}.resizable[data-v-31747c29]{position:absolute;width:12px;height:12px;left:0;top:0;margin:-9px 0 0 -9px;cursor:nwse-resize}.resizable[data-v-31747c29]:after{content:"";position:absolute;width:4px;height:12px;right:0;top:0;background-color:#d14424}.resizable[data-v-31747c29]:before{content:"";position:absolute;width:12px;height:4px;right:0;bottom:0;background-color:#d14424}table[data-v-31747c29]{width:100%;height:100%;-webkit-user-select:none;user-select:none;table-layout:fixed}table td[data-v-31747c29]{text-align:center;border:1px solid #ccc;vertical-align:middle;width:100px;height:32px}table td.head[data-v-31747c29]{background-color:#d1442414}table .item[data-v-31747c29]{width:100%;height:100%;border:0;outline:0;padding:0;font-size:13px;text-align:center;background-color:transparent}.btns[data-v-31747c29]{margin-top:10px;display:flex;justify-content:space-between}.btns .btn[data-v-31747c29]{margin-left:10px}.btns .left[data-v-31747c29]{display:flex;align-items:center;font-size:12px}.btns .left .change[data-v-31747c29]{color:#ccc;margin-left:5px;cursor:pointer}.btns .left .change[data-v-31747c29]:hover{text-decoration:underline}.col-header[data-v-31747c29]{width:auto;height:20px;position:absolute;top:0;left:30px;display:flex;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.col-header-item[data-v-31747c29]{width:100px;position:relative;border-right:1px solid #ccc}.col-key[data-v-31747c29]{font-size:10px;text-align:center;line-height:20px}.row-header[data-v-31747c29]{height:auto;width:30px;position:absolute;top:20px;left:0;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.row-header-item[data-v-31747c29]{height:32px;position:relative;border-bottom:1px solid #ccc}.row-key[data-v-31747c29]{height:100%;font-size:10px;display:flex;justify-content:center;align-items:center}.all-header[data-v-31747c29]{width:30px;height:20px;position:absolute;top:0;left:0;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.all-header .triangle[data-v-31747c29]{position:absolute;bottom:4px;right:4px}.checkbox[data-v-40b4de83]{height:20px;display:flex;align-items:center;cursor:pointer}.checkbox:not(.disabled).checked .checkbox-input[data-v-40b4de83]{background-color:#d14424;border-color:#d14424}.checkbox:not(.disabled).checked .checkbox-input[data-v-40b4de83]:after{transform:rotate(45deg) scaleY(1)}.checkbox:not(.disabled).checked .checkbox-label[data-v-40b4de83]{color:#d14424}.checkbox.disabled[data-v-40b4de83]{color:#b7b7b7;cursor:default}.checkbox.disabled .checkbox-input[data-v-40b4de83]{background-color:#f5f5f5}.checkbox-input[data-v-40b4de83]{display:inline-block;position:relative;border:1px solid #d9d9d9;border-radius:2px;width:16px;height:16px;background-color:#fff;vertical-align:middle;transition:border-color .15s cubic-bezier(.71,-.46,.29,1.46),background-color .15s cubic-bezier(.71,-.46,.29,1.46);z-index:1}.checkbox-input[data-v-40b4de83]:after{content:"";border:2px solid #fff;border-left:0;border-top:0;height:9px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:6px;transition:transform .15s ease-in .05s;transform-origin:center}.checkbox-original[data-v-40b4de83]{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.checkbox-label[data-v-40b4de83]{margin-left:5px;line-height:20px;font-size:13px;-webkit-user-select:none;user-select:none}.chart-style-panel[data-v-c779ea7f]{-webkit-user-select:none;user-select:none}.row[data-v-c779ea7f]{width:100%;display:flex;align-items:center;margin-bottom:10px}.full-width-btn[data-v-c779ea7f]{width:100%}.btn-icon[data-v-c779ea7f]{margin-right:3px}.color-btn-wrap[data-v-c779ea7f]{position:relative}.delete-color-btn[data-v-c779ea7f]{position:absolute;width:30px;right:2px;top:2px;bottom:2px;display:flex;justify-content:center;align-items:center;background-color:#fff;cursor:pointer}.preset-themes[data-v-c779ea7f]{width:250px;margin-bottom:-10px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-theme[data-v-c779ea7f]{display:flex;cursor:pointer;width:48%;margin-bottom:4%}.preset-theme[data-v-c779ea7f]:not(:nth-child(2n)){margin-right:4%}.preset-theme-color[data-v-c779ea7f]{width:20px;height:20px}.preset-theme-color.select[data-v-c779ea7f]{transform:scale(1.2);transition:transform .1s}.row[data-v-1c68b8b8]{width:100%;display:flex;align-items:center;margin-bottom:10px}.theme-switch[data-v-1c68b8b8]{margin-bottom:18px}.switch-wrapper[data-v-1c68b8b8]{text-align:right}.set-count[data-v-1c68b8b8]{display:flex;justify-content:center;align-items:center}.set-count .btn[data-v-1c68b8b8]{padding:0 8px}.set-count .count-text[data-v-1c68b8b8]{flex:1;text-align:center;margin:0 8px}.row[data-v-e173eae4],.row[data-v-b289959e]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-b289959e],.background-image-wrapper[data-v-b289959e]{margin-bottom:10px}.background-image[data-v-b289959e]{height:0;padding-bottom:56.25%;border:1px dashed #e5e7eb;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-b289959e]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-b289959e]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.switch-row[data-v-b289959e]{height:32px}.switch-wrapper[data-v-b289959e]{text-align:right}.row[data-v-685cdba7]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-row[data-v-685cdba7]{height:32px}.switch-wrapper[data-v-685cdba7]{text-align:right}.row[data-v-f0b44396]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-f0b44396]{padding:0}.option[data-v-f0b44396]{height:32px;padding:0 5px;border-radius:2px}.option[data-v-f0b44396]:not(.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-f0b44396]{color:#d14424;font-weight:700}.row[data-v-83cc71d7]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-83cc71d7]{margin-bottom:10px}.label[data-v-83cc71d7]{text-align:center}.btn-icon[data-v-83cc71d7]{margin-right:3px}.icon-btn[data-v-83cc71d7]{cursor:pointer}.icon-btn.active[data-v-83cc71d7]{color:#d14424}.text-btn[data-v-83cc71d7]{height:30px;line-height:30px;text-align:center;cursor:pointer}.text-btn[data-v-83cc71d7]:hover{background-color:#efefef;border-radius:2px}.element-animation-panel[data-v-d71f68dd]{height:100%;display:flex;flex-direction:column}.element-animation[data-v-d71f68dd]{height:32px;display:flex;align-items:center}.element-animation-btn[data-v-d71f68dd]{width:100%}.config-item[data-v-d71f68dd]{display:flex;align-items:center}.config-item+.config-item[data-v-d71f68dd]{margin-top:5px}.tip[data-v-d71f68dd]{height:32px;display:flex;justify-content:center;align-items:center;font-style:italic}.animation-pool[data-v-d71f68dd]{width:400px;height:500px;overflow-y:auto;overflow-x:hidden;font-size:12px;margin-right:-10px;padding-right:5px;position:relative}.animation-pool .mask[data-v-d71f68dd]{position:absolute;top:0;right:0;bottom:0;left:0}.animation-pool.in .type-title[data-v-d71f68dd]{border-left-color:#68a490;background-color:#68a49026}.animation-pool.out .type-title[data-v-d71f68dd]{border-left-color:#d86344;background-color:#d8634426}.animation-pool.attention .type-title[data-v-d71f68dd]{border-left-color:#e8b76a;background-color:#e8b76a26}.pool-type[data-v-d71f68dd]:not(:last-child){margin-bottom:5px}.type-title[data-v-d71f68dd]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:4px 0 4px 10px}.pool-item-wrapper[data-v-d71f68dd]{display:flex;flex-wrap:wrap;align-content:flex-start}.pool-item[data-v-d71f68dd]{width:24%;margin-bottom:calc(4% / 3);margin-bottom:5px;height:40px;line-height:40px;text-align:center;cursor:pointer}.pool-item[data-v-d71f68dd]:not(:nth-child(4n)){margin-right:calc(4% / 3)}.animation-box[data-v-d71f68dd]{background-color:#f9f9f9;border-radius:2px}.animation-sequence[data-v-d71f68dd]{flex:1;padding-right:12px;margin-right:-12px;overflow:auto;overflow:overlay}.sequence-item[data-v-d71f68dd]{border:1px solid #e5e7eb;padding:8px;border-radius:2px;margin-bottom:8px;transition:all .5s}.sequence-item.in.active[data-v-d71f68dd]{border-color:#68a490}.sequence-item.out.active[data-v-d71f68dd]{border-color:#d86344}.sequence-item.attention.active[data-v-d71f68dd]{border-color:#e8b76a}.sequence-item.active[data-v-d71f68dd]{height:auto}.sequence-item .sequence-content[data-v-d71f68dd]{display:flex;align-items:center;cursor:grab}.sequence-item .sequence-content[data-v-d71f68dd]:active{cursor:grabbing}.sequence-item .sequence-content .index[data-v-d71f68dd]{flex:1}.sequence-item .sequence-content .text[data-v-d71f68dd]{flex:6}.sequence-item .sequence-content .handler[data-v-d71f68dd]{flex:2;font-size:15px;text-align:right}.sequence-item .sequence-content .handler-btn[data-v-d71f68dd]{margin-left:8px;cursor:pointer}.theme-styles-extract[data-v-20d39df7]{height:500px;display:flex;flex-direction:column}.content[data-v-20d39df7]{flex:1;overflow:auto;padding-right:20px;margin-right:-20px}.config-item[data-v-20d39df7]{padding:12px 0 10px;border-bottom:1px dashed #f5f5f5;font-size:13px}.label[data-v-20d39df7]{margin-bottom:5px}.values .value-wrap[data-v-20d39df7]{display:flex;align-items:center;justify-content:space-between}.values .value-wrap+.value-wrap[data-v-20d39df7]{margin-top:3px}.values .handler[data-v-20d39df7]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-left:10px}.values .handler .state[data-v-20d39df7]{opacity:0}.values .handler .state.active[data-v-20d39df7]{opacity:1}.values .handler .config-btn[data-v-20d39df7]{cursor:pointer}.values .handler .config-btn[data-v-20d39df7]:hover{color:#d14424}.values .value[data-v-20d39df7]{width:150px;height:24px;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-size:12px;padding:5px;border-radius:2px}.btns[data-v-20d39df7]{margin-top:12px}.btns .btn[data-v-20d39df7]{width:100%}.slide-design-panel[data-v-17fccaef]{-webkit-user-select:none;user-select:none}.row[data-v-17fccaef]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-17fccaef]{display:flex;justify-content:space-between;margin-bottom:10px}.title .more[data-v-17fccaef]{cursor:pointer}.title .more .text[data-v-17fccaef]{font-size:12px;margin-right:3px}.background-image-wrapper[data-v-17fccaef]{margin-bottom:10px}.background-image[data-v-17fccaef]{height:0;padding-bottom:56.25%;border:1px dashed #e5e7eb;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-17fccaef]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-17fccaef]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-17fccaef]{display:flex;flex-wrap:wrap;align-content:flex-start}.theme-item[data-v-17fccaef]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-17fccaef]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-17fccaef]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;padding:8px;border:1px solid #e5e7eb;border-radius:2px}.theme-item .text[data-v-17fccaef]{font-size:16px}.theme-item .colors[data-v-17fccaef]{display:flex}.theme-item .color-block[data-v-17fccaef]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-17fccaef]{opacity:1}.theme-item .btns[data-v-17fccaef]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.option[data-v-17fccaef]{height:32px;padding:0 5px;border-radius:2px}.option[data-v-17fccaef]:not(.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-17fccaef]{color:#d14424;font-weight:700}.animation-pool[data-v-ae84c3f4]{display:flex;flex-wrap:wrap;margin-bottom:10px}.animation-item[data-v-ae84c3f4]{width:50%;height:100px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 0 15px;position:relative;cursor:pointer}.animation-item.active[data-v-ae84c3f4]{border-color:#d14424;z-index:1}.animation-item[data-v-ae84c3f4]:nth-child(2n){margin-left:-1px}.animation-item[data-v-ae84c3f4]:nth-child(n+3){margin-top:-1px}.animation-block[data-v-ae84c3f4]{width:64px;height:36px;background:#666;position:relative;overflow:hidden}.animation-block.fade[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:fade-ae84c3f4 .3s linear}.animation-block.slideX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX-ae84c3f4 .3s linear}.animation-block.slideY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY-ae84c3f4 .3s linear}.animation-block.slideX3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX3D-ae84c3f4 .3s linear}.animation-block.slideY3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY3D-ae84c3f4 .3s linear}.animation-block.rotate[data-v-ae84c3f4]:hover:after{transform-origin:0 0;content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:rotate-ae84c3f4 .3s linear}.animation-block.scaleY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleY-ae84c3f4 .3s linear}.animation-block.scaleX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleX-ae84c3f4 .3s linear}.animation-block.scale[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scale-ae84c3f4 .3s linear}.animation-block.scaleReverse[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleReverse-ae84c3f4 .3s linear}.animation-text[data-v-ae84c3f4]{font-size:12px;color:#333;text-align:center}@keyframes fade-ae84c3f4{0%{opacity:0}to{opacity:1}}@keyframes slideX-ae84c3f4{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slideY-ae84c3f4{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideX3D-ae84c3f4{0%{transform:translate(100%) scale(.5)}to{transform:translate(0)}}@keyframes slideY3D-ae84c3f4{0%{transform:translateY(100%) scale(.5)}to{transform:translateY(0)}}@keyframes rotate-ae84c3f4{0%{transform:rotate(-90deg)}to{transform:rotate(0)}}@keyframes scaleY-ae84c3f4{0%{transform:scaleY(.1)}to{transform:scaleY(1)}}@keyframes scaleX-ae84c3f4{0%{transform:scaleX(.1)}to{transform:scaleY(1)}}@keyframes scale-ae84c3f4{0%{transform:scale(.25)}to{transform:scale(1)}}@keyframes scaleReverse-ae84c3f4{0%{transform:scale(2)}to{transform:scale(1)}}.row[data-v-d41009b1]{width:100%;display:flex;align-items:center;margin-bottom:10px}.symbol-panel[data-v-0f662bb0]{height:100%;display:flex;flex-direction:column}.symbol-panel .pool[data-v-0f662bb0]{padding:5px 12px;margin:0 -12px;flex:1;font-size:18px;overflow:auto;overflow:overlay;display:flex;flex-wrap:wrap;align-content:flex-start}.symbol-panel .symbol-item[data-v-0f662bb0]{width:18%;margin-bottom:2.5%;height:0;padding-bottom:18%;position:relative;cursor:pointer;border:1px solid #e5e7eb}.symbol-panel .symbol-item[data-v-0f662bb0]:not(:nth-child(5n)){margin-right:2.5%}.symbol-panel .symbol-item[data-v-0f662bb0]:hover{color:#d14424}.symbol-panel .symbol-item .symbol[data-v-0f662bb0]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-color:#fff}.toolbar[data-v-83fff59a]{border-left:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column}.content[data-v-83fff59a]{padding:12px;font-size:13px;overflow:auto;overflow:overlay}.editor[data-v-4042a280]{height:100%;overflow:auto}.prosemirror-editor[data-v-4042a280]{height:100%;cursor:text}.prosemirror-editor[data-v-4042a280] .ProseMirror{height:100%;font-size:12px;overflow:auto;padding:8px;line-height:1.5}.prosemirror-editor[data-v-4042a280] .ProseMirror>p[data-placeholder]:before{content:attr(data-placeholder);pointer-events:none;position:absolute;font-size:12px;color:#66666680}.menu[data-v-4042a280]{display:flex;background-color:#fff;padding:6px 4px;border-radius:2px;box-shadow:0 0 20px #00000026}.menu button[data-v-4042a280]{outline:0;border:0;background-color:#fff;padding:3px;border-radius:2px;font-size:16px;margin:0 3px;display:flex;align-items:center;justify-content:center;cursor:pointer}.menu button[data-v-4042a280]:hover,.menu button.active[data-v-4042a280]{background-color:#d14424;color:#fff}.remark[data-v-1c52a472]{position:relative;border-top:1px solid #e5e7eb}.resize-handler[data-v-1c52a472]{height:7px;position:absolute;top:-3px;left:0;right:0;cursor:n-resize;z-index:2}.export-img-dialog[data-v-32b43d99]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-32b43d99]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-32b43d99]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.configs[data-v-32b43d99]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-32b43d99]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-32b43d99]{width:100px;position:relative}.configs .title[data-v-32b43d99]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-32b43d99]{flex:1}.btns[data-v-32b43d99]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-32b43d99]{flex:1}.btns .close[data-v-32b43d99]{width:100px;margin-left:10px}.export-json-dialog[data-v-aaf5a228]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.preview[data-v-aaf5a228]{width:100%;height:calc(100% - 100px);background-color:#f9f9f9;color:#0451a5;overflow:auto}pre[data-v-aaf5a228]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.btns[data-v-aaf5a228]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-aaf5a228]{flex:1}.btns .close[data-v-aaf5a228]{width:100px;margin-left:10px}[data-v-aaf5a228]::-webkit-scrollbar{width:10px;height:10px;background-color:transparent}[data-v-aaf5a228]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:5px}.export-pdf-dialog[data-v-d3a30d69]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-d3a30d69]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-d3a30d69]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.thumbnail.break-page[data-v-d3a30d69]{break-after:page}.configs[data-v-d3a30d69]{width:300px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-d3a30d69]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-d3a30d69]{width:100px}.configs .config-item[data-v-d3a30d69]{flex:1}.configs .tip[data-v-d3a30d69]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-d3a30d69]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-d3a30d69]{flex:1}.btns .close[data-v-d3a30d69]{width:100px;margin-left:10px}.export-pptx-dialog[data-v-254b6b07]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-254b6b07]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-254b6b07]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-254b6b07]{width:100px;position:relative}.configs .title[data-v-254b6b07]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-254b6b07]{flex:1}.configs .tip[data-v-254b6b07]{font-size:12px;color:#aaa;line-height:1.8;margin-top:10px}.btns[data-v-254b6b07]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-254b6b07]{flex:1}.btns .close[data-v-254b6b07]{width:100px;margin-left:10px}.export-pptist-dialog[data-v-bc56c9db]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-bc56c9db]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-bc56c9db]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-bc56c9db]{width:100px;position:relative}.configs .title[data-v-bc56c9db]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-bc56c9db]{flex:1}.configs .tip[data-v-bc56c9db]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-bc56c9db]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-bc56c9db]{flex:1}.btns .close[data-v-bc56c9db]{width:100px;margin-left:10px}.export-dialog[data-v-b54f4542]{margin:-20px}.content[data-v-b54f4542]{height:460px;padding:12px;font-size:13px;overflow:auto;overflow:overlay}.moveable-panel[data-v-3fb89101]{position:fixed;background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;border:1px solid #e5e7eb;border-radius:2px;display:flex;flex-direction:column;z-index:999}.resizer[data-v-3fb89101]{width:10px;height:10px;position:absolute;bottom:0;right:0;cursor:se-resize}.resizer[data-v-3fb89101]:after{content:"";position:absolute;bottom:-4px;right:-4px;transform:rotate(45deg);transform-origin:center;width:0;height:0;border:6px solid transparent;border-left-color:#e1e1e1}.header[data-v-3fb89101]{height:40px;display:flex;align-items:center;border-bottom:1px solid #f0f0f0;cursor:move}.title[data-v-3fb89101]{flex:1;font-size:13px;padding-left:10px}.close-btn[data-v-3fb89101]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.content[data-v-3fb89101]{flex:1;padding:10px;overflow:auto}.select-panel[data-v-d562651b]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.handler[data-v-d562651b]{height:24px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.handler .icon-btns[data-v-d562651b]{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end}.handler .icon-btn[data-v-d562651b]{width:16px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.handler .icon-btn[data-v-d562651b]:hover{color:#d14424}.element-list[data-v-d562651b]{height:calc(100% - 32px);padding-right:10px;margin-right:-10px;overflow:auto}.item[data-v-d562651b]{padding:5px;font-size:12px;border-radius:2px;display:flex;align-items:center;cursor:pointer}.item.active[data-v-d562651b]{background-color:#d144241a}.item.group-active[data-v-d562651b]{background-color:#d1442433}.item[data-v-d562651b]:hover{background-color:#d1442440}.item .name[data-v-d562651b]{height:18px;line-height:18px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item .icons[data-v-d562651b]{width:20px;display:flex;align-items:center;justify-content:center;margin-left:5px}.group-els[data-v-d562651b]{padding:5px 0}.group-els .group-title[data-v-d562651b]{margin-bottom:5px;padding:0 5px}.group-els .item[data-v-d562651b]{margin-left:15px}.input[data-v-d562651b]{width:100%;height:16px;border:0;outline:0;padding-left:0;padding-right:0;flex:1;font-size:12px;background-color:transparent}.search-panel[data-v-c6ed3d92]{font-size:13px}.content[data-v-c6ed3d92]{display:flex;flex-direction:column;justify-content:space-between}.input[data-v-c6ed3d92]{margin-top:10px}.count[data-v-c6ed3d92]{font-size:12px;margin-right:8px;-webkit-user-select:none;user-select:none}.ignore-case[data-v-c6ed3d92]{font-size:12px;-webkit-user-select:none;user-select:none;cursor:pointer}.ignore-case.active[data-v-c6ed3d92]{color:#d14424}.next-btn[data-v-c6ed3d92]{width:22px;height:100%;display:flex;justify-content:center;align-items:center;margin:0!important;-webkit-user-select:none;user-select:none;cursor:pointer}.next-btn[data-v-c6ed3d92]:hover{color:#d14424}.footer[data-v-c6ed3d92]{display:flex;justify-content:flex-end;align-items:center;margin-top:10px}.close-btn[data-v-c6ed3d92]{width:32px;height:32px;position:absolute;top:8px;right:3px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.notes-panel[data-v-d22b7a23]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.container[data-v-d22b7a23]{height:100%;display:flex;flex-direction:column}.notes[data-v-d22b7a23]{flex:1;overflow:auto;margin:0 -10px;padding:2px 12px}.empty[data-v-d22b7a23]{width:100%;height:100%;color:#999;font-style:italic;display:flex;justify-content:center;align-items:center}.note[data-v-d22b7a23]{border:1px solid #eee;border-radius:4px;padding:10px}.note+.note[data-v-d22b7a23]{margin-top:10px}.note.active[data-v-d22b7a23]{background-color:#f7f7f7}.note .header[data-v-d22b7a23]{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.note .header:hover .btns[data-v-d22b7a23]{opacity:1}.note .user[data-v-d22b7a23]{display:flex;align-items:center}.note .user .avatar[data-v-d22b7a23]{width:30px;height:30px;border-radius:50%;background-color:#42ba97;color:#fff;font-size:18px;display:flex;justify-content:center;align-items:center;margin-right:10px}.note .user .username[data-v-d22b7a23]{font-size:14px}.note .user .time[data-v-d22b7a23]{font-size:12px;color:#aaa}.note .btns[data-v-d22b7a23]{display:flex;align-items:center;opacity:0}.note .btns .btn[data-v-d22b7a23]{margin-left:5px;cursor:pointer}.note .btns .btn[data-v-d22b7a23]:hover{text-decoration:underline;color:#d14424}.note .replies[data-v-d22b7a23]{margin-left:20px;margin-top:15px}.note .replies .reply-item[data-v-d22b7a23]{margin-top:10px}.note .replies .reply-item .content[data-v-d22b7a23]{margin-top:5px}.note-reply[data-v-d22b7a23]{margin-top:15px}.reply-btns[data-v-d22b7a23]{margin-top:5px;text-align:right}.reply-btns .btn[data-v-d22b7a23]{margin-left:8px}.send[data-v-d22b7a23]{height:120px;flex-shrink:0;text-align:right;display:flex;flex-direction:column;justify-content:flex-end}.send .footer[data-v-d22b7a23]{margin-top:10px;display:flex}.send .footer .btn[data-v-d22b7a23]{display:flex;justify-content:center;align-items:center}.send .footer .btn.icon[data-v-d22b7a23]{font-size:18px;color:#666;cursor:pointer}.send .footer .btn+.btn[data-v-d22b7a23]{margin-left:8px}.notes-panel[data-v-39f8fcb9]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.container[data-v-39f8fcb9]{height:100%;display:flex;flex-direction:column}.row[data-v-39f8fcb9]{width:100%;display:flex;align-items:center}.row+.row[data-v-39f8fcb9]{margin-top:5px}.placeholder[data-v-39f8fcb9]{height:30px;line-height:30px;text-align:center;color:#999;font-style:italic;border:1px dashed #ccc;border-radius:2px;margin-top:5px}.aippt-dialog[data-v-11cc4aad]{margin:-20px;padding:30px}.header[data-v-11cc4aad]{margin-bottom:12px}.header .title[data-v-11cc4aad]{font-weight:700;font-size:18px;margin-right:8px}.header .subtite[data-v-11cc4aad]{color:#888;font-size:12px}.preview pre[data-v-11cc4aad]{max-height:450px;padding:10px;margin-bottom:15px;background-color:#f1f1f1;overflow:auto}.preview .btns[data-v-11cc4aad]{display:flex;justify-content:center;align-items:center}.preview .btns .btn[data-v-11cc4aad]{width:120px;margin:0 5px}.configs[data-v-11cc4aad]{margin-top:5px;display:flex;justify-content:space-between}.configs .items[data-v-11cc4aad]{display:flex}.configs .item[data-v-11cc4aad]{margin-right:5px}.recommends[data-v-11cc4aad]{display:flex;flex-wrap:wrap;margin-top:15px}.recommends .recommend[data-v-11cc4aad]{font-size:12px;background-color:#f1f1f1;border-radius:2px;padding:2px 4px;margin-right:5px;cursor:pointer}.count[data-v-11cc4aad]{font-size:12px;color:#999;margin-right:5px}.submit[data-v-11cc4aad]{height:20px;font-size:12px;background-color:#d14424;color:#fff;display:flex;align-items:center;padding:0 5px;border-radius:2px;cursor:pointer}.submit[data-v-11cc4aad]:hover{background-color:#de6949}.submit .icon[data-v-11cc4aad]{font-size:15px;margin-right:3px}.pptist-editor[data-v-017cd48e]{height:100%}.layout-header[data-v-017cd48e]{height:40px}.layout-content[data-v-017cd48e]{height:calc(100% - 40px);display:flex}.layout-content-left[data-v-017cd48e]{width:160px;height:100%;flex-shrink:0}.layout-content-center[data-v-017cd48e]{width:calc(100% - 420px)}.layout-content-center .center-top[data-v-017cd48e]{height:40px}.layout-content-right[data-v-017cd48e]{width:260px;height:100%}.screen-element-video[data-v-d9f232b0]{position:absolute}.rotate-wrapper[data-v-d9f232b0],.element-content[data-v-d9f232b0]{width:100%;height:100%}.screen-element-audio[data-v-db0543f3]{position:absolute}.rotate-wrapper[data-v-db0543f3]{width:100%;height:100%}.element-content[data-v-db0543f3]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.element-content:hover .audio-player[data-v-db0543f3]{display:block}.audio-icon[data-v-db0543f3]{cursor:pointer}.audio-player[data-v-db0543f3]{position:absolute;display:none}.link[data-v-28b05f52]{cursor:pointer}.screen-slide[data-v-54069779]{position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden}.background[data-v-54069779]{width:100%;height:100%;background-position:center;position:absolute}.screen-slide-list[data-v-30b01007]{background:#1d1d1d;position:relative;width:100%;height:100%}.slide-item[data-v-30b01007]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-30b01007]{z-index:2}.slide-item.hide[data-v-30b01007]{opacity:0}.slide-item.turning-mode-no.before[data-v-30b01007]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-30b01007]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-30b01007]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-30b01007],.slide-item.turning-mode-fade.after[data-v-30b01007]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-30b01007]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-30b01007]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-30b01007]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-30b01007]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-30b01007]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-30b01007]{transform:translateY(100%)}.slide-item.turning-mode-slideX3D[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-slideX3D.before[data-v-30b01007]{transform:translate(-100%) scale(.5)}.slide-item.turning-mode-slideX3D.after[data-v-30b01007]{transform:translate(100%) scale(.5)}.slide-item.turning-mode-slideY3D[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-slideY3D.before[data-v-30b01007]{transform:translateY(-100%) scale(.5)}.slide-item.turning-mode-slideY3D.after[data-v-30b01007]{transform:translateY(100%) scale(.5)}.slide-item.turning-mode-rotate[data-v-30b01007]{transition:transform .5s;transform-origin:0 0}.slide-item.turning-mode-rotate.before[data-v-30b01007]{transform:rotate(90deg)}.slide-item.turning-mode-rotate.after[data-v-30b01007]{transform:rotate(-90deg)}.slide-item.turning-mode-scaleY[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleY.before[data-v-30b01007],.slide-item.turning-mode-scaleY.after[data-v-30b01007]{transform:scaleY(.1)}.slide-item.turning-mode-scaleX[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleX.before[data-v-30b01007],.slide-item.turning-mode-scaleX.after[data-v-30b01007]{transform:scaleX(.1)}.slide-item.turning-mode-scale[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scale.before[data-v-30b01007],.slide-item.turning-mode-scale.after[data-v-30b01007]{transform:scale(.25)}.slide-item.turning-mode-scaleReverse[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleReverse.before[data-v-30b01007],.slide-item.turning-mode-scaleReverse.after[data-v-30b01007]{transform:scale(2)}.slide-content[data-v-30b01007]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.slide-thumbnails[data-v-09d790f0]{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#1a1a1a;z-index:99}.return-button[data-v-09d790f0]{height:60px;padding:20px 30px 0}.return-button .icon[data-v-09d790f0]{color:#fff;font-size:36px;cursor:pointer}.return-button .icon[data-v-09d790f0]:hover{color:#d14424}.slide-thumbnails-content[data-v-09d790f0]{height:calc(100% - 100px);padding:20px 30px 30px;display:flex;flex-wrap:wrap;align-content:flex-start;overflow:auto;overflow:overlay}.slide-thumbnails-content .thumbnail[data-v-09d790f0]{width:150px;outline:2px solid #aaa;margin-right:12px;margin-bottom:12px}.slide-thumbnails-content .thumbnail[data-v-09d790f0]:hover{outline-color:#d14424}.slide-thumbnails-content .thumbnail.active[data-v-09d790f0]{outline-width:3px;outline-color:#d14424}.writing-board[data-v-55ae5f6c]{z-index:8;cursor:none;position:absolute;top:0;right:0;bottom:0;left:0}.blackboard[data-v-55ae5f6c]{width:100%;height:100%;background-color:#0f392b}.canvas[data-v-55ae5f6c]{position:absolute;top:0;left:0}.eraser[data-v-55ae5f6c],.pen[data-v-55ae5f6c]{pointer-events:none;position:absolute;z-index:9}.eraser .icon[data-v-55ae5f6c],.pen .icon[data-v-55ae5f6c]{filter:drop-shadow(2px 2px 2px #555)}.eraser[data-v-55ae5f6c]{display:flex;justify-content:center;align-items:center;border-radius:50%;border:4px solid rgba(85,85,85,.15);color:#555555bf}.writing-board-tool[data-v-47295ef6]{font-size:12px;z-index:10;position:absolute;top:0;right:0;bottom:0;left:0}.writing-board-tool .writing-board-wrap[data-v-47295ef6]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.writing-board-tool .tools[data-v-47295ef6]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between}.writing-board-tool .tool-content[data-v-47295ef6]{display:flex;align-items:center}.writing-board-tool .btn[data-v-47295ef6]{padding:5px 10px;cursor:pointer}.writing-board-tool .btn[data-v-47295ef6]:hover{color:#d14424}.writing-board-tool .btn.active[data-v-47295ef6]{background-color:#d1442480;color:#fff}.writing-board-tool .icon[data-v-47295ef6]{font-size:20px}.writing-board-tool .colors[data-v-47295ef6]{display:flex;padding:0 10px}.writing-board-tool .color[data-v-47295ef6]{width:16px;height:16px;border-radius:2px;cursor:pointer}.writing-board-tool .color[data-v-47295ef6]:hover{transform:scale(1.15)}.writing-board-tool .color.active[data-v-47295ef6]{transform:scale(1.3)}.writing-board-tool .color+.color[data-v-47295ef6]{margin-left:8px}.size[data-v-47295ef6]{width:200px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;font-size:13px}.size .label[data-v-47295ef6]{width:70px}.size .size-slider[data-v-47295ef6]{flex:1}.countdown-timer[data-v-92c1f9be]{-webkit-user-select:none;user-select:none}.header[data-v-92c1f9be]{height:16px;font-size:13px;margin-bottom:16px;display:flex;align-items:center}.header .text-btn[data-v-92c1f9be]{margin-right:8px;cursor:pointer}.header .text-btn[data-v-92c1f9be]:hover,.header .text-btn.active[data-v-92c1f9be]{color:#d14424}.content[data-v-92c1f9be]{display:flex;justify-content:space-between;padding:0 5px}.timer[data-v-92c1f9be]{width:54px;height:54px;border-radius:50%;background-color:#d144240d;font-size:22px;overflow:hidden}.timer input[data-v-92c1f9be]{width:100%;height:100%;border:0;outline:0;background-color:transparent;text-align:center}.colon[data-v-92c1f9be]{height:54px;line-height:54px;font-size:22px}.icon-btn[data-v-92c1f9be]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.pause[data-v-92c1f9be],.play[data-v-92c1f9be]{font-size:17px}.reset[data-v-92c1f9be]{font-size:12px}.close-btn[data-v-92c1f9be]{position:absolute;top:0;right:0;padding:10px;cursor:pointer}.base-view[data-v-85c13201]{width:100%;height:100%}.base-view.laser-pen[data-v-85c13201]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.tools-left[data-v-85c13201]{position:fixed;bottom:8px;left:8px;font-size:25px;color:#666;z-index:10}.tools-left .tool-btn[data-v-85c13201]{opacity:.35;cursor:pointer}.tools-left .tool-btn[data-v-85c13201]:hover{opacity:.9}.tools-left .tool-btn+.tool-btn[data-v-85c13201]{margin-left:8px}.tools-right[data-v-85c13201]{height:66px;position:fixed;bottom:-66px;right:0;z-index:5;padding:8px;transition:bottom .2s}.tools-right.visible[data-v-85c13201]{bottom:0}.tools-right[data-v-85c13201]:after{content:"";width:100%;height:66px;position:absolute;left:0;top:-66px}.tools-right .content[data-v-85c13201]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:2px;font-size:25px;background-color:#fff;color:#41464b;padding:8px 10px;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed}.tools-right .tool-btn[data-v-85c13201]{cursor:pointer}.tools-right .tool-btn[data-v-85c13201]:hover,.tools-right .tool-btn.active[data-v-85c13201]{color:#d14424}.tools-right .tool-btn+.tool-btn[data-v-85c13201]{margin-left:15px}.tools-right .page-number[data-v-85c13201]{font-size:13px;padding:8px 12px;cursor:pointer}.presenter-view[data-v-acf86e50]{width:100%;height:100%;display:flex}.toolbar[data-v-acf86e50]{width:70px;height:100%;background-color:#fff;border-right:solid 1px #eee;font-size:12px;margin:20px 0}.toolbar .tool-btn[data-v-acf86e50]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer}.toolbar .tool-btn+.tool-btn[data-v-acf86e50]{margin-top:22px}.toolbar .tool-btn[data-v-acf86e50]:hover,.toolbar .tool-btn.active[data-v-acf86e50]{color:#d14424}.toolbar .divider[data-v-acf86e50]{width:70%;margin:24px 15%!important}.toolbar .tool-icon[data-v-acf86e50]{margin-bottom:8px;font-size:22px}.content[data-v-acf86e50]{width:calc(100% - 430px);height:100%;background-color:#1d1d1d}.slide-list-wrap[data-v-acf86e50]{height:calc(100% - 190px);margin:20px;overflow:hidden;position:relative}.slide-list-wrap.laser-pen[data-v-acf86e50]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.thumbnails[data-v-acf86e50]{height:150px;padding:15px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;border-top:solid 1px #3a3a3a}.thumbnail[data-v-acf86e50]{display:inline-block;outline:2px solid #aaa}.thumbnail+.thumbnail[data-v-acf86e50]{margin-left:10px}.thumbnail[data-v-acf86e50]:hover{outline-color:#d14424}.thumbnail.active[data-v-acf86e50]{outline-width:3px;outline-color:#d14424}.remark[data-v-acf86e50]{width:360px;height:100%;position:relative;background-color:#2a2a2a;border-left:solid 1px #3a3a3a;color:#fff}.remark .header[data-v-acf86e50]{height:60px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;font-size:18px;border-bottom:1px solid #3a3a3a}.remark .remark-content[data-v-acf86e50]{height:calc(100% - 60px);padding:20px;line-height:1.5;overflow:auto;overflow:overlay}.remark .remark-content.empty[data-v-acf86e50]{color:#999;font-style:italic}.remark .remark-scale[data-v-acf86e50]{position:absolute;right:5px;bottom:5px;font-size:22px;display:flex}.remark .scale-btn[data-v-acf86e50]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer}.remark .scale-btn.disable[data-v-acf86e50]{color:#666;cursor:no-drop}.remark .scale-btn[data-v-acf86e50]:not(.disable):hover{background-color:#333}[data-v-acf86e50]::-webkit-scrollbar{width:0;height:0}.pptist-screen[data-v-2f0dc4b8]{width:100%;height:100%}.mobile-operate[data-v-b61bf2dc]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.mobile-thumbnails[data-v-f47af55e]{padding:10px;white-space:nowrap;overflow-x:auto;overflow-y:hidden}.thumbnail-item[data-v-f47af55e]{position:relative;display:inline-block;outline:2px solid #aaa}.thumbnail-item+.thumbnail-item[data-v-f47af55e]{margin-left:10px}.thumbnail-item.active[data-v-f47af55e]{outline-color:#d14424}.thumbnail-item.active .label[data-v-f47af55e]{background-color:#d14424}.thumbnail-item .label[data-v-f47af55e]{min-width:20px;height:14px;line-height:14px;position:absolute;right:-1px;top:-1px;color:#fff;background-color:#aaa;z-index:1;font-size:12px;text-align:center;padding:0 5px}.sortable-chosen[data-v-f47af55e]{top:-5px}[data-v-f47af55e]::-webkit-scrollbar{width:0;height:0}.slide-toolbar[data-v-34808e39]{height:230px;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;position:relative;z-index:2}.remark[data-v-34808e39]{position:relative;flex:1;border-bottom:1px solid #e5e7eb;line-height:1.5}.remark textarea[data-v-34808e39]{width:100%;height:100%;overflow-y:auto;resize:none;border:0;outline:0;padding:8px 10px;font-size:12px;box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0}.toolbar[data-v-34808e39]{height:90px;border-bottom:1px solid #e5e7eb;padding:10px}.row[data-v-34808e39]{width:100%;display:flex;align-items:center;margin-bottom:5px}.row .icon[data-v-34808e39]{margin-right:3px}.element-toolbar[data-v-14deecba]{width:100%;height:240px;position:absolute;z-index:99;bottom:0;left:0;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;animation:slideInUp-14deecba .15s}@keyframes slideInUp-14deecba{0%{transform:translateY(100%)}to{transform:translateY(0)}}.content[data-v-14deecba]{padding:10px;flex:1;overflow:auto}.row[data-v-14deecba]{width:100%;display:flex;align-items:center;margin-bottom:10px}.row .icon[data-v-14deecba]{margin-right:3px}.row-block[data-v-14deecba]{margin-bottom:10px;background-color:#f9f9f9;border-radius:2px;padding:10px}.label[data-v-14deecba]{font-size:13px;margin-bottom:20px;margin-left:6px}.colors[data-v-14deecba]{display:flex;flex-wrap:wrap;align-content:flex-start}.color[data-v-14deecba]{width:12%;margin-bottom:calc(4% / 7);padding-bottom:5px;display:flex;justify-content:center;align-items:center}.color[data-v-14deecba]:not(:nth-child(8n)){margin-right:calc(4% / 7)}.color .color-block[data-v-14deecba]{width:30px;height:30px;border-radius:50%}.mobile-editor-header[data-v-091403e4]{height:50px;background-color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:13px;box-shadow:0 0 15px #0000001a;position:relative;z-index:2}.history[data-v-091403e4]{display:flex;justify-content:center;align-items:center}.history-item[data-v-091403e4]{margin-right:20px}.history-item.disable[data-v-091403e4]{opacity:.5}.mobile-editor[data-v-94103018]{height:100%;position:relative;background-color:#f9f9f9}.content[data-v-94103018]{height:calc(100% - 280px);display:flex;justify-content:center;align-items:center}.viewport[data-v-94103018]{transform-origin:0 0}.viewport-wrapper[data-v-94103018]{position:relative;box-shadow:0 0 0 1px #00000003,0 0 12px #0000001a}.background[data-v-94103018]{width:100%;height:100%;background-position:center;position:absolute}.mobile-player[data-v-c846a018]{transform-origin:0 0;background-color:#1d1d1d;position:relative}.screen-slide-list[data-v-c846a018]{position:relative;width:100%;height:100%}.slide-item[data-v-c846a018]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-c846a018]{z-index:2}.slide-item.hide[data-v-c846a018]{opacity:0}.slide-item.turning-mode-no.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-c846a018]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-c846a018]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-c846a018],.slide-item.turning-mode-fade.after[data-v-c846a018]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-c846a018]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-c846a018]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-c846a018]{transform:translateY(100%)}.slide-content[data-v-c846a018]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.header[data-v-c846a018]{width:100%;height:40px;line-height:40px;padding:0 15px;position:absolute;top:0;left:0;z-index:99;background-color:#1d1d1db3;text-align:right;font-size:13px;color:#fff;animation:slideInDown-c846a018 .15s}.header .back[data-v-c846a018]{height:100%}.thumbnails[data-v-c846a018]{width:100%;position:absolute;bottom:0;left:0;z-index:99;background-color:#1d1d1db3;overflow:auto!important;animation:slideInUp-c846a018 .15s}@keyframes slideInUp-c846a018{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInDown-c846a018{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.mobile-preview[data-v-99aa0ac4]{height:100%;background-color:#f9f9f9}.thumbnail-list[data-v-99aa0ac4]{height:calc(100% - 50px);padding:10px;overflow:auto}.thumbnail-item[data-v-99aa0ac4]{display:flex;justify-content:center;align-items:center;box-shadow:0 0 15px #0000001a}.thumbnail-item+.thumbnail-item[data-v-99aa0ac4]{margin-top:10px}.menu[data-v-99aa0ac4]{height:50px;position:relative;box-shadow:0 -2px 4px #3333330d;background:#fff;display:flex;justify-content:center;align-items:center}.menu .menu-item[data-v-99aa0ac4]{width:50%;height:100%;display:flex;justify-content:center;align-items:center;font-size:13px}.menu .menu-item .icon[data-v-99aa0ac4]{margin-right:8px;font-size:18px}.mobile[data-v-d02011cb],#app{height:100%}.i-icon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.i-icon-spin svg{animation:i-icon-spin 1s infinite linear}.i-icon-rtl{transform:scaleX(-1)}@keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT diff --git a/index.html b/index.html index 96949567..f8210865 100644 --- a/index.html +++ b/index.html @@ -46,8 +46,8 @@ } } - - + +