From f8d0a5b7c0a1a4af9221a8ad6f34c06c245b793c Mon Sep 17 00:00:00 2001 From: pixelmixer Date: Thu, 21 Nov 2024 18:13:33 +0000 Subject: [PATCH] dvert --- .gitignore | 1 - _config.yml | 1 - _includes/head.html | 20 -- _includes/navlinks.html | 21 -- _includes/sharelinks.html | 36 --- _layouts/base.html | 20 -- _layouts/home.html | 62 +---- _layouts/page.html | 14 - _layouts/post.html | 12 - css/override.css | 45 ---- js/highlightjs/highlight.min.js | 296 --------------------- js/highlightjs/languages/plaintext.min.js | 2 - js/highlightjs/languages/powershell.min.js | 38 --- js/highlightjs/languages/tsql.min.js | 20 -- js/highlightjs/styles/default.css | 99 ------- js/highlightjs/styles/github.css | 99 ------- js/highlightjs/styles/ssms.css | 51 ---- 17 files changed, 1 insertion(+), 836 deletions(-) delete mode 100755 .gitignore delete mode 100644 _config.yml delete mode 100644 _includes/head.html delete mode 100644 _includes/navlinks.html delete mode 100644 _includes/sharelinks.html delete mode 100644 _layouts/base.html delete mode 100644 _layouts/page.html delete mode 100644 _layouts/post.html delete mode 100644 css/override.css delete mode 100644 js/highlightjs/highlight.min.js delete mode 100644 js/highlightjs/languages/plaintext.min.js delete mode 100644 js/highlightjs/languages/powershell.min.js delete mode 100644 js/highlightjs/languages/tsql.min.js delete mode 100644 js/highlightjs/styles/default.css delete mode 100644 js/highlightjs/styles/github.css delete mode 100644 js/highlightjs/styles/ssms.css diff --git a/.gitignore b/.gitignore deleted file mode 100755 index e676b50..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_site diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 8b13789..0000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100644 index 307a4f6..0000000 --- a/_includes/head.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - {%- seo -%} - - {%- feed_meta -%} - {%- if jekyll.environment == 'production' and site.google_analytics -%} - {%- include google-analytics.html -%} - {%- endif -%} - - - - - diff --git a/_includes/navlinks.html b/_includes/navlinks.html deleted file mode 100644 index bbb0dbf..0000000 --- a/_includes/navlinks.html +++ /dev/null @@ -1,21 +0,0 @@ -
-
- {%- if page.previous.url -%} - -
<
Previous Post
{{ page.previous.title }}
-
- {%- else -%} - -
<
Post Archive
Archive of all previous posts
-
- {%- endif -%} - {%- if page.next.url -%} - -
>
Next Post
{{ page.next.title }}
-
- {%- else -%} - -
>
Post Archive
Archive of all previous posts
-
- {%- endif -%} -
\ No newline at end of file diff --git a/_includes/sharelinks.html b/_includes/sharelinks.html deleted file mode 100644 index 4f601d8..0000000 --- a/_includes/sharelinks.html +++ /dev/null @@ -1,36 +0,0 @@ - - -{% assign safeurl = site.url | append: page.url | url_encode %} -{% assign safetitle = page.title | url_encode %} -{% assign safetitlepre = "[Blog] " | append: page.author | append: " - " | url_encode %} - -Share on:
- - -
-
-
-
-
-
-
\ No newline at end of file diff --git a/_layouts/base.html b/_layouts/base.html deleted file mode 100644 index 58e141b..0000000 --- a/_layouts/base.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - {%- include head.html -%} - - - - {%- include header.html -%} - -
-
- {{ content }} -
-
- - {%- include footer.html -%} - - - - diff --git a/_layouts/home.html b/_layouts/home.html index c81df2f..ec0fa08 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,61 +1 @@ ---- -layout: base ---- - -
- {%- if page.title -%} -

{{ page.title }}

- {%- endif -%} - - {{ content }} - - - {% if site.paginate %} - {% assign posts = paginator.posts %} - {% else %} - {% assign posts = site.posts %} - {% endif %} - - - {%- if posts.size > 0 -%} - {%- if page.list_title -%} -

{{ page.list_title }}

- {%- endif -%} - - - {% if site.paginate %} -
- -
- {%- endif %} - - {%- endif -%} - -
+ Website Relocated

This Website Has Been Relocated

You will be redirected to the new location automatically in 5 seconds.

If you are not redirected, click here: Visit the New Website

\ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html deleted file mode 100644 index 18544b4..0000000 --- a/_layouts/page.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: base ---- -
- -
-

{{ page.title | escape }}

