{"version":3,"sources":["webpack:///webpack/bootstrap 3fcbd117a75c4193c2f7","webpack:///./src/index.js","webpack:///./src/core.js","webpack:///./repos/opts-parser/opts-parser.js","webpack:///./repos/syntaxhighlighter-regex/index.js","webpack:///./repos/syntaxhighlighter-regex/xregexp.js","webpack:///./repos/syntaxhighlighter-match/index.js","webpack:///./repos/syntaxhighlighter-match/lib/match.js","webpack:///./repos/syntaxhighlighter-match/lib/apply-regex-list.js","webpack:///./repos/syntaxhighlighter-match/lib/matches.js","webpack:///./repos/syntaxhighlighter-html-renderer/index.js","webpack:///./src/utils.js","webpack:///./src/transformers/index.js","webpack:///./src/transformers/trim.js","webpack:///./src/transformers/blogger_mode.js","webpack:///./src/transformers/strip_brs.js","webpack:///./repos/unindenter/unindenter.js","webpack:///./repos/retabber/retabber.js","webpack:///./src/dom.js","webpack:///./src/config.js","webpack:///./src/defaults.js","webpack:///./src/html_script.js","webpack:///./~/process/browser.js","webpack:///./repos/brush-base/brush-base.js","webpack:///./repos/brush-applescript/brush.js","webpack:///./repos/brush-as3/brush.js","webpack:///./repos/brush-bash/brush.js","webpack:///./repos/brush-coldfusion/brush.js","webpack:///./repos/brush-cpp/brush.js","webpack:///./repos/brush-csharp/brush.js","webpack:///./repos/brush-css/brush.js","webpack:///./repos/brush-delphi/brush.js","webpack:///./repos/brush-diff/brush.js","webpack:///./repos/brush-erlang/brush.js","webpack:///./repos/brush-groovy/brush.js","webpack:///./repos/brush-haxe/brush.js","webpack:///./repos/brush-java/brush.js","webpack:///./repos/brush-javafx/brush.js","webpack:///./repos/brush-javascript/brush.js","webpack:///./repos/brush-perl/brush.js","webpack:///./repos/brush-php/brush.js","webpack:///./repos/brush-plain/brush.js","webpack:///./repos/brush-powershell/brush.js","webpack:///./repos/brush-python/brush.js","webpack:///./repos/brush-ruby/brush.js","webpack:///./repos/brush-sass/brush.js","webpack:///./repos/brush-scala/brush.js","webpack:///./repos/brush-sql/brush.js","webpack:///./repos/brush-swift/brush.js","webpack:///./repos/brush-tap/brush.js","webpack:///./repos/brush-typescript/brush.js","webpack:///./repos/brush-vb/brush.js","webpack:///./repos/brush-xml/brush.js","webpack:///./~/domready/ready.js","webpack:///./src/dasherize.js"],"names":["dasherize","require","highlight","object","window","syntaxhighlighterConfig","optsParser","match","Renderer","default","utils","transformers","dom","config","defaults","HtmlScript","sh","Match","Highlighter","regexLib","commonRegExp","vars","discoveredBrushes","highlighters","brushes","findElements","globalParams","element","elements","toArray","document","getElementsByTagName","tagName","conf","result","concat","getSyntaxHighlighterScriptTags","length","i","l","item","target","params","parse","className","push","propertyName","brush","renderer","brushName","matches","code","findBrush","useScriptTags","stripCData","title","applyRegexList","regexList","create","innerHTML","getHtml","quickCode","attachEvent","findElement","quickCodeHandler","id","parentNode","replaceChild","alert","str","alias","showAlert","aliases","toLowerCase","strings","noBrush","original","left","right","copy","trim","changed","leftLength","rightLength","indexOf","substring","copyLength","brushCounter","registerBrush","clearRegisteredBrushes","XRegExp","BOOLEANS","camelize","key","replace","word","charAt","toUpperCase","substr","process","value","module","exports","source","hasOwnProperty","arrayRegex","pos","regex","exec","test","m","values","split","name","index","multiLineCComments","singleLineCComments","singleLinePerlComments","doubleQuotedString","singleQuotedString","multiLineDoubleQuotedString","multiLineSingleQuotedString","xmlComments","url","phpScriptTags","aspScriptTags","scriptScriptTags","REGEX_DATA","features","astral","natives","nativ","RegExp","prototype","String","fixed","regexCache","patternCache","tokens","defaultScope","classScope","nativeTokens","replacementToken","correctExecNpcg","call","undefined","hasNativeU","isSupported","exception","hasNativeY","hasFlagsProp","flags","registeredFlags","g","u","y","toString","augment","captureNames","xSource","xFlags","isInternalOnly","p","__proto__","sort","join","clipDuplicates","copyRegex","options","isRegExp","TypeError","xData","getNativeFlags","flagsToAdd","flagsToRemove","xregexpSource","xregexpFlags","removeG","removeY","addG","addY","hasNamedCapture","slice","dec","hex","parseInt","array","len","isType","type","isQuantifierNext","pattern","pad4","prepareFlags","SyntaxError","$0","$1","prepareOptions","forEach","registerFlag","flag","Error","runTokens","scope","context","leadChar","t","matchLength","output","handler","reparse","setAstral","on","setNatives","toObject","token","generated","appliedPattern","appliedFlags","isInstalled","captures","version","addToken","optionalFlags","cache","flush","cacheName","escape","sticky","cacheKey","r2","lastIndex","global","callback","globalize","install","feature","matchChain","chain","recurseChain","level","addMatch","backref","ReferenceError","search","replacement","isRegex","s2","replaceEach","replacements","r","separator","limit","uninstall","union","patterns","parts","numCaptures","numPriorCaptures","rewrite","paren","origLastIndex","apply","arguments","args","$2","n","isNaN","lastLastIndex","lastLength","Array","input","endIndex","css","find","compact","removeNested","regexInfo","defaultAdd","func","resultMatch","sortMatchesCallback","m1","m2","itemI","itemIEndPos","j","itemJ","padNumber","number","getLines","getLinesToHighlight","opts","results","linesToHighlight","_this","lines","wrapLinesWithCode","line","spaces","space","s","processUrls","gt","suffix","figureOutLineNumbers","lineNumbers","firstLine","wrapLine","lineIndex","lineNumber","lineHtml","classes","renderLineNumbers","html","count","pad","padLineNumbers","getCodeLinesHtml","padLength","indent","getTitleHtml","getMatchesHtml","getBrushNameCss","matchBrushName","offset","gutter","collapse","autoLinks","splitLines","block","eachLine","guid","prefix","Math","round","random","merge","obj1","obj2","toBoolean","bloggerMode","stripBrs","unindenter","retabber","unindent","tabSize","smart","regular","br","isEmpty","min","insertSpaces","tab","tags","hasClass","addClass","removeClass","obj","e","event","srcElement","preventDefault","returnValue","addEventListener","reverse","nodes","childNodes","propertyToFind","expectedValue","found","findParentElement","popup","width","height","x","screen","win","open","focus","findElementsToHighlight","scripts","createElement","highlighterDiv","container","textarea","highlighter","innerText","textContent","readOnly","appendChild","createTextNode","select","removeChild","BrushXML","brushClass","scriptBrush","xmlBrush","htmlScript","offsetMatches","info","add","lastIndexOf","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","setTimeout","clearTimeout","runTimeout","fun","runClearTimeout","marker","queue","draining","currentQueue","queueIndex","cleanUpNextTick","drainQueue","timeout","run","nextTick","Item","browser","env","argv","versions","noop","addListener","once","off","removeListener","removeAllListeners","emit","binding","cwd","chdir","dir","umask","regexGroup","eof","end","BrushBase","Brush","keywords","ordinals","specials","getKeywords","inits","forHtmlScript","hereDocProcess","here_doc","full_tag","end_tag","commands","funcs","operators","datatypes","functions","fixComments","getKeywordsCSS","getValuesCSS","fonts","types","constants","methods","verbs","commenthelp","special","builtins","getKeywordsPrependedBy","by","statements","preprocessor","keyops","multiLineCCommentsAdd","matchStart","chunk","stringAdd","swiftTypes","attributes","tag","definition","define","amd","fns","listener","doc","hack","documentElement","doScroll","domContentLoaded","loaded","readyState","removeEventListener","shift","fn","string","_","character","Object","keys"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACrCA;;AAUA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAXA;;;;;;AAEA;;KAAYA,S;;;;;;AAEZ;AACA,KAAI,KAAJ,EAAY;AACVC,WAAQ,0BAAR;AACD;;AAED,yBAAS;AAAA,UAAM,eAAkBC,SAAlB,CAA4BF,UAAUG,MAAV,CAAiBC,OAAOC,uBAAP,IAAkC,EAAnD,CAA5B,CAAN;AAAA,EAAT,E;;;;;;;;;;;ACTA,KACEC,aAAa,mBAAAL,CAAQ,CAAR,CADf;AAAA,KAEEM,QAAQ,mBAAAN,CAAQ,CAAR,CAFV;AAAA,KAGEO,WAAW,mBAAAP,CAAQ,CAAR,EAA2CQ,OAHxD;AAAA,KAIEC,QAAQ,mBAAAT,CAAQ,EAAR,CAJV;AAAA,KAKEU,eAAe,mBAAAV,CAAQ,EAAR,CALjB;AAAA,KAMEW,MAAM,mBAAAX,CAAQ,EAAR,CANR;AAAA,KAOEY,SAAS,mBAAAZ,CAAQ,EAAR,CAP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Modules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 3fcbd117a75c4193c2f7","import domready from 'domready';\nimport SyntaxHighlighter from './core';\nimport * as dasherize from './dasherize';\n\n// configured through the `--compat` parameter.\nif (COMPAT) {\n require('./compatibility_layer_v3');\n}\n\ndomready(() => SyntaxHighlighter.highlight(dasherize.object(window.syntaxhighlighterConfig || {})));\n\nexport * from './core';\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","var\n optsParser = require('opts-parser'),\n match = require('syntaxhighlighter-match'),\n Renderer = require('syntaxhighlighter-html-renderer').default,\n utils = require('./utils'),\n transformers = require('./transformers'),\n dom = require('./dom'),\n config = require('./config'),\n defaults = require('./defaults'),\n HtmlScript = require('./html_script')\n ;\n\nconst sh = {\n Match: match.Match,\n Highlighter: require('brush-base'),\n\n config: require('./config'),\n regexLib: require('syntaxhighlighter-regex').commonRegExp,\n\n /** Internal 'global' variables. */\n vars : {\n discoveredBrushes : null,\n highlighters : {}\n },\n\n /** This object is populated by user included external brush files. */\n brushes : {},\n\n /**\n * Finds all elements on the page which should be processes by SyntaxHighlighter.\n *\n * @param {Object} globalParams Optional parameters which override element's\n * parameters. Only used if element is specified.\n *\n * @param {Object} element Optional element to highlight. If none is\n * provided, all elements in the current document\n * are returned which qualify.\n *\n * @return {Array} Returns list of { target: DOMElement, params: Object } objects.\n */\n findElements: function(globalParams, element)\n {\n var elements = element ? [element] : utils.toArray(document.getElementsByTagName(sh.config.tagName)),\n conf = sh.config,\n result = []\n ;\n\n // support for