[SOLVED] CS cache compiler Java python prolog javascript /* PrismJS 1.15.0

$25

File Name: CS_cache_compiler_Java_python_prolog_javascript_/*_PrismJS_1.15.0.zip
File Size: 612.3 KB

5/5 - (1 vote)

/* PrismJS 1.15.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+c+bash+markup-templating+java+javastacktrace+php+php-extras+python&plugins=line-highlight+line-numbers+highlight-keywords */
var _self=undefined!=typeof window?window:undefined!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/blang(?:uage)?-([w-]+)b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):Array===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,&).replace(/e.length)return;if(!(w instanceof s)){if(m&&b!=t.length-1){f.lastIndex=k;var _=f.exec(e);if(!_)break;for(var j=_.index+(d?_[1].length:0),P=_.index+_[0].length,A=b,O=k,x=t.length;x>A&&(P>O||!t[A].type&&!t[A-1].greedy);++A)O+=t[A].length,j>=O&&(++b,k=O);if(t[b]instanceof s)continue;I=A-b,w=e.slice(k,O),_.index-=k}else{f.lastIndex=0;var _=f.exec(w),I=1}if(_){d&&(p=_[1]?_[1].length:0);var j=_.index+p,_=_[0].slice(p),P=j+_.length,N=w.slice(0,j),S=w.slice(P),E=[b,I];N&&(++b,k+=N.length,E.push(N));var C=new s(u,h?n.tokenize(_,h):_,y,_,m);if(E.push(C),S&&E.push(S),Array.prototype.splice.apply(t,E),1!=I&&n.matchGrammar(e,t,a,b,k,!0,u),i)break}else if(i)break}}}}},tokenize:function(e,t){var a=[e],r=t.rest;if(r){for(var l in r)t[l]=r[l];delete t.rest}return n.matchGrammar(e,a,t,0,0,!1),a},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,l=0;r=a[l++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||).length,this.greedy=!!r};if(a.stringify=function(e,t,r){if(string==typeof e)return e;if(Array===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join();var l={type:e.type,content:a.stringify(e.content,t,r),tag:span,classes:[token,e.type],attributes:{},language:t,parent:r};if(e.alias){var i=Array===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(l.classes,i)}n.hooks.run(wrap,l);var o=Object.keys(l.attributes).map(function(e){return e+=+(l.attributes[e]||).replace(//g,”)+’}).join( );return<“+l.tag+’ class=”‘+l.classes.join(” “)+'”‘+(o?” “+o:””)+”>+l.content+},!_self.document)return _self.addEventListener?(n.disableWorkerMessageHandler||_self.addEventListener(message,function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,l=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),l&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName(script)).pop();return r&&(n.filename=r.src,n.manual||r.hasAttribute(data-manual)||(loading!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener(DOMContentLoaded,n.highlightAll))),_self.Prism}();undefined!=typeof module&&module.exports&&(module.exports=Prism),undefined!=typeof global&&(global.Prism=Prism);
Prism.languages.markup={comment://,prolog:/<?[sS]+??>/,doctype://i,cdata://=$<%]+(?:s+[^s>/=]+(?:=(?:(|)(?:\[sS]|(?!1)[^\])*1|[^s’>=]+))?)*s*/?>/i,greedy:!0,inside:{tag:{pattern:/^</?[^s>/]+/i,inside:{punctuation:/^</?/,namespace:/^[^s>/:]+:/}},attr-value:{pattern:/=(?:(|)(?:\[sS]|(?!1)[^\])*1|[^s’>=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\])[]/,lookbehind:!0}]}},punctuation://?>/,attr-name:{pattern:/[^s>/]+/,inside:{namespace:/^[^s>/:]+:/}}}},entity:/&#?[da-z]{1,8};/i},Prism.languages.markup.tag.inside[attr-value].inside.entity=Prism.languages.markup.entity,Prism.hooks.add(wrap,function(a){entity===a.type&&(a.attributes.title=a.content.replace(/&/,&))}),Prism.languages.xml=Prism.languages.extend(markup,{}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;
Prism.languages.css={comment://*[sS]*?*//,atrule:{pattern:/@[w-]+?[sS]*?(?:;|(?=s*{))/i,inside:{rule:/@[w-]+/}},url:/url((?:([])(?:\(?:r
|[sS])|(?!1)[^\r
])*1|.*?))/i,selector:/[^{}s][^{};]*?(?=s*{)/,string:{pattern:/(|)(?:\(?:r
|[sS])|(?!1)[^\r
])*1/,greedy:!0},property:/[-_a-zxA0-uFFFF][-wxA0-uFFFF]*(?=s*:)/i,important:/!importantb/i,function:/[-a-z0-9]+(?=()/i,punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css,Prism.languages.markup&&(Prism.languages.insertBefore(markup,tag,{style:{pattern:/( )[sS]*?(?=</style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:language-css,greedy:!0}}),Prism.languages.insertBefore(inside,attr-value,{style-attr:{pattern:/s*style=(|)(?:\[sS]|(?!1)[^\])*1/i,inside:{attr-name:{pattern:/^s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^s*=s*[]|[]s*$/,attr-value:{pattern:/.+/i,inside:Prism.languages.css}},alias:language-css}},Prism.languages.markup.tag));
Prism.languages.clike={comment:[{pattern:/(^|[^\])/*[sS]*?(?:*/|$)/,lookbehind:!0},{pattern:/(^|[^\:])//.*/,lookbehind:!0,greedy:!0}],string:{pattern:/([])(?:\(?:r
|[sS])|(?!1)[^\r
])*1/,greedy:!0},class-name:{pattern:/((?:b(?:class|interface|extends|implements|trait|instanceof|new)s+)|(?:catchs+())[w.\]+/i,lookbehind:!0,inside:{punctuation:/[.\]/}},keyword:/b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)b/,boolean:/b(?:true|false)b/,function:/w+(?=()/,number:/b0x[da-f]+b|(?:bd+.?d*|B.d+)(?:e[+-]?d+)?/i,operator:/?|++?|!=?=?|<=?|>=?|==?=?|&&?|||?|?|*|/|~|^|%/,punctuation:/[{}[];(),.:]/};
Prism.languages.javascript=Prism.languages.extend(clike,{class-name:[Prism.languages.clike[class-name],{pattern:/(^|[^$wxA0-uFFFF])[_$A-ZxA0-uFFFF][$wxA0-uFFFF]*(?=.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})s*)(?:catch|finally)b/,lookbehind:!0},/b(?:as|async|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)b/],number:/b(?:(?:0[xX][dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+)n?|d+n|NaN|Infinity)b|(?:bd+.?d*|B.d+)(?:[Ee][+-]?d+)?/,function:/[_$a-zA-ZxA0-uFFFF][$wxA0-uFFFF]*(?=s*(|.(?:apply|bind|call)()/,operator:/-[-=]?|+[+=]?|!=?=?|< >?>?=?|=(?:==?|>)?|&[&=]?||[|=]?|**?=?|/=?|~|^=?|%=?|?|.{3}/}),Prism.languages.javascript[class-name][0].pattern=/(b(?:class|interface|extends|implements|instanceof|new)s+)[w.\]+/,Prism.languages.insertBefore(javascript,keyword,{regex:{pattern:/((?:^|[^$wxA0-uFFFF.])s])s*)/([(?:[^]\r
]|\.)*]|\.|[^/\[r
])+/[gimyu]{0,5}(?=s*($|[r
,.;})]]))/,lookbehind:!0,greedy:!0},function-variable:{pattern:/[_$a-zxA0-uFFFF][$wxA0-uFFFF]*(?=s*[=:]s*(?:asyncs*)?(?:bfunctionb|(?:([^()]*)|[_$a-zxA0-uFFFF][$wxA0-uFFFF]*)s*=>))/i,alias:function},parameter:[{pattern:/(function(?:s+[_$a-zxA0-uFFFF][$wxA0-uFFFF]*)?s*(s*)[^s()][^()]*?(?=s*))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-zxA0-uFFFF][$wxA0-uFFFF]*(?=s*=>)/,inside:Prism.languages.javascript},{pattern:/((s*)[^s()][^()]*?(?=s*)s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:b|s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)(?![$wxA0-uFFFF]))(?:[_$a-zxA0-uFFFF][$wxA0-uFFFF]*s*)(s*)[^s()][^()]*?(?=s*)s*{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/b[A-Z][A-Zd_]*b/}),Prism.languages.insertBefore(javascript,string,{template-string:{pattern:/`(?:\[sS]|${[^}]+}|[^\`])*`/,greedy:!0,inside:{interpolation:{pattern:/${[^}]+}/,inside:{interpolation-punctuation:{pattern:/^${|}$/,alias:punctuation},rest:Prism.languages.javascript}},string:/[sS]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore(markup,tag,{script:{pattern:/( )[sS]*?(?=</script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:language-javascript,greedy:!0}}),Prism.languages.js=Prism.languages.javascript;
Prism.languages.c=Prism.languages.extend(clike,{class-name:{pattern:/(b(?:enum|struct)s+)w+/,lookbehind:!0},keyword:/b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)b/,operator:/>>=?|<<=?|->|([-+&|:])1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:b0x(?:[da-f]+.?[da-f]*|.[da-f]+)(?:p[+-]?d+)?|(?:bd+.?d*|B.d+)(?:e[+-]?d+)?)[ful]*/i}),Prism.languages.insertBefore(c,string,{macro:{pattern:/(^s*)#s*[a-z]+(?:[^r
\]|\(?:r
|[sS]))*/im,lookbehind:!0,alias:property,inside:{string:{pattern:/(#s*includes*)(?:<.+?>|(|)(?:\?.)+?2)/,lookbehind:!0},directive:{pattern:/(#s*)b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)b/,lookbehind:!0,alias:keyword}}},constant:/b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)b/}),delete Prism.languages.c[boolean];
!function(e){var t={variable:[{pattern:/$?(([sS]+?))/,inside:{variable:[{pattern:/(^$(([sS]+)))/,lookbehind:!0},/^$((/],number:/b0x[dA-Fa-f]+b|(?:bd+.?d*|B.d+)(?:[Ee]-?d+)?/,operator:/?|-=|++?|+=|!=?|~|**?|*=|/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|^=?|||?||=|?|:/,punctuation:/((?|))?|,|;/}},{pattern:/$([^)]+)|`[^`]+`/,greedy:!0,inside:{variable:/^$(|^`|)$|`$/}},/$(?:[w#?*!@]+|{[^}]+})/i]};e.languages.bash={shebang:{pattern:/^#!s*/bin/bash|^#!s*/bin/sh/,alias:important},comment:{pattern:/(^|[^{\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<s*)[“‘]?(w+?)[“‘]?s*r?
(?:[sS])*?r?
2/,lookbehind:!0,greedy:!0,inside:t},{pattern:/([“‘])(?:\[sS]|$([^)]+)|`[^`]+`|(?!1)[^\])*1/,greedy:!0,inside:t}],variable:t.variable,”function”:{pattern:/(^|[s;|&])(?:alias|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|hash|head|help|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logout|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tail|tar|tee|test|time|timeout|times|top|touch|tr|traceroute|trap|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip|zypper)(?=$|[s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[s;|&])(?:let|:|.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|[s;|&])/,lookbehind:!0},”boolean”:{pattern:/(^|[s;|&])(?:true|false)(?=$|[s;|&])/,lookbehind:!0},operator:/&&?|||?|==?|!=?|<<>|<=?|>=?|=~/,punctuation:/$?((?|))?|..|[{}[];]/};var a=t.variable[1].inside;a.string=e.languages.bash.string,a[function]=e.languages.bash[function],a.keyword=e.languages.bash.keyword,a[boolean]=e.languages.bash[boolean],a.operator=e.languages.bash.operator,a.punctuation=e.languages.bash.punctuation,e.languages.shell=e.languages.bash}(Prism);
Prism.languages[markup-templating]={},Object.defineProperties(Prism.languages[markup-templating],{buildPlaceholders:{value:function(e,t,n,a){e.language===t&&(e.tokenStack=[],e.code=e.code.replace(n,function(n){if(function==typeof a&&!a(n))return n;for(var r=e.tokenStack.length;-1!==e.code.indexOf(___+t.toUpperCase()+r+___);)++r;return e.tokenStack[r]=n,___+t.toUpperCase()+r+___}),e.grammar=Prism.languages.markup)}},tokenizePlaceholders:{value:function(e,t){if(e.language===t&&e.tokenStack){e.grammar=Prism.languages[t];var n=0,a=Object.keys(e.tokenStack),r=function(o){if(!(n>=a.length))for(var i=0;i -1){++n;var f,u=l.substring(0,p),_=new Prism.Token(t,Prism.tokenize(s,e.grammar,t),language-+t,s),k=l.substring(p+(___+t.toUpperCase()+c+___).length);if(u||k?(f=[u,_,k].filter(function(e){return!!e}),r(f)):f=_,string==typeof g?Array.prototype.splice.apply(o,[i,1].concat(f)):g.content=f,n>=a.length)break}}else g.content&&string!=typeof g.content&&r(g.content)}};r(e.tokens)}}}});
!function(e){var t=/b(?:abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while|var|null|exports|module|open|opens|provides|requires|to|transitive|uses|with)b/,a=/b[A-Z](?:w*[a-z]w*)?b/;e.languages.java=e.languages.extend(clike,{class-name:[a,/b[A-Z]w*(?=s+w+s*[;,=())])/],keyword:t,function:[e.languages.clike.function,{pattern:/(::)[a-z_]w*/,lookbehind:!0}],number:/b0b[01][01_]*L?b|b0x[da-f_]*.?[da-f_p+-]+b|(?:bd[d_]*.?[d_]*|B.d[d_]*)(?:e[+-]?d[d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|([-+&|])2|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore(java,class-name,{annotation:{alias:punctuation,pattern:/(^|[^.])@w+/,lookbehind:!0},namespace:{pattern:/(b(?:exports|import(?:s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)s+)[a-z]w*(.[a-z]w*)+/,lookbehind:!0,inside:{punctuation:/./}},generics:{pattern:/<(?:[ws,.&?]|<(?:[ws,.&?]|<(?:[ws,.&?]|<[ws,.&?]*>)*>)*>)*>/,inside:{class-name:a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism);
Prism.languages.javastacktrace={summary:{pattern:/^[t ]*(?:(?:Caused by:|Suppressed:|Exception in thread [^]*)[t ]+)?[w$.]+(?::.*)?$/m,inside:{keyword:{pattern:/^(s*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(s*)[^]*/,lookbehind:!0},exceptions:{pattern:/^(:?s*)[w$.]+(?=:|$)/,lookbehind:!0,inside:{class-name:/[w$]+(?=$|:)/,namespace:/[a-z]w*/,punctuation:/[.:]/}},message:{pattern:/(:s*)S.*/,lookbehind:!0,alias:string},punctuation:/[:]/}},stack-frame:{pattern:/^[t ]*at [w$.]+(?: )?([^()]*)/m,inside:{keyword:{pattern:/^(s*)at/,lookbehind:!0},source:[{pattern:/(()w+.w+:d+(?=))/,lookbehind:!0,inside:{file:/^w+.w+/,punctuation:/:/,line-number:{pattern:/d+/,alias:number}}},{pattern:/(()[^()]*(?=))/,lookbehind:!0,inside:{keyword:/^(?:Unknown Source|Native Method)$/}}],class-name:/[w$]+(?=.(?: |[w$]+)()/,function:/(?: |[w$]+)(?=()/,namespace:/[a-z]w*/,punctuation:/[.()]/}},more:{pattern:/^[t ]*.{3} d+ [a-z]+(?: [a-z]+)*/m,inside:{punctuation:/.{3}/,number:/d+/,keyword:/b[a-z]+(?: [a-z]+)*b/}}};
!function(e){e.languages.php=e.languages.extend(clike,{keyword:/b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)b/i,boolean:{pattern:/b(?:false|true)b/i,alias:constant},constant:[/b[A-Z_][A-Z0-9_]*b/,/b(?:null)b/i],comment:{pattern:/(^|[^\])(?:/*[sS]*?*/|//.*)/,lookbehind:!0}}),e.languages.insertBefore(php,string,{shell-comment:{pattern:/(^|[^\])#.*/,lookbehind:!0,alias:comment}}),e.languages.insertBefore(php,keyword,{delimiter:{pattern:/?>|<?(?:php|=)?/i,alias:”important”},variable:/$+(?:w+b|(?={))/i,”package”:{pattern:/(\|namespaces+|uses+)[w\]+/,lookbehind:!0,inside:{punctuation:/\/}}}),e.languages.insertBefore(“php”,”operator”,{property:{pattern:/(->)[w]+/,lookbehind:!0}});var n={pattern:/{$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\{])$+(?:w+(?:[.+?]|->w+)*)/,lookbehind:!0,inside:{rest:e.languages.php}};e.languages.insertBefore(php,string,{nowdoc-string:{pattern:/<<<‘([^’]+)'(?:r
?|
)(?:.*(?:r
?|
))*?1;/,greedy:!0,alias:”string”,inside:{delimiter:{pattern:/^<<<‘[^’]+’|[a-z_]w*;$/i,alias:”symbol”,inside:{punctuation:/^<<<‘?|[‘;]$/}}}},”heredoc-string”:{pattern:/<<<(?:”([^”]+)”(?:r
?|
)(?:.*(?:r
?|
))*?1;|([a-z_]w*)(?:r
?|
)(?:.*(?:r
?|
))*?2;)/i,greedy:!0,alias:”string”,inside:{delimiter:{pattern:/^<<<(?:”[^”]+”|[a-z_]w*)|[a-z_]w*;$/i,alias:”symbol”,inside:{punctuation:/^<<<“?|[“;]$/}},interpolation:n}},”single-quoted-string”:{pattern:/'(?:\[sS]|[^\’])*’/,greedy:!0,alias:”string”},”double-quoted-string”:{pattern:/”(?:\[sS]|[^\”])*”/,greedy:!0,alias:”string”,inside:{interpolation:n}}}),delete e.languages.php.string,e.hooks.add(“before-tokenize”,function(n){if(/(?:<?php|<?)/gi.test(n.code)){var t=/(?:<?php|<?)[sS]*?(?:?>|$)/gi;e.languages[markup-templating].buildPlaceholders(n,php,t)}}),e.hooks.add(after-tokenize,function(n){e.languages[markup-templating].tokenizePlaceholders(n,php)})}(Prism);
Prism.languages.insertBefore(php,variable,{this:/$thisb/,global:/$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)b/,scope:{pattern:/b[w\]+::/,inside:{keyword:/static|self|parent/,punctuation:/::|\/}}});
Prism.languages.python={comment:{pattern:/(^|[^\])#.*/,lookbehind:!0},string-interpolation:{pattern:/(?:f|rf|fr)(?:(|)[sS]+?1|(|)(?:\.|(?!2)[^\r
])*2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{format-spec:{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},conversion-option:{pattern:/![sra](?=[:}]$)/,alias:punctuation},rest:null}},string:/[sS]+/}},triple-quoted-string:{pattern:/(?:[rub]|rb|br)?(|)[sS]+?1/i,greedy:!0,alias:string},string:{pattern:/(?:[rub]|rb|br)?(|)(?:\.|(?!1)[^\r
])*1/i,greedy:!0},function:{pattern:/((?:^|s)def[ t]+)[a-zA-Z_]w*(?=s*()/g,lookbehind:!0},class-name:{pattern:/(bclasss+)w+/i,lookbehind:!0},decorator:{pattern:/(^s*)@w+(?:.w+)*/i,lookbehind:!0,alias:[annotation,punctuation],inside:{punctuation:/./}},keyword:/b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)b/,builtin:/b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)b/,boolean:/b(?:True|False|None)b/,number:/(?:b(?=d)|B(?=.))(?:0[bo])?(?:(?:d|0x[da-f])[da-f]*.?d*|.d+)(?:e[+-]?d+)?j?b/i,operator:/[-+%=]=?|!=|**?=?|//?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[];(),.:]/},Prism.languages.python[string-interpolation].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python;
!function(){function e(e,t){return Array.prototype.slice.call((t||document).querySelectorAll(e))}function t(e,t){return t= +t+ ,( +e.className+ ).replace(/[
t]/g, ).indexOf(t)>-1}function n(e,n,i){n=string==typeof n?n:e.getAttribute(data-line);for(var o,l=n.replace(/s+/g,).split(,),a=+e.getAttribute(data-line-offset)||0,s=r()?parseInt:parseFloat,d=s(getComputedStyle(e).lineHeight),u=t(e,line-numbers),c=0;o=l[c++];){var p=o.split(-),m=+p[0],f=+p[1]||m,h=e.querySelector(.line-highlight[data-range=+o+’])||document.createElement(div);if(h.setAttribute(aria-hidden,true),h.setAttribute(data-range,o),h.className=(i||)+ line-highlight,u&&Prism.plugins.lineNumbers){var g=Prism.plugins.lineNumbers.getLine(e,m),y=Prism.plugins.lineNumbers.getLine(e,f);g&&(h.style.top=g.offsetTop+px),y&&(h.style.height=y.offsetTop-g.offsetTop+y.offsetHeight+px)}else h.setAttribute(data-start,m),f>m&&h.setAttribute(data-end,f),h.style.top=(m-a-1)*d+px,h.textContent=new Array(f-m+2).join(
);u?e.appendChild(h):(e.querySelector(code)||e).appendChild(h)}}function i(){var t=location.hash.slice(1);e(.temporary.line-highlight).forEach(function(e){e.parentNode.removeChild(e)});var i=(t.match(/.([d,-]+)$/)||[,])[1];if(i&&!document.getElementById(t)){var r=t.slice(0,t.lastIndexOf(.)),o=document.getElementById(r);o&&(o.hasAttribute(data-line)||o.setAttribute(data-line,),n(o,i,temporary ),document.querySelector(.temporary.line-highlight).scrollIntoView())}}if(undefined!=typeof self&&self.Prism&&self.document&&document.querySelector){var r=function(){var e;return function(){if(undefined==typeof e){var t=document.createElement(div);t.style.fontSize=13px,t.style.lineHeight=1.5,t.style.padding=0,t.style.border=0,t.innerHTML=
,document.body.appendChild(t),e=38===t.offsetHeight,document.body.removeChild(t)}return e}}(),o=0;Prism.hooks.add(before-sanity-check,function(t){var n=t.element.parentNode,i=n&&n.getAttribute(data-line);if(n&&i&&/pre/i.test(n.nodeName)){var r=0;e(.line-highlight,n).forEach(function(e){r+=e.textContent.length,e.parentNode.removeChild(e)}),r&&/^(
)+$/.test(t.code.slice(-r))&&(t.code=t.code.slice(0,-r))}}),Prism.hooks.add(complete,function l(e){var r=e.element.parentNode,a=r&&r.getAttribute(data-line);if(r&&a&&/pre/i.test(r.nodeName)){clearTimeout(o);var s=Prism.plugins.lineNumbers,d=e.plugins&&e.plugins.lineNumbers;t(r,line-numbers)&&s&&!d?Prism.hooks.add(line-numbers,l):(n(r,a),o=setTimeout(i,1))}}),window.addEventListener(hashchange,i),window.addEventListener(resize,function(){var e=document.querySelectorAll(pre[data-line]);Array.prototype.forEach.call(e,function(e){n(e)})})}}();
!function(){if(undefined!=typeof self&&self.Prism&&self.document){var e=line-numbers,t=/
(?!$)/g,n=function(e){var n=r(e),s=n[white-space];if(pre-wrap===s||pre-line===s){var l=e.querySelector(code),i=e.querySelector(.line-numbers-rows),a=e.querySelector(.line-numbers-sizer),o=l.textContent.split(t);a||(a=document.createElement(span),a.className=line-numbers-sizer,l.appendChild(a)),a.style.display=block,o.forEach(function(e,t){a.textContent=e||
;var n=a.getBoundingClientRect().height;i.children[t].style.height=n+px}),a.textContent=,a.style.display=none}},r=function(e){return e?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null};window.addEventListener(resize,function(){Array.prototype.forEach.call(document.querySelectorAll(pre.+e),n)}),Prism.hooks.add(complete,function(e){if(e.code){var r=e.element.parentNode,s=/s*bline-numbersbs*/;if(r&&/pre/i.test(r.nodeName)&&(s.test(r.className)||s.test(e.element.className))&&!e.element.querySelector(.line-numbers-rows)){s.test(e.element.className)&&(e.element.className=e.element.className.replace(s, )),s.test(r.className)||(r.className+= line-numbers);var l,i=e.code.match(t),a=i?i.length+1:1,o=new Array(a+1);o=o.join(),l=document.createElement(span),l.setAttribute(aria-hidden,true),l.className=line-numbers-rows,l.innerHTML=o,r.hasAttribute(data-start)&&(r.style.counterReset=linenumber +(parseInt(r.getAttribute(data-start),10)-1)),e.element.appendChild(l),n(r),Prism.hooks.run(line-numbers,e)}}}),Prism.hooks.add(line-numbers,function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}),Prism.plugins.lineNumbers={getLine:function(t,n){if(PRE===t.tagName&&t.classList.contains(e)){var r=t.querySelector(.line-numbers-rows),s=parseInt(t.getAttribute(data-start),10)||1,l=s+(r.children.length-1);s>n&&(n=s),n>l&&(n=l);var i=n-s;return r.children[i]}}}}}();
!function(){undefined!=typeof self&&!self.Prism||undefined!=typeof global&&!global.Prism||Prism.hooks.add(wrap,function(e){keyword===e.type&&e.classes.push(keyword-+e.content)})}();

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS cache compiler Java python prolog javascript /* PrismJS 1.15.0
$25