(function(){var p=function(g){function h(a){if(f[a])return f[a].exports;var d=f[a]={i:a,l:!1,exports:{}};g[a].call(d.exports,d,d.exports,h);d.l=!0;return d.exports}var f={};h.m=g;h.c=f;h.d=function(a,d,c){h.o(a,d)||Object.defineProperty(a,d,{enumerable:!0,get:c})};h.r=function(a){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"});Object.defineProperty(a,"__esModule",{value:!0})};h.t=function(a,d){d&1&&(a=h(a));if(d&8||d&4&&"object"===typeof a&&
a&&a.__esModule)return a;var c=Object.create(null);h.r(c);Object.defineProperty(c,"default",{enumerable:!0,value:a});if(d&2&&"string"!=typeof a)for(var b in a)h.d(c,b,function(b){return a[b]}.bind(null,b));return c};h.n=function(a){var d=a&&a.__esModule?function(){return a["default"]}:function(){return a};h.d(d,"a",d);return d};h.o=function(a,d){return Object.prototype.hasOwnProperty.call(a,d)};h.p="";return h(h.s=18)}([,,function(g,h,f){function a(b){this.__parent=b;this.__character_count=0;this.__indent_count=
-1;this.__wrap_point_character_count=this.__wrap_point_index=this.__alignment_count=0;this.__wrap_point_indent_count=-1;this.__wrap_point_alignment_count=0;this.__items=[]}function d(b,e){this.__cache=[""];this.__indent_size=b.indent_size;this.__indent_string=b.indent_char;b.indent_with_tabs||(this.__indent_string=Array(b.indent_size+1).join(b.indent_char));e=e||"";0<b.indent_level&&(e=Array(b.indent_level+1).join(this.__indent_string));this.__base_string=e;this.__base_string_length=e.length}function c(b,
e){this.__indent_cache=new d(b,e);this.raw=!1;this._end_with_newline=b.end_with_newline;this.indent_size=b.indent_size;this.wrap_line_length=b.wrap_line_length;this.indent_empty_lines=b.indent_empty_lines;this.__lines=[];this.current_line=this.previous_line=null;this.next_line=new a(this);this.previous_token_wrapped=this.non_breaking_space=this.space_before_token=!1;this.__add_outputline()}a.prototype.clone_empty=function(){var b=new a(this.__parent);b.set_indent(this.__indent_count,this.__alignment_count);
return b};a.prototype.item=function(b){return 0>b?this.__items[this.__items.length+b]:this.__items[b]};a.prototype.has_match=function(b){for(var e=this.__items.length-1;0<=e;e--)if(this.__items[e].match(b))return!0;return!1};a.prototype.set_indent=function(b,e){this.is_empty()&&(this.__indent_count=b||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))};a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&
(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)};a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();
var b=this.__parent.current_line;b.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count);b.__items=this.__items.slice(this.__wrap_point_index);this.__items=this.__items.slice(0,this.__wrap_point_index);b.__character_count+=this.__character_count-this.__wrap_point_character_count;this.__character_count=this.__wrap_point_character_count;" "===b.__items[0]&&(b.__items.splice(0,1),--b.__character_count);return!0}return!1};a.prototype.is_empty=function(){return 0===this.__items.length};
a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]};a.prototype.push=function(b){this.__items.push(b);var e=b.lastIndexOf("\n");this.__character_count=-1!==e?b.length-e:this.__character_count+b.length};a.prototype.pop=function(){var b=null;this.is_empty()||(b=this.__items.pop(),this.__character_count-=b.length);return b};a.prototype._remove_indent=function(){0<this.__indent_count&&(--this.__indent_count,this.__character_count-=this.__parent.indent_size)};a.prototype._remove_wrap_indent=
function(){0<this.__wrap_point_indent_count&&--this.__wrap_point_indent_count};a.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),--this.__character_count};a.prototype.toString=function(){var b="";this.is_empty()?this.__parent.indent_empty_lines&&(b=this.__parent.get_indent_string(this.__indent_count)):(b=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),b+=this.__items.join(""));return b};d.prototype.get_indent_size=function(b,e){var c=this.__base_string_length;
0>b&&(c=0);c+=b*this.__indent_size;return c+=e||0};d.prototype.get_indent_string=function(b,e){var c=this.__base_string;0>b&&(b=0,c="");e=(e||0)+b*this.__indent_size;this.__ensure_cache(e);return c+=this.__cache[e]};d.prototype.__ensure_cache=function(b){for(;b>=this.__cache.length;)this.__add_column()};d.prototype.__add_column=function(){var b=this.__cache.length,e=0,e="";this.__indent_size&&b>=this.__indent_size&&(e=Math.floor(b/this.__indent_size),b-=e*this.__indent_size,e=Array(e+1).join(this.__indent_string));
b&&(e+=Array(b+1).join(" "));this.__cache.push(e)};c.prototype.__add_outputline=function(){this.previous_line=this.current_line;this.current_line=this.next_line.clone_empty();this.__lines.push(this.current_line)};c.prototype.get_line_number=function(){return this.__lines.length};c.prototype.get_indent_string=function(b,e){return this.__indent_cache.get_indent_string(b,e)};c.prototype.get_indent_size=function(b,e){return this.__indent_cache.get_indent_size(b,e)};c.prototype.is_empty=function(){return!this.previous_line&&
this.current_line.is_empty()};c.prototype.add_new_line=function(b){if(this.is_empty()||!b&&this.just_added_newline())return!1;this.raw||this.__add_outputline();return!0};c.prototype.get_code=function(b){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e));this._end_with_newline&&this.__add_outputline();e=this.__lines.join("\n");"\n"!==b&&(e=e.replace(/[\n]/g,b));return e};c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};
c.prototype.set_indent=function(b,e){b=b||0;e=e||0;this.next_line.set_indent(b,e);if(1<this.__lines.length)return this.current_line.set_indent(b,e),!0;this.current_line.set_indent();return!1};c.prototype.add_raw_token=function(b){for(var e=0;e<b.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1);this.current_line.push(b.whitespace_before);this.current_line.push(b.text);this.previous_token_wrapped=this.non_breaking_space=this.space_before_token=!1};c.prototype.add_token=function(b){this.__add_space_before_token();
this.current_line.push(b);this.non_breaking_space=this.space_before_token=!1;this.previous_token_wrapped=this.current_line._allow_wrap()};c.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))};c.prototype.remove_indent=function(b){for(var e=this.__lines.length;b<e;)this.__lines[b]._remove_indent(),b++;this.current_line._remove_wrap_indent()};c.prototype.trim=function(b){b=void 0===
b?!1:b;for(this.current_line.trim();b&&1<this.__lines.length&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=1<this.__lines.length?this.__lines[this.__lines.length-2]:null};c.prototype.just_added_newline=function(){return this.current_line.is_empty()};c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};c.prototype.ensure_empty_line_above=
function(b,e){for(var c=this.__lines.length-2;0<=c;){var k=this.__lines[c];if(k.is_empty())break;else if(0!==k.item(0).indexOf(b)&&k.item(-1)!==e){this.__lines.splice(c+1,0,new a(this));this.previous_line=this.__lines[this.__lines.length-2];break}c--}};g.exports.Output=c},function(g,h,f){g.exports.Token=function(a,d,c,b){this.type=a;this.text=d;this.comments_before=null;this.newlines=c||0;this.whitespace_before=b||"";this.directives=this.closed=this.opened=this.previous=this.next=this.parent=null}},
,,function(g,h,f){function a(b,e){this.raw_options=d(b,e);this.disabled=this._get_boolean("disabled");this.eol=this._get_characters("eol","auto");this.end_with_newline=this._get_boolean("end_with_newline");this.indent_size=this._get_number("indent_size",4);this.indent_char=this._get_characters("indent_char"," ");this.indent_level=this._get_number("indent_level");this.preserve_newlines=this._get_boolean("preserve_newlines",!0);this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786);
this.preserve_newlines||(this.max_preserve_newlines=0);if(this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char))this.indent_char="\t",1===this.indent_size&&(this.indent_size=4);this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char"));this.indent_empty_lines=this._get_boolean("indent_empty_lines");this.templating=this._get_selection_list("templating","auto none django erb handlebars php".split(" "),["auto"])}function d(b,e){var a={};b=c(b);
for(var k in b)k!==e&&(a[k]=b[k]);if(e&&b[e])for(k in b[e])a[k]=b[e][k];return a}function c(b){var e={},c;for(c in b){var a=c.replace(/-/g,"_");e[a]=b[c]}return e}a.prototype._get_array=function(b,e){var c=this.raw_options[b],a=e||[];"object"===typeof c?null!==c&&"function"===typeof c.concat&&(a=c.concat()):"string"===typeof c&&(a=c.split(/[^a-zA-Z0-9_\/\-]+/));return a};a.prototype._get_boolean=function(b,e){var c=this.raw_options[b];return void 0===c?!!e:!!c};a.prototype._get_characters=function(b,
c){var a=this.raw_options[b],k=c||"";"string"===typeof a&&(k=a.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t"));return k};a.prototype._get_number=function(b,c){var a=this.raw_options[b];c=parseInt(c,10);isNaN(c)&&(c=0);a=parseInt(a,10);isNaN(a)&&(a=c);return a};a.prototype._get_selection=function(b,c,a){a=this._get_selection_list(b,c,a);if(1!==a.length)throw Error("Invalid Option Value: The option '"+b+"' can only be one of the following values:\n"+c+"\nYou passed in: '"+this.raw_options[b]+
"'");return a[0]};a.prototype._get_selection_list=function(b,c,a){if(!c||0===c.length)throw Error("Selection list cannot be empty.");a=a||[c[0]];if(!this._is_valid_selection(a,c))throw Error("Invalid Default Value!");a=this._get_array(b,a);if(!this._is_valid_selection(a,c))throw Error("Invalid Option Value: The option '"+b+"' can contain only the following values:\n"+c+"\nYou passed in: '"+this.raw_options[b]+"'");return a};a.prototype._is_valid_selection=function(b,c){return b.length&&c.length&&
!b.some(function(b){return-1===c.indexOf(b)})};g.exports.Options=a;g.exports.normalizeOpts=c;g.exports.mergeOpts=d},,function(g,h,f){function a(c){this.__input=c||"";this.__input_length=this.__input.length;this.__position=0}var d=RegExp.prototype.hasOwnProperty("sticky");a.prototype.restart=function(){this.__position=0};a.prototype.back=function(){0<this.__position&&--this.__position};a.prototype.hasNext=function(){return this.__position<this.__input_length};a.prototype.next=function(){var c=null;
this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1);return c};a.prototype.peek=function(c){var b=null;c=(c||0)+this.__position;0<=c&&c<this.__input_length&&(b=this.__input.charAt(c));return b};a.prototype.__match=function(c,b){c.lastIndex=b;var a=c.exec(this.__input);!a||d&&c.sticky||a.index!==b&&(a=null);return a};a.prototype.test=function(c,b){b=(b||0)+this.__position;return 0<=b&&b<this.__input_length?!!this.__match(c,b):!1};a.prototype.testChar=function(c,b){var a=this.peek(b);
c.lastIndex=0;return null!==a&&c.test(a)};a.prototype.match=function(c){(c=this.__match(c,this.__position))?this.__position+=c[0].length:c=null;return c};a.prototype.read=function(c,b,a){var d="",k;c&&(k=this.match(c))&&(d+=k[0]);!b||!k&&c||(d+=this.readUntil(b,a));return d};a.prototype.readUntil=function(c,b){var a="",d=this.__position;c.lastIndex=this.__position;(a=c.exec(this.__input))?(d=a.index,b&&(d+=a[0].length)):d=this.__input_length;a=this.__input.substring(this.__position,d);this.__position=
d;return a};a.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)};a.prototype.get_regexp=function(c,b){var a=null,f="g";b&&d&&(f="y");"string"===typeof c&&""!==c?a=new RegExp(c,f):c&&(a=new RegExp(c.source,f));return a};a.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$\x26"))};a.prototype.peekUntilAfter=function(c){var b=this.__position;c=this.readUntilAfter(c);this.__position=b;return c};a.prototype.lookBack=function(c){var b=this.__position-
1;return b>=c.length&&this.__input.substring(b-c.length,b).toLowerCase()===c};g.exports.InputScanner=a},function(g,h,f){var a=f(8).InputScanner,d=f(3).Token,c=f(10).TokenStream,b=f(11).WhitespacePattern,e={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"};h=function(c,e){this._input=new a(c);this._options=e||{};this.__tokens=null;this._patterns={};this._patterns.whitespace=new b(this._input)};h.prototype.tokenize=function(){this._input.restart();this.__tokens=new c;this._reset();for(var b,a=new d(e.START,
""),m=null,l=[],f=new c;a.type!==e.EOF;){for(b=this._get_next_token(a,m);this._is_comment(b);)f.add(b),b=this._get_next_token(a,m);f.isEmpty()||(b.comments_before=f,f=new c);b.parent=m;this._is_opening(b)?(l.push(m),m=b):m&&this._is_closing(b,m)&&(b.opened=m,m.closed=b,m=l.pop(),b.parent=m);b.previous=a;a.next=b;this.__tokens.add(b);a=b}return this.__tokens};h.prototype._is_first_token=function(){return this.__tokens.isEmpty()};h.prototype._reset=function(){};h.prototype._get_next_token=function(b,
c){this._readWhitespace();var a=this._input.read(/.+/g);return a?this._create_token(e.RAW,a):this._create_token(e.EOF,"")};h.prototype._is_comment=function(b){return!1};h.prototype._is_opening=function(b){return!1};h.prototype._is_closing=function(b,c){return!1};h.prototype._create_token=function(b,c){return new d(b,c,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)};h.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};g.exports.Tokenizer=
h;g.exports.TOKEN=e},function(g,h,f){function a(a){this.__tokens=[];this.__tokens_length=this.__tokens.length;this.__position=0;this.__parent_token=a}a.prototype.restart=function(){this.__position=0};a.prototype.isEmpty=function(){return 0===this.__tokens_length};a.prototype.hasNext=function(){return this.__position<this.__tokens_length};a.prototype.next=function(){var a=null;this.hasNext()&&(a=this.__tokens[this.__position],this.__position+=1);return a};a.prototype.peek=function(a){var c=null;a=
(a||0)+this.__position;0<=a&&a<this.__tokens_length&&(c=this.__tokens[a]);return c};a.prototype.add=function(a){this.__parent_token&&(a.parent=this.__parent_token);this.__tokens.push(a);this.__tokens_length+=1};g.exports.TokenStream=a},function(g,h,f){function a(c,b){d.call(this,c,b);b?this._line_regexp=this._input.get_regexp(b._line_regexp):this.__set_whitespace_patterns("","");this.newline_count=0;this.whitespace_before_token=""}var d=f(12).Pattern;a.prototype=new d;a.prototype.__set_whitespace_patterns=
function(c,b){b+="\\n\\r";this._match_pattern=this._input.get_regexp("["+(c+"\\t ")+b+"]+",!0);this._newline_regexp=this._input.get_regexp("\\r\\n|["+b+"]")};a.prototype.read=function(){this.newline_count=0;this.whitespace_before_token="";var c=this._input.read(this._match_pattern);if(" "===c)this.whitespace_before_token=" ";else if(c){var b=this.__split(this._newline_regexp,c);this.newline_count=b.length-1;this.whitespace_before_token=b[this.newline_count]}return c};a.prototype.matching=function(c,
b){var a=this._create();a.__set_whitespace_patterns(c,b);a._update();return a};a.prototype._create=function(){return new a(this._input,this)};a.prototype.__split=function(c,b){for(var a=c.lastIndex=0,d=[],k=c.exec(b);k;)d.push(b.substring(a,k.index)),a=k.index+k[0].length,k=c.exec(b);a<b.length?d.push(b.substring(a,b.length)):d.push("");return d};g.exports.WhitespacePattern=a},function(g,h,f){function a(a,c){this._input=a;this._until_pattern=this._match_pattern=this._starting_pattern=null;this._until_after=
!1;c&&(this._starting_pattern=this._input.get_regexp(c._starting_pattern,!0),this._match_pattern=this._input.get_regexp(c._match_pattern,!0),this._until_pattern=this._input.get_regexp(c._until_pattern),this._until_after=c._until_after)}a.prototype.read=function(){var a=this._input.read(this._starting_pattern);if(!this._starting_pattern||a)a+=this._input.read(this._match_pattern,this._until_pattern,this._until_after);return a};a.prototype.read_match=function(){return this._input.match(this._match_pattern)};
a.prototype.until_after=function(a){var c=this._create();c._until_after=!0;c._until_pattern=this._input.get_regexp(a);c._update();return c};a.prototype.until=function(a){var c=this._create();c._until_after=!1;c._until_pattern=this._input.get_regexp(a);c._update();return c};a.prototype.starting_with=function(a){var c=this._create();c._starting_pattern=this._input.get_regexp(a,!0);c._update();return c};a.prototype.matching=function(a){var c=this._create();c._match_pattern=this._input.get_regexp(a,!0);
c._update();return c};a.prototype._create=function(){return new a(this._input,this)};a.prototype._update=function(){};g.exports.Pattern=a},function(g,h,f){function a(a,c){a="string"===typeof a?a:a.source;c="string"===typeof c?c:c.source;this.__directives_block_pattern=new RegExp(a+/ beautify( \w+[:]\w+)+ /.source+c,"g");this.__directive_pattern=/ (\w+)[:](\w+)/g;this.__directives_end_ignore_pattern=new RegExp(a+/\sbeautify\signore:end\s/.source+c,"g")}a.prototype.get_directives=function(a){if(!a.match(this.__directives_block_pattern))return null;
var c={};this.__directive_pattern.lastIndex=0;for(var b=this.__directive_pattern.exec(a);b;)c[b[1]]=b[2],b=this.__directive_pattern.exec(a);return c};a.prototype.readIgnored=function(a){return a.readUntilAfter(this.__directives_end_ignore_pattern)};g.exports.Directives=a},function(g,h,f){function a(b,a){d.call(this,b,a);this.__template_pattern=null;this._disabled=Object.assign({},c);this._excluded=Object.assign({},c);a&&(this.__template_pattern=this._input.get_regexp(a.__template_pattern),this._excluded=
Object.assign(this._excluded,a._excluded),this._disabled=Object.assign(this._disabled,a._disabled));var f=new d(b);this.__patterns={handlebars_comment:f.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:f.starting_with(/{{{/).until_after(/}}}/),handlebars:f.starting_with(/{{/).until_after(/}}/),php:f.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:f.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:f.starting_with(/{%/).until_after(/%}/),django_value:f.starting_with(/{{/).until_after(/}}/),
django_comment:f.starting_with(/{#/).until_after(/#}/)}}var d=f(12).Pattern,c={django:!1,erb:!1,handlebars:!1,php:!1};a.prototype=new d;a.prototype._create=function(){return new a(this._input,this)};a.prototype._update=function(){this.__set_templated_pattern()};a.prototype.disable=function(b){var a=this._create();a._disabled[b]=!0;a._update();return a};a.prototype.read_options=function(b){var a=this._create(),d;for(d in c)a._disabled[d]=-1===b.templating.indexOf(d);a._update();return a};a.prototype.exclude=
function(a){var c=this._create();c._excluded[a]=!0;c._update();return c};a.prototype.read=function(){for(var a="",a=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern),c=this._read_template();c;)c=this._match_pattern?c+this._input.read(this._match_pattern):c+this._input.readUntil(this.__template_pattern),a+=c,c=this._read_template();this._until_after&&(a+=this._input.readUntilAfter(this._until_pattern));return a};a.prototype.__set_templated_pattern=
function(){var a=[];this._disabled.php||a.push(this.__patterns.php._starting_pattern.source);this._disabled.handlebars||a.push(this.__patterns.handlebars._starting_pattern.source);this._disabled.erb||a.push(this.__patterns.erb._starting_pattern.source);this._disabled.django||(a.push(this.__patterns.django._starting_pattern.source),a.push(this.__patterns.django_value._starting_pattern.source),a.push(this.__patterns.django_comment._starting_pattern.source));this._until_pattern&&a.push(this._until_pattern.source);
this.__template_pattern=this._input.get_regexp("(?:"+a.join("|")+")")};a.prototype._read_template=function(){var a="",c=this._input.peek();"\x3c"===c?(c=this._input.peek(1),this._disabled.php||this._excluded.php||"?"!==c||(a=a||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==c||(a=a||this.__patterns.erb.read())):"{"===c&&(this._disabled.handlebars||this._excluded.handlebars||(a=(a=(a=a||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||
this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(a=a||this.__patterns.django_value.read()),this._excluded.django||(a=(a=a||this.__patterns.django_comment.read())||this.__patterns.django.read())));return a};g.exports.TemplatablePattern=a},,,,function(g,h,f){var a=f(19).Beautifier,d=f(20).Options;g.exports=function(c,b,e,d){return(new a(c,b,e,d)).beautify()};g.exports.defaultOptions=function(){return new d}},function(g,h,f){function a(a,c,
b){this.parent=a||null;this.tag=c?c.tag_name:"";this.indent_level=b||0;this.parser_token=c||null}function d(a){this._printer=a;this._current_frame=null}function c(a,c,u,e){this._source_text=a||"";c=c||{};this._js_beautify=u;this._css_beautify=e;this._tag_stack=null;this._options=new b(c,"html");this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,5);this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes;this._is_wrap_attributes_force_aligned=
"force-aligned"===this._options.wrap_attributes;this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes;this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,8);this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}var b=f(20).Options,e=f(2).Output,p=f(21).Tokenizer,k=f(21).TOKEN,m=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,n=function(a,c){this.alignment_size=this.indent_level=0;this.max_preserve_newlines=
a.max_preserve_newlines;this.preserve_newlines=a.preserve_newlines;this._output=new e(a,c)};n.prototype.current_line_has_match=function(a){return this._output.current_line.has_match(a)};n.prototype.set_space_before_token=function(a,c){this._output.space_before_token=a;this._output.non_breaking_space=c};n.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size);this._output.set_wrap_point()};n.prototype.add_raw_token=function(a){this._output.add_raw_token(a)};
n.prototype.print_preserved_newlines=function(a){var c=0;a.type!==k.TEXT&&a.previous.type!==k.TEXT&&(c=a.newlines?1:0);this.preserve_newlines&&(c=a.newlines<this.max_preserve_newlines+1?a.newlines:this.max_preserve_newlines+1);for(a=0;a<c;a++)this.print_newline(0<a);return 0!==c};n.prototype.traverse_whitespace=function(a){return a.whitespace_before||a.newlines?(this.print_preserved_newlines(a)||(this._output.space_before_token=!0),!0):!1};n.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};
n.prototype.print_newline=function(a){this._output.add_new_line(a)};n.prototype.print_token=function(a){a.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(a.text))};n.prototype.indent=function(){this.indent_level++};n.prototype.get_full_indent=function(a){a=this.indent_level+(a||0);return 1>a?"":this._output.get_indent_string(a)};d.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};d.prototype.record_tag=
function(c){this._current_frame=new a(this._current_frame,c,this._printer.indent_level)};d.prototype._try_pop_frame=function(a){var c=null;a&&(c=a.parser_token,this._printer.indent_level=a.indent_level,this._current_frame=a.parent);return c};d.prototype._get_frame=function(a,c){for(var b=this._current_frame;b&&-1===a.indexOf(b.tag);){if(c&&-1!==c.indexOf(b.tag)){b=null;break}b=b.parent}return b};d.prototype.try_pop=function(a,c){var b=this._get_frame([a],c);return this._try_pop_frame(b)};d.prototype.indent_to_tag=
function(a){if(a=this._get_frame(a))this._printer.indent_level=a.indent_level};c.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var a=this._source_text,c=this._options.eol;"auto"===this._options.eol&&(c="\n",a&&m.test(a)&&(c=a.match(m)[0]));var a=a.replace(l,"\n"),b=a.match(/^[\t ]*/)[0],e={text:"",type:""},f=new t,b=new n(this._options,b),a=(new p(a,this._options)).tokenize();this._tag_stack=new d(b);for(var h=null,g=a.next();g.type!==k.EOF;)g.type===k.TAG_OPEN||
g.type===k.COMMENT?f=h=this._handle_tag_open(b,g,f,e):g.type===k.ATTRIBUTE||g.type===k.EQUALS||g.type===k.VALUE||g.type===k.TEXT&&!f.tag_complete?h=this._handle_inside_tag(b,g,f,a):g.type===k.TAG_CLOSE?h=this._handle_tag_close(b,g,f):g.type===k.TEXT?h=this._handle_text(b,g,f):b.add_raw_token(g),e=h,g=a.next();return b._output.get_code(c)};c.prototype._handle_tag_close=function(a,c,b){var e={text:c.text,type:c.type};a.alignment_size=0;b.tag_complete=!0;a.set_space_before_token(c.newlines||""!==c.whitespace_before,
!0);b.is_unformatted?a.add_raw_token(c):("\x3c"===b.tag_start_char&&(a.set_space_before_token("/"===c.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&b.has_wrapped_attrs&&a.print_newline(!1)),a.print_token(c));!b.indent_content||b.is_unformatted||b.is_content_unformatted||(a.indent(),b.indent_content=!1);b.is_inline_element||b.is_unformatted||b.is_content_unformatted||a.set_wrap_point();return e};c.prototype._handle_inside_tag=function(a,c,b,e){var d=b.has_wrapped_attrs,f={text:c.text,
type:c.type};a.set_space_before_token(c.newlines||""!==c.whitespace_before,!0);if(b.is_unformatted)a.add_raw_token(c);else if("{"===b.tag_start_char&&c.type===k.TEXT)a.print_preserved_newlines(c)?(c.newlines=0,a.add_raw_token(c)):a.print_token(c);else{c.type===k.ATTRIBUTE?(a.set_space_before_token(!0),b.attr_count+=1):c.type===k.EQUALS?a.set_space_before_token(!1):c.type===k.VALUE&&c.previous.type===k.EQUALS&&a.set_space_before_token(!1);if(c.type===k.ATTRIBUTE&&"\x3c"===b.tag_start_char){if(this._is_wrap_attributes_preserve||
this._is_wrap_attributes_preserve_aligned)a.traverse_whitespace(c),d=d||0!==c.newlines;if(this._is_wrap_attributes_force){var l=1<b.attr_count;if(this._is_wrap_attributes_force_expand_multiline&&1===b.attr_count){var l=!0,m=0,g;do{g=e.peek(m);if(g.type===k.ATTRIBUTE){l=!1;break}m+=1}while(4>m&&g.type!==k.EOF&&g.type!==k.TAG_CLOSE);l=!l}l&&(a.print_newline(!1),d=!0)}}a.print_token(c);d=d||a.previous_token_wrapped();b.has_wrapped_attrs=d}return f};c.prototype._handle_text=function(a,c,b){var e={text:c.text,
type:"TK_CONTENT"};b.custom_beautifier_name?this._print_custom_beatifier_text(a,c,b):b.is_unformatted||b.is_content_unformatted?a.add_raw_token(c):(a.traverse_whitespace(c),a.print_token(c));return e};c.prototype._print_custom_beatifier_text=function(a,b,e){var k=this;if(""!==b.text){var d=b.text,f,l=1,m="",g="";"javascript"===e.custom_beautifier_name&&"function"===typeof this._js_beautify?f=this._js_beautify:"css"===e.custom_beautifier_name&&"function"===typeof this._css_beautify?f=this._css_beautify:
"html"===e.custom_beautifier_name&&(f=function(a,b){return(new c(a,b,k._js_beautify,k._css_beautify)).beautify()});"keep"===this._options.indent_scripts?l=0:"separate"===this._options.indent_scripts&&(l=-a.indent_level);l=a.get_full_indent(l);d=d.replace(/\n[ \t]*$/,"");if("html"!==e.custom_beautifier_name&&"\x3c"===d[0]&&d.match(/^(\x3c!--|<!\[CDATA\[)/)){e=/^(\x3c!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(--\x3e|]]\x3e)$/.exec(d);if(!e){a.add_raw_token(b);return}m=l+e[1]+"\n";d=e[4];e[5]&&(g=
l+e[5]);d=d.replace(/\n[ \t]*$/,"");if(e[2]||-1!==e[3].indexOf("\n"))if(e=e[3].match(/[ \t]+$/))b.whitespace_before=e[0]}d&&(f?(e=function(){this.eol="\n"},e.prototype=this._options.raw_options,e=new e,d=f(l+d,e)):((f=b.whitespace_before)&&(d=d.replace(new RegExp("\n("+f+")?","g"),"\n")),d=l+d.replace(/\n/g,"\n"+l)));m&&(d=d?m+d+"\n"+g:m+g);a.print_newline(!1);d&&(b.text=d,b.whitespace_before="",b.newlines=0,a.add_raw_token(b),a.print_newline(!0))}};c.prototype._handle_tag_open=function(a,c,b,e){var d=
this._get_tag_open_token(c);!b.is_unformatted&&!b.is_content_unformatted||b.is_empty_element||c.type!==k.TAG_OPEN||0!==c.text.indexOf("\x3c/")?(a.traverse_whitespace(c),this._set_tag_position(a,c,d,b,e),d.is_inline_element||a.set_wrap_point(),a.print_token(c)):(a.add_raw_token(c),d.start_tag_token=this._tag_stack.try_pop(d.tag_name));if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)d.alignment_size=c.text.length+1;d.tag_complete||
d.is_unformatted||(a.alignment_size=d.alignment_size);return d};var t=function(a,c){this.parent=a||null;this.text="";this.type="TK_TAG_OPEN";this.tag_name="";this.multiline_content=this.indent_content=this.is_end_tag=this.is_start_tag=this.is_empty_element=this.is_content_unformatted=this.is_unformatted=this.is_inline_element=!1;this.start_tag_token=this.custom_beautifier_name=null;this.attr_count=0;this.has_wrapped_attrs=!1;this.alignment_size=0;this.tag_complete=!1;this.tag_check=this.tag_start_char=
"";if(c){var b;this.tag_start_char=c.text[0];this.text=c.text;"\x3c"===this.tag_start_char?this.tag_check=(b=c.text.match(/^<([^\s>]*)/))?b[1]:"":(this.tag_check=(b=c.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/))?b[1]:"","{{#\x3e"===c.text&&"\x3e"===this.tag_check&&null!==c.next&&(this.tag_check=c.next.text));this.tag_check=this.tag_check.toLowerCase();c.type===k.COMMENT&&(this.tag_complete=!0);this.tag_name=(this.is_start_tag="/"!==this.tag_check.charAt(0))?this.tag_check:this.tag_check.substr(1);this.is_end_tag=
(this.is_end_tag=!this.is_start_tag||c.closed&&"/\x3e"===c.closed.text)||"{"===this.tag_start_char&&(3>this.text.length||/[^#\^]/.test(this.text.charAt(2)))}else this.tag_complete=!0};c.prototype._get_tag_open_token=function(a){a=new t(this._tag_stack.get_parser_token(),a);a.alignment_size=this._options.wrap_attributes_indent_size;a.is_end_tag=a.is_end_tag||-1!==this._options.void_elements.indexOf(a.tag_check);a.is_empty_element=a.tag_complete||a.is_start_tag&&a.is_end_tag;a.is_unformatted=!a.tag_complete&&
-1!==this._options.unformatted.indexOf(a.tag_check);a.is_content_unformatted=!a.is_empty_element&&-1!==this._options.content_unformatted.indexOf(a.tag_check);a.is_inline_element=-1!==this._options.inline.indexOf(a.tag_name)||"{"===a.tag_start_char;return a};c.prototype._set_tag_position=function(a,c,b,e,d){if(!b.is_empty_element)if(b.is_end_tag)b.start_tag_token=this._tag_stack.try_pop(b.tag_name);else if(this._do_optional_end_element(b)&&(b.is_inline_element||a.print_newline(!1)),this._tag_stack.record_tag(b),
!("script"!==b.tag_name&&"style"!==b.tag_name||b.is_unformatted||b.is_content_unformatted)){var f=b.tag_check,l=null,m=null;if(c.closed){"script"===f?l="text/javascript":"style"===f&&(l="text/css");for(var f=null,g=c.next;g.type!==k.EOF&&c.closed!==g;){if(g.type===k.ATTRIBUTE&&"type"===g.text){g.next&&g.next.type===k.EQUALS&&g.next.next&&g.next.next.type===k.VALUE&&(f=g.next.next.text);break}g=g.next}l=f||l;-1<l.search("text/css")?m="css":-1<l.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)?
m="javascript":-1<l.search(/(text|application|dojo)\/(x-)?(html)/)?m="html":-1<l.search(/test\/null/)&&(m="null");c=m}else c=null;b.custom_beautifier_name=c}-1!==this._options.extra_liners.indexOf(b.tag_check)&&(a.print_newline(!1),a._output.just_added_blankline()||a.print_newline(!0));if(b.is_empty_element)"{"===b.tag_start_char&&"else"===b.tag_check&&(this._tag_stack.indent_to_tag(["if","unless","each"]),b.indent_content=!0,a.current_line_has_match(/{{#if/)||a.print_newline(!1)),"!--"===b.tag_name&&
d.type===k.TAG_CLOSE&&e.is_end_tag&&-1===b.text.indexOf("\n")||(b.is_inline_element||b.is_unformatted||a.print_newline(!1),this._calcluate_parent_multiline(a,b));else if(b.is_end_tag){c=!1;c=(c=b.start_tag_token&&b.start_tag_token.multiline_content)||!b.is_inline_element&&!(e.is_inline_element||e.is_unformatted)&&!(d.type===k.TAG_CLOSE&&b.start_tag_token===e)&&"TK_CONTENT"!==d.type;if(b.is_content_unformatted||b.is_unformatted)c=!1;c&&a.print_newline(!1)}else b.indent_content=!b.custom_beautifier_name,
"\x3c"===b.tag_start_char&&("html"===b.tag_name?b.indent_content=this._options.indent_inner_html:"head"===b.tag_name?b.indent_content=this._options.indent_head_inner_html:"body"===b.tag_name&&(b.indent_content=this._options.indent_body_inner_html)),b.is_inline_element||b.is_unformatted||"TK_CONTENT"===d.type&&!b.is_content_unformatted||a.print_newline(!1),this._calcluate_parent_multiline(a,b)};c.prototype._calcluate_parent_multiline=function(a,b){!b.parent||!a._output.just_added_newline()||(b.is_inline_element||
b.is_unformatted)&&b.parent.is_inline_element||(b.parent.multiline_content=!0)};var q="address article aside blockquote details div dl fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr main nav ol p pre section table ul".split(" "),r="a audio del ins map noscript video".split(" ");c.prototype._do_optional_end_element=function(a){var b=null;if(!a.is_empty_element&&a.is_start_tag&&a.parent){if("body"===a.tag_name)b=b||this._tag_stack.try_pop("head");else if("li"===a.tag_name)b=b||this._tag_stack.try_pop("li",
["ol","ul"]);else if("dd"===a.tag_name||"dt"===a.tag_name)b=(b=b||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===a.parent.tag_name&&-1!==q.indexOf(a.tag_name)){var c=a.parent.parent;c&&-1!==r.indexOf(c.tag_name)||(b=b||this._tag_stack.try_pop("p"))}else if("rp"===a.tag_name||"rt"===a.tag_name)b=(b=b||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]);else if("optgroup"===a.tag_name)b=b||this._tag_stack.try_pop("optgroup",
["select"]);else if("option"===a.tag_name)b=b||this._tag_stack.try_pop("option",["select","datalist","optgroup"]);else if("colgroup"===a.tag_name)b=b||this._tag_stack.try_pop("caption",["table"]);else if("thead"===a.tag_name)b=(b=b||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]);else if("tbody"===a.tag_name||"tfoot"===a.tag_name)b=(b=(b=(b=b||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",
["table"]))||this._tag_stack.try_pop("tbody",["table"]);else if("tr"===a.tag_name)b=(b=(b=b||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]);else if("th"===a.tag_name||"td"===a.tag_name)b=(b=b||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]);a.parent=this._tag_stack.get_parser_token();return b}};g.exports.Beautifier=
c},function(g,h,f){function a(a){d.call(this,a,"html");1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]);this.indent_inner_html=this._get_boolean("indent_inner_html");this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0);this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0);this.indent_handlebars=this._get_boolean("indent_handlebars",!0);this.wrap_attributes=this._get_selection("wrap_attributes",
"auto force force-aligned force-expand-multiline aligned-multiple preserve preserve-aligned".split(" "));this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size);this.extra_liners=this._get_array("extra_liners",["head","body","/html"]);this.inline=this._get_array("inline","a abbr area audio b bdi bdo br button canvas cite code data datalist del dfn em embed i iframe img input ins kbd keygen label map mark math meter noscript object output progress q ruby s samp select small span strong sub sup svg template textarea time u var video wbr text acronym big strike tt".split(" "));
this.void_elements=this._get_array("void_elements","area base br col embed hr img input keygen link menuitem meta param source track wbr !doctype ?xml basefont isindex".split(" "));this.unformatted=this._get_array("unformatted",[]);this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]);this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter");this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}var d=f(6).Options;
a.prototype=new d;g.exports.Options=a},function(g,h,f){var a=f(9).Tokenizer;h=f(9).TOKEN;var d=f(13).Directives,c=f(14).TemplatablePattern,b=f(12).Pattern,e={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:h.START,RAW:h.RAW,EOF:h.EOF},p=new d(/<\!--/,/--\x3e/);f=function(e,d){a.call(this,e,d);this._current_tag_name="";var l=(new c(this._input)).read_options(this._options),f=
new b(this._input);this.__patterns={word:l.until(/[\n\r\t <]/),single_quote:l.until_after(/'/),double_quote:l.until_after(/"/),attribute:l.until(/[\n\r\t =>]|\/>/),element_name:l.until(/[\n\r\t >\/]/),handlebars_comment:f.starting_with(/{{!--/).until_after(/--}}/),handlebars:f.starting_with(/{{/).until_after(/}}/),handlebars_open:f.until(/[\n\r\t }]/),handlebars_raw_close:f.until(/}}/),comment:f.starting_with(/\x3c!--/).until_after(/--\x3e/),cdata:f.starting_with(/<!\[CDATA\[/).until_after(/]]\x3e/),
conditional_comment:f.starting_with(/<!\[/).until_after(/]>/),processing:f.starting_with(/<\?/).until_after(/\?>/)};this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"));this._unformatted_content_delimiter=null;this._options.unformatted_content_delimiter&&(l=this._input.get_literal_regexp(this._options.unformatted_content_delimiter),this.__patterns.unformatted_content_delimiter=f.matching(l).until_after(l))};f.prototype=new a;f.prototype._is_comment=function(a){return!1};
f.prototype._is_opening=function(a){return a.type===e.TAG_OPEN};f.prototype._is_closing=function(a,b){return a.type===e.TAG_CLOSE&&b&&(("\x3e"===a.text||"/\x3e"===a.text)&&"\x3c"===b.text[0]||"}}"===a.text&&"{"===b.text[0]&&"{"===b.text[1])};f.prototype._reset=function(){this._current_tag_name=""};f.prototype._get_next_token=function(a,b){var c=null;this._readWhitespace();var d=this._input.peek();return null===d?this._create_token(e.EOF,""):c=(c=(c=(c=(c=(c=(c=(c=(c=c||this._read_open_handlebars(d,
b))||this._read_attribute(d,a,b))||this._read_close(d,b))||this._read_raw_content(d,a,b))||this._read_content_word(d))||this._read_comment_or_cdata(d))||this._read_processing(d))||this._read_open(d,b))||this._create_token(e.UNKNOWN,this._input.next())};f.prototype._read_comment_or_cdata=function(a){var b=null,c=null,d=null;"\x3c"===a&&("!"===this._input.peek(1)&&((c=this.__patterns.comment.read())?(d=p.get_directives(c))&&"start"===d.ignore&&(c+=p.readIgnored(this._input)):c=this.__patterns.cdata.read()),
c&&(b=this._create_token(e.COMMENT,c),b.directives=d));return b};f.prototype._read_processing=function(a){var b=null,c=null;if("\x3c"===a){a=this._input.peek(1);if("!"===a||"?"===a)c=(c=this.__patterns.conditional_comment.read())||this.__patterns.processing.read();c&&(b=this._create_token(e.COMMENT,c),b.directives=null)}return b};f.prototype._read_open=function(a,b){var c=null,c=null;b||"\x3c"!==a||(c=this._input.next(),"/"===this._input.peek()&&(c+=this._input.next()),c+=this.__patterns.element_name.read(),
c=this._create_token(e.TAG_OPEN,c));return c};f.prototype._read_open_handlebars=function(a,b){var c=null,c=null;!b&&this._options.indent_handlebars&&"{"===a&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(c=(c=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),c=this._create_token(e.COMMENT,c)):(c=this.__patterns.handlebars_open.read(),c=this._create_token(e.TAG_OPEN,c)));return c};f.prototype._read_close=function(a,b){var c=null,c=null;b&&("\x3c"===b.text[0]&&("\x3e"===
a||"/"===a&&"\x3e"===this._input.peek(1))?(c=this._input.next(),"/"===a&&(c+=this._input.next()),c=this._create_token(e.TAG_CLOSE,c)):"{"===b.text[0]&&"}"===a&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),c=this._create_token(e.TAG_CLOSE,"}}")));return c};f.prototype._read_attribute=function(a,b,c){var d=null,f="";c&&"\x3c"===c.text[0]&&("\x3d"===a?d=this._create_token(e.EQUALS,this._input.next()):'"'===a||"'"===a?(b=this._input.next(),b='"'===a?b+this.__patterns.double_quote.read():
b+this.__patterns.single_quote.read(),d=this._create_token(e.VALUE,b)):(f=this.__patterns.attribute.read())&&(d=b.type===e.EQUALS?this._create_token(e.VALUE,f):this._create_token(e.ATTRIBUTE,f)));return d};f.prototype._is_content_unformatted=function(a){return-1===this._options.void_elements.indexOf(a)&&(-1!==this._options.content_unformatted.indexOf(a)||-1!==this._options.unformatted.indexOf(a))};f.prototype._read_raw_content=function(a,b,c){var d="";if(c&&"{"===c.text[0])d=this.__patterns.handlebars_raw_close.read();
else if(b.type===e.TAG_CLOSE&&"\x3c"===b.opened.text[0]&&"/"!==b.text[0])if(b=b.opened.text.substr(1).toLowerCase(),"script"===b||"style"===b){if(a=this._read_comment_or_cdata(a))return a.type=e.TEXT,a;d=this._input.readUntil(new RegExp("\x3c/"+b+"[\\n\\r\\t ]*?\x3e","ig"))}else this._is_content_unformatted(b)&&(d=this._input.readUntil(new RegExp("\x3c/"+b+"[\\n\\r\\t ]*?\x3e","ig")));return d?this._create_token(e.TEXT,d):null};f.prototype._read_content_word=function(a){var b="";this._options.unformatted_content_delimiter&&
a===this._options.unformatted_content_delimiter[0]&&(b=this.__patterns.unformatted_content_delimiter.read());b||(b=this.__patterns.word.read());if(b)return this._create_token(e.TEXT,b)};g.exports.Tokenizer=f;g.exports.TOKEN=e}]);if("function"===typeof define&&define.amd)define(["require","./beautify","./beautify-css"],function(g){var h=g("./beautify"),f=g("./beautify-css");return{html_beautify:function(a,d){return p(a,d,h.js_beautify,f.css_beautify)}}});else if("undefined"!==typeof exports){var q=
require("./beautify.js"),r=require("./beautify-css.js");exports.html_beautify=function(g,h){return p(g,h,q.js_beautify,r.css_beautify)}}else"undefined"!==typeof window?window.html_beautify=function(g,h){return p(g,h,window.js_beautify,window.css_beautify)}:"undefined"!==typeof global&&(global.html_beautify=function(g,h){return p(g,h,global.js_beautify,global.css_beautify)})})();