-
- -
- {{ content }} -
- -
diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index c6ec78a..0000000 --- a/_layouts/post.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: default ---- - -
-
- {{ content }} -
- - -
- diff --git a/css/override.css b/css/override.css deleted file mode 100644 index 881dd6f..0000000 --- a/css/override.css +++ /dev/null @@ -1,45 +0,0 @@ -hr { - margin-top: 30px; - margin-bottom: 20px; -} - -/* Post navigation links */ -.post_navi { - display: flex; -} - -.post_navi-label { - font-size: 0.8em; - opacity: 0.5; -} - -.post_navi .post_navi-item { - padding: 0 2.2em; - width: 50%; - position: relative; - color: inherit !important; -} - -.post_navi .nav_prev { - text-align: left; -} - -.post_navi .nav_next { - text-align: right; -} - -.post_navi .nav_prev .post_navi-arrow { - left: 0; -} - -.post_navi .nav_next .post_navi-arrow { - right: 0; -} - -.post_navi .post_navi-arrow { - position: absolute; - top: 50%; - transform: translateY(-50%); - font-size: 2.5em; - opacity: 0.3; -} \ No newline at end of file diff --git a/js/highlightjs/highlight.min.js b/js/highlightjs/highlight.min.js deleted file mode 100644 index a1f3330..0000000 --- a/js/highlightjs/highlight.min.js +++ /dev/null @@ -1,296 +0,0 @@ -/* - Highlight.js 10.5.0 (b4358b22) - License: BSD-3-Clause - Copyright (c) 2006-2020, Ivan Sagalaev -*/ -var hljs=function(){"use strict";function e(t){ -return t instanceof Map?t.clear=t.delete=t.set=()=>{ -throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{ -throw Error("set is read-only") -}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{var s=t[n] -;"object"!=typeof s||Object.isFrozen(s)||e(s)})),t}var t=e,n=e;t.default=n -;class s{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data} -ignoreMatch(){this.ignore=!0}}function r(e){ -return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'") -}function a(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t] -;return t.forEach((e=>{for(const t in e)n[t]=e[t]})),n}const i=e=>!!e.kind -;class o{constructor(e,t){ -this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){ -this.buffer+=r(e)}openNode(e){if(!i(e))return;let t=e.kind -;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){ -i(e)&&(this.buffer+="")}value(){return this.buffer}span(e){ -this.buffer+=``}}class l{constructor(){this.rootNode={ -children:[]},this.stack=[this.rootNode]}get top(){ -return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){ -this.top.children.push(e)}openNode(e){const t={kind:e,children:[]} -;this.add(t),this.stack.push(t)}closeNode(){ -if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){ -for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)} -walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){ -return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t), -t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){ -"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{ -l._collapse(e)})))}}class c extends l{constructor(e){super(),this.options=e} -addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())} -addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root -;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){ -return new o(this,this.options).value()}finalize(){return!0}}function u(e){ -return e?"string"==typeof e?e:e.source:null} -const g="[a-zA-Z]\\w*",d="[a-zA-Z_]\\w*",h="\\b\\d+(\\.\\d+)?",f="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",p="\\b(0b[01]+)",m={ -begin:"\\\\[\\s\\S]",relevance:0},b={className:"string",begin:"'",end:"'", -illegal:"\\n",contains:[m]},x={className:"string",begin:'"',end:'"', -illegal:"\\n",contains:[m]},E={ -begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ -},v=(e,t,n={})=>{const s=a({className:"comment",begin:e,end:t,contains:[]},n) -;return s.contains.push(E),s.contains.push({className:"doctag", -begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),s -},w=v("//","$"),N=v("/\\*","\\*/"),y=v("#","$");var R=Object.freeze({ -__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:g,UNDERSCORE_IDENT_RE:d, -NUMBER_RE:h,C_NUMBER_RE:f,BINARY_NUMBER_RE:p, -RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", -SHEBANG:(e={})=>{const t=/^#![ ]*\// -;return e.binary&&(e.begin=((...e)=>e.map((e=>u(e))).join(""))(t,/.*\b/,e.binary,/\b.*/)), -a({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{ -0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:m,APOS_STRING_MODE:b, -QUOTE_STRING_MODE:x,PHRASAL_WORDS_MODE:E,COMMENT:v,C_LINE_COMMENT_MODE:w, -C_BLOCK_COMMENT_MODE:N,HASH_COMMENT_MODE:y,NUMBER_MODE:{className:"number", -begin:h,relevance:0},C_NUMBER_MODE:{className:"number",begin:f,relevance:0}, -BINARY_NUMBER_MODE:{className:"number",begin:p,relevance:0},CSS_NUMBER_MODE:{ -className:"number", -begin:h+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?", -relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp", -begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[m,{begin:/\[/,end:/\]/, -relevance:0,contains:[m]}]}]},TITLE_MODE:{className:"title",begin:g,relevance:0 -},UNDERSCORE_TITLE_MODE:{className:"title",begin:d,relevance:0},METHOD_GUARD:{ -begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:e=>Object.assign(e,{ -"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{ -t.data._beginMatch!==e[1]&&t.ignoreMatch()}})});function _(e,t){ -"."===e.input[e.index-1]&&t.ignoreMatch()}function k(e,t){ -t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)", -e.__beforeBegin=_,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords, -void 0===e.relevance&&(e.relevance=0))}function O(e,t){ -Array.isArray(e.illegal)&&(e.illegal=((...e)=>"("+e.map((e=>u(e))).join("|")+")")(...e.illegal)) -}function M(e,t){if(e.match){ -if(e.begin||e.end)throw Error("begin & end are not supported with match") -;e.begin=e.match,delete e.match}}function A(e,t){ -void 0===e.relevance&&(e.relevance=1)} -const L=["of","and","for","in","not","or","if","then","parent","list","value"] -;function B(e,t,n="keyword"){const s={} -;return"string"==typeof e?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach((n=>{ -Object.assign(s,B(e[n],t,n))})),s;function r(e,n){ -t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((t=>{const n=t.split("|") -;s[n[0]]=[e,I(n[0],n[1])]}))}}function I(e,t){ -return t?Number(t):(e=>L.includes(e.toLowerCase()))(e)?0:1} -function T(e,{plugins:t}){function n(t,n){ -return RegExp(u(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}class s{ -constructor(){ -this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} -addRule(e,t){ -t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]), -this.matchAt+=(e=>RegExp(e.toString()+"|").exec("").length-1)(e)+1}compile(){ -0===this.regexes.length&&(this.exec=()=>null) -;const e=this.regexes.map((e=>e[1]));this.matcherRe=n(((e,t="|")=>{ -const n=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let s=0,r="" -;for(let a=0;a0&&(r+=t),r+="(";o.length>0;){const e=n.exec(o);if(null==e){r+=o;break} -r+=o.substring(0,e.index), -o=o.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+(Number(e[1])+i):(r+=e[0], -"("===e[0]&&s++)}r+=")"}return r})(e),!0),this.lastIndex=0}exec(e){ -this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e) -;if(!t)return null -;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),s=this.matchIndexes[n] -;return t.splice(0,n),Object.assign(t,s)}}class r{constructor(){ -this.rules=[],this.multiRegexes=[], -this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){ -if(this.multiRegexes[e])return this.multiRegexes[e];const t=new s -;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))), -t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){ -return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){ -this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){ -const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex -;let n=t.exec(e) -;if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{ -const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)} -return n&&(this.regexIndex+=n.position+1, -this.regexIndex===this.count&&this.considerAll()),n}} -if(e.compilerExtensions||(e.compilerExtensions=[]), -e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.") -;return e.classNameAliases=a(e.classNameAliases||{}),function t(s,i){const o=s -;if(s.compiled)return o -;[M].forEach((e=>e(s,i))),e.compilerExtensions.forEach((e=>e(s,i))), -s.__beforeBegin=null,[k,O,A].forEach((e=>e(s,i))),s.compiled=!0;let l=null -;if("object"==typeof s.keywords&&(l=s.keywords.$pattern, -delete s.keywords.$pattern), -s.keywords&&(s.keywords=B(s.keywords,e.case_insensitive)), -s.lexemes&&l)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ") -;return l=l||s.lexemes||/\w+/, -o.keywordPatternRe=n(l,!0),i&&(s.begin||(s.begin=/\B|\b/), -o.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin), -s.end||s.endsWithParent||(s.end=/\B|\b/), -s.end&&(o.endRe=n(s.end)),o.terminatorEnd=u(s.end)||"", -s.endsWithParent&&i.terminatorEnd&&(o.terminatorEnd+=(s.end?"|":"")+i.terminatorEnd)), -s.illegal&&(o.illegalRe=n(s.illegal)), -s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((e=>(e=>(e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((t=>a(e,{ -variants:null},t)))),e.cachedVariants?e.cachedVariants:j(e)?a(e,{ -starts:e.starts?a(e.starts):null -}):Object.isFrozen(e)?a(e):e))("self"===e?s:e)))),s.contains.forEach((e=>{t(e,o) -})),s.starts&&t(s.starts,i),o.matcher=(e=>{const t=new r -;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin" -}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end" -}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(o),o}(e)}function j(e){ -return!!e&&(e.endsWithParent||j(e.starts))}function S(e){const t={ -props:["language","code","autodetect"],data:()=>({detectedLanguage:"", -unknownLanguage:!1}),computed:{className(){ -return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){ -if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`), -this.unknownLanguage=!0,r(this.code);let t={} -;return this.autoDetect?(t=e.highlightAuto(this.code), -this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals), -this.detectedLanguage=this.language),t.value},autoDetect(){ -return!(this.language&&(e=this.autodetect,!e&&""!==e));var e}, -ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{ -class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{ -Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const P={ -"after:highlightBlock":({block:e,result:t,text:n})=>{const s=C(e) -;if(!s.length)return;const a=document.createElement("div") -;a.innerHTML=t.value,t.value=((e,t,n)=>{let s=0,a="";const i=[];function o(){ -return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function c(e){ -a+=""}function u(e){("start"===e.event?l:c)(e.node)} -for(;e.length||t.length;){let t=o() -;if(a+=r(n.substring(s,t[0].offset)),s=t[0].offset,t===e){i.reverse().forEach(c) -;do{u(t.splice(0,1)[0]),t=o()}while(t===e&&t.length&&t[0].offset===s) -;i.reverse().forEach(l) -}else"start"===t[0].event?i.push(t[0].node):i.pop(),u(t.splice(0,1)[0])} -return a+r(n.substr(s))})(s,C(a),n)}};function D(e){ -return e.nodeName.toLowerCase()}function C(e){const t=[];return function e(n,s){ -for(let r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?s+=r.nodeValue.length:1===r.nodeType&&(t.push({ -event:"start",offset:s,node:r}),s=e(r,s),D(r).match(/br|hr|img|input/)||t.push({ -event:"stop",offset:s,node:r}));return s}(e,0),t}const H=e=>{console.error(e) -},U=(e,...t)=>{console.log("WARN: "+e,...t)},$=(e,t)=>{ -console.log(`Deprecated as of ${e}. ${t}`)},z=r,K=a,G=Symbol("nomatch") -;return(e=>{const n=Object.create(null),r=Object.create(null),a=[];let i=!0 -;const o=/(^(<[^>]+>|\t|)+|\n)/gm,l="Could not find the language '{}', did you forget to load/include a language module?",u={ -disableAutodetect:!0,name:"Plain text",contains:[]};let g={ -noHighlightRe:/^(no-?highlight)$/i, -languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-", -tabReplace:null,useBR:!1,languages:null,__emitter:c};function d(e){ -return g.noHighlightRe.test(e)}function h(e,t,n,s){const r={code:t,language:e} -;M("before:highlight",r);const a=r.result?r.result:f(r.language,r.code,n,s) -;return a.code=r.code,M("after:highlight",a),a}function f(e,t,r,o){const c=t -;function u(e,t){const n=w.case_insensitive?t[0].toLowerCase():t[0] -;return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]} -function d(){null!=R.subLanguage?(()=>{if(""===M)return;let e=null -;if("string"==typeof R.subLanguage){ -if(!n[R.subLanguage])return void O.addText(M) -;e=f(R.subLanguage,M,!0,k[R.subLanguage]),k[R.subLanguage]=e.top -}else e=p(M,R.subLanguage.length?R.subLanguage:null) -;R.relevance>0&&(A+=e.relevance),O.addSublanguage(e.emitter,e.language) -})():(()=>{if(!R.keywords)return void O.addText(M);let e=0 -;R.keywordPatternRe.lastIndex=0;let t=R.keywordPatternRe.exec(M),n="";for(;t;){ -n+=M.substring(e,t.index);const s=u(R,t);if(s){const[e,r]=s -;O.addText(n),n="",A+=r;const a=w.classNameAliases[e]||e;O.addKeyword(t[0],a) -}else n+=t[0];e=R.keywordPatternRe.lastIndex,t=R.keywordPatternRe.exec(M)} -n+=M.substr(e),O.addText(n)})(),M=""}function h(e){ -return e.className&&O.openNode(w.classNameAliases[e.className]||e.className), -R=Object.create(e,{parent:{value:R}}),R}function m(e,t,n){let r=((e,t)=>{ -const n=e&&e.exec(t);return n&&0===n.index})(e.endRe,n);if(r){if(e["on:end"]){ -const n=new s(e);e["on:end"](t,n),n.ignore&&(r=!1)}if(r){ -for(;e.endsParent&&e.parent;)e=e.parent;return e}} -if(e.endsWithParent)return m(e.parent,t,n)}function b(e){ -return 0===R.matcher.regexIndex?(M+=e[0],1):(I=!0,0)}function x(e){ -const t=e[0],n=c.substr(e.index),s=m(R,e,n);if(!s)return G;const r=R -;r.skip?M+=t:(r.returnEnd||r.excludeEnd||(M+=t),d(),r.excludeEnd&&(M=t));do{ -R.className&&O.closeNode(),R.skip||R.subLanguage||(A+=R.relevance),R=R.parent -}while(R!==s.parent) -;return s.starts&&(s.endSameAsBegin&&(s.starts.endRe=s.endRe), -h(s.starts)),r.returnEnd?0:t.length}let E={};function v(t,n){const a=n&&n[0] -;if(M+=t,null==a)return d(),0 -;if("begin"===E.type&&"end"===n.type&&E.index===n.index&&""===a){ -if(M+=c.slice(n.index,n.index+1),!i){const t=Error("0 width match regex") -;throw t.languageName=e,t.badRule=E.rule,t}return 1} -if(E=n,"begin"===n.type)return function(e){ -const t=e[0],n=e.rule,r=new s(n),a=[n.__beforeBegin,n["on:begin"]] -;for(const n of a)if(n&&(n(e,r),r.ignore))return b(t) -;return n&&n.endSameAsBegin&&(n.endRe=RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")), -n.skip?M+=t:(n.excludeBegin&&(M+=t), -d(),n.returnBegin||n.excludeBegin||(M=t)),h(n),n.returnBegin?0:t.length}(n) -;if("illegal"===n.type&&!r){ -const e=Error('Illegal lexeme "'+a+'" for mode "'+(R.className||"")+'"') -;throw e.mode=R,e}if("end"===n.type){const e=x(n);if(e!==G)return e} -if("illegal"===n.type&&""===a)return 1 -;if(B>1e5&&B>3*n.index)throw Error("potential infinite loop, way more iterations than matches") -;return M+=a,a.length}const w=_(e) -;if(!w)throw H(l.replace("{}",e)),Error('Unknown language: "'+e+'"') -;const N=T(w,{plugins:a});let y="",R=o||N;const k={},O=new g.__emitter(g);(()=>{ -const e=[];for(let t=R;t!==w;t=t.parent)t.className&&e.unshift(t.className) -;e.forEach((e=>O.openNode(e)))})();let M="",A=0,L=0,B=0,I=!1;try{ -for(R.matcher.considerAll();;){ -B++,I?I=!1:R.matcher.considerAll(),R.matcher.lastIndex=L -;const e=R.matcher.exec(c);if(!e)break;const t=v(c.substring(L,e.index),e) -;L=e.index+t}return v(c.substr(L)),O.closeAllNodes(),O.finalize(),y=O.toHTML(),{ -relevance:Math.floor(A),value:y,language:e,illegal:!1,emitter:O,top:R}}catch(t){ -if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{ -msg:t.message,context:c.slice(L-100,L+100),mode:t.mode},sofar:y,relevance:0, -value:z(c),emitter:O};if(i)return{illegal:!1,relevance:0,value:z(c),emitter:O, -language:e,top:R,errorRaised:t};throw t}}function p(e,t){ -t=t||g.languages||Object.keys(n);const s=(e=>{const t={relevance:0, -emitter:new g.__emitter(g),value:z(e),illegal:!1,top:u} -;return t.emitter.addText(e),t})(e),r=t.filter(_).filter(O).map((t=>f(t,e,!1))) -;r.unshift(s);const a=r.sort(((e,t)=>{ -if(e.relevance!==t.relevance)return t.relevance-e.relevance -;if(e.language&&t.language){if(_(e.language).supersetOf===t.language)return 1 -;if(_(t.language).supersetOf===e.language)return-1}return 0})),[i,o]=a,l=i -;return l.second_best=o,l}const m={"before:highlightBlock":({block:e})=>{ -g.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n")) -},"after:highlightBlock":({result:e})=>{ -g.useBR&&(e.value=e.value.replace(/\n/g,"
"))}},b=/^(<[^>]+>|\t)+/gm,x={ -"after:highlightBlock":({result:e})=>{ -g.tabReplace&&(e.value=e.value.replace(b,(e=>e.replace(/\t/g,g.tabReplace))))}} -;function E(e){let t=null;const n=(e=>{let t=e.className+" " -;t+=e.parentNode?e.parentNode.className:"";const n=g.languageDetectRe.exec(t) -;if(n){const t=_(n[1]) -;return t||(U(l.replace("{}",n[1])),U("Falling back to no-highlight mode for this block.",e)), -t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>d(e)||_(e)))})(e) -;if(d(n))return;M("before:highlightBlock",{block:e,language:n}),t=e -;const s=t.textContent,a=n?h(n,s,!0):p(s);M("after:highlightBlock",{block:e, -result:a,text:s}),e.innerHTML=a.value,((e,t,n)=>{const s=t?r[t]:n -;e.classList.add("hljs"),s&&e.classList.add(s)})(e,n,a.language),e.result={ -language:a.language,re:a.relevance,relavance:a.relevance -},a.second_best&&(e.second_best={language:a.second_best.language, -re:a.second_best.relevance,relavance:a.second_best.relevance})}const v=()=>{ -v.called||(v.called=!0, -$("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."), -document.querySelectorAll("pre code").forEach(E))};let w=!1,N=!1;function y(){ -N?document.querySelectorAll("pre code").forEach(E):w=!0}function _(e){ -return e=(e||"").toLowerCase(),n[e]||n[r[e]]}function k(e,{languageName:t}){ -"string"==typeof e&&(e=[e]),e.forEach((e=>{r[e]=t}))}function O(e){const t=_(e) -;return t&&!t.disableAutodetect}function M(e,t){const n=e;a.forEach((e=>{ -e[n]&&e[n](t)}))} -"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(()=>{ -N=!0,w&&y()}),!1),Object.assign(e,{highlight:h,highlightAuto:p,highlightAll:y, -fixMarkup:e=>{ -return $("10.2.0","fixMarkup will be removed entirely in v11.0"),$("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"), -t=e, -g.tabReplace||g.useBR?t.replace(o,(e=>"\n"===e?g.useBR?"
":e:g.tabReplace?e.replace(/\t/g,g.tabReplace):e)):t -;var t},highlightBlock:E,configure:e=>{ -e.useBR&&($("10.3.0","'useBR' will be removed entirely in v11.0"), -$("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")), -g=K(g,e)},initHighlighting:v,initHighlightingOnLoad:()=>{ -$("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."), -w=!0},registerLanguage:(t,s)=>{let r=null;try{r=s(e)}catch(e){ -if(H("Language definition for '{}' could not be registered.".replace("{}",t)), -!i)throw e;H(e),r=u} -r.name||(r.name=t),n[t]=r,r.rawDefinition=s.bind(null,e),r.aliases&&k(r.aliases,{ -languageName:t})},listLanguages:()=>Object.keys(n),getLanguage:_, -registerAliases:k,requireLanguage:e=>{ -$("10.4.0","requireLanguage will be removed entirely in v11."), -$("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844") -;const t=_(e);if(t)return t -;throw Error("The '{}' language is required, but not loaded.".replace("{}",e))}, -autoDetection:O,inherit:K,addPlugin:e=>{a.push(e)},vuePlugin:S(e).VuePlugin -}),e.debugMode=()=>{i=!1},e.safeMode=()=>{i=!0},e.versionString="10.5.0" -;for(const e in R)"object"==typeof R[e]&&t(R[e]) -;return Object.assign(e,R),e.addPlugin(m),e.addPlugin(P),e.addPlugin(x),e})({}) -}();"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs); \ No newline at end of file diff --git a/js/highlightjs/languages/plaintext.min.js b/js/highlightjs/languages/plaintext.min.js deleted file mode 100644 index cc20384..0000000 --- a/js/highlightjs/languages/plaintext.min.js +++ /dev/null @@ -1,2 +0,0 @@ -hljs.registerLanguage("plaintext",(()=>{"use strict";return t=>({ -name:"Plain text",aliases:["text","txt"],disableAutodetect:!0})})()); \ No newline at end of file diff --git a/js/highlightjs/languages/powershell.min.js b/js/highlightjs/languages/powershell.min.js deleted file mode 100644 index 0faab11..0000000 --- a/js/highlightjs/languages/powershell.min.js +++ /dev/null @@ -1,38 +0,0 @@ -hljs.registerLanguage("powershell",(()=>{"use strict";return e=>{const n={ -$pattern:/-?[A-z\.\-]+\b/, -keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter", -built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write" -},s={begin:"`[\\s\\S]",relevance:0},i={className:"variable",variants:[{ -begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}] -},a={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}], -contains:[s,i,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},t={ -className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}] -},r=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/, -end:/#>/}],contains:[{className:"doctag",variants:[{ -begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/ -},{ -begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/ -}]}]}),c={className:"class",beginKeywords:"class enum",end:/\s*[{]/, -excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},l={className:"function", -begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0, -contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title", -begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/, -className:"params",relevance:0,contains:[i]}]},o={begin:/using\s/,end:/$/, -returnBegin:!0,contains:[a,t,{className:"keyword", -begin:/(using|assembly|command|module|namespace|type)/}]},p={ -className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0, -relevance:0,contains:[{className:"keyword", -begin:"(".concat(n.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0, -relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})] -},g=[p,r,s,e.NUMBER_MODE,a,t,{className:"built_in",variants:[{ -begin:"(Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Complete|Confirm|Deny|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where)+(-)[\\w\\d]+" -}]},i,{className:"literal",begin:/\$(null|true|false)\b/},{ -className:"selector-tag",begin:/@\B/,relevance:0}],m={begin:/\[/,end:/\]/, -excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",g,{ -begin:"(string|char|byte|int|long|bool|decimal|single|double|DateTime|xml|array|hashtable|void)", -className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/, -relevance:0})};return p.contains.unshift(m),{name:"PowerShell", -aliases:["ps","ps1"],case_insensitive:!0,keywords:n,contains:g.concat(c,l,o,{ -variants:[{className:"operator", -begin:"(-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor)\\b" -},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},m)}}})()); \ No newline at end of file diff --git a/js/highlightjs/languages/tsql.min.js b/js/highlightjs/languages/tsql.min.js deleted file mode 100644 index bfcd2f8..0000000 --- a/js/highlightjs/languages/tsql.min.js +++ /dev/null @@ -1,20 +0,0 @@ -hljs.registerLanguage("tsql",(()=>{"use strict";return S=>({name:"T-SQL", -case_insensitive:!0,contains:[{ -beginKeywords:"ABSOLUTE ACTION ACTIVATION ADD ADMIN AES_128 AES_192 AES_256 AFFINITY AFTER AGGREGATE ALGORITHM ALLOW_CONNECTIONS ALLOW_PAGE_LOCKS ALLOW_ROW_LOCKS ALTER ANONYMOUS ANSI_DEFAULTS ANSI_NULL_DFLT_OFF ANSI_NULL_DFLT_ON ANSI_NULLS ANSI_PADDING ANSI_WARNINGS APPLICATION ARITHABORT ARITHIGNORE AS ASC ASSEMBLY ASYMMETRIC ASYNCHRONOUS_COMMIT AUTHORIZATION AUTO AUTOMATED_BACKUP_PREFERENCE AUTOMATIC AVAILABILITY AVAILABILITY_MODE BACKUP BACKUP_PRIORITY BASE64 BEGIN BIGINT BINARY BINDING BIT BREAK BROWSE BULK BY CALL CALLER CASCADE CASE CATALOG CATCH CERTIFICATE CHANGE_TRACKING CHANGE_TRACKING_CONTEXT CHANGES CHAR CHARACTER CHECK CHECKPOINT CLOSE CLUSTERED COLLECTION COLUMN COLUMNSTORE COMMIT COMMITTED COMPUTE CONCAT_NULL_YIELDS_NULL CONNECT CONSTRAINT CONTAINSTABLE CONTINUE CONTRACT CONTROL CONVERSATION COUNTER CREATE CREDENTIAL CUBE CURRENT CURRENT_DATE CURSOR CURSOR_CLOSE_ON_COMMIT DATA_COMPRESSION DATABASE DATE DATEFIRST DATEFORMAT DATETIME DATETIME2 DATETIMEOFFSET DBCC DEADLOCK_PRIORITY DEALLOCATE DEC DECIMAL DECLARE DECRYPTION DEFAULT DEFAULT_SCHEMA DEFINITION DELETE DENY DES DESC DESCRIPTION DISABLE DISABLED DISK DISTINCT DISTRIBUTED DOUBLE DROP DROP_EXISTING DUMP DYNAMIC ELEMENTS ELSE EMPTY ENABLE ENCRYPTION END ENDPOINT ENDPOINT_URL ERRLVL ESCAPE EVENT EXCEPT EXEC EXECUTABLE EXECUTE EXIT EXPAND EXPLICIT EXTERNAL EXTERNAL_ACCESS FAILOVER FAILOVER_MODE FAILURE_CONDITION_LEVEL FAST FAST_FORWARD FASTFIRSTROW FETCH FILE FILEGROUP FILENAME FILESTREAM FILESTREAM_ON FILETABLE FILLFACTOR FIPS_FLAGGER FIRST FLOAT FMTONLY FOLLOWING FOR|0 FORCE FORCED FORCEPLAN FOREIGN FORWARD_ONLY FREETEXT FREETEXTTABLE FROM FULL FULLSCAN FULLTEXT FUNCTION GEOGRAPHY GET GLOBAL GO GOTO GOVERNOR GRANT GROUP HASH HAVING HEALTH_CHECK_TIMEOUT HIERARCHYID HOLDLOCK HTTP IDENTITY IDENTITY_INSERT IDENTITYCOL IF IGNORE_CONSTRAINTS IGNORE_DUP_KEY IGNORE_TRIGGERS IMAGE IMMEDIATE IMPLICIT_TRANSACTIONS INCLUDE INDEX INIT INITIATOR INSENSITIVE INSERT INSTEAD INT INTEGER INTERSECT INTO IO ISOLATION KEEP KEEPDEFAULTS KEEPFIXED KEEPIDENTITY KEY KEYSET KILL LANGUAGE LAST LEVEL LIFETIME LINENO LOAD LOCAL LOCK_TIMEOUT LOGIN LOOP MANUAL MASTER MAX_QUEUE_READERS MAXDOP MAXLENGTH MERGE MESSAGE MINUTES MODIFY MONEY NATIONAL NCHAR NEXT NO NOCHECK NOCOUNT NOEXEC NOEXPAND NOLOCK NONCLUSTERED NONE NORECOMPUTE NOTIFICATION NOWAIT NTEXT NUMERIC NUMERIC_ROUNDABORT NVARCHAR OBJECT OF OFF OFFLINE OFFSETS ON ONLINE OPEN OPENDATASOURCE OPENJSON OPENQUERY OPENROWSET OPENXML OPTIMISTIC OPTION ORDER OUT OUTPUT OVER OWNER OWNERSHIP PAD_INDEX PAGE PAGLOCK PARSEONLY PARTIAL PARTITION PASSWORD PATH PAUSE PERCENT PERIOD PERSISTED PLAN POLICY POOL POPULATION PRECEDING PRECISION PREDICATE PRIMARY PRIMARY_ROLE PRINT PRIOR PRIVATE PROC PROCEDURE PROCEDURE_NAME PROFILE PROVIDER PUBLIC QUERY_GOVERNOR_COST_LIMIT QUEUE QUOTED_IDENTIFIER RAISERROR RANGE RAW READ READ_ONLY READ_WRITE READCOMMITTED READCOMMITTEDLOCK READONLY READPAST READTEXT READUNCOMMITTED REAL REBUILD RECEIVE RECOMPILE RECONFIGURE RECURSIVE REFERENCES RELATIVE REMOTE REMOTE_DATA_ARCHIVE REMOTE_PROC_TRANSACTIONS REMOVE REORGANIZE REPEATABLE REPEATABLEREAD REPLICA REPLICATION RESAMPLE RESOURCE RESTART RESTORE RESTRICT RESUME RETENTION RETURN RETURNS REVERT REVOKE ROBUST ROLE ROLLBACK ROLLUP ROUTE ROW ROWCOUNT ROWGUIDCOL ROWLOCK ROWS RSA_1024 RSA_512 RULE SAFE SAMPLE SAVE SCHEMA SCHEMABINDING SCOPED SCROLL SCROLL_LOCKS SECONDARY SECONDARY_ONLY SECONDARY_ROLE SECRET SECURITY SECURITYAUDIT SELECT SELECTIVE SELF SEMANTICKEYPHRASETABLE SEMANTICSIMILARITYDETAILSTABLE SEMANTICSIMILARITYTABLE SEND SENT SEQUENCE SERIALIZABLE SERVER SERVICE SERVICE_BROKER SESSION SESSION_TIMEOUT SET SETS SETUSER SHOWPLAN_ALL SHOWPLAN_TEXT SHOWPLAN_XML SHUTDOWN SIGNATURE SINGLETON SMALLDATETIME SMALLINT SMALLMONEY SNAPSHOT SOAP SORT_IN_TEMPDB SPATIAL SQL SQL_VARIANT START STATE STATEMENT STATIC STATISTICS STATISTICS_NORECOMPUTE STATS_STREAM STATUS STOP STOPLIST SYMMETRIC SYNCHRONOUS_COMMIT SYNONYM SYSTEM SYSTEM_TIME SYSTEM_VERSIONING TABLE TABLESAMPLE TABLOCK TABLOCKX TAKE TARGET TCP TEXT TEXTIMAGE_ON TEXTSIZE THEN THROW TIME TIMEOUT TIMESTAMP TINYINT TO TOP TRAN TRANSACTION TRIGGER TRIPLE_DES_3KEY TRUNCATE TRY TSQL TYPE TYPE_WARNING UNBOUNDED UNCOMMITTED UNION UNIQUE UNIQUEIDENTIFIER UNSAFE UPDATETEXT UPDLOCK USE USEPLAN USER USING VALID_XML VALIDATION VALUE VALUES VARBINARY VARCHAR VARYING VERSION VIEW VIEW_METADATA WAITFOR WEBMETHOD WELL_FORMED_XML WHEN WHERE WHILE WINDOWS WITH WITHIN WITHOUT WORKLOAD WRITETEXT XACT_ABORT XLOCK XML XMLSCHEMA XQUERY", -relevance:0},{className:"built_in", -begin:"(\\$PARTITION|@@CONNECTIONS|@@CPU_BUSY|@@CURSOR_ROWS|@@DATEFIRST|@@DBTS|@@ERROR|@@FETCH_STATUS|@@IDENTITY|@@IDLE|@@IO_BUSY|@@LANGID|@@LANGUAGE|@@LOCK_TIMEOUT|@@MAX_CONNECTIONS|@@MAX_PRECISION|@@NESTLEVEL|@@OPTIONS|@@PACK_RECEIVED|@@PACK_SENT|@@PACKET_ERRORS|@@PROCID|@@REMSERVER|@@ROWCOUNT|@@SERVERNAME|@@SERVICENAME|@@SPID|@@TEXTSIZE|@@TIMETICKS|@@TOTAL_ERRORS|@@TOTAL_READ|@@TOTAL_WRITE|@@TRANCOUNT|@@VERSION|ABS|ACOS|APP_NAME|APPLOCK_MODE|APPLOCK_TEST|ASCII|ASIN|ASSEMBLYPROPERTY|ASYMKEY_ID|ASYMKEYPROPERTY|ATAN|ATN2|AVG|BINARY_CHECKSUM|BIT_LENGTH|CAST|CEILING|CERT_ID|CERTENCODED|CERTPRIVATEKEY|CERTPROPERTY|CHANGE_TRACKING_CLEANUP_VERSION|CHANGE_TRACKING_CURRENT_VERSION|CHANGE_TRACKING_IS_COLUMN_IN_MASK|CHANGE_TRACKING_MIN_VALID_VERSION|CHANGETABLE|CHARINDEX|CHECKSUM|CHECKSUM_AGG|CHOOSE|COALESCE|COL_LENGTH|COL_NAME|COLLATE|COLLATIONPROPERTY|COLUMNPROPERTY|COLUMNS_UPDATED|CONCAT|CONNECTIONPROPERTY|CONTAINS|CONTEXT_INFO|CONVERT|COS|COT|COUNT|COUNT_BIG|CRYPT_GEN_RANDOM|CURRENT_REQUEST_ID|CURRENT_TIME|CURRENT_TIMESTAMP|CURRENT_USER|CURSOR_STATUS|DATABASE_PRINCIPAL_ID|DATABASEPROPERTY|DATABASEPROPERTYEX|DATALENGTH|DATEADD|DATEDIFF|DATEFROMPARTS|DATENAME|DATEPART|DATETIME2FROMPARTS|DATETIMEFROMPARTS|DATETIMEOFFSETFROMPARTS|DAY|DB_ID|DB_NAME|DECRYPTBYASMKEY|DECRYPTBYASYMKEY|DECRYPTBYCERT|DECRYPTBYKEY|DECRYPTBYKEYAUTOASYMKEY|DecryptByKeyAutoCert|DECRYPTBYPASSPHRASE|DEGREES|DENSE_RANK|DIFFERENCE|ENCRYPTBYASMKEY|ENCRYPTBYASYMKEY|ENCRYPTBYCert|ENCRYPTBYKEY|ENCRYPTBYPASSPHRASE|EOMONTH|ERROR_LINE|ERROR_MESSAGE|ERROR_NUMBER|ERROR_PROCEDURE|ERROR_SEVERITY|ERROR_STATE|EVENTDATA|EXP|EXTRACT|FILE_ID|FILE_IDEX|FILE_NAME|FILEGROUP_ID|FILEGROUP_NAME|FILEGROUPPROPERTY|FILEPROPERTY|FILETABLEROOTPATH|FLOOR|FORMAT|FORMATMESSAGE|FULLTEXTCATALOGPROPERTY|FULLTEXTSERVICEPROPERTY|GET_FILESTREAM_TRANSACTION_CONTEXT|GETANSINULL|GETDATE|GETFILENAMESPACEPATH|GETPATHLOCATOR|GETUTCDATE|GROUPING|GROUPING_ID|HAS_DBACCESS|HAS_PERMS_BY_NAME|HASHBYTES|HOST_ID|HOST_NAME|HOUR|IDENT_CURRENT|IDENT_INCR|IDENT_SEED|IIF|INDEX_COL|INDEXKEY_PROPERTY|INDEXPROPERTY|IS_MEMBER|IS_OBJECTSIGNED|IS_ROLEMEMBER|IS_SRVROLEMEMBER|ISDATE|ISNULL|ISNUMERIC|KEY_GUID|KEY_ID|KEY_NAME|LEN|LOG|LOG10|LOGINPROPERTY|LOWER|LTRIM|MAX|MIN|MIN_ACTIVE_ROWVERSION|MINUTE|MOD|MONTH|NEWID|NEWSEQUENTIALID|NORMALIZE|NTILE|NULLIF|OBJECT_DEFINITION|OBJECT_ID|OBJECT_NAME|OBJECT_SCHEMA_NAME|OBJECTPROPERTY|OBJECTPROPERTYEX|OCTET_LENGTH|ORIGINAL_DB_NAME|ORIGINAL_LOGIN|PARSE|PARSENAME|PATHNAME|PATINDEX|PERMISSIONS|PI|POWER|PUBLISHINGSERVERNAME|PWDCOMPARE|PWDENCRYPT|QUARTER|QUOTENAME|RADIANS|RAND|RANK|REPLACE|REPLICATE|REVERSE|ROUND|ROW_NUMBER|ROWCOUNT_BIG|RTRIM|SCHEMA_ID|SCHEMA_NAME|SCOPE_IDENTITY|SECOND|SERVERPROPERTY|SESSION_USER|SESSIONPROPERTY|SIGN|SIGNBYASYMKEY|SIGNBYCERT|SIN|SMALLDATETIMEFROMPARTS|SOUNDEX|SPACE|SQL_VARIANT_PROPERTY|SQRT|SQUARE|STATS_DATE|STDEV|STDEVP|STR|STUFF|SUBSTRING|SUM|SUSER_ID|SUSER_NAME|SUSER_SID|SUSER_SNAME|SWITCHOFFSET|SYMKEYPROPERTY|SYSDATETIME|SYSDATETIMEOFFSET|SYSTEM_USER|SYSUTCDATETIME|TAN|TERTIARY_WEIGHTS|TEXTPTR|TEXTVALID|TIMEFROMPARTS|TODATETIMEOFFSET|TRIGGER_NESTLEVEL|TRY_CONVERT|TRY_PARSE|TSEQUAL|TYPE_ID|TYPE_NAME|TYPEPROPERTY|UNICODE|UPDATE|UPPER|USER_ID|USER_NAME|VAR|VARP|VERIFYSIGNEDBYASMKEY|VERIFYSIGNEDBYCERT|XACT_STATE|YEAR)\\b" -},{className:"type", -begin:"(ALL_COLUMNS|ALL_OBJECTS|ALL_PARAMETERS|ALL_SQL_MODULES|ALL_VIEWS|ALLOCATION_UNITS|ASSEMBLIES|ASSEMBLY_FILES|ASSEMBLY_MODULES|ASSEMBLY_REFERENCES|ASSEMBLY_TYPES|ASYMMETRIC_KEYS|AVAILABILITY_DATABASES_CLUSTER|AVAILABILITY_GROUP_LISTENER_IP_ADDRESSES|AVAILABILITY_GROUP_LISTENERS|AVAILABILITY_GROUPS|AVAILABILITY_GROUPS_CLUSTER|AVAILABILITY_READ_ONLY_ROUTING_LISTS|AVAILABILITY_REPLICAS|BACKUP_DEVICES|CERTIFICATES|CHANGE_TRACKING_DATABASES|CHANGE_TRACKING_TABLES|CHECK_CONSTRAINTS|COLUMN_DOMAIN_USAGE|COLUMN_PRIVILEGES|COLUMN_STORE_DICTIONARIES|COLUMN_STORE_SEGMENTS|COLUMN_TYPE_USAGES|COLUMN_XML_SCHEMA_COLLECTION_USAGES|COLUMNS|COMPUTED_COLUMNS|CONFIGURATIONS|CONSTRAINT_COLUMN_USAGE|CONSTRAINT_TABLE_USAGE|CONVERSATION_ENDPOINTS|CONVERSATION_GROUPS|CONVERSATION_PRIORITIES|CREDENTIALS|CRYPT_PROPERTIES|CRYPTOGRAPHIC_PROVIDERS|DATA_SPACES|DATABASE_AUDIT_SPECIFICATION_DETAILS|DATABASE_AUDIT_SPECIFICATIONS|DATABASE_FILES|DATABASE_FILESTREAM_OPTIONS|DATABASE_MIRRORING|DATABASE_MIRRORING_ENDPOINTS|DATABASE_MIRRORING_WITNESSES|DATABASE_PERMISSIONS|DATABASE_PRINCIPALS|DATABASE_RECOVERY_STATUS|DATABASE_ROLE_MEMBERS|DATABASES|DEFAULT_CONSTRAINTS|DESTINATION_DATA_SPACES|DM_AUDIT_ACTIONS|DM_AUDIT_CLASS_TYPE_MAP|DM_BROKER_ACTIVATED_TASKS|DM_BROKER_CONNECTIONS|DM_BROKER_FORWARDED_MESSAGES|DM_BROKER_QUEUE_MONITORS|DM_CDC_ERRORS|DM_CDC_LOG_SCAN_SESSIONS|DM_CLR_APPDOMAINS|DM_CLR_LOADED_ASSEMBLIES|DM_CLR_PROPERTIES|DM_CLR_TASKS|DM_CRYPTOGRAPHIC_PROVIDER_PROPERTIES|DM_DATABASE_ENCRYPTION_KEYS|DM_DB_FILE_SPACE_USAGE|DM_DB_FTS_INDEX_PHYSICAL_STATS|DM_DB_INDEX_PHYSICAL_STATS|DM_DB_INDEX_USAGE_STATS|DM_DB_LOG_SPACE_USAGE|DM_DB_MIRRORING_AUTO_PAGE_REPAIR|DM_DB_MIRRORING_CONNECTIONS|DM_DB_MIRRORING_PAST_ACTIONS|DM_DB_MISSING_INDEX_DETAILS|DM_DB_MISSING_INDEX_GROUP_STATS|DM_DB_MISSING_INDEX_GROUPS|DM_DB_PARTITION_STATS|DM_DB_PERSISTED_SKU_FEATURES|DM_DB_SCRIPT_LEVEL|DM_DB_SESSION_SPACE_USAGE|DM_DB_TASK_SPACE_USAGE|DM_DB_UNCONTAINED_ENTITIES|DM_EXEC_BACKGROUND_JOB_QUEUE|DM_EXEC_BACKGROUND_JOB_QUEUE_STATS|DM_EXEC_CACHED_PLANS|DM_EXEC_CONNECTIONS|DM_EXEC_PROCEDURE_STATS|DM_EXEC_QUERY_MEMORY_GRANTS|DM_EXEC_QUERY_OPTIMIZER_INFO|DM_EXEC_QUERY_RESOURCE_SEMAPHORES|DM_EXEC_QUERY_STATS|DM_EXEC_QUERY_TRANSFORMATION_STATS|DM_EXEC_REQUESTS|DM_EXEC_SESSIONS|DM_EXEC_TRIGGER_STATS|DM_FILESTREAM_FILE_IO_HANDLES|DM_FILESTREAM_FILE_IO_REQUESTS|DM_FILESTREAM_NON_TRANSACTED_HANDLES|DM_FTS_ACTIVE_CATALOGS|DM_FTS_FDHOSTS|DM_FTS_INDEX_POPULATION|DM_FTS_MEMORY_BUFFERS|DM_FTS_MEMORY_POOLS|DM_FTS_OUTSTANDING_BATCHES|DM_FTS_POPULATION_RANGES|DM_FTS_SEMANTIC_SIMILARITY_POPULATION|DM_HADR_AUTO_PAGE_REPAIR|DM_HADR_AVAILABILITY_GROUP_STATES|DM_HADR_AVAILABILITY_REPLICA_CLUSTER_NODES|DM_HADR_AVAILABILITY_REPLICA_CLUSTER_STATES|DM_HADR_AVAILABILITY_REPLICA_STATES|DM_HADR_CLUSTER|DM_HADR_CLUSTER_MEMBERS|DM_HADR_CLUSTER_NETWORKS|DM_HADR_DATABASE_REPLICA_CLUSTER_STATES|DM_HADR_DATABASE_REPLICA_STATES|DM_HADR_INSTANCE_NODE_MAP|DM_HADR_NAME_ID_MAP|DM_IO_BACKUP_TAPES|DM_IO_CLUSTER_SHARED_DRIVES|DM_IO_PENDING_IO_REQUESTS|DM_LOGPOOL_HASHENTRIES|DM_LOGPOOL_STATS|DM_OS_BUFFER_DESCRIPTORS|DM_OS_CHILD_INSTANCES|DM_OS_CLUSTER_NODES|DM_OS_CLUSTER_PROPERTIES|DM_OS_DISPATCHER_POOLS|DM_OS_DISPATCHERS|DM_OS_HOSTS|DM_OS_LATCH_STATS|DM_OS_LOADED_MODULES|DM_OS_MEMORY_ALLOCATIONS|DM_OS_MEMORY_BROKER_CLERKS|DM_OS_MEMORY_BROKERS|DM_OS_MEMORY_CACHE_CLOCK_HANDS|DM_OS_MEMORY_CACHE_COUNTERS|DM_OS_MEMORY_CACHE_ENTRIES|DM_OS_MEMORY_CACHE_HASH_TABLES|DM_OS_MEMORY_CLERKS|DM_OS_MEMORY_NODE_ACCESS_STATS|DM_OS_MEMORY_NODES|DM_OS_MEMORY_OBJECTS|DM_OS_MEMORY_POOLS|DM_OS_NODES|DM_OS_PERFORMANCE_COUNTERS|DM_OS_PROCESS_MEMORY|DM_OS_RING_BUFFERS|DM_OS_SCHEDULERS|DM_OS_SERVER_DIAGNOSTICS_LOG_CONFIGURATIONS|DM_OS_SPINLOCK_STATS|DM_OS_STACKS|DM_OS_SUBLATCHES|DM_OS_SYS_INFO|DM_OS_SYS_MEMORY|DM_OS_TASKS|DM_OS_THREADS|DM_OS_VIRTUAL_ADDRESS_DUMP|DM_OS_WAIT_STATS|DM_OS_WAITING_TASKS|DM_OS_WINDOWS_INFO|DM_OS_WORKER_LOCAL_STORAGE|DM_OS_WORKERS|DM_QN_SUBSCRIPTIONS|DM_REPL_ARTICLES|DM_REPL_SCHEMAS|DM_REPL_TRANHASH|DM_REPL_TRANINFO|DM_RESOURCE_GOVERNOR_CONFIGURATION|DM_RESOURCE_GOVERNOR_RESOURCE_POOL_AFFINITY|DM_RESOURCE_GOVERNOR_RESOURCE_POOLS|DM_RESOURCE_GOVERNOR_WORKLOAD_GROUPS|DM_SERVER_AUDIT_STATUS|DM_SERVER_MEMORY_DUMPS|DM_SERVER_REGISTRY|DM_SERVER_SERVICES|DM_TCP_LISTENER_STATES|DM_TRAN_ACTIVE_SNAPSHOT_DATABASE_TRANSACTIONS|DM_TRAN_ACTIVE_TRANSACTIONS|DM_TRAN_COMMIT_TABLE|DM_TRAN_CURRENT_SNAPSHOT|DM_TRAN_CURRENT_TRANSACTION|DM_TRAN_DATABASE_TRANSACTIONS|DM_TRAN_LOCKS|DM_TRAN_SESSION_TRANSACTIONS|DM_TRAN_TOP_VERSION_GENERATORS|DM_TRAN_TRANSACTIONS_SNAPSHOT|DM_TRAN_VERSION_STORE|DM_XE_MAP_VALUES|DM_XE_OBJECT_COLUMNS|DM_XE_OBJECTS|DM_XE_PACKAGES|DM_XE_SESSION_EVENT_ACTIONS|DM_XE_SESSION_EVENTS|DM_XE_SESSION_OBJECT_COLUMNS|DM_XE_SESSION_TARGETS|DM_XE_SESSIONS|DOMAIN_CONSTRAINTS|DOMAINS|ENDPOINT_WEBMETHODS|ENDPOINTS|EVENT_NOTIFICATION_EVENT_TYPES|EVENT_NOTIFICATIONS|EVENTS|EXTENDED_PROCEDURES|EXTENDED_PROPERTIES|FILEGROUPS|FILETABLE_SYSTEM_DEFINED_OBJECTS|FILETABLES|FN_ALL_CHANGES_ - -*/ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - background: #F0F0F0; -} - - -/* Base color: saturation 0; */ - -.hljs, -.hljs-subst { - color: #444; -} - -.hljs-comment { - color: #888888; -} - -.hljs-keyword, -.hljs-attribute, -.hljs-selector-tag, -.hljs-meta-keyword, -.hljs-doctag, -.hljs-name { - font-weight: bold; -} - - -/* User color: hue: 0 */ - -.hljs-type, -.hljs-string, -.hljs-number, -.hljs-selector-id, -.hljs-selector-class, -.hljs-quote, -.hljs-template-tag, -.hljs-deletion { - color: #880000; -} - -.hljs-title, -.hljs-section { - color: #880000; - font-weight: bold; -} - -.hljs-regexp, -.hljs-symbol, -.hljs-variable, -.hljs-template-variable, -.hljs-link, -.hljs-selector-attr, -.hljs-selector-pseudo { - color: #BC6060; -} - - -/* Language color: hue: 90; */ - -.hljs-literal { - color: #78A960; -} - -.hljs-built_in, -.hljs-bullet, -.hljs-code, -.hljs-addition { - color: #397300; -} - - -/* Meta color: hue: 200 */ - -.hljs-meta { - color: #1f7199; -} - -.hljs-meta-string { - color: #4d99bf; -} - - -/* Misc effects */ - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} diff --git a/js/highlightjs/styles/github.css b/js/highlightjs/styles/github.css deleted file mode 100644 index 791932b..0000000 --- a/js/highlightjs/styles/github.css +++ /dev/null @@ -1,99 +0,0 @@ -/* - -github.com style (c) Vasily Polovnyov - -*/ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - color: #333; - background: #f8f8f8; -} - -.hljs-comment, -.hljs-quote { - color: #998; - font-style: italic; -} - -.hljs-keyword, -.hljs-selector-tag, -.hljs-subst { - color: #333; - font-weight: bold; -} - -.hljs-number, -.hljs-literal, -.hljs-variable, -.hljs-template-variable, -.hljs-tag .hljs-attr { - color: #008080; -} - -.hljs-string, -.hljs-doctag { - color: #d14; -} - -.hljs-title, -.hljs-section, -.hljs-selector-id { - color: #900; - font-weight: bold; -} - -.hljs-subst { - font-weight: normal; -} - -.hljs-type, -.hljs-class .hljs-title { - color: #458; - font-weight: bold; -} - -.hljs-tag, -.hljs-name, -.hljs-attribute { - color: #000080; - font-weight: normal; -} - -.hljs-regexp, -.hljs-link { - color: #009926; -} - -.hljs-symbol, -.hljs-bullet { - color: #990073; -} - -.hljs-built_in, -.hljs-builtin-name { - color: #0086b3; -} - -.hljs-meta { - color: #999; - font-weight: bold; -} - -.hljs-deletion { - background: #fdd; -} - -.hljs-addition { - background: #dfd; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} diff --git a/js/highlightjs/styles/ssms.css b/js/highlightjs/styles/ssms.css deleted file mode 100644 index d80aac8..0000000 --- a/js/highlightjs/styles/ssms.css +++ /dev/null @@ -1,51 +0,0 @@ -.hljs.language-tsql { - display: block; - overflow-x: auto; - padding: 0.5em; - background: white; - color: #808080; -} - -.language-tsql .hljs-keyword { - color: #0000ff; - font-weight: normal; -} - -.language-tsql .hljs-built_in { - color: #ff00ff; -} - -.language-tsql .hljs-type { - color: #008000; - font-weight: normal; -} - -.language-tsql .hljs-function { - color: #800000; -} - -.language-tsql .hljs-number { - color: #000000; -} - -.language-tsql .hljs-string { - color: #ff0000; -} - -.language-tsql .hljs-symbol { - color: #000000; -} - -.language-tsql .hljs-comment { - color: #008000; - font-style: normal; -} - -.language-tsql .hljs-meta { - background: #cdcdcd; - color: #000000; -} - -.language-tsql .hljs-literal { - color: #808080; -} \ No newline at end of file