text: define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,r){"use strict";var i=e("../lib/oop");var o=e("./text_highlight_rules").TextHighlightRules;var n=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},n.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:true}]}};i.inherits(n,o);n.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}};n.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}};n.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}};t.DocCommentHighlightRules=n});define("ace/mode/asl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,t,r){"use strict";var i=e("../lib/oop");var l=e("./doc_comment_highlight_rules").DocCommentHighlightRules;var o=e("./text_highlight_rules").TextHighlightRules;var n=function(){var e="Default|DefinitionBlock|Device|Method|Else|ElseIf|For|Function|If|Include|Method|Return|"+"Scope|Switch|Case|While|Break|BreakPoint|Continue|NoOp|Wait|True|False|"+"AccessAs|Acquire|Alias|BankField|Buffer|Concatenate|ConcatenateResTemplate|"+"CondRefOf|Connection|CopyObject|CreateBitField|CreateByteField|CreateDWordField|"+"CreateField|CreateQWordField|CreateWordField|DataTableRegion|Debug|"+"DMA|DWordIO|DWordMemory|DWordSpace|EisaId|EISAID|EndDependentFn|Event|ExtendedIO|"+"ExtendedMemory|ExtendedSpace|External|Fatal|Field|FindSetLeftBit|FindSetRightBit|"+"FixedDMA|FixedIO|Fprintf|FromBCD|GpioInt|GpioIo|I2CSerialBusV2|IndexField|"+"Interrupt|IO|IRQ|IRQNoFlags|Load|LoadTable|Match|Memory32|Memory32Fixed|"+"Mid|Mutex|Name|Notify|Offset|ObjectType|OperationRegion|Package|PowerResource|Printf|"+"QWordIO|QWordMemory|QWordSpace|RawDataBuffer|Register|Release|Reset|ResourceTemplate|"+"Signal|SizeOf|Sleep|SPISerialBusV2|Stall|StartDependentFn|StartDependentFnNoPri|"+"Store|ThermalZone|Timer|ToBCD|ToBuffer|ToDecimalString|ToInteger|ToPLD|ToString|"+"ToUUID|UARTSerialBusV2|Unicode|Unload|VendorLong|VendorShort|WordBusNumber|WordIO|"+"WordSpace";var t="Add|And|Decrement|Divide|Increment|Index|LAnd|LEqual|LGreater|LGreaterEqual|"+"LLess|LLessEqual|LNot|LNotEqual|LOr|Mod|Multiply|NAnd|NOr|Not|Or|RefOf|Revision|"+"ShiftLeft|ShiftRight|Subtract|XOr|DerefOf";var r="AttribQuick|AttribSendReceive|AttribByte|AttribBytes|AttribRawBytes|"+"AttribRawProcessBytes|AttribWord|AttribBlock|AttribProcessCall|AttribBlockProcessCall|"+"AnyAcc|ByteAcc|WordAcc|DWordAcc|QWordAcc|BufferAcc|"+"AddressRangeMemory|AddressRangeReserved|AddressRangeNVS|AddressRangeACPI|"+"RegionSpaceKeyword|FFixedHW|PCC|"+"AddressingMode7Bit|AddressingMode10Bit|"+"DataBitsFive|DataBitsSix|DataBitsSeven|DataBitsEight|DataBitsNine|"+"BusMaster|NotBusMaster|"+"ClockPhaseFirst|ClockPhaseSecond|ClockPolarityLow|ClockPolarityHigh|"+"SubDecode|PosDecode|"+"BigEndianing|LittleEndian|"+"FlowControlNone|FlowControlXon|FlowControlHardware|"+"Edge|Level|ActiveHigh|ActiveLow|ActiveBoth|Decode16|Decode10|"+"IoRestrictionNone|IoRestrictionInputOnly|IoRestrictionOutputOnly|"+"IoRestrictionNoneAndPreserve|Lock|NoLock|MTR|MEQ|MLE|MLT|MGE|MGT|"+"MaxFixed|MaxNotFixed|Cacheable|WriteCombining|Prefetchable|NonCacheable|"+"MinFixed|MinNotFixed|"+"ParityTypeNone|ParityTypeSpace|ParityTypeMark|ParityTypeOdd|ParityTypeEven|"+"PullDefault|PullUp|PullDown|PullNone|PolarityHigh|PolarityLow|"+"ISAOnlyRanges|NonISAOnlyRanges|EntireRange|ReadWrite|ReadOnly|"+"UserDefRegionSpace|SystemIO|SystemMemory|PCI_Config|EmbeddedControl|"+"SMBus|SystemCMOS|PciBarTarget|IPMI|GeneralPurposeIO|GenericSerialBus|"+"ResourceConsumer|ResourceProducer|Serialized|NotSerialized|"+"Shared|Exclusive|SharedAndWake|ExclusiveAndWake|ControllerInitiated|DeviceInitiated|"+"StopBitsZero|StopBitsOne|StopBitsOnePlusHalf|StopBitsTwo|"+"Width8Bit|Width16Bit|Width32Bit|Width64Bit|Width128Bit|Width256Bit|"+"SparseTranslation|DenseTranslation|TypeTranslation|TypeStatic|"+"Preserve|WriteAsOnes|WriteAsZeros|Transfer8|Transfer16|Transfer8_16|"+"ThreeWireMode|FourWireMode";var i="UnknownObj|IntObj|StrObj|BuffObj|PkgObj|FieldUnitObj|DeviceObj|"+"EventObj|MethodObj|MutexObj|OpRegionObj|PowerResObj|ProcessorObj|"+"ThermalZoneObj|BuffFieldObj|DDBHandleObj";var o="__FILE__|__PATH__|__LINE__|__DATE__|__IASL__";var n="One|Ones|Zero";var a="Memory24|Processor";var s=this.createKeywordMapper({keyword:e,"constant.numeric":n,"keyword.operator":t,"constant.language":o,"storage.type":i,"constant.library":r,"invalid.deprecated":a},"identifier");this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},l.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},l.getStartRule("doc-start"),{token:"comment",regex:"\\[",next:"ignoredfield"},{token:"variable",regex:"\\Local[0-7]|\\Arg[0-6]"},{token:"keyword",regex:"#\\s*(?:define|elif|else|endif|error|if|ifdef|ifndef|include|includebuffer|line|pragma|undef|warning)\\b",next:"directive"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"constant.character",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/0[xX][0-9a-fA-F]+\b/},{token:"constant.numeric",regex:/[0-9]+\b/},{token:s,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:/[!\~\*\/%+-<>\^|=&]/},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],ignoredfield:[{token:"comment",regex:"\\]",next:"start"},{defaultToken:"comment"}],directive:[{token:"constant.other.multiline",regex:/\\/},{token:"constant.other.multiline",regex:/.*\\/},{token:"constant.other",regex:"\\s*<.+?>*s",next:"start"},{token:"constant.other",regex:'\\s*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]*s',next:"start"},{token:"constant.other",regex:"\\s*['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']",next:"start"},{token:"constant.other",regex:/[^\\\/]+/,next:"start"}]};this.embedRules(l,"doc-",[l.getEndRule("start")])};i.inherits(n,o);t.ASLHighlightRules=n});define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,r){"use strict";var i=e("../../lib/oop");var c=e("../../range").Range;var o=e("./fold_mode").FoldMode;var n=t.FoldMode=function(e){if(e){this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start));this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end))}};i.inherits(n,o);(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/;this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/;this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/;this._getFoldWidgetBase=this.getFoldWidget;this.getFoldWidget=function(e,t,r){var i=e.getLine(r);if(this.singleLineBlockCommentRe.test(i)){if(!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return""}var o=this._getFoldWidgetBase(e,t,r);if(!o&&this.startRegionRe.test(i))return"start";return o};this.getFoldWidgetRange=function(e,t,r,i){var o=e.getLine(r);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,r);var n=o.match(this.foldingStartMarker);if(n){var a=n.index;if(n[1])return this.openingBracketBlock(e,n[1],r,a);var s=e.getCommentFoldRange(r,a+n[0].length,1);if(s&&!s.isMultiLine()){if(i){s=this.getSectionRange(e,r)}else if(t!="all")s=null}return s}if(t==="markbegin")return;var n=o.match(this.foldingStopMarker);if(n){var a=n.index+n[0].length;if(n[1])return this.closingBracketBlock(e,n[1],r,a);return e.getCommentFoldRange(r,a,-1)}};this.getSectionRange=function(e,t){var r=e.getLine(t);var i=r.search(/\S/);var o=t;var n=r.length;t=t+1;var a=t;var s=e.getLength();while(++t<s){r=e.getLine(t);var l=r.search(/\S/);if(l===-1)continue;if(i>l)break;var d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=o){break}else if(d.isMultiLine()){t=d.end.row}else if(i==l){break}}a=t}return new c(o,n,a,e.getLine(a).length)};this.getCommentRegionBlock=function(e,t,r){var i=t.search(/\s*$/);var o=e.getLength();var n=r;var a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;var s=1;while(++r<o){t=e.getLine(r);var l=a.exec(t);if(!l)continue;if(l[1])s--;else s++;if(!s)break}var d=r;if(d>n){return new c(n,i,d,t.length)}}}).call(n.prototype)});define("ace/mode/asl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/asl_highlight_rules","ace/mode/folding/cstyle"],function(e,t,r){"use strict";var i=e("../lib/oop");var o=e("./text").Mode;var n=e("./asl_highlight_rules").ASLHighlightRules;var a=e("./folding/cstyle").FoldMode;var s=function(){this.HighlightRules=n;this.foldingRules=new a;this.$behaviour=this.$defaultBehaviour};i.inherits(s,o);(function(){this.$id="ace/mode/asl"}).call(s.prototype);t.Mode=s});(function(){window.require(["ace/mode/asl"],function(e){if(typeof module=="object"&&typeof exports=="object"&&module){module.exports=e}})})();