1&&(e.result+=M.repeat("\n",t-1))}function C(e,t,n){var s,u,l,c,p,h,f,d,m,g=e.kind,v=e.result;if(m=e.input.charCodeAt(e.position),a(m)||o(m)||35===m||38===m||42===m||33===m||124===m||62===m||39===m||34===m||37===m||64===m||96===m)return!1;if((63===m||45===m)&&(u=e.input.charCodeAt(e.position+1),a(u)||n&&o(u)))return!1;for(e.kind="scalar",e.result="",l=c=e.position,p=!1;0!==m;){if(58===m){if(u=e.input.charCodeAt(e.position+1),a(u)||n&&o(u))break}else if(35===m){if(s=e.input.charCodeAt(e.position-1),a(s))break}else{if(e.position===e.lineStart&&w(e)||n&&o(m))break;if(r(m)){if(h=e.line,f=e.lineStart,d=e.lineIndent,b(e,!1,-1),e.lineIndent>=t){p=!0,m=e.input.charCodeAt(e.position);continue}e.position=c,e.line=h,e.lineStart=f,e.lineIndent=d;break}}p&&(y(e,l,c,!1),A(e,e.line-h),l=c=e.position,p=!1),i(m)||(c=e.position+1),m=e.input.charCodeAt(++e.position)}return y(e,l,c,!1),e.result?!0:(e.kind=g,e.result=v,!1)}function x(e,t){var n,i,a;if(n=e.input.charCodeAt(e.position),39!==n)return!1;for(e.kind="scalar",e.result="",e.position++,i=a=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(y(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=a=e.position,e.position++}else r(n)?(y(e,i,a,!0),A(e,b(e,!1,t)),i=a=e.position):e.position===e.lineStart&&w(e)?d(e,"unexpected end of the document within a single quoted scalar"):(e.position++,a=e.position);d(e,"unexpected end of the stream within a single quoted scalar")}function E(e,t){var n,i,a,o,l,c;if(c=e.input.charCodeAt(e.position),34!==c)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(c=e.input.charCodeAt(e.position));){if(34===c)return y(e,n,e.position,!0),e.position++,!0;if(92===c){if(y(e,n,e.position,!0),c=e.input.charCodeAt(++e.position),r(c))b(e,!1,t);else if(256>c&&ie[c])e.result+=ae[c],e.position++;else if((l=u(c))>0){for(a=l,o=0;a>0;a--)c=e.input.charCodeAt(++e.position),(l=s(c))>=0?o=(o<<4)+l:d(e,"expected hexadecimal character");e.result+=p(o),e.position++}else d(e,"unknown escape sequence");n=i=e.position}else r(c)?(y(e,n,i,!0),A(e,b(e,!1,t)),n=i=e.position):e.position===e.lineStart&&w(e)?d(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}d(e,"unexpected end of the stream within a double quoted scalar")}function F(e,t){var n,r,i,o,s,u,l,c,p,h,f,m=!0,y=e.tag,g=e.anchor;if(f=e.input.charCodeAt(e.position),91===f)o=93,l=!1,r=[];else{if(123!==f)return!1;o=125,l=!0,r={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=r),f=e.input.charCodeAt(++e.position);0!==f;){if(b(e,!0,t),f=e.input.charCodeAt(e.position),f===o)return e.position++,e.tag=y,e.anchor=g,e.kind=l?"mapping":"sequence",e.result=r,!0;m||d(e,"missed comma between flow collection entries"),p=c=h=null,s=u=!1,63===f&&(i=e.input.charCodeAt(e.position+1),a(i)&&(s=u=!0,e.position++,b(e,!0,t))),n=e.line,_(e,t,Y,!1,!0),p=e.tag,c=e.result,b(e,!0,t),f=e.input.charCodeAt(e.position),!u&&e.line!==n||58!==f||(s=!0,f=e.input.charCodeAt(++e.position),b(e,!0,t),_(e,t,Y,!1,!0),h=e.result),l?v(e,r,p,c,h):s?r.push(v(e,null,p,c,h)):r.push(c),b(e,!0,t),f=e.input.charCodeAt(e.position),44===f?(m=!0,f=e.input.charCodeAt(++e.position)):m=!1}d(e,"unexpected end of the stream within a flow collection")}function S(e,t){var n,a,o,s,u=Q,c=!1,p=t,h=0,f=!1;if(s=e.input.charCodeAt(e.position),124===s)a=!1;else{if(62!==s)return!1;a=!0}for(e.kind="scalar",e.result="";0!==s;)if(s=e.input.charCodeAt(++e.position),43===s||45===s)Q===u?u=43===s?G:X:d(e,"repeat of a chomping mode identifier");else{if(!((o=l(s))>=0))break;0===o?d(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?d(e,"repeat of an indentation width identifier"):(p=t+o-1,c=!0)}if(i(s)){do s=e.input.charCodeAt(++e.position);while(i(s));if(35===s)do s=e.input.charCodeAt(++e.position);while(!r(s)&&0!==s)}for(;0!==s;){for(D(e),e.lineIndent=0,s=e.input.charCodeAt(e.position);(!c||e.lineIndentp&&(p=e.lineIndent),r(s))h++;else{if(e.lineIndent
t)&&0!==i)d(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(_(e,t,K,!0,o)&&(y?f=e.result:m=e.result),y||(v(e,p,h,f,m),h=f=m=null),b(e,!0,-1),u=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==u)d(e,"bad indentation of a mapping entry");else if(e.lineIndentt?f=1:e.lineIndent===t?f=0:e.lineIndentt?f=1:e.lineIndent===t?f=0:e.lineIndentu;u+=1)if(c=e.implicitTypes[u],c.resolve(e.result)){e.result=c.construct(e.result),e.tag=c.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else z.call(e.typeMap,e.tag)?(c=e.typeMap[e.tag],null!==e.result&&c.kind!==e.kind&&d(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+c.kind+'", not "'+e.kind+'"'),c.resolve(e.result)?(e.result=c.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):d(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):d(e,"unknown tag !<"+e.tag+">");return null!==e.tag||null!==e.anchor||y}function T(e){var t,n,o,s,u=e.position,l=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(s=e.input.charCodeAt(e.position))&&(b(e,!0,-1),s=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==s));){for(l=!0,s=e.input.charCodeAt(++e.position),t=e.position;0!==s&&!a(s);)s=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),o=[],n.length<1&&d(e,"directive name must not be less than one character in length");0!==s;){for(;i(s);)s=e.input.charCodeAt(++e.position);if(35===s){do s=e.input.charCodeAt(++e.position);while(0!==s&&!r(s));break}if(r(s))break;for(t=e.position;0!==s&&!a(s);)s=e.input.charCodeAt(++e.position);o.push(e.input.slice(t,e.position))}0!==s&&D(e),z.call(se,n)?se[n](e,n,o):m(e,'unknown document directive "'+n+'"')}return b(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,b(e,!0,-1)):l&&d(e,"directives end mark is expected"),_(e,e.lineIndent-1,K,!1,!0),b(e,!0,-1),e.checkLineBreaks&&ee.test(e.input.slice(u,e.position))&&m(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&w(e)?void(46===e.input.charCodeAt(e.position)&&(e.position+=3,b(e,!0,-1))):void(e.positionr;r+=1)t(a[r])}function R(e,t){var n=P(e,t);if(0===n.length)return void 0;if(1===n.length)return n[0];throw new N("expected a single document in the stream, but found more")}function $(e,t,n){L(e,t,M.extend({schema:H},n))}function U(e,t){return R(e,M.extend({schema:H},t))}for(var M=e("./common"),N=e("./exception"),q=e("./mark"),H=e("./schema/default_safe"),V=e("./schema/default_full"),z=Object.prototype.hasOwnProperty,Y=1,J=2,W=3,K=4,Q=1,X=2,G=3,Z=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ee=/[\x85\u2028\u2029]/,te=/[,\[\]\{\}]/,ne=/^(?:!|!!|![a-z\-]+!)$/i,re=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,ie=new Array(256),ae=new Array(256),oe=0;256>oe;oe++)ie[oe]=c(oe)?1:0,ae[oe]=c(oe);var se={YAML:function(e,t,n){var r,i,a;null!==e.version&&d(e,"duplication of %YAML directive"),1!==n.length&&d(e,"YAML directive accepts exactly one argument"),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===r&&d(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),a=parseInt(r[2],10),1!==i&&d(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=2>a,1!==a&&2!==a&&m(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&d(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],ne.test(r)||d(e,"ill-formed tag handle (first argument) of the TAG directive"),z.call(e.tagMap,r)&&d(e,'there is a previously declared suffix for "'+r+'" tag handle'),re.test(i)||d(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=i}};t.exports.loadAll=L,t.exports.load=R,t.exports.safeLoadAll=$,t.exports.safeLoad=U},{"./common":22,"./exception":24,"./mark":26,"./schema/default_full":29,"./schema/default_safe":30}],26:[function(e,t,n){"use strict";function r(e,t,n,r,i){this.name=e,this.buffer=t,this.position=n,this.line=r,this.column=i}var i=e("./common");r.prototype.getSnippet=function(e,t){var n,r,a,o,s;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",r=this.position;r>0&&-1==="\x00\r\nÂ…\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(a="",o=this.position;ot/2-1){a=" ... ",o-=5;break}return s=this.buffer.slice(r,o),i.repeat(" ",e)+n+s+a+"\n"+i.repeat(" ",e+this.position-r+n.length)+"^"},r.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet(),t&&(n+=":\n"+t)),n},t.exports=r},{"./common":22}],27:[function(e,t,n){"use strict";function r(e,t,n){var i=[];return e.include.forEach(function(e){n=r(e,t,n)}),e[t].forEach(function(e){n.forEach(function(t,n){t.tag===e.tag&&i.push(n)}),n.push(e)}),n.filter(function(e,t){return-1===i.indexOf(t)})}function i(){function e(e){r[e.tag]=e}var t,n,r={};for(t=0,n=arguments.length;n>t;t+=1)arguments[t].forEach(e);return r}function a(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=r(this,"implicit",[]),this.compiledExplicit=r(this,"explicit",[]),this.compiledTypeMap=i(this.compiledImplicit,this.compiledExplicit)}var o=e("./common"),s=e("./exception"),u=e("./type");a.DEFAULT=null,a.create=function(){var e,t;switch(arguments.length){case 1:e=a.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new s("Wrong number of arguments for Schema.create function")}if(e=o.toArray(e),t=o.toArray(t),!e.every(function(e){return e instanceof a}))throw new s("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every(function(e){return e instanceof u}))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new a({include:e,explicit:t})},t.exports=a},{"./common":22,"./exception":24,"./type":33}],28:[function(e,t,n){"use strict";var r=e("../schema");t.exports=new r({include:[e("./json")]})},{"../schema":27,"./json":32}],29:[function(e,t,n){"use strict";var r=e("../schema");t.exports=r.DEFAULT=new r({include:[e("./default_safe")],explicit:[e("../type/js/undefined"),e("../type/js/regexp"),e("../type/js/function")]})},{"../schema":27,"../type/js/function":38,"../type/js/regexp":39,"../type/js/undefined":40,"./default_safe":30}],30:[function(e,t,n){"use strict";var r=e("../schema");t.exports=new r({include:[e("./core")],implicit:[e("../type/timestamp"),e("../type/merge")],explicit:[e("../type/binary"),e("../type/omap"),e("../type/pairs"),e("../type/set")]})},{"../schema":27,"../type/binary":34,"../type/merge":42,"../type/omap":44,"../type/pairs":45,"../type/set":47,"../type/timestamp":49,"./core":28}],31:[function(e,t,n){"use strict";var r=e("../schema");t.exports=new r({explicit:[e("../type/str"),e("../type/seq"),e("../type/map")]})},{"../schema":27,"../type/map":41,"../type/seq":46,"../type/str":48}],32:[function(e,t,n){"use strict";var r=e("../schema");t.exports=new r({include:[e("./failsafe")],implicit:[e("../type/null"),e("../type/bool"),e("../type/int"),e("../type/float")]})},{"../schema":27,"../type/bool":35,"../type/float":36,"../type/int":37,"../type/null":43,"./failsafe":31}],33:[function(e,t,n){"use strict";function r(e){var t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function i(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===o.indexOf(t))throw new a('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=r(t.styleAliases||null),-1===s.indexOf(this.kind))throw new a('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var a=e("./exception"),o=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],s=["scalar","sequence","mapping"];t.exports=i},{"./exception":24}],34:[function(e,t,n){"use strict";function r(e){if(null===e)return!1;var t,n,r=0,i=e.length,a=l;for(n=0;i>n;n++)if(t=a.indexOf(e.charAt(n)),!(t>64)){if(0>t)return!1;r+=6}return r%8===0}function i(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=l,o=0,u=[];for(t=0;i>t;t++)t%4===0&&t&&(u.push(o>>16&255),u.push(o>>8&255),u.push(255&o)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,0===n?(u.push(o>>16&255),u.push(o>>8&255),u.push(255&o)):18===n?(u.push(o>>10&255),u.push(o>>2&255)):12===n&&u.push(o>>4&255),s?new s(u):u}function a(e){var t,n,r="",i=0,a=e.length,o=l;for(t=0;a>t;t++)t%3===0&&t&&(r+=o[i>>18&63],r+=o[i>>12&63],r+=o[i>>6&63],r+=o[63&i]),i=(i<<8)+e[t];return n=a%3,0===n?(r+=o[i>>18&63],r+=o[i>>12&63],r+=o[i>>6&63],r+=o[63&i]):2===n?(r+=o[i>>10&63],r+=o[i>>4&63],r+=o[i<<2&63],r+=o[64]):1===n&&(r+=o[i>>2&63],r+=o[i<<4&63],r+=o[64],r+=o[64]),r}function o(e){return s&&s.isBuffer(e)}var s=e("buffer").Buffer,u=e("../type"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";t.exports=new u("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a})},{"../type":33,buffer:12}],35:[function(e,t,n){"use strict";function r(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)}function i(e){return"true"===e||"True"===e||"TRUE"===e}function a(e){return"[object Boolean]"===Object.prototype.toString.call(e)}var o=e("../type");t.exports=new o("tag:yaml.org,2002:bool",{kind:"scalar",resolve:r,construct:i,predicate:a,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},{"../type":33}],36:[function(e,t,n){"use strict";function r(e){return null===e?!1:l.test(e)?!0:!1}function i(e){var t,n,r,i;return t=e.replace(/_/g,"").toLowerCase(),n="-"===t[0]?-1:1,i=[],0<="+-".indexOf(t[0])&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:0<=t.indexOf(":")?(t.split(":").forEach(function(e){i.unshift(parseFloat(e,10))}),t=0,r=1,i.forEach(function(e){t+=e*r,r*=60}),n*t):n*parseFloat(t,10)}function a(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(s.isNegativeZero(e))return"-0.0";return n=e.toString(10),c.test(n)?n.replace("e",".e"):n}function o(e){return"[object Number]"===Object.prototype.toString.call(e)&&(0!==e%1||s.isNegativeZero(e))}var s=e("../common"),u=e("../type"),l=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),c=/^[-+]?[0-9]+e/;t.exports=new u("tag:yaml.org,2002:float",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a,defaultStyle:"lowercase"})},{"../common":22,"../type":33}],37:[function(e,t,n){"use strict";function r(e){return e>=48&&57>=e||e>=65&&70>=e||e>=97&&102>=e}function i(e){return e>=48&&55>=e}function a(e){return e>=48&&57>=e}function o(e){if(null===e)return!1;var t,n=e.length,o=0,s=!1;if(!n)return!1;if(t=e[o],("-"===t||"+"===t)&&(t=e[++o]),"0"===t){if(o+1===n)return!0;if(t=e[++o],"b"===t){for(o++;n>o;o++)if(t=e[o],"_"!==t){if("0"!==t&&"1"!==t)return!1;s=!0}return s}if("x"===t){for(o++;n>o;o++)if(t=e[o],"_"!==t){if(!r(e.charCodeAt(o)))return!1;s=!0}return s}for(;n>o;o++)if(t=e[o],"_"!==t){if(!i(e.charCodeAt(o)))return!1;s=!0}return s}for(;n>o;o++)if(t=e[o],"_"!==t){if(":"===t)break;if(!a(e.charCodeAt(o)))return!1;s=!0}return s?":"!==t?!0:/^(:[0-5]?[0-9])+$/.test(e.slice(o)):!1}function s(e){var t,n,r=e,i=1,a=[];return-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),t=r[0],("-"===t||"+"===t)&&("-"===t&&(i=-1),r=r.slice(1),t=r[0]),"0"===r?0:"0"===t?"b"===r[1]?i*parseInt(r.slice(2),2):"x"===r[1]?i*parseInt(r,16):i*parseInt(r,8):-1!==r.indexOf(":")?(r.split(":").forEach(function(e){a.unshift(parseInt(e,10))}),r=0,n=1,a.forEach(function(e){r+=e*n,n*=60}),i*r):i*parseInt(r,10)}function u(e){return"[object Number]"===Object.prototype.toString.call(e)&&0===e%1&&!l.isNegativeZero(e)}var l=e("../common"),c=e("../type");t.exports=new c("tag:yaml.org,2002:int",{kind:"scalar",resolve:o,construct:s,predicate:u,represent:{binary:function(e){return"0b"+e.toString(2)},octal:function(e){return"0"+e.toString(8)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return"0x"+e.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":22,"../type":33}],38:[function(e,t,n){"use strict";function r(e){if(null===e)return!1;try{var t="("+e+")",n=s.parse(t,{range:!0});return"Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"FunctionExpression"!==n.body[0].expression.type?!1:!0}catch(r){return!1}}function i(e){var t,n="("+e+")",r=s.parse(n,{range:!0}),i=[];if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"FunctionExpression"!==r.body[0].expression.type)throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach(function(e){i.push(e.name)}),t=r.body[0].expression.body.range,new Function(i,n.slice(t[0]+1,t[1]-1))}function a(e){return e.toString()}function o(e){return"[object Function]"===Object.prototype.toString.call(e)}var s;try{s=e("esprima")}catch(u){"undefined"!=typeof window&&(s=window.esprima)}var l=e("../../type");t.exports=new l("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a})},{"../../type":33,esprima:50}],39:[function(e,t,n){"use strict";function r(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,n=/\/([gim]*)$/.exec(e),r="";if("/"===t[0]){if(n&&(r=n[1]),r.length>3)return!1;if("/"!==t[t.length-r.length-1])return!1;t=t.slice(1,t.length-r.length-1)}try{return!0}catch(i){return!1}}function i(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)}function a(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}function o(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var s=e("../../type");t.exports=new s("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a})},{"../../type":33}],40:[function(e,t,n){"use strict";function r(){return!0}function i(){return void 0}function a(){return""}function o(e){return"undefined"==typeof e;
-}var s=e("../../type");t.exports=new s("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a})},{"../../type":33}],41:[function(e,t,n){"use strict";var r=e("../type");t.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},{"../type":33}],42:[function(e,t,n){"use strict";function r(e){return"<<"===e||null===e}var i=e("../type");t.exports=new i("tag:yaml.org,2002:merge",{kind:"scalar",resolve:r})},{"../type":33}],43:[function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)}function i(){return null}function a(e){return null===e}var o=e("../type");t.exports=new o("tag:yaml.org,2002:null",{kind:"scalar",resolve:r,construct:i,predicate:a,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":33}],44:[function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n,r,i,a,u=[],l=e;for(t=0,n=l.length;n>t;t+=1){if(r=l[t],a=!1,"[object Object]"!==s.call(r))return!1;for(i in r)if(o.call(r,i)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==u.indexOf(i))return!1;u.push(i)}return!0}function i(e){return null!==e?e:[]}var a=e("../type"),o=Object.prototype.hasOwnProperty,s=Object.prototype.toString;t.exports=new a("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:i})},{"../type":33}],45:[function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n,r,i,a,s=e;for(a=new Array(s.length),t=0,n=s.length;n>t;t+=1){if(r=s[t],"[object Object]"!==o.call(r))return!1;if(i=Object.keys(r),1!==i.length)return!1;a[t]=[i[0],r[i[0]]]}return!0}function i(e){if(null===e)return[];var t,n,r,i,a,o=e;for(a=new Array(o.length),t=0,n=o.length;n>t;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}var a=e("../type"),o=Object.prototype.toString;t.exports=new a("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:r,construct:i})},{"../type":33}],46:[function(e,t,n){"use strict";var r=e("../type");t.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},{"../type":33}],47:[function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n=e;for(t in n)if(o.call(n,t)&&null!==n[t])return!1;return!0}function i(e){return null!==e?e:{}}var a=e("../type"),o=Object.prototype.hasOwnProperty;t.exports=new a("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:i})},{"../type":33}],48:[function(e,t,n){"use strict";var r=e("../type");t.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},{"../type":33}],49:[function(e,t,n){"use strict";function r(e){return null===e?!1:null===s.exec(e)?!1:!0}function i(e){var t,n,r,i,a,o,u,l,c,p,h=0,f=null;if(t=s.exec(e),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],u=+t[6],t[7]){for(h=t[7].slice(0,3);h.length<3;)h+="0";h=+h}return t[9]&&(l=+t[10],c=+(t[11]||0),f=6e4*(60*l+c),"-"===t[9]&&(f=-f)),p=new Date(Date.UTC(n,r,i,a,o,u,h)),f&&p.setTime(p.getTime()-f),p}function a(e){return e.toISOString()}var o=e("../type"),s=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");t.exports=new o("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:r,construct:i,instanceOf:Date,represent:a})},{"../type":33}],50:[function(t,n,r){!function(t,n){"use strict";"function"==typeof e&&e.amd?e(["exports"],n):n("undefined"!=typeof r?r:t.esprima={})}(this,function(e){"use strict";function t(e,t){if(!e)throw new Error("ASSERT: "+t)}function n(e){return e>=48&&57>=e}function r(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function i(e){return"01234567".indexOf(e)>=0}function a(e){var t="0"!==e,n="01234567".indexOf(e);return Dn>un&&i(on[un])&&(t=!0,n=8*n+"01234567".indexOf(on[un++]),"0123".indexOf(e)>=0&&Dn>un&&i(on[un])&&(n=8*n+"01234567".indexOf(on[un++]))),{code:n,octal:t}}function o(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function s(e){return 10===e||13===e||8232===e||8233===e}function u(e){return 65536>e?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))}function l(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&an.NonAsciiIdentifierStart.test(u(e))}function c(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&an.NonAsciiIdentifierPart.test(u(e))}function p(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}}function h(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function f(e){return"eval"===e||"arguments"===e}function d(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function m(e,n,r,i,a){var o;t("number"==typeof r,"Comment must have valid position"),wn.lastCommentStart=r,o={type:e,value:n},An.range&&(o.range=[r,i]),An.loc&&(o.loc=a),An.comments.push(o),An.attachComment&&(An.leadingComments.push(o),An.trailingComments.push(o)),An.tokenize&&(o.type=o.type+"Comment",An.delegate&&(o=An.delegate(o)),An.tokens.push(o))}function y(e){var t,n,r,i;for(t=un-e,n={start:{line:ln,column:un-cn-e}};Dn>un;)if(r=on.charCodeAt(un),++un,s(r))return pn=!0,An.comments&&(i=on.slice(t+e,un-1),n.end={line:ln,column:un-cn-1},m("Line",i,t,un-1,n)),13===r&&10===on.charCodeAt(un)&&++un,++ln,void(cn=un);An.comments&&(i=on.slice(t+e,un),n.end={line:ln,column:un-cn},m("Line",i,t,un,n))}function g(){var e,t,n,r;for(An.comments&&(e=un-2,t={start:{line:ln,column:un-cn-2}});Dn>un;)if(n=on.charCodeAt(un),s(n))13===n&&10===on.charCodeAt(un+1)&&++un,pn=!0,++ln,++un,cn=un;else if(42===n){if(47===on.charCodeAt(un+1))return++un,++un,void(An.comments&&(r=on.slice(e+2,un-2),t.end={line:ln,column:un-cn},m("Block",r,e,un,t)));++un}else++un;An.comments&&(t.end={line:ln,column:un-cn},r=on.slice(e+2,un),m("Block",r,e,un,t)),ne()}function v(){var e,t;for(pn=!1,t=0===un;Dn>un;)if(e=on.charCodeAt(un),o(e))++un;else if(s(e))pn=!0,++un,13===e&&10===on.charCodeAt(un)&&++un,++ln,cn=un,t=!0;else if(47===e)if(e=on.charCodeAt(un+1),47===e)++un,++un,y(2),t=!0;else{if(42!==e)break;++un,++un,g()}else if(t&&45===e){if(45!==on.charCodeAt(un+1)||62!==on.charCodeAt(un+2))break;un+=3,y(3)}else{if(60!==e)break;if("!--"!==on.slice(un+1,un+4))break;++un,++un,++un,++un,y(4)}}function D(e){var t,n,i,a=0;for(n="u"===e?4:2,t=0;n>t;++t){if(!(Dn>un&&r(on[un])))return"";i=on[un++],a=16*a+"0123456789abcdef".indexOf(i.toLowerCase())}return String.fromCharCode(a)}function b(){var e,t;for(e=on[un],t=0,"}"===e&&te();Dn>un&&(e=on[un++],r(e));)t=16*t+"0123456789abcdef".indexOf(e.toLowerCase());return(t>1114111||"}"!==e)&&te(),u(t)}function w(e){var t,n,r;return t=on.charCodeAt(e),t>=55296&&56319>=t&&(r=on.charCodeAt(e+1),r>=56320&&57343>=r&&(n=t,t=1024*(n-55296)+r-56320+65536)),t}function A(){var e,t,n;for(e=w(un),n=u(e),un+=n.length,92===e&&(117!==on.charCodeAt(un)&&te(),++un,"{"===on[un]?(++un,t=b()):(t=D("u"),e=t.charCodeAt(0),t&&"\\"!==t&&l(e)||te()),n=t);Dn>un&&(e=w(un),c(e));)t=u(e),n+=t,un+=t.length,92===e&&(n=n.substr(0,n.length-1),117!==on.charCodeAt(un)&&te(),++un,"{"===on[un]?(++un,t=b()):(t=D("u"),e=t.charCodeAt(0),t&&"\\"!==t&&c(e)||te()),n+=t);return n}function C(){var e,t;for(e=un++;Dn>un;){if(t=on.charCodeAt(un),92===t)return un=e,A();if(t>=55296&&57343>t)return un=e,A();if(!c(t))break;++un}return on.slice(e,un)}function x(){var e,t,n;return e=un,t=92===on.charCodeAt(un)?A():C(),n=1===t.length?Gt.Identifier:d(t)?Gt.Keyword:"null"===t?Gt.NullLiteral:"true"===t||"false"===t?Gt.BooleanLiteral:Gt.Identifier,{type:n,value:t,lineNumber:ln,lineStart:cn,start:e,end:un}}function E(){var e,t;switch(e={type:Gt.Punctuator,value:"",lineNumber:ln,lineStart:cn,start:un,end:un},t=on[un]){case"(":An.tokenize&&(An.openParenToken=An.tokenValues.length),++un;break;case"{":An.tokenize&&(An.openCurlyToken=An.tokenValues.length),wn.curlyStack.push("{"),++un;break;case".":++un,"."===on[un]&&"."===on[un+1]&&(un+=2,t="...");break;case"}":++un,wn.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++un;break;default:t=on.substr(un,4),">>>="===t?un+=4:(t=t.substr(0,3),"==="===t||"!=="===t||">>>"===t||"<<="===t||">>="===t?un+=3:(t=t.substr(0,2),"&&"===t||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t?un+=2:(t=on[un],"<>=!+-*%&|^/".indexOf(t)>=0&&++un)))}return un===e.start&&te(),e.end=un,e.value=t,e}function F(e){for(var t="";Dn>un&&r(on[un]);)t+=on[un++];return 0===t.length&&te(),l(on.charCodeAt(un))&&te(),{type:Gt.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:ln,lineStart:cn,start:e,end:un}}function S(e){var t,r;for(r="";Dn>un&&(t=on[un],"0"===t||"1"===t);)r+=on[un++];return 0===r.length&&te(),Dn>un&&(t=on.charCodeAt(un),(l(t)||n(t))&&te()),{type:Gt.NumericLiteral,value:parseInt(r,2),lineNumber:ln,lineStart:cn,start:e,end:un}}function k(e,t){var r,a;for(i(e)?(a=!0,r="0"+on[un++]):(a=!1,++un,r="");Dn>un&&i(on[un]);)r+=on[un++];return a||0!==r.length||te(),(l(on.charCodeAt(un))||n(on.charCodeAt(un)))&&te(),{type:Gt.NumericLiteral,value:parseInt(r,8),octal:a,lineNumber:ln,lineStart:cn,start:t,end:un}}function O(){var e,t;for(e=un+1;Dn>e;++e){if(t=on[e],"8"===t||"9"===t)return!1;if(!i(t))return!0}return!0}function j(){var e,r,a;if(a=on[un],t(n(a.charCodeAt(0))||"."===a,"Numeric literal must start with a decimal digit or a decimal point"),r=un,e="","."!==a){if(e=on[un++],a=on[un],"0"===e){if("x"===a||"X"===a)return++un,F(r);if("b"===a||"B"===a)return++un,S(r);if("o"===a||"O"===a)return k(a,r);if(i(a)&&O())return k(a,r)}for(;n(on.charCodeAt(un));)e+=on[un++];a=on[un]}if("."===a){for(e+=on[un++];n(on.charCodeAt(un));)e+=on[un++];a=on[un]}if("e"===a||"E"===a)if(e+=on[un++],a=on[un],("+"===a||"-"===a)&&(e+=on[un++]),n(on.charCodeAt(un)))for(;n(on.charCodeAt(un));)e+=on[un++];else te();return l(on.charCodeAt(un))&&te(),{type:Gt.NumericLiteral,value:parseFloat(e),lineNumber:ln,lineStart:cn,start:r,end:un}}function B(){var e,n,r,o,u,l="",c=!1;for(e=on[un],t("'"===e||'"'===e,"String literal must starts with a quote"),n=un,++un;Dn>un;){if(r=on[un++],r===e){e="";break}if("\\"===r)if(r=on[un++],r&&s(r.charCodeAt(0)))++ln,"\r"===r&&"\n"===on[un]&&++un,cn=un;else switch(r){case"u":case"x":if("{"===on[un])++un,l+=b();else{if(o=D(r),!o)throw te();l+=o}break;case"n":l+="\n";break;case"r":l+="\r";break;case"t":l+=" ";break;case"b":l+="\b";break;case"f":l+="\f";break;case"v":l+="";break;case"8":case"9":l+=r,ne();break;default:i(r)?(u=a(r),c=u.octal||c,l+=String.fromCharCode(u.code)):l+=r}else{if(s(r.charCodeAt(0)))break;l+=r}}return""!==e&&te(),{type:Gt.StringLiteral,value:l,octal:c,lineNumber:yn,lineStart:gn,start:n,end:un}}function I(){var e,t,r,a,o,u,l,c,p="";for(a=!1,u=!1,t=un,o="`"===on[un],r=2,++un;Dn>un;){if(e=on[un++],"`"===e){r=1,u=!0,a=!0;break}if("$"===e){if("{"===on[un]){wn.curlyStack.push("${"),++un,a=!0;break}p+=e}else if("\\"===e)if(e=on[un++],s(e.charCodeAt(0)))++ln,"\r"===e&&"\n"===on[un]&&++un,cn=un;else switch(e){case"n":p+="\n";break;case"r":p+="\r";break;case"t":p+=" ";break;case"u":case"x":"{"===on[un]?(++un,p+=b()):(l=un,c=D(e),c?p+=c:(un=l,p+=e));break;case"b":p+="\b";break;case"f":p+="\f";break;case"v":p+="";break;default:"0"===e?(n(on.charCodeAt(un))&&G(rn.TemplateOctalLiteral),p+="\x00"):i(e)?G(rn.TemplateOctalLiteral):p+=e}else s(e.charCodeAt(0))?(++ln,"\r"===e&&"\n"===on[un]&&++un,cn=un,p+="\n"):p+=e}return a||te(),o||wn.curlyStack.pop(),{type:Gt.Template,value:{cooked:p,raw:on.slice(t+1,un-r)},head:o,tail:u,lineNumber:ln,lineStart:cn,start:t,end:un}}function _(e,t){var n="ï¿¿",r=e;t.indexOf("u")>=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,r){var i=parseInt(t||r,16);return i>1114111&&te(null,rn.InvalidRegExp),65535>=i?String.fromCharCode(i):n}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n));try{RegExp(r)}catch(i){te(null,rn.InvalidRegExp)}try{return new RegExp(e,t)}catch(a){return null}}function T(){var e,n,r,i,a;for(e=on[un],t("/"===e,"Regular expression literal must start with a slash"),n=on[un++],r=!1,i=!1;Dn>un;)if(e=on[un++],n+=e,"\\"===e)e=on[un++],s(e.charCodeAt(0))&&te(null,rn.UnterminatedRegExp),n+=e;else if(s(e.charCodeAt(0)))te(null,rn.UnterminatedRegExp);else if(r)"]"===e&&(r=!1);else{if("/"===e){i=!0;break}"["===e&&(r=!0)}return i||te(null,rn.UnterminatedRegExp),a=n.substr(1,n.length-2),{value:a,literal:n}}function P(){var e,t,n,r;for(t="",n="";Dn>un&&(e=on[un],c(e.charCodeAt(0)));)if(++un,"\\"===e&&Dn>un)if(e=on[un],"u"===e){if(++un,r=un,e=D("u"))for(n+=e,t+="\\u";un>r;++r)t+=on[r];else un=r,n+="u",t+="\\u";ne()}else t+="\\",ne();else n+=e,t+=e;return{value:n,literal:t}}function L(){var e,t,n,r;return vn=!0,bn=null,v(),e=un,t=T(),n=P(),r=_(t.value,n.value),vn=!1,An.tokenize?{type:Gt.RegularExpression,value:r,regex:{pattern:t.value,flags:n.value},lineNumber:ln,lineStart:cn,start:e,end:un}:{literal:t.literal+n.literal,value:r,regex:{pattern:t.value,flags:n.value},start:e,end:un}}function R(){var e,t,n,r;return v(),e=un,t={start:{line:ln,column:un-cn}},n=L(),t.end={line:ln,column:un-cn},An.tokenize||(An.tokens.length>0&&(r=An.tokens[An.tokens.length-1],r.range[0]===e&&"Punctuator"===r.type&&("/"===r.value||"/="===r.value)&&An.tokens.pop()),An.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,un],loc:t})),n}function $(e){return e.type===Gt.Identifier||e.type===Gt.Keyword||e.type===Gt.BooleanLiteral||e.type===Gt.NullLiteral}function U(){function e(e){return e&&e.length>1&&e[0]>="a"&&e[0]<="z"}var t,n,r;switch(n=An.tokenValues[An.tokens.length-1],t=null!==n,n){case"this":case"]":t=!1;break;case")":r=An.tokenValues[An.openParenToken-1],t="if"===r||"while"===r||"for"===r||"with"===r;break;case"}":t=!1,e(An.tokenValues[An.openCurlyToken-3])?(r=An.tokenValues[An.openCurlyToken-4],t=r?en.indexOf(r)<0:!1):e(An.tokenValues[An.openCurlyToken-4])&&(r=An.tokenValues[An.openCurlyToken-5],t=r?en.indexOf(r)<0:!0)}return t?R():E()}function M(){var e,t;return un>=Dn?{type:Gt.EOF,lineNumber:ln,lineStart:cn,start:un,end:un}:(e=on.charCodeAt(un),l(e)?(t=x(),sn&&h(t.value)&&(t.type=Gt.Keyword),t):40===e||41===e||59===e?E():39===e||34===e?B():46===e?n(on.charCodeAt(un+1))?j():E():n(e)?j():An.tokenize&&47===e?U():96===e||125===e&&"${"===wn.curlyStack[wn.curlyStack.length-1]?I():e>=55296&&57343>e&&(e=w(un),l(e))?x():E())}function N(){var e,t,n,r;return e={start:{line:ln,column:un-cn}},t=M(),e.end={line:ln,column:un-cn},t.type!==Gt.EOF&&(n=on.slice(t.start,t.end),r={type:Zt[t.type],value:n,range:[t.start,t.end],loc:e},t.regex&&(r.regex={pattern:t.regex.pattern,flags:t.regex.flags}),An.tokenValues&&An.tokenValues.push("Punctuator"===r.type||"Keyword"===r.type?r.value:null),An.tokenize&&(An.range||delete r.range,An.loc||delete r.loc,An.delegate&&(r=An.delegate(r))),An.tokens.push(r)),t}function q(){var e;return vn=!0,hn=un,fn=ln,dn=cn,v(),e=bn,mn=un,yn=ln,gn=cn,bn="undefined"!=typeof An.tokens?N():M(),vn=!1,e}function H(){vn=!0,v(),hn=un,fn=ln,dn=cn,mn=un,yn=ln,gn=cn,bn="undefined"!=typeof An.tokens?N():M(),vn=!1}function V(){this.line=yn,this.column=mn-gn}function z(){this.start=new V,this.end=null}function Y(e){this.start={line:e.lineNumber,column:e.start-e.lineStart},this.end=null}function J(){An.range&&(this.range=[mn,0]),An.loc&&(this.loc=new z)}function W(e){An.range&&(this.range=[e.start,0]),An.loc&&(this.loc=new Y(e))}function K(e){var t,n;for(t=0;t>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function ce(){return 59===on.charCodeAt(mn)||oe(";")?void q():void(pn||(hn=mn,fn=yn,dn=gn,bn.type===Gt.EOF||oe("}")||te(bn)))}function pe(e){var t,n=Cn,r=xn,i=En;return Cn=!0,xn=!0,En=null,t=e(),null!==En&&te(En),Cn=n,xn=r,En=i,t}function he(e){var t,n=Cn,r=xn,i=En;return Cn=!0,xn=!0,En=null,t=e(),Cn=Cn&&n,xn=xn&&r,En=i||En,t}function fe(e,t){var n,r,i=new J,a=[];for(re("[");!oe("]");)if(oe(","))q(),a.push(null);else{if(oe("...")){r=new J,q(),e.push(bn),n=Ze(t),a.push(r.finishRestElement(n));break}a.push(ge(e,t)),oe("]")||re(",")}return re("]"),i.finishArrayPattern(a)}function de(e,t){var n,r,i,a=new J,o=oe("[");if(bn.type===Gt.Identifier){if(r=bn,n=Ze(),oe("="))return e.push(r),q(),i=We(),a.finishProperty("init",n,!1,new W(r).finishAssignmentPattern(n,i),!1,!1);if(!oe(":"))return e.push(r),a.finishProperty("init",n,!1,n,!1,!0)}else n=we();return re(":"),i=ge(e,t),a.finishProperty("init",n,o,i,!1,!1)}function me(e,t){var n=new J,r=[];for(re("{");!oe("}");)r.push(de(e,t)),oe("}")||re(",");return q(),n.finishObjectPattern(r)}function ye(e,t){return oe("[")?fe(e,t):oe("{")?me(e,t):(se("let")&&("const"===t||"let"===t)&&ne(bn,rn.UnexpectedToken),e.push(bn),Ze(t))}function ge(e,t){var n,r,i,a=bn;return n=ye(e,t),oe("=")&&(q(),r=wn.allowYield,wn.allowYield=!0,i=pe(We),wn.allowYield=r,n=new W(a).finishAssignmentPattern(n,i)),n}function ve(){var e,t=[],n=new J;for(re("[");!oe("]");)oe(",")?(q(),t.push(null)):oe("...")?(e=new J,q(),e.finishSpreadElement(he(We)),oe("]")||(xn=Cn=!1,re(",")),t.push(e)):(t.push(he(We)),oe("]")||re(","));return q(),n.finishArrayExpression(t)}function De(e,t,n){var r,i;return xn=Cn=!1,r=sn,i=pe(St),sn&&t.firstRestricted&&ne(t.firstRestricted,t.message),sn&&t.stricted&&ne(t.stricted,t.message),sn=r,e.finishFunctionExpression(null,t.params,t.defaults,i,n)}function be(){var e,t,n=new J,r=wn.allowYield;return wn.allowYield=!1,e=jt(),wn.allowYield=r,wn.allowYield=!1,t=De(n,e,!1),wn.allowYield=r,t}function we(){var e,t,n=new J;switch(e=q(),e.type){case Gt.StringLiteral:case Gt.NumericLiteral:return sn&&e.octal&&ne(e,rn.StrictOctalLiteral),n.finishLiteral(e);case Gt.Identifier:case Gt.BooleanLiteral:case Gt.NullLiteral:case Gt.Keyword:return n.finishIdentifier(e.value);case Gt.Punctuator:if("["===e.value)return t=pe(We),re("]"),t}te(e)}function Ae(){switch(bn.type){case Gt.Identifier:case Gt.StringLiteral:case Gt.BooleanLiteral:case Gt.NullLiteral:case Gt.NumericLiteral:case Gt.Keyword:return!0;case Gt.Punctuator:return"["===bn.value}return!1}function Ce(e,t,n,r){var i,a,o,s,u=wn.allowYield;if(e.type===Gt.Identifier){if("get"===e.value&&Ae())return n=oe("["),t=we(),o=new J,re("("),re(")"),wn.allowYield=!1,i=De(o,{params:[],defaults:[],stricted:null,firstRestricted:null,message:null},!1),wn.allowYield=u,r.finishProperty("get",t,n,i,!1,!1);if("set"===e.value&&Ae())return n=oe("["),t=we(),o=new J,re("("),a={params:[],defaultCount:0,defaults:[],firstRestricted:null,paramSet:{}},oe(")")?ne(bn):(wn.allowYield=!1,Ot(a),wn.allowYield=u,0===a.defaultCount&&(a.defaults=[])),re(")"),wn.allowYield=!1,i=De(o,a,!1),wn.allowYield=u,r.finishProperty("set",t,n,i,!1,!1)}else if(e.type===Gt.Punctuator&&"*"===e.value&&Ae())return n=oe("["),t=we(),o=new J,wn.allowYield=!0,s=jt(),wn.allowYield=u,wn.allowYield=!1,i=De(o,s,!0),wn.allowYield=u,r.finishProperty("init",t,n,i,!0,!1);return t&&oe("(")?(i=be(),r.finishProperty("init",t,n,i,!0,!1)):null}function xe(e){var t,n,r,i,a,o=bn,s=new J;return t=oe("["),oe("*")?q():n=we(),(r=Ce(o,n,t,s))?r:(n||te(bn),t||(i=n.type===tn.Identifier&&"__proto__"===n.name||n.type===tn.Literal&&"__proto__"===n.value,e.value&&i&&Z(rn.DuplicateProtoProperty),e.value|=i),oe(":")?(q(),a=he(We),s.finishProperty("init",n,t,a,!1,!1)):o.type===Gt.Identifier?oe("=")?(En=bn,q(),a=pe(We),s.finishProperty("init",n,t,new W(o).finishAssignmentPattern(n,a),!1,!0)):s.finishProperty("init",n,t,n,!1,!0):void te(bn))}function Ee(){var e=[],t={value:!1},n=new J;for(re("{");!oe("}");)e.push(xe(t)),oe("}")||ie();return re("}"),n.finishObjectExpression(e)}function Fe(e){var t;switch(e.type){case tn.Identifier:case tn.MemberExpression:case tn.RestElement:case tn.AssignmentPattern:break;case tn.SpreadElement:e.type=tn.RestElement,Fe(e.argument);break;case tn.ArrayExpression:for(e.type=tn.ArrayPattern,t=0;t")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[],rawParams:[]};if(n=bn,oe("..."))return e=lt(i),re(")"),oe("=>")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[e]};if(Cn=!0,e=he(We),oe(",")){for(xn=!1,t=[e];Dn>mn&&oe(",");){if(q(),oe("...")){for(Cn||te(bn),t.push(lt(i)),re(")"),oe("=>")||re("=>"),Cn=!1,r=0;r")){if(e.type===tn.Identifier&&"yield"===e.name)return{type:nn.ArrowParameterPlaceHolder,params:[e]};if(Cn||te(bn),e.type===tn.SequenceExpression)for(r=0;rmn&&(oe("...")?(e=new J,q(),e.finishSpreadElement(pe(We))):e=pe(We),t.push(e),!oe(")"));)ie();return re(")"),t}function Ie(){var e,t=new J;return e=q(),$(e)||te(e),t.finishIdentifier(e.value)}function _e(){return re("."),Ie()}function Te(){var e;return re("["),e=pe(Ke),re("]"),e}function Pe(){var e,t,n=new J;if(ae("new"),oe(".")){if(q(),bn.type===Gt.Identifier&&"target"===bn.value&&wn.inFunctionBody)return q(),n.finishMetaProperty("new","target");te(bn)}return e=pe(Re),t=oe("(")?Be():[],xn=Cn=!1,n.finishNewExpression(e,t)}function Le(){var e,t,n,r,i,a=wn.allowIn;for(i=bn,wn.allowIn=!0,se("super")&&wn.inFunctionBody?(t=new J,q(),t=t.finishSuper(),oe("(")||oe(".")||oe("[")||te(bn)):t=he(se("new")?Pe:je);;)if(oe("."))Cn=!1,xn=!0,r=_e(),t=new W(i).finishMemberExpression(".",t,r);else if(oe("("))Cn=!1,xn=!1,n=Be(),t=new W(i).finishCallExpression(t,n);else if(oe("["))Cn=!1,xn=!0,r=Te(),t=new W(i).finishMemberExpression("[",t,r);else{if(bn.type!==Gt.Template||!bn.head)break;e=ke(),t=new W(i).finishTaggedTemplateExpression(t,e)}return wn.allowIn=a,t}function Re(){var e,n,r,i;for(t(wn.allowIn,"callee of new expression always allow in keyword."),i=bn,se("super")&&wn.inFunctionBody?(n=new J,q(),n=n.finishSuper(),oe("[")||oe(".")||te(bn)):n=he(se("new")?Pe:je);;)if(oe("["))Cn=!1,xn=!0,r=Te(),n=new W(i).finishMemberExpression("[",n,r);else if(oe("."))Cn=!1,xn=!0,r=_e(),n=new W(i).finishMemberExpression(".",n,r);else{if(bn.type!==Gt.Template||!bn.head)break;e=ke(),n=new W(i).finishTaggedTemplateExpression(n,e)}return n}function $e(){var e,t,n=bn;return e=he(Le),pn||bn.type!==Gt.Punctuator||(oe("++")||oe("--"))&&(sn&&e.type===tn.Identifier&&f(e.name)&&Z(rn.StrictLHSPostfix),xn||Z(rn.InvalidLHSInAssignment),xn=Cn=!1,t=q(),e=new W(n).finishPostfixExpression(t.value,e)),e}function Ue(){var e,t,n;return bn.type!==Gt.Punctuator&&bn.type!==Gt.Keyword?t=$e():oe("++")||oe("--")?(n=bn,e=q(),t=he(Ue),sn&&t.type===tn.Identifier&&f(t.name)&&Z(rn.StrictLHSPrefix),xn||Z(rn.InvalidLHSInAssignment),t=new W(n).finishUnaryExpression(e.value,t),xn=Cn=!1):oe("+")||oe("-")||oe("~")||oe("!")?(n=bn,e=q(),t=he(Ue),t=new W(n).finishUnaryExpression(e.value,t),xn=Cn=!1):se("delete")||se("void")||se("typeof")?(n=bn,e=q(),t=he(Ue),t=new W(n).finishUnaryExpression(e.value,t),sn&&"delete"===t.operator&&t.argument.type===tn.Identifier&&Z(rn.StrictDelete),xn=Cn=!1):t=$e(),t}function Me(e,t){var n=0;if(e.type!==Gt.Punctuator&&e.type!==Gt.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function Ne(){var e,t,n,r,i,a,o,s,u,l;if(e=bn,u=he(Ue),r=bn,i=Me(r,wn.allowIn),0===i)return u;for(xn=Cn=!1,r.prec=i,q(),t=[e,bn],o=pe(Ue),a=[u,r,o];(i=Me(bn,wn.allowIn))>0;){for(;a.length>2&&i<=a[a.length-2].prec;)o=a.pop(),s=a.pop().value,u=a.pop(),t.pop(),n=new W(t[t.length-1]).finishBinaryExpression(s,u,o),a.push(n);r=q(),r.prec=i,a.push(r),t.push(bn),n=pe(Ue),a.push(n)}for(l=a.length-1,n=a[l],t.pop();l>1;)n=new W(t.pop()).finishBinaryExpression(a[l-1].value,a[l-2],n),l-=2;return n}function qe(){var e,t,n,r,i;return i=bn,e=he(Ne),oe("?")&&(q(),t=wn.allowIn,wn.allowIn=!0,n=pe(We),wn.allowIn=t,re(":"),r=pe(We),e=new W(i).finishConditionalExpression(e,n,r),xn=Cn=!1),e}function He(){return oe("{")?St():pe(We)}function Ve(e,n){var r;switch(n.type){case tn.Identifier:kt(e,n,n.name);break;case tn.RestElement:Ve(e,n.argument);break;case tn.AssignmentPattern:Ve(e,n.left);break;case tn.ArrayPattern:for(r=0;rt;t+=1)switch(r=i[t],r.type){case tn.AssignmentPattern:i[t]=r.left,r.right.type===tn.YieldExpression&&(r.right.argument&&te(bn),r.right.type=tn.Identifier,r.right.name="yield",delete r.right.argument,delete r.right.delegate),a.push(r.right),++o,Ve(s,r.left);break;default:Ve(s,r),i[t]=r,a.push(null)}if(sn||!wn.allowYield)for(t=0,n=i.length;n>t;t+=1)r=i[t],r.type===tn.YieldExpression&&te(bn);return s.message===rn.StrictParamDupe&&(u=sn?s.stricted:s.firstRestricted,te(u,s.message)),0===o&&(a=[]),{params:i,defaults:a,stricted:s.stricted,firstRestricted:s.firstRestricted,message:s.message}}function Ye(e,t){var n,r,i;return pn&&ne(bn),re("=>"),n=sn,r=wn.allowYield,wn.allowYield=!0,i=He(),sn&&e.firstRestricted&&te(e.firstRestricted,e.message),sn&&e.stricted&&ne(e.stricted,e.message),sn=n,wn.allowYield=r,t.finishArrowFunctionExpression(e.params,e.defaults,i,i.type!==tn.BlockStatement)}function Je(){var e,t,n,r;return e=null,t=new J,n=!1,ae("yield"),pn||(r=wn.allowYield,wn.allowYield=!1,n=oe("*"),n?(q(),e=We()):oe(";")||oe("}")||oe(")")||bn.type===Gt.EOF||(e=We()),wn.allowYield=r),t.finishYieldExpression(e,n)}function We(){var e,t,n,r,i;return i=bn,e=bn,!wn.allowYield&&se("yield")?Je():(t=qe(),t.type===nn.ArrowParameterPlaceHolder||oe("=>")?(xn=Cn=!1,r=ze(t),r?(En=null,Ye(r,new W(i))):t):(le()&&(xn||Z(rn.InvalidLHSInAssignment),sn&&t.type===tn.Identifier&&(f(t.name)&&ne(e,rn.StrictLHSAssignment),h(t.name)&&ne(e,rn.StrictReservedWord)),oe("=")?Fe(t):xn=Cn=!1,e=q(),n=pe(We),t=new W(i).finishAssignmentExpression(e.value,t,n),En=null),t))}function Ke(){var e,t,n=bn;if(e=pe(We),oe(",")){for(t=[e];Dn>mn&&oe(",");)q(),t.push(pe(We));e=new W(n).finishSequenceExpression(t)}return e}function Qe(){if(bn.type===Gt.Keyword)switch(bn.value){case"export":return"module"!==wn.sourceType&&ne(bn,rn.IllegalExportDeclaration),Nt();case"import":return"module"!==wn.sourceType&&ne(bn,rn.IllegalImportDeclaration),Yt();case"const":return ut({inFor:!1});case"function":return Bt(new J);case"class":return Tt()}return se("let")&&st()?ut({inFor:!1}):Ft()}function Xe(){for(var e=[];Dn>mn&&!oe("}");)e.push(Qe());return e}function Ge(){var e,t=new J;return re("{"),e=Xe(),re("}"),t.finishBlockStatement(e)}function Ze(e){var t,n=new J;return t=q(),t.type===Gt.Keyword&&"yield"===t.value?(sn&&ne(t,rn.StrictReservedWord),wn.allowYield||te(t)):t.type!==Gt.Identifier?sn&&t.type===Gt.Keyword&&h(t.value)?ne(t,rn.StrictReservedWord):(sn||"let"!==t.value||"var"!==e)&&te(t):"module"===wn.sourceType&&t.type===Gt.Identifier&&"await"===t.value&&ne(t),n.finishIdentifier(t.value)}function et(e){var t,n=null,r=new J,i=[];return t=ye(i,"var"),sn&&f(t.name)&&Z(rn.StrictVarName),oe("=")?(q(),n=pe(We)):t.type===tn.Identifier||e.inFor||re("="),
+}function d(e){return!(e>=32&&126>=e||133===e||e>=160&&55295>=e||e>=57344&&65533>=e||e>=65536&&1114111>=e)}function m(e,t,n){var r,i,a="",o=e.tag;for(r=0,i=n.length;i>r;r+=1)b(e,t,n[r],!1,!1)&&(0!==r&&(a+=", "),a+=e.dump);e.tag=o,e.dump="["+a+"]"}function y(e,t,n,r){var i,a,o="",u=e.tag;for(i=0,a=n.length;a>i;i+=1)b(e,t+1,n[i],!0,!0)&&(r&&0===i||(o+=s(e,t)),o+="- "+e.dump);e.tag=u,e.dump=o||"[]"}function g(e,t,n){var r,i,a,o,s,u="",l=e.tag,c=Object.keys(n);for(r=0,i=c.length;i>r;r+=1)s="",0!==r&&(s+=", "),a=c[r],o=n[a],b(e,t,a,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+": ",b(e,t,o,!1,!1)&&(s+=e.dump,u+=s));e.tag=l,e.dump="{"+u+"}"}function v(e,t,n,r){var i,a,o,u,l,c,p="",h=e.tag,f=Object.keys(n);if(e.sortKeys===!0)f.sort();else if("function"==typeof e.sortKeys)f.sort(e.sortKeys);else if(e.sortKeys)throw new F("sortKeys must be a boolean or a function");for(i=0,a=f.length;a>i;i+=1)c="",r&&0===i||(c+=s(e,t)),o=f[i],u=n[o],b(e,t+1,o,!0,!0,!0)&&(l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024,l&&(c+=e.dump&&I===e.dump.charCodeAt(0)?"?":"? "),c+=e.dump,l&&(c+=s(e,t)),b(e,t+1,u,!0,l)&&(c+=e.dump&&I===e.dump.charCodeAt(0)?":":": ",c+=e.dump,p+=c));e.tag=h,e.dump=p||"{}"}function D(e,t,n){var r,i,a,o,s,u;for(i=n?e.explicitTypes:e.implicitTypes,a=0,o=i.length;o>a;a+=1)if(s=i[a],(s.instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof t&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(e.tag=n?s.tag:"?",s.represent){if(u=e.styleMap[s.tag]||s.defaultStyle,"[object Function]"===O.call(s.represent))r=s.represent(t,u);else{if(!j.call(s.represent,u))throw new F("!<"+s.tag+'> tag resolver accepts not "'+u+'" style');r=s.represent[u](t,u)}e.dump=r}return!0}return!1}function b(e,t,n,r,i,a){e.tag=null,e.dump=n,D(e,n,!1)||D(e,n,!0);var o=O.call(e.dump);r&&(r=0>e.flowLevel||e.flowLevel>t);var s,u,l="[object Object]"===o||"[object Array]"===o;if(l&&(s=e.duplicates.indexOf(n),u=-1!==s),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(i=!1),u&&e.usedDuplicates[s])e.dump="*ref_"+s;else{if(l&&u&&!e.usedDuplicates[s]&&(e.usedDuplicates[s]=!0),"[object Object]"===o)r&&0!==Object.keys(e.dump).length?(v(e,t,e.dump,i),u&&(e.dump="&ref_"+s+e.dump)):(g(e,t,e.dump),u&&(e.dump="&ref_"+s+" "+e.dump));else if("[object Array]"===o)r&&0!==e.dump.length?(y(e,t,e.dump,i),u&&(e.dump="&ref_"+s+e.dump)):(m(e,t,e.dump),u&&(e.dump="&ref_"+s+" "+e.dump));else{if("[object String]"!==o){if(e.skipInvalid)return!1;throw new F("unacceptable kind of an object to dump "+o)}"?"!==e.tag&&c(e,e.dump,t,a)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function w(e,t){var n,r,i=[],a=[];for(A(e,i,a),n=0,r=a.length;r>n;n+=1)t.duplicates.push(i[a[n]]);t.usedDuplicates=new Array(r)}function A(e,t,n){var r,i,a;if(null!==e&&"object"==typeof e)if(i=t.indexOf(e),-1!==i)-1===n.indexOf(i)&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;a>i;i+=1)A(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;a>i;i+=1)A(e[r[i]],t,n)}function C(e,t){t=t||{};var n=new a(t);return w(e,n),b(n,0,e,!0,!0)?n.dump+"\n":""}function x(e,t){return C(e,E.extend({schema:k},t))}var E=e("./common"),F=e("./exception"),S=e("./schema/default_full"),k=e("./schema/default_safe"),O=Object.prototype.toString,j=Object.prototype.hasOwnProperty,B=9,I=10,_=13,T=32,P=33,L=34,R=35,$=37,U=38,M=39,N=42,q=44,H=45,V=58,z=62,Y=63,J=64,W=91,K=93,Q=96,X=123,G=124,Z=125,ee={};ee[0]="\\0",ee[7]="\\a",ee[8]="\\b",ee[9]="\\t",ee[10]="\\n",ee[11]="\\v",ee[12]="\\f",ee[13]="\\r",ee[27]="\\e",ee[34]='\\"',ee[92]="\\\\",ee[133]="\\N",ee[160]="\\_",ee[8232]="\\L",ee[8233]="\\P";var te=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];l.prototype.takeUpTo=function(e){var t;if(e checkpoint"),t.position=e,t.checkpoint=this.checkpoint,t;return this.result+=this.source.slice(this.checkpoint,e),this.checkpoint=e,this},l.prototype.escapeChar=function(){var e,t;return e=this.source.charCodeAt(this.checkpoint),t=ee[e]||i(e),this.result+=t,this.checkpoint+=1,this},l.prototype.finish=function(){this.source.length>this.checkpoint&&this.takeUpTo(this.source.length)},t.exports.dump=C,t.exports.safeDump=x},{"./common":22,"./exception":24,"./schema/default_full":29,"./schema/default_safe":30}],24:[function(e,t,n){"use strict";function r(e,t){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"")}var i=e("inherit");i(r,Error),r.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},t.exports=r},{inherit:51}],25:[function(e,t,n){"use strict";function r(e){return 10===e||13===e}function i(e){return 9===e||32===e}function a(e){return 9===e||32===e||10===e||13===e}function o(e){return 44===e||91===e||93===e||123===e||125===e}function s(e){var t;return e>=48&&57>=e?e-48:(t=32|e,t>=97&&102>=t?t-97+10:-1)}function u(e){return 120===e?2:117===e?4:85===e?8:0}function l(e){return e>=48&&57>=e?e-48:-1}function c(e){return 48===e?"\x00":97===e?"":98===e?"\b":116===e?" ":9===e?" ":110===e?"\n":118===e?"\x0B":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"Â…":95===e?"Â ":76===e?"\u2028":80===e?"\u2029":""}function p(e){return 65535>=e?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function h(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||V,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function f(e,t){return new N(t,new q(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function d(e,t){throw f(e,t)}function m(e,t){e.onWarning&&e.onWarning.call(null,f(e,t))}function y(e,t,n,r){var i,a,o,s;if(n>t){if(s=e.input.slice(t,n),r)for(i=0,a=s.length;a>i;i+=1)o=s.charCodeAt(i),9===o||o>=32&&1114111>=o||d(e,"expected valid JSON character");else Z.test(s)&&d(e,"the stream contains non-printable characters");e.result+=s}}function g(e,t,n){var r,i,a,o;for(M.isObject(n)||d(e,"cannot merge mappings; the provided source object is unacceptable"),r=Object.keys(n),a=0,o=r.length;o>a;a+=1)i=r[a],z.call(t,i)||(t[i]=n[i])}function v(e,t,n,r,i){var a,o;if(r=String(r),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(a=0,o=i.length;o>a;a+=1)g(e,t,i[a]);else g(e,t,i);else t[r]=i;return t}function D(e){var t;t=e.input.charCodeAt(e.position),10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):d(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function b(e,t,n){for(var a=0,o=e.input.charCodeAt(e.position);0!==o;){for(;i(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o);if(!r(o))break;for(D(e),o=e.input.charCodeAt(e.position),a++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==a&&e.lineIndent1&&(e.result+=M.repeat("\n",t-1))}function C(e,t,n){var s,u,l,c,p,h,f,d,m,g=e.kind,v=e.result;if(m=e.input.charCodeAt(e.position),a(m)||o(m)||35===m||38===m||42===m||33===m||124===m||62===m||39===m||34===m||37===m||64===m||96===m)return!1;if((63===m||45===m)&&(u=e.input.charCodeAt(e.position+1),a(u)||n&&o(u)))return!1;for(e.kind="scalar",e.result="",l=c=e.position,p=!1;0!==m;){if(58===m){if(u=e.input.charCodeAt(e.position+1),a(u)||n&&o(u))break}else if(35===m){if(s=e.input.charCodeAt(e.position-1),a(s))break}else{if(e.position===e.lineStart&&w(e)||n&&o(m))break;if(r(m)){if(h=e.line,f=e.lineStart,d=e.lineIndent,b(e,!1,-1),e.lineIndent>=t){p=!0,m=e.input.charCodeAt(e.position);continue}e.position=c,e.line=h,e.lineStart=f,e.lineIndent=d;break}}p&&(y(e,l,c,!1),A(e,e.line-h),l=c=e.position,p=!1),i(m)||(c=e.position+1),m=e.input.charCodeAt(++e.position)}return y(e,l,c,!1),e.result?!0:(e.kind=g,e.result=v,!1)}function x(e,t){var n,i,a;if(n=e.input.charCodeAt(e.position),39!==n)return!1;for(e.kind="scalar",e.result="",e.position++,i=a=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(y(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=a=e.position,e.position++}else r(n)?(y(e,i,a,!0),A(e,b(e,!1,t)),i=a=e.position):e.position===e.lineStart&&w(e)?d(e,"unexpected end of the document within a single quoted scalar"):(e.position++,a=e.position);d(e,"unexpected end of the stream within a single quoted scalar")}function E(e,t){var n,i,a,o,l,c;if(c=e.input.charCodeAt(e.position),34!==c)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(c=e.input.charCodeAt(e.position));){if(34===c)return y(e,n,e.position,!0),e.position++,!0;if(92===c){if(y(e,n,e.position,!0),c=e.input.charCodeAt(++e.position),r(c))b(e,!1,t);else if(256>c&&ie[c])e.result+=ae[c],e.position++;else if((l=u(c))>0){for(a=l,o=0;a>0;a--)c=e.input.charCodeAt(++e.position),(l=s(c))>=0?o=(o<<4)+l:d(e,"expected hexadecimal character");e.result+=p(o),e.position++}else d(e,"unknown escape sequence");n=i=e.position}else r(c)?(y(e,n,i,!0),A(e,b(e,!1,t)),n=i=e.position):e.position===e.lineStart&&w(e)?d(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}d(e,"unexpected end of the stream within a double quoted scalar")}function F(e,t){var n,r,i,o,s,u,l,c,p,h,f,m=!0,y=e.tag,g=e.anchor;if(f=e.input.charCodeAt(e.position),91===f)o=93,l=!1,r=[];else{if(123!==f)return!1;o=125,l=!0,r={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=r),f=e.input.charCodeAt(++e.position);0!==f;){if(b(e,!0,t),f=e.input.charCodeAt(e.position),f===o)return e.position++,e.tag=y,e.anchor=g,e.kind=l?"mapping":"sequence",e.result=r,!0;m||d(e,"missed comma between flow collection entries"),p=c=h=null,s=u=!1,63===f&&(i=e.input.charCodeAt(e.position+1),a(i)&&(s=u=!0,e.position++,b(e,!0,t))),n=e.line,_(e,t,Y,!1,!0),p=e.tag,c=e.result,b(e,!0,t),f=e.input.charCodeAt(e.position),!u&&e.line!==n||58!==f||(s=!0,f=e.input.charCodeAt(++e.position),b(e,!0,t),_(e,t,Y,!1,!0),h=e.result),l?v(e,r,p,c,h):s?r.push(v(e,null,p,c,h)):r.push(c),b(e,!0,t),f=e.input.charCodeAt(e.position),44===f?(m=!0,f=e.input.charCodeAt(++e.position)):m=!1}d(e,"unexpected end of the stream within a flow collection")}function S(e,t){var n,a,o,s,u=Q,c=!1,p=t,h=0,f=!1;if(s=e.input.charCodeAt(e.position),124===s)a=!1;else{if(62!==s)return!1;a=!0}for(e.kind="scalar",e.result="";0!==s;)if(s=e.input.charCodeAt(++e.position),43===s||45===s)Q===u?u=43===s?G:X:d(e,"repeat of a chomping mode identifier");else{if(!((o=l(s))>=0))break;0===o?d(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?d(e,"repeat of an indentation width identifier"):(p=t+o-1,c=!0)}if(i(s)){do s=e.input.charCodeAt(++e.position);while(i(s));if(35===s)do s=e.input.charCodeAt(++e.position);while(!r(s)&&0!==s)}for(;0!==s;){for(D(e),e.lineIndent=0,s=e.input.charCodeAt(e.position);(!c||e.lineIndentp&&(p=e.lineIndent),r(s))h++;else{if(e.lineIndent
t)&&0!==i)d(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(_(e,t,K,!0,o)&&(y?f=e.result:m=e.result),y||(v(e,p,h,f,m),h=f=m=null),b(e,!0,-1),u=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==u)d(e,"bad indentation of a mapping entry");else if(e.lineIndentt?f=1:e.lineIndent===t?f=0:e.lineIndentt?f=1:e.lineIndent===t?f=0:e.lineIndentu;u+=1)if(c=e.implicitTypes[u],c.resolve(e.result)){e.result=c.construct(e.result),e.tag=c.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else z.call(e.typeMap,e.tag)?(c=e.typeMap[e.tag],null!==e.result&&c.kind!==e.kind&&d(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+c.kind+'", not "'+e.kind+'"'),c.resolve(e.result)?(e.result=c.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):d(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):d(e,"unknown tag !<"+e.tag+">");return null!==e.tag||null!==e.anchor||y}function T(e){var t,n,o,s,u=e.position,l=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(s=e.input.charCodeAt(e.position))&&(b(e,!0,-1),s=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==s));){for(l=!0,s=e.input.charCodeAt(++e.position),t=e.position;0!==s&&!a(s);)s=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),o=[],n.length<1&&d(e,"directive name must not be less than one character in length");0!==s;){for(;i(s);)s=e.input.charCodeAt(++e.position);if(35===s){do s=e.input.charCodeAt(++e.position);while(0!==s&&!r(s));break}if(r(s))break;for(t=e.position;0!==s&&!a(s);)s=e.input.charCodeAt(++e.position);o.push(e.input.slice(t,e.position))}0!==s&&D(e),z.call(se,n)?se[n](e,n,o):m(e,'unknown document directive "'+n+'"')}return b(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,b(e,!0,-1)):l&&d(e,"directives end mark is expected"),_(e,e.lineIndent-1,K,!1,!0),b(e,!0,-1),e.checkLineBreaks&&ee.test(e.input.slice(u,e.position))&&m(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&w(e)?void(46===e.input.charCodeAt(e.position)&&(e.position+=3,b(e,!0,-1))):void(e.positionr;r+=1)t(a[r])}function R(e,t){var n=P(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new N("expected a single document in the stream, but found more")}}function $(e,t,n){L(e,t,M.extend({schema:H},n))}function U(e,t){return R(e,M.extend({schema:H},t))}for(var M=e("./common"),N=e("./exception"),q=e("./mark"),H=e("./schema/default_safe"),V=e("./schema/default_full"),z=Object.prototype.hasOwnProperty,Y=1,J=2,W=3,K=4,Q=1,X=2,G=3,Z=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ee=/[\x85\u2028\u2029]/,te=/[,\[\]\{\}]/,ne=/^(?:!|!!|![a-z\-]+!)$/i,re=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,ie=new Array(256),ae=new Array(256),oe=0;256>oe;oe++)ie[oe]=c(oe)?1:0,ae[oe]=c(oe);var se={YAML:function(e,t,n){var r,i,a;null!==e.version&&d(e,"duplication of %YAML directive"),1!==n.length&&d(e,"YAML directive accepts exactly one argument"),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===r&&d(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),a=parseInt(r[2],10),1!==i&&d(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=2>a,1!==a&&2!==a&&m(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&d(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],ne.test(r)||d(e,"ill-formed tag handle (first argument) of the TAG directive"),z.call(e.tagMap,r)&&d(e,'there is a previously declared suffix for "'+r+'" tag handle'),re.test(i)||d(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=i}};t.exports.loadAll=L,t.exports.load=R,t.exports.safeLoadAll=$,t.exports.safeLoad=U},{"./common":22,"./exception":24,"./mark":26,"./schema/default_full":29,"./schema/default_safe":30}],26:[function(e,t,n){"use strict";function r(e,t,n,r,i){this.name=e,this.buffer=t,this.position=n,this.line=r,this.column=i}var i=e("./common");r.prototype.getSnippet=function(e,t){var n,r,a,o,s;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",r=this.position;r>0&&-1==="\x00\r\nÂ…\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(a="",o=this.position;ot/2-1){a=" ... ",o-=5;break}return s=this.buffer.slice(r,o),i.repeat(" ",e)+n+s+a+"\n"+i.repeat(" ",e+this.position-r+n.length)+"^"},r.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet(),t&&(n+=":\n"+t)),n},t.exports=r},{"./common":22}],27:[function(e,t,n){"use strict";function r(e,t,n){var i=[];return e.include.forEach(function(e){n=r(e,t,n)}),e[t].forEach(function(e){n.forEach(function(t,n){t.tag===e.tag&&i.push(n)}),n.push(e)}),n.filter(function(e,t){return-1===i.indexOf(t)})}function i(){function e(e){r[e.tag]=e}var t,n,r={};for(t=0,n=arguments.length;n>t;t+=1)arguments[t].forEach(e);return r}function a(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=r(this,"implicit",[]),this.compiledExplicit=r(this,"explicit",[]),this.compiledTypeMap=i(this.compiledImplicit,this.compiledExplicit)}var o=e("./common"),s=e("./exception"),u=e("./type");a.DEFAULT=null,a.create=function(){var e,t;switch(arguments.length){case 1:e=a.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new s("Wrong number of arguments for Schema.create function")}if(e=o.toArray(e),t=o.toArray(t),!e.every(function(e){return e instanceof a}))throw new s("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every(function(e){return e instanceof u}))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new a({include:e,explicit:t})},t.exports=a},{"./common":22,"./exception":24,"./type":33}],28:[function(e,t,n){"use strict";var r=e("../schema");t.exports=new r({include:[e("./json")]})},{"../schema":27,"./json":32}],29:[function(e,t,n){"use strict";var r=e("../schema");t.exports=r.DEFAULT=new r({include:[e("./default_safe")],explicit:[e("../type/js/undefined"),e("../type/js/regexp"),e("../type/js/function")]})},{"../schema":27,"../type/js/function":38,"../type/js/regexp":39,"../type/js/undefined":40,"./default_safe":30}],30:[function(e,t,n){"use strict";var r=e("../schema");t.exports=new r({include:[e("./core")],implicit:[e("../type/timestamp"),e("../type/merge")],explicit:[e("../type/binary"),e("../type/omap"),e("../type/pairs"),e("../type/set")]})},{"../schema":27,"../type/binary":34,"../type/merge":42,"../type/omap":44,"../type/pairs":45,"../type/set":47,"../type/timestamp":49,"./core":28}],31:[function(e,t,n){"use strict";var r=e("../schema");t.exports=new r({explicit:[e("../type/str"),e("../type/seq"),e("../type/map")]})},{"../schema":27,"../type/map":41,"../type/seq":46,"../type/str":48}],32:[function(e,t,n){"use strict";var r=e("../schema");t.exports=new r({include:[e("./failsafe")],implicit:[e("../type/null"),e("../type/bool"),e("../type/int"),e("../type/float")]})},{"../schema":27,"../type/bool":35,"../type/float":36,"../type/int":37,"../type/null":43,"./failsafe":31}],33:[function(e,t,n){"use strict";function r(e){var t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function i(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===o.indexOf(t))throw new a('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=r(t.styleAliases||null),-1===s.indexOf(this.kind))throw new a('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var a=e("./exception"),o=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],s=["scalar","sequence","mapping"];t.exports=i},{"./exception":24}],34:[function(e,t,n){"use strict";function r(e){if(null===e)return!1;var t,n,r=0,i=e.length,a=l;for(n=0;i>n;n++)if(t=a.indexOf(e.charAt(n)),!(t>64)){if(0>t)return!1;r+=6}return r%8===0}function i(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=l,o=0,u=[];for(t=0;i>t;t++)t%4===0&&t&&(u.push(o>>16&255),u.push(o>>8&255),u.push(255&o)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,0===n?(u.push(o>>16&255),u.push(o>>8&255),u.push(255&o)):18===n?(u.push(o>>10&255),u.push(o>>2&255)):12===n&&u.push(o>>4&255),s?new s(u):u}function a(e){var t,n,r="",i=0,a=e.length,o=l;for(t=0;a>t;t++)t%3===0&&t&&(r+=o[i>>18&63],r+=o[i>>12&63],r+=o[i>>6&63],r+=o[63&i]),i=(i<<8)+e[t];return n=a%3,0===n?(r+=o[i>>18&63],r+=o[i>>12&63],r+=o[i>>6&63],r+=o[63&i]):2===n?(r+=o[i>>10&63],r+=o[i>>4&63],r+=o[i<<2&63],r+=o[64]):1===n&&(r+=o[i>>2&63],r+=o[i<<4&63],r+=o[64],r+=o[64]),r}function o(e){return s&&s.isBuffer(e)}var s=e("buffer").Buffer,u=e("../type"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";t.exports=new u("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a})},{"../type":33,buffer:12}],35:[function(e,t,n){"use strict";function r(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)}function i(e){return"true"===e||"True"===e||"TRUE"===e}function a(e){return"[object Boolean]"===Object.prototype.toString.call(e)}var o=e("../type");t.exports=new o("tag:yaml.org,2002:bool",{kind:"scalar",resolve:r,construct:i,predicate:a,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},{"../type":33}],36:[function(e,t,n){"use strict";function r(e){return null===e?!1:l.test(e)?!0:!1}function i(e){var t,n,r,i;return t=e.replace(/_/g,"").toLowerCase(),n="-"===t[0]?-1:1,i=[],0<="+-".indexOf(t[0])&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:0<=t.indexOf(":")?(t.split(":").forEach(function(e){i.unshift(parseFloat(e,10))}),t=0,r=1,i.forEach(function(e){t+=e*r,r*=60}),n*t):n*parseFloat(t,10)}function a(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(s.isNegativeZero(e))return"-0.0";return n=e.toString(10),c.test(n)?n.replace("e",".e"):n}function o(e){return"[object Number]"===Object.prototype.toString.call(e)&&(0!==e%1||s.isNegativeZero(e))}var s=e("../common"),u=e("../type"),l=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),c=/^[-+]?[0-9]+e/;t.exports=new u("tag:yaml.org,2002:float",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a,defaultStyle:"lowercase"})},{"../common":22,"../type":33}],37:[function(e,t,n){"use strict";function r(e){return e>=48&&57>=e||e>=65&&70>=e||e>=97&&102>=e}function i(e){return e>=48&&55>=e}function a(e){return e>=48&&57>=e}function o(e){if(null===e)return!1;var t,n=e.length,o=0,s=!1;if(!n)return!1;if(t=e[o],("-"===t||"+"===t)&&(t=e[++o]),"0"===t){if(o+1===n)return!0;if(t=e[++o],"b"===t){for(o++;n>o;o++)if(t=e[o],"_"!==t){if("0"!==t&&"1"!==t)return!1;s=!0}return s}if("x"===t){for(o++;n>o;o++)if(t=e[o],"_"!==t){if(!r(e.charCodeAt(o)))return!1;s=!0}return s}for(;n>o;o++)if(t=e[o],"_"!==t){if(!i(e.charCodeAt(o)))return!1;s=!0}return s}for(;n>o;o++)if(t=e[o],"_"!==t){if(":"===t)break;if(!a(e.charCodeAt(o)))return!1;s=!0}return s?":"!==t?!0:/^(:[0-5]?[0-9])+$/.test(e.slice(o)):!1}function s(e){var t,n,r=e,i=1,a=[];return-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),t=r[0],("-"===t||"+"===t)&&("-"===t&&(i=-1),r=r.slice(1),t=r[0]),"0"===r?0:"0"===t?"b"===r[1]?i*parseInt(r.slice(2),2):"x"===r[1]?i*parseInt(r,16):i*parseInt(r,8):-1!==r.indexOf(":")?(r.split(":").forEach(function(e){a.unshift(parseInt(e,10))}),r=0,n=1,a.forEach(function(e){r+=e*n,n*=60}),i*r):i*parseInt(r,10)}function u(e){return"[object Number]"===Object.prototype.toString.call(e)&&0===e%1&&!l.isNegativeZero(e)}var l=e("../common"),c=e("../type");t.exports=new c("tag:yaml.org,2002:int",{kind:"scalar",resolve:o,construct:s,predicate:u,represent:{binary:function(e){return"0b"+e.toString(2)},octal:function(e){return"0"+e.toString(8)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return"0x"+e.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":22,"../type":33}],38:[function(e,t,n){"use strict";function r(e){if(null===e)return!1;try{var t="("+e+")",n=s.parse(t,{range:!0});return"Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"FunctionExpression"!==n.body[0].expression.type?!1:!0}catch(r){return!1}}function i(e){var t,n="("+e+")",r=s.parse(n,{range:!0}),i=[];if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"FunctionExpression"!==r.body[0].expression.type)throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach(function(e){i.push(e.name)}),t=r.body[0].expression.body.range,new Function(i,n.slice(t[0]+1,t[1]-1))}function a(e){return e.toString()}function o(e){return"[object Function]"===Object.prototype.toString.call(e)}var s;try{s=e("esprima")}catch(u){"undefined"!=typeof window&&(s=window.esprima)}var l=e("../../type");t.exports=new l("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a})},{"../../type":33,esprima:50}],39:[function(e,t,n){"use strict";function r(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,n=/\/([gim]*)$/.exec(e),r="";if("/"===t[0]){if(n&&(r=n[1]),r.length>3)return!1;if("/"!==t[t.length-r.length-1])return!1;t=t.slice(1,t.length-r.length-1)}try{return!0}catch(i){return!1}}function i(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)}function a(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}function o(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var s=e("../../type");t.exports=new s("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a})},{"../../type":33}],40:[function(e,t,n){"use strict";function r(){return!0}function i(){}function a(){return""}function o(e){return"undefined"==typeof e;
+}var s=e("../../type");t.exports=new s("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:a})},{"../../type":33}],41:[function(e,t,n){"use strict";var r=e("../type");t.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},{"../type":33}],42:[function(e,t,n){"use strict";function r(e){return"<<"===e||null===e}var i=e("../type");t.exports=new i("tag:yaml.org,2002:merge",{kind:"scalar",resolve:r})},{"../type":33}],43:[function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)}function i(){return null}function a(e){return null===e}var o=e("../type");t.exports=new o("tag:yaml.org,2002:null",{kind:"scalar",resolve:r,construct:i,predicate:a,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":33}],44:[function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n,r,i,a,u=[],l=e;for(t=0,n=l.length;n>t;t+=1){if(r=l[t],a=!1,"[object Object]"!==s.call(r))return!1;for(i in r)if(o.call(r,i)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==u.indexOf(i))return!1;u.push(i)}return!0}function i(e){return null!==e?e:[]}var a=e("../type"),o=Object.prototype.hasOwnProperty,s=Object.prototype.toString;t.exports=new a("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:i})},{"../type":33}],45:[function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n,r,i,a,s=e;for(a=new Array(s.length),t=0,n=s.length;n>t;t+=1){if(r=s[t],"[object Object]"!==o.call(r))return!1;if(i=Object.keys(r),1!==i.length)return!1;a[t]=[i[0],r[i[0]]]}return!0}function i(e){if(null===e)return[];var t,n,r,i,a,o=e;for(a=new Array(o.length),t=0,n=o.length;n>t;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}var a=e("../type"),o=Object.prototype.toString;t.exports=new a("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:r,construct:i})},{"../type":33}],46:[function(e,t,n){"use strict";var r=e("../type");t.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},{"../type":33}],47:[function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n=e;for(t in n)if(o.call(n,t)&&null!==n[t])return!1;return!0}function i(e){return null!==e?e:{}}var a=e("../type"),o=Object.prototype.hasOwnProperty;t.exports=new a("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:i})},{"../type":33}],48:[function(e,t,n){"use strict";var r=e("../type");t.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},{"../type":33}],49:[function(e,t,n){"use strict";function r(e){return null===e?!1:null===s.exec(e)?!1:!0}function i(e){var t,n,r,i,a,o,u,l,c,p,h=0,f=null;if(t=s.exec(e),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],u=+t[6],t[7]){for(h=t[7].slice(0,3);h.length<3;)h+="0";h=+h}return t[9]&&(l=+t[10],c=+(t[11]||0),f=6e4*(60*l+c),"-"===t[9]&&(f=-f)),p=new Date(Date.UTC(n,r,i,a,o,u,h)),f&&p.setTime(p.getTime()-f),p}function a(e){return e.toISOString()}var o=e("../type"),s=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");t.exports=new o("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:r,construct:i,instanceOf:Date,represent:a})},{"../type":33}],50:[function(t,n,r){!function(t,n){"use strict";"function"==typeof e&&e.amd?e(["exports"],n):n("undefined"!=typeof r?r:t.esprima={})}(this,function(e){"use strict";function t(e,t){if(!e)throw new Error("ASSERT: "+t)}function n(e){return e>=48&&57>=e}function r(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function i(e){return"01234567".indexOf(e)>=0}function a(e){var t="0"!==e,n="01234567".indexOf(e);return Dn>un&&i(on[un])&&(t=!0,n=8*n+"01234567".indexOf(on[un++]),"0123".indexOf(e)>=0&&Dn>un&&i(on[un])&&(n=8*n+"01234567".indexOf(on[un++]))),{code:n,octal:t}}function o(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function s(e){return 10===e||13===e||8232===e||8233===e}function u(e){return 65536>e?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))}function l(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&an.NonAsciiIdentifierStart.test(u(e))}function c(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&an.NonAsciiIdentifierPart.test(u(e))}function p(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}}function h(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function f(e){return"eval"===e||"arguments"===e}function d(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function m(e,n,r,i,a){var o;t("number"==typeof r,"Comment must have valid position"),wn.lastCommentStart=r,o={type:e,value:n},An.range&&(o.range=[r,i]),An.loc&&(o.loc=a),An.comments.push(o),An.attachComment&&(An.leadingComments.push(o),An.trailingComments.push(o)),An.tokenize&&(o.type=o.type+"Comment",An.delegate&&(o=An.delegate(o)),An.tokens.push(o))}function y(e){var t,n,r,i;for(t=un-e,n={start:{line:ln,column:un-cn-e}};Dn>un;)if(r=on.charCodeAt(un),++un,s(r))return pn=!0,An.comments&&(i=on.slice(t+e,un-1),n.end={line:ln,column:un-cn-1},m("Line",i,t,un-1,n)),13===r&&10===on.charCodeAt(un)&&++un,++ln,void(cn=un);An.comments&&(i=on.slice(t+e,un),n.end={line:ln,column:un-cn},m("Line",i,t,un,n))}function g(){var e,t,n,r;for(An.comments&&(e=un-2,t={start:{line:ln,column:un-cn-2}});Dn>un;)if(n=on.charCodeAt(un),s(n))13===n&&10===on.charCodeAt(un+1)&&++un,pn=!0,++ln,++un,cn=un;else if(42===n){if(47===on.charCodeAt(un+1))return++un,++un,void(An.comments&&(r=on.slice(e+2,un-2),t.end={line:ln,column:un-cn},m("Block",r,e,un,t)));++un}else++un;An.comments&&(t.end={line:ln,column:un-cn},r=on.slice(e+2,un),m("Block",r,e,un,t)),ne()}function v(){var e,t;for(pn=!1,t=0===un;Dn>un;)if(e=on.charCodeAt(un),o(e))++un;else if(s(e))pn=!0,++un,13===e&&10===on.charCodeAt(un)&&++un,++ln,cn=un,t=!0;else if(47===e)if(e=on.charCodeAt(un+1),47===e)++un,++un,y(2),t=!0;else{if(42!==e)break;++un,++un,g()}else if(t&&45===e){if(45!==on.charCodeAt(un+1)||62!==on.charCodeAt(un+2))break;un+=3,y(3)}else{if(60!==e)break;if("!--"!==on.slice(un+1,un+4))break;++un,++un,++un,++un,y(4)}}function D(e){var t,n,i,a=0;for(n="u"===e?4:2,t=0;n>t;++t){if(!(Dn>un&&r(on[un])))return"";i=on[un++],a=16*a+"0123456789abcdef".indexOf(i.toLowerCase())}return String.fromCharCode(a)}function b(){var e,t;for(e=on[un],t=0,"}"===e&&te();Dn>un&&(e=on[un++],r(e));)t=16*t+"0123456789abcdef".indexOf(e.toLowerCase());return(t>1114111||"}"!==e)&&te(),u(t)}function w(e){var t,n,r;return t=on.charCodeAt(e),t>=55296&&56319>=t&&(r=on.charCodeAt(e+1),r>=56320&&57343>=r&&(n=t,t=1024*(n-55296)+r-56320+65536)),t}function A(){var e,t,n;for(e=w(un),n=u(e),un+=n.length,92===e&&(117!==on.charCodeAt(un)&&te(),++un,"{"===on[un]?(++un,t=b()):(t=D("u"),e=t.charCodeAt(0),t&&"\\"!==t&&l(e)||te()),n=t);Dn>un&&(e=w(un),c(e));)t=u(e),n+=t,un+=t.length,92===e&&(n=n.substr(0,n.length-1),117!==on.charCodeAt(un)&&te(),++un,"{"===on[un]?(++un,t=b()):(t=D("u"),e=t.charCodeAt(0),t&&"\\"!==t&&c(e)||te()),n+=t);return n}function C(){var e,t;for(e=un++;Dn>un;){if(t=on.charCodeAt(un),92===t)return un=e,A();if(t>=55296&&57343>t)return un=e,A();if(!c(t))break;++un}return on.slice(e,un)}function x(){var e,t,n;return e=un,t=92===on.charCodeAt(un)?A():C(),n=1===t.length?Gt.Identifier:d(t)?Gt.Keyword:"null"===t?Gt.NullLiteral:"true"===t||"false"===t?Gt.BooleanLiteral:Gt.Identifier,{type:n,value:t,lineNumber:ln,lineStart:cn,start:e,end:un}}function E(){var e,t;switch(e={type:Gt.Punctuator,value:"",lineNumber:ln,lineStart:cn,start:un,end:un},t=on[un]){case"(":An.tokenize&&(An.openParenToken=An.tokenValues.length),++un;break;case"{":An.tokenize&&(An.openCurlyToken=An.tokenValues.length),wn.curlyStack.push("{"),++un;break;case".":++un,"."===on[un]&&"."===on[un+1]&&(un+=2,t="...");break;case"}":++un,wn.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++un;break;default:t=on.substr(un,4),">>>="===t?un+=4:(t=t.substr(0,3),"==="===t||"!=="===t||">>>"===t||"<<="===t||">>="===t?un+=3:(t=t.substr(0,2),"&&"===t||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t?un+=2:(t=on[un],"<>=!+-*%&|^/".indexOf(t)>=0&&++un)))}return un===e.start&&te(),e.end=un,e.value=t,e}function F(e){for(var t="";Dn>un&&r(on[un]);)t+=on[un++];return 0===t.length&&te(),l(on.charCodeAt(un))&&te(),{type:Gt.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:ln,lineStart:cn,start:e,end:un}}function S(e){var t,r;for(r="";Dn>un&&(t=on[un],"0"===t||"1"===t);)r+=on[un++];return 0===r.length&&te(),Dn>un&&(t=on.charCodeAt(un),(l(t)||n(t))&&te()),{type:Gt.NumericLiteral,value:parseInt(r,2),lineNumber:ln,lineStart:cn,start:e,end:un}}function k(e,t){var r,a;for(i(e)?(a=!0,r="0"+on[un++]):(a=!1,++un,r="");Dn>un&&i(on[un]);)r+=on[un++];return a||0!==r.length||te(),(l(on.charCodeAt(un))||n(on.charCodeAt(un)))&&te(),{type:Gt.NumericLiteral,value:parseInt(r,8),octal:a,lineNumber:ln,lineStart:cn,start:t,end:un}}function O(){var e,t;for(e=un+1;Dn>e;++e){if(t=on[e],"8"===t||"9"===t)return!1;if(!i(t))return!0}return!0}function j(){var e,r,a;if(a=on[un],t(n(a.charCodeAt(0))||"."===a,"Numeric literal must start with a decimal digit or a decimal point"),r=un,e="","."!==a){if(e=on[un++],a=on[un],"0"===e){if("x"===a||"X"===a)return++un,F(r);if("b"===a||"B"===a)return++un,S(r);if("o"===a||"O"===a)return k(a,r);if(i(a)&&O())return k(a,r)}for(;n(on.charCodeAt(un));)e+=on[un++];a=on[un]}if("."===a){for(e+=on[un++];n(on.charCodeAt(un));)e+=on[un++];a=on[un]}if("e"===a||"E"===a)if(e+=on[un++],a=on[un],("+"===a||"-"===a)&&(e+=on[un++]),n(on.charCodeAt(un)))for(;n(on.charCodeAt(un));)e+=on[un++];else te();return l(on.charCodeAt(un))&&te(),{type:Gt.NumericLiteral,value:parseFloat(e),lineNumber:ln,lineStart:cn,start:r,end:un}}function B(){var e,n,r,o,u,l="",c=!1;for(e=on[un],t("'"===e||'"'===e,"String literal must starts with a quote"),n=un,++un;Dn>un;){if(r=on[un++],r===e){e="";break}if("\\"===r)if(r=on[un++],r&&s(r.charCodeAt(0)))++ln,"\r"===r&&"\n"===on[un]&&++un,cn=un;else switch(r){case"u":case"x":if("{"===on[un])++un,l+=b();else{if(o=D(r),!o)throw te();l+=o}break;case"n":l+="\n";break;case"r":l+="\r";break;case"t":l+=" ";break;case"b":l+="\b";break;case"f":l+="\f";break;case"v":l+="\x0B";break;case"8":case"9":l+=r,ne();break;default:i(r)?(u=a(r),c=u.octal||c,l+=String.fromCharCode(u.code)):l+=r}else{if(s(r.charCodeAt(0)))break;l+=r}}return""!==e&&te(),{type:Gt.StringLiteral,value:l,octal:c,lineNumber:yn,lineStart:gn,start:n,end:un}}function I(){var e,t,r,a,o,u,l,c,p="";for(a=!1,u=!1,t=un,o="`"===on[un],r=2,++un;Dn>un;){if(e=on[un++],"`"===e){r=1,u=!0,a=!0;break}if("$"===e){if("{"===on[un]){wn.curlyStack.push("${"),++un,a=!0;break}p+=e}else if("\\"===e)if(e=on[un++],s(e.charCodeAt(0)))++ln,"\r"===e&&"\n"===on[un]&&++un,cn=un;else switch(e){case"n":p+="\n";break;case"r":p+="\r";break;case"t":p+=" ";break;case"u":case"x":"{"===on[un]?(++un,p+=b()):(l=un,c=D(e),c?p+=c:(un=l,p+=e));break;case"b":p+="\b";break;case"f":p+="\f";break;case"v":p+="\x0B";break;default:"0"===e?(n(on.charCodeAt(un))&&G(rn.TemplateOctalLiteral),p+="\x00"):i(e)?G(rn.TemplateOctalLiteral):p+=e}else s(e.charCodeAt(0))?(++ln,"\r"===e&&"\n"===on[un]&&++un,cn=un,p+="\n"):p+=e}return a||te(),o||wn.curlyStack.pop(),{type:Gt.Template,value:{cooked:p,raw:on.slice(t+1,un-r)},head:o,tail:u,lineNumber:ln,lineStart:cn,start:t,end:un}}function _(e,t){var n="ï¿¿",r=e;t.indexOf("u")>=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,r){var i=parseInt(t||r,16);return i>1114111&&te(null,rn.InvalidRegExp),65535>=i?String.fromCharCode(i):n}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n));try{RegExp(r)}catch(i){te(null,rn.InvalidRegExp)}try{return new RegExp(e,t)}catch(a){return null}}function T(){var e,n,r,i,a;for(e=on[un],t("/"===e,"Regular expression literal must start with a slash"),n=on[un++],r=!1,i=!1;Dn>un;)if(e=on[un++],n+=e,"\\"===e)e=on[un++],s(e.charCodeAt(0))&&te(null,rn.UnterminatedRegExp),n+=e;else if(s(e.charCodeAt(0)))te(null,rn.UnterminatedRegExp);else if(r)"]"===e&&(r=!1);else{if("/"===e){i=!0;break}"["===e&&(r=!0)}return i||te(null,rn.UnterminatedRegExp),a=n.substr(1,n.length-2),{value:a,literal:n}}function P(){var e,t,n,r;for(t="",n="";Dn>un&&(e=on[un],c(e.charCodeAt(0)));)if(++un,"\\"===e&&Dn>un)if(e=on[un],"u"===e){if(++un,r=un,e=D("u"))for(n+=e,t+="\\u";un>r;++r)t+=on[r];else un=r,n+="u",t+="\\u";ne()}else t+="\\",ne();else n+=e,t+=e;return{value:n,literal:t}}function L(){var e,t,n,r;return vn=!0,bn=null,v(),e=un,t=T(),n=P(),r=_(t.value,n.value),vn=!1,An.tokenize?{type:Gt.RegularExpression,value:r,regex:{pattern:t.value,flags:n.value},lineNumber:ln,lineStart:cn,start:e,end:un}:{literal:t.literal+n.literal,value:r,regex:{pattern:t.value,flags:n.value},start:e,end:un}}function R(){var e,t,n,r;return v(),e=un,t={start:{line:ln,column:un-cn}},n=L(),t.end={line:ln,column:un-cn},An.tokenize||(An.tokens.length>0&&(r=An.tokens[An.tokens.length-1],r.range[0]===e&&"Punctuator"===r.type&&("/"===r.value||"/="===r.value)&&An.tokens.pop()),An.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,un],loc:t})),n}function $(e){return e.type===Gt.Identifier||e.type===Gt.Keyword||e.type===Gt.BooleanLiteral||e.type===Gt.NullLiteral}function U(){function e(e){return e&&e.length>1&&e[0]>="a"&&e[0]<="z"}var t,n,r;switch(n=An.tokenValues[An.tokens.length-1],t=null!==n,n){case"this":case"]":t=!1;break;case")":r=An.tokenValues[An.openParenToken-1],t="if"===r||"while"===r||"for"===r||"with"===r;break;case"}":t=!1,e(An.tokenValues[An.openCurlyToken-3])?(r=An.tokenValues[An.openCurlyToken-4],t=r?en.indexOf(r)<0:!1):e(An.tokenValues[An.openCurlyToken-4])&&(r=An.tokenValues[An.openCurlyToken-5],t=r?en.indexOf(r)<0:!0)}return t?R():E()}function M(){var e,t;return un>=Dn?{type:Gt.EOF,lineNumber:ln,lineStart:cn,start:un,end:un}:(e=on.charCodeAt(un),l(e)?(t=x(),sn&&h(t.value)&&(t.type=Gt.Keyword),t):40===e||41===e||59===e?E():39===e||34===e?B():46===e?n(on.charCodeAt(un+1))?j():E():n(e)?j():An.tokenize&&47===e?U():96===e||125===e&&"${"===wn.curlyStack[wn.curlyStack.length-1]?I():e>=55296&&57343>e&&(e=w(un),l(e))?x():E())}function N(){var e,t,n,r;return e={start:{line:ln,column:un-cn}},t=M(),e.end={line:ln,column:un-cn},t.type!==Gt.EOF&&(n=on.slice(t.start,t.end),r={type:Zt[t.type],value:n,range:[t.start,t.end],loc:e},t.regex&&(r.regex={pattern:t.regex.pattern,flags:t.regex.flags}),An.tokenValues&&An.tokenValues.push("Punctuator"===r.type||"Keyword"===r.type?r.value:null),An.tokenize&&(An.range||delete r.range,An.loc||delete r.loc,An.delegate&&(r=An.delegate(r))),An.tokens.push(r)),t}function q(){var e;return vn=!0,hn=un,fn=ln,dn=cn,v(),e=bn,mn=un,yn=ln,gn=cn,bn="undefined"!=typeof An.tokens?N():M(),vn=!1,e}function H(){vn=!0,v(),hn=un,fn=ln,dn=cn,mn=un,yn=ln,gn=cn,bn="undefined"!=typeof An.tokens?N():M(),vn=!1}function V(){this.line=yn,this.column=mn-gn}function z(){this.start=new V,this.end=null}function Y(e){this.start={line:e.lineNumber,column:e.start-e.lineStart},this.end=null}function J(){An.range&&(this.range=[mn,0]),An.loc&&(this.loc=new z)}function W(e){An.range&&(this.range=[e.start,0]),An.loc&&(this.loc=new Y(e))}function K(e){var t,n;for(t=0;t>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function ce(){return 59===on.charCodeAt(mn)||oe(";")?void q():void(pn||(hn=mn,fn=yn,dn=gn,bn.type===Gt.EOF||oe("}")||te(bn)))}function pe(e){var t,n=Cn,r=xn,i=En;return Cn=!0,xn=!0,En=null,t=e(),null!==En&&te(En),Cn=n,xn=r,En=i,t}function he(e){var t,n=Cn,r=xn,i=En;return Cn=!0,xn=!0,En=null,t=e(),Cn=Cn&&n,xn=xn&&r,En=i||En,t}function fe(e,t){var n,r,i=new J,a=[];for(re("[");!oe("]");)if(oe(","))q(),a.push(null);else{if(oe("...")){r=new J,q(),e.push(bn),n=Ze(t),a.push(r.finishRestElement(n));break}a.push(ge(e,t)),oe("]")||re(",")}return re("]"),i.finishArrayPattern(a)}function de(e,t){var n,r,i,a=new J,o=oe("[");if(bn.type===Gt.Identifier){if(r=bn,n=Ze(),oe("="))return e.push(r),q(),i=We(),a.finishProperty("init",n,!1,new W(r).finishAssignmentPattern(n,i),!1,!1);if(!oe(":"))return e.push(r),a.finishProperty("init",n,!1,n,!1,!0)}else n=we();return re(":"),i=ge(e,t),a.finishProperty("init",n,o,i,!1,!1)}function me(e,t){var n=new J,r=[];for(re("{");!oe("}");)r.push(de(e,t)),oe("}")||re(",");return q(),n.finishObjectPattern(r)}function ye(e,t){return oe("[")?fe(e,t):oe("{")?me(e,t):(se("let")&&("const"===t||"let"===t)&&ne(bn,rn.UnexpectedToken),e.push(bn),Ze(t))}function ge(e,t){var n,r,i,a=bn;return n=ye(e,t),oe("=")&&(q(),r=wn.allowYield,wn.allowYield=!0,i=pe(We),wn.allowYield=r,n=new W(a).finishAssignmentPattern(n,i)),n}function ve(){var e,t=[],n=new J;for(re("[");!oe("]");)oe(",")?(q(),t.push(null)):oe("...")?(e=new J,q(),e.finishSpreadElement(he(We)),oe("]")||(xn=Cn=!1,re(",")),t.push(e)):(t.push(he(We)),oe("]")||re(","));return q(),n.finishArrayExpression(t)}function De(e,t,n){var r,i;return xn=Cn=!1,r=sn,i=pe(St),sn&&t.firstRestricted&&ne(t.firstRestricted,t.message),sn&&t.stricted&&ne(t.stricted,t.message),sn=r,e.finishFunctionExpression(null,t.params,t.defaults,i,n)}function be(){var e,t,n=new J,r=wn.allowYield;return wn.allowYield=!1,e=jt(),wn.allowYield=r,wn.allowYield=!1,t=De(n,e,!1),wn.allowYield=r,t}function we(){var e,t,n=new J;switch(e=q(),e.type){case Gt.StringLiteral:case Gt.NumericLiteral:return sn&&e.octal&&ne(e,rn.StrictOctalLiteral),n.finishLiteral(e);case Gt.Identifier:case Gt.BooleanLiteral:case Gt.NullLiteral:case Gt.Keyword:return n.finishIdentifier(e.value);case Gt.Punctuator:if("["===e.value)return t=pe(We),re("]"),t}te(e)}function Ae(){switch(bn.type){case Gt.Identifier:case Gt.StringLiteral:case Gt.BooleanLiteral:case Gt.NullLiteral:case Gt.NumericLiteral:case Gt.Keyword:return!0;case Gt.Punctuator:return"["===bn.value}return!1}function Ce(e,t,n,r){var i,a,o,s,u=wn.allowYield;if(e.type===Gt.Identifier){if("get"===e.value&&Ae())return n=oe("["),t=we(),o=new J,re("("),re(")"),wn.allowYield=!1,i=De(o,{params:[],defaults:[],stricted:null,firstRestricted:null,message:null},!1),wn.allowYield=u,r.finishProperty("get",t,n,i,!1,!1);if("set"===e.value&&Ae())return n=oe("["),t=we(),o=new J,re("("),a={params:[],defaultCount:0,defaults:[],firstRestricted:null,paramSet:{}},oe(")")?ne(bn):(wn.allowYield=!1,Ot(a),wn.allowYield=u,0===a.defaultCount&&(a.defaults=[])),re(")"),wn.allowYield=!1,i=De(o,a,!1),wn.allowYield=u,r.finishProperty("set",t,n,i,!1,!1)}else if(e.type===Gt.Punctuator&&"*"===e.value&&Ae())return n=oe("["),t=we(),o=new J,wn.allowYield=!0,s=jt(),wn.allowYield=u,wn.allowYield=!1,i=De(o,s,!0),wn.allowYield=u,r.finishProperty("init",t,n,i,!0,!1);return t&&oe("(")?(i=be(),r.finishProperty("init",t,n,i,!0,!1)):null}function xe(e){var t,n,r,i,a,o=bn,s=new J;return t=oe("["),oe("*")?q():n=we(),(r=Ce(o,n,t,s))?r:(n||te(bn),t||(i=n.type===tn.Identifier&&"__proto__"===n.name||n.type===tn.Literal&&"__proto__"===n.value,e.value&&i&&Z(rn.DuplicateProtoProperty),e.value|=i),oe(":")?(q(),a=he(We),s.finishProperty("init",n,t,a,!1,!1)):o.type===Gt.Identifier?oe("=")?(En=bn,q(),a=pe(We),s.finishProperty("init",n,t,new W(o).finishAssignmentPattern(n,a),!1,!0)):s.finishProperty("init",n,t,n,!1,!0):void te(bn))}function Ee(){var e=[],t={value:!1},n=new J;for(re("{");!oe("}");)e.push(xe(t)),oe("}")||ie();return re("}"),n.finishObjectExpression(e)}function Fe(e){var t;switch(e.type){case tn.Identifier:case tn.MemberExpression:case tn.RestElement:case tn.AssignmentPattern:break;case tn.SpreadElement:e.type=tn.RestElement,Fe(e.argument);break;case tn.ArrayExpression:for(e.type=tn.ArrayPattern,t=0;t")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[],rawParams:[]};if(n=bn,oe("..."))return e=lt(i),re(")"),oe("=>")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[e]};if(Cn=!0,e=he(We),oe(",")){for(xn=!1,t=[e];Dn>mn&&oe(",");){if(q(),oe("...")){for(Cn||te(bn),t.push(lt(i)),re(")"),oe("=>")||re("=>"),Cn=!1,r=0;r")){if(e.type===tn.Identifier&&"yield"===e.name)return{type:nn.ArrowParameterPlaceHolder,params:[e]};if(Cn||te(bn),e.type===tn.SequenceExpression)for(r=0;rmn&&(oe("...")?(e=new J,q(),e.finishSpreadElement(pe(We))):e=pe(We),t.push(e),!oe(")"));)ie();return re(")"),t}function Ie(){var e,t=new J;return e=q(),$(e)||te(e),t.finishIdentifier(e.value)}function _e(){return re("."),Ie()}function Te(){var e;return re("["),e=pe(Ke),re("]"),e}function Pe(){var e,t,n=new J;if(ae("new"),oe(".")){if(q(),bn.type===Gt.Identifier&&"target"===bn.value&&wn.inFunctionBody)return q(),n.finishMetaProperty("new","target");te(bn)}return e=pe(Re),t=oe("(")?Be():[],xn=Cn=!1,n.finishNewExpression(e,t)}function Le(){var e,t,n,r,i,a=wn.allowIn;for(i=bn,wn.allowIn=!0,se("super")&&wn.inFunctionBody?(t=new J,q(),t=t.finishSuper(),oe("(")||oe(".")||oe("[")||te(bn)):t=he(se("new")?Pe:je);;)if(oe("."))Cn=!1,xn=!0,r=_e(),t=new W(i).finishMemberExpression(".",t,r);else if(oe("("))Cn=!1,xn=!1,n=Be(),t=new W(i).finishCallExpression(t,n);else if(oe("["))Cn=!1,xn=!0,r=Te(),t=new W(i).finishMemberExpression("[",t,r);else{if(bn.type!==Gt.Template||!bn.head)break;e=ke(),t=new W(i).finishTaggedTemplateExpression(t,e)}return wn.allowIn=a,t}function Re(){var e,n,r,i;for(t(wn.allowIn,"callee of new expression always allow in keyword."),i=bn,se("super")&&wn.inFunctionBody?(n=new J,q(),n=n.finishSuper(),oe("[")||oe(".")||te(bn)):n=he(se("new")?Pe:je);;)if(oe("["))Cn=!1,xn=!0,r=Te(),n=new W(i).finishMemberExpression("[",n,r);else if(oe("."))Cn=!1,xn=!0,r=_e(),n=new W(i).finishMemberExpression(".",n,r);else{if(bn.type!==Gt.Template||!bn.head)break;e=ke(),n=new W(i).finishTaggedTemplateExpression(n,e)}return n}function $e(){var e,t,n=bn;return e=he(Le),pn||bn.type!==Gt.Punctuator||(oe("++")||oe("--"))&&(sn&&e.type===tn.Identifier&&f(e.name)&&Z(rn.StrictLHSPostfix),xn||Z(rn.InvalidLHSInAssignment),xn=Cn=!1,t=q(),e=new W(n).finishPostfixExpression(t.value,e)),e}function Ue(){var e,t,n;return bn.type!==Gt.Punctuator&&bn.type!==Gt.Keyword?t=$e():oe("++")||oe("--")?(n=bn,e=q(),t=he(Ue),sn&&t.type===tn.Identifier&&f(t.name)&&Z(rn.StrictLHSPrefix),xn||Z(rn.InvalidLHSInAssignment),t=new W(n).finishUnaryExpression(e.value,t),xn=Cn=!1):oe("+")||oe("-")||oe("~")||oe("!")?(n=bn,e=q(),t=he(Ue),t=new W(n).finishUnaryExpression(e.value,t),xn=Cn=!1):se("delete")||se("void")||se("typeof")?(n=bn,e=q(),t=he(Ue),t=new W(n).finishUnaryExpression(e.value,t),sn&&"delete"===t.operator&&t.argument.type===tn.Identifier&&Z(rn.StrictDelete),xn=Cn=!1):t=$e(),t}function Me(e,t){var n=0;if(e.type!==Gt.Punctuator&&e.type!==Gt.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function Ne(){var e,t,n,r,i,a,o,s,u,l;if(e=bn,u=he(Ue),r=bn,i=Me(r,wn.allowIn),0===i)return u;for(xn=Cn=!1,r.prec=i,q(),t=[e,bn],o=pe(Ue),a=[u,r,o];(i=Me(bn,wn.allowIn))>0;){for(;a.length>2&&i<=a[a.length-2].prec;)o=a.pop(),s=a.pop().value,u=a.pop(),t.pop(),n=new W(t[t.length-1]).finishBinaryExpression(s,u,o),a.push(n);r=q(),r.prec=i,a.push(r),t.push(bn),n=pe(Ue),a.push(n)}for(l=a.length-1,n=a[l],t.pop();l>1;)n=new W(t.pop()).finishBinaryExpression(a[l-1].value,a[l-2],n),l-=2;return n}function qe(){var e,t,n,r,i;return i=bn,e=he(Ne),oe("?")&&(q(),t=wn.allowIn,wn.allowIn=!0,n=pe(We),wn.allowIn=t,re(":"),r=pe(We),e=new W(i).finishConditionalExpression(e,n,r),xn=Cn=!1),e}function He(){return oe("{")?St():pe(We)}function Ve(e,n){var r;switch(n.type){case tn.Identifier:kt(e,n,n.name);break;case tn.RestElement:Ve(e,n.argument);break;case tn.AssignmentPattern:Ve(e,n.left);break;case tn.ArrayPattern:for(r=0;rt;t+=1)switch(r=i[t],r.type){case tn.AssignmentPattern:i[t]=r.left,r.right.type===tn.YieldExpression&&(r.right.argument&&te(bn),r.right.type=tn.Identifier,r.right.name="yield",delete r.right.argument,delete r.right.delegate),a.push(r.right),++o,Ve(s,r.left);break;default:Ve(s,r),i[t]=r,a.push(null)}if(sn||!wn.allowYield)for(t=0,n=i.length;n>t;t+=1)r=i[t],r.type===tn.YieldExpression&&te(bn);return s.message===rn.StrictParamDupe&&(u=sn?s.stricted:s.firstRestricted,te(u,s.message)),0===o&&(a=[]),{params:i,defaults:a,stricted:s.stricted,firstRestricted:s.firstRestricted,message:s.message}}function Ye(e,t){var n,r,i;return pn&&ne(bn),re("=>"),n=sn,r=wn.allowYield,wn.allowYield=!0,i=He(),sn&&e.firstRestricted&&te(e.firstRestricted,e.message),sn&&e.stricted&&ne(e.stricted,e.message),sn=n,wn.allowYield=r,t.finishArrowFunctionExpression(e.params,e.defaults,i,i.type!==tn.BlockStatement)}function Je(){var e,t,n,r;return e=null,t=new J,n=!1,ae("yield"),pn||(r=wn.allowYield,wn.allowYield=!1,n=oe("*"),n?(q(),e=We()):oe(";")||oe("}")||oe(")")||bn.type===Gt.EOF||(e=We()),wn.allowYield=r),t.finishYieldExpression(e,n)}function We(){var e,t,n,r,i;return i=bn,e=bn,!wn.allowYield&&se("yield")?Je():(t=qe(),t.type===nn.ArrowParameterPlaceHolder||oe("=>")?(xn=Cn=!1,r=ze(t),r?(En=null,Ye(r,new W(i))):t):(le()&&(xn||Z(rn.InvalidLHSInAssignment),sn&&t.type===tn.Identifier&&(f(t.name)&&ne(e,rn.StrictLHSAssignment),h(t.name)&&ne(e,rn.StrictReservedWord)),oe("=")?Fe(t):xn=Cn=!1,e=q(),n=pe(We),t=new W(i).finishAssignmentExpression(e.value,t,n),En=null),t))}function Ke(){var e,t,n=bn;if(e=pe(We),oe(",")){for(t=[e];Dn>mn&&oe(",");)q(),t.push(pe(We));e=new W(n).finishSequenceExpression(t)}return e}function Qe(){if(bn.type===Gt.Keyword)switch(bn.value){case"export":return"module"!==wn.sourceType&&ne(bn,rn.IllegalExportDeclaration),Nt();case"import":return"module"!==wn.sourceType&&ne(bn,rn.IllegalImportDeclaration),Yt();case"const":return ut({inFor:!1});case"function":return Bt(new J);case"class":return Tt()}return se("let")&&st()?ut({inFor:!1}):Ft()}function Xe(){for(var e=[];Dn>mn&&!oe("}");)e.push(Qe());return e}function Ge(){var e,t=new J;return re("{"),e=Xe(),re("}"),t.finishBlockStatement(e)}function Ze(e){var t,n=new J;return t=q(),t.type===Gt.Keyword&&"yield"===t.value?(sn&&ne(t,rn.StrictReservedWord),wn.allowYield||te(t)):t.type!==Gt.Identifier?sn&&t.type===Gt.Keyword&&h(t.value)?ne(t,rn.StrictReservedWord):(sn||"let"!==t.value||"var"!==e)&&te(t):"module"===wn.sourceType&&t.type===Gt.Identifier&&"await"===t.value&&ne(t),n.finishIdentifier(t.value)}function et(e){var t,n=null,r=new J,i=[];return t=ye(i,"var"),sn&&f(t.name)&&Z(rn.StrictVarName),oe("=")?(q(),n=pe(We)):t.type===tn.Identifier||e.inFor||re("="),
r.finishVariableDeclarator(t,n)}function tt(e){var t,n;for(t={inFor:e.inFor},n=[et(t)];oe(",");)q(),n.push(et(t));return n}function nt(e){var t;return ae("var"),t=tt({inFor:!1}),ce(),e.finishVariableDeclaration(t)}function rt(e,t){var n,r=null,i=new J,a=[];return n=ye(a,e),sn&&n.type===tn.Identifier&&f(n.name)&&Z(rn.StrictVarName),"const"===e?se("in")||ue("of")||(re("="),r=pe(We)):(!t.inFor&&n.type!==tn.Identifier||oe("="))&&(re("="),r=pe(We)),i.finishVariableDeclarator(n,r)}function it(e,t){for(var n=[rt(e,t)];oe(",");)q(),n.push(rt(e,t));return n}function at(){return{index:un,lineNumber:ln,lineStart:cn,hasLineTerminator:pn,lastIndex:hn,lastLineNumber:fn,lastLineStart:dn,startIndex:mn,startLineNumber:yn,startLineStart:gn,lookahead:bn,tokenCount:An.tokens?An.tokens.length:0}}function ot(e){un=e.index,ln=e.lineNumber,cn=e.lineStart,pn=e.hasLineTerminator,hn=e.lastIndex,fn=e.lastLineNumber,dn=e.lastLineStart,mn=e.startIndex,yn=e.startLineNumber,gn=e.startLineStart,bn=e.lookahead,An.tokens&&An.tokens.splice(e.tokenCount,An.tokens.length)}function st(){var e,t;return t=at(),q(),e=bn.type===Gt.Identifier||oe("[")||oe("{")||se("let")||se("yield"),ot(t),e}function ut(e){var n,r,i=new J;return n=q().value,t("let"===n||"const"===n,"Lexical declaration must be either let or const"),r=it(n,e),ce(),i.finishLexicalDeclaration(r,n)}function lt(e){var t,n=new J;return q(),oe("{")&&G(rn.ObjectPatternAsRestParameter),e.push(bn),t=Ze(),oe("=")&&G(rn.DefaultRestParameter),oe(")")||G(rn.ParameterAfterRestParameter),n.finishRestElement(t)}function ct(e){return re(";"),e.finishEmptyStatement()}function pt(e){var t=Ke();return ce(),e.finishExpressionStatement(t)}function ht(e){var t,n,r;return ae("if"),re("("),t=Ke(),re(")"),n=Ft(),se("else")?(q(),r=Ft()):r=null,e.finishIfStatement(t,n,r)}function ft(e){var t,n,r;return ae("do"),r=wn.inIteration,wn.inIteration=!0,t=Ft(),wn.inIteration=r,ae("while"),re("("),n=Ke(),re(")"),oe(";")&&q(),e.finishDoWhileStatement(t,n)}function dt(e){var t,n,r;return ae("while"),re("("),t=Ke(),re(")"),r=wn.inIteration,wn.inIteration=!0,n=Ft(),wn.inIteration=r,e.finishWhileStatement(t,n)}function mt(e){var t,n,r,i,a,o,s,u,l,c,p,h,f=wn.allowIn;if(t=a=o=null,n=!0,ae("for"),re("("),oe(";"))q();else if(se("var"))t=new J,q(),wn.allowIn=!1,c=tt({inFor:!0}),wn.allowIn=f,1===c.length&&se("in")?(t=t.finishVariableDeclaration(c),q(),s=t,u=Ke(),t=null):1===c.length&&null===c[0].init&&ue("of")?(t=t.finishVariableDeclaration(c),q(),s=t,u=We(),t=null,n=!1):(t=t.finishVariableDeclaration(c),re(";"));else if(se("const")||se("let"))t=new J,l=q().value,sn||"in"!==bn.value?(wn.allowIn=!1,c=it(l,{inFor:!0}),wn.allowIn=f,1===c.length&&null===c[0].init&&se("in")?(t=t.finishLexicalDeclaration(c,l),q(),s=t,u=Ke(),t=null):1===c.length&&null===c[0].init&&ue("of")?(t=t.finishLexicalDeclaration(c,l),q(),s=t,u=We(),t=null,n=!1):(ce(),t=t.finishLexicalDeclaration(c,l))):(t=t.finishIdentifier(l),q(),s=t,u=Ke(),t=null);else if(i=bn,wn.allowIn=!1,t=he(We),wn.allowIn=f,se("in"))xn||Z(rn.InvalidLHSInForIn),q(),Fe(t),s=t,u=Ke(),t=null;else if(ue("of"))xn||Z(rn.InvalidLHSInForLoop),q(),Fe(t),s=t,u=We(),t=null,n=!1;else{if(oe(",")){for(r=[t];oe(",");)q(),r.push(pe(We));t=new W(i).finishSequenceExpression(r)}re(";")}return"undefined"==typeof s&&(oe(";")||(a=Ke()),re(";"),oe(")")||(o=Ke())),re(")"),h=wn.inIteration,wn.inIteration=!0,p=pe(Ft),wn.inIteration=h,"undefined"==typeof s?e.finishForStatement(t,a,o,p):n?e.finishForInStatement(s,u,p):e.finishForOfStatement(s,u,p)}function yt(e){var t,n=null;return ae("continue"),59===on.charCodeAt(mn)?(q(),wn.inIteration||G(rn.IllegalContinue),e.finishContinueStatement(null)):pn?(wn.inIteration||G(rn.IllegalContinue),e.finishContinueStatement(null)):(bn.type===Gt.Identifier&&(n=Ze(),t="$"+n.name,Object.prototype.hasOwnProperty.call(wn.labelSet,t)||G(rn.UnknownLabel,n.name)),ce(),null!==n||wn.inIteration||G(rn.IllegalContinue),e.finishContinueStatement(n))}function gt(e){var t,n=null;return ae("break"),59===on.charCodeAt(hn)?(q(),wn.inIteration||wn.inSwitch||G(rn.IllegalBreak),e.finishBreakStatement(null)):(pn?wn.inIteration||wn.inSwitch||G(rn.IllegalBreak):bn.type===Gt.Identifier&&(n=Ze(),t="$"+n.name,Object.prototype.hasOwnProperty.call(wn.labelSet,t)||G(rn.UnknownLabel,n.name)),ce(),null!==n||wn.inIteration||wn.inSwitch||G(rn.IllegalBreak),e.finishBreakStatement(n))}function vt(e){var t=null;return ae("return"),wn.inFunctionBody||Z(rn.IllegalReturn),32===on.charCodeAt(hn)&&l(on.charCodeAt(hn+1))?(t=Ke(),ce(),e.finishReturnStatement(t)):pn?e.finishReturnStatement(null):(oe(";")||oe("}")||bn.type===Gt.EOF||(t=Ke()),ce(),e.finishReturnStatement(t))}function Dt(e){var t,n;return sn&&Z(rn.StrictModeWith),ae("with"),re("("),t=Ke(),re(")"),n=Ft(),e.finishWithStatement(t,n)}function bt(){var e,t,n=[],r=new J;for(se("default")?(q(),e=null):(ae("case"),e=Ke()),re(":");Dn>mn&&!(oe("}")||se("default")||se("case"));)t=Qe(),n.push(t);return r.finishSwitchCase(e,n)}function wt(e){var t,n,r,i,a;if(ae("switch"),re("("),t=Ke(),re(")"),re("{"),n=[],oe("}"))return q(),e.finishSwitchStatement(t,n);for(i=wn.inSwitch,wn.inSwitch=!0,a=!1;Dn>mn&&!oe("}");)r=bt(),null===r.test&&(a&&G(rn.MultipleDefaultsInSwitch),a=!0),n.push(r);return wn.inSwitch=i,re("}"),e.finishSwitchStatement(t,n)}function At(e){var t;return ae("throw"),pn&&G(rn.NewlineAfterThrow),t=Ke(),ce(),e.finishThrowStatement(t)}function Ct(){var e,t,n,r,i=[],a={},o=new J;for(ae("catch"),re("("),oe(")")&&te(bn),e=ye(i),n=0;nmn&&bn.type===Gt.StringLiteral&&(t=bn,e=Qe(),l.push(e),e.expression.type===tn.Literal);)n=on.slice(t.start+1,t.end-1),"use strict"===n?(sn=!0,r&&ne(r,rn.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(i=wn.labelSet,a=wn.inIteration,o=wn.inSwitch,s=wn.inFunctionBody,u=wn.parenthesizedCount,wn.labelSet={},wn.inIteration=!1,wn.inSwitch=!1,wn.inFunctionBody=!0,wn.parenthesizedCount=0;Dn>mn&&!oe("}");)l.push(Qe());return re("}"),wn.labelSet=i,wn.inIteration=a,wn.inSwitch=o,wn.inFunctionBody=s,wn.parenthesizedCount=u,c.finishBlockStatement(l)}function kt(e,t,n){var r="$"+n;sn?(f(n)&&(e.stricted=t,e.message=rn.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=rn.StrictParamDupe)):e.firstRestricted||(f(n)?(e.firstRestricted=t,e.message=rn.StrictParamName):h(n)?(e.firstRestricted=t,e.message=rn.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=rn.StrictParamDupe)),e.paramSet[r]=!0}function Ot(e){var t,n,r,i,a=[];if(t=bn,"..."===t.value)return n=lt(a),kt(e,n.argument,n.argument.name),e.params.push(n),e.defaults.push(null),!1;for(n=ge(a),r=0;rmn&&Ot(t);)re(",");return re(")"),0===t.defaultCount&&(t.defaults=[]),{params:t.params,defaults:t.defaults,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}}function Bt(e,t){var n,r,i,a,o,s,u,l,c,p=null,d=[],m=[];return c=wn.allowYield,ae("function"),l=oe("*"),l&&q(),t&&oe("(")||(r=bn,p=Ze(),sn?f(r.value)&&ne(r,rn.StrictFunctionName):f(r.value)?(o=r,s=rn.StrictFunctionName):h(r.value)&&(o=r,s=rn.StrictReservedWord)),wn.allowYield=!l,a=jt(o),d=a.params,m=a.defaults,i=a.stricted,o=a.firstRestricted,a.message&&(s=a.message),u=sn,n=St(),sn&&o&&te(o,s),sn&&i&&ne(i,s),sn=u,wn.allowYield=c,e.finishFunctionDeclaration(p,d,m,n,l)}function It(){var e,t,n,r,i,a,o,s,u,l=null,c=[],p=[],d=new J;return u=wn.allowYield,ae("function"),s=oe("*"),s&&q(),wn.allowYield=!s,oe("(")||(e=bn,l=sn||s||!se("yield")?Ze():Ie(),sn?f(e.value)&&ne(e,rn.StrictFunctionName):f(e.value)?(n=e,r=rn.StrictFunctionName):h(e.value)&&(n=e,r=rn.StrictReservedWord)),i=jt(n),c=i.params,p=i.defaults,t=i.stricted,n=i.firstRestricted,i.message&&(r=i.message),o=sn,a=St(),sn&&n&&te(n,r),sn&&t&&ne(t,r),sn=o,wn.allowYield=u,d.finishFunctionExpression(l,c,p,a,s)}function _t(){var e,t,n,r,i,a,o,s=!1;for(e=new J,re("{"),r=[];!oe("}");)oe(";")?q():(i=new J,t=bn,n=!1,a=oe("["),oe("*")?q():(o=we(),"static"===o.name&&(Ae()||oe("*"))&&(t=bn,n=!0,a=oe("["),oe("*")?q():o=we())),i=Ce(t,o,a,i),i?(i["static"]=n,"init"===i.kind&&(i.kind="method"),n?i.computed||"prototype"!==(i.key.name||i.key.value.toString())||te(t,rn.StaticPrototype):i.computed||"constructor"!==(i.key.name||i.key.value.toString())||(("method"!==i.kind||!i.method||i.value.generator)&&te(t,rn.ConstructorSpecialMethod),s?te(t,rn.DuplicateConstructor):s=!0,i.kind="constructor"),i.type=tn.MethodDefinition,delete i.method,delete i.shorthand,r.push(i)):te(bn));return q(),e.finishClassBody(r)}function Tt(e){var t,n=null,r=null,i=new J,a=sn;return sn=!0,ae("class"),e&&bn.type!==Gt.Identifier||(n=Ze()),se("extends")&&(q(),r=pe(Le)),t=_t(),sn=a,i.finishClassDeclaration(n,r,t)}function Pt(){var e,t=null,n=null,r=new J,i=sn;return sn=!0,ae("class"),bn.type===Gt.Identifier&&(t=Ze()),se("extends")&&(q(),n=pe(Le)),e=_t(),sn=i,r.finishClassExpression(t,n,e)}function Lt(){var e=new J;return bn.type!==Gt.StringLiteral&&G(rn.InvalidModuleSpecifier),e.finishLiteral(q())}function Rt(){var e,t,n,r=new J;return se("default")?(n=new J,q(),t=n.finishIdentifier("default")):t=Ze(),ue("as")&&(q(),e=Ie()),r.finishExportSpecifier(t,e)}function $t(e){var t,n=null,r=null,i=[];if(bn.type===Gt.Keyword)switch(bn.value){case"let":case"const":return n=ut({inFor:!1}),e.finishExportNamedDeclaration(n,i,null);case"var":case"class":case"function":return n=Qe(),e.finishExportNamedDeclaration(n,i,null)}for(re("{");!oe("}")&&(t=t||se("default"),i.push(Rt()),oe("}")||(re(","),!oe("}"))););return re("}"),ue("from")?(q(),r=Lt(),ce()):t?G(bn.value?rn.UnexpectedToken:rn.MissingFromClause,bn.value):ce(),e.finishExportNamedDeclaration(n,i,r)}function Ut(e){var t=null,n=null;return ae("default"),se("function")?(t=Bt(new J,!0),e.finishExportDefaultDeclaration(t)):se("class")?(t=Tt(!0),e.finishExportDefaultDeclaration(t)):(ue("from")&&G(rn.UnexpectedToken,bn.value),n=oe("{")?Ee():oe("[")?ve():We(),ce(),e.finishExportDefaultDeclaration(n))}function Mt(e){var t;return re("*"),ue("from")||G(bn.value?rn.UnexpectedToken:rn.MissingFromClause,bn.value),q(),t=Lt(),ce(),e.finishExportAllDeclaration(t)}function Nt(){var e=new J;return wn.inFunctionBody&&G(rn.IllegalExportDeclaration),ae("export"),se("default")?Ut(e):oe("*")?Mt(e):$t(e)}function qt(){var e,t,n=new J;return t=Ie(),ue("as")&&(q(),e=Ze()),n.finishImportSpecifier(e,t)}function Ht(){var e=[];for(re("{");!oe("}")&&(e.push(qt()),oe("}")||(re(","),!oe("}"))););return re("}"),e}function Vt(){var e,t=new J;return e=Ie(),t.finishImportDefaultSpecifier(e)}function zt(){var e,t=new J;return re("*"),ue("as")||G(rn.NoAsAfterImportNamespace),q(),e=Ie(),t.finishImportNamespaceSpecifier(e)}function Yt(){var e,t=[],n=new J;return wn.inFunctionBody&&G(rn.IllegalImportDeclaration),ae("import"),bn.type===Gt.StringLiteral?e=Lt():(oe("{")?t=t.concat(Ht()):oe("*")?t.push(zt()):$(bn)&&!se("default")?(t.push(Vt()),oe(",")&&(q(),oe("*")?t.push(zt()):oe("{")?t=t.concat(Ht()):te(bn))):te(q()),ue("from")||G(bn.value?rn.UnexpectedToken:rn.MissingFromClause,bn.value),q(),e=Lt()),ce(),n.finishImportDeclaration(t,e)}function Jt(){for(var e,t,n,r,i=[];Dn>mn&&(t=bn,t.type===Gt.StringLiteral)&&(e=Qe(),i.push(e),e.expression.type===tn.Literal);)n=on.slice(t.start+1,t.end-1),"use strict"===n?(sn=!0,r&&ne(r,rn.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(;Dn>mn&&(e=Qe(),"undefined"!=typeof e);)i.push(e);return i}function Wt(){var e,t;return H(),t=new J,e=Jt(),t.finishProgram(e,wn.sourceType)}function Kt(){var e,t,n,r=[];for(e=0;e0?1:0,cn=0,mn=un,yn=ln,gn=cn,Dn=on.length,bn=null,wn={allowIn:!0,allowYield:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,curlyStack:[]},An={},t=t||{},t.tokens=!0,An.tokens=[],An.tokenValues=[],An.tokenize=!0,An.delegate=n,An.openParenToken=-1,An.openCurlyToken=-1,An.range="boolean"==typeof t.range&&t.range,An.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(An.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(An.errors=[]);try{if(H(),bn.type===Gt.EOF)return An.tokens;for(q();bn.type!==Gt.EOF;)try{q()}catch(a){if(An.errors){K(a);break}throw a}i=An.tokens,"undefined"!=typeof An.errors&&(i.errors=An.errors)}catch(o){throw o}finally{An={}}return i}function Xt(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),on=e,un=0,ln=on.length>0?1:0,cn=0,mn=un,yn=ln,gn=cn,Dn=on.length,bn=null,wn={allowIn:!0,allowYield:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,curlyStack:[],sourceType:"script"},sn=!1,An={},"undefined"!=typeof t&&(An.range="boolean"==typeof t.range&&t.range,An.loc="boolean"==typeof t.loc&&t.loc,An.attachComment="boolean"==typeof t.attachComment&&t.attachComment,An.loc&&null!==t.source&&void 0!==t.source&&(An.source=r(t.source)),"boolean"==typeof t.tokens&&t.tokens&&(An.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(An.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(An.errors=[]),An.attachComment&&(An.range=!0,An.comments=[],An.bottomRightStack=[],An.trailingComments=[],An.leadingComments=[]),"module"===t.sourceType&&(wn.sourceType=t.sourceType,sn=!0));try{n=Wt(),"undefined"!=typeof An.comments&&(n.comments=An.comments),"undefined"!=typeof An.tokens&&(Kt(),n.tokens=An.tokens),"undefined"!=typeof An.errors&&(n.errors=An.errors)}catch(i){throw i}finally{An={}}return n}var Gt,Zt,en,tn,nn,rn,an,on,sn,un,ln,cn,pn,hn,fn,dn,mn,yn,gn,vn,Dn,bn,wn,An,Cn,xn,En;Gt={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10},Zt={},Zt[Gt.BooleanLiteral]="Boolean",Zt[Gt.EOF]="",Zt[Gt.Identifier]="Identifier",Zt[Gt.Keyword]="Keyword",Zt[Gt.NullLiteral]="Null",Zt[Gt.NumericLiteral]="Numeric",Zt[Gt.Punctuator]="Punctuator",Zt[Gt.StringLiteral]="String",Zt[Gt.RegularExpression]="RegularExpression",Zt[Gt.Template]="Template",en=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],tn={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},nn={ArrowParameterPlaceHolder:"ArrowParameterPlaceHolder"},rn={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",DefaultRestParameter:"Unexpected token =",ObjectPatternAsRestParameter:"Unexpected token {",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ConstructorSpecialMethod:"Class constructor may not be an accessor",DuplicateConstructor:"A class may only have one constructor",StaticPrototype:"Classes may not have static property named prototype",MissingFromClause:"Unexpected token",NoAsAfterImportNamespace:"Unexpected token",InvalidModuleSpecifier:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalExportDeclaration:"Unexpected token",DuplicateBinding:"Duplicate binding %0"},an={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/
},W.prototype=J.prototype={processComment:function(){var e,t,n,r,i,a,o=An.bottomRightStack,s=o[o.length-1];if(!(this.type===tn.Program&&this.body.length>0)){if(this.type===tn.BlockStatement&&0===this.body.length){for(t=[],i=An.leadingComments.length-1;i>=0;--i)a=An.leadingComments[i],this.range[1]>=a.range[1]&&(t.unshift(a),An.leadingComments.splice(i,1),An.trailingComments.splice(i,1));if(t.length)return void(this.innerComments=t)}if(An.trailingComments.length>0){for(r=[],i=An.trailingComments.length-1;i>=0;--i)a=An.trailingComments[i],a.range[0]>=this.range[1]&&(r.unshift(a),An.trailingComments.splice(i,1));An.trailingComments=[]}else s&&s.trailingComments&&s.trailingComments[0].range[0]>=this.range[1]&&(r=s.trailingComments,delete s.trailingComments);for(;s&&s.range[0]>=this.range[0];)e=o.pop(),s=o[o.length-1];if(e){if(e.leadingComments){for(n=[],i=e.leadingComments.length-1;i>=0;--i)a=e.leadingComments[i],a.range[1]<=this.range[0]&&(n.unshift(a),e.leadingComments.splice(i,1));e.leadingComments.length||(e.leadingComments=void 0)}}else if(An.leadingComments.length>0)for(n=[],i=An.leadingComments.length-1;i>=0;--i)a=An.leadingComments[i],a.range[1]<=this.range[0]&&(n.unshift(a),An.leadingComments.splice(i,1));n&&n.length>0&&(this.leadingComments=n),r&&r.length>0&&(this.trailingComments=r),o.push(this)}},finish:function(){An.range&&(this.range[1]=hn),An.loc&&(this.loc.end={line:fn,column:hn-dn},An.source&&(this.loc.source=An.source)),An.attachComment&&this.processComment()},finishArrayExpression:function(e){return this.type=tn.ArrayExpression,this.elements=e,this.finish(),this},finishArrayPattern:function(e){return this.type=tn.ArrayPattern,this.elements=e,this.finish(),this},finishArrowFunctionExpression:function(e,t,n,r){return this.type=tn.ArrowFunctionExpression,this.id=null,this.params=e,this.defaults=t,this.body=n,this.generator=!1,this.expression=r,this.finish(),this},finishAssignmentExpression:function(e,t,n){return this.type=tn.AssignmentExpression,this.operator=e,this.left=t,this.right=n,this.finish(),this},finishAssignmentPattern:function(e,t){return this.type=tn.AssignmentPattern,this.left=e,this.right=t,this.finish(),this},finishBinaryExpression:function(e,t,n){return this.type="||"===e||"&&"===e?tn.LogicalExpression:tn.BinaryExpression,this.operator=e,this.left=t,this.right=n,this.finish(),this},finishBlockStatement:function(e){return this.type=tn.BlockStatement,this.body=e,this.finish(),this},finishBreakStatement:function(e){return this.type=tn.BreakStatement,this.label=e,this.finish(),this},finishCallExpression:function(e,t){return this.type=tn.CallExpression,this.callee=e,this.arguments=t,this.finish(),this},finishCatchClause:function(e,t){return this.type=tn.CatchClause,this.param=e,this.body=t,this.finish(),this},finishClassBody:function(e){return this.type=tn.ClassBody,this.body=e,this.finish(),this},finishClassDeclaration:function(e,t,n){return this.type=tn.ClassDeclaration,this.id=e,this.superClass=t,this.body=n,this.finish(),this},finishClassExpression:function(e,t,n){return this.type=tn.ClassExpression,this.id=e,this.superClass=t,this.body=n,this.finish(),this},finishConditionalExpression:function(e,t,n){return this.type=tn.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=n,this.finish(),this},finishContinueStatement:function(e){return this.type=tn.ContinueStatement,this.label=e,this.finish(),this},finishDebuggerStatement:function(){return this.type=tn.DebuggerStatement,this.finish(),this},finishDoWhileStatement:function(e,t){return this.type=tn.DoWhileStatement,this.body=e,this.test=t,this.finish(),this},finishEmptyStatement:function(){return this.type=tn.EmptyStatement,this.finish(),this},finishExpressionStatement:function(e){return this.type=tn.ExpressionStatement,this.expression=e,this.finish(),this},finishForStatement:function(e,t,n,r){return this.type=tn.ForStatement,this.init=e,this.test=t,this.update=n,this.body=r,this.finish(),this},finishForOfStatement:function(e,t,n){return this.type=tn.ForOfStatement,this.left=e,this.right=t,this.body=n,this.finish(),this},finishForInStatement:function(e,t,n){return this.type=tn.ForInStatement,this.left=e,this.right=t,this.body=n,this.each=!1,this.finish(),this},finishFunctionDeclaration:function(e,t,n,r,i){return this.type=tn.FunctionDeclaration,this.id=e,this.params=t,this.defaults=n,this.body=r,this.generator=i,this.expression=!1,this.finish(),this},finishFunctionExpression:function(e,t,n,r,i){return this.type=tn.FunctionExpression,this.id=e,this.params=t,this.defaults=n,this.body=r,this.generator=i,this.expression=!1,this.finish(),this},finishIdentifier:function(e){return this.type=tn.Identifier,this.name=e,this.finish(),this},finishIfStatement:function(e,t,n){return this.type=tn.IfStatement,this.test=e,this.consequent=t,this.alternate=n,this.finish(),this},finishLabeledStatement:function(e,t){return this.type=tn.LabeledStatement,this.label=e,this.body=t,this.finish(),this},finishLiteral:function(e){return this.type=tn.Literal,this.value=e.value,this.raw=on.slice(e.start,e.end),e.regex&&(this.regex=e.regex),this.finish(),this},finishMemberExpression:function(e,t,n){return this.type=tn.MemberExpression,this.computed="["===e,this.object=t,this.property=n,this.finish(),this},finishMetaProperty:function(e,t){return this.type=tn.MetaProperty,this.meta=e,this.property=t,this.finish(),this},finishNewExpression:function(e,t){return this.type=tn.NewExpression,this.callee=e,this.arguments=t,this.finish(),this},finishObjectExpression:function(e){return this.type=tn.ObjectExpression,this.properties=e,this.finish(),this},finishObjectPattern:function(e){return this.type=tn.ObjectPattern,this.properties=e,this.finish(),this},finishPostfixExpression:function(e,t){return this.type=tn.UpdateExpression,this.operator=e,this.argument=t,this.prefix=!1,this.finish(),this},finishProgram:function(e,t){return this.type=tn.Program,this.body=e,this.sourceType=t,this.finish(),this},finishProperty:function(e,t,n,r,i,a){return this.type=tn.Property,this.key=t,this.computed=n,this.value=r,this.kind=e,this.method=i,this.shorthand=a,this.finish(),this},finishRestElement:function(e){return this.type=tn.RestElement,this.argument=e,this.finish(),this},finishReturnStatement:function(e){return this.type=tn.ReturnStatement,this.argument=e,this.finish(),this},finishSequenceExpression:function(e){return this.type=tn.SequenceExpression,this.expressions=e,this.finish(),this},finishSpreadElement:function(e){return this.type=tn.SpreadElement,this.argument=e,this.finish(),this},finishSwitchCase:function(e,t){return this.type=tn.SwitchCase,this.test=e,this.consequent=t,this.finish(),this},finishSuper:function(){return this.type=tn.Super,this.finish(),this},finishSwitchStatement:function(e,t){return this.type=tn.SwitchStatement,this.discriminant=e,this.cases=t,this.finish(),this},finishTaggedTemplateExpression:function(e,t){return this.type=tn.TaggedTemplateExpression,this.tag=e,this.quasi=t,this.finish(),this},finishTemplateElement:function(e,t){return this.type=tn.TemplateElement,this.value=e,this.tail=t,this.finish(),this},finishTemplateLiteral:function(e,t){return this.type=tn.TemplateLiteral,this.quasis=e,this.expressions=t,this.finish(),this},finishThisExpression:function(){return this.type=tn.ThisExpression,this.finish(),this},finishThrowStatement:function(e){return this.type=tn.ThrowStatement,this.argument=e,this.finish(),this},finishTryStatement:function(e,t,n){return this.type=tn.TryStatement,this.block=e,this.guardedHandlers=[],this.handlers=t?[t]:[],this.handler=t,this.finalizer=n,this.finish(),this},finishUnaryExpression:function(e,t){return this.type="++"===e||"--"===e?tn.UpdateExpression:tn.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0,this.finish(),this},finishVariableDeclaration:function(e){return this.type=tn.VariableDeclaration,this.declarations=e,this.kind="var",this.finish(),this},finishLexicalDeclaration:function(e,t){return this.type=tn.VariableDeclaration,this.declarations=e,this.kind=t,this.finish(),this},finishVariableDeclarator:function(e,t){return this.type=tn.VariableDeclarator,this.id=e,this.init=t,this.finish(),this},finishWhileStatement:function(e,t){return this.type=tn.WhileStatement,this.test=e,this.body=t,this.finish(),this},finishWithStatement:function(e,t){return this.type=tn.WithStatement,this.object=e,this.body=t,this.finish(),this},finishExportSpecifier:function(e,t){return this.type=tn.ExportSpecifier,this.exported=t||e,this.local=e,this.finish(),this},finishImportDefaultSpecifier:function(e){return this.type=tn.ImportDefaultSpecifier,this.local=e,this.finish(),this},finishImportNamespaceSpecifier:function(e){return this.type=tn.ImportNamespaceSpecifier,this.local=e,this.finish(),this},finishExportNamedDeclaration:function(e,t,n){return this.type=tn.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=n,this.finish(),this},finishExportDefaultDeclaration:function(e){return this.type=tn.ExportDefaultDeclaration,this.declaration=e,this.finish(),this},finishExportAllDeclaration:function(e){return this.type=tn.ExportAllDeclaration,this.source=e,this.finish(),this},finishImportSpecifier:function(e,t){return this.type=tn.ImportSpecifier,this.local=e||t,this.imported=t,this.finish(),this},finishImportDeclaration:function(e,t){return this.type=tn.ImportDeclaration,this.specifiers=e,this.source=t,this.finish(),this},finishYieldExpression:function(e,t){return this.type=tn.YieldExpression,this.argument=e,this.delegate=t,this.finish(),this}},e.version="2.7.1",e.tokenize=Qt,e.parse=Xt,e.Syntax=function(){var e,t={};"function"==typeof Object.create&&(t=Object.create(null));for(e in tn)tn.hasOwnProperty(e)&&(t[e]=tn[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()})},{}],51:[function(e,t,n){t.exports=e("./lib/inherit")},{"./lib/inherit":52}],52:[function(t,n,r){!function(t){function i(e){var t=h(e);if(v)for(var n,r=0;n=w[r++];)e.hasOwnProperty(n)&&t.push(n);return t}function a(e,t,n){for(var r,a,o=i(n),s=0,l=o.length;l>s;)"__self"!==(r=o[s++])&&(a=n[r],y(a)&&(!u||a.toString().indexOf(".__base")>-1)?t[r]=function(n,r){var i=e[n]?e[n]:"__constructor"===n?t.__self.__parent:g;return function(){var e=this.__base;this.__base=i;var t=r.apply(this,arguments);return this.__base=e,t}}(r,a):t[r]=a)}function o(e,t){for(var n,r=1;n=e[r++];)t?y(n)?s.self(t,n.prototype,n):s.self(t,n):t=y(n)?s(e[0],n.prototype,n):s(e[0],n);return t||e[0]}function s(){var e=arguments,t=m(e[0]),n=t||y(e[0]),r=n?t?o(e[0]):e[0]:l,i=e[n?1:0]||{},s=e[n?2:1],u=i.__constructor||n&&r.prototype.__constructor?function(){return this.__constructor.apply(this,arguments)}:n?function(){return r.apply(this,arguments)}:function(){};if(!n)return u.prototype=i,u.prototype.__self=u.prototype.constructor=u,f(u,s);f(u,r),u.__parent=r;var c=r.prototype,h=u.prototype=p(c);return h.__self=h.constructor=u,i&&a(c,h,i),s&&a(r,u,s),u}var u=function(){"_"}.toString().indexOf("_")>-1,l=function(){},c=Object.prototype.hasOwnProperty,p=Object.create||function(e){var t=function(){};return t.prototype=e,new t},h=Object.keys||function(e){var t=[];for(var n in e)c.call(e,n)&&t.push(n);return t},f=function(e,t){for(var n in t)c.call(t,n)&&(e[n]=t[n]);return e},d=Object.prototype.toString,m=Array.isArray||function(e){return"[object Array]"===d.call(e)},y=function(e){return"[object Function]"===d.call(e)},g=function(){},v=!0,D={toString:""};for(var b in D)D.hasOwnProperty(b)&&(v=!1);var w=v?["toString","valueOf"]:null;s.self=function(){var e=arguments,t=m(e[0]),n=t?o(e[0],e[0][0]):e[0],r=e[1],i=e[2],s=n.prototype;return r&&a(s,s,r),i&&a(n,n,i),n};var A=!0;"object"==typeof r&&(n.exports=s,A=!1),"object"==typeof modules&&(modules.define("inherit",function(e){e(s)}),A=!1),"function"==typeof e&&(e(function(e,t,n){n.exports=s}),A=!1),A&&(t.inherit=s)}(this)},{}],53:[function(e,t,n){function r(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=0>n?o(r+n,0):n;else if(n){var s=a(e,t);return r>s&&(t===t?t===e[s]:e[s]!==e[s])?s:-1}return i(e,t,n||0)}var i=e("../internal/baseIndexOf"),a=e("../internal/binaryIndex"),o=Math.max;t.exports=r},{"../internal/baseIndexOf":82,"../internal/binaryIndex":96}],54:[function(e,t,n){function r(e){var t=e?e.length:0;return t?e[t-1]:void 0}t.exports=r},{}],55:[function(e,t,n){function r(e){if(u(e)&&!s(e)&&!(e instanceof i)){if(e instanceof a)return e;if(p.call(e,"__chain__")&&p.call(e,"__wrapped__"))return l(e)}return new a(e)}var i=e("../internal/LazyWrapper"),a=e("../internal/LodashWrapper"),o=e("../internal/baseLodash"),s=e("../lang/isArray"),u=e("../internal/isObjectLike"),l=e("../internal/wrapperClone"),c=Object.prototype,p=c.hasOwnProperty;r.prototype=o.prototype,t.exports=r},{"../internal/LazyWrapper":64,"../internal/LodashWrapper":65,"../internal/baseLodash":86,"../internal/isObjectLike":130,"../internal/wrapperClone":141,"../lang/isArray":144}],56:[function(e,t,n){t.exports=e("./forEach")},{"./forEach":58}],57:[function(e,t,n){var r=e("../internal/baseEach"),i=e("../internal/createFind"),a=i(r);t.exports=a},{"../internal/baseEach":75,"../internal/createFind":106}],58:[function(e,t,n){var r=e("../internal/arrayEach"),i=e("../internal/baseEach"),a=e("../internal/createForEach"),o=a(r,i);t.exports=o},{"../internal/arrayEach":67,"../internal/baseEach":75,"../internal/createForEach":107}],59:[function(e,t,n){function r(e,t,n,r){var h=e?a(e):0;return u(h)||(e=c(e),h=e.length),n="number"!=typeof n||r&&s(t,n,r)?0:0>n?p(h+n,0):n||0,"string"==typeof e||!o(e)&&l(e)?h>=n&&e.indexOf(t,n)>-1:!!h&&i(e,t,n)>-1}var i=e("../internal/baseIndexOf"),a=e("../internal/getLength"),o=e("../lang/isArray"),s=e("../internal/isIterateeCall"),u=e("../internal/isLength"),l=e("../lang/isString"),c=e("../object/values"),p=Math.max;t.exports=r},{"../internal/baseIndexOf":82,"../internal/getLength":116,"../internal/isIterateeCall":126,"../internal/isLength":129,"../lang/isArray":144,"../lang/isString":150,"../object/values":156}],60:[function(e,t,n){function r(e,t,n){var r=s(e)?i:o;return t=a(t,n,3),r(e,t)}var i=e("../internal/arrayMap"),a=e("../internal/baseCallback"),o=e("../internal/baseMap"),s=e("../lang/isArray");t.exports=r},{"../internal/arrayMap":68,"../internal/baseCallback":71,"../internal/baseMap":87,"../lang/isArray":144}],61:[function(e,t,n){var r=e("../internal/getNative"),i=r(Date,"now"),a=i||function(){return(new Date).getTime()};t.exports=a},{"../internal/getNative":118}],62:[function(e,t,n){var r=e("../internal/createWrapper"),i=e("../internal/replaceHolders"),a=e("./restParam"),o=1,s=32,u=a(function(e,t,n){var a=o;if(n.length){var l=i(n,u.placeholder);a|=s}return r(e,a,t,n,l)});u.placeholder={},t.exports=u},{"../internal/createWrapper":110,"../internal/replaceHolders":136,"./restParam":63}],63:[function(e,t,n){function r(e,t){if("function"!=typeof e)throw new TypeError(i);return t=a(void 0===t?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=a(n.length-t,0),o=Array(i);++rr;)e=i(e)[t[r++]];return r&&r==a?e:void 0}}var i=e("./toObject");t.exports=r},{"./toObject":139}],82:[function(e,t,n){function r(e,t,n){if(t!==t)return i(e,n);for(var r=n-1,a=e.length;++rt&&(t=-t>i?0:i+t),n=void 0===n||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r=o){for(;o>r;){var u=r+o>>>1,l=e[u];(n?t>=l:t>l)&&null!==l?r=u+1:o=u}return o}return i(e,t,a,n)}var i=e("./binaryIndexBy"),a=e("../utility/identity"),o=4294967295,s=o>>>1;t.exports=r},{"../utility/identity":158,"./binaryIndexBy":97}],97:[function(e,t,n){function r(e,t,n,r){t=n(t);for(var o=0,u=e?e.length:0,l=t!==t,c=null===t,p=void 0===t;u>o;){var h=i((o+u)/2),f=n(e[h]),d=void 0!==f,m=f===f;if(l)var y=m||r;else y=c?m&&d&&(r||null!=f):p?m&&(r||d):null==f?!1:r?t>=f:t>f;y?o=h+1:u=h}return a(u,s)}var i=Math.floor,a=Math.min,o=4294967295,s=o-1;t.exports=r},{}],98:[function(e,t,n){function r(e,t,n){if("function"!=typeof e)return i;if(void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,a){return e.call(t,n,r,i,a)};case 5:return function(n,r,i,a,o){return e.call(t,n,r,i,a,o)}}return function(){return e.apply(t,arguments)}}var i=e("../utility/identity");t.exports=r},{"../utility/identity":158}],99:[function(e,t,n){(function(e){function n(e){var t=new r(e.byteLength),n=new i(t);return n.set(new i(e)),t}var r=e.ArrayBuffer,i=e.Uint8Array;t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],100:[function(e,t,n){function r(e,t,n){for(var r=n.length,a=-1,o=i(e.length-r,0),s=-1,u=t.length,l=Array(u+o);++s-1?n[l]:void 0}return a(n,r,e)}}var i=e("./baseCallback"),a=e("./baseFind"),o=e("./baseFindIndex"),s=e("../lang/isArray");t.exports=r},{"../lang/isArray":144,"./baseCallback":71,"./baseFind":76,"./baseFindIndex":77}],107:[function(e,t,n){function r(e,t){return function(n,r,o){return"function"==typeof r&&void 0===o&&a(n)?e(n,r):t(n,i(r,o,3))}}var i=e("./bindCallback"),a=e("../lang/isArray");t.exports=r},{"../lang/isArray":144,"./bindCallback":98}],108:[function(e,t,n){(function(n){function r(e,t,w,A,C,x,E,F,S,k){function O(){for(var d=arguments.length,m=d,y=Array(d);m--;)y[m]=arguments[m];if(A&&(y=a(y,A,C)),x&&(y=o(y,x,E)),_||P){var D=O.placeholder,R=c(y,D);if(d-=R.length,k>d){var $=F?i(F):void 0,U=b(k-d,0),M=_?R:void 0,N=_?void 0:R,q=_?y:void 0,H=_?void 0:y;t|=_?g:v,t&=~(_?v:g),T||(t&=~(h|f));var V=[e,t,w,q,M,H,N,$,S,U],z=r.apply(void 0,V);return u(e)&&p(z,V),z.placeholder=D,z}}var Y=B?w:this,J=I?Y[e]:e;return F&&(y=l(y,F)),j&&Sl))return!1;for(;++u-1&&e%1==0&&t>e}var i=/^\d+$/,a=9007199254740991;t.exports=r},{}],126:[function(e,t,n){function r(e,t,n){if(!o(n))return!1;var r=typeof t;if("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n){var s=n[t];return e===e?e===s:s!==s}return!1}var i=e("./isArrayLike"),a=e("./isIndex"),o=e("../lang/isObject");t.exports=r},{"../lang/isObject":148,"./isArrayLike":123,"./isIndex":125}],127:[function(e,t,n){function r(e,t){var n=typeof e;if("string"==n&&s.test(e)||"number"==n)return!0;if(i(e))return!1;var r=!o.test(e);return r||null!=t&&e in a(t)}var i=e("../lang/isArray"),a=e("./toObject"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=r},{"../lang/isArray":144,"./toObject":139}],128:[function(e,t,n){function r(e){var t=o(e),n=s[t];if("function"!=typeof n||!(t in i.prototype))return!1;if(e===n)return!0;var r=a(n);return!!r&&e===r[0]}var i=e("./LazyWrapper"),a=e("./getData"),o=e("./getFuncName"),s=e("../chain/lodash");t.exports=r},{"../chain/lodash":55,"./LazyWrapper":64,"./getData":114,"./getFuncName":115}],129:[function(e,t,n){function r(e){return"number"==typeof e&&e>-1&&e%1==0&&i>=e}var i=9007199254740991;t.exports=r},{}],130:[function(e,t,n){function r(e){return!!e&&"object"==typeof e}t.exports=r},{}],131:[function(e,t,n){function r(e){return e===e&&!i(e)}var i=e("../lang/isObject");t.exports=r},{"../lang/isObject":148}],132:[function(e,t,n){function r(e,t){var n=e[1],r=t[1],m=n|r,y=p>m,g=r==p&&n==c||r==p&&n==h&&e[7].length<=t[8]||r==(p|h)&&n==c;if(!y&&!g)return e;r&u&&(e[2]=t[2],m|=n&u?0:l);var v=t[3];if(v){var D=e[3];e[3]=D?a(D,v,t[4]):i(v),e[4]=D?s(e[3],f):i(t[4])}return v=t[5],v&&(D=e[5],e[5]=D?o(D,v,t[6]):i(v),e[6]=D?s(e[5],f):i(t[6])),v=t[7],v&&(e[7]=i(v)),r&p&&(e[8]=null==e[8]?t[8]:d(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=m,e}var i=e("./arrayCopy"),a=e("./composeArgs"),o=e("./composeArgsRight"),s=e("./replaceHolders"),u=1,l=4,c=8,p=128,h=256,f="__lodash_placeholder__",d=Math.min;t.exports=r},{"./arrayCopy":66,"./composeArgs":100,"./composeArgsRight":101,"./replaceHolders":136}],133:[function(e,t,n){(function(n){var r=e("./getNative"),i=r(n,"WeakMap"),a=i&&new i;t.exports=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./getNative":118}],134:[function(e,t,n){var r={};t.exports=r},{}],135:[function(e,t,n){function r(e,t){for(var n=e.length,r=o(t.length,n),s=i(e);r--;){var u=t[r];e[r]=a(u,n)?s[u]:void 0}return e}var i=e("./arrayCopy"),a=e("./isIndex"),o=Math.min;t.exports=r},{"./arrayCopy":66,"./isIndex":125}],136:[function(e,t,n){function r(e,t){for(var n=-1,r=e.length,a=-1,o=[];++n0){if(++e>=a)return n}else e=0;return r(n,s)}}();t.exports=s},{"../date/now":61,"./baseSetData":92}],138:[function(e,t,n){function r(e){for(var t=l(e),n=t.length,r=n&&e.length,c=!!r&&s(r)&&(a(e)||i(e)||u(e)),h=-1,f=[];++h0,g=h.enumErrorProps&&(e===C||e instanceof Error),v=h.enumPrototypes&&s(e);++r=Y&&le>=r}function l(){if(q)try{throw new Error}catch(e){var t=e.stack.split("\n"),n=t[0].indexOf("@")>0?t[1]:t[2],r=s(n);if(!r)return;return V=r[0],r[1]}}function c(e,t,n){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t+" is deprecated, use "+n+" instead.",new Error("").stack),e.apply(e,arguments)}}function p(e){return e instanceof m?e:D(e)?k(e):S(e)}function h(){function e(e){t=e,a.source=e,X(n,function(t,n){p.nextTick(function(){e.promiseDispatch.apply(e,n)})},void 0),n=void 0,r=void 0}var t,n=[],r=[],i=ee(h.prototype),a=ee(m.prototype);if(a.promiseDispatch=function(e,i,a){var o=Q(arguments);n?(n.push(o),"when"===i&&a[1]&&r.push(a[1])):p.nextTick(function(){t.promiseDispatch.apply(t,o)})},a.valueOf=function(){if(n)return a;var e=g(t);return v(e)&&(t=e),e},a.inspect=function(){return t?t.inspect():{state:"pending"}},p.longStackSupport&&q)try{throw new Error}catch(o){a.stack=o.stack.substring(o.stack.indexOf("\n")+1)}return i.promise=a,i.resolve=function(n){t||e(p(n))},i.fulfill=function(n){t||e(S(n))},i.reject=function(n){t||e(F(n))},i.notify=function(e){t||X(r,function(t,n){p.nextTick(function(){n(e)})},void 0)},i}function f(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=h();try{e(t.resolve,t.reject,t.notify)}catch(n){t.reject(n)}return t.promise}function d(e){return f(function(t,n){for(var r=0,i=e.length;i>r;r++)p(e[r]).then(t,n)})}function m(e,t,n){void 0===t&&(t=function(e){return F(new Error("Promise does not support operation: "+e))}),void 0===n&&(n=function(){return{state:"unknown"}});var r=ee(m.prototype);if(r.promiseDispatch=function(n,i,a){var o;try{o=e[i]?e[i].apply(r,a):t.call(r,i,a)}catch(s){o=F(s)}n&&n(o)},r.inspect=n,n){var i=n();"rejected"===i.state&&(r.exception=i.reason),r.valueOf=function(){var e=n();return"pending"===e.state||"rejected"===e.state?r:e.value}}return r}function y(e,t,n,r){return p(e).then(t,n,r)}function g(e){if(v(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function v(e){return e instanceof m}function D(e){return n(e)&&"function"==typeof e.then}function b(e){return v(e)&&"pending"===e.inspect().state}function w(e){return!v(e)||"fulfilled"===e.inspect().state}function A(e){return v(e)&&"rejected"===e.inspect().state}function C(){ae.length=0,oe.length=0,ue||(ue=!0)}function x(e,n){ue&&("object"==typeof t&&"function"==typeof t.emit&&p.nextTick.runAfter(function(){-1!==G(oe,e)&&(t.emit("unhandledRejection",n,e),se.push(e))}),oe.push(e),n&&"undefined"!=typeof n.stack?ae.push(n.stack):ae.push("(no stack) "+n))}function E(e){if(ue){var n=G(oe,e);-1!==n&&("object"==typeof t&&"function"==typeof t.emit&&p.nextTick.runAfter(function(){var r=G(se,e);-1!==r&&(t.emit("rejectionHandled",ae[n],e),se.splice(r,1))}),oe.splice(n,1),ae.splice(n,1))}}function F(e){var t=m({when:function(t){return t&&E(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return x(t,e),t}function S(e){return m({when:function(){return e},get:function(t){return e[t]},set:function(t,n){e[t]=n},"delete":function(t){delete e[t]},post:function(t,n){return null===t||void 0===t?e.apply(void 0,n):e[t].apply(e,n)},apply:function(t,n){return e.apply(t,n)},keys:function(){return ne(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function k(e){var t=h();return p.nextTick(function(){try{e.then(t.resolve,t.reject,t.notify)}catch(n){t.reject(n)}}),t.promise}function O(e){return m({isDef:function(){}},function(t,n){return P(e,t,n)},function(){return p(e).inspect()})}function j(e,t,n){return p(e).spread(t,n)}function B(e){return function(){function t(e,t){var o;if("undefined"==typeof StopIteration){try{o=n[e](t)}catch(s){return F(s)}return o.done?p(o.value):y(o.value,i,a)}try{o=n[e](t)}catch(s){return r(s)?p(s.value):F(s)}return y(o,i,a)}var n=e.apply(this,arguments),i=t.bind(t,"next"),a=t.bind(t,"throw");return i()}}function I(e){p.done(p.async(e)())}function _(e){throw new z(e)}function T(e){return function(){return j([this,L(arguments)],function(t,n){return e.apply(t,n)})}}function P(e,t,n){return p(e).dispatch(t,n)}function L(e){return y(e,function(e){var t=0,n=h();return X(e,function(r,i,a){var o;v(i)&&"fulfilled"===(o=i.inspect()).state?e[a]=o.value:(++t,y(i,function(r){e[a]=r,0===--t&&n.resolve(e)},n.reject,function(e){n.notify({index:a,value:e})}))},void 0),0===t&&n.resolve(e),n.promise})}function R(e){if(0===e.length)return p.resolve();var t=p.defer(),n=0;return X(e,function(r,i,a){function o(e){t.resolve(e)}function s(){n--,0===n&&t.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected."))}function u(e){t.notify({index:a,value:e})}var l=e[a];n++,y(l,o,s,u)},void 0),t.promise}function $(e){return y(e,function(e){return e=Z(e,p),y(L(Z(e,function(e){return y(e,J,J)})),function(){return e})})}function U(e){return p(e).allSettled()}function M(e,t){return p(e).then(void 0,void 0,t)}function N(e,t){return p(e).nodeify(t)}var q=!1;try{throw new Error}catch(H){q=!!H.stack}var V,z,Y=l(),J=function(){},W=function(){function e(){for(var e,t;r.next;)r=r.next,e=r.task,r.task=void 0,t=r.domain,t&&(r.domain=void 0,t.enter()),n(e,t);for(;u.length;)e=u.pop(),n(e);a=!1}function n(t,n){try{t()}catch(r){if(s)throw n&&n.exit(),setTimeout(e,0),n&&n.enter(),r;setTimeout(function(){throw r},0)}n&&n.exit()}var r={task:void 0,next:null},i=r,a=!1,o=void 0,s=!1,u=[];if(W=function(e){i=i.next={task:e,domain:s&&t.domain,next:null},a||(a=!0,o())},"object"==typeof t&&"[object process]"===t.toString()&&t.nextTick)s=!0,o=function(){t.nextTick(e)};else if("function"==typeof setImmediate)o="undefined"!=typeof window?setImmediate.bind(window,e):function(){setImmediate(e)};else if("undefined"!=typeof MessageChannel){var l=new MessageChannel;l.port1.onmessage=function(){o=c,l.port1.onmessage=e,e()};var c=function(){l.port2.postMessage(0)};o=function(){setTimeout(e,0),c()}}else o=function(){setTimeout(e,0)};return W.runAfter=function(e){u.push(e),a||(a=!0,o())},W}(),K=Function.call,Q=e(Array.prototype.slice),X=e(Array.prototype.reduce||function(e,t){var n=0,r=this.length;if(1===arguments.length)for(;;){if(n in this){t=this[n++];break}if(++n>=r)throw new TypeError}for(;r>n;n++)n in this&&(t=e(t,this[n],n));return t}),G=e(Array.prototype.indexOf||function(e){for(var t=0;t2?e.resolve(Q(arguments,1)):e.resolve(n)}},p.Promise=f,p.promise=f,f.race=d,f.all=L,f.reject=F,f.resolve=p,p.passByCopy=function(e){return e},m.prototype.passByCopy=function(){return this},p.join=function(e,t){return p(e).join(t)},m.prototype.join=function(e){return p([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},p.race=d,m.prototype.race=function(){return this.then(p.race)},p.makePromise=m,m.prototype.toString=function(){return"[object Promise]"},m.prototype.then=function(e,t,n){function r(t){try{return"function"==typeof e?e(t):t}catch(n){return F(n)}}function a(e){if("function"==typeof t){i(e,s);try{return t(e)}catch(n){return F(n)}}return F(e)}function o(e){return"function"==typeof n?n(e):e}var s=this,u=h(),l=!1;return p.nextTick(function(){s.promiseDispatch(function(e){l||(l=!0,u.resolve(r(e)))},"when",[function(e){l||(l=!0,u.resolve(a(e)))}])}),s.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t=o(e)}catch(r){if(n=!0,!p.onerror)throw r;p.onerror(r)}n||u.notify(t)}]),u.promise},p.tap=function(e,t){return p(e).tap(t)},m.prototype.tap=function(e){return e=p(e),this.then(function(t){return e.fcall(t).thenResolve(t)})},p.when=y,m.prototype.thenResolve=function(e){return this.then(function(){return e})},p.thenResolve=function(e,t){return p(e).thenResolve(t)},m.prototype.thenReject=function(e){return this.then(function(){throw e})},p.thenReject=function(e,t){return p(e).thenReject(t)},p.nearer=g,p.isPromise=v,p.isPromiseAlike=D,p.isPending=b,m.prototype.isPending=function(){return"pending"===this.inspect().state},p.isFulfilled=w,m.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},p.isRejected=A,m.prototype.isRejected=function(){return"rejected"===this.inspect().state};var ae=[],oe=[],se=[],ue=!0;p.resetUnhandledRejections=C,p.getUnhandledReasons=function(){return ae.slice()},p.stopUnhandledRejectionTracking=function(){C(),ue=!1},C(),p.reject=F,p.fulfill=S,p.master=O,p.spread=j,m.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},p.async=B,p.spawn=I,p["return"]=_,p.promised=T,p.dispatch=P,m.prototype.dispatch=function(e,t){var n=this,r=h();return p.nextTick(function(){n.promiseDispatch(r.resolve,e,t)}),r.promise},p.get=function(e,t){return p(e).dispatch("get",[t])},m.prototype.get=function(e){return this.dispatch("get",[e])},p.set=function(e,t,n){return p(e).dispatch("set",[t,n])},m.prototype.set=function(e,t){return this.dispatch("set",[e,t])},p.del=p["delete"]=function(e,t){return p(e).dispatch("delete",[t])},m.prototype.del=m.prototype["delete"]=function(e){return this.dispatch("delete",[e])},p.mapply=p.post=function(e,t,n){return p(e).dispatch("post",[t,n])},m.prototype.mapply=m.prototype.post=function(e,t){return this.dispatch("post",[e,t])},p.send=p.mcall=p.invoke=function(e,t){return p(e).dispatch("post",[t,Q(arguments,2)])},m.prototype.send=m.prototype.mcall=m.prototype.invoke=function(e){return this.dispatch("post",[e,Q(arguments,1)])},p.fapply=function(e,t){return p(e).dispatch("apply",[void 0,t])},m.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},p["try"]=p.fcall=function(e){return p(e).dispatch("apply",[void 0,Q(arguments,1)])},m.prototype.fcall=function(){return this.dispatch("apply",[void 0,Q(arguments)])},p.fbind=function(e){var t=p(e),n=Q(arguments,1);return function(){return t.dispatch("apply",[this,n.concat(Q(arguments))])}},m.prototype.fbind=function(){var e=this,t=Q(arguments);return function(){return e.dispatch("apply",[this,t.concat(Q(arguments))])}},p.keys=function(e){return p(e).dispatch("keys",[])},m.prototype.keys=function(){return this.dispatch("keys",[])},p.all=L,m.prototype.all=function(){return L(this)},p.any=R,m.prototype.any=function(){return R(this)},p.allResolved=c($,"allResolved","allSettled"),m.prototype.allResolved=function(){return $(this)},p.allSettled=U,m.prototype.allSettled=function(){return this.then(function(e){return L(Z(e,function(e){function t(){return e.inspect()}return e=p(e),e.then(t,t)}))})},p.fail=p["catch"]=function(e,t){return p(e).then(void 0,t)},m.prototype.fail=m.prototype["catch"]=function(e){return this.then(void 0,e)},p.progress=M,m.prototype.progress=function(e){return this.then(void 0,void 0,e)},p.fin=p["finally"]=function(e,t){return p(e)["finally"](t)},m.prototype.fin=m.prototype["finally"]=function(e){return e=p(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},p.done=function(e,t,n,r){return p(e).done(t,n,r)},m.prototype.done=function(e,n,r){var a=function(e){p.nextTick(function(){if(i(e,o),!p.onerror)throw e;p.onerror(e)})},o=e||n||r?this.then(e,n,r):this;"object"==typeof t&&t&&t.domain&&(a=t.domain.bind(a)),o.then(void 0,a)},p.timeout=function(e,t,n){return p(e).timeout(t,n)},m.prototype.timeout=function(e,t){var n=h(),r=setTimeout(function(){t&&"string"!=typeof t||(t=new Error(t||"Timed out after "+e+" ms"),t.code="ETIMEDOUT"),n.reject(t)},e);return this.then(function(e){clearTimeout(r),n.resolve(e)},function(e){clearTimeout(r),n.reject(e)},n.notify),n.promise},p.delay=function(e,t){return void 0===t&&(t=e,e=void 0),p(e).delay(t)},m.prototype.delay=function(e){return this.then(function(t){var n=h();return setTimeout(function(){n.resolve(t)},e),n.promise})},p.nfapply=function(e,t){return p(e).nfapply(t)},m.prototype.nfapply=function(e){var t=h(),n=Q(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},p.nfcall=function(e){var t=Q(arguments,1);return p(e).nfapply(t)},m.prototype.nfcall=function(){var e=Q(arguments),t=h();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},p.nfbind=p.denodeify=function(e){var t=Q(arguments,1);return function(){var n=t.concat(Q(arguments)),r=h();return n.push(r.makeNodeResolver()),p(e).fapply(n).fail(r.reject),r.promise}},m.prototype.nfbind=m.prototype.denodeify=function(){var e=Q(arguments);return e.unshift(this),p.denodeify.apply(void 0,e)},p.nbind=function(e,t){var n=Q(arguments,2);return function(){function r(){return e.apply(t,arguments)}var i=n.concat(Q(arguments)),a=h();return i.push(a.makeNodeResolver()),p(r).fapply(i).fail(a.reject),a.promise}},m.prototype.nbind=function(){var e=Q(arguments,0);return e.unshift(this),p.nbind.apply(void 0,e)},p.nmapply=p.npost=function(e,t,n){return p(e).npost(t,n)},m.prototype.nmapply=m.prototype.npost=function(e,t){var n=Q(t||[]),r=h();return n.push(r.makeNodeResolver()),this.dispatch("post",[e,n]).fail(r.reject),r.promise},p.nsend=p.nmcall=p.ninvoke=function(e,t){var n=Q(arguments,2),r=h();return n.push(r.makeNodeResolver()),p(e).dispatch("post",[t,n]).fail(r.reject),r.promise},m.prototype.nsend=m.prototype.nmcall=m.prototype.ninvoke=function(e){var t=Q(arguments,1),n=h();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},p.nodeify=N,m.prototype.nodeify=function(e){return e?void this.then(function(t){p.nextTick(function(){e(null,t)})},function(t){p.nextTick(function(){e(t)})}):this},p.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var le=l();return p})}).call(this,t("_process"))},{_process:13}],162:[function(e,t,n){function r(){}function i(e){var t={}.toString.call(e);switch(t){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}}function a(e){return e===Object(e)}function o(e){if(!a(e))return e;var t=[];for(var n in e)null!=e[n]&&s(t,n,e[n]);return t.join("&")}function s(e,t,n){return Array.isArray(n)?n.forEach(function(n){s(e,t,n)}):void e.push(encodeURIComponent(t)+"="+encodeURIComponent(n))}function u(e){for(var t,n,r={},i=e.split("&"),a=0,o=i.length;o>a;++a)n=i[a],t=n.split("="),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r}function l(e){var t,n,r,i,a=e.split(/\r?\n/),o={};a.pop();for(var s=0,u=a.length;u>s;++s)n=a[s],t=n.indexOf(":"),r=n.slice(0,t).toLowerCase(),i=D(n.slice(t+1)),o[r]=i;return o}function c(e){return e.split(/ *; */).shift()}function p(e){return v(e.split(/ *; */),function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})}function h(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText,this.setStatusProperties(this.xhr.status),this.header=this.headers=l(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this.setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this.parseBody(this.text?this.text:this.xhr.response):null}function f(e,t){var n=this;g.call(this),this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new h(n)}catch(r){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=r,n.callback(e)}if(n.emit("response",t),e)return n.callback(e,t);if(t.status>=200&&t.status<300)return n.callback(e,t);var i=new Error(t.statusText||"Unsuccessful HTTP response");i.original=e,i.response=t,i.status=t.status,n.callback(i,t)})}function d(e,t){return"function"==typeof t?new f("GET",e).end(t):1==arguments.length?new f("GET",e):new f(e,t)}function m(e,t){var n=d("DELETE",e);return t&&n.end(t),n}var y,g=e("emitter"),v=e("reduce");y="undefined"!=typeof window?window:"undefined"!=typeof self?self:this,d.getXHR=function(){if(!(!y.XMLHttpRequest||y.location&&"file:"==y.location.protocol&&y.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP");
-}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1};var D="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};d.serializeObject=o,d.parseString=u,d.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},d.serialize={"application/x-www-form-urlencoded":o,"application/json":JSON.stringify},d.parse={"application/x-www-form-urlencoded":u,"application/json":JSON.parse},h.prototype.get=function(e){return this.header[e.toLowerCase()]},h.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=c(t);var n=p(t);for(var r in n)this[r]=n[r]},h.prototype.parseBody=function(e){var t=d.parse[this.type];return t&&e&&(e.length||e instanceof Object)?t(e):null},h.prototype.setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=4==t||5==t?this.toError():!1,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},h.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},d.Response=h,g(f.prototype),f.prototype.use=function(e){return e(this),this},f.prototype.timeout=function(e){return this._timeout=e,this},f.prototype.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},f.prototype.abort=function(){return this.aborted?void 0:(this.aborted=!0,this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this)},f.prototype.set=function(e,t){if(a(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},f.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},f.prototype.getHeader=function(e){return this._header[e.toLowerCase()]},f.prototype.type=function(e){return this.set("Content-Type",d.types[e]||e),this},f.prototype.parse=function(e){return this._parser=e,this},f.prototype.accept=function(e){return this.set("Accept",d.types[e]||e),this},f.prototype.auth=function(e,t){var n=btoa(e+":"+t);return this.set("Authorization","Basic "+n),this},f.prototype.query=function(e){return"string"!=typeof e&&(e=o(e)),e&&this._query.push(e),this},f.prototype.field=function(e,t){return this._formData||(this._formData=new y.FormData),this._formData.append(e,t),this},f.prototype.attach=function(e,t,n){return this._formData||(this._formData=new y.FormData),this._formData.append(e,t,n),this},f.prototype.send=function(e){var t=a(e),n=this.getHeader("Content-Type");if(t&&a(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this.getHeader("Content-Type"),"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||i(e)?this:(n||this.type("json"),this)},f.prototype.callback=function(e,t){var n=this._callback;this.clearTimeout(),n(e,t)},f.prototype.crossDomainError=function(){var e=new Error("Origin is not allowed by Access-Control-Allow-Origin");e.crossDomain=!0,this.callback(e)},f.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},f.prototype.withCredentials=function(){return this._withCredentials=!0,this},f.prototype.end=function(e){var t=this,n=this.xhr=d.getXHR(),a=this._query.join("&"),o=this._timeout,s=this._formData||this._data;this._callback=e||r,n.onreadystatechange=function(){if(4==n.readyState){var e;try{e=n.status}catch(r){e=0}if(0==e){if(t.timedout)return t.timeoutError();if(t.aborted)return;return t.crossDomainError()}t.emit("end")}};var u=function(e){e.total>0&&(e.percent=e.loaded/e.total*100),t.emit("progress",e)};this.hasListeners("progress")&&(n.onprogress=u);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=u)}catch(l){}if(o&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},o)),a&&(a=d.serializeObject(a),this.url+=~this.url.indexOf("?")?"&"+a:"?"+a),n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof s&&!i(s)){var c=this.getHeader("Content-Type"),p=this._parser||d.serialize[c?c.split(";")[0]:""];p&&(s=p(s))}for(var h in this.header)null!=this.header[h]&&n.setRequestHeader(h,this.header[h]);return this.emit("request",this),n.send("undefined"!=typeof s?s:null),this},f.prototype.then=function(e,t){return this.end(function(n,r){n?t(n):e(r)})},d.Request=f,d.get=function(e,t,n){var r=d("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},d.head=function(e,t,n){var r=d("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},d.del=m,d["delete"]=m,d.patch=function(e,t,n){var r=d("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},d.post=function(e,t,n){var r=d("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},d.put=function(e,t,n){var r=d("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},t.exports=d},{emitter:163,reduce:164}],163:[function(e,t,n){function r(e){return e?i(e):void 0}function i(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){r.off(e,n),t.apply(this,arguments)}var r=this;return this._callbacks=this._callbacks||{},n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var r,i=0;ir;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],164:[function(e,t,n){t.exports=function(e,t,n){for(var r=0,i=e.length,a=3==arguments.length?n:e[r++];i>r;)a=t.call(null,a,e[r],++r,e);return a}},{}]},{},[1])(1)}),window.SwaggerUi=Backbone.Router.extend({dom_id:"swagger_ui",options:null,api:null,headerView:null,mainView:null,initialize:function(e){e=e||{},"model"!==e.defaultModelRendering&&(e.defaultModelRendering="schema"),e.highlightSizeThreshold||(e.highlightSizeThreshold=1e5),e.dom_id&&(this.dom_id=e.dom_id,delete e.dom_id),e.supportedSubmitMethods||(e.supportedSubmitMethods=["get","put","post","delete","head","options","patch"]),"string"==typeof e.oauth2RedirectUrl&&(window.oAuthRedirectUrl=e.redirectUrl),$("#"+this.dom_id).length||$("body").append('
'),this.options=e,marked.setOptions({gfm:!0});var t=this;this.options.success=function(){return t.render()},this.options.progress=function(e){return t.showMessage(e)},this.options.failure=function(e){return t.onLoadFailure(e)},this.headerView=new SwaggerUi.Views.HeaderView({el:$("#header")}),this.headerView.on("update-swagger-ui",function(e){return t.updateSwaggerUi(e)}),JSONEditor.defaults.iconlibs.swagger=JSONEditor.AbstractIconLib.extend({mapping:{collapse:"collapse",expand:"expand"},icon_prefix:"swagger-"})},setOption:function(e,t){this.options[e]=t},getOption:function(e){return this.options[e]},updateSwaggerUi:function(e){this.options.url=e.url,this.load()},load:function(){this.mainView&&this.mainView.clear();var e=this.options.url;e&&0!==e.indexOf("http")&&(e=this.buildUrl(window.location.href.toString(),e)),this.api&&(this.options.authorizations=this.api.clientAuthorizations.authz),this.options.url=e,this.headerView.update(e),this.api=new SwaggerClient(this.options)},collapseAll:function(){Docs.collapseEndpointListForResource("")},listAll:function(){Docs.collapseOperationsForResource("")},expandAll:function(){Docs.expandOperationsForResource("")},render:function(){switch(this.showMessage("Finished Loading Resource Information. Rendering Swagger UI..."),this.mainView=new SwaggerUi.Views.MainView({model:this.api,el:$("#"+this.dom_id),swaggerOptions:this.options,router:this}).render(),this.showMessage(),this.options.docExpansion){case"full":this.expandAll();break;case"list":this.listAll()}this.renderGFM(),this.options.onComplete&&this.options.onComplete(this.api,this),setTimeout(Docs.shebang.bind(this),100)},buildUrl:function(e,t){if(0===t.indexOf("/")){var n=e.split("/");return e=n[0]+"//"+n[2],e+t}var r=e.length;return e.indexOf("?")>-1&&(r=Math.min(r,e.indexOf("?"))),e.indexOf("#")>-1&&(r=Math.min(r,e.indexOf("#"))),e=e.substring(0,r),-1!==e.indexOf("/",e.length-1)?e+t:e+"/"+t},showMessage:function(e){void 0===e&&(e="");var t=$("#message-bar");t.removeClass("message-fail"),t.addClass("message-success"),t.text(e),window.SwaggerTranslator&&window.SwaggerTranslator.translate(t)},onLoadFailure:function(e){void 0===e&&(e=""),$("#message-bar").removeClass("message-success"),$("#message-bar").addClass("message-fail");var t=$("#message-bar").text(e);return this.options.onFailure&&this.options.onFailure(e),t},renderGFM:function(){$(".markdown").each(function(){$(this).html(marked($(this).html()))}),$(".propDesc",".model-signature .description").each(function(){$(this).html(marked($(this).html())).addClass("markdown")})}}),window.SwaggerUi.Views={},function(){function e(e){"console"in window&&"function"==typeof window.console.warn&&console.warn(e)}window.authorizations={add:function(){if(e("Using window.authorizations is deprecated. Please use SwaggerUi.api.clientAuthorizations.add()."),"undefined"==typeof window.swaggerUi)throw new TypeError("window.swaggerUi is not defined");window.swaggerUi instanceof SwaggerUi&&window.swaggerUi.api.clientAuthorizations.add.apply(window.swaggerUi.api.clientAuthorizations,arguments)}},window.ApiKeyAuthorization=function(){e("window.ApiKeyAuthorization is deprecated. Please use SwaggerClient.ApiKeyAuthorization."),SwaggerClient.ApiKeyAuthorization.apply(window,arguments)},window.PasswordAuthorization=function(){e("window.PasswordAuthorization is deprecated. Please use SwaggerClient.PasswordAuthorization."),SwaggerClient.PasswordAuthorization.apply(window,arguments)}}(),function(e,t){"function"==typeof define&&define.amd?define(["b"],function(n){return e.SwaggerUi=t(n)}):"object"==typeof exports?module.exports=t(require("b")):e.SwaggerUi=t(e.b)}(this,function(){return SwaggerUi}),SwaggerUi.Views.ApiKeyButton=Backbone.View.extend({events:{"click #apikey_button":"toggleApiKeyContainer","click #apply_api_key":"applyApiKey"},initialize:function(e){this.options=e||{},this.router=this.options.router},render:function(){var e=this.template();return $(this.el).html(e(this.model)),this},applyApiKey:function(){var e=new SwaggerClient.ApiKeyAuthorization(this.model.name,$("#input_apiKey_entry").val(),this.model["in"]);this.router.api.clientAuthorizations.add(this.model.name,e),this.router.load(),$("#apikey_container").show()},toggleApiKeyContainer:function(){if($("#apikey_container").length){var e=$("#apikey_container").first();e.is(":visible")?e.hide():($(".auth_container").hide(),e.show())}},template:function(){return Handlebars.templates.apikey_button_view}}),SwaggerUi.Views.BasicAuthButton=Backbone.View.extend({initialize:function(e){this.options=e||{},this.router=this.options.router},render:function(){var e=this.template();return $(this.el).html(e(this.model)),this},events:{"click #basic_auth_button":"togglePasswordContainer","click #apply_basic_auth":"applyPassword"},applyPassword:function(e){e.preventDefault();var t=$("#input_username").val(),n=$("#input_password").val(),r=new SwaggerClient.PasswordAuthorization("basic",t,n);this.router.api.clientAuthorizations.add(this.model.type,r),this.router.load(),$("#basic_auth_container").hide()},togglePasswordContainer:function(){if($("#basic_auth_container").length){var e=$("#basic_auth_container").show();e.is(":visible")?e.slideUp():($(".auth_container").hide(),e.show())}},template:function(){return Handlebars.templates.basic_auth_button_view}}),SwaggerUi.Views.ContentTypeView=Backbone.View.extend({initialize:function(){},render:function(){return this.model.contentTypeId="ct"+Math.random(),$(this.el).html(Handlebars.templates.content_type(this.model)),this}}),SwaggerUi.Views.HeaderView=Backbone.View.extend({events:{"click #show-pet-store-icon":"showPetStore","click #explore":"showCustom","keyup #input_baseUrl":"showCustomOnKeyup","keyup #input_apiKey":"showCustomOnKeyup"},initialize:function(){},showPetStore:function(){this.trigger("update-swagger-ui",{url:"http://petstore.swagger.io/v2/swagger.json"})},showCustomOnKeyup:function(e){13===e.keyCode&&this.showCustom()},showCustom:function(e){e&&e.preventDefault(),this.trigger("update-swagger-ui",{url:$("#input_baseUrl").val(),apiKey:$("#input_apiKey").val()})},update:function(e,t,n){void 0===n&&(n=!1),$("#input_baseUrl").val(e),n&&this.trigger("update-swagger-ui",{url:e})}}),SwaggerUi.Views.MainView=Backbone.View.extend({apisSorter:{alpha:function(e,t){return e.name.localeCompare(t.name)}},operationsSorters:{alpha:function(e,t){return e.path.localeCompare(t.path)},method:function(e,t){return e.method.localeCompare(t.method)}},initialize:function(e){var t,n,r,i;if(e=e||{},this.router=e.router,e.swaggerOptions.apisSorter&&(t=e.swaggerOptions.apisSorter,n=_.isFunction(t)?t:this.apisSorter[t],_.isFunction(n)&&this.model.apisArray.sort(n)),e.swaggerOptions.operationsSorter&&(t=e.swaggerOptions.operationsSorter,n=_.isFunction(t)?t:this.operationsSorters[t],_.isFunction(n)))for(r in this.model.apisArray)this.model.apisArray[r].operationsArray.sort(n);this.model.auths=[];for(r in this.model.securityDefinitions)i=this.model.securityDefinitions[r],this.model.auths.push({name:r,type:i.type,value:i});"validatorUrl"in e.swaggerOptions?this.model.validatorUrl=e.swaggerOptions.validatorUrl:this.model.url.indexOf("localhost")>0?this.model.validatorUrl=null:"https:"===window.location.protocol?this.model.validatorUrl="https://online.swagger.io/validator":this.model.validatorUrl="http://online.swagger.io/validator";var a;for(a in this.model.definitions)this.model.definitions[a].type||(this.model.definitions[a].type="object")},render:function(){if(this.model.securityDefinitions)for(var e in this.model.securityDefinitions){var t,n=this.model.securityDefinitions[e];"apiKey"===n.type&&0===$("#apikey_button").length&&(t=new SwaggerUi.Views.ApiKeyButton({model:n,router:this.router}).render().el,$(".auth_main_container").append(t)),"basicAuth"===n.type&&0===$("#basic_auth_button").length&&(t=new SwaggerUi.Views.BasicAuthButton({model:n,router:this.router}).render().el,$(".auth_main_container").append(t))}$(this.el).html(Handlebars.templates.main(this.model));for(var r={},i=0,a=0;ao&&(n=o-u),i>n&&(n=i),r+l>s&&(r=s-l),a>r&&(r=a);var c={};c.top=r,c.left=n,t.css(c)},render:function(){var e,t,n,r,i,a,o,s,u,l,c,p,h,f,d,m,y,g,v,D,b,w,A,C,x,E,F,S,k,O,j,B,I,_,T,P,L,R;if(a=jQuery.inArray(this.model.method,this.model.supportedSubmitMethods())>=0,a||(this.model.isReadOnly=!0),this.model.description=this.model.description||this.model.notes,this.model.oauth=null,m=this.model.authorizations||this.model.security)if(Array.isArray(m))for(u=0,l=m.length;l>u;u++){n=m[u];for(s in n)for(e in this.auths)if(t=this.auths[e],s===t.name&&"oauth2"===t.type){this.model.oauth={},this.model.oauth.scopes=[],A=t.value.scopes;for(o in A)L=A[o],B=n[s].indexOf(o),B>=0&&(g={scope:o,description:L},this.model.oauth.scopes.push(g))}}else for(o in m)if(L=m[o],"oauth2"===o)for(null===this.model.oauth&&(this.model.oauth={}),void 0===this.model.oauth.scopes&&(this.model.oauth.scopes=[]),d=0,c=L.length;c>d;d++)g=L[d],this.model.oauth.scopes.push(g);if("undefined"!=typeof this.model.responses){this.model.responseMessages=[],C=this.model.responses;for(r in C)R=C[r],O=null,j=this.model.responses[r].schema,j&&j.$ref&&(O=j.$ref,-1!==O.indexOf("#/definitions/")&&(O=O.replace(/^.*#\/definitions\//,""))),this.model.responseMessages.push({code:r,message:R.description,responseModel:O,headers:R.headers})}if("undefined"==typeof this.model.responseMessages&&(this.model.responseMessages=[]),I=null,this.model.successResponse){T=this.model.successResponse;for(s in T)R=T[s],this.model.successCode=s,"object"==typeof R&&"function"==typeof R.createJSONSample&&(this.model.successDescription=R.description,this.model.headers=this.parseResponseHeaders(R.headers),I={sampleJSON:JSON.stringify(R.createJSONSample(),void 0,2),isParam:!1,signature:R.getMockSignature()})}else this.model.responseClassSignature&&"string"!==this.model.responseClassSignature&&(I={sampleJSON:this.model.responseSampleJSON,isParam:!1,signature:this.model.responseClassSignature});for($(this.el).html(Handlebars.templates.operation(this.model)),I?(I.defaultRendering=this.model.defaultRendering,k=new SwaggerUi.Views.SignatureView({model:I,router:this.router,tagName:"div"}),$(".model-signature",$(this.el)).append(k.render().el)):(this.model.responseClassSignature="string",$(".model-signature",$(this.el)).html(this.model.type)),i={isParam:!1},i.consumes=this.model.consumes,i.produces=this.model.produces,x=this.model.parameters,y=0,p=x.length;p>y;y++)D=x[y],P=D.type||D.dataType||"","undefined"==typeof P&&(O=D.schema,O&&O.$ref&&(w=O.$ref,P=0===w.indexOf("#/definitions/")?w.substring("#/definitions/".length):w)),P&&"file"===P.toLowerCase()&&(i.consumes||(i.consumes="multipart/form-data")),D.type=P;for(S=new SwaggerUi.Views.ResponseContentTypeView({model:i,router:this.router}),$(".response-content-type",$(this.el)).append(S.render().el),E=this.model.parameters,v=0,h=E.length;h>v;v++)D=E[v],this.addParameter(D,i.consumes);for(F=this.model.responseMessages,b=0,f=F.length;f>b;b++)_=F[b],this.addStatusCode(_);return this},parseResponseHeaders:function(e){var t="; ",n=_.clone(e);return _.forEach(n,function(e){var n=[];_.forEach(e,function(e,t){var r=["type","description"];-1===r.indexOf(t.toLowerCase())&&n.push(t+": "+e)}),n.join(t),e.other=n}),n},addParameter:function(e,t){e.consumes=t,e.defaultRendering=this.model.defaultRendering,e.schema&&($.extend(!0,e.schema,this.model.definitions[e.type]),e.schema.definitions=this.model.definitions,e.schema.type||(e.schema.type="object"),e.schema.title||(e.schema.title=" "));var n=new SwaggerUi.Views.ParameterView({model:e,tagName:"tr",readOnly:this.model.isReadOnly,swaggerOptions:this.options.swaggerOptions});$(".operation-params",$(this.el)).append(n.render().el)},addStatusCode:function(e){e.defaultRendering=this.model.defaultRendering;var t=new SwaggerUi.Views.StatusCodeView({model:e,tagName:"tr",router:this.router});$(".operation-status",$(this.el)).append(t.render().el)},submitOperation:function(e){var t,n,r,i,a;if(null!==e&&e.preventDefault(),n=$(".sandbox",$(this.el)),t=!0,n.find("input.required").each(function(){$(this).removeClass("error"),""===jQuery.trim($(this).val())&&($(this).addClass("error"),$(this).wiggle({callback:function(e){return function(){$(e).focus()}}(this)}),t=!1)}),n.find("textarea.required:visible").each(function(){$(this).removeClass("error"),""===jQuery.trim($(this).val())&&($(this).addClass("error"),$(this).wiggle({callback:function(e){return function(){return $(e).focus()}}(this)}),t=!1)}),n.find("select.required").each(function(){$(this).removeClass("error"),-1===this.selectedIndex&&($(this).addClass("error"),$(this).wiggle({callback:function(e){return function(){$(e).focus()}}(this)}),t=!1)}),t){if(i=this.getInputMap(n),r=this.isFileUpload(n),a={parent:this},this.options.swaggerOptions)for(var o in this.options.swaggerOptions)a[o]=this.options.swaggerOptions[o];var s;for(s=0;s"),$(".request_url pre",$(this.el)).text(this.invocationUrl),a.useJQuery=!0,i.parameterContentType="multipart/form-data",this.map=i,this.model.execute(i,a,this.showCompleteStatus,this.showErrorStatus,this)):(this.map=i,this.model.execute(i,a,this.showCompleteStatus,this.showErrorStatus,this))}},getInputMap:function(e){var t,n,r,i,a,o,s,u,l,c,p,h;for(t={},n=e.find("input"),r=0,i=n.length;i>r;r++)a=n[r],null!==a.value&&jQuery.trim(a.value).length>0&&(t[a.name]=a.value),"file"===a.type&&(t[a.name]=a.files[0]);for(o=e.find("textarea"),s=0,u=o.length;u>s;s++)a=o[s],l=this.getTextAreaValue(a),null!==l&&jQuery.trim(l).length>0&&(t[a.name]=l);for(c=e.find("select"),p=0,h=c.length;h>p;p++)a=c[p],l=this.getSelectedValue(a),null!==l&&jQuery.trim(l).length>0&&(t[a.name]=l);return t},isFileUpload:function(e){var t,n,r,i,a=!1;for(t=e.find("input"),n=0,r=t.length;r>n;n++)i=t[n],"file"===i.type&&(a=!0);return a},success:function(e,t){t.showCompleteStatus(e)},wrap:function(e){var t,n,r,i,a,o,s;for(r={},n=e.getAllResponseHeaders().split("\r"),a=0,o=n.length;o>a;a++)i=n[a],t=i.match(/^([^:]*?):(.*)$/),t||(t=[]),t.shift(),void 0!==t[0]&&void 0!==t[1]&&(r[t[0].trim()]=t[1].trim());return s={},s.content={},s.content.data=e.responseText,s.headers=r,s.request={},s.request.url=this.invocationUrl,s.status=e.status,s},getSelectedValue:function(e){if(e.multiple){for(var t=[],n=0,r=e.options.length;r>n;n++){var i=e.options[n];i.selected&&t.push(i.value)}return t.length>0?t:null}return e.value},hideResponse:function(e){e&&e.preventDefault(),$(".response",$(this.el)).slideUp(),$(".response_hider",$(this.el)).fadeOut()},showResponse:function(e){var t=JSON.stringify(e,null," ").replace(/\n/g," ");$(".response_body",$(this.el)).html(_.escape(t))},showErrorStatus:function(e,t){t.showStatus(e)},showCompleteStatus:function(e,t){t.showStatus(e)},formatXml:function(e){var t,n,r,i,a,o,s,u,l,c,p,h,f;for(p=/(>)(<)(\/*)/g,f=/[ ]*(.*)[ ]+\n/g,t=/(<.+>)(.+\n)/g,e=e.replace(p,"$1\n$2$3").replace(f,"$1\n").replace(t,"$1\n$2"),c=0,r="",u=e.split("\n"),i=0,o="other",h={"single->single":0,"single->closing":-1,"single->opening":0,"single->other":0,"closing->single":0,"closing->closing":-1,"closing->opening":0,"closing->other":0,"opening->single":1,"opening->closing":0,"opening->opening":1,"opening->other":1,"other->single":0,"other->closing":-1,"other->opening":0,"other->other":0},n=function(e){var t,n,a,s,u,l,c;l={single:Boolean(e.match(/<.+\/>/)),closing:Boolean(e.match(/<\/.+>/)),opening:Boolean(e.match(/<[^!?].*>/))},u=function(){var e;e=[];for(a in l)c=l[a],c&&e.push(a);return e}()[0],u=void 0===u?"other":u,t=o+"->"+u,o=u,s="",i+=h[t],s=function(){var e,t,r;for(r=[],n=e=0,t=i;t>=0?t>e:e>t;n=t>=0?++e:--e)r.push(" ");return r}().join(""),"opening->closing"===t?r=r.substr(0,r.length-1)+e+"\n":r+=s+e+"\n"},a=0,s=u.length;s>a;a++)l=u[a],n(l);return r},showStatus:function(e){var t,n;void 0===e.content?(n=e.data,t=e.url):(n=e.content.data,t=e.request.url);var r=e.headers;n=jQuery.trim(n);var i=null;r&&(i=r["Content-Type"]||r["content-type"],i&&(i=i.split(";")[0].trim())),$(".response_body",$(this.el)).removeClass("json"),$(".response_body",$(this.el)).removeClass("xml");var a,o,s=function(e){var t=document.createElement("audio");return!(!t.canPlayType||!t.canPlayType(e).replace(/no/,""))};if(n)if("application/json"===i||/\+json$/.test(i)){var u=null;try{u=JSON.stringify(JSON.parse(n),null," ")}catch(l){u="can't parse JSON. Raw result:\n\n"+n}o=$("
").text(u),a=$(' ').append(o)}else if("application/xml"===i||/\+xml$/.test(i))o=$("
").text(this.formatXml(n)),a=$(' ').append(o);else if("text/html"===i)o=$("
").html(_.escape(n)),a=$(' ').append(o);else if(/text\/plain/.test(i))o=$("
").text(n),a=$(' ').append(o);else if(/^image\//.test(i))a=$(" ").attr("src",t);else if(/^audio\//.test(i)&&s(i))a=$("").append($("").attr("src",t).attr("type",i));else if(r["Content-Disposition"]&&/attachment/.test(r["Content-Disposition"])||r["content-disposition"]&&/attachment/.test(r["content-disposition"])||r["Content-Description"]&&/File Transfer/.test(r["Content-Description"])||r["content-description"]&&/File Transfer/.test(r["content-description"]))if("Blob"in window){var c=i||"text/html",p=new Blob([n],{type:c}),h=document.createElement("a"),f=window.URL.createObjectURL(p),d=e.url.substr(e.url.lastIndexOf("/")+1),m=[c,d,f].join(":");h.setAttribute("href",f),h.setAttribute("download",m),h.innerText="Download "+d,a=$("
").append(h)}else a=$(' ').append("Download headers detected but your browser does not support downloading binary via XHR (Blob).");else r.location||r.Location?window.location=e.url:(o=$("
").text(n),a=$(' ').append(o));else o=$("
").text("no content"),a=$(' ').append(o);var y=a;$(".request_url",$(this.el)).html(" "),$(".request_url pre",$(this.el)).text(t),$(".response_code",$(this.el)).html(""+e.status+" "),$(".response_body",$(this.el)).html(y),$(".response_headers",$(this.el)).html(""+_.escape(JSON.stringify(e.headers,null," ")).replace(/\n/g," ")+" "),$(".response",$(this.el)).slideDown(),$(".response_hider",$(this.el)).show(),$(".response_throbber",$(this.el)).hide();var g=this.model.asCurl(this.map,{responseContentType:i});g=g.replace("!","!"),$("div.curl",$(this.el)).html(""+g+" ");var v=this.options.swaggerOptions;if(v.showRequestHeaders){var D=$(".sandbox",$(this.el)),b=this.getInputMap(D),w=this.model.getHeaderParams(b);delete w["Content-Type"],$(".request_headers",$(this.el)).html(""+_.escape(JSON.stringify(w,null," ")).replace(/\n/g," ")+" ")}var A=$(".response_body",$(this.el))[0];return v.highlightSizeThreshold&&"undefined"!=typeof e.data&&e.data.length>v.highlightSizeThreshold?A:hljs.highlightBlock(A)},toggleOperationContent:function(e){var t=$("#"+Docs.escapeResourceName(this.parentId+"_"+this.nickname+"_content"));t.is(":visible")?($.bbq.pushState("#/",2),e.preventDefault(),Docs.collapseOperation(t)):Docs.expandOperation(t)},getTextAreaValue:function(e){var t,n,r,i;if(null===e.value||0===jQuery.trim(e.value).length)return null;if(t=this.getParamByName(e.name),t&&t.type&&"array"===t.type.toLowerCase()){for(n=e.value.split("\n"),r=[],i=0;i0&&r.push(n[i]);return r.length>0?r:null}return e.value},getParamByName:function(e){var t;if(this.model.parameters)for(t=0;t0&&(e.percent=e.loaded/e.total*100),t.emit("progress",e)};this.hasListeners("progress")&&(n.onprogress=u);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=u)}catch(l){}if(o&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},o)),a&&(a=d.serializeObject(a),this.url+=~this.url.indexOf("?")?"&"+a:"?"+a),n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof s&&!i(s)){var c=this.getHeader("Content-Type"),p=this._parser||d.serialize[c?c.split(";")[0]:""];p&&(s=p(s))}for(var h in this.header)null!=this.header[h]&&n.setRequestHeader(h,this.header[h]);return this.emit("request",this),n.send("undefined"!=typeof s?s:null),this},f.prototype.then=function(e,t){return this.end(function(n,r){n?t(n):e(r)})},d.Request=f,d.get=function(e,t,n){var r=d("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},d.head=function(e,t,n){var r=d("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},d.del=m,d["delete"]=m,d.patch=function(e,t,n){var r=d("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},d.post=function(e,t,n){var r=d("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},d.put=function(e,t,n){var r=d("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},t.exports=d},{emitter:163,reduce:164}],163:[function(e,t,n){function r(e){return e?i(e):void 0}function i(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){r.off(e,n),t.apply(this,arguments)}var r=this;return this._callbacks=this._callbacks||{},n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var r,i=0;ir;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],164:[function(e,t,n){t.exports=function(e,t,n){for(var r=0,i=e.length,a=3==arguments.length?n:e[r++];i>r;)a=t.call(null,a,e[r],++r,e);return a}},{}]},{},[1])(1)}),window.SwaggerUi=Backbone.Router.extend({dom_id:"swagger_ui",options:null,api:null,headerView:null,mainView:null,initialize:function(e){e=e||{},"model"!==e.defaultModelRendering&&(e.defaultModelRendering="schema"),e.highlightSizeThreshold||(e.highlightSizeThreshold=1e5),e.dom_id&&(this.dom_id=e.dom_id,delete e.dom_id),e.supportedSubmitMethods||(e.supportedSubmitMethods=["get","put","post","delete","head","options","patch"]),"string"==typeof e.oauth2RedirectUrl&&(window.oAuthRedirectUrl=e.redirectUrl),$("#"+this.dom_id).length||$("body").append('
'),this.options=e,marked.setOptions({gfm:!0});var t=this;this.options.success=function(){return t.render()},this.options.progress=function(e){return t.showMessage(e)},this.options.failure=function(e){return t.onLoadFailure(e)},this.headerView=new SwaggerUi.Views.HeaderView({el:$("#header")}),this.headerView.on("update-swagger-ui",function(e){return t.updateSwaggerUi(e)}),JSONEditor.defaults.iconlibs.swagger=JSONEditor.AbstractIconLib.extend({mapping:{collapse:"collapse",expand:"expand"},icon_prefix:"swagger-"})},setOption:function(e,t){this.options[e]=t},getOption:function(e){return this.options[e]},updateSwaggerUi:function(e){this.options.url=e.url,this.load()},load:function(){this.mainView&&this.mainView.clear();var e=this.options.url;e&&0!==e.indexOf("http")&&(e=this.buildUrl(window.location.href.toString(),e)),this.api&&(this.options.authorizations=this.api.clientAuthorizations.authz),this.options.url=e,this.headerView.update(e),this.api=new SwaggerClient(this.options)},collapseAll:function(){Docs.collapseEndpointListForResource("")},listAll:function(){Docs.collapseOperationsForResource("")},expandAll:function(){Docs.expandOperationsForResource("")},render:function(){switch(this.showMessage("Finished Loading Resource Information. Rendering Swagger UI..."),this.mainView=new SwaggerUi.Views.MainView({model:this.api,el:$("#"+this.dom_id),swaggerOptions:this.options,router:this}).render(),this.showMessage(),this.options.docExpansion){case"full":this.expandAll();break;case"list":this.listAll()}this.renderGFM(),this.options.onComplete&&this.options.onComplete(this.api,this),setTimeout(Docs.shebang.bind(this),100)},buildUrl:function(e,t){if(0===t.indexOf("/")){var n=e.split("/");return e=n[0]+"//"+n[2],e+t}var r=e.length;return e.indexOf("?")>-1&&(r=Math.min(r,e.indexOf("?"))),e.indexOf("#")>-1&&(r=Math.min(r,e.indexOf("#"))),e=e.substring(0,r),-1!==e.indexOf("/",e.length-1)?e+t:e+"/"+t},showMessage:function(e){void 0===e&&(e="");var t=$("#message-bar");t.removeClass("message-fail"),t.addClass("message-success"),t.text(e),window.SwaggerTranslator&&window.SwaggerTranslator.translate(t)},onLoadFailure:function(e){void 0===e&&(e=""),$("#message-bar").removeClass("message-success"),$("#message-bar").addClass("message-fail");var t=$("#message-bar").text(e);return this.options.onFailure&&this.options.onFailure(e),t},renderGFM:function(){$(".markdown").each(function(){$(this).html(marked($(this).html()))}),$(".propDesc",".model-signature .description").each(function(){$(this).html(marked($(this).html())).addClass("markdown")})}}),window.SwaggerUi.Views={},function(){function e(e){"console"in window&&"function"==typeof window.console.warn&&console.warn(e)}window.authorizations={add:function(){if(e("Using window.authorizations is deprecated. Please use SwaggerUi.api.clientAuthorizations.add()."),"undefined"==typeof window.swaggerUi)throw new TypeError("window.swaggerUi is not defined");window.swaggerUi instanceof SwaggerUi&&window.swaggerUi.api.clientAuthorizations.add.apply(window.swaggerUi.api.clientAuthorizations,arguments)}},window.ApiKeyAuthorization=function(){e("window.ApiKeyAuthorization is deprecated. Please use SwaggerClient.ApiKeyAuthorization."),SwaggerClient.ApiKeyAuthorization.apply(window,arguments)},window.PasswordAuthorization=function(){e("window.PasswordAuthorization is deprecated. Please use SwaggerClient.PasswordAuthorization."),SwaggerClient.PasswordAuthorization.apply(window,arguments)}}(),function(e,t){"function"==typeof define&&define.amd?define(["b"],function(n){return e.SwaggerUi=t(n)}):"object"==typeof exports?module.exports=t(require("b")):e.SwaggerUi=t(e.b)}(this,function(){return SwaggerUi}),SwaggerUi.Views.ApiKeyButton=Backbone.View.extend({events:{"click #apikey_button":"toggleApiKeyContainer","click #apply_api_key":"applyApiKey"},initialize:function(e){this.options=e||{},this.router=this.options.router},render:function(){var e=this.template();return $(this.el).html(e(this.model)),this},applyApiKey:function(){var e=new SwaggerClient.ApiKeyAuthorization(this.model.name,$("#input_apiKey_entry").val(),this.model["in"]);this.router.api.clientAuthorizations.add(this.model.name,e),this.router.load(),$("#apikey_container").show()},toggleApiKeyContainer:function(){if($("#apikey_container").length){var e=$("#apikey_container").first();e.is(":visible")?e.hide():($(".auth_container").hide(),e.show())}},template:function(){return Handlebars.templates.apikey_button_view}}),SwaggerUi.Views.BasicAuthButton=Backbone.View.extend({initialize:function(e){this.options=e||{},this.router=this.options.router},render:function(){var e=this.template();return $(this.el).html(e(this.model)),this},events:{"click #basic_auth_button":"togglePasswordContainer","click #apply_basic_auth":"applyPassword"},applyPassword:function(e){e.preventDefault();var t=$("#input_username").val(),n=$("#input_password").val(),r=new SwaggerClient.PasswordAuthorization("basic",t,n);this.router.api.clientAuthorizations.add(this.model.type,r),this.router.load(),$("#basic_auth_container").hide()},togglePasswordContainer:function(){if($("#basic_auth_container").length){var e=$("#basic_auth_container").show();e.is(":visible")?e.slideUp():($(".auth_container").hide(),e.show())}},template:function(){return Handlebars.templates.basic_auth_button_view}}),SwaggerUi.Views.ContentTypeView=Backbone.View.extend({initialize:function(){},render:function(){return this.model.contentTypeId="ct"+Math.random(),$(this.el).html(Handlebars.templates.content_type(this.model)),this}}),SwaggerUi.Views.HeaderView=Backbone.View.extend({events:{"click #show-pet-store-icon":"showPetStore","click #explore":"showCustom","keyup #input_baseUrl":"showCustomOnKeyup","keyup #input_apiKey":"showCustomOnKeyup"},initialize:function(){},showPetStore:function(){this.trigger("update-swagger-ui",{url:"http://petstore.swagger.io/v2/swagger.json"})},showCustomOnKeyup:function(e){13===e.keyCode&&this.showCustom()},showCustom:function(e){e&&e.preventDefault(),this.trigger("update-swagger-ui",{url:$("#input_baseUrl").val(),apiKey:$("#input_apiKey").val()})},update:function(e,t,n){void 0===n&&(n=!1),$("#input_baseUrl").val(e),n&&this.trigger("update-swagger-ui",{url:e})}}),SwaggerUi.Views.MainView=Backbone.View.extend({apisSorter:{alpha:function(e,t){return e.name.localeCompare(t.name)}},operationsSorters:{alpha:function(e,t){return e.path.localeCompare(t.path)},method:function(e,t){return e.method.localeCompare(t.method)}},initialize:function(e){var t,n,r,i;if(e=e||{},this.router=e.router,e.swaggerOptions.apisSorter&&(t=e.swaggerOptions.apisSorter,n=_.isFunction(t)?t:this.apisSorter[t],_.isFunction(n)&&this.model.apisArray.sort(n)),e.swaggerOptions.operationsSorter&&(t=e.swaggerOptions.operationsSorter,n=_.isFunction(t)?t:this.operationsSorters[t],_.isFunction(n)))for(r in this.model.apisArray)this.model.apisArray[r].operationsArray.sort(n);this.model.auths=[];for(r in this.model.securityDefinitions)i=this.model.securityDefinitions[r],this.model.auths.push({name:r,type:i.type,value:i});"validatorUrl"in e.swaggerOptions?this.model.validatorUrl=e.swaggerOptions.validatorUrl:this.model.url.indexOf("localhost")>0?this.model.validatorUrl=null:"https:"===window.location.protocol?this.model.validatorUrl="https://online.swagger.io/validator":this.model.validatorUrl="http://online.swagger.io/validator";var a;for(a in this.model.definitions)this.model.definitions[a].type||(this.model.definitions[a].type="object")},render:function(){if(this.model.securityDefinitions)for(var e in this.model.securityDefinitions){var t,n=this.model.securityDefinitions[e];"apiKey"===n.type&&0===$("#apikey_button").length&&(t=new SwaggerUi.Views.ApiKeyButton({model:n,router:this.router}).render().el,$(".auth_main_container").append(t)),"basicAuth"===n.type&&0===$("#basic_auth_button").length&&(t=new SwaggerUi.Views.BasicAuthButton({model:n,router:this.router}).render().el,$(".auth_main_container").append(t))}$(this.el).html(Handlebars.templates.main(this.model));for(var r={},i=0,a=0;ao&&(n=o-u),i>n&&(n=i),r+l>s&&(r=s-l),a>r&&(r=a);var c={};c.top=r,c.left=n,t.css(c)},render:function(){var e,t,n,r,i,a,o,s,u,l,c,p,h,f,d,m,y,g,v,D,b,w,A,C,x,E,F,S,k,O,j,B,I,_,T,P,L,R;if(a=jQuery.inArray(this.model.method,this.model.supportedSubmitMethods())>=0,a||(this.model.isReadOnly=!0),this.model.description=this.model.description||this.model.notes,this.model.oauth=null,m=this.model.authorizations||this.model.security)if(Array.isArray(m))for(u=0,l=m.length;l>u;u++){n=m[u];for(s in n)for(e in this.auths)if(t=this.auths[e],s===t.name&&"oauth2"===t.type){this.model.oauth={},this.model.oauth.scopes=[],A=t.value.scopes;for(o in A)L=A[o],B=n[s].indexOf(o),B>=0&&(g={scope:o,description:L},this.model.oauth.scopes.push(g))}}else for(o in m)if(L=m[o],"oauth2"===o)for(null===this.model.oauth&&(this.model.oauth={}),void 0===this.model.oauth.scopes&&(this.model.oauth.scopes=[]),d=0,c=L.length;c>d;d++)g=L[d],this.model.oauth.scopes.push(g);if("undefined"!=typeof this.model.responses){this.model.responseMessages=[],C=this.model.responses;for(r in C)R=C[r],O=null,j=this.model.responses[r].schema,j&&j.$ref&&(O=j.$ref,-1!==O.indexOf("#/definitions/")&&(O=O.replace(/^.*#\/definitions\//,""))),this.model.responseMessages.push({code:r,message:R.description,responseModel:O,headers:R.headers})}if("undefined"==typeof this.model.responseMessages&&(this.model.responseMessages=[]),I=null,this.model.successResponse){T=this.model.successResponse;for(s in T)R=T[s],this.model.successCode=s,"object"==typeof R&&"function"==typeof R.createJSONSample&&(this.model.successDescription=R.description,this.model.headers=this.parseResponseHeaders(R.headers),I={sampleJSON:JSON.stringify(R.createJSONSample(),void 0,2),isParam:!1,signature:R.getMockSignature()})}else this.model.responseClassSignature&&"string"!==this.model.responseClassSignature&&(I={sampleJSON:this.model.responseSampleJSON,isParam:!1,signature:this.model.responseClassSignature});for($(this.el).html(Handlebars.templates.operation(this.model)),I?(I.defaultRendering=this.model.defaultRendering,k=new SwaggerUi.Views.SignatureView({model:I,router:this.router,tagName:"div"}),$(".model-signature",$(this.el)).append(k.render().el)):(this.model.responseClassSignature="string",$(".model-signature",$(this.el)).html(this.model.type)),i={isParam:!1},i.consumes=this.model.consumes,i.produces=this.model.produces,x=this.model.parameters,y=0,p=x.length;p>y;y++)D=x[y],P=D.type||D.dataType||"","undefined"==typeof P&&(O=D.schema,O&&O.$ref&&(w=O.$ref,P=0===w.indexOf("#/definitions/")?w.substring("#/definitions/".length):w)),P&&"file"===P.toLowerCase()&&(i.consumes||(i.consumes="multipart/form-data")),D.type=P;for(S=new SwaggerUi.Views.ResponseContentTypeView({model:i,router:this.router}),$(".response-content-type",$(this.el)).append(S.render().el),E=this.model.parameters,v=0,h=E.length;h>v;v++)D=E[v],this.addParameter(D,i.consumes);for(F=this.model.responseMessages,b=0,f=F.length;f>b;b++)_=F[b],this.addStatusCode(_);return this},parseResponseHeaders:function(e){var t="; ",n=_.clone(e);return _.forEach(n,function(e){var n=[];_.forEach(e,function(e,t){var r=["type","description"];-1===r.indexOf(t.toLowerCase())&&n.push(t+": "+e)}),n.join(t),e.other=n}),n},addParameter:function(e,t){e.consumes=t,e.defaultRendering=this.model.defaultRendering,e.schema&&($.extend(!0,e.schema,this.model.definitions[e.type]),e.schema.definitions=this.model.definitions,e.schema.type||(e.schema.type="object"),e.schema.title||(e.schema.title=" "));var n=new SwaggerUi.Views.ParameterView({model:e,tagName:"tr",readOnly:this.model.isReadOnly,swaggerOptions:this.options.swaggerOptions});$(".operation-params",$(this.el)).append(n.render().el)},addStatusCode:function(e){e.defaultRendering=this.model.defaultRendering;var t=new SwaggerUi.Views.StatusCodeView({model:e,tagName:"tr",router:this.router});$(".operation-status",$(this.el)).append(t.render().el)},submitOperation:function(e){var t,n,r,i,a;if(null!==e&&e.preventDefault(),n=$(".sandbox",$(this.el)),t=!0,n.find("input.required").each(function(){$(this).removeClass("error"),""===jQuery.trim($(this).val())&&($(this).addClass("error"),$(this).wiggle({callback:function(e){return function(){$(e).focus()}}(this)}),t=!1)}),n.find("textarea.required:visible").each(function(){$(this).removeClass("error"),""===jQuery.trim($(this).val())&&($(this).addClass("error"),$(this).wiggle({callback:function(e){return function(){return $(e).focus()}}(this)}),t=!1)}),n.find("select.required").each(function(){$(this).removeClass("error"),-1===this.selectedIndex&&($(this).addClass("error"),$(this).wiggle({callback:function(e){return function(){$(e).focus()}}(this)}),t=!1)}),t){if(i=this.getInputMap(n),r=this.isFileUpload(n),a={parent:this},this.options.swaggerOptions)for(var o in this.options.swaggerOptions)a[o]=this.options.swaggerOptions[o];var s;for(s=0;s"),$(".request_url pre",$(this.el)).text(this.invocationUrl),a.useJQuery=!0,i.parameterContentType="multipart/form-data",this.map=i,this.model.execute(i,a,this.showCompleteStatus,this.showErrorStatus,this)):(this.map=i,this.model.execute(i,a,this.showCompleteStatus,this.showErrorStatus,this))}},getInputMap:function(e){var t,n,r,i,a,o,s,u,l,c,p,h;for(t={},n=e.find("input"),r=0,i=n.length;i>r;r++)a=n[r],null!==a.value&&jQuery.trim(a.value).length>0&&(t[a.name]=a.value),"file"===a.type&&(t[a.name]=a.files[0]);for(o=e.find("textarea"),s=0,u=o.length;u>s;s++)a=o[s],l=this.getTextAreaValue(a),null!==l&&jQuery.trim(l).length>0&&(t[a.name]=l);for(c=e.find("select"),p=0,h=c.length;h>p;p++)a=c[p],l=this.getSelectedValue(a),null!==l&&jQuery.trim(l).length>0&&(t[a.name]=l);return t},isFileUpload:function(e){var t,n,r,i,a=!1;for(t=e.find("input"),n=0,r=t.length;r>n;n++)i=t[n],"file"===i.type&&(a=!0);return a},success:function(e,t){t.showCompleteStatus(e)},wrap:function(e){var t,n,r,i,a,o,s;for(r={},n=e.getAllResponseHeaders().split("\r"),a=0,o=n.length;o>a;a++)i=n[a],t=i.match(/^([^:]*?):(.*)$/),t||(t=[]),t.shift(),void 0!==t[0]&&void 0!==t[1]&&(r[t[0].trim()]=t[1].trim());return s={},s.content={},s.content.data=e.responseText,s.headers=r,s.request={},s.request.url=this.invocationUrl,s.status=e.status,s},getSelectedValue:function(e){if(e.multiple){for(var t=[],n=0,r=e.options.length;r>n;n++){var i=e.options[n];i.selected&&t.push(i.value)}return t.length>0?t:null}return e.value},hideResponse:function(e){e&&e.preventDefault(),$(".response",$(this.el)).slideUp(),$(".response_hider",$(this.el)).fadeOut()},showResponse:function(e){var t=JSON.stringify(e,null," ").replace(/\n/g," ");$(".response_body",$(this.el)).html(_.escape(t))},showErrorStatus:function(e,t){t.showStatus(e)},showCompleteStatus:function(e,t){t.showStatus(e)},formatXml:function(e){var t,n,r,i,a,o,s,u,l,c,p,h,f;for(p=/(>)(<)(\/*)/g,f=/[ ]*(.*)[ ]+\n/g,t=/(<.+>)(.+\n)/g,e=e.replace(p,"$1\n$2$3").replace(f,"$1\n").replace(t,"$1\n$2"),c=0,r="",u=e.split("\n"),i=0,o="other",h={"single->single":0,"single->closing":-1,"single->opening":0,"single->other":0,"closing->single":0,"closing->closing":-1,"closing->opening":0,"closing->other":0,"opening->single":1,"opening->closing":0,"opening->opening":1,"opening->other":1,"other->single":0,"other->closing":-1,"other->opening":0,"other->other":0},n=function(e){var t,n,a,s,u,l,c;l={single:Boolean(e.match(/<.+\/>/)),closing:Boolean(e.match(/<\/.+>/)),opening:Boolean(e.match(/<[^!?].*>/))},u=function(){var e;e=[];for(a in l)c=l[a],c&&e.push(a);return e}()[0],u=void 0===u?"other":u,t=o+"->"+u,o=u,s="",i+=h[t],s=function(){var e,t,r;for(r=[],n=e=0,t=i;t>=0?t>e:e>t;n=t>=0?++e:--e)r.push(" ");return r}().join(""),"opening->closing"===t?r=r.substr(0,r.length-1)+e+"\n":r+=s+e+"\n"},a=0,s=u.length;s>a;a++)l=u[a],n(l);return r},showStatus:function(e){var t,n;void 0===e.content?(n=e.data,t=e.url):(n=e.content.data,t=e.request.url);var r=e.headers;n=jQuery.trim(n);var i=null;r&&(i=r["Content-Type"]||r["content-type"],i&&(i=i.split(";")[0].trim())),$(".response_body",$(this.el)).removeClass("json"),$(".response_body",$(this.el)).removeClass("xml");var a,o,s=function(e){var t=document.createElement("audio");return!(!t.canPlayType||!t.canPlayType(e).replace(/no/,""))};if(n)if("application/json"===i||/\+json$/.test(i)){var u=null;try{u=JSON.stringify(JSON.parse(n),null," ")}catch(l){u="can't parse JSON. Raw result:\n\n"+n}o=$("
").text(u),a=$(' ').append(o)}else if("application/xml"===i||/\+xml$/.test(i))o=$("
").text(this.formatXml(n)),a=$(' ').append(o);else if("text/html"===i)o=$("
").html(_.escape(n)),a=$(' ').append(o);else if(/text\/plain/.test(i))o=$("
").text(n),a=$(' ').append(o);else if(/^image\//.test(i))a=$(" ").attr("src",t);else if(/^audio\//.test(i)&&s(i))a=$("").append($("").attr("src",t).attr("type",i));else if(r["Content-Disposition"]&&/attachment/.test(r["Content-Disposition"])||r["content-disposition"]&&/attachment/.test(r["content-disposition"])||r["Content-Description"]&&/File Transfer/.test(r["Content-Description"])||r["content-description"]&&/File Transfer/.test(r["content-description"]))if("Blob"in window){var c=i||"text/html",p=new Blob([n],{type:c}),h=document.createElement("a"),f=window.URL.createObjectURL(p),d=e.url.substr(e.url.lastIndexOf("/")+1),m=[c,d,f].join(":");h.setAttribute("href",f),h.setAttribute("download",m),h.innerText="Download "+d,a=$("
").append(h)}else a=$(' ').append("Download headers detected but your browser does not support downloading binary via XHR (Blob).");else r.location||r.Location?window.location=e.url:(o=$("
").text(n),a=$(' ').append(o));else o=$("
").text("no content"),a=$(' ').append(o);var y=a;$(".request_url",$(this.el)).html(" "),$(".request_url pre",$(this.el)).text(t),$(".response_code",$(this.el)).html(""+e.status+" "),$(".response_body",$(this.el)).html(y),$(".response_headers",$(this.el)).html(""+_.escape(JSON.stringify(e.headers,null," ")).replace(/\n/g," ")+" "),$(".response",$(this.el)).slideDown(),$(".response_hider",$(this.el)).show(),$(".response_throbber",$(this.el)).hide();var g=this.model.asCurl(this.map,{responseContentType:i});g=g.replace("!","!"),$("div.curl",$(this.el)).html(""+_.escape(g)+" ");var v=this.options.swaggerOptions;if(v.showRequestHeaders){var D=$(".sandbox",$(this.el)),b=this.getInputMap(D),w=this.model.getHeaderParams(b);delete w["Content-Type"],$(".request_headers",$(this.el)).html(""+_.escape(JSON.stringify(w,null," ")).replace(/\n/g," ")+" ")}var A=$(".response_body",$(this.el))[0];return v.highlightSizeThreshold&&"undefined"!=typeof e.data&&e.data.length>v.highlightSizeThreshold?A:hljs.highlightBlock(A)},toggleOperationContent:function(e){var t=$("#"+Docs.escapeResourceName(this.parentId+"_"+this.nickname+"_content"));t.is(":visible")?($.bbq.pushState("#/",2),e.preventDefault(),Docs.collapseOperation(t)):Docs.expandOperation(t)},getTextAreaValue:function(e){var t,n,r,i;if(null===e.value||0===jQuery.trim(e.value).length)return null;if(t=this.getParamByName(e.name),t&&t.type&&"array"===t.type.toLowerCase()){for(n=e.value.split("\n"),r=[],i=0;i0&&r.push(n[i]);return r.length>0?r:null}return e.value},getParamByName:function(e){var t;if(this.model.parameters)for(t=0;t' + curlCommand + '');
+ $( 'div.curl', $(this.el)).html('' + _.escape(curlCommand) + ' ');
// only highlight the response if response is less than threshold, default state is highlight response
var opts = this.options.swaggerOptions;