-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp-922077e5.js
5 lines (5 loc) · 1.22 KB
/
p-922077e5.js
1
2
3
4
5
/*!
* Built by BASIS
* Copyright BASIS International Ltd.
*/
const e=e=>new RegExp(e.replace(/([.+^${}()|[\]\\])/g,"\\$1").replace(/\*/g,".*").replace(/\?/g,".")),i=e=>new RegExp(e.split(",").map((e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&").replace(/\*/g,".*").replace(/\?/g,"."))).join("|")),t=e=>!(!e||0===e.length||e.length>255)&&(!/[/\\:*?"<>|]/.test(e)&&!e.endsWith(".")&&!e.endsWith(" ")&&"."!==e&&".."!==e),s=e=>(e||"").replace(/[\\/]+/g,"/"),a=e=>e.replace(/^\/+|\/+$/g,""),l=e=>{const i=(e||"").split("/");return i.length>1?i[i.length-1]:e},r=e=>{const i=(e||"").split("/"),t=i.length>1?i.slice(0,i.length-1).join("/"):"";return s(t)},o={back:"Back To %s (Alt+Left)",forward:"Forward To %s (Alt+Right)",up:"Up %s (Alt+Up)",refresh:"Refresh",gridView:"Switch to grid view",detailView:"Switch to details view",columns:"Control visible columns in details view",name:"Name",fileName:"The file name",length:"Size",modified:"Modified",folderEmpty:"No results found.",filterAll:"All files",approve:"Ok",cancel:"Cancel",search:"Search files ...",filters:"Filter files by type"},n={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};export{n as a,l as b,t as c,o as d,e as g,i,s as n,r as p,a as t}