/*! eruda v2.3.3 https://eruda.liriliri.io/ */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.eruda=e():t.eruda=e()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/assets/",n(n.s=31)}([function(t,e,n){"use strict";(function(t,i,r){n.d(e,"bb",(function(){return j})),n.d(e,"Y",(function(){return A})),n.d(e,"U",(function(){return S})),n.d(e,"ab",(function(){return P})),n.d(e,"ib",(function(){return N})),n.d(e,"Z",(function(){return I})),n.d(e,"zb",(function(){return W})),n.d(e,"t",(function(){return X})),n.d(e,"v",(function(){return J})),n.d(e,"w",(function(){return Z})),n.d(e,"x",(function(){return et})),n.d(e,"y",(function(){return nt})),n.d(e,"A",(function(){return it})),n.d(e,"C",(function(){return rt})),n.d(e,"Eb",(function(){return at})),n.d(e,"E",(function(){return ot})),n.d(e,"G",(function(){return ct})),n.d(e,"qb",(function(){return ht})),n.d(e,"N",(function(){return ft})),n.d(e,"T",(function(){return mt})),n.d(e,"u",(function(){return yt})),n.d(e,"X",(function(){return $t})),n.d(e,"m",(function(){return Ot})),n.d(e,"L",(function(){return Et})),n.d(e,"H",(function(){return jt})),n.d(e,"tb",(function(){return St})),n.d(e,"I",(function(){return Tt})),n.d(e,"K",(function(){return Ct})),n.d(e,"M",(function(){return Pt})),n.d(e,"O",(function(){return Lt})),n.d(e,"P",(function(){return Mt})),n.d(e,"Q",(function(){return zt})),n.d(e,"R",(function(){return Ht})),n.d(e,"S",(function(){return Ut})),n.d(e,"V",(function(){return Kt})),n.d(e,"W",(function(){return Gt})),n.d(e,"db",(function(){return Vt})),n.d(e,"eb",(function(){return Xt})),n.d(e,"o",(function(){return Jt})),n.d(e,"rb",(function(){return ne})),n.d(e,"yb",(function(){return ie})),n.d(e,"gb",(function(){return re})),n.d(e,"xb",(function(){return ae})),n.d(e,"s",(function(){return oe})),n.d(e,"hb",(function(){return se})),n.d(e,"jb",(function(){return ue})),n.d(e,"lb",(function(){return le})),n.d(e,"mb",(function(){return ce})),n.d(e,"B",(function(){return pe})),n.d(e,"Db",(function(){return fe})),n.d(e,"r",(function(){return ge})),n.d(e,"F",(function(){return me})),n.d(e,"z",(function(){return be})),n.d(e,"j",(function(){return ye})),n.d(e,"n",(function(){return we})),n.d(e,"fb",(function(){return xe})),n.d(e,"p",(function(){return ke})),n.d(e,"wb",(function(){return Oe})),n.d(e,"b",(function(){return Ee})),n.d(e,"f",(function(){return Ae})),n.d(e,"g",(function(){return ze})),n.d(e,"l",(function(){return He})),n.d(e,"c",(function(){return Ge})),n.d(e,"e",(function(){return qe})),n.d(e,"J",(function(){return Xe})),n.d(e,"kb",(function(){return Ye})),n.d(e,"k",(function(){return Ze})),n.d(e,"a",(function(){return nn})),n.d(e,"nb",(function(){return rn})),n.d(e,"ob",(function(){return an})),n.d(e,"pb",(function(){return on})),n.d(e,"Ab",(function(){return un})),n.d(e,"cb",(function(){return cn})),n.d(e,"h",(function(){return hn})),n.d(e,"D",(function(){return pn})),n.d(e,"i",(function(){return dn})),n.d(e,"sb",(function(){return fn})),n.d(e,"d",(function(){return mn})),n.d(e,"ub",(function(){return bn})),n.d(e,"vb",(function(){return yn})),n.d(e,"Bb",(function(){return wn})),n.d(e,"Cb",(function(){return xn})),n.d(e,"Fb",(function(){return kn})),n.d(e,"Gb",(function(){return $n})),n.d(e,"Hb",(function(){return On}));var a,o,s,u,l,c,_,h,p,d,f,v,g,m,b,y,w,x,k,$=n(12),O=n.n($),E={},j=E.last=function(t){var e=t?t.length:0;if(e)return t[e-1]},A=E.isUndef=function(t){return void 0===t},S=(E.types={},E.isObj=function(t){var e=O()(t);return!!t&&("function"===e||"object"===e)}),T=E.has=(a=Object.prototype.hasOwnProperty,function(t,e){return a.call(t,e)}),C=E.slice=function(t,e,n){var i=t.length;e=null==e?0:e<0?Math.max(i+e,0):Math.min(e,i),n=null==n?i:n<0?Math.max(i+n,0):Math.min(n,i);for(var r=[];e0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},F=E.splitCase=(o=/([A-Z])/g,s=/[_.\- ]+/g,u=/(^-)|(-$)/g,function(t){return(t=t.replace(o,"-$1").toLowerCase().replace(s,"-").replace(u,"")).split("-")}),z=E.camelCase=function(t){function e(t,e){this[e]=t.replace(/\w/,(function(t){return t.toUpperCase()}))}return function(t){var n=F(t),i=n[0];return n.shift(),n.forEach(e,n),i+=n.join("")}}(),I=E.kebabCase=function(t){return F(t).join("-")},B=E.clamp=function(t,e,n){return A(n)&&(n=e,e=void 0),!A(e)&&tn?n:t},H=E.idxOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},U=E.create=function(t){t=function(t){if(!S(t))return{};if(e)return e(t);function n(){}return n.prototype=t,new n};var e=Object.create;return t}({}),K=E.inherits=function(t,e){t.prototype=U(e.prototype)},W=E.toStr=function(t){return null==t?"":t.toString()},G=E.debounce=function(t,e,n){var i;return function(){var r=this,a=arguments,o=function(){i=null,t.apply(r,a)};n||clearTimeout(i),n&&i||(i=setTimeout(o,e))}},q=E.ucs2={encode:function(t){return String.fromCodePoint.apply(String,t)},decode:function(t){for(var e=[],n=0,i=t.length;n=55296&&r<=56319&&n>6*e)+n);e>0;){i+=l(128|63&t>>6*(e-1)),e--}return i}function _(t){for(;;){if(n>=i&&o){if(t)return h();throw new Error("Invalid byte index")}if(n===i)return!1;var l=e[n];if(n++,o){if(lu){if(t)return n--,h();throw new Error("Invalid continuation byte")}if(s=128,u=191,r=r<<6|63&l,++a===o){var c=r;return r=0,o=0,a=0,c}}else{if(0==(128&l))return l;if(192==(224&l))o=1,r=31&l;else if(224==(240&l))224===l&&(s=160),237===l&&(u=159),o=2,r=15&l;else{if(240!=(248&l)){if(t)return h();throw new Error("Invalid UTF-8 detected")}240===l&&(s=144),244===l&&(u=143),o=3,r=7&l}}}}function h(){var t=n-a-1;return n=t+1,r=0,o=0,a=0,s=128,u=191,e[t]}return t}({}),X=E.detectOs=function(t){if(t=(t=t||(R?navigator.userAgent:"")).toLowerCase(),e("windows phone"))return"windows phone";if(e("win"))return"windows";if(e("android"))return"android";if(e("ipad")||e("iphone")||e("ipod"))return"ios";if(e("mac"))return"os x";if(e("linux"))return"linux";function e(e){return t.indexOf(e)>-1}return"unknown"},Q=E.restArgs=function(t,e){return e=null==e?t.length-1:+e,function(){var n,i=Math.max(arguments.length-e,0),r=new Array(i);for(n=0;n=0&&t.indexOf(e,n)===n},Z=E.escape=function(t){var e=(t=function(t){return i.test(t)?t.replace(r,a):t}).map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},n="(?:"+P(e).join("|")+")",i=new RegExp(n),r=new RegExp(n,"g"),a=function(t){return e[t]};return t}({}),tt=E.escapeJsStr=function(t){t=function(t){return W(t).replace(e,(function(t){switch(t){case'"':case"'":case"\\":return"\\"+t;case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}}))};var e=/["'\\\n\r\u2028\u2029]/g;return t}({}),et=E.escapeJsonStr=function(t){return tt(t).replace(/\\'/g,"'").replace(/\t/g,"\\t")},nt=E.escapeRegExp=function(t){return t.replace(/\W/g,"\\$&")},it=E.fileSize=function(t){t=function(t){if(t<=0)return"0";var n=Math.floor(Math.log(t)/Math.log(1024));return+(t/Math.pow(2,10*n)).toFixed(2)+e[n]};var e=["","K","M","G","T"];return t}({}),rt=E.fullUrl=(l=document.createElement("a"),function(t){return l.href=t,l.protocol+"//"+l.host+l.pathname+l.search+l.hash}),at=E.upperFirst=function(t){return t.length<1?t:t[0].toUpperCase()+t.slice(1)},ot=E.getObjType=function(t){return t.constructor&&t.constructor.name?t.constructor.name:at({}.toString.call(t).replace(/(\[object )|]/g,""))},st=E.identity=function(t){return t},ut=E.objToStr=(c=Object.prototype.toString,function(t){return c.call(t)}),lt=E.isArgs=function(t){return"[object Arguments]"===ut(t)},ct=E.isArr=Array.isArray?Array.isArray:function(t){return"[object Array]"===ut(t)},_t=E.castPath=function(t){t=function(t,i){if(ct(t))return t;if(i&&T(i,t))return[t];var r=[];return t.replace(e,(function(t,e,i,a){r.push(i?a.replace(n,"$1"):e||t)})),r};var e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g;return t}({}),ht=E.safeGet=function(t,e){var n;for(n=(e=_t(e,t)).shift();!A(n);){if(null==(t=t[n]))return;n=e.shift()}return t},pt=E.flatten=function(t){return function t(e,n){for(var i,r=e.length,a=-1;r--;)i=e[++a],ct(i)?t(i,n):n.push(i);return n}(t,[])},dt=E.isDate=function(t){return"[object Date]"===ut(t)},ft=E.isFn=function(t){var e=ut(t);return"[object Function]"===e||"[object GeneratorFunction]"===e||"[object AsyncFunction]"===e},vt=E.getProto=(_=Object.getPrototypeOf,h={}.constructor,function(t){if(S(t)){if(_)return _(t);var e=t.__proto__;return e||null===e?e:ft(t.constructor)?t.constructor.prototype:t instanceof h?h.prototype:void 0}}),gt=E.isMiniProgram="undefined"!=typeof wx&&ft(wx.openLocation),mt=E.isNum=function(t){return"[object Number]"===ut(t)},bt=E.isArrLike=(p=Math.pow(2,53)-1,function(t){if(!t)return!1;var e=t.length;return mt(e)&&e>=0&&e<=p&&!ft(t)}),yt=E.each=function(t,e,n){var i,r;if(e=Y(e,n),bt(t))for(i=0,r=t.length;i-1:(bt(t)||(t=kt(t)),H(t,e)>=0)},Et=E.isEmpty=function(t){return null==t||(bt(t)&&(ct(t)||$t(t)||lt(t))?0===t.length:0===P(t).length)},jt=E.isBool=function(t){return!0===t||!1===t},At=E.isBuffer=function(t){return null!=t&&(!!t._isBuffer||t.constructor&&ft(t.constructor.isBuffer)&&t.constructor.isBuffer(t))},St=E.startWith=function(t,e){return 0===t.indexOf(e)},Tt=E.isCrossOrig=(d=window.location.origin,function(t){return!St(t,d)}),Ct=E.isEl=function(t){return!(!t||1!==t.nodeType)},Pt=E.isErr=function(t){return"[object Error]"===ut(t)},Dt=E.root=R?window:t,Lt=E.isHidden=function(t){var e=Dt.getComputedStyle,n=Dt.document;function i(t,e){return t.righte.right||t.bottome.bottom}return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.display,o=void 0===a||a,s=r.visibility,u=void 0!==s&&s,l=r.opacity,c=void 0!==l&&l,_=r.size,h=void 0!==_&&_,p=r.viewport,d=void 0!==p&&p,f=r.overflow,v=void 0!==f&&f;if(o)return null===t.offsetParent;var g=e(t);if(u&&"hidden"===g.visibility)return!0;if(c){if("0"===g.opacity)return!0;for(var m=t;m=m.parentElement;){var b=e(m);if("0"===b.opacity)return!0}}var y=t.getBoundingClientRect();if(h&&(0===y.width||0===y.height))return!0;if(d){var w={top:0,left:0,right:n.documentElement.clientWidth,bottom:n.documentElement.clientHeight};return i(y,w)}if(v)for(var x=t;x=x.parentElement;){var k=e(x),$=k.overflow;if("scroll"===$||"hidden"===$){var O=x.getBoundingClientRect();if(i(y,O))return!0}}return!1}}(),Rt=E.isMatch=function(t,e){var n=P(e),i=n.length;if(null==t)return!i;t=Object(t);for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:g.defComparator,n=0,i=t.length;n0)return!1;return!0}).defComparator=function(t,e){return te?1:0},g),Vt=E.loadJs=function(t,e){var n=document.createElement("script");n.src=t,n.onload=function(){var t=n.readyState&&"complete"!=n.readyState&&"loaded"!=n.readyState;e&&e(!t)},n.onerror=function(){e(!1)},document.body.appendChild(n)},Xt=E.lowerCase=function(t){return W(t).toLocaleLowerCase()},Qt=E.repeat=function(t,e){var n="";if(e<1)return"";for(;e>0;)1&e&&(n+=t),e>>=1,t+=t;return n},Yt=E.lpad=function(t,e,n){var i=(t=W(t)).length;return n=n||" ",i0?"-":"+")+e(100*Math.floor(Math.abs(y)/60)+Math.abs(y)%60,4),S:["th","st","nd","rd"][h%10>3?0:(h%100-h%10!=10)*h%10]};return s.replace(n,(function(t){return t in w?w[t]:t.slice(1,t.length-1)}))};var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Yt(W(t),e,"0")},n=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,i=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,r=/\d/,a=/[^-+\dA-Z]/g;return t.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},t.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},t}({}),Zt=E.ltrim=(m=/^\s+/,function(t,e){if(null==e)return t.replace(m,"");for(var n,i,r=0,a=t.length,o=e.length,s=!0;s&&r=a?"":t.substr(r,a)}),te=E.matcher=function(t){return t=xt({},t),function(e){return Rt(e,t)}},ee=E.memStorage=function(t){t={getItem:function(t){return(n[t]?e[t]:this[t])||null},setItem:function(t,i){n[t]?e[t]=i:this[t]=i},removeItem:function(t){n[t]?delete e[t]:delete this[t]},key:function(t){var e=i();return t>=0&&t=e[n[s]]){o=n[s];break}return+(a/e[o]).toFixed(2)+o};var e={ms:1,s:1e3};e.m=60*e.s,e.h=60*e.m,e.d=24*e.h,e.y=365.25*e.d;var n=["y","d","h","m","s"],i=/^((?:\d+)?\.?\d+) *(s|m|h|d|y)?$/;return t}({}),ae=E.toInt=function(t){return t?(t=ie(t))-t%1:0===t?t:0},oe=E.detectBrowser=function(t){t=function(t){var a=r(t=(t=t||(R?navigator.userAgent:"")).toLowerCase(),"msie ");if(a)return{version:a,name:"ie"};if(n.test(t))return{version:11,name:"ie"};for(var o=0,s=i.length;o-1)return ae(t.substring(n+e.length,t.indexOf(".",n)))}return t}({}),se=E.nextTick=function(t){function e(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}return"object"===(void 0===i?"undefined":O()(i))&&i.nextTick?i.nextTick:"function"==typeof r?function(t){r(e(t))}:function(t){setTimeout(e(t),0)}}(),ue=E.now=Date.now?Date.now:function(){return(new Date).getTime()},le=E.perfNow=function(t){var e,n=Dt.performance,i=Dt.process;if(n&&n.now)t=function(){return n.now()};else if(i&&i.hrtime){var r=function(){var t=i.hrtime();return 1e9*t[0]+t[1]};e=r()-1e9*i.uptime(),t=function(){return(r()-e)/1e6}}else e=ue(),t=function(){return ue()-e};return t}({}),ce=E.pick=function(t,e,n){if($t(e)&&(e=[e]),ct(e)){var i=e;e=function(t,e){return Ot(i,e)}}var r={},a=function(t,n){e(t,n)&&(r[n]=t)};return n&&(a=function(t,n){e(t,n)||(r[n]=t)}),yt(t,a),r},_e=E.property=function(t){return ct(t)?function(e){return ht(e,t)}:(e=t,function(t){return null==t?void 0:t[e]});var e},he=E.safeCb=function(t,e,n){return null==t?st:ft(t)?Y(t,e,n):S(t)&&!ct(t)?te(t):_e(t)},pe=E.filter=function(t,e,n){var i=[];return e=he(e,n),yt(t,(function(t,n,r){e(t,n,r)&&i.push(t)})),i},de=E.difference=Q((function(t,e){return e=pt(e),pe(t,(function(t){return!Ot(e,t)}))})),fe=E.unique=function(t){function e(t,e){return t===e}return function(t,n){return n=n||e,pe(t,(function(t,e,i){for(var r=i.length;++e1&&void 0!==arguments[1]?arguments[1]:{},n=e.prototype,i=void 0===n||n,r=e.unenumerable,a=void 0!==r&&r,o=e.symbol,s=void 0!==o&&o,u=[];if((a||s)&&b){var l=P;a&&b&&(l=b);do{u=u.concat(l(t)),s&&y&&(u=u.concat(y(t)))}while(i&&(t=vt(t))&&t!==Object.prototype);u=fe(u)}else if(i)for(var c in t)u.push(c);else u=P(t);return u}),ge=E.defaults=wt(ve,!0),me=E.highlight=function(t){t=function(i){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"js",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ge(a,e),i=i.replace(//g,">"),r=n[r];var o=0,s=[];yt(r,(function(e){e.language&&(i=i.replace(e.re,(function(n,i){return s[o++]=t(i,e.language,a),n.replace(i,"___subtmpl"+(o-1)+"___")})))})),yt(r,(function(t,e){n[t.language]||(i=i.replace(t.re,"___"+e+"___$1___end"+e+"___"))}));var u=[];return i=i.replace(/___(?!subtmpl)\w+?___/g,(function(t){var e="end"===t.substr(3,3),n=(e?t.substr(6):t.substr(3)).replace(/_/g,""),i=u.length>0?u[u.length-1]:null;return!e&&(null==i||n==i||null!=i&&r[i]&&null!=r[i].embed&&r[i].embed.indexOf(n)>-1)?(u.push(n),t):e&&n==i?(u.pop(),t):""})),yt(r,(function(t,e){i=i.replace(new RegExp("___end"+e+"___","g"),"").replace(new RegExp("___"+e+"___","g"),'')})),yt(r,(function(t){t.language&&(i=i.replace(/___subtmpl\d+___/g,(function(t){var e=parseInt(t.replace(/___subtmpl(\d+)___/,"$1"),10);return s[e]})))})),i};var e={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},n={js:{comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|<|>|\||\?|\.)/g,style:"operator"}}};return n.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:n.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}},n.css={comment:n.js.comment,string:n.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}},t}({}),be=E.extend=wt(ve),ye=E.clone=function(t){return S(t)?ct(t)?t.slice():be({},t):t},we=E.copy=function(t,e){e=e||N;var n=document.createElement("textarea"),i=document.body;be(n.style,{fontSize:"12pt",border:"0",padding:"0",margin:"0",position:"absolute",left:"-9999px"}),n.value=t,i.appendChild(n),n.setAttribute("readonly",""),n.select(),n.setSelectionRange(0,t.length);try{document.execCommand("copy"),e()}catch(t){e(t)}finally{i.removeChild(n)}},xe=E.map=function(t,e,n){e=he(e,n);for(var i=!bt(t)&&P(t),r=(i||t).length,a=Array(r),o=0;o1?e:this;for(var n=this._items,i=this.size-1,r=0;i>=0;i--,r++)t.call(e,n[i],r,this)},toArr:function(){return L(this._items)}}),Ie=E.delegate=function(t){function e(){return!0}function n(){return!1}function i(e){var n,i=this.events[e.type],a=r.call(this,e,i);e=new t.Event(e);for(var o,s,u=0;(s=a[u++])&&!e.isPropagationStopped();)for(e.curTarget=s.el,o=0;(n=s.handlers[o++])&&!e.isImmediatePropagationStopped();)!1===n.handler.apply(s.el,[e])&&(e.preventDefault(),e.stopPropagation())}function r(t,e){var n,i,r,a,o=t.target,s=[],u=e.delegateCount;if(o.nodeType)for(;o!==this;o=o.parentNode||this){for(i=[],a=0;awindow.innerHeight?"landscape":"portrait"}},Ge.mixin(t),window.addEventListener("orientationchange",(function(){setTimeout((function(){t.emit("change",t.get())}),200)}),!1),t}({}),Je=E.mapObj=function(t,e,n){e=he(e,n);for(var i=P(t),r=i.length,a={},o=0;o=0;l--){var c=a[l];if(""!==c){if(p({domain:s=""===s?c:c+"."+s,path:e="/"})||p({domain:s}))return;for(var _=0;_=0;)for(s=!1,i=-1,r=t.charAt(a);++i=0?t.substring(0,a+1):""}}(),un=E.trim=function(t){var e=/^\s+|\s+$/g;return function(t,n){return null==n?t.replace(e,""):Zt(sn(t,n),n)}}(),ln=E.extractUrls=function(t){t=function(t){var n=Oe(t.match(e));return fe(xe(n,(function(t){return un(t)})))};var e=/((https?)|(ftp)):\/\/[\w.]+[^ \f\n\r\t\v"\\<>[\]\u2100-\uFFFF(),]*/gi;return t}({}),cn=E.linkify=function(t){function e(t){return''+t+""}return function(t,n){n=n||e;var i=ln(t);return yt(i,(function(e){t=t.replace(new RegExp(nt(e),"g"),n)})),t}}(),_n=E.query=function(t){t={parse:function(t){var n={};return t=un(t).replace(e,""),yt(t.split("&"),(function(t){var e=t.split("="),i=e.shift(),r=e.length>0?e.join("="):null;i=decodeURIComponent(i),r=decodeURIComponent(r),A(n[i])?n[i]=r:ct(n[i])?n[i].push(r):n[i]=[n[i],r]})),n},stringify:function(e,n){return pe(xe(e,(function(e,i){return S(e)&&Et(e)?"":ct(e)?t.stringify(e,i):(n?encodeURIComponent(n):encodeURIComponent(i))+"="+encodeURIComponent(e)})),(function(t){return t.length>0})).join("&")}};var e=/^(\?|#|&)/g;return t}({}),hn=E.Url=function(t){t=Ee({className:"Url",initialize:function(e){!e&&R&&(e=window.location.href),be(this,t.parse(e||""))},setQuery:function(t,e){var n=this.query;return S(t)?yt(t,(function(t,e){n[e]=t})):n[t]=e,this},rmQuery:function(t){var e=this.query;return ct(t)||(t=Oe(t)),yt(t,(function(t){delete e[t]})),this},toString:function(){return t.stringify(this)}},{parse:function(t){var r={protocol:"",auth:"",hostname:"",hash:"",query:{},port:"",pathname:"",slashes:!1},a=un(t),o=!1,s=a.match(e);if(s&&(s=s[0],r.protocol=s.toLowerCase(),a=a.substr(s.length)),s&&(o="//"===a.substr(0,2))&&(a=a.slice(2),r.slashes=!0),o){for(var u=a,l=-1,c=0,_=i.length;c<_;c++){var h=a.indexOf(i[c]);-1!==h&&(-1===l||h-1&&(u=a.slice(0,l),a=a.slice(l));var p=u.lastIndexOf("@");-1!==p&&(r.auth=decodeURIComponent(u.slice(0,p)),u=u.slice(p+1)),r.hostname=u;var d=u.match(n);d&&(":"!==(d=d[0])&&(r.port=d.substr(1)),r.hostname=u.substr(0,u.length-d.length))}var f=a.indexOf("#");-1!==f&&(r.hash=a.substr(f),a=a.slice(0,f));var v=a.indexOf("?");return-1!==v&&(r.query=_n.parse(a.substr(v+1)),a=a.slice(0,v)),r.pathname=a||"/",r},stringify:function(t){var e=t.protocol+(t.slashes?"//":"")+(t.auth?encodeURIComponent(t.auth)+"@":"")+t.hostname+(t.port?":"+t.port:"")+t.pathname;return Et(t.query)||(e+="?"+_n.stringify(t.query)),t.hash&&(e+=t.hash),e}});var e=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,i=["/","?","#"];return t}({}),pn=E.getFileName=function(t){var e=j(t.split("/"));return e.indexOf("?")>-1&&(e=un(e.split("?")[0])),""===e&&(e=(t=new hn(t)).hostname),e},dn=E.ajax=function(t){function e(t,e,n,i){return ft(e)&&(i=n,n=e,e={}),{url:t,data:e,success:n,dataType:i}}return(t=function(e){ge(e,t.setting);var n,i=e.type,r=e.url,a=e.data,o=e.dataType,s=e.success,u=e.error,l=e.timeout,c=e.complete,_=e.xhr();return _.onreadystatechange=function(){if(4===_.readyState){var t;clearTimeout(n);var e=_.status;if(e>=200&&e<300||304===e){t=_.responseText,"xml"===o&&(t=_.responseXML);try{"json"===o&&(t=JSON.parse(t))}catch(t){}s(t,_)}else u(_);c(_)}},"GET"===i?(a=_n.stringify(a),r+=r.indexOf("?")>-1?"&"+a:"?"+a):"application/x-www-form-urlencoded"===e.contentType?S(a)&&(a=_n.stringify(a)):"application/json"===e.contentType&&S(a)&&(a=JSON.stringify(a)),_.open(i,r,!0),_.setRequestHeader("Content-Type",e.contentType),l>0&&(n=setTimeout((function(){_.onreadystatechange=N,_.abort(),u(_,"timeout"),c(_)}),l)),_.send("GET"===i?null:a),_}).setting={type:"GET",success:N,error:N,complete:N,dataType:"json",contentType:"application/x-www-form-urlencoded",data:{},xhr:function(){return new XMLHttpRequest},timeout:0},t.get=function(){return t(e.apply(null,arguments))},t.post=function(){var n=e.apply(null,arguments);return n.type="POST",t(n)},t}({}),fn=E.sortKeys=function(t){t=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ge(n,e);var i=n.deep,r=n.comparator,a=[],o=[];function s(t){var e,n=a.indexOf(t);if(n>-1)return o[n];if(ct(t)){e=[],a.push(t),o.push(e);for(var u=0,l=t.length;u1&&void 0!==arguments[1])||arguments[1];return null===t&&(n="Null"),void 0===t&&(n="Undefined"),zt(t)&&(n="NaN"),At(t)&&(n="Buffer"),n||(n=ut(t).match(e))&&(n=n[1]),n?i?Xt(n):n:""};var e=/^\[object\s+(.*?)]$/;return t}({}),gn=E.stringify=function(t,e){return JSON.stringify(t,function(){var t=[],e=[];return function(n,i){if(t.length>0){var r=t.indexOf(this);r>-1?(t.splice(r+1),e.splice(r,1/0,n)):(t.push(this),e.push(n));var a=t.indexOf(i);a>-1&&(i=t[0]===i?"[Circular ~]":"[Circular ~."+e.slice(0,a).join(".")+"]")}else t.push(i);return Gt(i)||ft(i)?i="["+at(vn(i))+" "+W(i)+"]":A(i)&&(i=null),i}}(),e)},mn=E.LocalStore=function(t){var e=ne("local");return Qe.extend({initialize:function(t,n){this._name=t,n=n||{};var i=e.getItem(t);try{i=JSON.parse(i)}catch(t){i={}}S(i)||(i={}),n=ge(i,n),this.callSuper(Qe,"initialize",[n])},save:function(t){if(Et(t))return e.removeItem(this._name);e.setItem(this._name,gn(t))}})}(),bn=E.stringifyAll=function(t){function e(e,i,r,a){var o=[];return yt(i,(function(e){var i,s=Object.getOwnPropertyDescriptor(r,e),u=s&&s.get,l=s&&s.set;if(!a.accessGetter&&u)i="(...)";else try{if(i=r[e],Ot(a.ignore,i))return;Wt(i)&&i.catch((function(){}))}catch(t){i=t.message}o.push("".concat(n(e),":").concat(t(i,a))),u&&o.push("".concat(n("get "+W(e)),":").concat(t(s.get,a))),l&&o.push("".concat(n("set "+W(e)),":").concat(t(s.set,a)))})),'"'.concat(e,'":{')+o.join(",")+"}"}function n(t){return'"'.concat(r(t),'"')}function i(t){return'"'.concat(r(W(t)),'"')}function r(t){return tt(t).replace(/\\'/g,"'").replace(/\t/g,"\\t")}t=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.self,s=r.startTime,u=void 0===s?ue():s,l=r.timeout,c=void 0===l?0:l,_=r.depth,h=void 0===_?0:_,p=r.curDepth,d=void 0===p?1:p,f=r.visitor,v=void 0===f?new a:f,g=r.unenumerable,m=void 0!==g&&g,b=r.symbol,y=void 0!==b&&b,w=r.accessGetter,x=void 0!==w&&w,k=r.ignore,$=void 0===k?[]:k,E="",j={visitor:v,unenumerable:m,symbol:y,accessGetter:x,depth:h,curDepth:d+1,timeout:c,startTime:u,ignore:$},A=vn(n,!1);if("String"===A)E=i(n);else if("Number"===A)E=W(n),J(E,"Infinity")&&(E='{"value":"'.concat(E,'","type":"Number"}'));else if("NaN"===A)E='{"value":"NaN","type":"Number"}';else if("Boolean"===A)E=n?"true":"false";else if("Null"===A)E="null";else if("Undefined"===A)E='{"type":"Undefined"}';else if("Symbol"===A){var S="Symbol";try{S=W(n)}catch(t){}E='{"value":'.concat(i(S),',"type":"Symbol"}')}else{if(c&&ue()-u>c)return i("Timeout");if(h&&d>h)return i("{...}");E="{";var T,C=[],D=v.get(n);if(D?(T=D.id,C.push('"reference":'.concat(T))):(T=v.set(n),C.push('"id":'.concat(T))),C.push('"type":"'.concat(A,'"')),J(A,"Function")?C.push('"value":'.concat(i(Bt(n)))):"RegExp"===A&&C.push('"value":'.concat(i(n))),!D){var L=P(n);if(L.length&&C.push(e("enumerable",L,o||n,j)),m){var R=de(ve(n,{prototype:!1,unenumerable:!0}),L);R.length&&C.push(e("unenumerable",R,o||n,j))}if(y){var N=pe(ve(n,{prototype:!1,symbol:!0}),(function(t){return"symbol"===O()(t)}));N.length&&C.push(e("symbol",N,o||n,j))}var M=vt(n);if(M&&!Ot($,M)){var F='"proto":'.concat(t(M,be(j,{self:o||n})));C.push(F)}}E+=C.join(",")+"}"}return E};var a=Ee({initialize:function(){this.id=0,this.visited=[]},set:function(t){var e=this.visited,n=this.id,i={id:n,val:t};return e.push(i),this.id++,n},get:function(t){for(var e=this.visited,n=0,i=e.length;n-1&&e.splice(n,1)},rmAllListeners:function(){e=[]}},R?(window.addEventListener("error",(function(t){r(t.error)})),window.addEventListener("unhandledrejection",(function(t){r(t.reason)}))):(i.on("uncaughtException",r),i.on("unhandledRejection",r)),t}({}),xn=E.uniqId=(k=0,function(t){var e=++k+"";return t?t+e:e}),kn=E.viewportScale=function(){var t=Ue("viewport");if(!t)return 1;t=xe(t.split(","),(function(t){return un(t)}));var e=.25,n=5,i=1;yt(t,(function(t){var r=(t=t.split("="))[0];t=t[1],"initial-scale"===r&&(i=+t),"maximum-scale"===r&&(n=+t),"minimum-scale"===r&&(e=+t)}));var r=B(i,e,n);return zt(r)?1:r},$n=E.wrap=function(t,e){return Ke(e,t)},On=E.xpath=function(t){for(var e=[],n=document.evaluate(t,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),i=0;i0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;if(t<1)return e.inverse(this);var n=1,i=0,r=t*n+i,a=i,o="";do{var s={index:a,count:t,start:i,step:n,first:a===i,last:a>=r-n},u=[a,s];o+=e.fn(this,{data:s,blockParams:u}),a+=s.step}while(a":">",'"':""","'":"'","`":"`","=":"="},r=/[&<>"'`=]/g,a=/[&<>"'`=]/;function o(t){return i[t]}function s(t){for(var e=1;e=0&&e<=a&&!r(t)},t.exports=e},function(t,e){var n=Object.prototype.toString;e=function(t){return n.call(t)},t.exports=e},function(t,e){var n=Object.prototype.hasOwnProperty;e=function(t,e){return n.call(t,e)},t.exports=e},function(t,e,n){var i=n(9),r=n(47),a=n(8),o=n(1);e=function(t){return t?a(t)?t:i(t)&&!o(t)?r(t):[t]:[]},t.exports=e},function(t,e,n){var i=n(21),r=n(12),a=n(48),o=n(26),s=n(50),u=(e=function(t,e){return u.extend(t,e)}).Base=function t(e,n,u){u=u||{};var l=n.className||o(n,"initialize.name")||"";delete n.className;var c=function(){var t=r(arguments);return this.initialize&&this.initialize.apply(this,t)||this};if(!s)try{c=new Function("toArr","return function "+l+"(){var args = toArr(arguments);return this.initialize ? this.initialize.apply(this, args) || this : this;};")(r)}catch(t){}return a(c,e),c.prototype.constructor=c,c.extend=function(e,n){return t(c,e,n)},c.inherits=function(t){a(c,t)},c.methods=function(t){return i(c.prototype,t),c},c.statics=function(t){return i(c,t),c},c.methods(n).statics(u),c}(Object,{className:"Base",callSuper:function(t,e,n){return t.prototype[e].apply(this,n)},toString:function(){return this.constructor.name}});t.exports=e},function(t,e,n){var i=n(15),r=n(0);e=function(t,e,n){var a=[];return e=i(e,n),r(t,(function(t,n,i){e(t,n,i)&&a.push(t)})),a},t.exports=e},function(t,e,n){var i=n(6),r=n(2),a=n(8),o=n(23),s=n(41),u=n(44),l=n(45);e=function(t,e,n){return null==t?u:i(t)?o(t,e,n):r(t)&&!a(t)?s(t):l(t)},t.exports=e},function(t,e,n){var i=n(17);e=function(t){return i(t).toLocaleLowerCase()},t.exports=e},function(t,e){e=function(t){return null==t?"":t.toString()},t.exports=e},function(t,e){e=function(t){return t.length<1?t:t[0].toUpperCase()+t.slice(1)},t.exports=e},function(t,e,n){var i=n(63),r=n(1),a=n(9),o=n(64);e=function(t,e){return r(t)?t.indexOf(e)>-1:(a(t)||(t=o(t)),i(t,e)>=0)},t.exports=e},function(t,e,n){var i=n(13),r=n(11),a=n(0),o=n(51),s=n(52);e=i({initialize:function(){this._events=this._events||{}},on:function(t,e){return this._events[t]=this._events[t]||[],this._events[t].push(e),this},off:function(t,e){if(r(this._events,t))return this._events[t].splice(this._events[t].indexOf(e),1),this},once:function(t,e){return this.on(t,s(e)),this},emit:function(t){if(r(this._events,t)){var e=o(arguments,1);return a(this._events[t],(function(t){t.apply(this,e)}),this),this}}},{mixin:function(t){a(["on","off","once","emit"],(function(n){t[n]=e.prototype[n]})),t._events=t._events||{}}}),t.exports=e},function(t,e,n){e=n(22)(n(24)),t.exports=e},function(t,e,n){var i=n(5),r=n(0);e=function(t,e){return function(n){return r(arguments,(function(a,o){if(0!==o){var s=t(a);r(s,(function(t){e&&!i(n[t])||(n[t]=a[t])}))}})),n}},t.exports=e},function(t,e,n){var i=n(5);e=function(t,e,n){if(i(e))return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,a){return t.call(e,n,i,r,a)}}return function(){return t.apply(e,arguments)}},t.exports=e},function(t,e,n){var i=n(4),r=n(25),a=n(40),o=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.prototype,u=void 0===n||n,l=e.unenumerable,c=void 0!==l&&l,_=e.symbol,h=void 0!==_&&_,p=[];if((c||h)&&o){var d=i;c&&o&&(d=o);do{p=p.concat(d(t)),h&&s&&(p=p.concat(s(t)))}while(u&&(t=r(t))&&t!==Object.prototype);p=a(p)}else if(u)for(var f in t)p.push(f);else p=i(t);return p},t.exports=e},function(t,e,n){var i=n(2),r=n(6),a=Object.getPrototypeOf,o={}.constructor;e=function(t){if(i(t)){if(a)return a(t);var e=t.__proto__;return e||null===e?e:r(t.constructor)?t.constructor.prototype:t instanceof o?o.prototype:void 0}},t.exports=e},function(t,e,n){var i=n(5),r=n(46);e=function(t,e){var n;for(n=(e=r(e,t)).shift();!i(n);){if(null==(t=t[n]))return;n=e.shift()}return t},t.exports=e},function(t,e){e=function(t,e){return e=null==e?t.length-1:+e,function(){var n,i=Math.max(arguments.length-e,0),r=new Array(i);for(n=0;n500&&(t=t.slice(0,500)+"..."),"ƒ "+a.default(function(t){var e=t.match(l);return e?e[0]:t}(t).replace("function",""))};var l=/function(.*?)\((.*?)\)/;function c(t,e){return(t=_(t))>(e=_(e))?1:ti?1:nu?u:a,_=0;_u?1:a100){l.unshift("virtual"),a=!0;var b=0,y={};v.default($.default(t,100),(function(t){var e=Object.create(null),n=b,i="["+n;v.default(t,(function(t){e[b]=t,y[b]=!0,b++}));var r=b-1;g[i+=(r-n>0?" … "+r:"")+"]"]=e})),d=f.default(g),c=k.default(c,(function(t){return!y[t]}))}v.default(l,(function(i){var o=[];o="symbol"===i?h:"unenumerable"===i?_:"virtual"===i?d:c,a||o.sort(A.sortObjName);for(var u=0,l=o.length;u"+y(t)+'null';if(l.default(n)||c.default(n))return"
  • "+y(t)+''+A.encode(n)+"
  • ";if("RegExp"===s&&(o="regexp"),"Number"===s&&(o="number"),"Number"===s||"RegExp"===s)return"
  • "+y(t)+''+A.encode(n.value)+"
  • ";if("Undefined"===s||"Symbol"===s)return"
  • "+y(t)+''+_.default(s)+"
  • ";if("(...)"===n)return"
  • "+y(t)+''+n+"
  • ";if(h.default(n)){var u=a.get(n),p=void 0;if(u)p=u.id;else{var f={};"proto"===i&&(f.self=e),p=a.set(n,f),this.map[p]=n}var v=function(t,e){if(e)return"Function"===e?A.getFnAbstract(g.default(t)):"Array"===e?"Array("+t.length+")":e}(n,s)||d.default(o),m="
  • '+y(t)+''+(r?"":v)+'
      ";return r&&(m+=this.objToHtml(n)),m+'
  • '}function y(t){if(r)return"";if(h.default(n)&&"virtual"===i)return"";var e=T+"key";return"unenumerable"!==i&&"proto"!==i&&"symbol"!==i||(e=T+"key-lighter"),''+A.encode(t)+": "}return"
  • "+y(t)+'"'+A.encode(n)+'"
  • '},e.prototype.appendTpl=function(){this.$container.html(this.objToHtml(this.data,!0))},e.prototype.bindEvent=function(){var t=this;this.$container.on("click","li",(function(e){var n=t.map,i=y.default(this),r=i.data("object-id"),a=y.default(this).find("span").eq(0);if(!i.data("first-level")&&(r&&(i.find("ul").html(t.objToHtml(n[r],!1)),i.rmAttr("data-object-id")),e.stopImmediatePropagation(),a.hasClass(T+"expanded"))){var o=i.find("ul").eq(0);a.hasClass(T+"collapsed")?(a.rmClass(T+"collapsed"),o.show()):(a.addClass(T+"collapsed"),o.hide()),t.emit("change")}}))},e}(s.default)).Static=S.default,r)},function(t,e,n){var i=n(14);function r(t,e){return t===e}e=function(t,e){return e=e||r,i(t,(function(t,n,i){for(var r=i.length;++n0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},t.exports=e},function(t,e,n){var i=n(56);e=function(t){if(i(t))return"";try{return r.call(t)}catch(t){}try{return t+""}catch(t){}return""};var r=Function.prototype.toString;t.exports=e},function(t,e){e=function(t){return null==t},t.exports=e},function(t,e,n){var i=n(2),r=n(6);e=function(t){return i(t)&&r(t.then)&&r(t.catch)},t.exports=e},function(t,e,n){var i=n(10),r=n(29),a=n(16),o=n(59);e=function(t){var e,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return null===t&&(e="Null"),void 0===t&&(e="Undefined"),r(t)&&(e="NaN"),o(t)&&(e="Buffer"),e||(e=i(t).match(s))&&(e=e[1]),e?n?a(e):e:""};var s=/^\[object\s+(.*?)]$/;t.exports=e},function(t,e,n){var i=n(6);e=function(t){return null!=t&&(!!t._isBuffer||t.constructor&&i(t.constructor.isBuffer)&&t.constructor.isBuffer(t))},t.exports=e},function(t,e,n){var i=n(3);e=function(t){var e=(t=i(t))[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},t.exports=e},function(t,e,n){var i=n(0),r=n(3);e=function(t){t=r(t),i(t,(function(t){(function(t){return"none"==getComputedStyle(t,"").getPropertyValue("display")})(t)&&(t.style.display=function(t){var e,n;return a[t]||(e=document.createElement(t),document.documentElement.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),a[t]=n),a[t]}(t.nodeName))}))};var a={};t.exports=e},function(t,e,n){var i=n(1),r=n(2),a=n(32),o=n(5),s=n(19),u=n(7),l=n(3),c=n(65),_=n(0);e=function(t,e,n){if(t=l(t),o(n)&&i(e))return function(t,e){return t.style[c(e)]||getComputedStyle(t,"").getPropertyValue(e)}(t[0],e);var p=e;r(p)||((p={})[e]=n),function(t,e){_(t,(function(t){var n=";";_(e,(function(t,e){e=c.dash(e),n+=e+":"+function(t,e){return u(e)&&!s(h,a(t))?e+"px":e}(e,t)+";"})),t.style.cssText+=n}))}(t,p)};var h=["column-count","columns","font-weight","line-weight","opacity","z-index","zoom"];t.exports=e},function(t,e){e=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},t.exports=e},function(t,e,n){var i=n(0);e=function(t){var e=[];return i(t,(function(t){e.push(t)})),e},t.exports=e},function(t,e,n){var i=n(66),r=n(67),a=n(18),o=n(11),s=n(32);(e=i((function(t){if(t=t.replace(l,""),t=r(t),o(c,t))return t;for(var e=u.length;e--;){var n=u[e]+a(t);if(o(c,n))return n}return t}))).dash=i((function(t){var n=e(t);return(l.test(n)?"-":"")+s(n)}));var u=["O","ms","Moz","Webkit"],l=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,c=document.createElement("p").style;t.exports=e},function(t,e,n){var i=n(11);e=function(t,e){var n=function(r){var a=n.cache,o=""+(e?e.apply(this,arguments):r);return i(a,o)||(a[o]=t.apply(this,arguments)),a[o]};return n.cache={},n},t.exports=e},function(t,e,n){var i=n(33);function r(t,e){this[e]=t.replace(/\w/,(function(t){return t.toUpperCase()}))}e=function(t){var e=i(t),n=e[0];return e.shift(),e.forEach(r,e),n+e.join("")},t.exports=e},function(t,e,n){var i=n(5),r=n(0),a=n(3);function o(t){return function(e,n){var o=(e=a(e))[0];if(i(n))return o?o[t]:"";o&&r(e,(function(e){e[t]=n}))}}e={html:o("innerHTML"),text:o("textContent"),val:o("value")},t.exports=e},function(t,e){e=function(t){var e=t?t.length:0;if(e)return t[e-1]},t.exports=e},function(t,e,n){var i=n(0),r=n(3);e=function(t){t=r(t),i(t,(function(t){var e=t.parentNode;e&&e.removeChild(t)}))},t.exports=e},function(t,e,n){var i=n(34),r=n(1),a=n(2),o=n(0);n(3),e=function(t,e,n){var s=e;return r(e)&&(s="data-"+e),a(e)&&(s={},o(e,(function(t,e){s["data-"+e]=t}))),i(t,s,n)},t.exports=e},function(t,e,n){var i=n(73),r=n(5),a=n(3),o=n(0);function s(t){return function(e,n,s,u){e=a(e),r(u)&&(u=s,s=void 0),o(e,(function(e){i[t](e,n,s,u)}))}}e={on:s("add"),off:s("remove")},t.exports=e},function(t,e,n){var i=n(13),r=n(19);function a(){return!0}function o(){return!1}function s(t){var n,i=this.events[t.type],r=u.call(this,t,i);t=new e.Event(t);for(var a,o,s=0;(o=r[s++])&&!t.isPropagationStopped();)for(t.curTarget=o.el,a=0;(n=o.handlers[a++])&&!t.isImmediatePropagationStopped();)!1===n.handler.apply(o.el,[t])&&(t.preventDefault(),t.stopPropagation())}function u(t,e){var n,i,a,o,s=t.target,u=[],l=e.delegateCount;if(s.nodeType)for(;s!==this;s=s.parentNode||this){for(i=[],o=0;o=o?"":t.substr(a,o)},t.exports=e},function(t,e){var n=/\s+$/;e=function(t,e){if(null==e)return t.replace(n,"");for(var i,r,a=t.length-1,o=e.length,s=!0;s&&a>=0;)for(s=!1,i=-1,r=t.charAt(a);++i=0?t.substring(0,a+1):""},t.exports=e},function(t,e,n){var i=n(4),r=(e=function(t){return o.test(t)?t.replace(s,u):t}).map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},a="(?:"+i(r).join("|")+")",o=new RegExp(a),s=new RegExp(a,"g"),u=function(t){return r[t]};t.exports=e},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=a(n(30)),s=a(n(38)),u=a(n(2)),l=a(n(86)),c=a(n(18)),_=a(n(37)),h=a(n(35)),p=a(n(0)),d=a(n(29)),f=a(n(7)),v=a(n(28)),g=a(n(1)),m=a(n(4)),b=a(n(16)),y=a(n(20)),w=n(36),x="luna-object-viewer-",k=function(t){function e(e){var n=t.call(this)||this;return n.$container=o.default(e),n.$container.addClass("luna-object-viewer"),n.bindEvent(),n}return r(e,t),e.prototype.set=function(t){g.default(t)&&(t=JSON.parse(t)),this.data={id:l.default("json"),enumerable:{0:t}},this.map={},function t(e,n){var i=n.id;if(i||0===i){if(n.type&&s.default(n.type,"Array")&&n.enumerable){var r=function(t,e,n){var i=[],r={};return p.default(t.enumerable,(function(t,e){var n=_.default(e);d.default(n)?r[e]=t:i[n]=t})),i.enumerable=r,i.type=n,i.id=e,t.unenumerable&&(i.unenumerable=t.unenumerable),t.symbol&&(i.symbol=t.symbol),t.proto&&(i.proto=t.proto),i}(n,i,n.type);r.length>100&&(n=function(t){var e=0,n={};p.default(h.default(t,100),(function(t){var i={},r=e;i.type="["+r,i.enumerable={},p.default(t,(function(t){i.enumerable[e]=t,e+=1}));var a=e-1;i.type+=(a-r>0?" … "+a:"")+"]",i.id=l.default("json"),i.jsonSplitArr=!0,n[e]=i}));var i={};return i.enumerable=n,i.id=t.id,i.type=t.type,t.unenumerable&&(i.unenumerable=t.unenumerable),t.symbol&&(i.symbol=t.symbol),t.proto&&(i.proto=t.proto),i}(r))}e[i]=n;var a=[];p.default(["enumerable","unenumerable","symbol"],(function(t){if(n[t])for(var e in n[t])a.push(n[t][e])})),n.proto&&a.push(n.proto);for(var o=0,c=a.length;o"+_(t)+'null';if(f.default(e)||v.default(e))return"
  • "+_(t)+''+w.encode(e)+"
  • ";if("RegExp"===e.type&&(r="regexp"),"Number"===e.type&&(r="number"),"Number"===e.type||"RegExp"===e.type)return"
  • "+_(t)+''+w.encode(e.value)+"
  • ";if("Undefined"===e.type||"Symbol"===e.type)return"
  • "+_(t)+''+b.default(e.type)+"
  • ";if("(...)"===e)return"
  • "+_(t)+''+e+"
  • ";if(u.default(e)){var a=e.id,o=e.reference,s=$(e)||c.default(r),l="
  • '+_(t)+''+(i?"":s)+'
      ";return i&&(l+=this.objToHtml(this.map[a])),l+'
  • '}function _(t){if(i)return"";if(u.default(e)&&e.jsonSplitArr)return"";var r=x+"key";return"unenumerable"!==n&&"proto"!==n&&"symbol"!==n||(r=x+"key-lighter"),''+w.encode(t)+": "}return"
  • "+_(t)+'"'+w.encode(e)+'"
  • '},e.prototype.appendTpl=function(){var t=this.map[this.data.id];this.$container.html(this.objToHtml(t,!0))},e.prototype.bindEvent=function(){var t=this;this.$container.on("click","li",(function(e){var n=t.map,i=o.default(this),r=i.data("object-id"),a=o.default(this).find("span").eq(0);if(!i.data("first-level")&&(r&&(i.find("ul").html(t.objToHtml(n[r],!1)),i.rmAttr("data-object-id")),e.stopImmediatePropagation(),a.hasClass(x+"expanded"))){var s=i.find("ul").eq(0);a.hasClass(x+"collapsed")?(a.rmClass(x+"collapsed"),s.show()):(a.addClass(x+"collapsed"),s.hide()),t.emit("change")}}))},e}(y.default);function $(t){var e=t.type,n=t.value;if(e)return"Function"===e?w.getFnAbstract(n):"Array"===e&&t.unenumerable?"Array("+t.unenumerable.length+")":t.type}e.default=k,e.getObjAbstract=$},function(t,e){var n=0;e=function(t){var e=++n+"";return t?t+e:e},t.exports=e},function(t,e,n){}])},function(t,e,n){var i,r;r=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var i=n(1).Beautifier,r=n(5).Options;t.exports=function(t,e){return new i(t,e).beautify()},t.exports.defaultOptions=function(){return new r}},function(t,e,n){"use strict";var i=n(2).Output,r=n(3).Token,a=n(4),o=n(5).Options,s=n(7).Tokenizer,u=n(7).line_starters,l=n(7).positionable_operators,c=n(7).TOKEN;function _(t,e){return-1!==e.indexOf(t)}function h(t,e){return t&&t.type===c.RESERVED&&t.text===e}function p(t,e){return t&&t.type===c.RESERVED&&_(t.text,e)}var d=["case","return","do","if","throw","else","await","break","continue","async"],f=function(t){for(var e={},n=0;nn&&(n=t.line_indent_level)),{mode:e,parent:t,last_token:t?t.last_token:new r(c.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,alignment:0,line_indent_level:t?t.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0}},j.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new i(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(g);var n=new s(t,this._options);return this._tokens=n.tokenize(),t},j.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._reset(this._source_text),e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&a.lineBreak.test(t||"")&&(e=t.match(a.lineBreak)[0]));for(var n=this._tokens.next();n;)this.handle_token(n),this._last_last_text=this._flags.last_token.text,this._flags.last_token=n,n=this._tokens.next();return this._output.get_code(e)},j.prototype.handle_token=function(t,e){t.type===c.START_EXPR?this.handle_start_expr(t):t.type===c.END_EXPR?this.handle_end_expr(t):t.type===c.START_BLOCK?this.handle_start_block(t):t.type===c.END_BLOCK?this.handle_end_block(t):t.type===c.WORD||t.type===c.RESERVED?this.handle_word(t):t.type===c.SEMICOLON?this.handle_semicolon(t):t.type===c.STRING?this.handle_string(t):t.type===c.EQUALS?this.handle_equals(t):t.type===c.OPERATOR?this.handle_operator(t):t.type===c.COMMA?this.handle_comma(t):t.type===c.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===c.COMMENT?this.handle_comment(t,e):t.type===c.DOT?this.handle_dot(t):t.type===c.EOF?this.handle_eof(t):(t.type,c.UNKNOWN,this.handle_unknown(t,e))},j.prototype.handle_whitespace_and_comments=function(t,e){var n=t.newlines,i=this._options.keep_array_indentation&&O(this._flags.mode);if(t.comments_before)for(var r=t.comments_before.next();r;)this.handle_whitespace_and_comments(r,e),this.handle_token(r,e),r=t.comments_before.next();if(i)for(var a=0;a0,e);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,e);for(var o=1;o0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},j.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},j.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===m&&$(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},j.prototype.start_of_object_property=function(){return this._flags.parent.mode===b&&this._flags.mode===m&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||p(this._flags.last_token,["get","set"]))},j.prototype.start_of_statement=function(t){var e=!1;return!!(e=(e=(e=(e=(e=(e=(e=e||p(this._flags.last_token,["var","let","const"])&&t.type===c.WORD)||h(this._flags.last_token,"do"))||!(this._flags.parent.mode===b&&this._flags.mode===m)&&p(this._flags.last_token,A)&&!t.newlines)||h(this._flags.last_token,"else")&&!(h(t,"if")&&!t.comments_before))||this._flags.last_token.type===c.END_EXPR&&(this._previous_flags.mode===w||this._previous_flags.mode===x))||this._flags.last_token.type===c.WORD&&this._flags.mode===g&&!this._flags.in_case&&!("--"===t.text||"++"===t.text)&&"function"!==this._last_last_text&&t.type!==c.WORD&&t.type!==c.RESERVED)||this._flags.mode===b&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||p(this._flags.last_token,["get","set"])))&&(this.set_mode(m),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,p(t,["do","for","if","while"])),!0)},j.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=k;if("["===t.text){if(this._flags.last_token.type===c.WORD||")"===this._flags.last_token.text)return p(this._flags.last_token,u)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));e=y,O(this._flags.mode)&&("["!==this._flags.last_token.text&&(","!==this._flags.last_token.text||"]"!==this._last_last_text&&"}"!==this._last_last_text)||this._options.keep_array_indentation||this.print_newline()),_(this._flags.last_token.type,[c.START_EXPR,c.END_EXPR,c.WORD,c.OPERATOR])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===c.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,e=w):_(this._flags.last_token.text,["if","while"])?(this._output.space_before_token=this._options.space_before_conditional,e=x):_(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===t.whitespace_before?this._output.space_before_token=!1:(_(this._flags.last_token.text,u)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===c.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var i=this._tokens.peek(-4);p(n,["async","function"])||"*"===n.text&&p(i,["async","function"])?this._output.space_before_token=!0:this._flags.mode===b&&("{"!==n.text&&","!==n.text&&("*"!==n.text||"{"!==i.text&&","!==i.text)||(this._output.space_before_token=!0))}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===c.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(_(this._last_last_text,["function","yield"])||this._flags.mode===b&&_(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===c.START_BLOCK?this.print_newline():this._flags.last_token.type!==c.END_EXPR&&this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==c.COMMA||this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},j.prototype.handle_end_expr=function(t){for(;this._flags.mode===m;)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,"]"===t.text&&O(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==c.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(t),this.restore_mode(),$(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===x&&(this._previous_flags.mode=k,this._flags.do_block=!1,this._flags.do_while=!1)},j.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),n=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===c.END_EXPR?(this.set_mode(g),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(g):n&&(_(n.text,[":",","])&&_(e.type,[c.STRING,c.WORD,c.RESERVED])||_(e.text,["get","set","..."])&&_(n.type,[c.WORD,c.RESERVED]))?_(this._last_last_text,["class","interface"])?this.set_mode(g):this.set_mode(b):this._flags.last_token.type===c.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(g):_(this._flags.last_token.type,[c.EQUALS,c.START_EXPR,c.COMMA,c.OPERATOR])||p(this._flags.last_token,["return","throw","import","default"])?this.set_mode(b):this.set_mode(g);var i=!e.comments_before&&"}"===e.text,r=i&&"function"===this._flags.last_word&&this._flags.last_token.type===c.END_EXPR;if(this._options.brace_preserve_inline){var a=0,o=null;this._flags.inline_frame=!0;do{if(a+=1,(o=this._tokens.peek(a-1)).newlines){this._flags.inline_frame=!1;break}}while(o.type!==c.EOF&&(o.type!==c.END_BLOCK||o.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==c.OPERATOR&&(r||this._flags.last_token.type===c.EQUALS||p(this._flags.last_token,d)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!O(this._previous_flags.mode)||this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.COMMA||((this._flags.last_token.type===c.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==c.OPERATOR&&this._flags.last_token.type!==c.START_EXPR&&(this._flags.last_token.type!==c.START_BLOCK||this._flags.inline_frame?this._output.space_before_token=!0:this.print_newline())),this.print_token(t),this.indent(),i||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},j.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);this._flags.mode===m;)this.restore_mode();var e=this._flags.last_token.type===c.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(O(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},j.prototype.handle_word=function(t){if(t.type===c.RESERVED&&(_(t.text,["set","get"])&&this._flags.mode!==b||"import"===t.text&&"("===this._tokens.peek().text||_(t.text,["as","from"])&&!this._flags.import_block||this._flags.mode===b&&":"===this._tokens.peek().text)&&(t.type=c.WORD),this.start_of_statement(t)?p(this._flags.last_token,["var","let","const"])&&t.type===c.WORD&&(this._flags.declaration_statement=!0):!t.newlines||E(this._flags.mode)||this._flags.last_token.type===c.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===c.EQUALS||!this._options.preserve_newlines&&p(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(h(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&h(t,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===m;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&p(t,["case","default"]))return this.print_newline(),this._flags.last_token.type!==c.END_BLOCK&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if(this._flags.last_token.type!==c.COMMA&&this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.EQUALS&&this._flags.last_token.type!==c.OPERATOR||this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t),h(t,"function"))return(_(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!_(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==c.OPERATOR)&&(this._output.just_added_blankline()||t.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD?p(this._flags.last_token,["get","set","new","export"])||p(this._flags.last_token,A)||h(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===c.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!E(this._flags.mode)&&!O(this._flags.mode))&&this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var e="NONE";this._flags.last_token.type===c.END_BLOCK?this._previous_flags.inline_frame?e="SPACE":p(t,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?e="NEWLINE":(e="SPACE",this._output.space_before_token=!0):e="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&this._flags.mode===g?e="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&E(this._flags.mode)?e="SPACE":this._flags.last_token.type===c.STRING?e="NEWLINE":this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||"*"===this._flags.last_token.text&&(_(this._last_last_text,["function","yield"])||this._flags.mode===b&&_(this._last_last_text,["{",","]))?e="SPACE":this._flags.last_token.type===c.START_BLOCK?e=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===c.END_EXPR&&(this._output.space_before_token=!0,e="NEWLINE"),p(t,u)&&")"!==this._flags.last_token.text&&(e=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),p(t,["else","catch","finally"])?(this._flags.last_token.type!==c.END_BLOCK||this._previous_flags.mode!==g||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),"}"!==this._output.current_line.last()&&this.print_newline(),this._output.space_before_token=!0):"NEWLINE"===e?p(this._flags.last_token,d)||"declare"===this._flags.last_token.text&&p(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==c.END_EXPR?this._flags.last_token.type===c.START_EXPR&&p(t,["var","let","const"])||":"===this._flags.last_token.text||(h(t,"if")&&h(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):p(t,u)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&O(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===e&&(this._output.space_before_token=!0),!t.previous||t.previous.type!==c.WORD&&t.previous.type!==c.RESERVED||(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===c.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&h(t,"from")&&(this._flags.import_block=!1))},j.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);for(var e=this._tokens.peek();!(this._flags.mode!==m||this._flags.if_block&&h(e,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},j.prototype.handle_string=function(t){this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):this.print_newline()),this.print_token(t)},j.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},j.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(E(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===b||this._flags.mode===m&&this._flags.parent.mode===b?(this._flags.mode===m&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},j.prototype.handle_operator=function(t){var e="*"===t.text&&(p(this._flags.last_token,["function","yield"])||_(this._flags.last_token.type,[c.START_BLOCK,c.COMMA,c.END_BLOCK,c.SEMICOLON])),n=_(t.text,["-","+"])&&(_(this._flags.last_token.type,[c.START_BLOCK,c.START_EXPR,c.EQUALS,c.OPERATOR])||_(this._flags.last_token.text,u)||","===this._flags.last_token.text);if(this.start_of_statement(t));else{var i=!e;this.handle_whitespace_and_comments(t,i)}if(p(this._flags.last_token,d))return this._output.space_before_token=!0,void this.print_token(t);if("*"!==t.text||this._flags.last_token.type!==c.DOT)if("::"!==t.text){if(this._flags.last_token.type===c.OPERATOR&&_(this._options.operator_position,v)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==c.START_BLOCK?(this.indent(),this.print_newline()):this._output.space_before_token=!0);var r=!0,a=!0,o=!1;if(":"===t.text?0===this._flags.ternary_depth?r=!1:(this._flags.ternary_depth-=1,o=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!n&&!e&&this._options.preserve_newlines&&_(t.text,l)){var s=":"===t.text,h=s&&o,b=s&&!o;switch(this._options.operator_position){case f.before_newline:return this._output.space_before_token=!b,this.print_token(t),s&&!h||this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case f.after_newline:return this._output.space_before_token=!0,!s||h?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case f.preserve_newline:return b||this.allow_wrap_or_preserved_newline(t),r=!(this._output.just_added_newline()||b),this._output.space_before_token=r,this.print_token(t),void(this._output.space_before_token=!0)}}if(e){this.allow_wrap_or_preserved_newline(t),r=!1;var y=this._tokens.peek();a=y&&_(y.type,[c.WORD,c.RESERVED])}else"..."===t.text?(this.allow_wrap_or_preserved_newline(t),r=this._flags.last_token.type===c.START_BLOCK,a=!1):(_(t.text,["--","++","!","~"])||n)&&(this._flags.last_token.type!==c.COMMA&&this._flags.last_token.type!==c.START_EXPR||this.allow_wrap_or_preserved_newline(t),r=!1,a=!1,!t.newlines||"--"!==t.text&&"++"!==t.text||this.print_newline(!1,!0),";"===this._flags.last_token.text&&E(this._flags.mode)&&(r=!0),this._flags.last_token.type===c.RESERVED?r=!0:this._flags.last_token.type===c.END_EXPR?r=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===c.OPERATOR&&(r=_(t.text,["--","-","++","+"])&&_(this._flags.last_token.text,["--","-","++","+"]),_(t.text,["+","-"])&&_(this._flags.last_token.text,["--","++"])&&(a=!0)),(this._flags.mode!==g||this._flags.inline_frame)&&this._flags.mode!==m||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline());this._output.space_before_token=this._output.space_before_token||r,this.print_token(t),this._output.space_before_token=a}else this.print_token(t);else this.print_token(t)},j.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):a.newline.test(t.text)||t.newlines?void this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),void(this._output.space_before_token=!0))},j.prototype.print_block_commment=function(t,e){var n,i=function(t){for(var e=[],n=(t=t.replace(a.allLineBreaks,"\n")).indexOf("\n");-1!==n;)e.push(t.substring(0,n)),n=(t=t.substring(n+1)).indexOf("\n");return t.length&&e.push(t),e}(t.text),r=!1,o=!1,s=t.whitespace_before,u=s.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(i[0]),this.print_newline(!1,e),i.length>1){for(r=function(t,e){for(var n=0;n0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e]},r.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(t-=(e=Math.floor(t/this.__indent_size))*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},function(t,e,n){"use strict";t.exports.Token=function(t,e,n,i){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},function(t,e,n){"use strict";var i="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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-\\u0c33\\u0c35-\\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-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\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-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\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",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",a="(?:\\\\u[0-9a-fA-F]{4}|[\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a"+i+"])";e.identifier=new RegExp(a+"(?:\\\\u[0-9a-fA-F]{4}|[\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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-\\u0c33\\u0c35-\\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-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\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-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\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\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f])*","g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|[\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a"+i+r+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(t,e,n){"use strict";var i=n(6).Options,r=["before-newline","after-newline","preserve-newline"];function a(t){i.call(this,t,"js");var e=this.raw_options.brace_style||null;"expand-strict"===e?this.raw_options.brace_style="expand":"collapse-preserve-inline"===e?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var a=0;a>> === !== << && >= ** != == <= >> || < / - + > : & % ? ^ | *".split(" "),g=">>>= ... >>= <<= === >>> !== **= => ^= :: /= << <= == && -= >= >> != -- += ** || ++ %= &= *= |= = ! ? > < : / ^ - + * & % ~ |";g=(g=g.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")).replace(/ /g,"|");var m,b=new RegExp(g),y="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),w=y.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),x=new RegExp("^(?:"+w.join("|")+")$"),k=function(t,e){r.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new u(this._input),i=new l(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(s.identifier).matching(s.identifierMatch),number:n.matching(p),punct:n.matching(b),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(//),include:n.starting_with(/#include/).until_after(s.lineBreak),shebang:n.starting_with(/#!/).until_after(s.lineBreak),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};(k.prototype=new r)._is_comment=function(t){return t.type===_.COMMENT||t.type===_.BLOCK_COMMENT||t.type===_.UNKNOWN},k.prototype._is_opening=function(t){return t.type===_.START_BLOCK||t.type===_.START_EXPR},k.prototype._is_closing=function(t,e){return(t.type===_.END_BLOCK||t.type===_.END_EXPR)&&e&&("]"===t.text&&"["===e.text||")"===t.text&&"("===e.text||"}"===t.text&&"{"===e.text)},k.prototype._reset=function(){m=!1},k.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(_.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_non_javascript(i))||this._read_string(i))||this._read_word(t))||this._read_singles(i))||this._read_comment(i))||this._read_regexp(i,t))||this._read_xml(i,t))||this._read_punctuation())||this._create_token(_.UNKNOWN,this._input.next())},k.prototype._read_word=function(t){var e;return""!==(e=this.__patterns.identifier.read())?(e=e.replace(s.allLineBreaks,"\n"),t.type!==_.DOT&&(t.type!==_.RESERVED||"set"!==t.text&&"get"!==t.text)&&x.test(e)?"in"===e||"of"===e?this._create_token(_.OPERATOR,e):this._create_token(_.RESERVED,e):this._create_token(_.WORD,e)):""!==(e=this.__patterns.number.read())?this._create_token(_.WORD,e):void 0},k.prototype._read_singles=function(t){var e=null;return"("===t||"["===t?e=this._create_token(_.START_EXPR,t):")"===t||"]"===t?e=this._create_token(_.END_EXPR,t):"{"===t?e=this._create_token(_.START_BLOCK,t):"}"===t?e=this._create_token(_.END_BLOCK,t):";"===t?e=this._create_token(_.SEMICOLON,t):"."===t&&f.test(this._input.peek(1))?e=this._create_token(_.DOT,t):","===t&&(e=this._create_token(_.COMMA,t)),e&&this._input.next(),e},k.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(""!==t)return"="===t?this._create_token(_.EQUALS,t):this._create_token(_.OPERATOR,t)},k.prototype._read_non_javascript=function(t){var e="";if("#"===t){if(this._is_first_token()&&(e=this.__patterns.shebang.read()))return this._create_token(_.UNKNOWN,e.trim()+"\n");if(e=this.__patterns.include.read())return this._create_token(_.UNKNOWN,e.trim()+"\n");t=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(d)){do{n+=t=this._input.next()}while(this._input.hasNext()&&"#"!==t&&"="!==t);return"#"===t||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(_.WORD,n)}this._input.back()}else if("<"===t&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(s.newline);)e+=this._input.next();return m=!0,this._create_token(_.COMMENT,e)}}else if(m&&"-"===t&&(e=this.__patterns.html_comment_end.read()))return m=!1,this._create_token(_.COMMENT,e);return null},k.prototype._read_comment=function(t){var e=null;if("/"===t){var n="";if("*"===this._input.peek(1)){n=this.__patterns.block_comment.read();var i=h.get_directives(n);i&&"start"===i.ignore&&(n+=h.readIgnored(this._input)),n=n.replace(s.allLineBreaks,"\n"),(e=this._create_token(_.BLOCK_COMMENT,n)).directives=i}else"/"===this._input.peek(1)&&(n=this.__patterns.comment.read(),e=this._create_token(_.COMMENT,n))}return e},k.prototype._read_string=function(t){if("`"===t||"'"===t||'"'===t){var e=this._input.next();return this.has_char_escapes=!1,e+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=function(t){for(var e="",n=0,r=new i(t),a=null;r.hasNext();)if((a=r.match(/([\s]|[^\\]|\\\\)+/g))&&(e+=a[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())a=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){e+="\\",r.hasNext()&&(e+=r.next());continue}a=r.match(/u([0-9A-Fa-f]{4})/g)}if(!a)return t;if((n=parseInt(a[1],16))>126&&n<=255&&0===a[0].indexOf("x"))return t;if(n>=0&&n<32){e+="\\"+a[0];continue}e+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return e}(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(s.allLineBreaks,"\n"),this._create_token(_.STRING,e)}return null},k.prototype._allow_regexp_or_xml=function(t){return t.type===_.RESERVED&&c(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===_.END_EXPR&&")"===t.text&&t.opened.previous.type===_.RESERVED&&c(t.opened.previous.text,["if","while","for"])||c(t.type,[_.COMMENT,_.START_EXPR,_.START_BLOCK,_.START,_.END_BLOCK,_.OPERATOR,_.EQUALS,_.EOF,_.SEMICOLON,_.COMMA])},k.prototype._read_regexp=function(t,e){if("/"===t&&this._allow_regexp_or_xml(e)){for(var n=this._input.next(),i=!1,r=!1;this._input.hasNext()&&(i||r||this._input.peek()!==t)&&!this._input.testChar(s.newline);)n+=this._input.peek(),i?i=!1:(i="\\"===this._input.peek(),"["===this._input.peek()?r=!0:"]"===this._input.peek()&&(r=!1)),this._input.next();return this._input.peek()===t&&(n+=this._input.next(),n+=this._input.read(s.identifier)),this._create_token(_.STRING,n)}return null},k.prototype._read_xml=function(t,e){if(this._options.e4x&&"<"===t&&this._allow_regexp_or_xml(e)){var n="",i=this.__patterns.xml.read_match();if(i){for(var r=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),a=0===r.indexOf("{"),o=0;i;){var u=!!i[1],l=i[2];if(!(i[i.length-1]||"![CDATA["===l.slice(0,8))&&(l===r||a&&l.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(u?--o:++o),n+=i[0],o<=0)break;i=this.__patterns.xml.read_match()}return i||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(s.allLineBreaks,"\n"),this._create_token(_.STRING,n)}}return null},k.prototype._read_string_recursive=function(t,e,n){var i,r;"'"===t?r=this.__patterns.single_quote:'"'===t?r=this.__patterns.double_quote:"`"===t?r=this.__patterns.template_text:"}"===t&&(r=this.__patterns.template_expression);for(var a=r.read(),o="";this._input.hasNext();){if((o=this._input.next())===t||!e&&s.newline.test(o)){this._input.back();break}"\\"===o&&this._input.hasNext()?("x"===(i=this._input.peek())||"u"===i?this.has_char_escapes=!0:"\r"===i&&"\n"===this._input.peek(1)&&this._input.next(),o+=this._input.next()):n&&("${"===n&&"$"===o&&"{"===this._input.peek()&&(o+=this._input.next()),n===o&&(o+="`"===t?this._read_string_recursive("}",e,"`"):this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(o+=this._input.next()))),a+=o+=r.read()}return a},t.exports.Tokenizer=k,t.exports.TOKEN=_,t.exports.positionable_operators=v.slice(),t.exports.line_starters=y.slice()},function(t,e,n){"use strict";var i=RegExp.prototype.hasOwnProperty("sticky");function r(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position=0&&t=0&&e=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=r},function(t,e,n){"use strict";var i=n(8).InputScanner,r=n(3).Token,a=n(10).TokenStream,o=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},u=function(t,e){this._input=new i(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};u.prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new a,this._reset();for(var e=new r(s.START,""),n=null,i=[],o=new a;e.type!==s.EOF;){for(t=this._get_next_token(e,n);this._is_comment(t);)o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new a),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=i.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},u.prototype._is_first_token=function(){return this.__tokens.isEmpty()},u.prototype._reset=function(){},u.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},u.prototype._is_comment=function(t){return!1},u.prototype._is_opening=function(t){return!1},u.prototype._is_closing=function(t,e){return!1},u.prototype._create_token=function(t,e){return new r(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},u.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=u,t.exports.TOKEN=s},function(t,e,n){"use strict";function i(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position=0&&t/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}a.prototype=new i,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},a.prototype.read_options=function(t){var e=this._create();for(var n in r)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},a.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},a.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var e=this._read_template();e;)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},a.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},a.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(t=t||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(t=t||this.__patterns.erb.read())}else"{"===e&&(this._disabled.handlebars||this._excluded.handlebars||(t=(t=(t=t||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=(t=t||this.__patterns.django_comment.read())||this.__patterns.django.read())));return t},t.exports.TemplatablePattern=a}]),void 0===(i=function(){return{js_beautify:r}}.apply(e,[]))||(t.exports=i)},function(t,e,n){var i,r;r=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([,,function(t,e,n){"use strict";function i(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e]},r.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(t-=(e=Math.floor(t/this.__indent_size))*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},,,,function(t,e,n){"use strict";function i(t,e){this.raw_options=r(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(t,e){var n,i={};for(n in t=a(t))n!==e&&(i[n]=t[n]);if(e&&t[e])for(n in t[e])i[n]=t[e][n];return i}function a(t){var e,n={};for(e in t)n[e.replace(/-/g,"_")]=t[e];return n}i.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(t,e){var n=this.raw_options[t];return void 0===n?!!e:!!n},i.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},i.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},i.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},i.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=i,t.exports.normalizeOpts=a,t.exports.mergeOpts=r},,function(t,e,n){"use strict";var i=RegExp.prototype.hasOwnProperty("sticky");function r(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position=0&&t=0&&e=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=r},,,,,function(t,e,n){"use strict";function i(t,e){t="string"==typeof t?t:t.source,e="string"==typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(t);n;)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=i},,function(t,e,n){"use strict";var i=n(16).Beautifier,r=n(17).Options;t.exports=function(t,e){return new i(t,e).beautify()},t.exports.defaultOptions=function(){return new r}},function(t,e,n){"use strict";var i=n(17).Options,r=n(2).Output,a=n(8).InputScanner,o=new(0,n(13).Directives)(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,u=/\r\n|[\r\n]/g,l=/\s/,c=/(?:\s|\n)+/g,_=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,h=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(t,e){this._source_text=t||"",this._options=new i(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(t){var e="";for(this._ch=this._input.next();this._ch;){if(e+=this._ch,"\\"===this._ch)e+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return e},p.prototype.eatWhitespace=function(t){for(var e=l.test(this._input.peek()),n=!0;l.test(this._input.peek());)this._ch=this._input.next(),t&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return e},p.prototype.foundNestedPseudoClass=function(){for(var t=0,e=1,n=this._input.peek(e);n;){if("{"===n)return!0;if("("===n)t+=1;else if(")"===n){if(0===t)return!1;t-=1}else if(";"===n||"}"===n)return!1;e++,n=this._input.peek(e)}return!1},p.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)},p.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)},p.prototype.indent=function(){this._indentLevel++},p.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===e&&(e="\n",t&&s.test(t||"")&&(e=t.match(s)[0]));var n=(t=t.replace(u,"\n")).match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new a(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,d=0,f=!1,v=!1,g=!1,m=!1,b=!1,y=this._ch;i=""!==this._input.read(c),p=y,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),y=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var w=this._input.read(_),x=o.get_directives(w);x&&"start"===x.ignore&&(w+=o.readIgnored(this._input)),this.print_string(w),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(h)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s$/,""),this.print_string(k),this._output.space_before_token=!0),"extend"===(k=k.replace(/\s$/,""))?m=!0:"import"===k&&(b=!0),k in this.NESTED_AT_RULE?(this._nestedLevel+=1,k in this.CONDITIONAL_GROUP_RULE&&(g=!0)):f||0!==d||-1===k.indexOf(":")||(v=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(v&&(v=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),g?(g=!1,f=this._indentLevel>this._nestedLevel):f=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),b=!1,m=!1,v&&(this.outdent(),v=!1),this.print_string(this._ch),f=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!f&&!g||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||m||0!==d?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),v||(v=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===d?(v&&(this.outdent(),v=!1),m=!1,b=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),d++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),d&&(d--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),d++,this.indent()):")"===this._ch?(d&&(d--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||v||0!==d||b?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||v||0!==d?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),l.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&l.test(this._ch)&&(this._ch=""));return this._output.get_code(e)},t.exports.Beautifier=p},function(t,e,n){"use strict";var i=n(6).Options;function r(t){i.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var e=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||e}r.prototype=new i,t.exports.Options=r}]),void 0===(i=function(){return{css_beautify:r}}.apply(e,[]))||(t.exports=i)},function(t,e){function n(e,i){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,i)}t.exports=n},function(t,e){var n,i,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var u,l=[],c=!1,_=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):_=-1,l.length&&p())}function p(){if(!c){var t=s(h);c=!0;for(var e=l.length;e;){for(u=l,l=[];++_1)for(var n=1;n= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};function c(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},o.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:u.default,log:u.default.log,registerHelper:function(t,e){if("[object Object]"===r.toString.call(t)){if(e)throw new a.default("Arg not supported with multiple helpers");r.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===r.toString.call(t))r.extend(this.partials,t);else{if(void 0===e)throw new a.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===r.toString.call(t)){if(e)throw new a.default("Arg not supported with multiple decorators");r.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){l.resetLoggedProperties()}};var _=u.default.log;e.log=_,e.createFrame=r.createFrame,e.logger=u.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.registerDefaultHelpers=function(t){r.default(t),a.default(t),o.default(t),s.default(t),u.default(t),l.default(t),c.default(t)},e.moveHelperToHooks=function(t,e,n){t.helpers[e]&&(t.hooks[e]=t.helpers[e],n||delete t.helpers[e])};var r=i(n(42)),a=i(n(43)),o=i(n(44)),s=i(n(45)),u=i(n(46)),l=i(n(47)),c=i(n(48))},function(t,e,n){"use strict";e.__esModule=!0;var i=n(10),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=i.indexOf(r.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=r.lookupLevel(t),"undefined"!=typeof console&&r.lookupLevel(r.level)<=t){var e=r.methodMap[t];console[e]||(e="log");for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a=0&&e<=a&&!r(t)},t.exports=e},function(t,e){e=function(t){var e=typeof t;return!!t&&("function"===e||"object"===e)},t.exports=e},function(t,e,n){var i=n(10),r=n(6),a=n(12),o=n(17),s=n(32),u=n(35),l=n(36);e=function(t,e,n){return null==t?u:i(t)?o(t,e,n):r(t)&&!a(t)?s(t):l(t)},t.exports=e},function(t,e,n){var i=n(5),r=n(19),a=n(12),o=n(1);e=function(t){return t?a(t)?t:i(t)&&!o(t)?r(t):[t]:[]},t.exports=e},function(t,e){var n=Object.prototype.toString;e=function(t){return n.call(t)},t.exports=e},function(t,e,n){var i=n(9);e=function(t){var e=i(t);return"[object Function]"===e||"[object GeneratorFunction]"===e||"[object AsyncFunction]"===e},t.exports=e},function(t,e){var n=Object.prototype.hasOwnProperty;e=function(t,e){return n.call(t,e)},t.exports=e},function(t,e,n){var i=n(9);e=Array.isArray?Array.isArray:function(t){return"[object Array]"===i(t)},t.exports=e},function(t,e,n){var i=n(14),r=n(1),a=n(0),o=new(e=i({className:"Select",initialize:function(t){return this.length=0,t?r(t)?o.find(t):void(t.nodeType&&(this[0]=t,this.length=1)):this},find:function(t){var n=new e;return this.each((function(){!function(t,e){for(var n=e.length,i=t.length,r=0;r-1:(a(t)||(t=o(t)),i(t,e)>=0)},t.exports=e},function(t,e,n){var i=n(8),r=n(6),a=n(1),o=n(0),s=n(3),u=n(2);(e=function(t,e,n){if(t=u(t),s(n)&&a(e))return function(t,e){return t.getAttribute(e)}(t[0],e);var i=e;r(i)||((i={})[e]=n),function(t,e){o(t,(function(t){o(e,(function(e,n){t.setAttribute(n,e)}))}))}(t,i)}).remove=function(t,e){t=u(t),e=i(e),o(t,(function(t){o(e,(function(e){t.removeAttribute(e)}))}))},t.exports=e},function(t,e,n){"use strict";var i=this&&this.__makeTemplateObject||function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),n(25);var a,o,s=r(n(26)),u=r(n(59)),l=r(n(64)),c=r(n(65)),_=function(){function t(t,e){var n=void 0===e?{}:e,i=n.position,r=void 0===i?{x:"right",y:"bottom"}:i,a=n.duration,o=void 0===a?2e3:a;this.notifications=[],this.$container=s.default(t),this.position=r,this.duration=o,this.appendTpl()}return t.prototype.notify=function(t,e){var n=this,i=(void 0===e?{}:e).duration,r=void 0===i?this.duration:i,a=new h(this,t);this.notifications.push(a),this.add(a),r&&setTimeout((function(){return n.remove(a.id)}),r)},t.prototype.dismissAll=function(){for(var t=this.notifications,e=t[0];e;)this.remove(e.id),e=t[0]},t.prototype.add=function(t){this.$notification.append(t.html())},t.prototype.remove=function(t){var e=this.notifications,n=c.default(e,(function(e){return e.id===t}));if(n){this.$notification.find("#"+t).remove();var i=e.indexOf(n);e.splice(i,1)}},t.prototype.appendTpl=function(){var t=this.$container,e=this.position,n=e.x,r=e.y,o="flex-end",s="flex-end";switch(n){case"center":s="center";break;case"left":s="flex-start"}"top"===r&&(o="flex-start"),t.append(u.default(a||(a=i(['\n
    \n '],['\n
    \n '])),o,s)),this.$notification=t.find(".luna-notification")},t}(),h=function(){function t(t,e){this.container=t,this.content=e,this.id=l.default("luna-notification-")}return t.prototype.html=function(){var t=this.container.position.y;return u.default(o||(o=i(['\n
    \n
    ',"
    \n
    \n "],['\n
    \n
    ',"
    \n
    \n "])),this.id,"bottom"===t?"lower":"upper",this.content)},t}();t.exports=_},function(t,e,n){},function(t,e,n){var i=n(13),r=n(41),a=n(42),o=n(43),s=n(23),u=n(50),l=n(51),c=n(52),_=n(53),h=n(54),p=n(56),d=n(58),f=n(3),v=n(1);e=function(t){return new i(t)},i.methods({offset:function(){return r(this)},hide:function(){return this.css("display","none")},show:function(){return a(this),this},first:function(){return e(this[0])},last:function(){return e(l(this))},get:function(t){return this[t]},eq:function(t){return e(this[t])},on:function(t,e,n){return h.on(this,t,e,n),this},off:function(t,e,n){return h.off(this,t,e,n),this},html:function(t){var e=u.html(this,t);return f(t)?e:this},text:function(t){var e=u.text(this,t);return f(t)?e:this},val:function(t){var e=u.val(this,t);return f(t)?e:this},css:function(t,e){var n=o(this,t,e);return g(t,e)?n:this},attr:function(t,e){var n=s(this,t,e);return g(t,e)?n:this},data:function(t,e){var n=_(this,t,e);return g(t,e)?n:this},rmAttr:function(t){return s.remove(this,t),this},remove:function(){return c(this),this},addClass:function(t){return p.add(this,t),this},rmClass:function(t){return p.remove(this,t),this},toggleClass:function(t){return p.toggle(this,t),this},hasClass:function(t){return p.has(this,t)},parent:function(){return e(this[0].parentNode)},append:function(t){return d.append(this,t),this},prepend:function(t){return d.prepend(this,t),this},before:function(t){return d.before(this,t),this},after:function(t){return d.after(this,t),this}});var g=function(t,e){return f(e)&&v(t)};t.exports=e},function(t,e,n){e=n(15)(n(28)),t.exports=e},function(t,e,n){var i=n(4),r=n(29),a=n(30),o=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.prototype,u=void 0===n||n,l=e.unenumerable,c=void 0!==l&&l,_=e.symbol,h=void 0!==_&&_,p=[];if((c||h)&&o){var d=i;c&&o&&(d=o);do{p=p.concat(d(t)),h&&s&&(p=p.concat(s(t)))}while(u&&(t=r(t))&&t!==Object.prototype);p=a(p)}else if(u)for(var f in t)p.push(f);else p=i(t);return p},t.exports=e},function(t,e,n){var i=n(6),r=n(10),a=Object.getPrototypeOf,o={}.constructor;e=function(t){if(i(t)){if(a)return a(t);var e=t.__proto__;return e||null===e?e:r(t.constructor)?t.constructor.prototype:t instanceof o?o.prototype:void 0}},t.exports=e},function(t,e,n){var i=n(31);function r(t,e){return t===e}e=function(t,e){return e=e||r,i(t,(function(t,n,i){for(var r=i.length;++n1?n-1:0),c=1;c0?a.apply(null,d):0;return s(o(p,(function(t){return" "===t[0]?t.slice(b):t})).join("\n"))};var u=/^(\s+)\S+/;t.exports=e},function(t,e){e=function(){for(var t=arguments,e=t[0],n=1,i=t.length;n=o?"":t.substr(a,o)},t.exports=e},function(t,e){var n=/\s+$/;e=function(t,e){if(null==e)return t.replace(n,"");for(var i,r,a=t.length-1,o=e.length,s=!0;s&&a>=0;)for(s=!1,i=-1,r=t.charAt(a);++i=0?t.substring(0,a+1):""},t.exports=e},function(t,e){var n=0;e=function(t){var e=++n+"";return t?t+e:e},t.exports=e},function(t,e,n){var i=n(66),r=n(67),a=n(5),o=n(3);e=function(t,e,n){var s=(a(t)?r:i)(t,e,n);if(!o(s)&&-1!==s)return t[s]},t.exports=e},function(t,e,n){var i=n(7),r=n(4);e=function(t,e,n){e=i(e,n);for(var a,o=r(t),s=0,u=o.length;s0?0:a-1;o>=0&&o