T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/lavocat.quebec/public_html/_next/static/chunks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/lavocat.quebec/public_html/_next/static/chunks/6916.d6de9b6aaded79cc.js
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6916],{6916:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(37876),l=a(14232);a(74750),a(95532);let r=["text/plain","text/markdown","text/csv","application/json","text/x-log","text/x-yaml","text/yaml","text/xml","application/xml","text/html","text/css","text/javascript","application/javascript","application/typescript","text/typescript"],i=[".txt",".md",".csv",".log",".json",".ts",".js",".css",".html",".xml",".yaml",".yml"],n=e=>{let{url:t,type:a,name:n,status:c,onApprove:x,onReject:o,onDelete:d,isAdmin:p}=e,[m,h]=(0,l.useState)(null),[f,u]=(0,l.useState)(!1),[v,y]=(0,l.useState)(null),j=()=>{let e=n?n.slice(n.lastIndexOf(".")).toLowerCase():"";return r.includes(a)||i.includes(e)};return((0,l.useEffect)(()=>{j()&&(u(!0),y(null),fetch(t).then(e=>{if(!e.ok)throw Error("Failed to fetch file");return e.text()}).then(h).catch(e=>y(e.message)).finally(()=>u(!1)))},[t,a,n]),j())?f?(0,s.jsx)("div",{className:"p-8 text-center text-gray-500",children:"Loading preview..."}):v?(0,s.jsxs)("div",{className:"p-8 text-center text-red-600",children:["Failed to load file: ",v]}):(0,s.jsx)("div",{className:"p-4 max-h-[70vh] overflow-auto bg-gray-900 text-gray-100 rounded-lg shadow-inner border border-gray-300 text-left",children:(0,s.jsx)("pre",{className:"whitespace-pre-wrap break-words text-sm font-mono",children:m})}):(0,s.jsxs)("div",{className:"p-8 text-center text-red-600 font-bold",children:["PDF viewing is temporarily disabled for stability. Please contact the admin if you need this feature re-enabled.",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"block mt-2 text-gray-500",children:"Preview not available for this file type."}),p&&(0,s.jsxs)("div",{className:"mt-4 text-sm",children:["Admin mode: ",n]})]})},c=e=>(0,s.jsx)(n,{...e})},74750:()=>{},95532:()=>{}}]);

CasperSecurity Mini