(function(o){ChiliBook={version:"2.2",automatic:true,automaticSelector:"code[class]",lineNumbers:false,codeLanguage:function(r){return(r=o(r).attr("class"))?r:""},recipeLoading:false,recipeFolder:"",replaceSpace:"&#160;",replaceTab:"&#160;&#160;&#160;&#160;",replaceNewLine:"&#160;<br/>",selectionStyle:"position:absolute; z-index:3000; overflow:scroll; width:16em; height:9em; border:1px solid gray; padding:15px; background-color:yellow; display:none;",defaultReplacement:'<span class="$0">$$</span>',
recipes:{"php.js":{_name:"php",_case:true,_main:{all:{_match:/[\w\W]*/,_replace:function(r){var m=String.fromCharCode(0),p=[],t=this,F=r.replace(/<\?[^?]*\?+(?:[^>][^?]*\?+)*>/g,function(c){p.push(t.x(c,"/block/php_1"));return m}).replace(/^[^?]*\?+(?:[^>][^?]*\?+)*>|<\?[\w\W]*$/g,function(c){p.push(t.x(c,"/block/php_2"));return m});if(p.length){var G=0;return this.x(F,"html").replace(RegExp(m,"g"),function(){return p[G++]})}else return this.x(r,"/php")}}},block:{php_1:{_match:/(<\?(?:php\b)?)([^?]*\?+(?:[^>][^?]*\?+)*>)/,
_replace:function(r,m,p){return"<span class='start'>"+this.x(m)+"</span>"+this.x(p.replace(/\?>$/,""),"/php")+"<span class='end'>"+this.x("?>")+"</span>"},_style:{start:"color: red; font-weight: bold",end:"color: red;"}},php_2:{_match:/([^?]*\?+(?:[^>][^?]*\?+)*>)|(<\?(?:php\b)?)([\w\W]*)/,_replace:function(r,m,p,t){return p?"<span class='start'>"+this.x(p)+"</span>"+this.x(t,"/php"):this.x(m.replace(/\?>$/,""),"/php")+"<span class='end'>"+this.x("?>")+"</span>"},_style:{start:"color: red; font-weight: bold",
end:"color: red;"}}},php:{mlcom:{_match:/\/\*[^*]*\*+([^\/][^*]*\*+)*\//,_style:"color: gray;"},com:{_match:/(?:\/\/.*)|(?:[^\\]\#.*)/,_style:"color: green;"},string1:{_match:/\'[^\'\\]*(?:\\.[^\'\\]*)*\'/,_style:"color: purple;"},string2:{_match:/\"[^\"\\]*(?:\\.[^\"\\]*)*\"/,_style:"color: fuchsia;"},value:{_match:/\b(?:[Nn][Uu][Ll][Ll]|[Tt][Rr][Uu][Ee]|[Ff][Aa][Ll][Ss][Ee])\b/,_style:"color: gray; font-weight: bold;"},number:{_match:/\b[+-]?(\d*\.?\d+|\d+\.?\d*)([eE][+-]?\d+)?\b/,_style:"color: red;"},
const1:{_match:/\b(?:DEFAULT_INCLUDE_PATH|E_(?:ALL|CO(?:MPILE_(?:ERROR|WARNING)|RE_(?:ERROR|WARNING))|ERROR|NOTICE|PARSE|STRICT|USER_(?:ERROR|NOTICE|WARNING)|WARNING)|P(?:EAR_(?:EXTENSION_DIR|INSTALL_DIR)|HP_(?:BINDIR|CONFIG_FILE_(?:PATH|SCAN_DIR)|DATADIR|E(?:OL|XTENSION_DIR)|INT_(?:MAX|SIZE)|L(?:IBDIR|OCALSTATEDIR)|O(?:S|UTPUT_HANDLER_(?:CONT|END|START))|PREFIX|S(?:API|HLIB_SUFFIX|YSCONFDIR)|VERSION))|__COMPILER_HALT_OFFSET__)\b/,_style:"color: red;"},const2:{_match:/\b(?:A(?:B(?:DAY_(?:1|2|3|4|5|6|7)|MON_(?:1(?:0|1|2|)|2|3|4|5|6|7|8|9))|LT_DIGITS|M_STR|SSERT_(?:ACTIVE|BAIL|CALLBACK|QUIET_EVAL|WARNING))|C(?:ASE_(?:LOWER|UPPER)|HAR_MAX|O(?:DESET|NNECTION_(?:ABORTED|NORMAL|TIMEOUT)|UNT_(?:NORMAL|RECURSIVE))|R(?:EDITS_(?:ALL|DOCS|FULLPAGE|G(?:ENERAL|ROUP)|MODULES|QA|SAPI)|NCYSTR|YPT_(?:BLOWFISH|EXT_DES|MD5|S(?:ALT_LENGTH|TD_DES)))|URRENCY_SYMBOL)|D(?:AY_(?:1|2|3|4|5|6|7)|ECIMAL_POINT|IRECTORY_SEPARATOR|_(?:FMT|T_FMT))|E(?:NT_(?:COMPAT|NOQUOTES|QUOTES)|RA(?:_(?:D_(?:FMT|T_FMT)|T_FMT|YEAR)|)|XTR_(?:IF_EXISTS|OVERWRITE|PREFIX_(?:ALL|I(?:F_EXISTS|NVALID)|SAME)|SKIP))|FRAC_DIGITS|GROUPING|HTML_(?:ENTITIES|SPECIALCHARS)|IN(?:FO_(?:ALL|C(?:ONFIGURATION|REDITS)|ENVIRONMENT|GENERAL|LICENSE|MODULES|VARIABLES)|I_(?:ALL|PERDIR|SYSTEM|USER)|T_(?:CURR_SYMBOL|FRAC_DIGITS))|L(?:C_(?:ALL|C(?:OLLATE|TYPE)|M(?:ESSAGES|ONETARY)|NUMERIC|TIME)|O(?:CK_(?:EX|NB|SH|UN)|G_(?:A(?:LERT|UTH(?:PRIV|))|C(?:ONS|R(?:IT|ON))|D(?:AEMON|EBUG)|E(?:MERG|RR)|INFO|KERN|L(?:OCAL(?:0|1|2|3|4|5|6|7)|PR)|MAIL|N(?:DELAY|EWS|O(?:TICE|WAIT))|ODELAY|P(?:ERROR|ID)|SYSLOG|U(?:SER|UCP)|WARNING)))|M(?:ON_(?:1(?:0|1|2|)|2|3|4|5|6|7|8|9|DECIMAL_POINT|GROUPING|THOUSANDS_SEP)|_(?:1_PI|2_(?:PI|SQRTPI)|E|L(?:N(?:10|2)|OG(?:10E|2E))|PI(?:_(?:2|4)|)|SQRT(?:1_2|2)))|N(?:EGATIVE_SIGN|O(?:EXPR|STR)|_(?:CS_PRECEDES|S(?:EP_BY_SPACE|IGN_POSN)))|P(?:ATH(?:INFO_(?:BASENAME|DIRNAME|EXTENSION)|_SEPARATOR)|M_STR|OSITIVE_SIGN|_(?:CS_PRECEDES|S(?:EP_BY_SPACE|IGN_POSN)))|RADIXCHAR|S(?:EEK_(?:CUR|END|SET)|ORT_(?:ASC|DESC|NUMERIC|REGULAR|STRING)|TR_PAD_(?:BOTH|LEFT|RIGHT))|T(?:HOUS(?:ANDS_SEP|EP)|_FMT(?:_AMPM|))|YES(?:EXPR|STR))\b/,
_style:"color: red;"},global:{_match:/(?:\$GLOBALS|\$_COOKIE|\$_ENV|\$_FILES|\$_GET|\$_POST|\$_REQUEST|\$_SERVER|\$_SESSION|\$php_errormsg)\b/,_style:"color: red;"},keyword:{_match:/\b(?:__CLASS__|__FILE__|__FUNCTION__|__LINE__|__METHOD__|abstract|and|array|as|break|case|catch|cfunction|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exception|exit|extends|extends|final|for|foreach|function|global|if|implements|include|include_once|interface|isset|list|new|old_function|or|php_user_filter|print|private|protected|public|require|require_once|return|static|switch|this|throw|try|unset|use|var|while|xor)\b/,
_style:"color: navy; font-weight: bold;"},variable:{_match:/\$(\w+)/,_replace:'<span class="keyword">$</span><span class="variable">$1</span>',_style:"color: #4040c2;"},heredoc:{_match:/(\<\<\<\s*)(\w+)((?:(?!\2).*\n)+)(\2)\b/,_replace:'<span class="keyword">$1</span><span class="string1">$2</span><span class="string2">$3</span><span class="string1">$4</span>'}}},"html.js":{_name:"html",_case:false,_main:{doctype:{_match:/<!DOCTYPE\b[\w\W]*?>/,_style:"color: #CC6600;"},ie_style:{_match:/(<!--\[[^\]]*\]>)([\w\W]*?)(<!\[[^\]]*\]--\>)/,
_replace:function(r,m,p,t){return"<span class='ie_style'>"+this.x(m)+"</span>"+this.x(p,"//style")+"<span class='ie_style'>"+this.x(t)+"</span>"},_style:"color: DarkSlateGray; font-weight: bold;"},comment:{_match:/<!--[\w\W]*?--\>/,_style:"color: #4040c2;"},script:{_match:/(<script\s+[^>]*>)([\w\W]*?)(<\/script\s*>)/,_replace:function(r,m,p,t){return this.x(m,"//tag_start")+this.x(p,"js")+this.x(t,"//tag_end")}},style:{_match:/(<style\s+[^>]*>)([\w\W]*?)(<\/style\s*>)/,_replace:function(r,m,p,t){return this.x(m,
"//tag_start")+this.x(p,"css")+this.x(t,"//tag_end")}},tag_start:{_match:/(<\w+)((?:[?%]>|[\w\W])*?)(\/>|>)/,_replace:function(r,m,p,t){return"<span class='tag_start'>"+this.x(m)+"</span>"+this.x(p,"/tag_attrs")+"<span class='tag_start'>"+this.x(t)+"</span>"},_style:"color: navy; font-weight: bold;"},tag_end:{_match:/<\/\w+\s*>|\/>/,_style:"color: navy;"},entity:{_match:/&\w+?;/,_style:"color: blue;"}},tag_attrs:{attr:{_match:/(\W*?)([\w-]+)(\s*=\s*)((?:\'[^\']*(?:\\.[^\']*)*\')|(?:\"[^\"]*(?:\\.[^\"]*)*\"))/,
_replace:"$1<span class='attr_name'>$2</span>$3<span class='attr_value'>$4</span>",_style:{attr_name:"color: green;",attr_value:"color: maroon;"}}}},"javascript.js":{_name:"js",_case:true,_main:{ml_comment:{_match:/\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//,_style:"color: gray;"},sl_comment:{_match:/\/\/.*/,_style:"color: green;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},num:{_match:/\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/,
_style:"color: red;"},reg_not:{_match:/(?:\w+\s*)\/[^\/\\\n]*(?:\\.[^\/\\\n]*)*\/[gim]*(?:\s*\w+)/,_replace:function(r){return this.x(r,"//num")}},reg_exp:{_match:/\/[^\/\\\n]*(?:\\.[^\/\\\n]*)*\/[gim]*/,_style:"color: maroon;"},brace:{_match:/[\{\}]/,_style:"color: red; font-weight: bold;"},statement:{_match:/\b(with|while|var|try|throw|switch|return|if|for|finally|else|do|default|continue|const|catch|case|break)\b/,_style:"color: navy; font-weight: bold;"},error:{_match:/\b(URIError|TypeError|SyntaxError|ReferenceError|RangeError|EvalError|Error)\b/,
_style:"color: Coral;"},object:{_match:/\b(String|RegExp|Object|Number|Math|Function|Date|Boolean|Array)\b/,_style:"color: DeepPink;"},property:{_match:/\b(undefined|arguments|NaN|Infinity)\b/,_style:"color: Purple; font-weight: bold;"},"function":{_match:/\b(parseInt|parseFloat|isNaN|isFinite|eval|encodeURIComponent|encodeURI|decodeURIComponent|decodeURI)\b/,_style:"color: olive;"},operator:{_match:/\b(void|typeof|this|new|instanceof|in|function|delete)\b/,_style:"color: RoyalBlue; font-weight: bold;"},
liveconnect:{_match:/\b(sun|netscape|java|Packages|JavaPackage|JavaObject|JavaClass|JavaArray|JSObject|JSException)\b/,_style:"text-decoration: overline;"}}},"css.js":{_name:"css",_case:true,_main:{comment:{_match:/\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//,_style:"color: olive;"},directive:{_match:/@\w+/,_style:"color: fuchsia;"},url:{_match:/\b(url\s*\()([^)]+)(\))/,_replace:"<span class='url'>$1</span>$2<span class='url'>$3</span>",_style:"color: fuchsia;"},block:{_match:/\{([\w\W]*?)\}/,_replace:function(r,
m){return"{"+this.x(m,"/definition")+"}"}},"class":{_match:/\.\w+/,_style:"color: #CC0066; font-weight: bold;"},id:{_match:/#\w+/,_style:"color: IndianRed; font-weight: bold;"},pseudo:{_match:/:\w+/,_style:"color: #CC9900;"},element:{_match:/\w+/,_style:"color: Purple; font-weight: bold;"}},definition:{comment:{_match:/\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//},property:{_match:/\b(?:zoom|z-index|writing-mode|word-wrap|word-spacing|word-break|width|widows|white-space|volume|voice-family|visibility|vertical-align|unicode-bidi|top|text-underline-position|text-transform|text-shadow|text-overflow|text-kashida-space|text-justify|text-indent|text-decoration|text-autospace|text-align-last|text-align|table-layout|stress|speech-rate|speak-punctuation|speak-numeral|speak-header|speak|size|scrollbar-track-color|scrollbar-shadow-color|scrollbar-highlight-color|scrollbar-face-color|scrollbar-dark-shadow-color|scrollbar-base-color|scrollbar-arrow-color|scrollbar-3d-light-color|ruby-position|ruby-overhang|ruby-align|right|richness|quotes|position|play-during|pitch-range|pitch|pause-before|pause-after|pause|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-Y|overflow-X|overflow|outline-width|outline-style|outline-color|outline|orphans|min-width|min-height|max-width|max-height|marks|marker-offset|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|line-break|letter-spacing|left|layout-grid-type|layout-grid-mode|layout-grid-line|layout-grid-char-spacing|layout-grid-char|layout-grid|layout-flow|layer-background-image|layer-background-color|include-source|ime-mode|height|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-family|font|float|filter|empty-cells|elevation|display|direction|cursor|cue-before|cue-after|cue|counter-reset|counter-increment|content|color|clip|clear|caption-side|bottom|border-width|border-top-width|border-top-style|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-left-width|border-left-style|border-left-color|border-left|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-color|border-bottom|border|behavior|background-repeat|background-position-y|background-position-x|background-position|background-image|background-color|background-attachment|background|azimuth|accelerator)\s*:/,
_style:"color: #330066;"},special:{_match:/\b(?:-use-link-source|-set-link-source|-replace|-moz-user-select|-moz-user-modify|-moz-user-input|-moz-user-focus|-moz-outline-width|-moz-outline-style|-moz-outline-color|-moz-outline|-moz-opacity|-moz-border-top-colors|-moz-border-right-colors|-moz-border-radius-topright|-moz-border-radius-topleft|-moz-border-radius-bottomright|-moz-border-radius-bottomleft|-moz-border-radius|-moz-border-left-colors|-moz-border-bottom-colors|-moz-binding)\s*:/,_style:"color: #330066; text-decoration: underline;"},
url:{_match:/\b(url\s*\()([^)]+)(\))/,_replace:"<span class='url'>$1</span>$2<span class='url'>$3</span>"},value:{_match:/\b(?:xx-small|xx-large|x-soft|x-small|x-slow|x-low|x-loud|x-large|x-high|x-fast|wider|wait|w-resize|visible|url|uppercase|upper-roman|upper-latin|upper-alpha|underline|ultra-expanded|ultra-condensed|tv|tty|transparent|top|thin|thick|text-top|text-bottom|table-row-group|table-row|table-header-group|table-footer-group|table-column-group|table-column|table-cell|table-caption|sw-resize|super|sub|status-bar|static|square|spell-out|speech|solid|soft|smaller|small-caption|small-caps|small|slower|slow|silent|show|separate|semi-expanded|semi-condensed|se-resize|scroll|screen|s-resize|run-in|rtl|rightwards|right-side|right|ridge|rgb|repeat-y|repeat-x|repeat|relative|projection|print|pre|portrait|pointer|overline|outside|outset|open-quote|once|oblique|nw-resize|nowrap|normal|none|no-repeat|no-open-quote|no-close-quote|ne-resize|narrower|n-resize|move|mix|middle|message-box|medium|marker|ltr|lowercase|lower-roman|lower-latin|lower-greek|lower-alpha|lower|low|loud|local|list-item|line-through|lighter|level|leftwards|left-side|left|larger|large|landscape|justify|italic|invert|inside|inset|inline-table|inline|icon|higher|high|hide|hidden|help|hebrew|handheld|groove|format|fixed|faster|fast|far-right|far-left|fantasy|extra-expanded|extra-condensed|expanded|embossed|embed|e-resize|double|dotted|disc|digits|default|decimal-leading-zero|decimal|dashed|cursive|crosshair|cross|crop|counters|counter|continuous|condensed|compact|collapse|code|close-quote|circle|center-right|center-left|center|caption|capitalize|braille|bottom|both|bolder|bold|block|blink|bidi-override|below|behind|baseline|avoid|auto|aural|attr|armenian|always|all|absolute|above)\b/,
_style:"color: #3366FF;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},number:{_match:/(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*))(?:%|(?:(?:px|pt|em|)\b))/,_style:"color: red;"},color:{_match:/(?:\#[a-fA-F0-9]{3,6})|\b(?:yellow|white|teal|silver|red|purple|olive|navy|maroon|lime|green|gray|fuchsia|blue|black|aqua|YellowGreen|Yellow|WhiteSmoke|White|Wheat|Violet|Turquoise|Tomato|Thistle|Teal|Tan|SteelBlue|SpringGreen|Snow|SlateGrey|SlateGray|SlateBlue|SkyBlue|Silver|Sienna|SeaShell|SeaGreen|SandyBrown|Salmon|SaddleBrown|RoyalBlue|RosyBrown|Red|Purple|PowderBlue|Plum|Pink|Peru|PeachPuff|PapayaWhip|PaleVioletRed|PaleTurquoise|PaleGreen|PaleGoldenRod|Orchid|OrangeRed|Orange|OliveDrab|Olive|OldLace|Navy|NavajoWhite|Moccasin|MistyRose|MintCream|MidnightBlue|MediumVioletRed|MediumTurquoise|MediumSpringGreen|MediumSlateBlue|MediumSeaGreen|MediumPurple|MediumOrchid|MediumBlue|MediumAquaMarine|Maroon|Magenta|Linen|LimeGreen|Lime|LightYellow|LightSteelBlue|LightSlateGrey|LightSlateGray|LightSkyBlue|LightSeaGreen|LightSalmon|LightPink|LightGrey|LightGreen|LightGray|LightGoldenRodYellow|LightCyan|LightCoral|LightBlue|LemonChiffon|LawnGreen|LavenderBlush|Lavender|Khaki|Ivory|Indigo|IndianRed|HotPink|HoneyDew|Grey|GreenYellow|Green|Gray|GoldenRod|Gold|GhostWhite|Gainsboro|Fuchsia|ForestGreen|FloralWhite|FireBrick|DodgerBlue|DimGrey|DimGray|DeepSkyBlue|DeepPink|Darkorange|DarkViolet|DarkTurquoise|DarkSlateGrey|DarkSlateGray|DarkSlateBlue|DarkSeaGreen|DarkSalmon|DarkRed|DarkOrchid|DarkOliveGreen|DarkMagenta|DarkKhaki|DarkGrey|DarkGreen|DarkGray|DarkGoldenRod|DarkCyan|DarkBlue|Cyan|Crimson|Cornsilk|CornflowerBlue|Coral|Chocolate|Chartreuse|CadetBlue|BurlyWood|Brown|BlueViolet|Blue|BlanchedAlmond|Black|Bisque|Beige|Azure|Aquamarine|Aqua|AntiqueWhite|AliceBlue)\b/,
_style:"color: green;"}}},"java.js":{_name:"java",_case:true,_main:{mlcom:{_match:/\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//,_style:"color: #4040c2;"},com:{_match:/\/\/.*/,_style:"color: green;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},number:{_match:/(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:0x[a-f0-9]+)\b/,_style:"color: red;"},meta:{_match:/(?!\@interface\b)\@[\$\w]+\b/,_style:"color: red;"},keyword:{_match:/\b(?:while|volatile|void|try|true|transient|throws|throw|this|synchronized|switch|super|strictfp|static|short|return|public|protected|private|package|null|new|native|long|interface|int|instanceof|import|implements|if|goto|for|float|finally|final|false|extends|enum|else|double|do|default|continue|const|class|char|catch|case|byte|break|boolean|assert|abstract)\b/,
_style:"color: navy; font-weight: bold;"}}},"perl.js":{_name:"perl",_case:true,_main:{com:{_match:RegExp("#[^!].*$","gm"),_style:"color: green"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},number:{_match:/(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:0x[a-f0-9]+)\b/,_style:"color: red;"},keyword:{_match:/\b(?:bless|caller|continue|dbmclose|dbmopen|die|do|dump|else|elsif|eval|exit|for|foreach|goto|if|import|last|local|my|next|no|our|package|redo|ref|require|return|sub|tie|tied|unless|untie|until|use|wantarray|while)\b/,
_style:"color: navy; font-weight: bold;"},functions:{_match:/\b(?:abs|accept|alarm|atan2|bind|binmode|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|cos|crypt|defined|delete|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|exec|exists|exp|fcntl|fileno|flock|fork|format|formline|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|grep|hex|index|int|ioctl|join|keys|kill|lc|lcfirst|length|link|listen|localtime|lock|log|lstat|map|mkdir|msgctl|msgget|msgrcv|msgsnd|oct|open|opendir|ord|pack|pipe|pop|pos|print|printf|prototype|push|quotemeta|rand|read|readdir|readline|readlink|readpipe|recv|rename|reset|reverse|rewinddir|rindex|rmdir|scalar|seek|seekdir|select|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|substr|symlink|syscall|sysopen|sysread|sysseek|system|syswrite|tell|telldir|time|times|tr|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|utime|values|vec|wait|waitpid|warn|write)\b/,
_style:"color: olive;"},preproc:{_match:RegExp("^\\s*#!.*$","gm"),_style:"color: red;"},variable:{_match:RegExp("(\\$|@|%)\\w+","g"),_style:"color: #4040c2;"}}},"python.js":{_name:"python",_case:true,_main:{com:{_match:RegExp("#[^!].*$","gm"),_style:"color: green"},mlcom:{_match:/(['\"]{3})([^\1])*?\1/gm,_style:"color: #4040c2;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},keyword:{_match:/\+|\-|\*|\/|\%|=|==/gm,_style:"color: navy; font-weight: bold;"},
keywords:{_match:/\b(?:and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|yield|while)\b/,_style:"color: navy; font-weight: bold;"},value:{_match:/\b\d+\.?\w*/g,_style:"color: #090"},funcs:{_match:/\b(?:__import__|abs|all|any|apply|basestring|bin|bool|buffer|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|min|next|object|oct|open|ord|pow|print|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|type|unichr|unicode|vars|xrange|zip)\b/,
_style:"color: #ff1493"},special:{_match:/\b(?:None|True|False|self|cls|class_)\b/,_style:"color: #808080"}}},"actionscript.js":{_name:"actionscript",_case:true,_main:{com:{_match:/\/\/.*/,_style:"color: green;"},mlcom:{_match:/\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//,_style:"color: #4040c2;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},keyword:{_match:/\b(?:-Infinity|...rest|Array|as|AS3|Boolean|break|case|catch|const|continue|Date|decodeURI|decodeURIComponent|default|delete|do|dynamic|each|else|encodeURI|encodeURIComponent|escape|extends|false|final|finally|flash_proxy|for|get|if|implements|import|in|include|Infinity|instanceof|int|internal|is|isFinite|isNaN|isXMLName|label|namespace|NaN|native|new|null|Null|Number|Object|object_proxy|override|parseFloat|parseInt|private|protected|public|return|set|static|String|super|switch|this|throw|true|try|typeof|uint|undefined|unescape|use|void|while|with)\b/,
_style:"color:navy; font-weight: bold;"},variable:{_match:RegExp("var","gm"),_style:"color: #4040c2"},inits:{_match:/\b(?:class|interface|function|package)\b/,_style:"color: red"},number:{_match:/\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi,_style:"color:red"},trace:{_match:RegExp("trace","gm"),_style:"color: #808080"}}},"ruby.js":{_name:"ruby",_case:true,_main:{string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},com:{_match:RegExp("#[^!].*$",
"gm"),_style:"color: green"},builtins:{_match:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File::Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct::TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,_style:"color: #ff1493"},keyword:{_match:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/,
_style:"color: navy; font-weight: bold;"},constants:{_match:/\b[A-Z0-9_]+\b/g,_style:"color: #0066CC"},symbols:{_match:/:[a-z][A-Za-z0-9_]*/g,_style:"color: #ff1493"},variable:{_match:/(\$|@@|@)\w+/g,_style:"color: #a70; font-weight: bold;"}}},"bash.js":{_name:"bash",_case:true,_main:{com:{_match:RegExp("#[^!].*$","gm"),_style:"color: green"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},keyword:{_match:/\b(?:if|fi|then|elif|else|for|do|done|until|while|break|continue|case|function|return|in|eq|ne|gt|lt|ge|le)\b/,
_style:"color: navy; font-weight: bold;"},functions:{_match:/\b(?:alias|apropos|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|declare|df|diff|diff3|dig|dir|dircolors|dirname|dirs|du|echo|egrep|eject|enable|env|ethtool|eval|exec|exit|expand|export|expr|false|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|gawk|getopts|grep|groups|gzip|hash|head|history|hostname|id|ifconfig|import|install|join|kill|less|let|ln|local|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|mount|mtools|mv|netstat|nice|nl|nohup|nslookup|open|op|passwd|paste|pathchk|ping|popd|pr|printcap|printenv|printf|ps|pushd|pwd|quota|quotacheck|quotactl|ram|rcp|read|readonly|renice|remsync|rm|rmdir|rsync|screen|scp|sdiff|sed|select|seq|set|sftp|shift|shopt|shutdown|sleep|sort|source|split|ssh|strace|su|sudo|sum|symlink|sync|tail|tar|tee|test|time|times|touch|top|traceroute|trap|tr|true|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unset|unshar|useradd|usermod|users|uuencode|uudecode|v|vdir|vi|watch|wc|whereis|which|who|whoami|Wget|xargs|yes)\b/,
_style:"color: #ff1493"}}},"javafx.js":{_name:"javafx",_case:true,_main:{mlcom:{_match:/\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//,_style:"color: #4040c2;"},com:{_match:/\/\/.*/,_style:"color: green;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},numbers:{_match:/(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi,_style:"color: red"},datatype:{_match:/\b(?:Boolean|Byte|Character|Double|Duration|Float|Integer|Long|Number|Short|String|Void)\b/,
_style:"color: blue;"},keyword:{_match:/\b(?:abstract|after|and|as|assert|at|before|bind|bound|break|catch|class|continue|def|delete|else|exclusive|extends|false|finally|first|for|from|function|if|import|in|indexof|init|insert|instanceof|into|inverse|last|lazy|mixin|mod|nativearray|new|not|null|on|or|override|package|postinit|protected|public|public-init|public-read|replace|return|reverse|sizeof|step|super|then|this|throw|true|try|tween|typeof|var|where|while|with|attribute|let|private|readonly|static|trigger)\b/,
_style:"color: navy; font-weight: bold;"}}},"cpp.js":{_name:"cpp",_case:true,_main:{mlcom:{_match:/\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//,_style:"color: #4040c2;"},com:{_match:/\/\/.*/,_style:"color: green;"},preproc:{_match:/(?=^|\n)\s*#\w+/,_style:"color: red;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},number:{_match:/\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/,_style:"color: red;"},datatype:{_match:/\b(?:wint_t|wctype_t|wctrans_t|wchar_t|va_list|uintptr_t|tm|time_t|terminate_function|size_t|signed|sig_atomic_t|short|ptrdiff_t|mbstate_t|long|ldiv_t|lconv|jmp_buf|intptr_t|int|fpos_t|float|double|div_t|clock_t|char|bool|_wfinddatai64_t|_wfinddata_t|_utimbuf|_timeb|_stati64|_stat|_purecall_handler|_onexit_t|_off_t|_finddatai64_t|_finddata_t|_exception|_diskfree_t|_dev_t|_complex|__wfinddata64_t|__wchar_t|__timeb64|__time64_t|__stat64|__int8|__int64|__int32|__int16|__finddata64_t|_PNH|_HFILE|_HEAPINFO|_FPIEEE_RECORD|_EXCEPTION_POINTERS|WPARAM|WORD|WCHAR|VOID|USN|USHORT|ULONG_PTR|ULONGLONG|ULONG64|ULONG32|ULONG|UINT_PTR|UINT64|UINT32|UINT|UHALF_PTR|UCHAR|TCHAR|TBYTE|SSIZE_T|SIZE_T|SHORT|SERVICE_STATUS_HANDLE|SC_LOCK|SC_HANDLE|PWSTR|PWORD|PWCHAR|PVOID|PUSHORT|PULONG_PTR|PULONGLONG|PULONG64|PULONG32|PULONG|PUINT_PTR|PUINT64|PUINT32|PUINT|PUHALF_PTR|PUCHAR|PTSTR|PTCHAR|PTBYTE|PSTR|PSSIZE_T|PSIZE_T|PSHORT|POINTER_64|POINTER_32|PLONG_PTR|PLONGLONG|PLONG64|PLONG32|PLONG|PLCID|PINT_PTR|PINT64|PINT32|PINT|PHKEY|PHANDLE|PHALF_PTR|PFLOAT|PDWORD_PTR|PDWORDLONG|PDWORD64|PDWORD32|PCWSTR|PCTSTR|PCSTR|PCHAR|PBYTE|PBOOLEAN|PBOOL|LRESULT|LPWSTR|LPWORD|LPVOID|LPTSTR|LPSTR|LPLONG|LPINT|LPHANDLE|LPDWORD|LPCWSTR|LPCVOID|LPCTSTR|LPCSTR|LPCOLORREF|LPBYTE|LPBOOL|LPARAM|LONG_PTR|LONGLONG|LONG64|LONG32|LONG|LGRPID|LCTYPE|LCID|LANGID|INT_PTR|INT64|INT32|INT|HWND|HWINSTA|HSZ|HRSRC|HRGN|HRESULT|HPEN|HPALETTE|HMONITOR|HMODULE|HMETAFILE|HMENU|HLOCAL|HKL|HKEY|HINSTANCE|HICON|HHOOK|HGLOBAL|HGDIOBJ|HFONT|HFILE|HENHMETAFILE|HDWP|HDROP|HDESK|HDDEDATA|HDC|HCURSOR|HCONVLIST|HCONV|HCOLORSPACE|HBRUSH|HBITMAP|HANDLE|HALF_PTR|HACCEL|FLOAT|FILE|DWORD_PTR|DWORDLONG|DWORD64|DWORD32|DWORD|COLORREF|CHAR|BYTE|BOOLEAN|BOOL|ATOM)\b/,
_style:"color: blue;"},keyword:{_match:/\b(?:while|whcar_t|volatile|void|virtual|uuid|using|union|typename|typeid|typedef|try|true|throw|thread|this|template|switch|struct|static_cast|static|sizeof|selectany|return|reinterpret_cast|register|public|protected|private|nothrow|noreturn|noinline|new|namespace|naked|mutable|inline|if|goto|friend|for|false|extern|explicit|enum|else|dynamic_cast|do|dllimport|dllexport|deprecated|delete|default|continue|const_cast|const|class|catch|case|break|__try|__finally|__exception|__declspec)\b/,
_style:"color: navy; font-weight: bold;"}}},"csharp.js":{_name:"cs",_case:true,_main:{mlcom:{_match:/\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\//,_style:"color: #4040c2;"},com:{_match:/\/\/.*/,_style:"color: green;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/,_style:"color: teal;"},preproc:{_match:/^\s*#.*/,_style:"color: red;"},number:{_match:/\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/,_style:"color: red;"},keyword:{_match:/\b(?:while|volatile|void|virtual|using|ushort|unsafe|unchecked|ulong|uint|typeof|try|true|throw|this|switch|struct|string|static|stackalloc|sizeof|short|sealed|sbyte|return|ref|readonly|public|protected|private|params|override|out|operator|object|null|new|namespace|long|lock|is|internal|interface|int|in|implicit|if|goto|foreach|for|float|fixed|finally|false|extern|explicit|event|enum|else|double|do|delegate|default|decimal|continue|const|class|checked|char|catch|case|byte|break|bool|base|as|abstract)\b/,
_style:"color: navy; font-weight: bold;"}}},"delphi.js":{_name:"pas",_case:true,_main:{mlcom:{_match:/(?:\(\*[\w\W]*?\*\))|(?:{(?!\$)[\w\W]*?})/,_style:"color: #4040c2;"},com:{_match:/\/\/.*/,_style:"color: green;"},string:{_match:/(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')/,_style:"color: teal;"},number:{_match:/(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:\$[a-zA-Z0-9]+\b)/,_style:"color: red;"},direct:{_match:/\{\$[a-zA-Z]+ .+\}/,_style:"color: red;"},keyword:{_match:/\b(?:abs|addr|and|ansichar|ansistring|array|as|asm|begin|boolean|byte|cardinal|case|char|class|comp|const|constructor|currency|destructor|div|do|double|downto|else|end|except|exports|extended|false|file|finalization|finally|for|function|goto|if|implementation|in|inherited|initialization|int64|integer|interface|is|label|library|longint|longword|mod|nil|not|object|of|on|or|packed|pansichar|pansistring|pchar|pcurrency|pdatetime|pextended|pint64|pointer|private|procedure|program|property|protected|pshortstring|pstring|public|published|pvariant|pwidechar|pwidestring|raise|real|real48|record|repeat|set|shl|shortint|shortstring|shr|single|smallint|string|then|threadvar|to|true|try|type|unit|until|uses|val|var|varirnt|while|widechar|widestring|with|word|write|writeln|xor)\b/,
_style:"color: navy; font-weight: bold;"}}},"lotusscript.js":{_name:"ls",_case:false,_main:{mlcom:{_match:/((?:^|\n)%REM\b.*)([\w\W]*?)(\n%END\s*REM\b.*)/,_replace:'<span class="directive">$1</span><span class="mlcom">$2</span><span class="directive">$3</span>',_style:"color: #4040c2;"},com:{_match:/(?:\'.*)|(?:\bREM\b.*)/,_style:"color: green;"},mlstr:{_match:/(?:\{[^}]*\})|(?:\|[^|]*\|)/,_style:"color: red;"},str:{_match:/(?:\"[^\"].*?\")|\"\"/,_style:"color: teal;"},keyd:{_match:/\b(?:Ustring|Uchr|Ucase|Trim|Time|Strtoken|Strrightback|Strright|Strleftback|Strleft|String|Str|Space|Rtrim|Rightc|Rightbp|Rightb|Right|Oct|Midc|Midbp|Midb|Mid|Ltrim|Leftc|Leftbp|Leftb|Left|Lcase|Inputbp|Inputbox|Inputb|Input|Implode|Hex|Format|Error|Environ|Dir|Date|Curdrive|Curdir|Command|Chr|Bin)[$](?:\s)/,
_style:"color: fuchsia;"},keyw:{_match:/\b(?:Yield|Year|Xor|Write|With|Width|While|Wend|Weekday|Vartype|Variant|Val|Ustring|Uselsx|Use|Until|Unlock|Unicode|Uni|Uchr|Ucase|Ubound|Typename|Type|True|Trim|Today|To|Timevalue|Timeserial|Timer|Timenumber|Time|Then|Text|Tan|Tab|Sub|Strtoken|Strrightback|Strright|Strleftback|Strleft|String|Strconv|Strcompare|Strcomp|Str|Stop|Step|Static|Sqr|Split|Spc|Space|Sleep|Single|Sin|Shell|Shared|Sgn|Setfileattr|Setattr|Set|Sendkeys|Select|Seek|Second|Rtrim|Rset|Round|Rnd|Rmdir|Rightc|Rightbp|Rightb|Right|Return|Resume|Reset|Replace|Remove|Redim|Read|Randomize|Random|Put|Published|Public|Property|Private|Print|Preserve|Pitch|Pi|Output|Or|Option|Open|On|Oct|Null|Now|Nothing|Not|Nopitch|Nocase|Next|New|Name|Msgbox|Month|Mod|Mkdir|Minute|Midc|Midbp|Midb|Mid|Messagebox|Me|Ltrim|Lsserver|Lsi_info|Lset|Loop|Long|Log|Lof|Lock|Loc|Lmbcs|Listtag|List|Line|Like|Lib|Let|Lenc|Lenbp|Lenb|Len|Leftc|Leftbp|Leftb|Left|Lcase|Lbound|Kill|Join|Isunknown|Isscalar|Isobject|Isnumeric|Isnull|Islist|Isempty|Iselement|Isdate|Isarray|Isa|Is|Integer|Int|Instrc|Instrbp|Instrb|Instr|Inputbp|Inputbox|Inputb|Input|In|Implode|Imp|Imestatus|Imesetmode|If|Hour|Hex|Goto|Gosub|Getthreadinfo|Getfileattr|Getattr|Get|Function|Fulltrim|From|Freefile|Fraction|Format|Forall|For|Fix|Filelen|Filedatetime|Filecopy|Fileattr|False|Explicit|Exp|Exit|Execute|Event|Evaluate|Error|Err|Erl|Erase|Eqv|Eof|Environ|End|Elseif|Else|Double|Doevents|Do|Dir|Dim|Destroylock|Delete|Defvar|Defstr|Defsng|Deflng|Defint|Defdbl|Defcur|Defbyte|Defbool|Declare|Day|Datevalue|Dateserial|Datenumber|Date|Datatype|Cvdate|Cvar|Currency|Curdrive|Curdir|Cstr|Csng|Createlock|Cos|Const|Compare|Command|Codeunlock|Codelockcheck|Codelock|Close|Clng|Class|Cint|Chr|Chdrive|Chdir|Cdbl|Cdat|Ccur|Cbyte|Cbool|Case|Call|Byval|Byte|Boolean|Bind|Binary|Bin|Beep|Base|Atn2|Atn|Asin|Asc|As|Arrayunique|Arrayreplace|Arraygetindex|Arrayappend|Append|Appactivate|Any|And|Alias|Activateapp|Acos|Access|Abs)\b/,
_style:"color: maroon; font-weight: bold;"},directive:{_match:/((?:^|\n)(?:%if|%end|%elseif|%else)\b)|(?:(?:^|\n)%include\b.*)/,_style:"color: #5f5f5f;"},notes:{_match:/\b(?:NotesXSLTransformer|NotesXMLProcessor|NotesViewNavigator|NotesViewEntryCollection|NotesViewEntry|NotesViewColumn|NotesView|NotesTimer|NotesStream|NotesSession|NotesSAXParser|NotesSAXException|NotesSAXAttributeList|NotesRichTextTable|NotesRichTextTab|NotesRichTextStyle|NotesRichTextSection|NotesRichTextRange|NotesRichTextParagraphStyle|NotesRichTextNavigator|NotesRichTextItem|NotesRichTextDocLink|NotesReplicationEntry|NotesReplication|NotesRegistration|NotesOutlineEntry|NotesOutline|NotesNoteCollection|NotesNewsLetter|NotesName|NotesMIMEHeader|NotesMIMEEntity|NotesLog|NotesItem|NotesInternational|NotesForm|NotesEmbeddedObject|NotesDocumentCollection|NotesDocument|NotesDbDirectory|NotesDateTime|NotesDateRange|NotesDatabase|NotesDXLImporter|NotesDXLExporter|NotesDOMXMLDeclNode|NotesDOMTextNode|NotesDOMProcessingInstructionNode|NotesDOMParser|NotesDOMNotationNode|NotesDOMNodeList|NotesDOMNode|NotesDOMNamedNodeMap|NotesDOMEntityReferenceNode|NotesDOMEntityNode|NotesDOMElementNode|NotesDOMDocumentTypeNode|NotesDOMDocumentNode|NotesDOMDocumentFragmentNode|NotesDOMCommentNode|NotesDOMCharacterDataNode|NotesDOMCDATASectionNode|NotesDOMAttributeNode|NotesColorObject|NotesAgent|NotesAdministrationProcess|NotesACLEntry|NotesACL)\b/,
_style:"color: navy;"},notesui:{_match:/\b(?:NotesUIWorkspace|NotesUIView|NotesUIScheduler|NotesUIDocument|NotesUIDatabase|Navigator|Field|Button)\b/,_style:"color: purple;"}}},"sql.js":{_name:"sql",_case:false,_main:{mlcom:{_match:/\/\*[^*]*\*+([^\/][^*]*\*+)*\//,_style:"color: gray;"},com:{_match:/(?:--\s+.*)|(?:[^\\]\#.*)/,_style:"color: green;"},string:{_match:/([\"\'])(?:(?:[^\1\\\r\n]*?(?:\1\1|\\.))*[^\1\\\r\n]*?)\1/,_style:"color: purple;"},quid:{_match:/(`)(?:(?:[^\1\\\r\n]*?(?:\1\1|\\.))*[^\1\\\r\n]*?)\1/,
_style:"color: fuchsia;"},value:{_match:/\b(?:NULL|TRUE|FALSE)\b/,_style:"color: gray; font-weight: bold;"},number:{_match:/\b[+-]?(\d*\.?\d+|\d+\.?\d*)([eE][+-]?\d+)?\b/,_style:"color: red;"},hexnum:{_match:/\b0[xX][\dA-Fa-f]+\b|\b[xX]([\'\"])[\dA-Fa-f]+\1/,_style:"color: red; font-weight: bold;"},variable:{_match:/@([$.\w]+|([`\"\'])(?:(?:[^\2\\\r\n]*?(?:\2\2|\\.))*[^\2\\\r\n]*?)\2)/,_replace:'<span class="keyword">@</span><span class="variable">$1</span>',_style:"color: #4040c2;"},keyword:{_match:/\b(?:A(?:CTION|DD|FTER|G(?:AINST|GREGATE)|L(?:GORITHM|L|TER)|N(?:ALYZE|D|Y)|S(?:C(?:II|)|ENSITIVE|)|UTO_INCREMENT|VG(?:_ROW_LENGTH|))|B(?:ACKUP|DB|E(?:FORE|GIN|RKELEYDB|TWEEN)|I(?:GINT|N(?:ARY|LOG)|T)|LOB|O(?:OL(?:EAN|)|TH)|TREE|Y(?:TE|))|C(?:A(?:CHE|LL|S(?:CADE(?:D|)|E))|H(?:A(?:IN|NGE(?:D|)|R(?:ACTER|SET|))|ECK(?:SUM|))|IPHER|L(?:IENT|OSE)|O(?:DE|L(?:LAT(?:E|ION)|UMN(?:S|))|M(?:M(?:ENT|IT(?:TED|))|P(?:ACT|RESSED))|N(?:CURRENT|DITION|NECTION|S(?:ISTENT|TRAINT)|T(?:AINS|INUE)|VERT))|R(?:EATE|OSS)|U(?:BE|R(?:RENT_(?:DATE|TIME(?:STAMP|)|USER)|SOR)))|D(?:A(?:T(?:A(?:BASE(?:S|)|)|E(?:TIME|))|Y(?:_(?:HOUR|MI(?:CROSECOND|NUTE)|SECOND)|))|E(?:ALLOCATE|C(?:IMAL|LARE|)|F(?:AULT|INER)|L(?:AY(?:ED|_KEY_WRITE)|ETE)|S(?:C(?:RIBE|)|_KEY_FILE)|TERMINISTIC)|I(?:RECTORY|S(?:ABLE|CARD|TINCT(?:ROW|))|V)|O(?:UBLE|)|ROP|U(?:AL|MPFILE|PLICATE)|YNAMIC)|E(?:ACH|LSE(?:IF|)|N(?:ABLE|CLOSED|D|GINE(?:S|)|UM)|RRORS|SCAPE(?:D|)|VENTS|X(?:ECUTE|I(?:STS|T)|P(?:ANSION|LAIN)|TENDED))|F(?:A(?:LSE|ST)|ETCH|I(?:ELDS|LE|RST|XED)|L(?:OAT(?:4|8|)|USH)|O(?:R(?:CE|EIGN|)|UND)|R(?:AC_SECOND|OM)|U(?:LL(?:TEXT|)|NCTION))|G(?:E(?:OMETRY(?:COLLECTION|)|T_FORMAT)|LOBAL|R(?:ANT(?:S|)|OUP))|H(?:A(?:NDLER|SH|VING)|ELP|IGH_PRIORITY|O(?:STS|UR(?:_(?:MI(?:CROSECOND|NUTE)|SECOND)|)))|I(?:DENTIFIED|F|GNORE|MPORT|N(?:DEX(?:ES|)|FILE|N(?:ER|O(?:BASE|DB))|OUT|SE(?:NSITIVE|RT(?:_METHOD|))|T(?:1|2|3|4|8|E(?:GER|RVAL)|O|)|VOKER|)|O_THREAD|S(?:OLATION|SUER|)|TERATE)|JOIN|K(?:EY(?:S|)|ILL)|L(?:A(?:NGUAGE|ST)|E(?:A(?:DING|VE(?:S|))|FT|VEL)|I(?:KE|MIT|NES(?:TRING|))|O(?:AD|C(?:AL(?:TIME(?:STAMP|)|)|K(?:S|))|GS|NG(?:BLOB|TEXT|)|OP|W_PRIORITY))|M(?:A(?:STER(?:_(?:CONNECT_RETRY|HOST|LOG_(?:FILE|POS)|P(?:ASSWORD|ORT)|S(?:ERVER_ID|SL(?:_(?:C(?:A(?:PATH|)|ERT|IPHER)|KEY)|))|USER)|)|TCH|X_(?:CONNECTIONS_PER_HOUR|QUERIES_PER_HOUR|ROWS|U(?:PDATES_PER_HOUR|SER_CONNECTIONS)))|E(?:DIUM(?:BLOB|INT|TEXT|)|RGE)|I(?:CROSECOND|DDLEINT|GRATE|N(?:UTE(?:_(?:MICROSECOND|SECOND)|)|_ROWS))|O(?:D(?:E|IF(?:IES|Y)|)|NTH)|U(?:LTI(?:LINESTRING|PO(?:INT|LYGON))|TEX))|N(?:A(?:ME(?:S|)|T(?:IONAL|URAL))|CHAR|DB(?:CLUSTER|)|E(?:W|XT)|O(?:NE|T|_WRITE_TO_BINLOG|)|U(?:LL|MERIC)|VARCHAR)|O(?:FFSET|LD_PASSWORD|N(?:E(?:_SHOT|)|)|P(?:EN|TI(?:MIZE|ON(?:ALLY|)))|R(?:DER|)|UT(?:ER|FILE|))|P(?:A(?:CK_KEYS|RTIAL|SSWORD)|HASE|O(?:INT|LYGON)|R(?:E(?:CISION|PARE|V)|I(?:MARY|VILEGES)|OCE(?:DURE|SS(?:LIST|)))|URGE)|QU(?:ARTER|ERY|ICK)|R(?:AID(?:0|_(?:CHUNKS(?:IZE|)|TYPE))|E(?:A(?:D(?:S|)|L)|COVER|DUNDANT|FERENCES|GEXP|L(?:AY_(?:LOG_(?:FILE|POS)|THREAD)|EASE|OAD)|NAME|P(?:AIR|EAT(?:ABLE|)|L(?:ACE|ICATION))|QUIRE|S(?:ET|T(?:ORE|RICT)|UME)|TURN(?:S|)|VOKE)|IGHT|LIKE|O(?:LL(?:BACK|UP)|UTINE|W(?:S|_FORMAT|))|TREE)|S(?:AVEPOINT|CHEMA(?:S|)|E(?:C(?:OND(?:_MICROSECOND|)|URITY)|LECT|NSITIVE|PARATOR|RIAL(?:IZABLE|)|SSION|T)|H(?:ARE|OW|UTDOWN)|I(?:GNED|MPLE)|LAVE|MALLINT|NAPSHOT|O(?:ME|NAME|UNDS)|P(?:ATIAL|ECIFIC)|QL(?:EXCEPTION|STATE|WARNING|_(?:B(?:IG_RESULT|UFFER_RESULT)|CA(?:CHE|LC_FOUND_ROWS)|NO_CACHE|SMALL_RESULT|T(?:HREAD|SI_(?:DAY|FRAC_SECOND|HOUR|M(?:INUTE|ONTH)|QUARTER|SECOND|WEEK|YEAR)))|)|SL|T(?:A(?:RT(?:ING|)|TUS)|O(?:P|RAGE)|R(?:AIGHT_JOIN|I(?:NG|PED)))|U(?:BJECT|PER|SPEND))|T(?:ABLE(?:S(?:PACE|)|)|E(?:MP(?:ORARY|TABLE)|RMINATED|XT)|HEN|I(?:ME(?:STAMP(?:ADD|DIFF|)|)|NY(?:BLOB|INT|TEXT))|O|R(?:A(?:ILING|NSACTION)|IGGER(?:S|)|U(?:E|NCATE))|YPE(?:S|))|U(?:N(?:COMMITTED|D(?:EFINED|O)|I(?:CODE|ON|QUE)|KNOWN|LOCK|SIGNED|TIL)|P(?:DATE|GRADE)|S(?:AGE|E(?:R(?:_RESOURCES|)|_FRM|)|ING)|TC_(?:DATE|TIME(?:STAMP|)))|V(?:A(?:LUE(?:S|)|R(?:BINARY|CHAR(?:ACTER|)|IABLES|YING))|IEW)|W(?:ARNINGS|EEK|H(?:E(?:N|RE)|ILE)|ITH|ORK|RITE)|X(?:509|A|OR)|YEAR(?:_MONTH|)|ZEROFILL)\b/,
_style:"color: navy; font-weight: bold;"},"function":{_match:/\b(?:A(?:BS|COS|DD(?:DATE|TIME)|ES_(?:DECRYPT|ENCRYPT)|REA|S(?:BINARY|IN|TEXT|WK(?:B|T))|TAN(?:2|))|B(?:ENCHMARK|I(?:N|T_(?:AND|COUNT|LENGTH|OR|XOR)))|C(?:AST|E(?:IL(?:ING|)|NTROID)|HAR(?:ACTER_LENGTH|_LENGTH)|O(?:ALESCE|ERCIBILITY|MPRESS|N(?:CAT(?:_WS|)|NECTION_ID|V(?:ERT_TZ|))|S|T|UNT)|R(?:C32|OSSES)|UR(?:DATE|TIME))|D(?:A(?:TE(?:DIFF|_(?:ADD|FORMAT|SUB))|Y(?:NAME|OF(?:MONTH|WEEK|YEAR)))|E(?:CODE|GREES|S_(?:DECRYPT|ENCRYPT))|I(?:MENSION|SJOINT))|E(?:LT|N(?:C(?:ODE|RYPT)|DPOINT|VELOPE)|QUALS|X(?:P(?:ORT_SET|)|T(?:ERIORRING|RACT)))|F(?:I(?:ELD|ND_IN_SET)|LOOR|O(?:RMAT|UND_ROWS)|ROM_(?:DAYS|UNIXTIME))|G(?:E(?:OM(?:COLLFROM(?:TEXT|WKB)|ETRY(?:COLLECTIONFROM(?:TEXT|WKB)|FROM(?:TEXT|WKB)|N|TYPE)|FROM(?:TEXT|WKB))|T_LOCK)|LENGTH|R(?:EATEST|OUP_(?:CONCAT|UNIQUE_USERS)))|HEX|I(?:FNULL|N(?:ET_(?:ATON|NTOA)|STR|TER(?:IORRINGN|SECTS))|S(?:CLOSED|EMPTY|NULL|SIMPLE|_(?:FREE_LOCK|USED_LOCK)))|L(?:AST_(?:DAY|INSERT_ID)|CASE|E(?:AST|NGTH)|INE(?:FROM(?:TEXT|WKB)|STRINGFROM(?:TEXT|WKB))|N|O(?:AD_FILE|CATE|G(?:10|2|)|WER)|PAD|TRIM)|M(?:A(?:KE(?:DATE|TIME|_SET)|STER_POS_WAIT|X)|BR(?:CONTAINS|DISJOINT|EQUAL|INTERSECTS|OVERLAPS|TOUCHES|WITHIN)|D5|I(?:D|N)|LINEFROM(?:TEXT|WKB)|ONTHNAME|PO(?:INTFROM(?:TEXT|WKB)|LYFROM(?:TEXT|WKB))|ULTI(?:LINESTRINGFROM(?:TEXT|WKB)|PO(?:INTFROM(?:TEXT|WKB)|LYGONFROM(?:TEXT|WKB))))|N(?:AME_CONST|OW|U(?:LLIF|M(?:GEOMETRIES|INTERIORRINGS|POINTS)))|O(?:CT(?:ET_LENGTH|)|RD|VERLAPS)|P(?:ERIOD_(?:ADD|DIFF)|I|O(?:INT(?:FROM(?:TEXT|WKB)|N)|LY(?:FROM(?:TEXT|WKB)|GONFROM(?:TEXT|WKB))|SITION|W(?:ER|)))|QUOTE|R(?:A(?:DIANS|ND)|E(?:LEASE_LOCK|VERSE)|O(?:UND|W_COUNT)|PAD|TRIM)|S(?:E(?:C_TO_TIME|SSION_USER)|HA(?:1|)|I(?:GN|N)|LEEP|OUNDEX|PACE|QRT|RID|T(?:ARTPOINT|D(?:DEV(?:_(?:POP|SAMP)|)|)|R(?:CMP|_TO_DATE))|U(?:B(?:DATE|STR(?:ING(?:_INDEX|)|)|TIME)|M)|YS(?:DATE|TEM_USER))|T(?:AN|IME(?:DIFF|_(?:FORMAT|TO_SEC))|O(?:UCHES|_DAYS)|RIM)|U(?:CASE|N(?:COMPRESS(?:ED_LENGTH|)|HEX|I(?:QUE_USERS|X_TIMESTAMP))|PPER|UID)|V(?:AR(?:IANCE|_(?:POP|SAMP))|ERSION)|W(?:EEK(?:DAY|OFYEAR)|ITHIN)|X|Y(?:EARWEEK|))(?=\()/,
_style:"color: #e17100;"},id:{_match:/[$\w]+/,_style:"color: maroon;"}}}},queue:{},unique:function(){return(new Date).valueOf()}};o.fn.chili=function(r){function m(e,q,b){function s(a,j,k){var n=a[j][k],g=typeof n._match=="string"?n._match:n._match.source;return{recipe:a,blockName:j,stepName:k,exp:"("+g+")",length:1+(g.replace(/\\./g,"%").replace(/\[.*?\]/g,"%").match(/\((?!\?)/g)||[]).length,replacement:n._replace?n._replace:c.defaultReplacement}}function f(a){for(var j=1,k=[],n=0;n<a.length;n++){var g=
a[n].exp;g=g.replace(/\\\\|\\(\d+)/g,function(i,l){return!l?i:"\\"+(j+1+parseInt(l,10))});k.push(g);j+=a[n].length}a="(?:"+k.join("|")+")";a="((?:\\s|\\S)*?)"+a+"|((?:\\s|\\S)+)";return RegExp(a,q._case?"g":"gi")}function h(a){return a.replace(/ +/g,function(j){return j.replace(/ /g,x)})}function d(a){a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;");if(x)a=h(a);return a}function y(a,j,k,n){var g=[s(j,k,n)];return a.replace(f(g),function(){return z.apply({steps:g},arguments)})}function w(a,j,k){function n(v){v=
c.recipes[c.recipeFolder+v+".js"];if(!v)throw{msg:"recipe not available"};return v}if(!j)return d(a);var g=j.split("/"),i="",l="",A="";switch(g.length){case 1:i=g[0];break;case 2:i=g[0];l=g[1];break;case 3:i=g[0];l=g[1];A=g[2];break;default:return d(a)}try{var u;if(""==A)if(""==l){if(""!=i){u=n(i);return m(a,u)}}else{u=""==i?k.recipe:n(i);if(!(l in u))return d(a);return m(a,u,l)}else{u=""==i?k.recipe:n(i);if(""==l)l=k.blockName;if(!(l in u))return d(a);if(!(A in u[l]))return d(a);return y(a,u,l,A)}}catch(C){if(C.msg&&
C.msg=="recipe not available"){g="chili_"+c.unique();if(c.recipeLoading){var B=c.recipeFolder+i+".js";if(c.queue[B])c.queue[B].push({cue:g,subject:a,module:j,context:k});else try{c.queue[B]=[{cue:g,subject:a,module:j,context:k}];o.getJSON(B,function(v){c.recipes[B]=v;v=c.queue[B];for(var D=0,I=v.length;D<I;D++){var E=w(v[D].subject,v[D].module,v[D].context);if(c.replaceTab)E=E.replace(/\t/g,c.replaceTab);if(c.replaceNewLine)E=E.replace(/\n/g,c.replaceNewLine);o("#"+v[D].cue).replaceWith(E)}})}catch(J){alert("the recipe for '"+
i+"' was not found in '"+B+"'")}return'<span id="'+g+'">'+d(a)+"</span>"}}return d(a)}}function z(){if(!arguments[0])return"";var a=this.steps,j=0,k=2,n=arguments[1],g=arguments[arguments.length-3];if(g)return d(g);else for(var i;i=a[j++];){var l=arguments;if(l[k]){a="";if(o.isFunction(i.replacement)){a=[];j=0;for(g=i.length;j<g;j++)a.push(l[k+j]);a.push(l[l.length-2]);a.push(l[l.length-1]);a=i.replacement.apply({x:function(A,u){return w(A,u,{recipe:i.recipe,blockName:i.blockName})}},a)}else a=i.replacement.replace(/(\\\$)|(?:\$\$)|(?:\$(\d+))/g,
function(A,u,C){return u?"$":C?C=="0"?i.stepName:d(l[k+parseInt(C,10)]):d(l[k])});a=a.replace(/(<span\s+class\s*=\s*(["']))((?:(?!__)\w)+\2\s*>)/ig,"$1"+i.recipe._name+"__$3");return d(n)+a}else k+=i.length}}if(!b){b="_main";p(q)}if(!(b in q))return d(e);var x=c.replaceSpace,H=function(a,j){var k=[],n;for(n in a[j])k.push(s(a,j,n));return k}(q,b);b=f(H);return e.replace(b,function(){return z.apply({steps:H},arguments)})}function p(e){var q=e._name;if(!c.queue[q]){var b=["/* Chili -- "+q+" */"],s;
for(s in e)if(s.search(/^_(?!main\b)/)<0)for(var f in e[s]){var h=e[s][f];if("_style"in h)if(h._style.constructor==String)b.push("."+q+"__"+f+" { "+h._style+" }");else for(var d in h._style)b.push("."+q+"__"+d+" { "+h._style[d]+" }")}b=b=b.join("\n");if(document.createElement){e=document.createElement("style");e.type="text/css";if(e.styleSheet)e.styleSheet.cssText=b;else{b=document.createTextNode(b);e.appendChild(b)}document.getElementsByTagName("head")[0].appendChild(e)}c.queue[q]=true}}function t(e){var q=
c.codeLanguage(e);if(""!=q){var b=c.recipeFolder+q+".js";if(c.recipeLoading)if(c.queue[b])c.queue[b].push(e);else try{c.queue[b]=[e];o.getJSON(b,function(f){c.recipes[b]=f;f=c.queue[b];for(var h=0,d=f.length;h<d;h++)F(f[h],b)})}catch(s){alert("the recipe for '"+q+"' was not found in '"+b+"'")}F(e,b)}}function F(e,q){var b=c.recipes[q];if(b){var s=o(e),f=s.text();if(f){f=f.replace(/\r\n?/g,"\n");if(s.parent().is("pre"))f=f.replace(/^\n/g,"");b=m(f,b);if(c.replaceTab&&o.browser.msie)b=b.replace(/\t/g,
c.replaceTab);if(c.replaceNewLine&&o.browser.msie)b=b.replace(/\n/g,c.replaceNewLine);e.innerHTML=b;b=s.parent();if(f=/ln-(\d+)-([\w][\w\-]*)|ln-(\d+)|ln-/.exec(b.attr("class"))){G(e);var h=0;if(f[1]){h=parseInt(f[1],10);f=o(".ln-"+f[1]+"-"+f[2]);b=f.index(b[0]);f.slice(0,b).each(function(){h+=o(this).find("li").length})}else h=f[3]?parseInt(f[3],10):1;s.find("ol")[0].start=h;o("body").width(o("body").width()-1).width(o("body").width()+1)}else c.lineNumbers&&G(e)}}}function G(e){function q(h,d,y,
w){var z=w?"</span>":"",x="";if(h)x="<li>"+w+d+z+"</li>";else if(y)x="<li>"+w+y+z+"</li>";return x}var b=o(e).html(),s=/<br>/.test(b)?"<br>":"<BR>",f="<li>"+c.replaceSpace+"</li>";b=b.replace(/(<span [^>]+>)((?:(?:&nbsp;|\xA0)<br>)+)(.*?)(<\/span>)/ig,"$2$1$3$4").replace(/(.*?)(<span .*?>)(.*?)(?:<\/span>(?:&nbsp;|\xA0)<br>|<\/span>)/ig,function(h,d,y,w){if(/<br>/i.test(w)){d=d.split(s);h=d.pop();d=d.join(s);return(d?d+s:"")+(h+w).replace(/((.*?)(?:&nbsp;|\xA0)<br>)|(.*)/ig,function(z,x,H,a){return q(x,
H,a,y)})}else return h}).replace(/(<li>.*?<\/li>)|((.*?)(?:&nbsp;|\xA0)<br>)|(.+)/ig,function(h,d,y,w,z){h="";return h=d?d:q(y,w,z,"")}).replace(/<li><\/li>/ig,f);e.innerHTML="<ol>"+b+"</ol>"}var c=o.extend({},ChiliBook,r||{});this.each(function(){var e=o(this);e.trigger("chili.before_coloring");t(this);e.trigger("chili.after_coloring")});this.parent().addClass("chili");return this};o(function(){ChiliBook.automatic&&o(ChiliBook.automaticSelector).chili()})})(jQuery);
