if(!window.SyntaxHighlighter){var SyntaxHighlighter=function(){var sh={defaults:{"class-name":"","first-line":1,"pad-line-numbers":true,"highlight":null,"smart-tabs":true,"tab-size":4,"gutter":true,"toolbar":true,"collapse":false,"auto-links":true,"light":false,"wrap-lines":true,"html-script":false},config:{useScriptTags:true,clipboardSwf:null,toolbarItemWidth:16,toolbarItemHeight:16,bloggerMode:false,stripBrs:false,tagName:"pre",strings:{expandSource:"исходный код",viewSource:"исходный код",copyToClipboard:"копировать",copyToClipboardConfirmation:"скопировано",print:"печать",help:"?",alert:"SyntaxHighlighter\n\n",noBrush:"Can't find brush for: ",brushNotHtmlScript:"Brush wasn't configured for html-script option: "},debug:false},vars:{discoveredBrushes:null,spaceWidth:null,printFrame:null,highlighters:{}},brushes:{},regexLib:{multiLineCComments:/\/\*[\s\S]*?\*\//gm,singleLineCComments:/\/\/.*$/gm,singleLinePerlComments:/#.*$/gm,doubleQuotedString:/"([^\\"\n]|\\.)*"/g,singleQuotedString:/'([^\\'\n]|\\.)*'/g,multiLineDoubleQuotedString:/"([^\\"]|\\.)*"/g,multiLineSingleQuotedString:/'([^\\']|\\.)*'/g,xmlComments:/(&lt;|<)!--[\s\S]*?--(&gt;|>)/gm,url:/&lt;\w+:\/\/[\w-.\/?%&=@:;]*&gt;|\w+:\/\/[\w-.\/?%&=@:;]*/g,phpScriptTags:{left:/(&lt;|<)\?=?/g,right:/\?(&gt;|>)/g},aspScriptTags:{left:/(&lt;|<)%=?/g,right:/%(&gt;|>)/g},scriptScriptTags:{left:/(&lt;|<)\s*script.*?(&gt;|>)/gi,right:/(&lt;|<)\/\s*script\s*(&gt;|>)/gi}},toolbar:{create:function(_1){var _2=document.createElement("DIV"),_3=sh.toolbar.items;_2.className="toolbar";for(var _4 in _3){var _5=_3[_4],_6=new _5(_1),_7=_6.create();_1.toolbarCommands[_4]=_6;if(_7==null){continue;}if(typeof (_7)=="string"){_7=sh.toolbar.createButton(_7,_1.id,_4);}_7.className+="item "+_4;_2.appendChild(_7);}return _2;},createButton:function(_8,_9,_a){var a=document.createElement("a"),_b=a.style,_c=sh.config,_d=_c.toolbarItemWidth,_e=_c.toolbarItemHeight;a.href="#"+_a;a.title=_8;a.highlighterId=_9;a.commandName=_a;a.innerHTML=_8;if(isNaN(_d)==false){_b.width=_d+"px";}if(isNaN(_e)==false){_b.height=_e+"px";}a.onclick=function(e){try{sh.toolbar.executeCommand(this,e||window.event,this.highlighterId,this.commandName);}catch(e){sh.utils.alert(e.message);}return false;};return a;},executeCommand:function(_f,_10,_11,_12,_13){var _14=sh.vars.highlighters[_11],_15;if(_14==null||(_15=_14.toolbarCommands[_12])==null){return null;}return _15.execute(_f,_10,_13);},items:{expandSource:function(_16){this.create=function(){if(_16.getParam("collapse")!=true){return;}return sh.config.strings.expandSource;};this.execute=function(_17,_18,_19){var div=_16.div;_17.parentNode.removeChild(_17);div.className=div.className.replace("collapsed","");};},viewSource:function(_1a){this.create=function(){return sh.config.strings.viewSource;};this.execute=function(_1b,_1c,_1d){var _1e=sh.utils.fixInputString(_1a.originalCode).replace(/</g,"&lt;"),wnd=sh.utils.popup("","_blank",750,400,"location=0, resizable=1, menubar=0, scrollbars=1");_1e=sh.utils.unindent(_1e);wnd.document.write("<pre>"+_1e+"</pre>");wnd.document.close();};},copyToClipboard:function(_1f){var _20,_21,_22=_1f.id;this.create=function(){var _23=sh.config;if(_23.clipboardSwf==null){return null;}function _24(_25){var _26="";for(var _27 in _25){_26+="<param name='"+_27+"' value='"+_25[_27]+"'/>";}return _26;};function _28(_29){var _2a="";for(var _2b in _29){_2a+=" "+_2b+"='"+_29[_2b]+"'";}return _2a;};var _2c={width:_23.toolbarItemWidth,height:_23.toolbarItemHeight,id:_22+"_clipboard",type:"application/x-shockwave-flash",title:sh.config.strings.copyToClipboard},_2d={allowScriptAccess:"always",wmode:"transparent",flashVars:"highlighterId="+_22,menu:"false"},swf=_23.clipboardSwf,_2e;if(/msie/i.test(navigator.userAgent)){_2e="<object"+_28({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",codebase:"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"})+_28(_2c)+">"+_24(_2d)+_24({movie:swf})+"</object>";}else{_2e="<embed"+_28(_2c)+_28(_2d)+_28({src:swf})+"/>";}_20=document.createElement("div");_20.innerHTML=_2e;return _20;};this.execute=function(_2f,_30,_31){var _32=_31.command;switch(_32){case "get":var _33=sh.utils.unindent(sh.utils.fixInputString(_1f.originalCode).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"));if(window.clipboardData){window.clipboardData.setData("text",_33);}else{return sh.utils.unindent(_33);}case "ok":sh.utils.alert(sh.config.strings.copyToClipboardConfirmation);break;case "error":sh.utils.alert(_31.message);break;}};},printSource:function(_34){this.create=function(){return sh.config.strings.print;};this.execute=function(_35,_36,_37){var _38=document.createElement("IFRAME"),doc=null;if(sh.vars.printFrame!=null){document.body.removeChild(sh.vars.printFrame);}sh.vars.printFrame=_38;_38.style.cssText="position:absolute;width:0px;height:0px;left:-500px;top:-500px;";document.body.appendChild(_38);doc=_38.contentWindow.document;_39(doc,window.document);doc.write("<div class=\""+_34.div.className.replace("collapsed","")+" printing\">"+_34.div.innerHTML+"</div>");doc.close();_38.contentWindow.focus();_38.contentWindow.print();function _39(_3a,_3b){var _3c=_3b.getElementsByTagName("link");for(var i=0;i<_3c.length;i++){if(_3c[i].rel.toLowerCase()=="stylesheet"&&/shCore\.css$/.test(_3c[i].href)){_3a.write("<link type=\"text/css\" rel=\"stylesheet\" href=\""+_3c[i].href+"\"></link>");}}};};}}},utils:{indexOf:function(_3d,_3e,_3f){_3f=Math.max(_3f||0,0);for(var i=_3f;i<_3d.length;i++){if(_3d[i]==_3e){return i;}}return -1;},guid:function(_40){return _40+Math.round(Math.random()*1000000).toString();},merge:function(_41,_42){var _43={},_44;for(_44 in _41){_43[_44]=_41[_44];}for(_44 in _42){_43[_44]=_42[_44];}return _43;},toBoolean:function(_45){switch(_45){case "true":return true;case "false":return false;}return _45;},popup:function(url,_46,_47,_48,_49){var x=(screen.width-_47)/2,y=(screen.height-_48)/2;_49+=", left="+x+", top="+y+", width="+_47+", height="+_48;_49=_49.replace(/^,/,"");var win=window.open(url,_46,_49);win.focus();return win;},addEvent:function(obj,_4a,_4b){if(obj.attachEvent){obj["e"+_4a+_4b]=_4b;obj[_4a+_4b]=function(){obj["e"+_4a+_4b](window.event);};obj.attachEvent("on"+_4a,obj[_4a+_4b]);}else{obj.addEventListener(_4a,_4b,false);}},alert:function(str){alert(sh.config.strings.alert+str);},findBrush:function(_4c,_4d){var _4e=sh.vars.discoveredBrushes,_4f=null;if(_4e==null){_4e={};for(var _50 in sh.brushes){var _51=sh.brushes[_50].aliases;if(_51==null){continue;}sh.brushes[_50].name=_50.toLowerCase();for(var i=0;i<_51.length;i++){_4e[_51[i]]=_50;}}sh.vars.discoveredBrushes=_4e;}_4f=sh.brushes[_4e[_4c]];if(_4f==null&&_4d!=false){sh.utils.alert(sh.config.strings.noBrush+_4c);}return _4f;},eachLine:function(str,_52){var _53=str.split("\n");for(var i=0;i<_53.length;i++){_53[i]=_52(_53[i]);}return _53.join("\n");},trimFirstAndLastLines:function(str){return str.replace(/^[ ]*[\n]+|[\n]*[ ]*$/g,"");},parseParams:function(str){var _54,_55={},_56=new XRegExp("^\\[(?<values>(.*?))\\]$"),_57=new XRegExp("(?<name>[\\w-]+)"+"\\s*:\\s*"+"(?<value>"+"[\\w-%#]+|"+"\\[.*?\\]|"+"\".*?\"|"+"'.*?'"+")\\s*;?","g");while((_54=_57.exec(str))!=null){var _58=_54.value.replace(/^['"]|['"]$/g,"");if(_58!=null&&_56.test(_58)){var m=_56.exec(_58);_58=m.values.length>0?m.values.split(/\s*,\s*/):[];}_55[_54.name]=_58;}return _55;},decorate:function(str,css){if(str==null||str.length==0||str=="\n"){return str;}str=str.replace(/</g,"&lt;");str=str.replace(/ {2,}/g,function(m){var _59="";for(var i=0;i<m.length-1;i++){_59+="&nbsp;";}return _59+" ";});if(css!=null){str=sh.utils.eachLine(str,function(_5a){if(_5a.length==0){return "";}var _5b="";_5a=_5a.replace(/^(&nbsp;| )+/,function(s){_5b=s;return "";});if(_5a.length==0){return _5b;}return _5b+"<code class=\""+css+"\">"+_5a+"</code>";});}return str;},padNumber:function(_5c,_5d){var _5e=_5c.toString();while(_5e.length<_5d){_5e="0"+_5e;}return _5e;},measureSpace:function(){var _5f=document.createElement("div"),_60,_61=0,_62=document.body,id=sh.utils.guid("measureSpace"),_63="<div class=\"",_64="</div>",_65="</span>";_5f.innerHTML=_63+"syntaxhighlighter\">"+_63+"lines\">"+_63+"line\">"+_63+"content"+"\"><span class=\"block\"><span id=\""+id+"\">&nbsp;"+_65+_65+_64+_64+_64+_64;_62.appendChild(_5f);_60=document.getElementById(id);if(/opera/i.test(navigator.userAgent)){var _66=window.getComputedStyle(_60,null);_61=parseInt(_66.getPropertyValue("width"));}else{_61=_60.offsetWidth;}_62.removeChild(_5f);return _61;},processTabs:function(_67,_68){var tab="";for(var i=0;i<_68;i++){tab+=" ";}return _67.replace(/\t/g,tab);},processSmartTabs:function(_69,_6a){var _6b=_69.split("\n"),tab="\t",_6c="";for(var i=0;i<50;i++){_6c+="                    ";}function _6d(_6e,pos,_6f){return _6e.substr(0,pos)+_6c.substr(0,_6f)+_6e.substr(pos+1,_6e.length);};_69=sh.utils.eachLine(_69,function(_70){if(_70.indexOf(tab)==-1){return _70;}var pos=0;while((pos=_70.indexOf(tab))!=-1){var _71=_6a-pos%_6a;_70=_6d(_70,pos,_71);}return _70;});return _69;},fixInputString:function(str){var br=/<br\s*\/?>|&lt;br\s*\/?&gt;/gi;if(sh.config.bloggerMode==true){str=str.replace(br,"\n");}if(sh.config.stripBrs==true){str=str.replace(br,"");}return str;},trim:function(str){return str.replace(/^\s+|\s+$/g,"");},unindent:function(str){var _72=sh.utils.fixInputString(str).split("\n"),_73=new Array(),_74=/^\s*/,min=1000;for(var i=0;i<_72.length&&min>0;i++){var _75=_72[i];if(sh.utils.trim(_75).length==0){continue;}var _76=_74.exec(_75);if(_76==null){return str;}min=Math.min(_76[0].length,min);}if(min>0){for(var i=0;i<_72.length;i++){_72[i]=_72[i].substr(min);}}return _72.join("\n");},matchesSortCallback:function(m1,m2){if(m1.index<m2.index){return -1;}else{if(m1.index>m2.index){return 1;}else{if(m1.length<m2.length){return -1;}else{if(m1.length>m2.length){return 1;}}}}return 0;},getMatches:function(_77,_78){function _79(_7a,_7b){return [new sh.Match(_7a[0],_7a.index,_7b.css)];};var _7c=0,_7d=null,_7e=[],_7f=_78.func?_78.func:_79;while((_7d=_78.regex.exec(_77))!=null){_7e=_7e.concat(_7f(_7d,_78));}return _7e;},processUrls:function(_80){var lt="&lt;",gt="&gt;";return _80.replace(sh.regexLib.url,function(m){var _81="",_82="";if(m.indexOf(lt)==0){_82=lt;m=m.substring(lt.length);}if(m.indexOf(gt)==m.length-gt.length){m=m.substring(0,m.length-gt.length);_81=gt;}return _82+"<a href=\""+m+"\">"+m+"</a>"+_81;});},getSyntaxHighlighterScriptTags:function(){var _83=document.getElementsByTagName("script"),_84=[];for(var i=0;i<_83.length;i++){if(_83[i].type=="syntaxhighlighter"){_84.push(_83[i]);}}return _84;},stripCData:function(_85){var _86="<![CDATA[",_87="]]>",_88=sh.utils.trim(_85),_89=false;if(_88.indexOf(_86)==0){_88=_88.substring(_86.length);_89=true;}if(_88.indexOf(_87)==_88.length-_87.length){_88=_88.substring(0,_88.length-_87.length);_89=true;}return _89?_88:_85;}},highlight:function(_8a,_8b){function _8c(_8d){var _8e=[];for(var i=0;i<_8d.length;i++){_8e.push(_8d[i]);}return _8e;};var _8f=_8b?[_8b]:_8c(document.getElementsByTagName(sh.config.tagName)),_90="innerHTML",_91=null,_92=sh.config;if(_92.useScriptTags){_8f=_8f.concat(sh.utils.getSyntaxHighlighterScriptTags());}if(_8f.length===0){return;}for(var i=0;i<_8f.length;i++){var _93=_8f[i],_94=sh.utils.parseParams(_93.className),_95,_96,_97;_94=sh.utils.merge(_8a,_94);_95=_94["brush"];if(_95==null){continue;}if(_94["html-script"]=="true"||sh.defaults["html-script"]==true){_91=new sh.HtmlScript(_95);_95="htmlscript";}else{var _98=sh.utils.findBrush(_95);if(_98){_95=_98.name;_91=new _98();}else{continue;}}_96=_93[_90];if(_92.useScriptTags){_96=sh.utils.stripCData(_96);}_94["brush-name"]=_95;_91.highlight(_96,_94);_97=_91.div;if(sh.config.debug){_97=document.createElement("textarea");_97.value=_91.div.innerHTML;_97.style.width="70em";_97.style.height="30em";}_93.parentNode.replaceChild(_97,_93);}},all:function(_99){sh.utils.addEvent(window,"load",function(){sh.highlight(_99);});}};sh.Match=function(_9a,_9b,css){this.value=_9a;this.index=_9b;this.length=_9a.length;this.css=css;this.brushName=null;};sh.Match.prototype.toString=function(){return this.value;};sh.HtmlScript=function(_9c){var _9d=sh.utils.findBrush(_9c),_9e,_9f=new sh.brushes.Xml(),_a0=null;if(_9d==null){return;}_9e=new _9d();this.xmlBrush=_9f;if(_9e.htmlScript==null){sh.utils.alert(sh.config.strings.brushNotHtmlScript+_9c);return;}_9f.regexList.push({regex:_9e.htmlScript.code,func:_a1});function _a2(_a3,_a4){for(var j=0;j<_a3.length;j++){_a3[j].index+=_a4;}};function _a1(_a5,_a6){var _a7=_a5.code,_a8=[],_a9=_9e.regexList,_aa=_a5.index+_a5.left.length,_ab=_9e.htmlScript,_ac;for(var i=0;i<_a9.length;i++){_ac=sh.utils.getMatches(_a7,_a9[i]);_a2(_ac,_aa);_a8=_a8.concat(_ac);}if(_ab.left!=null&&_a5.left!=null){_ac=sh.utils.getMatches(_a5.left,_ab.left);_a2(_ac,_a5.index);_a8=_a8.concat(_ac);}if(_ab.right!=null&&_a5.right!=null){_ac=sh.utils.getMatches(_a5.right,_ab.right);_a2(_ac,_a5.index+_a5[0].lastIndexOf(_a5.right));_a8=_a8.concat(_ac);}for(var j=0;j<_a8.length;j++){_a8[j].brushName=_9d.name;}return _a8;};};sh.HtmlScript.prototype.highlight=function(_ad,_ae){this.xmlBrush.highlight(_ad,_ae);this.div=this.xmlBrush.div;};sh.Highlighter=function(){};sh.Highlighter.prototype={getParam:function(_af,_b0){var _b1=this.params[_af];return sh.utils.toBoolean(_b1==null?_b0:_b1);},create:function(_b2){return document.createElement(_b2);},findMatches:function(_b3,_b4){var _b5=[];if(_b3!=null){for(var i=0;i<_b3.length;i++){if(typeof (_b3[i])=="object"){_b5=_b5.concat(sh.utils.getMatches(_b4,_b3[i]));}}}return _b5.sort(sh.utils.matchesSortCallback);},removeNestedMatches:function(){var _b6=this.matches;for(var i=0;i<_b6.length;i++){if(_b6[i]===null){continue;}var _b7=_b6[i],_b8=_b7.index+_b7.length;for(var j=i+1;j<_b6.length&&_b6[i]!==null;j++){var _b9=_b6[j];if(_b9===null){continue;}else{if(_b9.index>_b8){break;}else{if(_b9.index==_b7.index&&_b9.length>_b7.length){this.matches[i]=null;}else{if(_b9.index>=_b7.index&&_b9.index<_b8){this.matches[j]=null;}}}}}}},createDisplayLines:function(_ba){var _bb=_ba.split(/\n/g),_bc=parseInt(this.getParam("first-line")),_bd=this.getParam("pad-line-numbers"),_be=this.getParam("highlight",[]),_bf=this.getParam("gutter");_ba="";if(_bd==true){_bd=(_bc+_bb.length-1).toString().length;}else{if(isNaN(_bd)==true){_bd=0;}}for(var i=0;i<_bb.length;i++){var _c0=_bb[i],_c1=/^(&nbsp;|\s)+/.exec(_c0),_c2="alt"+(i%2==0?1:2),_c3=sh.utils.padNumber(_bc+i,_bd),_c4=sh.utils.indexOf(_be,(_bc+i).toString())!=-1,_c5=null;if(_c1!=null){_c5=_c1[0].toString();_c0=_c0.substr(_c5.length);}_c0=sh.utils.trim(_c0);if(_c0.length==0){_c0="&nbsp;";}if(_c4){_c2+=" highlighted";}_ba+="<div class=\"line "+_c2+"\">"+"<table>"+"<tr>"+(_bf?"<td class=\"number\"><code>"+_c3+"</code></td>":"")+"<td class=\"content\">"+(_c5!=null?"<code class=\"spaces\">"+_c5.replace(" ","&nbsp;")+"</code>":"")+_c0+"</td>"+"</tr>"+"</table>"+"</div>";}return _ba;},processMatches:function(_c6,_c7){var pos=0,_c8="",_c9=sh.utils.decorate,_ca=this.getParam("brush-name","");function _cb(_cc){var _cd=_cc?(_cc.brushName||_ca):_ca;return _cd?_cd+" ":"";};for(var i=0;i<_c7.length;i++){var _ce=_c7[i],_cf;if(_ce===null||_ce.length===0){continue;}_cf=_cb(_ce);_c8+=_c9(_c6.substr(pos,_ce.index-pos),_cf+"plain")+_c9(_ce.value,_cf+_ce.css);pos=_ce.index+_ce.length;}_c8+=_c9(_c6.substr(pos),_cb()+"plain");return _c8;},highlight:function(_d0,_d1){var _d2=sh.config,_d3=sh.vars,div,_d4,_d5,_d6="important";this.params={};this.div=null;this.lines=null;this.code=null;this.bar=null;this.toolbarCommands={};this.id=sh.utils.guid("highlighter_");_d3.highlighters[this.id]=this;if(_d0===null){_d0="";}this.params=sh.utils.merge(sh.defaults,_d1||{});if(this.getParam("light")==true){this.params.toolbar=this.params.gutter=false;}this.div=div=this.create("DIV");this.lines=this.create("DIV");this.lines.className="lines";className="syntaxhighlighter";div.id=this.id;if(this.getParam("collapse")){className+=" collapsed";}if(this.getParam("gutter")==false){className+=" nogutter";}if(this.getParam("wrap-lines")==false){this.lines.className+=" no-wrap";}className+=" "+this.getParam("class-name");className+=" "+this.getParam("brush-name");div.className=className;this.originalCode=_d0;this.code=sh.utils.trimFirstAndLastLines(_d0).replace(/\r/g," ");_d5=this.getParam("tab-size");this.code=this.getParam("smart-tabs")==true?sh.utils.processSmartTabs(this.code,_d5):sh.utils.processTabs(this.code,_d5);this.code=sh.utils.unindent(this.code);if(this.getParam("toolbar")){this.bar=this.create("DIV");this.bar.className="bar";this.bar.appendChild(sh.toolbar.create(this));div.appendChild(this.bar);var bar=this.bar;function _d7(){bar.className=bar.className.replace("show","");};div.onmouseover=function(){_d7();bar.className+=" show";};div.onmouseout=function(){_d7();};}div.appendChild(this.lines);this.matches=this.findMatches(this.regexList,this.code);this.removeNestedMatches();_d0=this.processMatches(this.code,this.matches);_d0=this.createDisplayLines(sh.utils.trim(_d0));if(this.getParam("auto-links")){_d0=sh.utils.processUrls(_d0);}this.lines.innerHTML=_d0;},getKeywords:function(str){str=str.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"|");return "\\b(?:"+str+")\\b";},forHtmlScript:function(_d8){this.htmlScript={left:{regex:_d8.left,css:"script"},right:{regex:_d8.right,css:"script"},code:new XRegExp("(?<left>"+_d8.left.source+")"+"(?<code>.*?)"+"(?<right>"+_d8.right.source+")","sgi")};}};return sh;}();}if(!window.XRegExp){(function(){var _d9={exec:RegExp.prototype.exec,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},lib={part:/(?:[^\\([#\s.]+|\\(?!k<[\w$]+>|[pP]{[^}]+})[\S\s]?|\((?=\?(?!#|<[\w$]+>)))+|(\()(?:\?(?:(#)[^)]*\)|<([$\w]+)>))?|\\(?:k<([\w$]+)>|[pP]{([^}]+)})|(\[\^?)|([\S\s])/g,replaceVar:/(?:[^$]+|\$(?![1-9$&`']|{[$\w]+}))+|\$(?:([1-9]\d*|[$&`'])|{([$\w]+)})/g,extended:/^(?:\s+|#.*)+/,quantifier:/^(?:[?*+]|{\d+(?:,\d*)?})/,classLeft:/&&\[\^?/g,classRight:/]/g},_da=function(_db,_dc,_dd){for(var i=_dd||0;i<_db.length;i++){if(_db[i]===_dc){return i;}}return -1;},_de=/()??/.exec("")[1]!==undefined,_df={};XRegExp=function(_e0,_e1){if(_e0 instanceof RegExp){if(_e1!==undefined){throw TypeError("can't supply flags when constructing one RegExp from another");}return _e0.addFlags();}var _e1=_e1||"",_e2=_e1.indexOf("s")>-1,_e3=_e1.indexOf("x")>-1,_e4=false,_e5=[],_e6=[],_e7=lib.part,_e8,cc,len,_e9,_ea;_e7.lastIndex=0;while(_e8=_d9.exec.call(_e7,_e0)){if(_e8[2]){if(!lib.quantifier.test(_e0.slice(_e7.lastIndex))){_e6.push("(?:)");}}else{if(_e8[1]){_e5.push(_e8[3]||null);if(_e8[3]){_e4=true;}_e6.push("(");}else{if(_e8[4]){_e9=_da(_e5,_e8[4]);_e6.push(_e9>-1?"\\"+(_e9+1)+(isNaN(_e0.charAt(_e7.lastIndex))?"":"(?:)"):_e8[0]);}else{if(_e8[5]){_e6.push(_df.unicode?_df.unicode.get(_e8[5],_e8[0].charAt(1)==="P"):_e8[0]);}else{if(_e8[6]){if(_e0.charAt(_e7.lastIndex)==="]"){_e6.push(_e8[6]==="["?"(?!)":"[\\S\\s]");_e7.lastIndex++;}else{cc=XRegExp.matchRecursive("&&"+_e0.slice(_e8.index),lib.classLeft,lib.classRight,"",{escapeChar:"\\"})[0];_e6.push(_e8[6]+cc+"]");_e7.lastIndex+=cc.length+1;}}else{if(_e8[7]){if(_e2&&_e8[7]==="."){_e6.push("[\\S\\s]");}else{if(_e3&&lib.extended.test(_e8[7])){len=_d9.exec.call(lib.extended,_e0.slice(_e7.lastIndex-1))[0].length;if(!lib.quantifier.test(_e0.slice(_e7.lastIndex-1+len))){_e6.push("(?:)");}_e7.lastIndex+=len-1;}else{_e6.push(_e8[7]);}}}else{_e6.push(_e8[0]);}}}}}}}_ea=RegExp(_e6.join(""),_d9.replace.call(_e1,/[sx]+/g,""));_ea._x={source:_e0,captureNames:_e4?_e5:null};return _ea;};XRegExp.addPlugin=function(_eb,o){_df[_eb]=o;};RegExp.prototype.exec=function(str){var _ec=_d9.exec.call(this,str),_ed,i,r2;if(_ec){if(_de&&_ec.length>1){r2=new RegExp("^"+this.source+"$(?!\\s)",this.getNativeFlags());_d9.replace.call(_ec[0],r2,function(){for(i=1;i<arguments.length-2;i++){if(arguments[i]===undefined){_ec[i]=undefined;}}});}if(this._x&&this._x.captureNames){for(i=1;i<_ec.length;i++){_ed=this._x.captureNames[i-1];if(_ed){_ec[_ed]=_ec[i];}}}if(this.global&&this.lastIndex>(_ec.index+_ec[0].length)){this.lastIndex--;}}return _ec;};})();}RegExp.prototype.getNativeFlags=function(){return (this.global?"g":"")+(this.ignoreCase?"i":"")+(this.multiline?"m":"")+(this.extended?"x":"")+(this.sticky?"y":"");};RegExp.prototype.addFlags=function(_ee){var _ef=new XRegExp(this.source,(_ee||"")+this.getNativeFlags());if(this._x){_ef._x={source:this._x.source,captureNames:this._x.captureNames?this._x.captureNames.slice(0):null};}return _ef;};RegExp.prototype.call=function(_f0,str){return this.exec(str);};RegExp.prototype.apply=function(_f1,_f2){return this.exec(_f2[0]);};XRegExp.cache=function(_f3,_f4){var key="/"+_f3+"/"+(_f4||"");return XRegExp.cache[key]||(XRegExp.cache[key]=new XRegExp(_f3,_f4));};XRegExp.escape=function(str){return str.replace(/[-[\]{}()*+?.\\^$|,#\s]/g,"\\$&");};XRegExp.matchRecursive=function(str,_f5,_f6,_f7,_f8){var _f8=_f8||{},_f9=_f8.escapeChar,vN=_f8.valueNames,_f7=_f7||"",_fa=_f7.indexOf("g")>-1,_fb=_f7.indexOf("i")>-1,_fc=_f7.indexOf("m")>-1,_fd=_f7.indexOf("y")>-1,_f7=_f7.replace(/y/g,""),_f5=_f5 instanceof RegExp?(_f5.global?_f5:_f5.addFlags("g")):new XRegExp(_f5,"g"+_f7),_f6=_f6 instanceof RegExp?(_f6.global?_f6:_f6.addFlags("g")):new XRegExp(_f6,"g"+_f7),_fe=[],_ff=0,_100=0,_101=0,_102=0,_103,_104,_105,_106,_107,esc;if(_f9){if(_f9.length>1){throw SyntaxError("can't supply more than one escape character");}if(_fc){throw TypeError("can't supply escape character when using the multiline flag");}_107=XRegExp.escape(_f9);esc=new RegExp("^(?:"+_107+"[\\S\\s]|(?:(?!"+_f5.source+"|"+_f6.source+")[^"+_107+"])+)+",_fb?"i":"");}while(true){_f5.lastIndex=_f6.lastIndex=_101+(_f9?(esc.exec(str.slice(_101))||[""])[0].length:0);_105=_f5.exec(str);_106=_f6.exec(str);if(_105&&_106){if(_105.index<=_106.index){_106=null;}else{_105=null;}}if(_105||_106){_100=(_105||_106).index;_101=(_105?_f5:_f6).lastIndex;}else{if(!_ff){break;}}if(_fd&&!_ff&&_100>_102){break;}if(_105){if(!_ff++){_103=_100;_104=_101;}}else{if(_106&&_ff){if(!--_ff){if(vN){if(vN[0]&&_103>_102){_fe.push([vN[0],str.slice(_102,_103),_102,_103]);}if(vN[1]){_fe.push([vN[1],str.slice(_103,_104),_103,_104]);}if(vN[2]){_fe.push([vN[2],str.slice(_104,_100),_104,_100]);}if(vN[3]){_fe.push([vN[3],str.slice(_100,_101),_100,_101]);}}else{_fe.push(str.slice(_104,_100));}_102=_101;if(!_fa){break;}}}else{_f5.lastIndex=_f6.lastIndex=0;throw Error("subject data contains unbalanced delimiters");}}if(_100===_101){_101++;}}if(_fa&&!_fd&&vN&&vN[0]&&str.length>_102){_fe.push([vN[0],str.slice(_102),_102,str.length]);}_f5.lastIndex=_f6.lastIndex=0;return _fe;};
