UNPKG

vue-files-preview-inno

Version:

A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

210 lines (209 loc) 3.76 kB
var t, n; function d() { if (n) return t; n = 1; function s(e) { const r = e.regex, i = [ "lcase", "month", "vartype", "instrrev", "ubound", "setlocale", "getobject", "rgb", "getref", "string", "weekdayname", "rnd", "dateadd", "monthname", "now", "day", "minute", "isarray", "cbool", "round", "formatcurrency", "conversions", "csng", "timevalue", "second", "year", "space", "abs", "clng", "timeserial", "fixs", "len", "asc", "isempty", "maths", "dateserial", "atn", "timer", "isobject", "filter", "weekday", "datevalue", "ccur", "isdate", "instr", "datediff", "formatdatetime", "replace", "isnull", "right", "sgn", "array", "snumeric", "log", "cdbl", "hex", "chr", "lbound", "msgbox", "ucase", "getlocale", "cos", "cdate", "cbyte", "rtrim", "join", "hour", "oct", "typename", "trim", "strcomp", "int", "createobject", "loadpicture", "tan", "formatnumber", "mid", "split", "cint", "sin", "datepart", "ltrim", "sqr", "time", "derived", "eval", "date", "formatpercent", "exp", "inputbox", "left", "ascw", "chrw", "regexp", "cstr", "err" ], a = [ "server", "response", "request", // take no arguments so can be called without () "scriptengine", "scriptenginebuildversion", "scriptengineminorversion", "scriptenginemajorversion" ], c = { begin: r.concat(r.either(...i), "\\s*\\("), // relevance 0 because this is acting as a beginKeywords really relevance: 0, keywords: { built_in: i } }; return { name: "VBScript", aliases: ["vbs"], case_insensitive: !0, keywords: { keyword: [ "call", "class", "const", "dim", "do", "loop", "erase", "execute", "executeglobal", "exit", "for", "each", "next", "function", "if", "then", "else", "on", "error", "option", "explicit", "new", "private", "property", "let", "get", "public", "randomize", "redim", "rem", "select", "case", "set", "stop", "sub", "while", "wend", "with", "end", "to", "elseif", "is", "or", "xor", "and", "not", "class_initialize", "class_terminate", "default", "preserve", "in", "me", "byval", "byref", "step", "resume", "goto" ], built_in: a, literal: [ "true", "false", "null", "nothing", "empty" ] }, illegal: "//", contains: [ c, e.inherit(e.QUOTE_STRING_MODE, { contains: [{ begin: '""' }] }), e.COMMENT( /'/, /$/, { relevance: 0 } ), e.C_NUMBER_MODE ] }; } return t = s, t; } export { d as __require }; //# sourceMappingURL=vbscript.mjs.map