filecat 7.24.1 → 7.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/{159.997c74c507ded400c1b6.js → 159.762832175b37f8951a60.js} +1 -1
- package/build/dist/3884.d5a4accda3f6370604c7.js +1 -0
- package/build/dist/index.html +1 -1
- package/build/dist/main.4c9a40934bcfe08d3bc3.js +2 -0
- package/build/main.js +1 -1
- package/package.json +1 -1
- package/build/dist/3884.7deab651e28ed4fe62c3.js +0 -1
- package/build/dist/main.1590111d565f6ffdbf14.js +0 -2
- /package/build/dist/{main.1590111d565f6ffdbf14.js.LICENSE.txt → main.4c9a40934bcfe08d3bc3.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[3884],{72458(e,t,s){function n(e,t){let s=function(e){let t="\\";for(const s of e)if("/"===s||"\\"===s){t=s;break}return t}(e);if("."===t)return e;if(".."===t){if(e.length>1){let t=e[e.length-1]===s?1:0;for(let n=e.length-1-t;n>=0;n--)if(e[n]===s)return e.substring(0,n+1)}return e}return e.endsWith(s)&&t.startsWith(s)?e.slice(0,-1)+t:e.endsWith(s)||t.startsWith(s)?e+t:e+s+t}s.d(t,{Jn:()=>n,Z1:()=>i});function i(e){if("string"!=typeof e||0===e.length)return!1;return/^[a-zA-Z]:[\\\/]/.test(e)||/^\\\\[^\\/]+[\\/]/.test(e)||/^\//.test(e)}},47374(e,t,s){s.d(t,{e:()=>h});var n=s(96540),i=s(52671),a=s(64694),l=s(34289),o=s(61443),r=s(75725),c=s(22022),d=s(85997),_=s(74848);function h(e){let t=(0,i.zy)();const s=(0,i.Zp)(),[h,p]=(0,n.useState)([]),[m,u]=(0,n.useState)("/"),[f,x]=(0,n.useState)(void 0),{t:g,i18n:v}=(0,c.Bd)();n.useEffect(()=>{let t="",s=(0,l.vX)().split("/");s=s.filter(e=>e);const n=s.indexOf(e.baseRoute),i=[];if(-1!=n){t=(0,a.IO)(s.slice(0,n),e.baseRoute);const l=s.slice(n+1);for(let e=0;e<l.length;e++){const s=l[e];i.push({value:s,href:0===e?`${t}${s}/`:(0,a.IO)(i[e-1].href,s)})}u(t),p(i)}},[t]);const w=t=>{t.stopPropagation(),e.clickFun(t)},[j,y]=(0,n.useState)(0),k=(0,n.useRef)(null),b=(0,n.useRef)(null),A=()=>{const e=k.current,t=b.current;if(!e||!t)return;const s=[];for(const e of Array.from(t.children))s.push(e.getBoundingClientRect().width);const n=e.clientWidth;if(s.reduce((e,t)=>e+t,0)<=n||s.length<=2)return void y(e=>0===e?e:0);let i=s[0]+48,a=0;for(let e=s.length-1;e>=1&&!(i+s[e]>n);e--)i+=s[e],a++;const l=Math.max(s.length-1-a,0);y(e=>e===l?e:l)};(0,n.useEffect)(()=>{A();const e=new ResizeObserver(A);return k.current&&e.observe(k.current),()=>e.disconnect()},[h,m,t]),(0,n.useEffect)(()=>{const e=k.current;e&&0!==j&&e.scrollWidth>e.clientWidth&&j<h.length-1&&y(e=>e+1)});const G=j>0?1+j:1,N=j>0?h.slice(1,G):[],[C,S]=(0,n.useState)(null);return(0,n.useEffect)(()=>{S(null)},[t,j]),(0,_.jsxs)("div",{className:"breadcrumbs",ref:k,onClick:e=>{x(void 0!==f?void 0:"")},children:[(0,_.jsx)(n.Fragment,{children:void 0===f?(0,_.jsxs)(n.Fragment,{children:[(0,_.jsx)("span",{className:"chevron",children:(0,_.jsx)(i.N_,{to:m,onClick:w,children:(0,_.jsx)(d.In,{icon:"home"})})}),h.map((e,t)=>j>0&&t>=1&&t<G?1!==t?null:(0,_.jsxs)("span",{className:"chevron",children:[(0,_.jsx)(d.In,{icon:"keyboard_arrow_right"}),(0,_.jsx)("span",{className:"breadcrumbs-fold-dot",onClick:e=>{e.stopPropagation();const t=e.currentTarget.getBoundingClientRect();S({x:t.left,y:t.bottom})},children:"..."})]},"fold"):(0,_.jsxs)("span",{className:"chevron",children:[(0,_.jsx)(d.In,{icon:"keyboard_arrow_right"}),(0,_.jsx)(i.N_,{to:e.href,onClick:w,children:decodeURIComponent(e.value)})]},t)),(0,_.jsxs)("div",{className:"breadcrumbs-measure",ref:b,"aria-hidden":!0,children:[(0,_.jsx)("span",{className:"chevron",children:(0,_.jsx)(i.N_,{to:m,children:(0,_.jsx)(d.In,{icon:"home"})})}),h.map((e,t)=>(0,_.jsxs)("span",{className:"chevron",children:[(0,_.jsx)(d.In,{icon:"keyboard_arrow_right"}),(0,_.jsx)(i.N_,{to:e.href,children:decodeURIComponent(e.value)})]},t))]})]}):(0,_.jsx)(r.QM,{click:()=>{x(void 0)},children:(0,_.jsx)(o.Sm,{width:"100%",placeholder:g("输入跳转的目录"),handlerEnter:t=>{e.input_path_enter&&e.input_path_enter(t),x(void 0)}})})}),C&&(0,_.jsx)(r.rY,{click:()=>S(null),children:(0,_.jsx)(r.sw,{x:C.x,y:C.y,items:N.map(e=>({r:decodeURIComponent(e.value),v:e.href})),click:e=>{S(null),s(e)}})})]})}},13884(e,t,s){s.r(t),s.d(t,{default:()=>Q});var n=s(96540),i=s(47374),a=s(34843),l=s(52035),o=s(82893),r=s(14284),c=s(52671),d=s(4412),_=s(78150),h=s(34289),p=s(53459),m=s(99214),u=s(61443),f=s(47022),x=s(62042),g=s(22022),v=s(7523),w=s(78247),j=s(88815),y=s(6960),k=s(47071),b=s(14944),A=s(92275),G=s(23430),N=s(72458),C=s(34251),S=s(60096),I=s(87361),z=s(97952),$=s(85997),E=s(23496),M=s(74848);function P(e){const{t}=(0,g.Bd)(),[s,i]=(0,n.useState)([]),[a,l]=(0,n.useState)(!1),[o,c]=(0,n.useState)(""),[d,_]=(0,n.useState)(""),h=t=>{const s=e.base_path.endsWith("/")?e.base_path:e.base_path+"/",n=t.type===f.Iw.folder?s+t.name:t.path??s+t.name;return n.startsWith("/")?n:"/"+n};(0,n.useEffect)(()=>{(async()=>{if(a)return;l(!0);const t=await r.$M.post("file_get_page",{param_path:e.base_path,page_num:1,page_size:1e4});if(t?.code!==p.m.Success)return;const s=t.data.files??[],n=s.filter(e=>e.type===f.Iw.folder).sort((e,t)=>e.name.localeCompare(t.name)),o=s.filter(e=>e.type!==f.Iw.folder).sort((e,t)=>e.name.localeCompare(t.name));i([...n,...o])})()},[]);const m=(0,n.useMemo)(()=>{const e=o.trim().toLowerCase();return e?s.filter(t=>t.name.toLowerCase().includes(e)):s},[s,o]),x=()=>{const t=d.trim();t&&!e.ignore_names.includes(t)&&(e.on_change_names([...e.ignore_names,t]),_(""))};return(0,M.jsxs)("div",{className:"search-exclude",children:[(0,M.jsxs)("div",{className:"search-exclude__section",children:[(0,M.jsx)("div",{className:"search-exclude__title",children:t("排除当前目录下的项")}),(0,M.jsx)(u.$Z,{icon:"search",value:o,placeholder:t("过滤列表"),handleInputChange:e=>c(e),handleEnterPress:()=>{}}),(0,M.jsxs)("div",{className:"search-exclude__list",children:[0===m.length&&(0,M.jsx)("div",{className:"search-exclude__empty",children:t(a?"无匹配":"加载中")}),m.map(t=>{const s=h(t),n=e.exclude_paths.includes(s),i=t.type===f.Iw.folder;return(0,M.jsxs)("label",{className:"search-exclude__item",children:[(0,M.jsx)("input",{type:"checkbox",checked:n,onChange:()=>(t=>{const s=h(t),n=e.exclude_paths.includes(s);e.on_change_paths(n?e.exclude_paths.filter(e=>e!==s):[...e.exclude_paths,s])})(t)}),(0,M.jsx)("span",{className:"material-symbols-outlined"+(i?" search-exclude__icon--dir":""),children:i?"folder":"draft"}),(0,M.jsx)("span",{className:"search-exclude__item-name",title:t.name,children:t.name})]},s)})]}),e.exclude_paths.length>0&&(0,M.jsx)("div",{className:"search-exclude__chosen",children:e.exclude_paths.map(t=>(0,M.jsxs)("span",{className:"search-exclude__tag",children:[t.split("/").filter(Boolean).pop(),(0,M.jsx)("span",{className:"material-symbols-outlined",onClick:()=>e.on_change_paths(e.exclude_paths.filter(e=>e!==t)),children:"close"})]},t))})]}),(0,M.jsxs)("div",{className:"search-exclude__section search-exclude__section--ignore",children:[(0,M.jsx)("div",{className:"search-exclude__title",children:t("忽略名字")}),(0,M.jsx)("div",{className:"search-exclude__hint",children:t("按名字忽略")}),(0,M.jsxs)("div",{className:"search-exclude__chosen",children:[0===e.ignore_names.length&&(0,M.jsx)("span",{className:"search-exclude__hint",children:t("暂无")}),e.ignore_names.map(t=>(0,M.jsxs)("span",{className:"search-exclude__tag",children:[t,(0,M.jsx)("span",{className:"material-symbols-outlined",onClick:()=>(t=>{e.on_change_names(e.ignore_names.filter(e=>e!==t))})(t),children:"close"})]},t))]}),(0,M.jsxs)("div",{className:"search-exclude__add",children:[(0,M.jsx)(u.Sm,{value:d,placeholder:t("如 node_modules"),handleInputChange:e=>_(e),handlerEnter:x,width:"12em"}),(0,M.jsx)($.rA,{icon:"add",title:t("添加"),onClick:x})]}),(0,M.jsxs)("div",{className:"div-row",children:[(0,M.jsx)($.rA,{icon:"save",title:t("保存忽略名字"),onClick:async()=>{await r.wm.post(E.s.user_save_private_attr,{is_search_exclude:!0,search_exclude_names:e.ignore_names})}}),(0,M.jsx)($.rA,{icon:"settings",title:t("忽略名字设置"),onClick:e.on_open_setting})]})]})]})}function F(e){const{t}=(0,g.Bd)(),{initUserInfo:s}=(0,n.useContext)(v.F),[i]=(0,a.fp)(o.AG.user_base_info),l=i?.user_data?.search_exclude_names,[c,d]=(0,n.useState)(Array.isArray(l)?[...l]:[]),[_,h]=(0,n.useState)(""),[m,f]=(0,n.useState)(!1),x=()=>{const e=_.trim();e&&!c.includes(e)&&(d([...c,e]),h(""))};return(0,M.jsxs)("div",{className:"search-ignore-setting",children:[(0,M.jsx)("div",{className:"search-ignore-setting__desc",children:t("按名字忽略说明")}),(0,M.jsxs)("div",{className:"search-ignore-setting__add",children:[(0,M.jsx)(u.Sm,{value:_,placeholder:t("如 node_modules"),handleInputChange:e=>h(e),handlerEnter:x,width:"20em"}),(0,M.jsx)($.rA,{icon:"add",title:t("添加"),onClick:x})]}),(0,M.jsxs)("div",{className:"search-ignore-setting__list",children:[0===c.length&&(0,M.jsx)("div",{className:"search-ignore-setting__empty",children:t("暂无")}),c.map(e=>(0,M.jsxs)("div",{className:"search-ignore-setting__item",children:[(0,M.jsx)("span",{className:"material-symbols-outlined",children:"block"}),(0,M.jsx)("span",{className:"search-ignore-setting__item-name",children:e}),(0,M.jsx)($.rA,{icon:"delete",title:t("删除"),onClick:()=>(e=>d(c.filter(t=>t!==e)))(e)})]},e))]}),(0,M.jsxs)("div",{className:"div-row div-row--end search-ignore-setting__footer",children:[(0,M.jsx)($.rA,{icon:"arrow_back",title:t("返回"),onClick:e.on_back}),(0,M.jsx)($.rA,{icon:"save",title:t("保存"),onClick:async()=>{if(m)return;f(!0);const t=await r.wm.post(E.s.user_save_private_attr,{is_search_exclude:!0,search_exclude_names:c});f(!1),t?.code===p.m.Success&&(await s(),e.on_back())}})]})]})}const R=500;function D(e){const{t}=(0,g.Bd)(),s=(0,c.Zp)(),[,i]=(0,a.fp)(o.AG.prompt_card),[l]=(0,a.fp)(o.AG.user_base_info),{click_file:r}=(0,m.kZ)(),[d,_]=(0,n.useState)(""),[h,p]=(0,n.useState)("name"),[f,x]=(0,n.useState)(!1),[v,w]=(0,n.useState)(!1),[j,y]=(0,n.useState)(!0),[k,b]=(0,n.useState)([]),[G,N]=(0,n.useState)([]),[C,S]=(0,n.useState)(!1),[E,D]=(0,n.useState)(!1),[X,L]=(0,n.useState)(!1),[K,U]=(0,n.useState)([]),[B,Z]=(0,n.useState)(0),[H,W]=(0,n.useState)(!1),Y=(0,n.useMemo)(()=>new z.I(window.location.host,"file_deep_search"),[]),O=(0,n.useRef)(!1),T=(0,n.useRef)(!1),V=decodeURIComponent(e.base_path),q=()=>i({open:!1}),J=()=>{const e=l?.user_data?.search_exclude_names;return Array.isArray(e)?e:[]};(0,n.useEffect)(()=>{N(J())},[l?.user_data?.search_exclude_names]),(0,n.useEffect)(()=>{let e=[],t=null;const s=()=>{if(t=null,O.current||T.current||!e.length)return;const s=e;e=[],Z(e=>e+s.length),U(e=>e.length>=R?e:[...e,...s].slice(0,R))},n=()=>{O.current||L(!1)};return Y.addMsg(A.HK.file_deep_search_data,n=>{O.current||T.current||(e.push(...n.context??[]),null===t&&(t=setTimeout(s,100)))}),Y.addMsg(A.HK.file_deep_search_end,()=>{O.current||T.current||(s(),L(!1))}),Y.on_message("close",n),()=>{O.current=!0,clearTimeout(t),Y.sendData(A.HK.file_deep_search_cancel,{}).catch(()=>{}),Y.off_message("close",n),Y.close()}},[]);const Q=()=>{const t=d.trim();if(!t||X)return;T.current=!1,U([]),Z(0),W(!0),L(!0);const s={param_path:e.base_path,keyword:t,search_type:h,is_regex:f,ignore_case:v};"content"===h&&(s.show_match_line=j),k.length&&(s.exclude_paths=k),G.length&&(s.exclude_names=G),Y.sendData(A.HK.file_deep_search,s).catch(()=>{})},ee=e=>{let t=e.is_dir?e.path:e.path.slice(0,e.path.lastIndexOf("/")+1);t.endsWith("/")||(t+="/"),q(),s(I.o.file+t.split("/").map(encodeURIComponent).join("/"))},te=async e=>{if(e.is_dir)return ee(e);const t=e.path.slice(0,e.path.lastIndexOf("/")+1)||"/";q(),s(I.o.file+t.split("/").map(encodeURIComponent).join("/")),await new Promise(e=>setTimeout(e,300)),await r({name:e.name,opt_shell:!0})},se="content"===h;return E?(0,M.jsx)(F,{on_back:()=>{D(!1),N(J())}}):(0,M.jsxs)("div",{className:"file-deep-search",children:[(0,M.jsxs)("div",{className:"file-deep-search__bar",children:[(0,M.jsx)(u.$Z,{icon:"search",value:d,placeholder:t(se?"搜文件内容":"搜文件名"),handleInputChange:e=>_(e),handleEnterPress:Q}),(0,M.jsx)("button",{className:"button button--flat",onClick:X?()=>{T.current=!0,Y.sendData(A.HK.file_deep_search_cancel,{}).catch(()=>{}),L(!1)}:Q,children:t(X?"取消":"搜索")}),(0,M.jsx)($.rA,{icon:"close",title:t("关闭"),onClick:q})]}),(0,M.jsxs)("div",{className:"file-deep-search__tabs",children:[(0,M.jsx)("button",{className:"file-deep-search__tab"+(se?"":" file-deep-search__tab--active"),onClick:()=>p("name"),children:t("文件名")}),(0,M.jsx)("button",{className:"file-deep-search__tab"+(se?" file-deep-search__tab--active":""),onClick:()=>p("content"),children:t("文件内容")})]}),(0,M.jsxs)("div",{className:"file-deep-search__options",children:[(0,M.jsx)(u.GL,{context:t("正则"),selected:f,onchange:()=>x(!f)}),(0,M.jsx)(u.GL,{context:t("忽略大小写"),selected:v,onchange:()=>w(!v)}),se&&(0,M.jsx)(u.GL,{context:t("显示匹配行"),selected:j,onchange:()=>y(!j)})]}),(0,M.jsxs)("div",{className:"file-deep-search__hint",children:[(0,M.jsxs)("span",{children:[t("范围"),":",V]}),(0,M.jsxs)("span",{className:"file-deep-search__hint-right",children:[(k.length>0||G.length>0)&&(0,M.jsxs)("span",{className:"file-deep-search__excluded",children:[t("已排除")," ",k.length+G.length]}),(0,M.jsxs)("button",{className:"file-deep-search__filter"+(C?" file-deep-search__filter--active":""),onClick:()=>S(!C),children:[(0,M.jsx)("span",{className:"material-symbols-outlined",children:"filter_alt"}),t("过滤")]}),B>0&&(0,M.jsx)("span",{className:"file-deep-search__count",children:B>R?`${t("已显示")} 500 / ${B}`:`${B}`})]})]}),C&&(0,M.jsx)(P,{base_path:e.base_path,exclude_paths:k,ignore_names:G,on_change_paths:b,on_change_names:N,on_open_setting:()=>D(!0)}),(0,M.jsxs)("div",{className:"file-deep-search__body"+(se&&j?" file-deep-search__body--line":""),children:[K.length>0&&(0,M.jsx)("div",{className:"file-deep-search__results",children:K.map(e=>{const s=e.path.slice(0,e.path.lastIndexOf("/")+1);return(0,M.jsxs)("div",{className:"file-deep-search__row",children:[(0,M.jsxs)("div",{className:"file-deep-search__name",children:[e.is_dir?(0,M.jsx)("span",{className:"file-deep-search__dir",children:e.name}):(0,M.jsx)("span",{className:"file-deep-search__file",title:e.name,children:e.name}),(0,M.jsx)("span",{className:"file-deep-search__path",children:s}),e.lines&&e.lines.length>0&&(0,M.jsx)("div",{className:"file-deep-search__lines",children:e.lines.map(t=>(0,M.jsxs)("div",{className:"file-deep-search__line",onClick:()=>te(e),children:[(0,M.jsx)("span",{className:"file-deep-search__line-no",children:t.line}),(0,M.jsx)("span",{className:"file-deep-search__line-text",children:t.text})]},t.line))})]}),(0,M.jsxs)("div",{className:"file-deep-search__actions",children:[(0,M.jsx)($.rA,{icon:"open_in_new",title:e.is_dir?t("打开"):t("打开文件"),onClick:()=>te(e)}),(0,M.jsx)($.rA,{icon:"folder_open",title:t("打开所在目录"),onClick:()=>ee(e)})]})]},e.path)})}),X&&(0,M.jsxs)("div",{className:"file-deep-search__empty",children:[(0,M.jsx)("span",{className:"chat-session-running",title:t("搜索中")}),t("搜索中")]}),!X&&B>R&&(0,M.jsx)("div",{className:"file-deep-search__more",children:t("结果过多")}),!X&&0===K.length&&(0,M.jsx)("div",{className:"file-deep-search__empty",children:t(H?"无匹配":se?"输入内容后搜":"输入后搜")})]})]})}var X=s(64694),L=s(12730),K=s(75725),U=s(70447),B=s(40505);let Z={};function H(){const{t:e}=(0,g.Bd)();let t=(0,c.zy)();const s=(0,c.Zp)(),{check_user_auth:i}=(0,w.MH)(),[l,d]=(0,a.fp)(o.AG.nowFileList),[p,u]=(0,a.fp)(o.AG.uploadFiles),[j,y]=(0,a.fp)(o.AG.showPrompt),[k,N]=(0,a.fp)(o.AG.selectedFileList),[S,z]=(0,a.fp)(o.AG.copyedFileList),[E,P]=(0,a.fp)(o.AG.cutedFileList),[F,R]=(0,a.fp)(o.AG.selectedFileList),[D,B]=(0,a.fp)(o.AG.clickFileList),[H,W]=(0,a.fp)(o.AG.fileShellShow),Y=(0,m.Cf)(),[O,T]=(0,a.fp)(o.AG.file_root_list),[V,q]=(0,a.fp)(o.AG.file_root_index),[J,Q]=(0,n.useState)(void 0),[ee,te]=(0,n.useState)(""),[se,ne]=(0,a.fp)(o.AG.workflow_show),[ie,ae]=(0,a.fp)(o.AG.workflow_realtime_show),[le,oe]=(0,a.fp)(o.AG.work_flow_show),{initUserInfo:re}=(0,n.useContext)(v.F),[ce,de]=(0,a.fp)(o.AG.user_base_info),{click_file:_e}=(0,m.kZ)(),[he,pe]=(0,a.fp)(o.AG.prompt_card),me=(0,n.useMemo)(()=>l.files.reduce((e,t)=>e+(t.type!==f.Iw.folder?1:0),0),[l]),ue=(0,n.useMemo)(()=>l.files.reduce((e,t)=>e+(t.type===f.Iw.folder?1:0),0)+(l.folders?.length??0),[l]);function fe(e){(0,x.SK)(e)}(0,n.useEffect)(()=>{Z={}},[t]),(0,n.useEffect)(()=>()=>{W({show:!1,path:""})},[]);const xe=(0,m.Vs)(),ge=t=>{pe({open:!0,title:e("信息"),context_div:(0,M.jsxs)("div",{style:{maxWidth:"25rem"},children:[(0,M.jsx)(K.Yh,{left:e("挂载位置磁盘"),right:t?.total_size}),(0,M.jsx)(K.Yh,{left:`${e("磁盘剩余")}`,right:t?.left_size}),(0,M.jsx)(K.Yh,{left:`${e("文件系统")}`,right:t?.fs_type}),(0,M.jsx)(K.Yh,{left:`${e("文件夹数")}`,right:ue}),(0,M.jsx)(K.Yh,{left:`${e("文件数")}`,right:me}),(0,M.jsx)(K.Yh,{left:`${e("当前位置")}`,right:(0,M.jsx)(U.xP,{context:t?.now_absolute_path})})]}),cancel:()=>{b.ws.removeMsg(A.HK.file_info)}})};return(0,M.jsxs)(n.Fragment,{children:[k.length>0&&(0,M.jsx)($.rA,{icon:"delete",title:e("删除"),onClick:()=>{y({show:!0,type:_.PromptEnum.FilesDelete,overlay:!0,data:{}})}}),k.length>0&&(0,M.jsx)($.rA,{icon:"content_copy",title:e("复制"),onClick:function(){const e=(0,m.ib)(l,k);z(e.map(e=>(0,m.Ok)(e.name))),P([]),fe("已复制")}}),k.length>0&&(0,M.jsx)($.rA,{icon:"content_cut",title:e("剪切"),onClick:function(){const e=(0,m.ib)(l,k);P(e.map(e=>(0,m.Ok)(e.name))),z([]),fe("已剪切")}}),(S.length>0||E.length>0)&&(0,M.jsx)($.rA,{onClick:function(){y({show:!0,type:_.PromptEnum.Confirm,overlay:!0,data:{}})},icon:"content_paste",title:e("粘贴到此处"),tip:S.length+E.length}),k.length>0&&(0,M.jsx)($.rA,{icon:"download",title:e("下载"),onClick:function(){const e=(0,m.ib)(l,k);for(let t=0;t<e.length;t++){const s=e[t];e[t]=encodeURIComponent((0,m.Ok)(s.name))}const t=r.$M.getDownloadUrl(e);window.open(t)}}),k.length>0&&(0,M.jsx)($.rA,{icon:"compress",title:e("压缩"),onClick:function(){const t=(0,m.ib)(l,k);for(let e=0;e<t.length;e++){const s=t[e];t[e]=(0,m.Ok)(s.name)}t&&0!==t.length?y({show:!0,type:_.PromptEnum.Compress,overlay:!0,data:{files:t}}):(0,x.zN)(e("没有选中"))}}),1===k.length&&(0,M.jsx)($.rA,{icon:"edit_attributes",title:e("重命名"),onClick:function(){y({show:!0,type:_.PromptEnum.FileRename,overlay:!0,data:{}})}}),le&&(0,M.jsx)($.rA,{icon:"api",title:"workflow",onClick:()=>{ne(!se)}}),Y.can_terminal&&(0,M.jsx)($.rA,{icon:"terminal",title:"shell",onClick:function(){H.show?W({show:!1,path:""}):W({show:!0,path:(0,h.GG)("file",(0,h.vX)())})}}),i(G.oV.share_file)&&(0,M.jsx)($.rA,{icon:"share",title:e("文件分享"),onClick:()=>{s(`${I.o.share_list_setting_page}`)}}),(0,M.jsx)($.rA,{icon:"grid_view",title:e("切换样式"),onClick:xe}),(0,M.jsx)($.rA,{icon:"create_new_folder",title:e("创建文件夹"),onClick:function(){y({show:!0,type:_.PromptEnum.DirNew,overlay:!0,data:{dir:(0,h.GG)("file",(0,h.vX)())}})}}),(0,M.jsx)($.rA,{icon:"note_add",title:e("创建文本文件"),onClick:function(){y({show:!0,type:_.PromptEnum.FileNew,overlay:!0,data:{dir:(0,h.GG)("file",(0,h.vX)())}})}}),(0,M.jsx)($.rA,{icon:"upload_file",title:e("上传"),onClick:()=>{y({show:!0,type:_.PromptEnum.UploadFile,overlay:!0,data:{call:e=>{let t=e.currentTarget?.files;if(!t)return;let s=!!t[0].webkitRelativePath;const n=[],i=new Set;for(let e=0;e<t.length;e++){const a=t[e],l=s?a.webkitRelativePath:`${a.webkitRelativePath}${a.name}`;a.fullPath=l,s&&i.add((0,L.S)(l)),n.push(a)}const a=[];if(s)for(const e of i)a.push({isDir:!0,fullPath:e,name:e});a.push(...n),u(a),y({show:!0,type:_.PromptEnum.FilesUpload,overlay:!1,data:{}})}}})}}),(0,M.jsx)($.rA,{icon:"info",title:e("信息"),onClick:async()=>{let e;if(!Z.now_absolute_path){b.ws.addMsg(A.HK.file_info,t=>{const s=t.context;e&&(Z={...Z,...s},b.ws.removeMsg(A.HK.file_info),ge(Z))});const t=await b.ws.sendData(A.HK.file_info,{type:f.Iw.folder,path:(0,h.GG)("file",(0,h.vX)())});e=t.context,Z=e,ge(Z)}ge(Z)}}),(0,M.jsx)($.rA,{icon:"more_vert",title:e("切换目录"),onClick:t=>{const n=new C.ik;n.x=t.clientX,n.y=t.clientY,n.type=f.Iw.directory,n.items=O,n.item_pre_value=V,n.textClick=async t=>{if(t.type===C.LU.add)return s(`${I.o.setting_private_env_setting}`),y({data:void 0,overlay:!1,type:"",show:!1}),void(0,x.N9)(e("请配置 文件夹路径"));y({data:void 0,overlay:!1,type:"",show:!1}),t.type!==C.LU.child?(async e=>{q(e),await r.$M.post("base_switch",{root_index:e}),await re(),s("/file/"),R([]),B([])})(t.index):s((0,X.IO)(I.o.file,t.rel))},y({show:!0,type:_.PromptEnum.FileMenu,overlay:!1,data:n})}})]})}var W=s(2543),Y=s(21499);const O=n.lazy(()=>Promise.all([s.e(7856),s.e(6349),s.e(3659)]).then(s.bind(s,63659))),T=n.lazy(()=>Promise.all([s.e(7856),s.e(1636)]).then(s.bind(s,81636))),V=n.lazy(()=>s.e(9857).then(s.bind(s,69857)));let q,J="";function Q(){const[e,t]=(0,a.fp)(o.AG.editorSetting),[,s]=(0,a.fp)(o.AG.md_editor),[,x]=(0,a.fp)(o.AG.log_viewer),[,z]=(0,a.fp)(o.AG.image_editor),[,P]=(0,a.fp)(o.AG.markdown),[,F]=(0,a.fp)(o.AG.excalidraw_editor),[,R]=(0,a.fp)(o.AG.mind_editor),[,L]=(0,a.fp)(o.AG.timeline_editor),[,K]=(0,a.fp)(o.AG.excel_editor),[U,Z]=(0,a.fp)(o.AG.file_preview),{t:Q}=(0,g.Bd)();let ee=(0,c.zy)();const te=(0,c.Zp)(),[se,ne]=(0,a.fp)(o.AG.nowFileList),[ie]=(0,a.fp)(o.AG.file_list_refresh),[ae]=(0,a.fp)(o.AG.mount_enabled),[le,oe]=(0,a.fp)(o.AG.current_mount),[re,ce]=(0,a.fp)(o.AG.showPrompt),[de,_e]=(0,a.fp)(o.AG.selectedFileList),[he,pe]=(0,a.fp)(o.AG.clickFileList),[me,ue]=(0,a.fp)(o.AG.fileShellShow),[fe,xe]=(0,n.useState)(""),[ge,ve]=(0,a.fp)(o.AG.workflow_show),[we,je]=(0,a.fp)(o.AG.workflow_realtime_show),[ye,ke]=(0,a.fp)(o.AG.work_flow_show),{initUserInfo:be}=(0,n.useContext)(v.F),[Ae,Ge]=(0,a.fp)(o.AG.user_base_info),{check_user_auth:Ne}=(0,w.MH)(),{click_file:Ce}=(0,m.kZ)(),[Se]=(0,c.ok)(),Ie=(0,m._A)(),ze=n.useRef(null),[$e,Ee]=(0,a.fp)(o.AG.to_running_files),[Me,Pe]=(0,a.fp)(o.AG.file_page),[Fe]=(0,a.fp)(o.AG.blank_search_mode),[,Re]=(0,a.fp)(o.AG.prompt_card),[De,Xe]=(0,a.fp)(o.AG.blank_search_mode_for_temp),Le=(0,m.oT)(),Ke="1"===Se.get("chat_open"),Ue=Ne(G.oV.ai_agent_page),Be=(0,m.Cf)();(0,n.useEffect)(()=>{Ae?.user_data&&Ke&&!Ue&&Le("chat_open",null)},[Ke,Ue,Ae]);const[Ze,He]=(0,a.fp)(o.AG.studio_chat_width),We=n.useRef(null),[Ye,Oe]=(0,n.useState)(!1),[Te,Ve]=(0,n.useState)(void 0),qe=(0,m.dN)();(0,m.rJ)(qe());const[Je,Qe]=(0,a.fp)(o.AG.ai_chat_session_by_cwd),et=function(){const e=(0,m.Cf)(),[t,s]=(0,a.fp)(o.AG.user_base_info),{t:i}=(0,g.Bd)(),{check_user_auth:l}=(0,w.MH)(),[d,p]=(0,a.fp)(o.AG.router_jump),u=(0,c.Zp)(),{initUserInfo:x}=(0,n.useContext)(v.F),[j,y]=(0,a.fp)(o.AG.nowFileList),[k,N]=(0,a.fp)(o.AG.showPrompt),[S,z]=(0,a.fp)(o.AG.fileShellShow),[$,P]=(0,a.fp)(o.AG.blank_search_mode);return s=>{s.preventDefault(),s.stopPropagation();const n=new C.ik;n.x=s.clientX,n.y=s.clientY,n.type=f.Iw.directory;const a=[{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.dir_show_type===G.t8.time_minx_max),children:i("时间逆序")}),v:G.t8.time_minx_max},{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.dir_show_type===G.t8.time_max_min),children:i("时间顺序")}),v:G.t8.time_max_min}],o=[{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.dir_show_type===G.t8.size_min_max),children:i("大小顺序")}),v:G.t8.size_min_max},{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.dir_show_type===G.t8.size_max_min),children:i("大小逆序")}),v:G.t8.size_max_min}],c=[{r:(0,M.jsx)("span",{style:(0,B.ok)(!t.user_data.file_list_pagination_mode||t.user_data.file_list_pagination_mode===G.yM.all),children:i("全部加载文件")}),v:G.yM.all},{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.file_list_pagination_mode===G.yM.pagination),children:i("scrll_l")}),v:G.yM.pagination}],d=[{r:(0,M.jsx)("span",{style:(0,B.ok)(!t.user_data.file_time_show_type||t.user_data.file_time_show_type===G.KD.current),children:i("最近时间")}),v:G.KD.current},{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.file_time_show_type===G.KD.time),children:i("准确时间")}),v:G.KD.time}],g=[{r:i("文件列表展示"),items:[{r:i("文件排序"),v:"",items:[{r:(0,M.jsx)("span",{style:(0,B.ok)(!t.user_data.dir_show_type),children:i("系统默认")}),v:G.t8.defualt},{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.dir_show_type===G.t8.name),children:i("名字")}),v:G.t8.name},{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.dir_show_type===G.t8.time_minx_max||t.user_data.dir_show_type===G.t8.time_max_min),children:i("修改时间")}),v:!1,items:a},{r:(0,M.jsx)("span",{style:(0,B.ok)(t.user_data.dir_show_type===G.t8.size_min_max||t.user_data.dir_show_type===G.t8.size_max_min),children:i("文件大小")}),v:!1,items:o}]},{r:i("文件加载方式"),v:"",items:c},{r:i("时间展示"),v:"",items:d},{r:i("缩放调整"),v:"zoom_adjust"},{r:(0,M.jsx)("span",{style:(0,B.ok)($),children:i("srchbln")}),v:"blank_search_mode"}]}];e.git_available&&j?.folders?.find(e=>".git"===e.name)&&g.push({r:i("查看Git提交"),v:"git_page"}),l(G.oV.code_resource)&&g.push({r:i("add_rot"),v:"code_resource"}),l(G.oV.http_proxy)&&g.push({r:i("dl_here"),v:"http_resource"}),t?.user_data?.quick_cmd&&(0,m.LL)([...t.user_data.quick_cmd],g),n.items=g,n.textClick=async e=>{if(console.log(e),!1===e)return;const t={};if("gcfg_dir_config"===e){const e=(0,h.GG)("file",(0,h.vX)());return N({data:void 0,overlay:!1,type:"",show:!1}),void u(`${I.o.gcfg_page}/${encodeURIComponent(e)}`)}if("git_page"===e){const e=(0,h.GG)("file",(0,h.vX)());return N({data:void 0,overlay:!1,type:"",show:!1}),void u(`${I.o.git_page}/${encodeURIComponent(e)}`)}if("code_resource"===e){const e=await b.ws.sendData(A.HK.file_info,{path:(0,h.GG)("file",(0,h.vX)())});return p({page_self_router_api_data:[`/api/${Date.now()}`,e.context.now_absolute_path]}),N({data:void 0,overlay:!1,type:"",show:!1}),void u("/setting/customer_router/")}if("http_resource"===e){const e=await b.ws.sendData(A.HK.file_info,{path:(0,h.GG)("file",(0,h.vX)())});return p({http_download_map_path:e.context.now_absolute_path}),N({data:void 0,overlay:!1,type:"",show:!1}),void u("/proxy/http/")}if("zoom_adjust"===e)return N({data:void 0,overlay:!1,type:"",show:!1}),void setTimeout(()=>{N({show:!0,type:_.PromptEnum.ZoomAdjust,overlay:!1,data:{}})},0);if("object"==typeof e&&"quick_cmd"===e.tag){let t=e.cmd;t&&(t.endsWith("\r")||(t+="\r",z({show:!0,path:(0,h.GG)("file",(0,h.vX)()),cmd:t})))}else{if("blank_search_mode"===e)return P(!$),void N({data:void 0,overlay:!1,type:"",show:!1});if(e===G.yM.all||e===G.yM.pagination)t.is_pagination_mode=!0;else if(e===G.KD.current||e===G.KD.time)t.is_file_show_type=!0;else{if(e!==G.t8.defualt&&e!==G.t8.name&&e!==G.t8.size_max_min&&e!==G.t8.size_min_max&&e!==G.t8.time_max_min&&e!==G.t8.time_minx_max)return;t.is_dir_list_type=!0}}await r.wm.post(E.s.user_save_private_attr,{type:e,...t}),await x(),N({data:void 0,overlay:!1,type:"",show:!1}),u((0,h.vX)())},N({show:!0,type:_.PromptEnum.FileMenu,overlay:!1,data:n})}}(),tt=async e=>{let t=!1;for(const s of e.files??[])s.origin_size=s.size,s.size=(0,j.v7)(s.size),Ae.user_data.file_time_show_type===G.KD.time?s.show_mtime=s.mtime?(0,Y.Yq)(s.mtime):"":s.show_mtime=s.mtime?(0,y.s)(s.mtime):"",t||!s.name.endsWith(".workflow.yml")&&!s.name.endsWith(".act")||(t=!0),s.name===k.SB&&(t=!0);for(const s of e.folders??[])Ae.user_data.file_time_show_type===G.KD.time?s.show_mtime=s.mtime?(0,Y.Yq)(s.mtime):"":s.show_mtime=s.mtime?(0,y.s)(s.mtime):"",s.name===k.SB&&(t=!0);ke(t)},st=n.useRef(null),nt=async e=>{if(!0===ae){if(st.current!==e){st.current=e;try{const t=await r.$M.post("file/mount_info",{param_path:e});oe(t?.data??null),await b.ws.connect()}catch(e){oe(null)}}}else oe(null)};(0,n.useEffect)(()=>{ye&&(async()=>{const e=new k.Nd,t=(0,l.zp)().get(o.AG.current_mount);e.dir_path=(0,m.Zl)((0,h.GG)("file",(0,h.vX)()),t),b.ws.addMsg(A.HK.workflow_realtime,e=>{const t=e.context;if(e.context){for(const e of t.sucess_file_list)(0,m.Ys)(e);for(const e of t.failed_file_list)(0,m.V$)(e);Ee(new Set(t.running_file_list))}}),await b.ws.sendData(A.HK.workflow_realtime,e)})()},[ye,le,ee]);const it=async()=>{const e=(0,h.GG)("file",(0,h.vX)());if(Fe||De)return;let t;if(nt(e),Ae.user_data.file_list_pagination_mode===G.yM.pagination){if(J!==e){if(J=e,1!==Me.page_num)return void Pe({page_size:Me.page_size,page_num:1})}else if(Me.page_num<0)return;if(t=await r.$M.post("file_get_page",{param_path:e,page_num:Me.page_num,page_size:Me.page_size}),t.code!==p.m.Success)return;const s=t.data;return tt(s),s.files?.length?(ne(e=>{const t=(0,W.cloneDeep)(1===Me.page_num?s.files:[...e?.files??[],...s.files]),n={...e,files:t};return(0,m.yC)(n,Ae.user_data.dir_show_type),n}),void(q=t.data)):void Pe({page_size:Me.page_size,page_num:-1})}if(t=await r.$M.get(e),t.code!==p.m.Success)return;const s=t.data;(0,m.yC)(s,Ae.user_data.dir_show_type),tt(t.data),ne(t.data),q=t.data};(0,n.useEffect)(()=>async()=>{Ee(new Set)},[]);const at=()=>{ke(!1),(()=>{const e=Se.get("preview_file_name"),t=Se.get("preview_mode");if(!e||!t)return!1;const n=(0,h.GG)("file",(0,h.vX)());if(ze.current===n+e)return!0;ze.current=n+e;const i=()=>Ie(null);return"md"===t?(s({url:r.$M.getDownloadUrl(`${encodeURIComponent(n)}${e}`),path:`${n}${e}`,name:e,close:i}),!0):"log"===t?(x({show:!0,fileName:e,encoding:Se.get("preview_log_enc")??"utf8",wrap:Se.get("preview_log_wrap")??"wrap",close:i}),!0):"image_edit"===t?(z({path:(0,X.IO)((0,h.vX)(),e),name:e,close:i}),!0):(Ce({name:e,opt_shell:!0,..."text"===t?{model:"text"}:{},close:i}),!0)})()||(t({open:!1}),Z({open:!1}),s({}),x({show:!1}),z({}),P({}),F({}),R({}),L({}),K({}),it())};(0,n.useEffect)(()=>{at()},[ee,Me]),(0,n.useEffect)(()=>{ie>0&&it()},[ie]);const lt=n.useRef(!1);(0,n.useEffect)(()=>{if(null!==ae)return lt.current?void(!0===ae?nt((0,h.GG)("file",(0,h.vX)())):oe(null)):(lt.current=!0,void(!0===ae&&null===le&&nt((0,h.GG)("file",(0,h.vX)()))))},[ae]);const ot=()=>{const e=(0,h.GG)("file",(0,h.vX)());Re({open:!0,title:Q("深搜"),context_div:(0,M.jsx)(D,{base_path:e})})},rt=e=>{e.target===e.currentTarget&&(_e([]),pe([]))},ct=n.useCallback((0,W.throttle)(e=>{const t=We.current;if(!t||!t.parentElement)return;const s=parseFloat(getComputedStyle(t).fontSize),n=t.parentElement.getBoundingClientRect(),i=n.right-e.clientX,a=Math.min(Math.max(i,320),.7*n.width);He(parseFloat((a/s).toFixed(2)))},32),[]),dt=()=>{Oe(!1),document.removeEventListener("pointermove",ct)},_t=(0,M.jsxs)("div",{className:"file-list-main",children:[(0,M.jsx)(i.e,{baseRoute:"file",clickFun:function(){if(_e([]),pe([]),Ae.user_data.file_list_pagination_mode===G.yM.pagination){const e=document.getElementById("listing");e&&(e.scrollTop=0),Pe({page_size:Me.page_size,page_num:1})}},input_path_enter:e=>{var t;_e([]),pe([]),ne({files:[],folders:[]}),(0,N.Z1)(e)?(e=e.replace(0===(t=Ae.user_data).folder_item_now||void 0===t.folder_item_now?t.cwd:t.folder_items[t.folder_item_now-1].path,""),te(e)):te((0,N.Jn)((0,h.vX)(),e))}}),le&&(0,M.jsxs)("div",{className:"mount-tip-bar",style:{borderLeftColor:le.color},children:[(0,M.jsx)("span",{className:"material-icons",style:{color:le.color},children:"cloud"}),(0,M.jsx)("span",{children:[{v:le.driver,t:Q("驱动")},{v:le.credential_note,t:Q("凭据")},{v:le.account_note,t:Q("账号")}].filter(e=>Boolean(e.v)).map(e=>`${e.v}(${e.t})`).join(" - ")}),le.readonly&&(0,M.jsx)("span",{className:"mount-readonly-tag",children:Q("只读")})]}),Ae.user_data.file_list_pagination_mode===G.yM.pagination?(0,M.jsx)(S.$J,{handleContextMenu:et,clickBlank:rt,list:se.files}):(0,M.jsx)(S.t$,{handleContextMenu:et,file_list:se.files,folder_list:se.folders,clickBlank:rt})]});return(0,M.jsxs)(n.Fragment,{children:[(0,M.jsxs)(d.aZ,{children:[(0,M.jsx)("div",{className:"mobile-deep-search-btn",children:(0,M.jsx)($.rA,{icon:"search",title:Q("搜索"),onClick:ot})}),(0,M.jsx)(u.$Z,{handleEnterPress:async()=>{if(Fe||De){if(_e([]),pe([]),!fe||!fe.trim())return void ne({files:[],folders:[]});const e=(0,h.GG)("file",(0,h.vX)()),t=await r.$M.post("file_get_page",{param_path:e,page_num:1,page_size:1e4,search:fe.trim()});if(t.code!==p.m.Success)return;const s=t.data;return(0,m.yC)(s,Ae.user_data.dir_show_type),tt(s),ne(s),void(q=s)}if(!q)return;_e([]),pe([]);const e=[],t=[];for(const t of q.files??[])t.name.includes(fe)&&e.push(t);for(const e of q.folders??[])e.name.includes(fe)&&t.push(e);ne({files:e,folders:t})},placeholder:Q("搜索当前目录"),icon:"search",value:"",mobile_hidden:!0,handleIconClick:ot,handleInputChange:e=>{xe(e)},max_width:"25em"})]}),(0,M.jsxs)(d.aZ,{position:"right",children:[Ne(G.oV.ai_agent_page)&&Be.ai_chat_available&&(0,M.jsx)($.rA,{icon:"smart_toy",title:Q("AI 聊天"),selected:Ke,onClick:()=>Le("chat_open",!Ke?"1":null)}),(0,M.jsx)("div",{className:"mobile-context-btn",children:(0,M.jsx)($.rA,{icon:"more_horiz",title:Q("右键"),onClick:()=>{const e=de[de.length-1];if(void 0!==e){const t=[...se.folders??[],...se.files??[]][e];if(t){const s=document.querySelectorAll(".item")[e],n=s?s.getBoundingClientRect():{left:window.innerWidth/2,bottom:100},i={preventDefault:()=>{},stopPropagation:()=>{},clientX:n.left+10,clientY:n.bottom??100},a=new C.ik;a.path=(0,X.IO)((0,h.vX)(),t.name),a.filename=t.name,a.x=i.clientX,a.y=i.clientY,a.type=t.type===f.Iw.folder?f.Iw.folder:(0,C.uL)(t.name),a.size=t.origin_size,ce({show:!0,type:_.PromptEnum.FileMenu,overlay:!1,data:a})}}else{const e={preventDefault:()=>{},stopPropagation:()=>{},clientX:window.innerWidth/2,clientY:window.innerHeight/2};et(e)}}})}),(0,M.jsx)(H,{})]}),(0,M.jsxs)("div",{className:"file-list-split"+(Ke?" file-list-split--chat":""),children:[_t,Ke&&(0,M.jsxs)(n.Fragment,{children:[(0,M.jsx)("div",{className:"studio__divider studio__divider--chat",ref:We,onPointerDown:e=>{e.preventDefault(),Oe(!0),document.addEventListener("pointermove",ct),document.addEventListener("pointerup",dt,{once:!0})}}),(0,M.jsx)("div",{className:"studio-chat-panel",style:{width:`${Ze}em`},children:(0,M.jsx)(n.Suspense,{fallback:null,children:(0,M.jsx)(V,{inline_header:!0,sync_url:!1,file_cwd_path:qe(),session_id:Te??(ht=qe(),o.AG.get_ai_chat_session(Je,ht)),on_session_change:e=>{Ve(e),((e,t)=>{Qe({...Je,[e]:t})})(qe(),e)}})})})]})]}),Ye&&(0,M.jsx)("div",{className:"shell__overlay",onPointerUp:dt}),ge&&(0,M.jsx)(O,{}),we.open&&(0,M.jsx)(T,{})]});var ht}}}]);
|
package/build/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><base href="/"><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{{{web_site_title}}}</title><link rel="icon" href="{{{logo_favicon}}}"/><script defer="defer" src="/main.
|
|
1
|
+
<!doctype html><html lang="en"><head><base href="/"><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{{{web_site_title}}}</title><link rel="icon" href="{{{logo_favicon}}}"/><script defer="defer" src="/main.4c9a40934bcfe08d3bc3.js"></script></head><body><div id="root"></div></body><script id="pre_code" type="text/template">return {{{Windows_FileCat}}};</script><script>window.EXCALIDRAW_ASSET_PATH = "/";window.FileCat;</script></html>
|